WorksComputer Science
Rethinking Activation Functions: Reducing Bias Can Improve Learning
Abstract
Many widely used activation functions, including ReLU, GELU, Swish, and Sigmoid, produce predominantly positive outputs, resulting in a nonzero post-activation mean that we term activation bias. Despite its ubiquity, the effect of activation bias on learning dynamics remains poorly understood. Using controlled models, we show that activation bias accelerates initial loss reduction but is accompanied by overshooting, non-smooth trajectories, and a steeper loss landscape. This early advantage also coincides with the model's use of task-relevant information encoded in the activation bias component. In contrast, reducing activation bias slows initial learning but ultimately yields a lower final loss. Experiments on larger vision and language models exhibit a similar pattern: smaller activation bias is associated with better late-stage performance. Thus, this seemingly minor property can substantially redirect learning and warrants explicit consideration in future activation function design.

Figure 1. Overview of activation bias and its effects on learning. Blue denotes the unshifted activation, and red denotes the shifted activation. Reducing activation bias changes the post-activation distribution, model performance, hidden-state trajectory, and loss landscape.
Introduction
Many common activation functions, including ReLU, GELU, Swish, and Sigmoid, favor positive outputs while suppressing or excluding negative ones. These asymmetries typically yield a nonzero post-activation mean. For a pre-activation , we define the activation bias of an activation function as the mean of its post-activation:
These functions are widely used and perform well across diverse tasks. Their success, however, does not establish how the post-activation bias they induce affects learning dynamics.
Prior work connects activation design to trainability through signal propagation, dynamical isometry, critical initialization, and normalization [7, 6, 31 Lesser and] Chowdhury, 2026; Björck et al., [5]; Santurkar et al., [36]. These studies primarily address propagation stability or optimization conditioning, leaving open how activation bias affects learning over time and whether the bias built into common activations is optimal for learning. We therefore ask:
Q: How does activation bias shape learning dynamics?
(i) How does it alter training dynamics? (ii) Does the activation bias component carry useful information, and how does the model use that information during learning?
We first investigate the effect of activation bias on training dynamics in a controlled deep residual teacher–student model. For each activation function, we use a fixed post-activation shift to control the degree of activation bias. Both students learn from the same fixed teacher, with identical initial parameters, training data, and optimization settings; they differ only in whether the shift is applied.
Reducing activation bias slows initial loss reduction, but the shifted student eventually overtakes its unshifted counterpart and attains a lower final loss. Theory and experiments associate this reversal with smoother optimization dynamics, distinct parameter-update directions, and a flatter loss landscape, reflected in substantially smaller Hessian eigenvalues.
We then use a controlled image-reconstruction task to test whether the activation bias component carries information the model can exploit. Early in training, decoding this component alone recovers recognizable image content. Its output later departs from the full-representation reconstruction, suggesting that the model relies less on this information as training proceeds. This transient use reveals a non-smooth feature-learning trajectory and is largely suppressed when activation bias is reduced.
Finally, we test whether these findings persist in larger models and across a wider range of tasks. These models exhibit analogous non-smooth dynamics under the original activations, while reducing activation bias yields comparable or better late-stage performance. Thus, this seemingly small activation property can produce pronounced changes in learning across architectures and tasks.
Our contributions are the following:
We use a controlled model to investigate activation bias and reveal its effect: it accelerates early learning but impedes later progress.
We characterize how activation bias shapes optimization dynamics and how the model uses information carried by the activation bias component during learning.
We observe similar learning dynamics and improved late-stage performance with reduced activation bias across larger models and a wider range of tasks.
To our knowledge, this is the first study to examine how activation bias shapes learning dynamics throughout training. Our results show that a small change in activation bias can redirect optimization, yield smoother learning trajectories, and improve late-stage performance. This sensitivity calls for treating activation bias as an explicit property in activation-function design rather than an incidental by-product.
Analysis of Training Dynamics
Controlled Teacher–Student Setup
To isolate the effect of activation bias from other factors, we adopt a simple controlled model. We omit token embeddings, attention, and the output head to isolate the activation function’s role while retaining the pre-normalized MLP blocks and residual-stream architecture of modern large language models. For layers , the model evolves as
where denotes the residual-stream representation, and are the up- and down-projection matrices, respectively, LN denotes pre-normalization, and is the nonlinear activation function.
We control activation bias by subtracting the same fixed scalar from the activation output in every layer:
To avoid confounding activation bias with complex data structure that is difficult to isolate and characterize, we use a teacher–student framework. The teacher and both students share the architecture in Equation (2). A fixed teacher using the unshifted activation generates targets for sampled inputs . We refer to the student using as the unshifted student and the student using as the shifted student. For each activation, we estimate as its expected post-activation output at initialization. This shift keeps the post-activation mean near zero over an extended period of training, as detailed in Appendix § 8.
| Activation functions | ReLU | GELU | Swish | Sigmoid |
| 0.230 | 0.115 | 0.077 | 0.500 |
Table 1. Activation shifts used for each activation function.
Early Learning Advantage Coincides with Hidden-State Overshoot
We first compare the two students through their loss curves. As shown in the top panel of Figure 2, the unshifted student learns faster initially, but the shifted student eventually overtakes it and converges to a lower loss. This reversal is notable because the unshifted student uses exactly the same activation as the teacher yet is ultimately outperformed by the shifted student.

