A transmitter running on a battery has to decide, slot by slot, how much power to spend now and how much to save for later. That decision depends less on the exact channel in the next millisecond than on the kind of channel it is in. A slowly fading link with good average gain rewards spending. A fast-fading or blocked link rewards waiting. Learned allocators that plan ahead already exist, but they are trained and tested on channels whose statistics never change. When a user starts moving faster or a line-of-sight path is blocked, these policies keep acting on the wrong statistics, and the only remedy on offer is retraining by gradient descent. Retraining is slow, and in drifting environments it can be destabilizing.
We propose to learn a small latent "regime" representation of the channel without any labels. It is trained by teaching a model to pick out the true next channel embedding from a lineup of impostors, through an explicit switching linear dynamics operator. The power policy is then conditioned on that representation. The bet is that the policy can adapt to a change in the channel by inferring the new regime from a few slots, with no weight updates at all. A spike in the same contrastive loss serves as a cheap, label-free alarm for regimes the model has never seen.
Core Claim
Contrastive dynamics learning is a way of fitting a model of how a system evolves by scoring predicted future states against the real future and against distractors, instead of reconstructing the future. Its strength is that it ignores unpredictable detail. Wireless channels are an almost ideal case for this. The instantaneous small-scale fading (the random phase and amplitude of multipath reflections) is high-entropy and essentially unpredictable beyond the coherence time. The quantities that matter for a non-myopic budget decision are low-dimensional and persistent: Doppler spread, mean path loss, and blockage state.
Our claim has two parts. First, an encoder trained with InfoNCE through an explicit dynamics operator recovers these regime variables from a short window of noisy, aged channel estimates. A model trained to predict future channels with mean-squared error (MSE) does not, because MSE spends its capacity on fading it cannot predict. Second, a power allocator conditioned on this representation keeps its non-myopic gains across regime shifts by inference alone. It should recover within a handful of slots, where fine-tuning needs thousands of transitions.
Grounding in Prior Work
Two papers define the application baseline, and both leave the same gap. Learning Non-myopic Power Allocation in Constrained Scenarios (NMPA) stacks an unfolded WMMSE solver, which computes the best instantaneous power while ignoring the battery, under a graph neural network trained with TD3 that outputs a power-scaling factor in [0, 1]. It learns to "wait" through poor channels. Its fading is stationary Rayleigh with fixed path loss, and its input is the raw channel graph. Contrastive Self-Supervised Learning for Wireless Power Control shows that contrastive pre-training on unlabeled channel matrices cuts the labels needed by an order of magnitude. Its contrastive loss compares static snapshots under pruning augmentations and contains no temporal model. We take NMPA's hierarchical controller unchanged and replace only what it sees. We differ from the contrastive power-control work by making the contrastive objective temporal and dynamics-aware rather than augmentation-based.
The method comes mainly from Self-supervised contrastive learning performs non-linear system identification. That paper proves that symmetric contrastive encoders without a dynamics model fail to identify latent dynamics, while inserting a learnable operator into InfoNCE recovers the latent system up to an affine map. Its switching linear variant ($\nabla$-SLDS) reaches 94.1% $R^2$ on the Lorenz attractor versus 41.0% for symmetric contrastive learning. That paper is purely passive system identification. Wireless fading is, to first order, exogenous: transmit power does not change the channel matrix. Passive identification is therefore the right fit here, and we deliberately do not use action-conditioned objectives like TACO.
Two other results shape the objective. DR.Q shows that MSE latent prediction need not maximize mutual information and can discard dynamics detail. This motivates our central ablation. The identifiability result assumes an injective observation map, which partial, noisy CSI breaks. We follow the paper's suggested time-delay embedding. Our window choice is informed by Ada-Diffuser, which proves four consecutive transitions suffice to identify hidden environment factors in its setting. We treat that as a prior to test, not a guarantee that transfers. Ada-Diffuser's diffusion planner also adds 20–30% overhead, which constrains us away from generative planners at slot timescales.
On adaptation, the constraining evidence is Balancing Plasticity and Stability with Fast and Slow Successor Features. Under continuous drift, injecting plasticity such as weight resets causes collapse, and stability is the bottleneck. Our design takes that seriously by keeping policy weights frozen at deployment and moving adaptation into latent inference. The surprise trigger borrows the logic of STAR, which spawns new models only when accumulated prediction error crosses a threshold and saves 94% of updates in Rock-Paper-Scissors. We test whether that logic survives in a continuous, high-dimensional setting it was never tried in.
Research Program
The encoder $h$ maps a window of the last four estimated channel-gain matrices to a latent $z_t$. The dynamics operator is a switching linear model, $\hat f(z) = \sum_{k=1}^{K} \pi_k(z) A_k z$. Here $A_k$ are $K$ learnable transition matrices, and $\pi_k(z)$ are Gumbel-softmax mixing weights that act as a soft regime label. Training minimizes
$$ \mathcal{L} = -\mathbb{E}_t \log \frac{\exp\!\left(-\|\hat f(z_t) - z_{t+1}\|^2/\tau\right)}{\sum_{j} \exp\!\left(-\|\hat f(z_t) - z_j\|^2/\tau\right)}, $$
where the sum over $j$ runs over the true next latent and negatives drawn from other times and other trajectories in the batch, and $\tau$ is a temperature. Training uses only unlabeled channel traces, which the base station collects anyway.
The NMPA upper-level graph network then receives the regime weights $\pi(z_t)$ and the latent $z_t$ alongside battery level and topology. It is trained with TD3 across a mixture of regimes. At deployment the policy weights are frozen. A running average of the per-slot contrastive loss is compared against a threshold calibrated on training regimes. When it fires, a new matrix $A_{K+1}$ is fit on the recent buffer, and only a small conditioning head of the policy is fine-tuned.
The channel simulator extends NMPA's 10-pair, 60×60 ad-hoc Rayleigh network with three sources of non-stationarity. The first is piecewise-constant Doppler, implemented as changes in temporal correlation. The second is path-loss shifts from receiver mobility. The third is abrupt blockage episodes. Training covers a set of Doppler and path-loss values. Testing uses held-out values inside that range and values outside it. As a more physical stress test, we generate traces from the cluster birth-death model of A Novel 3D Non-Stationary Multi-Frequency Multi-Link Wideband MIMO Channel Model. That model produces non-stationarity that our switching linear operator was not designed around.
Baselines
The naive reference point is myopic unfolded WMMSE applied per slot with the battery spent greedily. It shows how much non-myopia is worth in each regime.
The strongest existing method is NMPA itself, retrained on our non-stationary mixture with its original raw-graph input. On stationary Rayleigh fading it reports a 15–20% episodic sum-rate improvement over myopic baselines, near-zero constraint violations, and about 7 ms inference (Learning Non-myopic Power Allocation in Constrained Scenarios). No reported result was found on Lacuna for NMPA, or any learned allocator, under non-stationary regime shifts; establishing that number is part of the work. NMPA gets the same TD3 budget, environment steps, network size, and hyperparameter search budget as our conditioned version. The two differ only in their input. Beating it means higher episodic sum-rate on held-out regimes at equal violation rate, and faster recovery after a shift.
Faster recovery is measured as the number of slots until the rolling sum-rate returns within 5% of a regime-oracle policy. That oracle is NMPA given the true regime parameters. It is the upper bound and tells us how much of the gap our latent closes.
Three ablations isolate the key ingredient by holding the policy fixed and swapping the encoder objective. The first trains the same encoder by MSE prediction of the next channel, which is the DR.Q tension. The second uses symmetric contrastive learning without $\hat f$, matching the static approach of Contrastive Self-Supervised Learning for Wireless Power Control and the failure mode DCL predicts. The third keeps InfoNCE with $\hat f$ but uses a single linear matrix instead of a switching bank. We also report direct regime recovery: linear-probe $R^2$ of $z_t$ onto true Doppler and path loss, and accuracy of $\pi$ against true regime labels.
Two adaptation baselines receive the same post-shift data. One is online TD3 fine-tuning of NMPA. The other is fine-tuning with periodic resets.
Why not just…?
Why not just feed NMPA a window of past channels, or give it a recurrent memory, and let reward shape the representation? This is the most serious threat. A recurrent policy trained across many regimes can in principle learn regime inference implicitly. We run it as a full baseline: NMPA with a 4-slot stacked input, and NMPA with a GRU, both at equal parameter count and training budget. Our expected advantage rests on two things. Reward is a sparse, noisy signal for learning Doppler. And self-supervision can use unlabeled traces many times larger than the RL budget. Both predictions are testable by varying the RL interaction budget while holding unlabeled data fixed. If the GRU matches us in-range and out-of-range at every budget, the claim fails, and we will report it as such.
Why not just predict the next channel with MSE, the standard channel-prediction approach? MSE prediction spends capacity on small-scale fading that is unpredictable beyond the coherence time. DR.Q shows MSE latent objectives can discard dynamics information. The MSE-encoder ablation settles this directly through regime-probe $R^2$ and downstream sum-rate. A clear prediction follows: the gap should widen as Doppler increases and the predictable fraction of the channel shrinks.
Why not just fine-tune the policy online when the channel changes? Recurrent Rational Networks argues SGD needs thousands of transitions to overwrite old behaviour. Fast and Slow Successor Features shows plasticity injection collapses under drift. Fine-tuning remains reasonable for genuinely novel regimes, which is why we use it, restricted to a small head, behind the surprise trigger. The recovery-time and update-count measurements show whether inference-only adaptation beats it on familiar regimes and whether triggered fine-tuning matches continuous fine-tuning on novel ones.
Why not just track the channel with Gaussian process regression, as in classical non-stationary scheduling? Smart scheduling and feedback allocation over non-stationary wireless channels tracks scalar gains this way and expands the stable throughput region (12 versus 10 packets/slot in its 20-user setting). However, it uses fixed power, and its cost grows cubically with samples. We include a GPR-tracked channel estimate as an NMPA input variant on the 10-pair network, to check whether a well-tuned classical tracker already supplies the needed regime information at that scale.
Proposed Experiments and Decisive Checks
The first decisive check is identification. On simulator traces, the switching contrastive encoder should recover Doppler and path loss with substantially higher probe $R^2$ than both the MSE encoder and the symmetric contrastive encoder. If it does not, the downstream story has no mechanism.
The second is the shift test. After an abrupt Doppler or blockage change, the frozen conditioned policy should return near the regime oracle within a few slots, while NMPA, fine-tuned NMPA, and ideally the GRU take far longer. This must hold at equal constraint violation and within NMPA's roughly 7 ms inference envelope.
The third is out-of-range regimes, both in the parametric simulator and in the cluster birth-death MIMO traces. Here we measure whether the surprise trigger fires within a few slots of a shift, whether its false-alarm rate on in-range fading stays low, and how many adaptation updates it saves relative to continuous fine-tuning.
A negative result would also be informative. If the GRU baseline matches us everywhere, or the MSE encoder identifies regimes just as well, then contrastive dynamics is not what non-stationary power control is missing.
References
- Learning Non-myopic Power Allocation in Constrained Scenarios
- Contrastive Self-Supervised Learning for Wireless Power Control
- Self-supervised contrastive learning performs non-linear system identification
- $\texttt{TACO}$: Temporal Latent Action-Driven Contrastive Loss for Visual Reinforcement Learning
- Debiased Model-based Representations for Sample-efficient Continuous Control
- Ada-Diffuser: Latent-Aware Adaptive Diffusion for Decision-Making
- Balancing Plasticity and Stability with Fast and Slow Successor Features
- A Surprise Triggered Adaptive and Reactive (STAR) Framework for Online Adaptation in Non-stationary Environments
- A Novel 3D Non-Stationary Multi-Frequency Multi-Link Wideband MIMO Channel Model
- Adaptive Rational Activations to Boost Deep Reinforcement Learning
- Smart scheduling and feedback allocation over non-stationary wireless channels