Simple Algorithm
Reinforcement Learning · Fixed Point · 28 min

Plasticity Loss & Scaling Deep RL

Why networks stop learning, resets, and making bigger value networks pay off.

Train a value network long enough on a stream of changing targets and it gets worse at learning. An agent drilled on its first 100 transitions may never recover, even after almost a million more; a growing share of its units stop responding; resetting its last layers can beat keeping them. This lesson collects the evidence for plasticity loss in deep RL, proves what can be proved about its mechanisms, follows the fixes to the recipe that reached human-level efficiency on Atari 100k, and ends with the recent results that finally let bigger value networks help instead of hurt.

What you’ll learn

  • Describe the primacy-bias experiments and the effect of resets, and explain why higher replay ratios make plasticity loss worse.
  • Define feature rank and dormant neurons, prove that a unit inactive on all inputs receives no gradient, and analyze a kernel model in which bootstrapping concentrates the value on a few directions.
  • Summarize the fixes (resets, shrink-and-perturb, feature regularization, unit recycling, normalization) and what BBF combined to reach human-level IQM on Atari 100k.
  • Explain what mixtures of experts, classification losses and normalized architectures changed about scaling value networks, and separate what is established from what is open.

Networks that stop learning

Nikishin et al. (2022) ran a blunt experiment. A SAC agent on a DeepMind Control locomotion task collected 100 transitions, was updated 10510^5 times on them, and then resumed normal training. It never recovered: after almost a million further transitions it still performed poorly. Nor were the data the problem. In a second experiment, SAC run at 9 updates per environment step also performed poorly because of the primacy bias, yet a fresh agent initialized with its replay buffer learned quickly. The failure is in the network, which can no longer turn new data into a better policy. They called it the primacy bias: deep RL agents overfit their earliest experience, and the effect compounds, since a worse policy collects worse data.

Their remedy was equally blunt: periodically reinitialize the last layers of the network and keep the replay buffer. For SPR on Atari 100k they reset only the final linear layer, every 20,000 steps; for SAC on DeepMind Control they reset all networks every 200,000 steps.

Agent (benchmark)Without resetsWith resets
SPR (Atari 100k, human-normalized IQM)0.3800.478
SAC (DeepMind Control, IQM return)501656
DrQ (DeepMind Control from pixels, IQM return)569762
Nikishin et al. (2022), with the replay ratio and nn chosen separately for each method with and without resets; 20 seeds per game for SPR, 10 per task for SAC and DrQ. Agents with higher replay ratios were more prone to the primacy bias and gained more from resets.

The replay ratio connects the two observations. More updates per environment step means more fitting of whatever the buffer currently holds, and while the buffer is small, early transitions are drawn far more often than later ones (about ρBln⁡(T/t)\rho B\ln(T/t) draws for the transition from step tt; Experience Replay in Depth). Plasticity loss is not special to RL. Dohare et al. (2024) trained networks on long sequences of binary classification tasks built from ImageNet: accuracy on new tasks fell to about what a linear network achieves. Across their experiments the loss appeared with many architectures, optimizers and activation functions, and it was eased by L2L_2 regularization combined with weight perturbation, or by continual backpropagation, which keeps reinitializing a small fraction of the least-used units. RL makes the problem acute because its targets keep changing: the policy, the data distribution and the bootstrapped labels all move.

Think first Is the primacy bias just overfitting?

Overfitting usually means fitting the training data at the expense of held-out data. The primacy bias is a failure on the training data that arrives later: the network fits early data so well that further gradient steps on newer data, already in the buffer, no longer improve it, while a fresh network trained on the same buffer does. It is better described as lost trainability, which is why reinitializing parameters helps, and why regularizers that keep the network close to its initialization are among the proposed fixes.

Measuring lost plasticity