Figure 2. Activation bias accelerates early learning, but this advantage coincides with a pronounced hidden-state overshoot and reverses later in training. Top: The shifted model learns more slowly initially but ultimately reaches a lower loss across activation functions. Bottom: The unshifted model’s hidden state overshoots and follows a non-smooth trajectory.
Motivated by this loss reversal, we first track the residual-stream hidden state over training. We average its elements for each input and then average across inputs, yielding a scalar trajectory that tracks the hidden state’s evolution during training. In the bottom panel of Figure 2, the unshifted student’s hidden state overshoots around step 100, coinciding with its period of faster loss reduction. The shifted student’s hidden state instead evolves smoothly. These distinct hidden-state trajectories motivate examining whether the two students also follow different paths in parameter space.
Activation Bias Separates Parameter-Update Directions
To compare parameter trajectories, let be the common initialization and let and be the students’ initial gradients, where the subscripts u and s denote the unshifted and shifted students, respectively. We construct the initial-gradient plane with orthonormal basis
where follows the unshifted gradient and is the orthogonal component of the shifted gradient.
To better understand the early optimization geometry, we visualize each student’s loss landscape on the initial-gradient plane. At each coordinate , we reconstruct the parameters as and evaluate the corresponding student against the fixed teacher on the evaluation set. The resulting losses form a heat map of the projected landscape. Projecting training checkpoints onto the same plane overlays each student’s trajectory. As shown in the left and center panels of Figure 3, the two trajectories initially point in nearly orthogonal directions. The unshifted student initially follows the direction of strongest descent in its projected landscape and then turns sharply, revealing a distinctly non-smooth trajectory. The shifted student’s loss varies little on this plane, indicating that its early update develops largely outside these initial-gradient directions.

Figure 3. Activation bias redirects parameter updates, producing a distinct trajectory with a sharp, non-smooth turn. Left: the unshifted student on the initial-gradient plane. Center: the shifted student on the same plane. Right: the shifted student on the complementary plane. Colors closer to red indicate higher loss, while colors closer to blue indicate lower loss.
To visualize the shifted student’s parameter movement outside this plane, we remove the parts of its parameter displacement along and :
Here, is the component of the shifted student’s parameter displacement orthogonal to the initial-gradient plane. To obtain two orthogonal directions from the shifted student’s parameter displacements outside the initial-gradient plane, we apply Gram–Schmidt orthogonalization to these displacements and use the first two resulting basis vectors and as its axes. We then visualize the loss and trajectories on this plane as above. The right panel of Figure 3 reveals clear loss variation along the shifted student’s smooth trajectory without a comparable turn.
Together, these views show that activation bias induces qualitatively distinct parameter-update directions. The two students initially move in nearly orthogonal directions, and their subsequent updates remain largely separated: the unshifted trajectory turns within the initial-gradient plane, whereas the shifted trajectory develops primarily in complementary directions and evolves smoothly. Further theoretical analysis and experiments on update directions are provided in Appendix § 9.
Activation Bias Steepens the Loss Landscape
Although the projected landscapes suggest differences in curvature, each shows only a two-dimensional slice. We therefore quantify local curvature in the full parameter space using the leading eigenvalues of the Hessian , whose largest eigenvalue is commonly termed sharpness. Figure 4 shows that the shifted student has substantially smaller eigenvalues throughout training. Thus, in this controlled model, activation bias is associated with a markedly steeper local loss landscape, whereas reducing the bias yields a flatter one.

Figure 4. Reducing activation bias substantially lowers Hessian eigenvalues throughout training, yielding a flatter local loss landscape.
To examine how activation bias affects loss landscape curvature, we consider a simplified case with a post-activation vector and a trainable down-projection with squared loss
Suppose , and let . The Hessian with respect to then satisfies
where is the identity matrix and denotes the Kronecker product. Since is positive semidefinite, the largest eigenvalue satisfies . Thus, minimizes Hessian sharpness in this setting. A full proof and an extension to a more general multi-layer model are provided in Appendix § 9.
Taken together, these measurements show that activation bias gives the unshifted student a clear early learning advantage, but this advantage coincides with an overshooting hidden-state trajectory and a markedly steeper loss landscape. Reducing the bias slows initial learning, changes the parameter-update directions, and produces smoother dynamics with stronger long-term performance. Additional ablations are provided in Appendix § 10.
Analysis of Activation Bias Component Information
Section 2 shows that activation bias yields a transient early advantage yet worse long-run optimization. We next ask whether the associated activation bias component carries task-relevant information that the model uses.
Image Reconstruction Setup
Image reconstruction makes information carried by the activation bias component directly observable in decoded images. We therefore choose this task and use a simplified VGG-style autoencoder,
where is an input image, is its latent representation, and is the reconstructed image. We use part of the VGG-19 architecture (Simonyan and Zisserman, [39]) as the encoder, followed by a convolutional decoder. The latent representation is the encoder’s final post-activation output, with 512 channels at each spatial location. The detailed architecture is provided in Appendix § 11. We compare otherwise identical models using the unshifted and shifted activations. Consistent with the controlled teacher–student model in § 2, the unshifted model learns faster initially, but the shifted model slightly surpasses it later in training, as shown in Appendix § 11.
Throughout training, both decoders receive the full representation . For post-hoc analysis at selected checkpoints, let denote the hidden state at spatial location , where is the number of channels. For every location , we decompose it as
Visualization and Analysis of Activation-Bias-Component Information
For each selected checkpoint, we pass the two components separately through the decoder. Figure 5 shows the resulting component-wise reconstructions. For the unshifted model, reconstruction from alone yields a recognizable, though incomplete, image that retains coarse structure, color, and texture, implying that the model uses some information encoded in the activation bias component. By contrast, the corresponding reconstruction for the shifted model contains little recoverable structure, suggesting that this model makes less use of the component.

