Unrolled algorithms for group synchronization