Proof. By the chain rule, ∂L/∂wj=(∂L/∂hj) 1[uj(x)>0] z(x)=0\partial\loss/\partial\mathbf w_j=(\partial\loss/\partial h_j)\,\mathbf 1[u_j(x)>0]\,\mathbf z(x)=\mathbf 0, and likewise for bjb_j; the gradient for an outgoing weight vkjv_{kj} carries the factor hj(x)=0h_j(x)=0. ■\blacksquare So gradient descent on that data never moves the unit's own weights; it can revive only if earlier layers or the input distribution change enough to make uju_j positive somewhere. Sokar et al. found that in deep RL the fraction of dormant units grows during training, faster at higher replay ratios, that dormant units mostly stay dormant (pruning them left performance unchanged), and that a network with many of them fits even a fixed new target worse than a freshly initialized one.

DerivationBootstrapping concentrates the value on a few directions (a kernel model)
  1. ai=λic+λi∈(0,1),Qk=∑j=0k−1(γAPπ)jAR(from Q0=0)a_i=\frac{\lambda_i}{c+\lambda_i}\in(0,1),\qquad Q_k=\sum_{j=0}^{k-1}\big(\gamma\mathbf AP^\pi\big)^j\mathbf AR\quad(\text{from }Q_0=0)

    Kumar et al. (2021) model each round of fitted evaluation as kernel ridge regression: Qk+1Q_{k+1} fits the labels yk=R+γPπQky_k=R+\gamma P^\pi Q_k on the data with a kernel penalty of weight c>0c>0, which mimics the implicit regularization of a few gradient steps. On the data, Qk+1=AykQ_{k+1}=\mathbf Ay_k with A=G(cI+G)−1\mathbf A=\mathbf G(c\mathbf I+\mathbf G)^{-1} for the Gram matrix G\mathbf G. If G\mathbf G has eigenvalues λi\lambda_i, then A\mathbf A has the same eigenvectors and eigenvalues

  2. mi(k)=ai∑j=0k−1(γai)j →k→∞ ai1−γaim_i(k)=a_i\sum_{j=0}^{k-1}(\gamma a_i)^j\ \xrightarrow[k\to\infty]{}\ \frac{a_i}{1-\gamma a_i}

    Suppose for illustration that A\mathbf A and PπP^\pi share eigenvectors, and follow two directions along which PπP^\pi acts as the identity. Along direction ii, the reward's component is multiplied by

  3. One fit scales direction ii by aia_i; bootstrapping multiplies it by a further 1/(1−γai)1/(1-\gamma a_i), which is large only when aia_i is near 1. The directions the kernel already favors are amplified most, so the fitted values concentrate on a few directions: a fall in effective rank. Kumar et al. prove a general version: under a normality assumption, the effective rank of the map from rewards to QkQ_k decreases along an infinite subsequence of iterations.

Predict before you look

In this model, two directions have a1=0.9a_1=0.9 and a2=0.1a_2=0.1, and γ=0.99\gamma=0.99. After one fit the first direction outweighs the second 9 to 1. By what ratio does it outweigh it at the fixed point?

Show the answer

74

m1=0.9/(1−0.891)≈8.26m_1=0.9/(1-0.891)\approx8.26 and m2=0.1/(1−0.099)≈0.111m_2=0.1/(1-0.099)\approx0.111, a ratio of about 74. Bootstrapping turned a 9 : 1 imbalance into 74 : 1, and the closer γ\gamma is to 1 the stronger the effect. The model is an idealization (a fixed kernel, shared eigenvectors); its role is to show how iterated regression on one's own predictions can shrink the space of functions in use.

Are these the cause of plasticity loss, or symptoms? Lyle et al. (2023) tested the usual suspects (feature rank, weight norm, dormant units and others) with a falsification design: for each, they built learning problems in which it failed to predict which networks lost plasticity. They found plasticity loss closely tied to changes in the curvature of the loss landscape, often with no saturated units at all, and found that the interventions believed to smooth the landscape, normalization layers and categorical output representations, preserved plasticity best. Adding layer normalization to a standard DQN significantly improved its performance on the Atari benchmark.