Figure 5. The unshifted model recovers recognizable image content from the activation bias component early in training but relies less on it later; the shifted model recovers little content from this component.
The role of the unshifted model’s activation bias component evolves non-monotonically. Its isolated reconstruction becomes increasingly similar to the full reconstruction, reaching its closest agreement early in training. It subsequently diverges from the full reconstruction. This rise-and-fall pattern mirrors the early learning advantage and hidden-state overshoot in § 2.2.
Together, these visualizations show that activation bias can change how the model uses image information during training. The unshifted model’s transient use of the activation bias component provides a feature-learning counterpart to its early learning advantage, whereas the shifted model makes little use of this component.
Scale-Up Experiments
We next examine whether our findings extend to larger, more complex architectures and diverse tasks. We consider supervised image classification, diffusion-based image generation, and language modeling. Unlike in the controlled model, subtracting the same fixed scalar in every layer is insufficient because activation bias differs across layers and evolves rapidly during training. We therefore use adaptive shifting as the bias-reduced condition. This layerwise intervention subtracts the current post-activation mean from every neuron in each layer:
where is the pre-activation vector in layer , is the number of neurons, and indexes neurons. The shifted output has zero mean across neurons by construction.
Vision Transformer Image Classification
We first consider Vision Transformers for supervised image classification. Following the ImageNet-1K training protocol of Zhu et al. [42], we train ViT-Base (Dosovitskiy et al. [8]) for 300 epochs. We hold all other training choices fixed across conditions, varying only whether adaptive shifting is applied. Representative ViT-Base results are shown in Figure 6. The model with adaptive shifting initially trails the unshifted baseline by a substantial margin, but the ordering reverses during training: by the end, it attains both lower test loss and higher top-1 classification accuracy, despite retaining a higher training loss. This result is consistent with our controlled-model observation that reduced activation bias is associated with lower Hessian sharpness and a flatter local landscape, which is often linked to better generalization and less overfitting.

Figure 6. For the ViT image-classification task, the shifted model retains a higher training loss but ultimately achieves lower test loss and higher test accuracy. The loss residuals are , and the accuracy residual is .
Figure 7a tracks the residual-stream hidden-state trajectory using the statistic defined in § 2.2. The unshifted model exhibits a pronounced early overshoot during the period in which it holds a substantial performance advantage. Under this larger architecture and more complex task, both trajectories are noisy, but the adaptively shifted model exhibits a substantially smaller overshoot. This contrast echoes the pattern observed in the controlled model. Further examples of overshoot trajectories in scale-up language models are provided in Appendix § 12.§ 2. Together, these results show that reducing activation bias remains beneficial for image classification at larger scale.

