Training CSI Feedback Through the Beamforming Solver It Feeds

In a wireless system with a reconfigurable intelligent surface, the base station has to choose two things. One is its own antenna weights. The other is the phase settings of a passive metasurface, a panel of hundreds of reflecting elements that can be tuned to redirect signals. The standard way to choose them is alternating optimization: fix the surface and solve for the antenna weights, then fix the weights and solve for the surface phases, and repeat. Each step needs the channel, which the user has to measure and send back over a feedback link of only a few dozen bits. Today the compression of that channel and the optimizer that consumes it are designed separately. An autoencoder, a neural network that squeezes the channel into a short code and expands it back, is trained to reproduce the channel as accurately as possible. Only afterwards does the alternating optimizer run on whatever comes out.

We propose to train the compressor through a short, unrolled version of the alternating optimizer. The autoencoder's loss is the data rate that the optimizer's output beamformers actually achieve on the true channel, not channel reconstruction error. The bet is that, at small bit budgets, reconstruction error spends bits on channel detail the optimizer never uses. Steering the code toward what the optimizer's fixed point depends on should buy measurable rate. The optimizer stays in the loop at deployment, so the phases it outputs always meet the hardware's unit-magnitude constraint. A purely neural predictor gives no such guarantee.

Core Claim

For RIS-assisted downlink with frequency-division duplexing (uplink and downlink use different carriers, so the base station cannot infer the downlink channel from uplink pilots), we make two claims. First, an autoencoder feedback scheme trained end-to-end through $K$ unrolled alternating-optimization steps will beat the same autoencoder trained on reconstruction error and followed by the same optimizer, at equal feedback bits. Second, the advantage will grow as the bit budget shrinks and vanish at large budgets.

The training objective is

$$\min_{\phi,\psi}\; \mathbb{E}_{\mathbf{H}}\Big[-R\big(\mathbf{H};\, \mathcal{A}_K\big(g_\psi(Q(f_\phi(\tilde{\mathbf{H}})))\big)\big)\Big].$$

The symbols are as follows. $\mathbf{H}$ is the true direct and cascaded channel. $\tilde{\mathbf{H}}$ is the user's noisy estimate of it. $f_\phi$ is the encoder on the user side. $Q$ is a $B$-bit quantizer, handled with a straight-through gradient. $g_\psi$ is the decoder at the base station. $\mathcal{A}_K$ is $K$ rounds of alternating updates that return antenna weights $\mathbf{w}$ and surface phases $\mathbf{\Theta}$. $R$ is the achieved sum rate on the true channel.

The claim is falsifiable in a specific way. If $K=1$ (a single closed-form beamforming step, no alternation) captures nearly all the gain, then the alternating structure is not doing the work, and the proposal reduces to "train with a rate loss." That outcome would be worth reporting, but it would not support our claim.

Relation to Prior Work

Four papers in the file bear directly on this question, and they play different roles.

RIS-Assisted MIMO Communication Systems: Model-based versus Autoencoder Approaches motivates the work by posing the choice as either/or. It replaces an SDR/ADMM alternating optimizer with an end-to-end network that predicts phases directly. That network runs at 0.255 ms against 7.131 ms for the optimizer and has lower bit error rate, on a 4×2 MIMO link with a 32-element surface. It leaves three things open: hard phase constraints, discrete phases, and scaling to larger surfaces. We keep the optimizer and move learning into the feedback path instead.

Beamforming Design with Partial Channel Estimation and Feedback for FDD RIS-Assisted Systems is the closest system. It compresses feedback by exploiting angle reciprocity and selecting 4–6 dominant paths, sends quantized path gains, and then runs alternating optimization. It reports near-optimal spectral efficiency at 8 bits, where full-matrix estimation fails. Its compression is linear and geometric, and it ignores what the optimizer needs. We replace it with a learned, nonlinear compression trained against the optimizer's output, on the same simulation setup.