Fixes, and a recipe that reached human-level efficiency

Each diagnosis suggests a fix, and most of them push the network, or part of it, back toward a fresh initialization:

FixWhat it acts onEvidence (as of the mid-2020s)
Reset the last layers, keep the buffer (Nikishin et al., 2022)The trainability of the reset layers (the final layer for SPR, every network for SAC)SPR, SAC and DrQ improved (table above)
Shrink-and-perturb: scale the weights toward zero, add fresh noise (Ash & Adams, 2020)All weights, partiallySR-SPR (D'Oro et al., 2023): convolutional layers moved 20% of the way to a fresh initialization, later layers fully reset; replay ratios up to 16, with better sample efficiency
InFeR (Lyle, Rowland & Dabney, 2022): regress extra output heads toward their values at initializationThe feature subspace present at initializationSignificant gains in sparse-reward games such as Montezuma's Revenge
ReDo (Sokar et al., 2023): reinitialize a dormant unit's incoming weights, zero its outgoing weightsDormant units (τ=0.1\tau=0.1; 0.025 at DQN's default replay ratio)Fewer dormant units and better DQN at high replay ratios on Atari
Continual backpropagation (Dohare et al., 2024)A small fraction of the least-used units, continuallyPlasticity maintained over long task sequences
Layer normalization; weight decayCurvature; weight scaleDQN on Atari (Lyle et al., 2023); part of BBF

BBF (Schwarzer et al., 2023) combined these ideas with scale. Starting from SR-SPR, which pairs SPR's self-predictive auxiliary loss with periodic resets, it uses an Impala-CNN ResNet with every layer four times wider, a replay ratio of 8, harder resets (convolutional layers moved 50% of the way to a fresh initialization), an update horizon annealed from n=10n=10 to 3 and a discount annealed from 0.97 to 0.997 over the 10,000 gradient steps after each reset, weight decay of 0.1, and no noisy layers. On Atari 100k its human-normalized interquartile mean over the 26 games was 1.045, against 0.631 for SR-SPR, 0.337 for SPR and 0.183 for DER, and 1.020 for the model-based EfficientZero; it trains in about 6 hours on one GPU. Removing the self-predictive loss hurt substantially, and BBF kept improving as the network was widened to 4 times (8 times did about as well), where SR-SPR peaked at 1 to 2 times.

Read "human-level" with care. The IQM exceeds 1, but BBF's median is 0.917 and it beats the human score on 12 of the 26 games. Atari 100k uses 26 of the 55 games in its evaluation suite and no sticky actions; reassuringly, sticky actions did not significantly harm its performance across all 55 games, and its design choices helped on 29 games outside the benchmark, though the held-out games were much harder. Its authors propose moving the goalposts accordingly.

Check your understanding

After each reset, BBF starts with a long update horizon, n=10n=10, and shrinks it toward n=3n=3. Why?

  1. Long horizons are cheaper to compute
  2. Larger nn propagates reward faster but has a worse asymptotic error, so a freshly reset network starts with fast propagation and then switches to the better asymptote
  3. It keeps the replay ratio constant
  4. Small nn is needed only to make the targets on-policy
Show the answer

B. Larger nn propagates reward faster but has a worse asymptotic error, so a freshly reset network starts with fast propagation and then switches to the better asymptote

BBF's authors motivate the schedule with Kearns and Singh's (2000) analysis: larger nn converges faster to a higher asymptotic error, smaller nn more slowly to a better one, so a decreasing schedule gets both. A reset network has to relearn quickly, which is when long horizons pay. The discount follows the same schedule in the other direction, from 0.97 up to 0.997.

Making bigger value networks pay off