Figure 7. (a) Reducing activation bias suppresses hidden-state overshoot in ViT. (b) and (c): The shifted model performs better in both DiT image generation and GPT-2 language pretraining. The loss residual is .
Diffusion Transformer Image Generation
We next consider image generation with Diffusion Transformers (DiTs) (Peebles and Xie, [29]). Following the official facebookresearch/DiT implementation, we train DiT-B/2 on ImageNet-256 for 400,000 optimization steps. We hold all other training choices fixed and vary only whether adaptive shifting is applied. As shown in Figure 7b, adaptive shifting achieves comparable or lower training loss throughout training. Additional results in Appendix § 12 show that the shifted model achieves lower FID at every evaluated checkpoint. These results demonstrate that reducing activation bias can also benefit larger-scale image generation.
GPT-2 Pretraining
We then move from vision to language modeling. Following Karpathy [17]’s training setup, we train GPT-2 Small (Radford et al. [32]) from scratch on the full OpenWebText corpus (Gokaslan et al. [12]) for 300,000 optimization steps. As above, we hold all other training choices fixed and vary only whether adaptive shifting is applied. Figure 7(c) reports the results. Adaptive shifting consistently improves the performance, stably lowering loss by about 0.01 in absolute terms and perplexity by 1% relative to the unshifted baseline. These gains show that the effect of reducing activation bias extends to language modeling.
The larger-scale models and tasks considered here are widely adopted and have been extensively optimized, leaving relatively little headroom for improvement from a single change to the activation. Even so, adaptive shifting yields small but consistent gains. Together with the observed changes in learning dynamics, these gains indicate that activation bias has a non-negligible effect in practical models. Additional scale-up results are provided in Appendix § 12.
Discussions
The actual effect of activation bias may vary in different settings. The extent of early acceleration, hidden-state overshoot, and final performance differences may depend on data and task structure, model scale, architectural components such as attention, and weight initialization. For example, during GPT-2 Small pretraining, the unshifted model does not exhibit the initial performance advantage seen in the controlled model, potentially due to the small initialization scale used by this architecture. Nevertheless, across the settings studied here, smaller activation bias consistently yields better late-stage performance. How these factors interact with activation bias merits further investigation.
We use fixed or adaptive shifts to isolate a learning-dynamical consequence of activation bias. Although reducing the bias improves performance in our experiments, these results neither establish that zero post-activation bias is universally optimal nor guarantee that either intervention will benefit every architecture, task, or training regime. Performance can also depend on other desirable activation properties, including selectivity, signal scale, and smoothness. The methods used here to control activation bias therefore serve as diagnostic interventions instead of general prescriptions for activation design.
Our results identify a set of connected signatures of activation bias: an early–late learning pattern, hidden-state overshoot and non-smooth dynamics, distinct parameter-update directions, a steeper loss landscape, and transient use of information in the activation bias component. We do not yet have a unified mathematical theory or a complete causal account of how these effects arise. Moreover, our larger-model experiments do not systematically test whether all the phenomena and theoretical results from the controlled setting extend to more complex architectures. Addressing these gaps could provide more principled guidance for the design of new activation functions.
Activation functions have many properties beyond bias that we do not study here. Post-activation variance is one example: the variance most conducive to learning may depend on architecture, task, scale, and training regime, yet its effects on learning dynamics and final performance remain unclear. Future work could isolate variance and other properties of activation functions under controlled conditions, track their effects throughout training, and test whether the resulting patterns transfer across models and tasks. Such analyses would provide a broader foundation for activation-function design.
Related Work
Activation-function design spans nonlinearities with markedly different input–output profiles. Early work used sigmoid and tanh [20]; later proposals introduced Softplus [9], ReLU [26], GELU [15], and Swish [34]. Leaky ReLU [24], PReLU [14], and Mish [25] further broadened this design space. More recent work has explored gated activations such as SwiGLU [38], learnable activations such as ACON [23], and alternatives such as SMU [4] and StarReLU [40]. These activation functions have proved effective across tasks, yet many of them produce predominantly positive outputs and thus introduce activation bias. While prior work has focused on designing and evaluating the functions themselves, the effect of this bias on learning remains less understood. Our work complements these studies by isolating activation bias and examining how it shapes learning dynamics.
Previous work on activation functions and their statistics has primarily sought to improve trainability. To stabilize intermediate signals, normalization methods center or rescale them [16, 2, 1, 5]; mean-only batch normalization retains centering alone, whereas RMSNorm retains rescaling alone [35, 41]. Santurkar et al. [36] showed that batch normalization also smooths the loss landscape. To sustain signal and gradient flow through depth, mean-field and dynamical-isometry studies analyze activation choices [37, 30, 13, 21], and Qi et al. [31] designed a shifted ReLU to improve isometry. To counter shifts associated with nonzero activation outputs, Raiko et al. [33] centered neuron outputs and slopes to improve gradient conditioning, Eidnes and Nøkland [10] introduced bipolar activations to facilitate deep training, and Kutsuna [19] constrained weights to reduce shifts in downstream pre-activations. These studies alter normalization, activation shape, or weights, whereas we isolate activation bias as a single factor and investigate its effects on learning dynamics.
Some studies have examined nonzero activation bias. Glorot and Bengio [11] linked the positive mean of sigmoid activations to upper-layer saturation at initialization. Clevert et al. [7] showed that ELUs can reduce bias shift, accelerate learning, and improve classification accuracy; Klambauer et al. [18] designed SELUs to stabilize activation means and variances across depth; and Brock et al. [6] controlled the growth of positive channel means in unnormalized ResNets. These studies establish consequences of activation bias in restricted settings. We examine its effects throughout training and show that reducing it can improve model performance across different architectures and tasks.
Conclusion
We study how activation bias shapes training dynamics and the use of task-relevant information. In the controlled setting, activation bias confers an early learning advantage but is associated with hidden-state overshoot, non-smooth trajectories, a steeper loss landscape and worse late-stage performance. Our reconstruction analysis further shows that the learned model transiently uses information in the bias component. Across larger and more diverse settings, adaptive shifting retains a late-stage performance advantage. These results motivate a more complete causal account of activation bias and its explicit consideration in future activation-function design.
AI Use Statement
We used generative AI tools to brainstorm ideas, formulate candidate mathematical claims, draft code following explicit author instructions, and polish the writing. These tools were not used to create synthetic datasets, perform data analysis, or write mathematical proofs. The authors critically reviewed all AI-assisted ideas and text, independently inspected and verified generated code, and conducted the data analysis and proofs themselves. The authors take full responsibility for the final content of this paper.
Estimating for Different Activation Functions
This appendix examines fixed, layer-shared activation shifts in the controlled model. We first derive the shift that brings the post-activation mean near zero at initialization and show that the empirical means remain close to zero during training. We then sweep and measure the final loss. Across ReLU, GELU, Swish, Tanh, and sigmoid, the theory-predicted shifts achieve near-optimal final loss.
Theory-predicted activation means
For a pre-norm MLP block, let be its input and . Let be the th row of the up-projection linear layer. The pre-activation of neuron is
The weights are initialized independently of as
Using from LayerNorm gives
We approximate the pre-activations by
The shifted activation is
Thus,
ReLU. For ,
GELU. We use the exact GELU, , where and are the standard Gaussian cumulative distribution and density functions.
Swish. For ,
Tanh. Since tanh is odd,
Sigmoid. For , we have . Since and have the same distribution,
Figure 8 shows that the predicted shifts keep the post-activation means near zero during training.

