acceptodds
Published as a conference paper at NeurIPS 2026

Bug or Feature: Weight Drift, Activation Sparsity, and Spikes

Egor Shvetsov, Aleksandr Serkov, Shokorov Viacheslav, Redko Dmitry, Vladislav Goloshchapov, Evgeny Burnaev

Abstract

The design of modern neural architectures has converged through incremental empirical choices, yet the mechanisms governing their training dynamics remain only partially understood. We identify and analyze a negative weight drift induced by the interaction between standard losses and positively biased activation functions. We prove that under MSE or cross-entropy loss, the gradient with respect to positive pre-activations is non-negative in expectation at initialization, driving downstream weights toward negative values during early training. The drift is intrinsic to optimization rather than data, and persists across architectures (MLP, ResNet, ViT, GPT-nano, MP-SENe) and asymmetric activation functions (ReLU, GELU, SiLU). Coupled with ReLU, weight drift produces activation sparsity reaching up to 90% in GPT-nano. We characterize the sparsity–accuracy tradeoff across 79 configurations and identify a sharp accuracy cliff above 70% activation sparsity. While ReLU achieves a good sparsity–accuracy tradeoff, it pathologically amplifies identified activation spikes in intermediate transformer layers. Clipping resolves this while preserving the representational benefits of squaring: clipped ReLU outperforms its unclipped version, and GELU achieves the lowest validation loss on GPT-nano.

Keywords:
Paris

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_5K9sOpenReview ↗
Rating
5
Clarity
4
Confidence
4
Originality
3
Quality
4
Significance
3
Read review
Summary

This paper centers around the observation that in many modern models, post-activation sparsity is surprisingly high, and that this is a highly activation-dependent trait. The authors propose a mechanistic explanation, and analyze many models trained with a variety of activation functions and normalization strategy to explicitly control sparsity and its effects. They attempt to understand whether this lever for sparsity can enhance performance, of if sparsity is just a feature of modern models and in some sense require it. They find that with this understanding they are able to chose the right activation and use clever clipping to achieve better generalization

Strengths and weaknesses

This is a clean paper, it does good science and reports on the science very well. It puts forward a single hypothesis, provides theoretical motivations for it, then empirically measures whether the hypothesis is true in practice, and then proposes methods analysis and investigates remediation strategies. The empirical analysis is thorough, specific, and insightful.

I think where the paper falls a bit short is that in the end the analyzed effect is arguably marginal. Is it because as a field we've evolved towards architectures which are fine with sparsity? Or perhaps sparsity provides a more fundamental leverage to deep models? For this specific work, I think it would be interesting to study the cases where addressing pre-activation sparsity causes the most dramatic changes, which may reveal deeper phenomena at play.

Questions
  • I'm a bit doubtful of the value of Figure 3, I get the point and I think per-model the argument is valid, I'm less sure that this is a robust inter-model and inter-problem claim. Could the authors think of a different way of representing this?
  • I guess the lack of strong impact on transformer-based architectures is eyebrow raising, but there are indeed many mechanisms at play in these model that make them differ substantially from the "easy" ReLU-MLP case. Nonetheless I think this would be worthy of more speculation and/or analysis.
  • Why is validation loss being reported on? This is a bit strange, the standard statistics pipeline is, tune parameters with train set, tune hyperparameters with validation set, report test set metrics.
Limitations

Adequate

Paper formatting concerns

None

Final justification

The authors have answered my questions and my assessment remains that this is a solid paper.

Reviewer_dpwDOpenReview ↗
Rating
4
Clarity
2
Confidence
2
Originality
2
Quality
3
Significance
3
Read review
Summary