Alternating Differentiation for Optimization Layers constrains the method design. It differentiates through ADMM-style alternating updates and proves that truncation error in the gradient is bounded by variable error. Under truncation it reaches 0.999 cosine similarity to exact gradients. Those guarantees cover only convex problems with linear constraints, and our problem is bilinear with unit-modulus phases. So we do not inherit its guarantees. We instead unroll closed-form updates and measure gradient quality empirically against long-horizon unrolling.

Normalization-Free Knowledge Distillation for Variable-Bit CSI Feedback in Massive MIMO supplies a design rule. Z-score normalization removes the absolute channel scale, which encodes path loss, and normalized distillation did worse than no distillation at low bit budgets. Absolute scale matters for multi-user power allocation inside the optimizer, so our decoder emits unnormalized channels, and we ablate this choice.

Does the Data Processing Inequality Reflect Practice? On the Utility of Low-Level Tasks provides the conceptual reason to expect a gain: compression that ignores the downstream task can discard low-amplitude features the task needs.

Research Program

The unrolled optimizer has to be differentiable without semidefinite relaxation, whose randomized rounding blocks gradients.

For the single-user case, both alternating steps have closed forms. The antenna weights are maximum-ratio transmission, meaning they point along the effective channel. Each surface phase is set so that its reflected path arrives in phase with the combined signal. Both are smooth except where an amplitude is exactly zero, and we regularize that case.

For the multi-user case, the steps are as follows:

  • The antenna-weight step is regularized zero-forcing with unnormalized power.
  • The surface step is one majorization-minimization iteration on a weighted sum-rate surrogate. Majorization-minimization replaces the objective with a simpler upper bound and minimizes that; here it yields a closed-form phase update.

The surface phases are always produced by taking an angle, so the output is unit-modulus by construction. For discrete phase shifters, we evaluate by rounding at test time. We also try a straight-through rounded variant during training.

We study three questions.

How many unrolled steps are needed, and does the train-time step count transfer? We sweep $K \in \{1, 2, 3, 5, 10\}$ and test each trained model with deployment-time step counts different from its training $K$. This matters because operators may run the optimizer longer when latency allows.

Do truncated gradients through a bilinear non-convex loop point the right way? We compare cosine similarity between gradients from $K$-step unrolling and from 50-step unrolling, as an empirical analogue of the Alt-Diff truncation result.

What does the learned code keep that reconstruction-trained codes drop? We probe the codes for dominant-path gains, weak paths, and absolute channel power. We also measure how the decoded channel's error splits between directions that change the optimizer's output and directions that leave it unchanged. The second split is computed with the optimizer's Jacobian.

Baselines

Unquantized ceiling. The reference point is perfect downlink channel knowledge followed by alternating optimization run to convergence. Random surface phases with maximum-ratio transmission serve as the do-nothing floor. Every learned method is reported as the fraction of the ceiling's rate it recovers.

Dominant-path feedback with alternating optimization. The strongest non-learned competitor is the scheme of Beamforming Design with Partial Channel Estimation and Feedback for FDD RIS-Assisted Systems. It is designed for exactly this regime and is the only file entry that reports working at 8 bits. We reimplement it on its own simulation setup with $L_s \in \{4, 6\}$ and its quantizer. It receives the same total feedback bits and the same pilot overhead as our method.

The file states it achieves near-optimal spectral efficiency at 8 bits, but no reported numerical spectral-efficiency value was found on Lacuna for it. We therefore report our reproduction's numbers alongside its curves. Beating it means higher spectral efficiency at 8, 16 and 32 bits, averaged over at least five seeds, with non-overlapping confidence intervals.

Reconstruction-trained autoencoder with alternating optimization. This is the ablation that isolates our key ingredient. It uses the identical encoder, decoder, quantizer and optimizer, but trains on normalized mean squared error. Its compression is in the style of Towards deep learning-aided wireless channel estimation and channel state information feedback for 6G. We give it a scale-preserving variant, following Normalization-Free Knowledge Distillation for Variable-Bit CSI Feedback in Massive MIMO, so that our gain cannot be attributed to normalization alone.

For reference, that paper reports −12.87 dB NMSE at 256 bits on DeepMIMO O1, against −11.98 dB for its baseline, but on a non-RIS link. This baseline gets the same architecture, data, training steps and hyperparameter search budget as ours. Beating it at low bits, and matching it at high bits, is the core prediction.