Figure 8. The post-activation means of the shifted models remain near zero throughout training.
Final loss as a function of the activation shift
Using the same teacher–student training procedure, we sweep the shift for each activation over multiple random seeds. Within each seed, all compared shifts use the same teacher, student initialization, and sequence of training batches. Figure 9 plots final loss against . Across the tested activations, the theory-predicted shifts achieve near-optimal final loss.

Figure 9. Across all five activations, our theory’s predicted shifts achieve near-optimal final loss. Thin curves show individual seeds, and thick curves show their mean.
Theoretical analysis of optimization landscape
This appendix analyzes how activation bias affects loss landscape curvature and changes the direction of parameter updates early in training.
Activation mean and landscape sharpness
A single trainable down-projection
We start with the simplest setting, where is fixed and only a down-projection layer is trained. Define
For target , define
Proposition B.1 (Exact down-projection sharpness). The Hessian with respect to the vectorized matrix is
Here denotes the Kronecker product. Suppose
so all neurons have the same mean activation . Then globally minimizes over all scalar shifts.
Proof. For any perturbation ,
which gives equation (24). Let . Then
When neuron-wise activation means differ, write
Since and for every ,
Thus shifting by the average activation mean is within of the optimal scalar shift in largest-eigenvalue curvature. The gap is small whenever is small.
Jointly training the up- and down-projections
We then allow both the up-projection and the down-projection to be trained. At a fixed parameter state, let
and assume . Let . To first order,
Let be the output Jacobian with respect to . Under column-wise vectorization, equation 30 gives
For squared loss, the Gauss–Newton (GN) matrix is
where
Thus is independent of , while the mixed blocks can depend on . Using from Proposition B.1, define
Proposition B.2 (Full-GN bound and factor-two guarantee). For every shift ,
Let . Consequently,
Proof. Restricting a parameter direction to the or block gives the lower bound. For any perturbation satisfying , the triangle inequality and Cauchy–Schwarz give
which proves equation 37. Since minimizes ,
We test these bounds in the one-block model across ten seeds. At each training checkpoint, we hold and fixed, compute the average activation mean , and sweep to compare with the bounds in equation (37). The minimum over the tested shifts estimates . In Figure 10, the bounds closely track across shifts (left), while remains close to the empirical minimum throughout training (right).

Figure 10. Empirical evaluation of Proposition B.2. Left: The theoretical lower and upper bounds closely track the measured leading Gauss–Newton eigenvalue . Right: The value at the average-mean shift, , remains close to the empirical minimum, , throughout training.
Thus, removing the activation bias yields nearly optimal Gauss–Newton sharpness in this model, with a factor-two upper bound relative to the optimum.
From Gauss–Newton to the true Hessian
Let and . For squared loss,
For ReLU, consider a local parameter region in which the activation gates remain fixed for each input . Then
and along a joint direction ,
The diagonal blocks satisfy and . For a unit joint direction,
so
In particular,
Figure 11 shows that the largest eigenvalues of the Hessian and Gauss–Newton matrix at remain close for most of training.

Figure 11. After 100 updates, the largest eigenvalues of the exact Hessian and its Gauss–Newton approximation remain close at .
Multiple down-projections with fixed activations
We finally consider multiple trainable down-projections with fixed activations:
Define
Then
Thus, setting for every layer minimizes the joint sharpness.
Activation mean and parameter gradients
We next study the different update directions of unshifted and shifted models during the early stage of training. We analyze a simplified setting in which only a down-projection layer is trainable. Suppose
The unshifted model uses , while the shifted model uses
Both models start from and use gradient descent with learning rate . Let and denote their parameters before the th update, and define
Let
For the unshifted and shifted models,
Along , the eigenvalue of is times that of . The loss gradients satisfy
Let
where
The gradients used for the th update satisfy
where
Suppose
Then the angle between the gradients satisfies
Using the ReLU calculation in Appendix § 8,
Table 2 compares our one-layer theory prediction with full-model gradient angles measured during Adam training.
| Step | Theory angle | Full-model angle |
| 1 | ||
| 5 | ||
| 20 | ||
| 100 |
Table 2. Angles between the unshifted and shifted parameter gradients. The theoretical and measured angles are close early in training.
Both the one-layer calculation and the full-model measurements show that the gradients of unshifted and shifted models are nearly orthogonal at the beginning of training.
Ablation studies
This section tests whether the effect of activation bias is specific to the model configuration. We first examine a joint sweep over model size, then study how the optimal shifting changes with model size, and finally vary other configurations of the controlled model.
Joint sweep over dimension, width, and depth
We first compare shifted and unshifted ReLU models across a joint sweep of residual-stream dimension , MLP hidden width , and number of blocks . Figure 12 shows the results for and . The improvement from reducing activation bias is generally larger at greater depth and width.