This work presents an analysis of a negative drift in weights in neural networks employing relu activation function and similar (gelu, silu). The first part of the paper is theoretical, with a proof of a drift happening at initialization in MLP’s trained with relu, with the drift being independent from data which is shown by training on random input-target pairs. The result is further empirically validated on ViT, MP-SENet, and ResNet. As this drift might cause sparsity, the authors turn to investigating the sparsity, formulating the sparsity-accuracy trade-off which is investigated by measuring the impact on the performance if sparsification is applied across multiple architectures. Finally, the “pathological spikes” with squared activations functions are shown in GPT- and ViT-like models. A mechanism of removing the spikes (clipping) is postulated and shown (experimentally) to improve loss on a 12-layer ~124M model trained on ~235M tokens.

Strengths and weaknesses

Strengths:

  1. The paper has solid theoretical grounding for the case of MLP’s.
  2. The experiments span multiple setups and modalities.

Weaknesses:

  1. The paper consists of two, somewhat disconnected parts: the investigation of the negative drift and the investigation of the impact of sparsity on the performance. It is not clear to me how the two are related unfortunately.
  2. It is not clear how the theoretical considerations on MLPs transfer to nets where skip connections are widely employed.
  3. The “spikiness” definition in Figure 4. is rather flawed - for sparse activation ff where the min(x) is almost always 0 (like e.g. relu), 100∗f(x)100*f(x) would seem more spiky while essentially still being the same activation function (one could e.g. divide the down projection by 100 and get the same functionality).
  4. (minor) small experimental scale (in case of language modeling).
  5. (very minor) Figure 1. is small and raster, making it somewhat hard to read (especially the upper row)
  6. (very minor) Figure 12. title contains a typo.
  7. (very minor) Inconsistent AmE / BrE usage.
Questions
  1. Is it possible to propose an activation function that would not yield negative drift? Should one expect better performance from networks trained with such activation?
  2. Are the results in table 3 based on a single run? Is it possible that the improvements of gelu2/clipped relu2’s over relu2 are only due to the seed?
  3. Can the authors somehow strengthen the case for the “spikes” (i.e. if I understand correctly - large values of the relu2) being pathological? It seems that gelu2 could also be considered “spiky” - would it also benefit from clipping in the nano-gpt setting?
  4. Can the authors present experimental evidence that the theoretically analyzed drift is the cause of sparsity in case of the nano-gpt? E.g. in the figure 1., the first layer does not experience the negative drift and a Transformer model consists solely of 1-layer
Limitations

Yes

Paper formatting concerns

N/A

Final justification

I think the other reviewers' opinions are more relevant than mine, seeing their higher confidence, and I'm somewhat convinced to increase my score given their reviews. The authors have replied to most of the concerns I've raised in a satisfactory manner. I believe the clarity of the paper and the flow of the arguments is still something to improve. In my opinion, a clear outline of how different sections of the paper relate to each other (e.g. in the introduction) would be a substantial improvement for the reader.

1 comment

We thank the reviewer for the detailed and insightful questions and comments. Below we address each weakness and question in turn.


W1. The paper consists of two, somewhat disconnected parts: the investigation of the negative drift and the investigation of the impact of sparsity on the performance. It is not clear to me how the two are related unfortunately.

The connections is actually the same as the reviewers question 1: what happens if we use activation functions which do not cause negative drift. The main reason why performance my drop is not because we have highly negative weights but because many negative outputs become zero -> high sparsity. Therefore, what would happen if sparsity is not big, would it improve performance if yes we can consider looking into activation functions which do not cause drift if nothing changes the questions stays open.

Provided causal chain: (1) Weight drift directly causes negative activations (before non linearity) before the non-linearity, and consequently low values or zeros after the non-linearity. (2) Low-magnitude or zeroed values can hurt model performance, so we developed a controlled experiment with quantile shifts to test whether weight drift, and consequently sparse activations, cause model degradation. In other words we want to answer whether this weight drift is bad for performance or not. Experiments demonstrated that shifting activations preceding non-linearity towards positive range does not improve performance. On average, models start to degrade when sparsity goes beyond 70%. So, we do not have a confirmation that non drifting activation functions would help.


W2. It is not clear how the theoretical considerations on MLPs transfer to nets where skip connections are widely employed.