In supervised learning bigger networks reliably help; in value-based RL, adding parameters often hurt final performance. Three recent lines of work changed that, each by changing the network or the loss rather than the RL algorithm. Obando-Ceron et al. (2024) replaced the penultimate layer of DQN and Rainbow networks with a Soft mixture of experts, and performance then improved as the number of experts, and with it the parameter count, grew. Farebrother et al. (2024) replaced the squared-error regression onto the TD target yy with classification: spread yy into a histogram over fixed bins [bi,bi+1)[b_i,b_{i+1}) by integrating a Gaussian centered at yy, and train a softmax output with the cross-entropy loss.

pi(y) ∝ Φ(bi+1−yσ)−Φ(bi−yσ),L=−∑ipi(y)log⁡p^i(s,a),Q^(s,a)=∑ip^i(s,a) zip_i(y)\ \propto\ \Phi\Big(\frac{b_{i+1}-y}{\sigma}\Big)-\Phi\Big(\frac{b_i-y}{\sigma}\Big),\qquad\loss=-\sum_ip_i(y)\log\hat p_i(s,a),\qquad\hat Q(s,a)=\sum_i\hat p_i(s,a)\,z_i
HL-Gauss (a histogram loss of Imani & White, 2018), normalized over the bins. With σ\sigma at 0.75 bin widths the target's mass spreads over about six bins; ziz_i are the bin centers. Putting all the mass on the two bins around yy instead is the "two-hot" target used by MuZero, which is exactly C51's projection of a point mass (Distributional RL).

HL-Gauss beat squared-error regression across very different settings: single-task Atari with Soft mixtures of experts, multi-task Atari with large ResNets, robotic manipulation with Q-transformers, chess without search, and a Wordle-playing language agent. On 60 Atari games it also beat two-hot targets and even C51, although it models no return distribution, which suggests that much of C51's advantage may come from its cross-entropy loss rather than from the distribution (Distributional Bellman Operators returns to this debate). The authors trace the gains to robustness against noisy targets and nonstationarity, the two features that separate value learning from ordinary regression. Continuous control tells a similar story. SimBa (Lee et al., 2025) injects a "simplicity bias" with running normalization of observations, residual feedforward blocks and layer normalization, and with it scaling up parameters consistently improved the sample efficiency of off-policy, on-policy and unsupervised agents. BRO (Nauman et al., 2024) found that strong regularization, including layer normalization, which they found essential to unlocking scaling, lets much larger critics pay off, that scaling the critic beat raising the replay ratio for both performance and compute, and, with optimistic exploration, reported near-optimal policies on the hardest humanoid and dog tasks.

A thread runs through these results and the plasticity findings: categorical losses and normalization are exactly the interventions Lyle et al. found to preserve plasticity best. Whether one mechanism, smoother optimization under changing targets, explains all of them is not established.

Key takeaways

  • Deep RL networks lose plasticity: an agent primed on early data may never recover, the buffer of an agent crippled by the primacy bias still lets a fresh network learn quickly, and periodically resetting the last layers while keeping the buffer improved SPR, SAC and DrQ, more so at high replay ratios.
  • A ReLU unit inactive on all inputs gets no gradient; in a kernel model, bootstrapping multiplies the imbalance between directions by up to 1/(1−γai)1/(1-\gamma a_i), lowering effective rank. Yet no single statistic predicts plasticity loss in general; loss-landscape curvature is more closely tied to it.
  • Most fixes move the network partly back to a fresh initialization (resets, shrink-and-perturb, InFeR, ReDo, continual backpropagation), alongside normalization and weight decay; BBF combined them with a four times wider ResNet and a replay ratio of 8 to reach an IQM of 1.045 on Atari 100k, though its median is 0.917.
  • Bigger value networks pay off with the right loss and architecture: Soft mixtures of experts, HL-Gauss classification losses (which beat even C51 on Atari) and normalized residual designs (SimBa, BRO). No single explanation of why is established.

Check yourself

In the interactive lesson these are scored with your confidence, and what you miss comes back for review.

Question 1

