Replaying the Hard Block: Shared Experience for Learned Alternating Optimization

Many wireless control problems pair a cheap decision with an expensive one. A reconfigurable reflecting surface is a panel of hundreds of elements, each applying a phase shift to incoming signals. Using one means setting those phases together with the base station's transmit beam. For any fixed set of phases, the best beam has a closed form or takes a few cheap iterations. Choosing the phases is the hard part: it is non-convex, and the standard solver, semidefinite relaxation, took 136.20 ms for a 200-element surface in Optimization-driven Deep Reinforcement Learning for Robust Beamforming in IRS-assisted Wireless Communications. That is too slow for a mobile channel. Alternating optimization, which fixes one block of variables, solves for the other, and repeats, is how this field handles the coupling. Reinforcement learning is how it tries to get speed.

We propose a simple bridge. Put only the hard block (the phases) and the channel information into a shared replay buffer, which is a memory of past decisions that any learner can sample. Then recompute the easy block (the beam) exactly whenever a stored item is replayed. With this choice, experience from very different sources describes the same quantity: a slow classical solver run occasionally, exploring neural policies, stale snapshots, and neighbouring cells. That quantity is how good these phases are once the beam is chosen optimally. The shared buffer stops being a pile of mutually inconsistent joint actions and becomes a growing, re-scorable dataset for amortizing, and possibly improving on, alternating optimization.

Core Claim

Let $H$ be the realized channel, $\hat H$ the (possibly outdated) channel estimate the system actually observes, $\Theta$ the surface phases, $w$ the transmit beams, and $f$ the utility (sum rate or minimum user rate). The easy block has a best response $w^\star(\hat H,\Theta)$, computed by regularized zero-forcing or a few WMMSE (weighted minimum mean-square error) iterations. A stored item is $(\hat H, H, \Theta)$ with no beam attached. When it is replayed, its reward is recomputed as

$$r(\hat H,H,\Theta) = f\big(H,\; w^\star(\hat H,\Theta),\; \Theta\big),$$

and a critic $Q(\hat H,\Theta)$ is regressed onto it, while a phase actor $\pi(\hat H)$ with unit-modulus output ascends $Q$. This relabeling is exact regardless of who produced $\Theta$ and when. It removes the inconsistency that makes pooled experience fragile, because the beam that was used at collection time no longer matters. We claim three things. First, this block-relabeled shared buffer lets a classical alternating-optimization solver act as a low-rate "teacher" contributor, much as the evolutionary population does in Evolution-Guided Policy Gradient in Reinforcement Learning. Second, the resulting policy approaches the solver's objective at a fraction of its runtime. Third, under outdated channel information the policy can exceed the solver, whose output is computed for the wrong channel.

Positioning Against Prior Work

The closest work is optimization-driven DDPG (Optimization-driven Deep Reinforcement Learning for Robust Beamforming in IRS-assisted Wireless Communications, with its conference version Deep Reinforcement Learning for Robust Beamforming in IRS-assisted Wireless Communications). There, the actor proposes part of the action and a convex approximation supplies a lower-bound target for the critic, using one agent and its own local replay. That paper supplies our method's backbone: learn only the hard part and let a model handle the rest. We differ in what the buffer holds and who fills it. It keeps a single learner's history. We pool heterogeneous producers, including the full classical solver, and re-score everything at replay time.

Deep Reinforcement Learning-Based Intelligent Reflecting Surface for Secure Wireless Communications treats beam and phases as one flat action with prioritized replay. It motivates our work by representing the monolithic alternative we expect to lose to.

The shared-replay literature constrains the design. Off-Policy Actor-Critic with Shared Experience Replay (LASER) found that learning purely from replay collapses and that about 1/8 on-policy data is needed. Stabilising Experience Replay for Deep Multi-Agent Reinforcement Learning and Off-Agent Trust Region Policy Optimization show that pooled experience from changing or dissimilar peers must be tagged or filtered. Our relabeling is a structural alternative to fingerprints and trust regions. It applies only when one block has a cheap exact best response. We treat whether it actually relaxes LASER's on-policy requirement as a hypothesis to test, not a given. The alternating structure itself comes from Intelligent Reflecting Surface-Aided Joint Processing Coordinated Multipoint Transmission, which alternates beamformers over coordinated base stations with surface phases and converges in 4 to 25 iterations. It also comes from Alternating Optimization for Joint Active and Passive Beamforming. Experience Replay Optimization alternates between an agent and a learned sampler. That alternation is over sample weights, not problem variables, and it is complementary to ours.