Figure 12. Shifting tends to yield greater improvements as model width and depth increase. For ReLU, colors show the relative improvement , with red indicating improvement and blue indicating deterioration.
Seed-level optimal shifts across model sizes
We next compare three representative controlled ReLU models: a small model , a medium model , and a large model . We use 100 paired seeds for each model. For each seed, the empirically optimal shift is the value of with the lowest final loss. Figure 13 shows the distribution of these shifts across seeds for each model size. As model size increases, the optimal shifts concentrate near the theory-predicted value, suggesting that reducing post-activation bias becomes more consistently beneficial across seeds.

Figure 13. As model size increases, the empirically optimal shifts across seeds become more concentrated near the theory-predicted shift.
Robustness to architectural changes and cross-entropy loss
We finally test whether reducing activation bias remains effective under three changes to the controlled model. First, we replace pre-norm blocks with post-norm blocks, moving LayerNorm from the block input to the residual-sum output. This tests whether a fixed shift remains effective when the distributions entering the activations can vary more across blocks. Second, we enable trainable biases in the teacher’s and students’ linear projections to test whether learned affine offsets can compensate for activation bias. Third, we replace mean-squared error with soft-target cross-entropy to test a different training objective. All three variants use ReLU, with all other settings unchanged.
Figure 14 shows that the shifted model achieves lower loss than the unshifted model in all three variants. Thus, its advantage is not limited to pre-norm blocks, bias-free projections, or mean-squared error.

Figure 14. The shifted model retains its loss advantage in more general settings.
Residual-stream trajectories across all blocks
Figure 15 shows the complete hidden-state mean trajectories across all 20 blocks for the ReLU experiment in Figure 2. The unshifted model exhibits a pronounced transient overshoot across most of the blocks, whereas shifting the activation substantially reduces this overshoot.

Figure 15. Reducing activation bias suppresses hidden-state overshoot and yields smoother hidden-state mean trajectories.
Additional VGG-Style Autoencoder Experiments
This appendix provides the architecture and additional experimental results for the simplified VGG-style autoencoder introduced in § 3.1. Figure 16 shows the architecture.

Figure 16. Architecture of the autoencoder. Numbers on arrows denote channel counts. The shifted model replaces each ReLU with .
We also track the reconstruction loss throughout training. Figure 17 shows that the shifted model initially has a higher loss than the unshifted model but achieves a lower loss later.

Figure 17. The shifted model initially has a higher reconstruction loss but achieves a lower loss later in training. The plotted residual is .
Figure 18 provides additional examples of the component-wise reconstructions analyzed in § 3.2. Across these images, the unshifted model’s activation bias component retains recognizable image structure, whereas the corresponding reconstructions from the shifted model contain little discernible content.

Figure 18. Across different images, reconstructions from the unshifted model’s activation bias component first approach and then diverge from the full reconstructions, whereas those from the shifted model contain little recognizable structure.
Additional Scale-Up Experiments
This appendix provides additional scale-up results on performance, hidden-state dynamics, and activation distributions.
Performance on Additional Scale-Up Models
We test whether the gains reported in § 4 extend across additional model sizes, tasks, and metrics. We evaluate ViT-L on ImageNet image classification, OLMo-2-1B (OLMo Team et al. [28]) on language pretraining, and HyenaDNA (Nguyen et al. [27]) on DNA base-sequence prediction. We also evaluate DiT-B/2 on image generation using FID. Figure 19 reports the results. With adaptive shifting, ViT-L achieves lower test loss and higher accuracy despite a higher training loss; DiT achieves lower FID at every evaluated checkpoint, while OLMo-2-1B and HyenaDNA achieve better performance. Thus, the benefit extends beyond the models and metrics highlighted in the main text.

Figure 19. The performance improvements from shifting extend to additional scale-up models and tasks. Residuals are computed as , where denotes loss, FID, or accuracy.
Further Examples of Hidden-State Overshoot
We examine whether the hidden-state overshoot observed in § 4.1 also appears in other models. We evaluate publicly released training checkpoints from Pythia-410M (Biderman et al. [3]), OLMo-2-1B (OLMo Team et al. [28]), and Amber-7B (Liu et al. [22]) on a fixed set of inputs and compute hidden-state means as in § 2.2. Figure 20 presents representative trajectories from these models. Across them, representative blocks exhibit transient overshoots that subsequently recede or reverse, although their timing and direction vary.