Nikishin et al. ran SAC at 9 updates per environment step, and it performed poorly because of the primacy bias; a fresh agent initialized with that agent's replay buffer learned quickly. What does this show?

  1. The crippled agent collected too little data
  2. The buffer held enough information; the crippled agent's network could no longer turn it into a better policy
  3. Replay buffers should be emptied periodically
  4. SAC needs a higher replay ratio
Show the answer

B. The buffer held enough information; the crippled agent's network could no longer turn it into a better policy

The same data produce good learning in a fresh network, so the deficit is in the trained network's ability to learn, not in the data. That is why resets, which restore a fresh network's trainability while keeping the data, help. Nikishin et al. also report that emptying the buffer is highly detrimental.

Question 2

A ReLU unit's pre-activation is negative on every input in the replay buffer. What can gradient descent on that buffer do to it?

  1. Gradually push its pre-activation back above zero
  2. Shrink its outgoing weights to zero
  3. Increase its bias until it fires
  4. Nothing directly: its incoming weights, bias and outgoing weights all receive zero gradient; only changes in earlier layers or in the inputs could revive it
Show the answer

D. Nothing directly: its incoming weights, bias and outgoing weights all receive zero gradient; only changes in earlier layers or in the inputs could revive it

Every gradient path through the unit carries either the factor 1[uj>0]=0\mathbf 1[u_j>0]=0 or its activation hj=0h_j=0. This is why recycling methods such as ReDo reinitialize a dormant unit's incoming weights (and zero its outgoing ones) instead of waiting for gradient descent.

Question 3

What did Lyle et al.'s (2023) falsification experiments conclude about statistics such as feature rank, weight norm and the number of dormant units?

  1. For each statistic they could construct learning problems where it failed to predict plasticity loss; curvature of the loss landscape was more closely tied to it
  2. Feature rank fully explains plasticity loss
  3. Plasticity loss occurs only when many units are saturated
  4. None of the statistics ever correlates with plasticity loss
Show the answer

A. For each statistic they could construct learning problems where it failed to predict plasticity loss; curvature of the loss landscape was more closely tied to it

The statistics often correlate with plasticity loss in practice, but none is a reliable cause in general. Plasticity loss often occurred without saturated units, and interventions that smooth the landscape, such as layer normalization and categorical outputs, helped most.

Question 4

What does HL-Gauss change in how a value network is trained?

  1. It learns the full distribution of returns, like C51
  2. It clips TD errors to [−1,1][-1,1]
  3. It replaces squared-error regression onto the TD target with cross-entropy onto a Gaussian-smoothed histogram of that target, and reads the value off as the mean of the predicted categorical distribution
  4. It replaces the target network with a moving average of the weights
Show the answer

C. It replaces squared-error regression onto the TD target with cross-entropy onto a Gaussian-smoothed histogram of that target, and reads the value off as the mean of the predicted categorical distribution

The target is still one bootstrapped number per transition; only its encoding and the loss change. Farebrother et al. attribute the gains to robustness against noisy, moving targets, and the same change made larger networks, mixtures of experts and transformers pay off.

Further reading

  • E. Nikishin, M. Schwarzer, P. D'Oro, P.-L. Bacon & A. Courville, "The primacy bias in deep reinforcement learning", ICML (2022).
  • C. Lyle, M. Rowland & W. Dabney, "Understanding and preventing capacity loss in reinforcement learning", ICLR (2022).
  • G. Sokar, R. Agarwal, P. S. Castro & U. Evci, "The dormant neuron phenomenon in deep reinforcement learning", ICML (2023).
  • M. Schwarzer, J. Obando-Ceron, A. Courville, M. G. Bellemare, R. Agarwal & P. S. Castro, "Bigger, better, faster: Human-level Atari with human-level efficiency", ICML (2023).
  • J. Farebrother et al., "Stop regressing: Training value functions via classification for scalable deep RL", ICML (2024).