Direct neural phase prediction. This is the learned end-to-end competitor. Following RIS-Assisted MIMO Communication Systems: Model-based versus Autoencoder Approaches, the decoder outputs weights and phases directly, trained on the same rate loss. We project its outputs to unit modulus. On that paper's own 4×2, 32-element Gaussian setup, it reports 0.255 ms inference against 7.131 ms for SDR/ADMM. It reports bit error rates only as lower at all SNRs, with no numbers in the file.

Rate-loss with a single step. The $K=1$ point of our sweep is a separate baseline. It isolates whether alternation matters, as opposed to merely having a rate loss.

Why not just…?

Why not just train the autoencoder on reconstruction error and run alternating optimization afterwards? This is the natural, modular design. At high bit budgets it may well be as good as ours, and our hypothesis predicts exactly that. The argument against it at low bits is the data processing concern of Does the Data Processing Inequality Reflect Practice? On the Utility of Low-Level Tasks: reconstruction error is indifferent to which channel errors move the beamformer. Evidence that it fails is currently indirect. The matched ablation settles it directly by plotting the rate gap against bit budget. If the gap is under about 2% of the ceiling at 8–32 bits, we drop the claim.

Why not just have the network output the beamformers, as in the model-based versus autoencoder comparison? That design is faster at inference and reported lower bit error rate on a small link. It is a genuine threat on small systems. Its weaknesses are the ones that paper itself flags: no hard phase constraint, no discrete-phase treatment, and untested scaling beyond 32 elements. We therefore run it on both the 32-element setup and the 256-element FDD setup.

If it matches us at 256 elements under discrete phases, the optimizer-in-the-loop argument rests only on interpretability and feasibility. We would report that honestly. We also report its sensitivity when the test channel statistics shift, such as new user regions. Distributed Deep Learning with RIS Grouping for Accurate Cascaded Channel Estimation reports that this kind of shift breaks centralized learned models.

Why not just use dominant-path selection, since physics already says the channel is sparse in angle? On a purely geometric channel with few paths, angle-reciprocity feedback may already be near-optimal, and we expect a small margin there. The learned scheme has to earn its place where the geometric model is wrong. We test this on cascaded channels built from DeepMIMO O1 ray-traced links at 140 GHz, which have more paths and near-field effects. Constructing an RIS channel from two DeepMIMO links is our own construction, not a reported benchmark. If dominant-path feedback remains within noise of our method on these channels too, the learned compressor is not justified.

Proposed Experiments

The primary testbed is the FDD geometric setup of Ge et al.:

  • 27.875 GHz downlink and 28.125 GHz uplink;
  • a 16-antenna base station and a 256-element surface;
  • six cascaded paths;
  • feedback budgets of 8, 16, 32 and 64 bits.

We run this with one user and with four users. The secondary testbed is DeepMIMO-derived cascaded channels at 140 GHz. A third is the 4×2, 32-element Gaussian setup, used for latency and bit-error-rate comparison against direct neural phase prediction.

Metrics are as follows:

  • spectral efficiency and fraction of the unquantized ceiling;
  • beamforming gain loss in dB;
  • channel NMSE, reported to show that our method may reconstruct worse while beamforming better;
  • online latency, including the $K$ optimizer steps;
  • for multi-user, rate under 1- and 2-bit phase quantization.

Three checks are decisive.

Rate-versus-bits crossover. Our method should beat the matched reconstruction-trained autoencoder by a margin that shrinks as bits grow. This tests the central claim.

$K$-sweep. The gain from $K=1$ to $K=3$ must be statistically significant; otherwise the alternating structure is unnecessary.

Error decomposition. Our decoder should have higher total NMSE but lower error in the optimizer-relevant directions than the reconstruction-trained decoder. This directly confirms the proposed mechanism, rather than an incidental regularization effect.

We also report gradient cosine similarity between $K$-step and 50-step unrolling. If it falls below roughly 0.9 at the $K$ we use, the training signal is unreliable. In that case we switch to longer unrolling with gradient checkpointing before drawing conclusions.