Figure 20. Hidden-state mean trajectories exhibit overshoot across different scale-up models.
Activation-Magnitude Distributions in OLMo-2-1B
Our analysis so far has focused on activation bias, but the mean alone cannot show how shifting affects the broader distribution of activation magnitudes. We therefore compare the absolute-value distributions of post-activations and residual-stream states. Figure 21 shows that, with shifting, the post-activation distributions change relatively little over training. In the unshifted model, they develop an increasingly pronounced concentration near zero in deeper blocks. The residual-stream distributions, however, remain broadly similar across the two models and more closely resemble the shifted model’s post-activation distributions. This contrast suggests that the unshifted model must map a more sharply concentrated post-activation distribution to a comparatively smooth residual-stream distribution. Such a larger distributional adjustment may make learning less direct, offering a possible explanation for the improved dynamics observed when activation bias is reduced.

Figure 21. In OLMo-2-1B, the shifted model maintains more stable post-activation magnitude distributions over training, with less accumulation of near-zero values. Moreover, its post-activation and residual-stream magnitude distributions closely resemble each other, whereas those of the unshifted model differ substantially.
References
- [1]Devansh Arpit, Yingbo Zhou, Bhargava Kota, and Venu Govindaraju. Normalization propagation: A parametric technique for removing internal covariate shift in deep networks. In Proceedings of the 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pages 1168–1176, 2016.arxiv.org/abs/1603.01431
- [2]Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E. Hinton. Layer normalization. In NIPS 2016 Deep Learning Symposium, 2016.arxiv.org/abs/1607.06450
- [3]Stella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley, Kyle O’Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, Usvsn Sai Prashanth, Edward Raff, Aviya Skowron, Lintang Sutawika, and Oskar Van Der Wal. Pythia: A suite for analyzing large language models across training and scaling. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 2397–2430, 2023.arxiv.org/abs/2304.01373
- [4]Koushik Biswas, Sandeep Kumar, Shilpak Banerjee, and Ashish Kumar Pandey. Smooth maximum unit: Smooth activation function for deep networks using smoothing maximum technique. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 794–803, 2022.DOI
- [5]Nils Björck, Carla P. Gomes, Bart Selman, and Kilian Q. Weinberger. Understanding batch normalization. In Advances in Neural Information Processing Systems, volume 31, 2018.arxiv.org/abs/1806.02375
- [6]Andrew Brock, Soham De, and Samuel L. Smith. Characterizing signal propagation to close the performance gap in unnormalized ResNets. In International Conference on Learning Representations, 2021.arxiv.org/abs/2101.08692
- [7]Djork-Arné Clevert, Thomas Unterthiner, and Sepp Hochreiter. Fast and accurate deep network learning by exponential linear units (ELUs). In International Conference on Learning Representations, 2016.
- [8]Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale. In International Conference on Learning Representations, 2021.
- [9]Charles Dugas, Yoshua Bengio, François Bélisle, Claude Nadeau, and René Garcia. Incorporating second-order functional knowledge for better option pricing. In Advances in Neural Information Processing Systems, volume 13, 2000.
- [10]Lars Hiller Eidnes and Arild Nøkland. Shifting mean activation towards zero with bipolar activation functions. In International Conference on Learning Representations Workshop, 2018.arxiv.org/abs/1709.04054
- [11]Xavier Glorot and Yoshua Bengio. Understanding the difficulty of training deep feedforward neural networks. In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, volume 9 of Proceedings of Machine Learning Research, pages 249–256, 2010.
- [12]Aaron Gokaslan, Vanya Cohen, Ellie Pavlick, and Stefanie Tellex. OpenWebText. Zenodo dataset, 2020. doi: 10.5281/zenodo.3834942.DOI
- [13]Soufiane Hayou, Arnaud Doucet, and Judith Rousseau. On the impact of the activation function on deep neural networks training. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 2672–2680, 2019.arxiv.org/abs/1902.06853
- [14]Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on ImageNet classification. In Proceedings of the IEEE International Conference on Computer Vision, pages 1026–1034, 2015.arxiv.org/abs/1502.01852
- [15]Dan Hendrycks and Kevin Gimpel. Gaussian error linear units (GELUs). arXiv preprint arXiv:1606.08415, 2016.
- [16]Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pages 448–456, 2015.
- [17]Andrej Karpathy. nanoGPT. GitHub repository, 2022. URL https://github.com/karpathy/nanoGPT.
- [18]Günter Klambauer, Thomas Unterthiner, Andreas Mayr, and Sepp Hochreiter. Self-normalizing neural networks. In Advances in Neural Information Processing Systems, volume 30, 2017.arxiv.org/abs/1706.02515
- [19]Takuro Kutsuna. Linearly constrained weights: Reducing activation shift for faster training of neural networks. In Machine Learning and Knowledge Discovery in Databases (ECML PKDD 2019), volume 11907 of Lecture Notes in Computer Science, pages 266–282. Springer, 2020. doi: 10.1007/978-3-030-46147-8_16.DOI
- [20]Yann LeCun, Léon Bottou, Genevieve B. Orr, and Klaus-Robert Müller. Efficient backprop. In Neural Networks: Tricks of the Trade, volume 1524 of Lecture Notes in Computer Science, pages 9–50. Springer, 1998. doi: 10.1007/3-540-49430-8_2.DOI
- [21]Omri Lesser and Debanjan Chowdhury. Competing nonlinearities, criticality, and order-to-chaos transition in deep networks. arXiv preprint arXiv:2605.05294, 2026.arxiv.org/abs/2605.05294
- [22]Zhengzhong Liu, Aurick Qiao, Willie Neiswanger, Hongyi Wang, Bowen Tan, Tianhua Tao, Junbo Li, Yuqi Wang, Suqi Sun, Omkar Pangarkar, Richard Fan, Yi Gu, Victor Miller, Yonghao Zhuang, Guowei He, Hoanan Li, Fajri Koto, Liping Tang, Nikhil Ranjan, Zhiqiang Shen, Roberto Iriondo, Cun Mu, Zhiting Hu, Mark Schulze, Preslav Nakov, Timothy Baldwin, and Eric P. Xing. LLM360: Towards fully transparent open-source LLMs. In First Conference on Language Modeling, 2024.arxiv.org/abs/2312.06550
- [23]Ningning Ma, Xiangyu Zhang, Ming Liu, and Jian Sun. Activate or not: Learning customized activation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8032–8042, 2021.arxiv.org/abs/2009.04759
- [24]Andrew L. Maas, Awni Y. Hannun, and Andrew Y. Ng. Rectifier nonlinearities improve neural network acoustic models. In ICML Workshop on Deep Learning for Audio, Speech and Language Processing, 2013.
- [25]Diganta Misra. Mish: A self regularized non-monotonic activation function. In Proceedings of the British Machine Vision Conference, 2020. doi: 10.5244/C.34.191.DOI
- [26]Vinod Nair and Geoffrey E. Hinton. Rectified linear units improve restricted boltzmann machines. In Proceedings of the 27th International Conference on Machine Learning, pages 807–814, 2010.
- [27]Eric Nguyen, Michael Poli, Marjan Faizi, Armin Thomas, Michael Wornow, Callum Birch-Sykes, Stefano Massaroli, Aman Patel, Clayton Rabideau, Yoshua Bengio, Stefano Ermon, Christopher Ré, and Stephen Baccus. HyenaDNA: Long-range genomic sequence modeling at single nucleotide resolution. In Advances in Neural Information Processing Systems, volume 36, 2023. doi: 10.52202/075280-1872.DOI
- [28]OLMo Team, Pete Walsh, Luca Soldaini, et al. 2 OLMo 2 furious (COLM’s version). In Second Conference on Language Modeling, 2025.
- [29]William Peebles and Saining Xie. Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 4195–4205, 2023.arxiv.org/abs/2212.09748
- [30]Jeffrey Pennington, Samuel S. Schoenholz, and Surya Ganguli. Resurrecting the sigmoid in deep learning through dynamical isometry: Theory and practice. In Advances in Neural Information Processing Systems, volume 30, 2017.arxiv.org/abs/1711.04735
- [31]Haozhi Qi, Chong You, Xiaolong Wang, Yi Ma, and Jitendra Malik. Deep isometric learning for visual recognition. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 7824–7835, 2020.arxiv.org/abs/2006.16992
- [32]Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. Technical report, OpenAI, 2019.
- [33]Tapani Raiko, Harri Valpola, and Yann LeCun. Deep learning made easier by linear transformations in perceptrons. In Proceedings of the Fifteenth International Conference on Artificial Intelligence and Statistics, volume 22 of Proceedings of Machine Learning Research, pages 924–932, 2012.
- [34]Prajit Ramachandran, Barret Zoph, and Quoc V. Le. Searching for activation functions. In International Conference on Learning Representations Workshop, 2018.arxiv.org/abs/1710.05941
- [35]Tim Salimans and Diederik P. Kingma. Weight normalization: A simple reparameterization to accelerate training of deep neural networks. In Advances in Neural Information Processing Systems, volume 29, 2016.arxiv.org/abs/1602.07868
- [36]Shibani Santurkar, Dimitris Tsipras, Andrew Ilyas, and Aleksander Madry. How does batch normalization help optimization? In Advances in Neural Information Processing Systems, volume 31, 2018.arxiv.org/abs/1805.11604
- [37]Samuel S. Schoenholz, Justin Gilmer, Surya Ganguli, and Jascha Sohl-Dickstein. Deep information propagation. In International Conference on Learning Representations, 2017.arxiv.org/abs/1611.01232
- [38]Noam Shazeer. GLU variants improve transformer. arXiv preprint arXiv:2002.05202, 2020.arxiv.org/abs/2002.05202
- [39]Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations, 2015.
- [40]Weihao Yu, Chenyang Si, Pan Zhou, Mi Luo, Yichen Zhou, Jiashi Feng, Shuicheng Yan, and Xinchao Wang. MetaFormer baselines for vision. IEEE Transactions on Pattern Analysis and Machine Intelligence, 46 (2):896–912, 2024. doi: 10.1109/TPAMI.2023.3329173.DOI
- [41]Biao Zhang and Rico Sennrich. Root mean square layer normalization. In Advances in Neural Information Processing Systems, volume 32, 2019.arxiv.org/abs/1910.07467
- [42]Jiachen Zhu, Xinlei Chen, Kaiming He, Yann LeCun, and Zhuang Liu. Transformers without normalization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 14901–14911, 2025.arxiv.org/abs/2503.10622