Theoretically: Theorem 1.1 does not use the fact that the layers after l form a single chain. It needs only that the map from σ(p(l))σ(p^(l)) to the output is built from zero-mean weights and ReLU gates and ends in the readout. A skip connection adds parallel routes without changing either property, so E[vi]=0E[v_i] = 0 and E[⟨vi,vj⟩]≥0E[⟨v_i, v_j⟩] ≥ 0 carry over unchanged. The part of the output that bypasses layer l does not depend on p(l)p^(l), and simply shifts the effective target from yy to y−ry − r. It is not independent of viv_i, since both pass through the readout, but the resulting inner product has the same form as the cross-correlation the theorem already bounds. We will state this in the appendix.

Empirically: Skip connections do not change the argument's structure, and we verify this empirically. Figure 9 compares an MLP with and without a skip connection under five activation functions, the drift trajectory is qualitatively unchanged. ResNet-18 (Figure 6) and MaxViT (Figure 7) are skip-connection architectures and both exhibit the predicted positive gradient bias and accumulating negative drift, and MLP+SKIP appears throughout Tables 4–5. However, skip connections change the magnitude, in Figure 9, adding a skip reduces ReLU sparsity from ~0.6 to ~0.4 while increasing gradient magnitudes, and Table 5 shows skips substantially improve tolerance to imposed sparsity. We will add this discussion to the paper.


W3. The “spikiness” definition in Figure 4. is rather flawed - for sparse activation where the min(x) is almost always 0 (like e.g. relu), would seem more spiky while essentially still being the same activation function (one could e.g. divide the down projection by 100 and get the same functionality).

Under spike we mean a massive value in activations which is different to all others in magnitude. We think Table 7 provides required details to remove concerns. The rescaling argument would require the large down-projection inputs to be compensated by either large down-projection weights or small up-projection weights. Table 7 shows this is not the cass, down-projection weights in the spike layers (max W = 2.299) are not larger than elsewhere in the network (max W = 2.858 overall), and up-projection inputs are symmetric and moderate (±7). The asymmetry appears specifically between the up-projection output and the down-projection input precisely where the activation function acts. This actually explains that the reason spikes originate is because one or a few specific tokens have a similar direction to some rows of up-projection. We further discuss the origin of spikes with reviewer uahR and will emphasize details on this mechanism in the final version.


W4 (minor) small experimental scale (in case of language modeling).: We agree, and we treat this as a genuine limitation rather than something we can address in rebuttal.


W5 - W7. Thank you for these details, we will absolutely fix all of it.


Q1: Is it possible to propose an activation function that would not yield negative drift? Should one expect better performance from networks trained with such activation? For example, Sigmiod and Tanh are symmetric and would not cause a negative drift but they work much worse empirically. However, we would not expect a drift-free activation to perform better, that is exact reason for our sparsity analysis. We believe that the main related cause of performance decreases is high sparsity ratio, negatively shifted weights do not hurt performance on its own. In our experiments Percentile Centering lets us shift pre-activations back into the positive range and we did not capture any performance improvement.


Q2. Are the Table 3 results single runs? Could the gains be seed noise? Table 3 reports single runs, and we agree that the differences within the squared activations is small relative to possible seed variance.

However, Figure 11a reports all 23 GPT-nano configurations we trained. The four squared and clipped-squared variants occupy the top four positions GELU² 3.2330, ReLU²_clip50 3.2360, ReLU²_clip15 3.2420, ReLU² 3.2507 ahead of all 19 non-squared configurations, the best of which is GELU at 3.2600. The gap between the squared functions and everything else is much larger than performance for remaining 19 configurations. We consider this as strong evidence for the squared activations as a whole. Additionally we will run experiments for squared functions and add results for the final camera ready version.


Q3. Can the case for spikes being pathological be strengthened? Would GELU² benefit from clipping?

Yes, for example, on MaxViT it helps. ReLU²_clip50 reaches 69.25% against 62.38% for unclipped ReLU², and GELU²_clip50 reaches 69.63% against 60.65% for unclipped GELU² (Table 8).


