Normalized Critics for Telling Leaky Pipes from Clogged Ones

When a packet goes missing, the sender cannot see why. It may have been dropped at a router whose buffer overflowed, which is congestion and calls for slowing down. It may also have been destroyed by radio fading or a cellular handover, which calls for resending at the same rate. This is congestion-loss ambiguity. On wireless paths it makes standard TCP back off needlessly and waste capacity. Reinforcement-learning controllers such as Aurora learn to separate the two cases from end-to-end signals: loss without rising delay is treated as random. They do this with on-policy learning, which throws away experience after each update and cannot learn from recorded traces. The obvious upgrade is off-policy actor-critic learning. That family includes Soft Actor-Critic (SAC), which pairs a policy with a "critic" network that predicts long-run reward and trains it on replayed past experience. In congestion control, though, this family has a reputation for instability.

We propose that this instability is not generic. It is concentrated on the ambiguous states. A "leaky pipe" observation and a "clogged pipe" observation differ only in a small delay feature. An unnormalized critic generalizes broadly across inputs, so an update on one inflates or deflates the value of the other. That produces either over-aggressive sending under real congestion or needless timidity under random loss. Layer normalization (LN) rescales each hidden layer's activations to zero mean and unit variance per sample. It is known to make critic generalization local and to prevent value runaway. We claim that adding LN to a tiny critic separates these twin states, enables learning without target networks from replayed traces, and yields a controller that is both sample-efficient and fair. We also propose a kernel-based diagnostic that predicts when a critic will confuse the two kinds of loss.

Core Claim

The two directions play different roles here. Congestion-loss ambiguity supplies the regime and the test. Critic normalization supplies the mechanism.

Normalization's main effect in this setting is on perception, not only on optimization stability. Without normalization, an off-policy critic trained on Aurora-style inputs (a short history of latency gradient, latency ratio, and sending ratio) will assign nearly the same value to "hold rate" in leaky and clogged states. We can measure this directly with the critic's gradient similarity between paired twin states $x_L$ (random loss) and $x_C$ (overflow loss):

$$ k(x_L, x_C) = \frac{\langle \nabla_\theta Q_\theta(x_L, a), \nabla_\theta Q_\theta(x_C, a) \rangle}{\|\nabla_\theta Q_\theta(x_L, a)\| \, \|\nabla_\theta Q_\theta(x_C, a)\|} $$

Here $Q_\theta$ is the critic with parameters $\theta$ and $a$ is a fixed "maintain current rate" action. A value of $k$ near 1 means a gradient step on one twin moves the other almost equally. We predict three things. First, unnormalized critics keep $k$ high and fail to discriminate. Second, LN critics drive $k$ down early in training, and this drop precedes the appearance of correct behavior. Third, the network-wide self-excitation measure SEEM, introduced by Understanding, Predicting and Better Resolving Q-Value Divergence in Offline-RL, turns positive specifically in runs whose twin similarity stays high. That paper showed SEEM > 0 predicts divergence and that LN localizes the critic's neural tangent kernel, the kernel describing how a gradient step on one input changes predictions at others. It did so on offline MuJoCo benchmarks. We carry the analysis to a domain where the harmful generalization has a concrete, nameable pair of states. We also tie it to a known deployment failure: learned controllers becoming aggressive and starving CUBIC, as noted in A Deep Reinforcement Learning Perspective on Internet Congestion Control and NN4SysBench.

Research Program

The agent follows Aurora's interface so that comparisons are clean. It uses Aurora's history-of-ten state, a continuous sending-rate action per monitor interval, and its linear reward of 10·throughput − 1000·latency − 2000·loss. Aurora trains this with PPO and a 32×16 unnormalized network. We swap in SAC with a critic of comparable size, roughly 64×64. LN follows each hidden layer. The target network is removed, in the spirit of the online target-free SAC result in Yue et al.. Three findings shape this design. The Bitter Lesson of Reinforcement Learning found that generic regularizers like LN beat RL-specific fixes such as clipped double-Q at high replay ratios. That makes LN the right first lever. The same paper found Spectral Normalization better on manipulation tasks, so we include it rather than assume LN dominates. CrossQ removes target networks with batch normalization over a joint batch of current and next state-action pairs, but it needs 2048-unit layers. We test whether that design survives at transport-stack sizes, where batch statistics from small batches may be noisy. AVG reaches stable learning with a buffer of one using observation normalization, penultimate normalization, and TD-error scaling. That stack is our streaming variant and the cheap-normalization ablation.

The first deliverable is a paired-twin scenario generator. For each twin pair, a clogged scenario uses a shallow-buffer bottleneck where loss comes from overflow. Its leaky twin has ample capacity and i.i.d. or bursty random loss tuned to the same average loss rate. Correct behavior is unambiguous: back off in the clogged twin, hold in the leaky one. From this we define a discrimination score, the fraction of loss-bearing monitor intervals where the agent's rate change has the correct sign. The score is reported alongside throughput, delay, and loss.

The second deliverable is the diagnostic study, which logs SEEM, twin similarity $k$, and Q-value magnitude across training for every variant.

The third deliverable is trace-based off-policy learning. Logs collected by CUBIC, BBR, and Aurora on Mahimahi cellular traces seed the replay buffer. This tests whether the sample-efficiency argument actually pays off.