Research Program

We build a simulator for multi-user downlink with a reflecting surface. It uses Rician fading with temporal correlation, surface sizes of 50, 100 and 200 elements, several users, and a controllable channel-estimate delay. We then extend it to a multi-cell coordinated setting following the JP-CoMP paper, in which each cell's phase learner writes to one buffer and the joint beams are re-solved over all cells' phases at replay. Four producers feed the buffer. The noisy actor runs every slot. A classical alternating solver (majorization-minimization or semidefinite relaxation for phases, WMMSE for beams) runs on a small fraction of slots at its natural slow rate, and its intermediate iterates are logged as additional phase proposals. Frozen policy snapshots contribute, and in the multi-cell case so do neighbouring learners. The analysis will characterize three things: how value transfers from teacher data to the policy as the teacher fraction varies, whether relabeled replay tolerates a near-zero share of fresh actor data, and how the advantage over the solver scales with estimate delay.

Baselines

The naive reference point is random phases with optimal beams, alongside no surface at all. This bounds how much any phase choice matters.

The strongest non-learned competitor is classical alternating optimization run to convergence, with full solver time allowed. It defines the objective ceiling under perfect information and the runtime we must beat. To give it the same information, it receives the same delayed estimates.

The strongest learned competitor is optimization-driven DDPG as described by Lin et al. We reimplement it with the same in-loop beam solver, network sizes, environment-sample budget, and hyperparameter search budget. Our method differs from it only in the shared buffer and its producers. Beating it means reaching its final utility with markedly fewer environment interactions, or a higher final utility at equal interactions, across seeds.

We also run the monolithic joint-action DDPG with prioritized replay of Yang et al. The file reports its gains only against its own baseline (17.21% secrecy rate and 8.67% QoS satisfaction), not a comparable absolute figure. For the power-minimization setting, the file gives no reported result on Lacuna for achieved AP transmit power, only runtimes (136.20 ms for semidefinite relaxation versus 15.19 ms for optimization-driven DRL at 200 elements).

Supervised amortization regresses a network onto the solver's output phases, using the same solver budget we give our teacher.

Two ablations isolate the key ingredient. The first uses the same shared buffer but stores the full joint action with its collection-time reward and does not re-solve the beam. The second uses isolated per-producer or per-cell buffers.

Why not just…?

Why not just keep Lin et al.'s single learner with local replay? This is the real threat. If the solver's data adds nothing beyond what the actor discovers itself, our method collapses to theirs. The teacher-fraction sweep settles it directly. At a teacher fraction of zero our method is essentially their method, so any gain at positive fractions is attributable to sharing. We will report it even if the curve is flat.

Why not just imitate the classical solver? Imitation of solver outputs is cheap and may match our method under perfect channel information. We expect it to fail in two places. It inherits the solver's local optima. Under delayed estimates it learns labels that are optimal for the wrong channel, whereas relabeled rewards are scored under the realized channel. The delay sweep is the test. If imitation matches us at every delay, the reinforcement learning component is not earning its keep.

Why not just run alternating optimization faster, for example with fewer iterations? A truncated solver is a legitimate speed-matched baseline, and we include it at the runtime our policy achieves. The JP-CoMP paper reports convergence in 4 to 25 iterations. A reported semidefinite-relaxation runtime of 136.20 ms at 200 elements suggests truncation still leaves a large gap, but we measure this rather than assume it.

Why not just share one flat buffer of joint actions? The no-relabel ablation answers this. LASER's replay-only collapse and the multi-agent non-stationarity results predict that stale beams paired with current phases will corrupt the critic, especially in the multi-cell case.

Decisive Checks

The idea succeeds if three conditions hold. First, at 200 elements the policy reaches within a few percent of converged alternating optimization's sum rate at a small fraction of its runtime. Second, it beats reimplemented optimization-driven DDPG in sample efficiency, with the no-relabel ablation clearly worse. Third, beyond some estimate delay it overtakes both the classical solver and imitation. A separate check asks whether relabeled replay trains stably with nearly no fresh actor data. The outcome either extends or confirms LASER's 1/8 finding for this structured setting. The idea fails if the teacher-fraction curve is flat and imitation matches us at every delay. In that case the honest conclusion is that Lin et al.'s design already captures the benefit.