Q4. Is there experimental evidence that the analyzed drift causes sparsity in GPT-nano? Layer 1 shows no drift, and a transformer MLP block is a single layer.*

The layer-1 exception is a prediction of the mechanism, not a counterexample to it. The expected update to W(l)ikW^(l)_{ik} factorizes as E[(∂ℓ/∂pi(l))⋅xk(l−1)]E[(∂ℓ/∂p_i^(l)) · x_k^(l−1)] (Remark C.2). The first factor is non-negative in expectation by Theorems 1.2 and 1.3, so the sign of the expected update is determined by the sign of the layer input. For the first layer the input is the data, which is often mean-centered, so the product has no consistent sign and no drift accumulates. For every subsequent layer the input is a post-activation and hence non-negative (ReLU) or positively biased (GELU, SiLU), the expected update is non-positive, and drift accumulates. For transformers the block is a single hidden layer, but its down-projection receives a post-activation input and so satisfies exactly the condition above, and the block is repeated at each of the 12 layers.

Moreover our supplementary materials contain per layer statistics for all 23 runs with measured weight means and sparsity.


We hope these clarifications address the reviewer's concerns. If the responses resolve the issues raised, we would appreciate the reviewer reconsidering their assessment.

Reviewer_uahROpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
4
Read review
Summary

This paper investigates the training dynamics of neural networks, identifying a "negative weight drift" caused by the interaction between standard loss functions (MSE, CE) and positively biased activation functions (like ReLU, GELU, SiLU). The authors theoretically prove that gradients for positive pre-activations are non-negative in expectation at initialization, driving weights toward negative values during early training. By replicating this phenomenon on purely random data, the authors demonstrate that this drift is an optimization feature rather than a data-dependent artifact. This drift naturally induces high activation sparsity (up to 90% depending on the model type). The paper characterizes a sparsity-accuracy tradeoff, revealing a sharp "accuracy cliff" at approximately 70% sparsity. Additionally, it investigates pathological activation spikes in intermediate layers, which are amplified by squared activations like ReLU2{ReLU}^2, and proposes clipping and "ReLUfication" as practical, compute-efficient solutions.

Strengths and weaknesses

Strengths

  • Timeliness and Relevance: As modern architectures (e.g., LLaMA, Mistral) increasingly replace mean-centering normalization (LayerNorm, BatchNorm) with RMSNorm, models become structurally exposed to weight drift. Analyzing this sparsification phenomenon in the absence of mean-centering is highly relevant to current LLM design trends.
  • Rigorous Empirical Isolation: Demonstrating that the weight drift occurs even on purely random N(0,I)\mathcal{N}(0, I) data effectively proves that this is a fundamental byproduct of the optimization process (loss and activation interaction) rather than a mere feature of the data distribution
  • Actionable Insights: The empirical validations yield highly practical techniques, notably "ReLUfication" (fine-tuning a GELU model with ReLU for 1 epoch to recover sparsity with only a slight performance loss) and activation clipping (e.g., ReLUclip502ReLU^2_{clip50}), which offer immediate utility for efficient inference.

Weaknesses

  • Limited Applicability to Centered Networks" The findings are naturally constrained when applied to older architectures utilizing mean-centering normalization like BatchNorm, as these operations actively suppress the weight drift.
  • Disjointed Narrative Flow: The paper transitions somewhat abruptly through multiple complex topics: weight drift, controllable sparsity, the accuracy cliff, and suddenly into GPT-nano activation spikes. The flow could be improved by connecting the spike amplification more smoothly to the prior discussions on sparsity and weight distribution.
  • Mechanistic Explanation of Spikes: While the paper convincingly shows that spikes originate in the up-projection layer and rules out weight variance explosion (via weight standard deviation analysis), it falls short of providing a deep explanation for why these specific neurons learn to output such massive pre-activation outliers. It only proves that squared activations pathologically amplify an already existing anomaly.
  • Scale and Theoretical Limitations: The theoretical proofs are constrained to the "0-step" (initialization phase) under strict i.i.d., zero-mean assumptions. Furthermore, the empirical evidence for language models is limited to a 124M parameter GPT-nano model. It remains an open question whether the findings scale to multi-billion parameter models.
