Exercises
ex-ris-ch08-01
EasyFor and , how many discrete configurations does the feasible set contain? Is brute-force search feasible?
.
Compute
.
Feasibility
configurations at evaluations per second would require years. Brute force is completely infeasible. Must use BCD or branch-and-bound.
ex-ris-ch08-02
EasyCompute the coherent SNR loss (in dB) for and .
Use .
$B = 2$
. . . Loss dB.
$B = 4$
. . . Loss dB.
Ratio
Going from 2-bit to 4-bit: loss reduction of dB. Only worth it if the extra 2 bits of control hardware are cheap.
ex-ris-ch08-03
MediumShow that the nearest-level projection of a uniformly-random continuous phase has expected squared error .
Error is uniform on .
Error distribution
For , the projection error is uniform on .
Variance
For uniform , variance . With : variance .
Interpretation
Smaller grid step → smaller quantization variance → smaller SNR loss. Scales as . This is the asymptotic form of for large .
ex-ris-ch08-04
MediumDerive the expected coherent sum for a projection-quantized RIS, and show it equals .
for uniform on .
Expected phase factor
(using ).
Coherent sum
At optimum : (real positive). After quantization: . Sum: , expected value .
Squared amplitude
.
ex-ris-ch08-05
MediumDerive the discrete-BCD update for a single coordinate given the multi-user sum-rate objective. Assume the objective is a sum of weighted minus interference terms.
Write the per-coordinate function; pick the best of grid points.
Per-coordinate function
const, where collects the cross terms with all other . is fixed; const.
Parametrize over $\Theta_B$
with .
Pick best level
Best: . Identical to the projection of the continuous-BCD update. Discrete BCD at each step uses already-quantized neighbors, which is the only difference from Section 8.2's approach.
ex-ris-ch08-06
MediumAn panel has a fixed 768 control-bit budget. Does 1-bit () or 3-bit () give higher coherent SNR? Assume the per-element SNR is otherwise identical.
Coherent SNR .
1-bit: $N = 768$
.
3-bit: $N = 256$
.
Compare
1-bit wins by a factor of , or dB. More elements at coarser resolution beats fewer elements at finer resolution under a fixed pin-count budget.
Implication
This argues for 1-bit prototypes with large when pin cost is the constraint. However, the 3-bit elegance might still win in scenarios with complex multi-user or ISAC objectives where sub-grid precision matters.
ex-ris-ch08-07
HardProve that the projection-then-refine algorithm achieves the same asymptotic SNR as the continuous-phase solution times as , for single-user problems.
Argue by the law of large numbers on the quantization errors.
Error LLN
Projection errors are i.i.d. uniform on . For large , the fluctuation of around its mean scales as , while the mean scales as .
Mean dominates
Squared amplitude: . Relative error: as .
Conclusion
almost surely. Matches Theorem 8.1.
ex-ris-ch08-08
MediumImplement pseudocode for a tabu-search heuristic for the discrete- phase problem. Explain why it may beat BCD in some cases.
Tabu search maintains a list of recent moves to avoid.
Pseudocode sketch
- Start from discrete BCD output.
- Define a "move": change one to any other grid level.
- At each step, pick the best non-tabu move that improves (or least worsens) the objective.
- Record this move in the tabu list (prevents immediate reversal).
- Repeat for iterations; return the best seen.
Why it can beat BCD
BCD is pure greedy — can get stuck at local optima where single-element moves don't improve, but a sequence of moves would. Tabu search escapes by allowing temporarily worse moves, then finding better regions.
Tradeoff
More compute per iteration; no monotonicity guarantee; needs tuning (tabu list length, iteration count). In practice, better solutions at cost. Only worth it for offline benchmarking.
ex-ris-ch08-09
EasyWhy does the sum-rate penalty of -bit quantization scale with the number of users ?
Each user suffers SNR loss; sum of rates.
Per-user loss
Each user's SNR is scaled by ; rate loss per user.
Sum
. Linear in .
Max-min
. Single-user rate loss; doesn't scale with .
ex-ris-ch08-10
HardIn what scenarios does direct discrete BCD strictly beat projection-from-continuous?
Think about when the continuous optimum is unreliable.
Multi-user coupling
When the continuous-BCD iterates oscillate (e.g., near the boundary of different local basins), the "converged" continuous optimum is less stable, and the projection may miss a better discrete solution. Discrete BCD, by always staying in , tracks a single stable trajectory.
Low-bit regimes
At (only 2 levels), the grid is coarse. Small continuous-phase differences don't distinguish between the two levels — projection is essentially random at the boundary. Discrete BCD explicitly chooses the best option.
Example
: discrete BCD typically beats projection by -. The coarse grid and multi-user coupling both contribute.
ex-ris-ch08-11
MediumFor an RIS with , compute the pilot budget per coherence block assuming 5-ms coherence and 10 kHz control-link update rate.
Each update transmits bits.
Bits per update
bits per RIS reconfiguration.
Update frequency
10 kHz → updates per second. Total: bps Mbps.
Per-coherence cost
5-ms block carries 50 updates (at 10 kHz). Total bits per block: kbits. Needs a dedicated 10-Mbps control link; typical RIS controllers offer this via Ethernet or a USB link.
ex-ris-ch08-12
HardDiscuss the tradeoff between phase-quantization and the coherence time for CSI estimation. Why does higher mobility favor lower ?
CSI estimates degrade with time; -bit-worth of accuracy is useless when CSI is stale.
CSI staleness
In a coherence block , channels decorrelate. CSI error grows with time within the block.
Bit-depth vs. error
If CSI error is comparable to , the finest quantization level is below the noise floor. Higher buys nothing; the CSI limits the effective resolution.
Mobility implication
High mobility: short , large , small effective . At pedestrian speeds (1 m/s at 28 GHz): rad, . At vehicular speeds (30 m/s): rad, . Higher than is wasted — use lower- hardware for high-mobility deployments.
ex-ris-ch08-13
MediumShow that for , the rate loss from quantization is typically smaller than the rate loss from imperfect CSI in realistic deployments.
Compare with CSI-induced rate loss.
Quantization at $B = 3$
bits/s/Hz per user.
Typical CSI loss
With (5%), bits/s/Hz. Comparable to quantization. For : bits/s/Hz. Worse than .
Conclusion
CSI error and quantization cause similar-magnitude losses in realistic deployments. Improving either in isolation has limited effect; both need attention. The coupling is studied in Ch. 4.5 (tau_p tradeoff).
ex-ris-ch08-14
MediumFor a 2-user MU-RIS with , estimate the sum-rate gap between projection-then-refine and direct discrete BCD.
Typical gap in the literature: - dB per user at .
Per-user SNR gap
- dB (empirical; see Wu and Zhang 2020 Fig. 5).
Rate translation
At high SNR: bits/s/Hz per user, so - bits/s/Hz total. Small.
Takeaway
For the gap is small enough that projection is usually preferred (simpler). At higher the gap grows; at it can be dB, then discrete BCD is worth the extra complexity.
ex-ris-ch08-15
ChallengeOpen-ended: Design an adaptive-resolution RIS scheme where elements closer to the signal "hot spot" use higher-resolution phases, and distant elements use lower resolution. Justify.
RIS elements contribute according to channel gain; focus precision where it matters.
Observation
In the cascaded channel , elements with larger per-element amplitude (stronger channel) contribute more to the total — they deserve higher precision.
Scheme
Rank elements by channel amplitude . Top 25% get bits; middle 50% get bits; bottom 25% get bit. Total control budget: similar to uniform .
Benefit
High-gain elements are tuned precisely, contributing the coherent peak. Low-gain elements are roughly tuned; their contribution is small anyway, so quantization loss is diluted. Expected: improvement over uniform at same budget.
Caveat
Requires per-element bit-depth control, which most hardware doesn't offer. Design would need to be baked into the RIS architecture (mixed 1-bit and 3-bit unit cells). An interesting research direction, not yet realized in practice.