Baselines

The naive reference is Linux CUBIC, which halves its window on loss. It shows how much capacity ambiguity costs. The strongest non-learning competitor is a bandwidth-estimating heuristic: TCP Westwood-style ACK-rate filtering, plus ECN where the topology allows WDCTCP. TCP congestion control for wireless datacenters reports for WDCTCP a Jain's Fairness Index of 0.99 and queuing delay of 120–250 μs under 0.1% random loss, where DCTCP/Reno lost over 50% of performance as RTT grew. Beating it on its home turf is not the goal. Matching it where ECN exists and exceeding it on ECN-free cellular traces is. BBR, studied with delay-based probing in BBRv2+, runs as a second heuristic.

The strongest learned competitor is Aurora itself. Its reported result is link utilization "nearly matching BBR" with "significantly lower latency," generalizing to 128 Mbps, over 20× its training range. These are qualitative statements, so we reproduce Aurora in its own simulator and on our twin suite rather than quote a number. PBQ-Enhanced QUIC is the closest wireless-loss learned system, tested at 0–10% loss in ns-3. No reported numerical throughput values were found on Lacuna for PBQ (results appear only in figures), so it is reimplemented in its stated dumbbell setting.

Fairness rules apply to every learned method. All use the same state, reward, training scenarios, and environment-step budget. Each gets an equal hyperparameter search of 20 configurations and 10 seeds. Beating the learned baselines means equal or better final reward at one third the environment steps, a higher twin-discrimination score, and Jain's index against CUBIC no worse than Aurora's.

The ablations isolate the key ingredient. We compare SAC with and without LN, each with and without a target network. We add SAC with clipped double-Q and a target but no LN, CrossQ-style batch normalization at small width, and the AVG input/TD normalization stack without hidden-layer LN.

Why not just…?

Why not just use Aurora, since PPO already solves the ambiguity? This is a real threat. Aurora learns that loss without delay growth is benign, and the evidence for that comes from its own paper. Our argument rests on sample efficiency and the ability to learn from logged traces, which on-policy PPO structurally lacks. If PPO matches the LN-SAC agent at equal environment steps on the twin suite and the cellular traces, the case for off-policy learning in this domain collapses, and we will report that. The diagnostic contribution, which explains why unnormalized off-policy critics fail here, would still stand.

Why not just keep target networks and clipped double-Q? These are the standard stabilizers, and they may suffice for divergence. Our hypothesis is that they slow divergence without fixing twin-state confusion, because they act on the bootstrap target rather than on how the critic generalizes across inputs. The SAC-with-target, no-LN ablation measures $k$ and discrimination directly. The Bitter Lesson suggests regularization beats such patches, but that finding comes from locomotion tasks. If target-network SAC discriminates equally well, the claim reduces to compute and lag savings only.

Why not just add an explicit "loss without delay increase" feature or a supervised loss classifier? If the twins become trivially separable in the input, normalization's perceptual role might vanish. That would be informative, so we run every variant with a Westwood-style bandwidth-estimate feature added. Two pieces of evidence suggest this is not enough. Supervised loss estimators break down above 10% loss, the "TCP Wall" reported in Machine Learning Methods for Connection RTT and Loss Rate Estimation. Handover-driven disruption also looks like heavy congestion to end-to-end estimators (Jing Wang et al.). We expect the LN advantage to persist in the 10–20% loss and handover regimes even with the feature, and to shrink at low loss.

Why not just use cross-layer signals like MAC queue state? Rajendran et al. and edge handover notifications (An et al.) resolve the ambiguity exactly when they are available. They do not exist on encrypted end-to-end QUIC paths over infrastructure the sender does not control. We use them only as an oracle upper bound in ns-3.

Proposed Experiments

Training and the twin suite run in ns-3 dumbbells. These follow the PBQ setting, with a 10 Mbps bottleneck, 100 ms RTT, and 2–8 flows, and extend loss to 0.1%, 1%, 10%, and 20% under uniform, Poisson, and handover-burst patterns. Transfer runs on Mahimahi cellular traces (Verizon, AT&T) and Pantheon's calibrated emulators, which Pantheon reports replicate real paths with 17% average throughput and delay error. Metrics are throughput, 95th-percentile delay, loss, twin-discrimination score, Jain's index against competing CUBIC flows, and per-decision inference time on a commodity CPU. The latency target is under 1 ms per monitor interval, which addresses the compute concern raised by When Machine Learning Meets Congestion Control. Acting per monitor interval with a 64-unit network, rather than per packet with a large one, is what makes this target plausible. The trained actors are also checked against the congestion-control safety properties in NN4SysBench.

Three checks decide the proposal. First, across seeds, does high twin similarity $k$ early in training predict both positive SEEM and later failure to discriminate? A correlation near zero refutes the mechanism. Second, at 10–20% random loss with the explicit bandwidth feature present, does LN-SAC without a target network beat target-network SAC and PPO on discrimination at equal steps? Third, when trained only from logged CUBIC and BBR traces, does the LN critic avoid the value blow-up and aggressive-sending behavior that the unnormalized critic shows? We measure this by Q-magnitude growth and by Jain's index against CUBIC.