Questions
  1. The accuracy cliff is observed around 70% sparsity for small-scale models. How do you hypothesize this threshold will shift as model capacity scales to 7B parameters or larger? Would the extreme overparameterization push the sparsity tolerance even higher?
  2. While Section 2.4 identifies that spikes originate in the up-projection, could you provide any further investigation into what semantic or geometric features these specific neurons might be capturing to produce such outliers?
  3. Have you considered modeling the weight drift beyond the 0-step to relax the strict i.i.d initialization constraint?
  4. Since the MaxViT experiments also showed similar spikes, is it safe to assume that this pathological spike tendency is a universal property of the transformer block's MLP structure, rather than being tied to specific modalities (like text)?
Limitations

yes

Paper formatting concerns

N/A

Final justification

I would like to commend the authors for a strong rebuttal. The additional multi-model profiling resolved my main concern on the scope of the spike phenomenon, and I am maintaining my score of 4 (Borderline Accept), and I lean positively toward acceptance. The empirical findings and actionable insights are solid and beneficial to the community.

1 comment

We thank the reviewer for the detailed and insightful questions and comments. Below we address each weakness and question in turn.



W1 - Limited Applicability to Centered Networks: It is true that weight drift is prevented by Normalization but a class of models without centering is not that small either, most of recent LLMs for instance. Moreover, while activation sparsity was mainly exploited [1,2] and attributed to transformer architectures we demonstrate that it goes beyond transformers.

[1] Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Time

[2] ProSparse: Introducing and Enhancing Intrinsic Activation Sparsity within Large Language Models


W2: Disjointed Narrative Flow: Thank you for this comment! We will clarify this connection explicitly in the text. One of the reasons behind studying spikes was that the activation distribution and sparsity have practical importance for model compression via sparsification and quantization, where outliers hurt performance. And that distribution is shaped by (1) weight drift, (2) the choice of activation function and (3) normalization. Activation spikes arise from the interplay of these same three factors and characterize activation distribution. So, we wanted to add more practical value to the work above explaining and demonstrating directed weight drift.


Reply W2: Mechanistic Explanation of Spikes and Q2: Based on Figure 4 and the variance analysis, spikes arise from the alignment of some token directions with up-projection rows. Our current measurements cannot explain why this alignment concentrates on particular tokens and layers. In [3] the authors attribute SwiGLU spikes to directional quadratic amplification from the gate–up product, however, we show the phenomenon is not gate-specific, since it arises in a standard non-gated MLP. In [4] the authors argue that first or "special" tokens acquire a functional role limiting over-mixing of tokens, which would explain the early-layer concentration. Our related work already includes [3], and we will extend it to cover other possible explanations. On the practical side, our work demonstrates that regardless of its origin this mechanism can be damaging, for example when coupled with ReLU^2.

[3] Anatomy of Massive Activations and Attention Sinks

[4] Why do LLMs attend to the first token?


W4: Scale of Models: Presence of near zero or zero activations is registered in the literature [1,5,6,7,8] (we cite all of them in related work) with models such as Llama-2, Llama-3, Mistral 7B–70B and MiniCPM-1B and sparsity ranging from 50 to 90%. These papers however, do not explain how sparsity emerges but treat it as an observation and exploit it for computational efficiency. To close this gap we perform a set of experiments explaining how it emerges and what it depends on.

[5] ProSparse: Introducing and Enhancing Intrinsic Activation Sparsity within Large Language Models

[6] Training free activation sparsity in large language models

[7] Turbo Sparse: Achieving LLM SOTA Performance with Minimal Activated Parameters

[8] CATS: Contextually-Aware Thresholding for Sparsity in Large Language Models


W4 Theoretical Limitations and Q3 (Have you considered modeling the weight drift beyond the 0-step to relax the strict i.i.d initialization constraint?):

We will add the following discussion to the Appendix.

