Project-from-Continuous Solutions
The Simplest Idea That Works
Since the continuous-phase algorithms of Chapters 5–7 are mature, the simplest discrete-phase heuristic is: solve the continuous problem, then project each element's phase to its nearest grid point. This inherits all the continuous machinery and adds only a rounding step. For single-user problems, it is asymptotically optimal: as , the fraction of elements at the nearest grid point converges to one, and the discrete-phase solution approaches the continuous one. For multi-user, it is typically within - of the optimal discrete solution. This section formalizes the approach and its near-optimality.
Definition: Nearest-Level Projection
Nearest-Level Projection
The nearest-level projection operator maps a continuous phase to the nearest discrete level:
Applied element-wise, . The projection is the Euclidean-distance-closest point on to the continuous optimum.
Project-from-Continuous Discrete-Phase RIS
Complexity: + for projection + optional refineStep 3 is optional but often worth it: fixing and re-running WMMSE recovers a bit of the projection loss by optimally matching the active beamformer to the quantized channel. Adds one extra WMMSE call per coherence block — negligible cost.
Theorem: Projection Loss for Single-User Problems
For the single-user matched-filter problem, the projection achieves SNR
where is the continuous-phase coherent optimum. Tabulated:
| SNR loss (dB) | ||
|---|---|---|
| 1 | 0.405 | 3.92 |
| 2 | 0.811 | 0.91 |
| 3 | 0.949 | 0.22 |
| 4 | 0.987 | 0.056 |
This matches the hardware-only quantization loss from Ch. 2. For single-user, projection is essentially equivalent to quantizing the hardware — no optimization penalty beyond the physical quantization.
For single-user problems, the continuous optimum is the matched- filter phase . Nearest-level projection introduces an error uniformly distributed on . The coherent-sum amplitude scales by ; the SNR scales by its square.
Continuous optimum
(from Chapter 6, Example 6.1).
Quantization error
, uniformly distributed if is generic. Error is i.i.d. across .
Expected coherent sum
(using with uniform in ).
Squared amplitude → SNR
Coherent magnitude is scaled by , SNR by its square. The per-element SNR is multiplied by , and so is the coherent factor.
Projection Is Nearly Optimal, Not Exactly
The projection-then-refine approach achieves of the continuous optimum in single-user cases — which is also what an oracle discrete-phase solver would achieve asymptotically. In this sense, projection is (nearly) optimal for single-user.
For multi-user: the continuous optimum's coupled structure means independent per-element rounding breaks the coupling. A careful joint projection (e.g., randomized rounding with multiple trials and retaining the best) recovers -. This is the small edge that direct discrete optimization (Section 8.3) tries to close.
Projection Loss vs. for Single-User and Multi-User
Sweep and plot the SNR loss (dB) of the projection method relative to the continuous-phase optimum for single-user and for multi-user () scenarios. The single-user curve matches the analytical ; the multi-user curve is slightly worse, showing the cost of rounding the coupled phases.
Parameters
Example: Projection with Precoder Refinement
A single-user MISO-RIS has . The continuous-phase solution gives rate bits/s/Hz. Predict the discrete-phase rate with and without Step 3 refinement.
Without refinement
. Rate loss: bits/s/Hz. Discrete rate bits/s/Hz.
With refinement
Step 3 re-optimizes for the quantized channel. For single-user MRT, this is just matched filtering on — automatic. Gain: another - bit/s/Hz typically. For multi-user, more significant.
Compare
Final discrete rate: - bits/s/Hz. Total loss from continuous: - bits/s/Hz, matching the estimate.
Common Mistake: Don't Skip the Precoder Refine in Multi-User
Mistake:
"Project phases, re-use the pre-projection precoder. It's a small discretization error anyway."
Correction:
For multi-user, skipping Step 3 is a - sum-rate loss at -. The active beamformer was matched to the continuous phases; after projection, it's mismatched. Running one more WMMSE iteration on the quantized channels recovers most of this. Cost: one inner WMMSE = . Never skip it.
Projection in Real-Time Controllers
Projection adds negligible cost to the continuous-phase pipeline:
- Step 2 (projection): comparisons, at .
- Step 3 (refine): one extra WMMSE call, .
- Total added latency: .
For a -ms coherence block, this is 5% overhead — well within budget. The big computational cost is the continuous AO in Step 1 (- ms); projection is free relative to it.
- •
Step 2 alone: 1 μs at N = 256 on a modern CPU.
- •
Step 3 refinement: ~500 μs for .
- •
Total projection overhead: of continuous AO time.