Actually we can, the main insight is that gradient magnitude is reduced when the model predicts correctly but the main drift happens when the model does not predict correctly. The main assumptions hold strictly at initialization, the problem at t > 0 is that we do not have zero-mean weights and no independence. Assuming the covariance term stays orders of magnitude smaller (which we measure in Figure 1b), we can evaluate the drift as W_t = W_0 + Δ_t, an expansion valid while ‖Δ_t‖ ≪ σ(W_0), essentially the Z-score reported in Figure 2. The term at risk is then the label term, once downstream weights align with the labels it reduces positive gradients. Empirically, however, gradient magnitudes have decayed by the time this happens, which is consistent with the plateau we observe.

Moreover, gradients are largest early, when the loss is large, so weights are shifted in the first iterations by the time predictions align with the labels, gradient magnitudes have decayed and the weights can no longer change that much. The only scenario when it is avoidable would require the zero-mean initialization to already sit close to a good solution, which is not the case in practice.


Q1 Would the extreme overparameterization push the sparsity tolerance even higher?:

Empirically, LLMs at scale can be pushed to ~90% sparsity ([5] reports 89.3% on LLaMA2-7B, [7] ~90% on Mistral-7B), so our GPT-nano figures are consistent with the large-scale models. Interestingly, Mixture-of-Experts can also be read as structured activation sparsity, and the numbers coincide again e.g. Mixtral activates 2 of 8 experts per layer, i.e. 75% sparsity, and recent MoEs route more aggressively still. So, there is no progression with size since our results on smaller models are quite similar.

We expect the cliff position to depend rather on the task (objective), architecture (e.g. skip connections or no skip connections) and on the amount of training data as much as on capacity. For example, it is difficult to imagine that high sparsity can be tolerated in diffusion based image generation models.


Q4 Since the MaxViT experiments also showed similar spikes, is it safe to assume that this pathological spike tendency is a universal property of the transformer block's MLP: Actually, as it stated in the paper "we assume spikes exist" in MaxViT since we observe the same pattern when clipped relu^2 outperforms non clipped version. To avoid speculation we are profiling the model right now and will update results here (as soon as we get it) and in the final version of paper.


We hope these clarifications address the reviewer's concerns. If the responses resolve the issues raised, we would appreciate the reviewer reconsidering their assessment.

Comments on the paper

1 comment
Meta-review
  • Summary: this paper formalizes and studies the negative weight drift induced by the interaction between the standard losses such as MSE or cross-entropy loss and positively biased activations such as ReLU, GELU, and SiLU. It provides an initialization-time theoretical analysis, demonstrates that the effect also occurs with random data, and empirically relates the drift to activation sparsity across several architectures and modalities. The paper further characterizes a sparsity–accuracy trade-off and investigates activation spikes under squared activations, proposing clipping and ReLUfication as practical mitigation strategies.

  • Main strengths:

    • The paper studies a timely and practically relevant phenomenon, particularly for modern architectures using RMSNorm and positively biased activation functions.
    • It provides a theoretically motivated explanation of negative weight drift and supports it with experiments on random data, helping isolate the effect from the data distribution.
    • The experiments cover multiple architectures and modalities, including vision, speech, and language models.
  • Main weaknesses and missing elements:

    • Limited theoretical scope: the analysis is restricted to initialization and simplified MLP assumptions, and it remains unclear how the conclusions extend to residual, normalized, and more realistic network architectures.
    • Insufficient connection among the main findings: the causal links among negative weight drift, activation sparsity, the sparsity–accuracy trade-off, and activation spikes are not yet sufficiently established, making the paper appear somewhat fragmented.
    • Limited empirical validation and applicability: the language-model experiments are small-scale, some key results lack multi-seed validation, the spike metric and its pathological interpretation require stronger justification, and the findings may not generalize to networks with mean-centering normalization.
  • Weaknesses that could change the assessment: This AC agrees that the weaknesses identified above should be carefully addressed, as sufficiently resolving them could materially improve the paper.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.