iRaven

Paper · Open models · Version v1

What Extra Euler Steps Reveal About Residual Networks: Feature Dynamics in Weight-Tied and Untied Stages

First published: arXiv, . Original

Copyright the authors. Licensed under Creative Commons Attribution 4.0 International.

This page holds the text of the paper, converted to HTML; figures may be left out.

Residual blocks compute x + f(x), the form of one explicit Euler step, but whether trained residual networks behave as integrators of an ordinary differential equation (ODE) is still debated. We probe trained networks at inference without retraining: each block is applied R times with step 1/R, which keeps the integration horizon and only refines the resolution. On ConvNeXt, Swin and ResNet, 128-fold refinement costs less than one ImageNet top-1 point, whereas changing the horizon drops accuracy to about 1% and interpolating the weights of consecutive blocks costs 8 to 23 points. A trained stage is therefore a sequence of one ODE per block, not a single ODE with weights that vary smoothly in depth. The refined path also shows how a stage transports its features. In ConvNeXt-T, the nine blocks of stage 3 write nearly orthogonal directions that no later block undoes, so the path turns sharply at every block boundary. When the nine blocks share one set of weights, the same stage becomes a single smooth flow: with 34% fewer parameters it loses 1.40 top-1 points (two runs per model under one recipe), and the frozen later layers of the same network already classify its state at 72.2% after three of the nine blocks, against 32.5% for the standard model. We focus on vision; the probe needs no retraining, and transformer language models, looped ones in particular, are the natural next test. Code: https://github.com/jaume2000/dynamics_skip_nn

Abstract

Residual blocks compute x+f(x), the form of one explicit Euler step, but whether trained residual networks behave as integrators of an ordinary differential equation (ODE) is still debated. We probe trained networks at inference without retraining: each block is applied R times with step 1/R, which keeps the integration horizon and only refines the resolution. On ConvNeXt, Swin and ResNet, 128-fold refinement costs less than one ImageNet top-1 point, whereas changing the horizon drops accuracy to about 1% and interpolating the weights of consecutive blocks costs 8 to 23 points. A trained stage is therefore a sequence of one ODE per block, not a single ODE with weights that vary smoothly in depth. The refined path also shows how a stage transports its features. In ConvNeXt-T, the nine blocks of stage 3 write nearly orthogonal directions that no later block undoes, so the path turns sharply at every block boundary. When the nine blocks share one set of weights, the same stage becomes a single smooth flow: with 34% fewer parameters it loses 1.40 top-1 points (two runs per model under one recipe), and the frozen later layers of the same network already classify its state at 72.2% after three of the nine blocks, against 32.5% for the standard model. We focus on vision; the probe needs no retraining, and transformer language models, looped ones in particular, are the natural next test. Code: https://github.com/jaume2000/dynamics_skip_nn.

Keywords:

Machine Learning, Residual Networks, Neural ODEs, Representation Dynamics, Weight Tying

1 Introduction

Figure

Figure 1: Stage-3 feature trajectories of a weight-tied ConvNeXt (left; 100 applications of the shared block with Δt=0.09) and a standard ConvNeXt-T (right; each of nine blocks applied R=100 times with Δt=0.01), both integrated with Euler up to horizon T=9 (two dominant channels removed; 200 ImageNet validation images, 20 from each of 10 classes). Top: states are flattened and mapped to 2048 dimensions with a fixed Gaussian random projection (Johnson & Lindenstrauss, 1984; Dasgupta & Gupta, 2003), and PCA is fitted on all projected states of each model (Halko et al., 2011); paths coloured by depth t, white dots mark integer t. Bottom: residual speed ‖f(x(t))‖ (mean over images; shade: P10–P90). One shared block is a single autonomous field x˙=f(x); nine independent blocks switch the field at every integer, x˙=f⌊t⌋(x).

Residual connections (He et al., 2016) made very deep networks trainable by letting each block add a correction to its input, xt+1=xt+f(xt). That update has the form of one explicit Euler step of an ODE (E, 2017; Haber & Ruthotto, 2017; Lu et al., 2018), a reading that inspired Neural ODEs (Chen et al., 2018). Whether a trained stack behaves as an integrator is debated: Queiruga et al. (2020) already treat residual stages as piecewise-constant in depth and argue that standard ResNets are not meaningful integrators beyond the syntactic analogy; Sander et al. (2022) show that the gap to a Neural ODE need not vanish unless the residual maps vary smoothly in depth; Cohen et al. (2021) find that the deep limit can be an ODE, an SDE or neither; and Marion et al. (2024) prove that a ResNet initialised as a Neural ODE discretisation remains one under gradient flow in the large-depth limit.

We refine trained residual stages at inference and use the refined path as a probe. Write R for the number of applications of each block with step Δt=1/R, so that the integration horizon T=n of an n-block stage is kept and nothing is retrained. Convergence itself is not the claim: any Lipschitz residual field has a continuous limit (Appendix E). What matters is that the limit stays usable and that the path is faithful to the trained network. Refined 128-fold, ConvNeXt, Swin and ResNet lose less than one ImageNet top-1 point, whereas changing T collapses every network (Section 3.2): the horizon matters, the resolution does not. On the untied ConvNeXt-T stage, Gram statistics of the block increments agree between R=1 and R=100 to within 0.01; on the tied stage the order is kept while the path straightens (0.70→0.77). The stage is a composition of one ODE per block, not one ODE with weights smooth in depth: bilinear blending of consecutive block weights costs 7.7 to 23.3 points (Appendix G). The piecewise-constant reading already appears in Queiruga et al.; our novelty is empirical: modern networks already trained, without retraining, and what that flow looks like.

The same probe separates two transports behind the algebra x+f(x) (Figure 1). In ConvNeXt-T the field switches at every block boundary, where the heading turns by about 82∘ (77∘ to 87∘), and the nine blocks write nearly orthogonal, positively correlated directions (consecutive cosine 0.13, against 0.00 for random blocks of matched strength and 0.92 for the tied stage) that later blocks essentially never reverse: survival sk≥−0.01 for every image and block, so the opposed fraction is E=0 (Section 4.3). Straightness sits at 0.47, between random (0.33) and tied (0.77); writing d=‖xT−x0‖, C for the sum of block chords and L for arc length, straightness =(d/C)(C/L) with C/L=0.979, so the detour is made between blocks. Alignment of each increment with the destination rises from 0.20 to 0.68, and the half-progress time is t50=7.34 against 4.15 (tied) and 4.72 (random). This staircase is specific to ConvNeXt: Swin is coherent and the ResNets reverse (Appendix J).

Weight tying turns the stage into one autonomous flow with search, expansion and refinement phases. A frozen decoder reads that state much earlier: native prefixes give 72.2% top-1 at t=3 against 32.5%, and 78.9% against 70.2% at t=5 (Section 5). The frozen decoder is the right measure of early exit without training extra heads; a low score still does not imply that early features lack information. Sharing costs 1.40 points with 34% fewer parameters (two runs per model, one recipe), and tripling the applications of the shared block (27 applications, same parameters) reaches only 80.26%, recovering none of the gap: the price looks like autonomy, not depth (Sections 4.1 and 5).

Our contributions are:

  • Refinement as a faithful probe and the switched-flow picture of a trained residual stage (Section 3).
  • Basis-independent transport statistics, with a random baseline of matched strength and a straightness decomposition into between-block and within-block parts (Section 4.3).
  • Weight tying as an autonomous, anytime flow, whose accuracy cost is autonomy rather than depth (Sections 4.1 and 5).

2 Related Work

Residual networks as discretised ODEs.

A residual update x+f(x) (He et al., 2016) is one explicit Euler step of an ODE (E, 2017; Haber & Ruthotto, 2017; Lu et al., 2018), a reading that led to Neural ODEs (Chen et al., 2018), multi-level training (Chang et al., 2018) and continuous-in-depth architectures (Queiruga et al., 2020). Whether a trained ResNet behaves as such a discretisation is debated (Queiruga et al., 2020; Sander et al., 2022; Cohen et al., 2021; Marion et al., 2024). Those works train continuous models or study growing depth; we refine already trained standard networks at a fixed horizon and use the refined path as a probe. The piecewise-constant-in-depth schedule is already the modelling choice of Queiruga et al. (2020); we take it as given and ask what the flow of modern trained stages looks like.

Weight sharing and looping in depth.

Sharing one residual block across depth links ResNets to recurrent networks (Liao & Poggio, 2016); sharing convolutions or soft parameters across blocks yields compact CNNs (Boulch, 2017; Savarese & Maire, 2019). Universal and looped transformers reuse one layer or a block of layers (Dehghani et al., 2019; Giannou et al., 2023), ALBERT shares all layers (Lan et al., 2020) and partial sharing trades parameters against accuracy (Takase & Kiyono, 2023; Bae et al., 2025). Iterating a shared block beyond its training depth degrades unless the model recalls the input and is trained with a random number of iterations (Bansal et al., 2022; Geiping et al., 2025); deep equilibrium models solve for a fixed point instead (Bai et al., 2019). For us weight tying is a control that turns a switched stack into one autonomous field.

Early exit and anytime inference.

BranchyNet (Teerapittayanon et al., 2016), multi-scale dense nets (Huang et al., 2018) and shallow-deep networks (Kaya et al., 2019) attach trained intermediate classifiers so that easy examples can leave early. We instead decode prefixes of a weight-tied stage with that stage’s own frozen downsample, stage 4 and head: the tied stage is anytime without extra heads. A low early score still does not mean that early features lack information; it means that they are not yet in the region the decoder was trained on.

Iterative refinement and robustness across depth.

Residual networks tolerate dropping or reordering blocks, behave like ensembles of shallow paths (Veit et al., 2016; Huang et al., 2016) and have been read as iterative estimators of one representation (Greff et al., 2017; Jastrzębski et al., 2018). The tied stage behaves consistently with that reading; the untied ConvNeXt-T stage does not, which we present as consistent with those works rather than as a proof of them. Middle layers of language models can be skipped or swapped with graceful degradation, although repeating one middle layer is harmful (Sun et al., 2025; Lad et al., 2025), and deep layers can be pruned with light fine-tuning (Gromov et al., 2025).

Geometry of representations along depth.

Deep networks gradually untangle and flatten the data manifold (Bengio et al., 2013; DiCarlo & Cox, 2007; Brahma et al., 2016; Hauser & Ray, 2017; Naitzat et al., 2020; Cohen et al., 2020), whose intrinsic dimension changes with depth (Ansuini et al., 2019; Valeriani et al., 2023). Representation trajectories straighten in human perception of videos (Hénaff et al., 2019) and in language models (Hosseini & Fedorenko, 2023), and the residual stream of transformers has been analysed through its velocity, acceleration and turning angles (Fernando & Guitchounts, 2025; Pandey et al., 2026). Those analyses sample one point per layer; refinement gives hundreds per block and separates the motion within blocks from the jumps between them. Centered kernel alignment and related Gram comparisons measure similarity of neural representations (Kornblith et al., 2019); we use the Gram matrix of block increments as a basis-independent summary of transport. Outlier features, massive activations in language models (Sun et al., 2024; Sun et al., 2026) and high-norm tokens in vision transformers (Darcet et al., 2024), dominate geometric statistics; we find their analogues in ConvNeXt and Swin and exclude them.

3 Refining Residual Stages

We read a residual vision network as a three-part map: stem, stage 1 and stage 2 encode the image into a latent state x0; the deepest residual stage transports x0 to a state xT; stage 4 and the head decode xT into logits. We study that middle transport, stage 3 of ConvNeXt (Liu et al., 2022), Swin (Liu et al., 2021) and ResNet (He et al., 2016). It holds most of the residual depth (nine of the eighteen blocks of ConvNeXt-T), keeps one representation and spatial resolution and has enough blocks to study dynamics.

3.1 Setup

Write the residual of block i as fi(x)=blocki(x)−x. Over a stage of n blocks starting from the output x0 of the previous stage, the native network takes one Euler step of size 1 per block,

xi+1=xi+fi(xi),xn=x0+∑i=0n−1fi(xi).

We take the n blocks as the trained horizon T=n and read each block as a field integrated over its own unit of depth, so that the continuous object behind (1) is

xi+1=xi+∫ii+1fi(x(t))dt,T=n,

a switched system in the control sense (Liberzon, 2003), with the piecewise-constant schedule θt=θ⌊t⌋. Per-block step sizes are absorbed into the learned weights, so integrating each block over one unit of depth matches the step the model has internalised. In a weight-tied stage fi≡f and (2) collapses to a single autonomous ODE,

xT=x0+∫0Tf(x(t))dt,T=n.

Repetitions R.

We refine with one parameter R: each block is applied R times with step Δt=1/R, so that T=nRΔt=n is kept and only the resolution changes,

xT=x0+∑i=0n−1∑r=0R−1Δtfi(xi+rΔt).

For a weight-tied stage R means nR applications of the shared block. R=1 recovers the native network; as R grows the scheme approaches (2), and we also compare Midpoint (RK2) and RK4 on the same horizon. Nothing is retrained. Refinement converges for any Lipschitz residual field, trained or random (Appendix E), so the question is what the limit keeps and how the path is organised.

3.2 The limit is usable; the horizon matters, not the resolution

Figure

Figure 2: Left: top-1 against repetitions R (solid: Euler; dashed: RK4), with Δt=1/R so that T=n is kept (weight-tied: nR applications of the shared block). Right: residual norm ‖f(x)‖ along stage 3 (mean and P5–P95 over 500 images; two dominant channels removed; first runs). The untied field is piecewise constant in depth; the weight-tied model is a single smooth autonomous field.

Table 1: Euler refinement with Δt=1/R (T kept), ImageNet top-1 (%). For the weight-tied model R means 9R applications of the shared block. ODE limit: RK4 at R=128 (tied: 1024 steps). CNX-T and Tied: first run of each (Section 4.1); the second runs are in Appendix B.

R (Δt)CNX-TSwin-TR-50R-101Tied
1 (1)81.9181.0880.3481.6780.34
2 (0.5)81.6980.9080.0681.5880.27
4 (0.25)81.3980.6579.8481.3880.21
10 (0.1)81.1480.4779.6181.2280.13
32 (0.03)81.0380.3879.5081.1280.11
128 (0.008)81.0080.3479.4581.0680.12
ODE limit80.9980.3279.4381.0580.12
Gap (R=1→ODE)−0.92−0.76−0.91−0.62−0.22

We refine our ConvNeXt-T and weight-tied ConvNeXt-T, and the torchvision Swin-T (IMAGENET1K_V1), ResNet-50 and ResNet-101 (IMAGENET1K_V2) (Figure 2, left; Table 1). All models are evaluated on the full validation set with one transform (resize to 256, bilinear, centre crop 224), so the torchvision models score slightly differently from their reported 81.47, 80.86 and 81.89%, which use their own resize. Accuracy decreases monotonically with R and plateaus at a limit that Euler, Midpoint and RK4 share once the step is fine enough (Appendix C); the endpoints themselves agree to within 0.25∘ (Appendix D). The limit costs 0.22 to 0.92 points. The second ConvNeXt-T and tied runs refine the same way, with gaps of 0.59 and 0.39 points: the size of the gap varies between runs, but in both pairs the untied stage loses more than the tied one (Appendix B). The native network is the best point of every sweep and is not at the limit: RK4 with the nine native unit steps already lands on it, to within 0.1 points. The decoder is tuned to the state produced by one Euler step of size 1, not to the flow that step approximates.

Repeating blocks without shrinking the step (R=10 or 100 with Δt=1) collapses every model to 0.08–1.03% top-1, and the weight-tied network collapses in the same way when T leaves the trained horizon (Appendix C), as recurrent networks iterated past their training depth do (Bansal et al., 2022). Even R=3 with Δt=1 (T=27) drops ConvNeXt-T to 17.8%. With large steps at T=9 the tied model needs a higher-order solver: with 4 steps, RK4 reaches 78.9% and Euler 67.8%. Those coarse steps evidence the horizon; they are not a general compute advantage of the tied stage (Appendix C).

3.3 Fidelity and the switched picture

Near-baseline accuracy does not mean that R steps of size 1/R reproduce the unit step. On ConvNeXt-T the refined endpoint (R=100) sits 24∘ from the native one, with a relative distance of 0.41, mostly a rotation; on the weight-tied model the gap is 11∘ and 0.20 (Appendix D; Figure 2, right). The untied gap accumulates block after block, whereas the tied one stops growing after two or three steps. Stage 4 and the head nevertheless classify the refined state at a small cost.

The refined path is faithful to the native network in the statistics that matter for transport. On the untied stage, straightness and consecutive cosine at R=1 and R=100 agree to within 0.01 (Table 3). On the tied stage the order of the three regimes is preserved while the path straightens (0.70→0.77), as a single autonomous field should under refinement. Together with the usable limit, this is the sense in which the probe is faithful: the horizon is kept, the decoder still reads the state, and the Gram geometry of the trained stage is recovered.

The same measurements give the switched picture. The residual norm of an untied stage jumps at every block boundary (Figure 2, right), and replacing the piecewise-constant schedule by a bilinear blend of consecutive block weights costs 7.7 to 23.3 points on every architecture (Appendix G). Each trained block is meant for its own unit of depth: a stage is a composition of one ODE per block, not one ODE with weights smooth in depth.

4 One Flow or Nine Directions

4.1 The weight-tied control

To separate what depends on having nine independent blocks from what depends only on the residual form, we train a ConvNeXt-T whose stage 3 applies one shared block nine times. Reusing blocks of a model that was trained with distinct blocks tests a different object, and fails (Appendix F); here the stage is trained to use a single function. Both models are trained by us on ImageNet-1k for 300 epochs with one recipe: the same augmentation, regularisation, optimiser, peak learning rate (1×10−3, the linear scaling of the official recipe to our batch of 1024) and schedule (Appendix A). We train each model twice; the tied pair agrees to 0.04 points and the untied pair to 0.31.

The untied ConvNeXt-T reaches 81.76% top-1 with 28.59M parameters (runs: 81.60 and 81.91), close to the 82.1% of the original recipe (Liu et al., 2022), which uses a batch of 4096. The weight-tied model reaches 80.36% with 18.97M parameters (80.34 and 80.38; 34% fewer parameters, −1.40 points, 1.22 to 1.57 over the four pairings), and sharing one block per stage in all four stages reaches 78.99% with 8.68M (70% fewer, −2.77 points; single run). Tripling the applications of the same shared block, still with the tied parameter count, yields a stage of 27 unit steps trained from scratch at T=27, Δt=1 (Appendix A). That single run reaches 80.26% top-1, −0.10 points relative to the 9-step tied stage and below both tied runs, so it recovers none of the 1.40-point gap to the untied model. Nine independent blocks buy 1.40 points over one block applied nine times, and extra depth with the same field buys none of them. All probes below use one checkpoint per model: the first untied run (81.91%) and the first tied run (80.34%). The tied stage is a clean autonomous ODE x˙=f(x) over T=9, and we use it as the control against which the switched stack is read.

4.2 Kinematics

Massive activations.

In every ConvNeXt model one stage-3 channel exceeds all others by more than an order of magnitude (channel 236 tied, 227 untied), and in Swin the four corner tokens do (Sun et al., 2024; Darcet et al., 2024); ResNet shows no such outlier. The network relies on the ConvNeXt channel (zeroing it costs 12.5 points, a random channel at most 0.3), but it would dominate every geometric statistic. The second-largest channel is functionally inert in all five ConvNeXt models: zeroing it, or replacing it by its mean, at the stage-3 exit changes top-1 by at most 0.1 points, as a random channel does. In one of the two untied runs, however, the last block writes into it half of the stage-3 exit energy (Appendix B). We therefore remove from all geometric measurements of every model the two channels with the largest mean energy at the stage-3 exit, the same two in every measurement, and leave the forward pass unchanged; removing only the first gives the same picture on the other four models (Appendices B and H).

Kinematics.

On refined trajectories (R=100, Δt=0.01, N=500) we measure the speed ‖v‖, the angular velocity ω of the heading v^, the split of the acceleration into a tangential part at=⟨v^,a⟩ and a normal part an and the curvature κ=an/‖v‖2 (Figures 3 and 2). Curvature is read against the arc travelled per unit of depth, s≈‖v‖Δt: the heading turns by Δθ≈κ‖v‖Δt (equivalently ωΔt). A value κ∼10−2 with ‖v‖ of tens still turns the heading by tens of degrees over a block. Earlier work measures turning angles between consecutive layers or frames (Hénaff et al., 2019; Hosseini & Fedorenko, 2023; Pandey et al., 2026); refinement gives them within a block.

Figure

Figure 3: Stage-3 kinematics over T=9 (R=100, Euler Δt=0.01; two dominant channels removed; mean and P5–P95 over N=500). Top: weight-tied ConvNeXt. Bottom: untied ConvNeXt-T. Columns: speed ‖v‖, angular velocity ω, acceleration (‖a‖,at,an), curvature κ=an/‖v‖2. On the untied row, pairs of micro-steps that straddle a block boundary are omitted from ω, a and κ: there v is discontinuous and finite differences diverge as Δt→0.

Table 2: Stage-3 kinematics (R=100, N=500, two dominant channels removed). Untied values inside blocks; sign flips: share of coordinates of v that change sign across one micro-step.

TiedUntied
|v|peak 73.6 at t=3.9330.9→172.7 in steps
ω (rad/t)peak 0.70 at t=0.580.65–1.18→0.45–0.89
κ (10−3)14.5, min 4.4 at t=3.7421.0 (block 0), 6.4 (block 8)
an/|a|0.950.97
|a|, first→last34.0→8.321.9→133.0
turn at boundary–77–87∘
sign flips, switch–46.0%
sign flips, inside0.12%0.21%

The tied stage searches, expands and refines.

The shared field traces one arc in three phases (Figure 3, top). Early on the speed is moderate while ω and κ peak (0.70rad/t at t=0.58), so the heading turns by about 40∘ per unit of depth: small steps that keep changing direction. The tangential acceleration then turns positive, peaks at t=2.28 and crosses zero at t=3.93, where the speed peaks; κ reaches its minimum just before (4.4×10−3 at t=3.74, about 18∘ per unit of depth). The tangent still carries 26% of ‖a‖, a large share in a 75,000-dimensional state, but an never vanishes. After mid-horizon the field brakes (at is most negative at t=5.29), the speed falls and ω rebounds near t=5.8. At t=9 the speed is still 40.9 with ω=0.20: the state is coasting, not at a fixed point, which is consistent with the collapse when the integration continues past T (Section 3.2).

The untied stage is a switched staircase.

The untied ConvNeXt-T has no such arc (Figure 3, bottom). At each integer the next block replaces the field and the heading jumps by 77∘ to 87∘ (82∘ on average) in a single micro-step. The large ω spikes at those boundaries are not turns of a hundred radians: they are arccos⟨v^d,v^d+1⟩/Δt on one micro-step of Δt=0.01, so the heading jump is ωΔt≈1.3–1.5rad (77∘–87∘). Dividing a finite angle by a vanishing step is why the spikes explode; they only record that neighbouring blocks do not share a direction. At the switch, 46.0% of the coordinates of v change sign, against 0.21% per micro-step inside a block and 0.12% in the tied model, which has no boundaries. Inside a block the motion is short: ω starts at 0.65–1.18 and settles at 0.45–0.89, and κ falls from 2.1×10−2 in the first block to 6.4×10−3 in the last as the speed grows. The speed envelope rises in steps, from 30.9 in the first block to 172.7 at the start of the last, with no stage-wide acceleration and braking. The path is therefore a chain of nine shallow arcs joined by near-orthogonal turns; Section 4.3 measures how these pieces add up.

4.3 Nine directions

The untied heading turns by 82∘ at every boundary. That alone does not say whether the nine blocks cooperate, ignore each other or work against each other, and per-coordinate statistics cannot settle it, because the feature basis is not privileged: rotating the channels changes them while leaving the network’s function intact (Appendix I). We therefore use only quantities that depend on the Gram matrix of the block increments, Gjk=⟨Δxj,Δxk⟩ with Δxk=x(k+1)−x(k), which is invariant to any orthogonal change of basis. We compare three stages on the same 500 validation images (one image from each of 500 classes drawn at random, seed 0; two dominant channels removed, Section 4.2): the weight-tied and untied ConvNeXt-T, and a random untied stage with Xavier weights whose gain g∗=1.35 matches the per-block field strength ‖Δxk‖/‖xk‖ of the trained untied model. Table 3 collects the statistics and Figure 4 shows them per block.

Figure

Figure 4: Basis-independent transport statistics of stage 3 (R=100, N=500, two dominant channels removed). Top left: mean cosine between block increments Δxj and Δxk for a random untied stage of matched strength, the untied ConvNeXt-T and the weight-tied model. Top right: progress p(t) along the chord xT−x0 (dashed: diagonal). Bottom left: survival sk, the net projection of all later increments on Δxk in units of ‖Δxk‖2 (sk<0: later blocks oppose block k). Bottom right: alignment of each increment with the total displacement. Bands: P10–P90 over images.

Table 3: Basis-independent transport statistics of stage 3, mean over 500 images (std across images ≤0.021 for straightness and ≤0.034 for cosines; two dominant channels removed; first runs, second runs in Appendix B). Str.: ‖xT−x0‖ over path length (arc at R=100, chords at R=1); chords: ‖xT−x0‖ over the sum of block chords; cos¯: mean off-diagonal cosine; E: opposed fraction; align: mean cos(Δxk,xT−x0); t50: first t with p(t)≥0.5.

Str.chordscosk,k+1cosk,k+2cos¯minskEalignt50
Random R=10.3300.3300.0010.002−0.002−0.180.0220.330–
Random R=1000.3240.329−0.001−0.001−0.004−0.190.0260.3284.72
Untied R=10.4710.4710.1330.1210.080−0.0100.376–
Untied R=1000.4630.4720.1310.1240.0820.0100.3777.34
Tied R=10.7050.7050.7610.5640.3900.5800.672–
Tied R=1000.7680.7740.9190.7360.5090.8400.7474.15

Untied blocks write nearly orthogonal directions.

Random residual blocks of matched strength write mutually orthogonal increments: every off-diagonal cosine is 0.00 (Figure 4, top left). The trained untied blocks are not random: consecutive increments have cosine 0.13 and increments two blocks apart 0.12, all positive. They are still far from the tied field, where consecutive increments have cosine 0.92 and remain correlated across the whole stage. Each untied block therefore writes mostly in a new direction, slightly biased toward the directions of its neighbours.

No block is erased.

The survival sk=∑j>kGkj/Gkk measures what later blocks do along the direction of block k: sk>0 means they continue it, sk<0 that they move against it and sk≤−1 that they remove it entirely. In the untied model sk≥−0.01 for every image and every block, so the opposed fraction E, the mass-weighted share of increments that later blocks reverse, is 0; in the second run fewer than 0.1% of image and block pairs have sk<0 and E<0.001 (Appendix B). Random blocks, by contrast, have sk<0 in 61% of the image and block pairs. The untied stage is thus a staircase: each block adds a new, mostly orthogonal step that no later block takes back.

A straightness ladder.

Write d=‖xT−x0‖, C=∑k‖Δxk‖ for the sum of block chords and L for the arc length of the refined path. Straightness decomposes as

dL=dCCL.

The factor d/C is the between-block contribution (how aligned the chords are); C/L is the within-block contribution (how much each block bends relative to its chord). Straightness orders the three stages: 0.33 for random blocks, 0.47 for untied blocks and 0.70 to 0.77 for the tied field. Nine orthogonal steps of equal length would give 1/9=0.33, which is where the random stage sits. For the untied stage C/L=0.979, so the arc is only 2.1% longer than the sum of block chords; random blocks turn by a similar amount (0.987) and the tied field by less (0.992). The detour of the untied stage is made between blocks, not within them.

Per-coordinate sign changes between consecutive blocks (≈46%) are what any basis gives under a consecutive cosine of 0.13 (Appendix I); they are not evidence that some blocks reverse others.

Alignment with the destination.

Projecting the path on the chord xT−x0 shows when progress is made (Figure 4, top right). The untied stage crosses half of its net displacement at t50=7.34, the tied one at 4.15 and the random one at 4.72, close to the linear 4.5. Per block, the alignment cos(Δxk,xT−x0) of the untied increments rises from 0.20 in the first block to 0.68 in the eighth (0.57 in the last), while the random stage stays at 0.33 and the tied field peaks at 0.92 mid-stage (Figure 4, bottom right). Early untied blocks write directions that are almost orthogonal to where the stage ends; the last blocks write most of the final displacement.

Other architectures.

The staircase is not universal (Appendix J). Swin-T stage 3 is coherent, with straightness 0.80 (0.67 without the corner tokens) against 0.42 for random blocks and positive survival everywhere. ResNet-50 and ResNet-101, whose stage-3 residual includes the ReLU after the sum, go the other way: straightness 0.37 and 0.16, below their random baselines of 0.43 and 0.22 to 0.23, with genuine reversal (E of 0.19 and 0.24 against about 0.07–0.09 for their random baselines). We have not tested whether the post-sum ReLU explains that reversal.

5 What the Smooth Flow Buys and What It Costs

Anytime reading with the frozen decoder.

After a prefix of stage 3 we skip the rest of the stage and classify with the model’s own trained downsample, stage 4 and head (Figures 5 and 6; full validation). No probe is trained (Alain & Bengio, 2017; Belrose et al., 2023), so the score measures how close each prefix is to the state the decoder expects. On native prefixes, top-1 at t=3 is 72.2% for the tied stage against 32.5% for the untied one; at t=5 it is 78.9% against 70.2%. Refining the path at R=20 moves the same curves only slightly (74.7% and 29.7% at t=3). The decoder was trained on xT, so a low score does not mean that early features lack information; it means that the tied state enters the decoder’s operating region earlier, as the alignment and t50 of Section 4.3 suggest. Alignment and t50 are consistent with this mechanism; they do not prove it causally. The frozen decoder is the right measure of early exit without training extra heads: the tied stage is anytime with its own downstream network.

Figure

Figure 5: Top-1 (left) and cross-entropy (right) of each model’s frozen stage 4 and head on stage-3 prefixes (full validation). Solid: refined path (R=20, Δt=0.05); open markers: native prefixes at block ends. The tied stage is readable much earlier; a low early score does not imply that early features lack information.

Figure

Figure 6: ImageNet top-1 against the number of stage-3 block evaluations (Euler counts 1 per step), without retraining. Purple solid: native tied prefixes (k=1…9). Blue solid: native untied prefixes. Blue dashed: selected untied subsequences from App. F. Blue dotted: equispaced untied subsets round(linspace(0,8,L)) with Δt=9/L (Table 16). Purple dotted: coarse Euler of the tied stage at T=9 (App. C). Horizontal lines: full-depth accuracy of each model. The tied stage dominates at few evaluations through its prefixes; the untied stage wins at nine; coarse Euler of the tied stage is not the way to save compute.

Figure 6 puts the same prefixes on a compute axis against other ways of spending few block evaluations at horizon T=9. At three evaluations the tied prefix already reaches 72.2%, while the equispaced untied triple {0,4,8} with Δt=3 reaches only 42.6% and the best two-block pair we tested reaches 57.2% (Appendix F). Equispaced untied subsets climb toward the native score as L grows (e.g. 69.45% at L=4, 78.33% at L=6, 81.21% at L=8), but they stay below the tied prefix until late in the stage. Coarse Euler on the tied field at the same T is worse still at small step counts (37.5% with three steps of size 3), so enlarging Δt is not a substitute for the anytime prefixes.

What it costs.

Sharing costs 1.40 points with 34% fewer parameters (Section 4.1). Tripling the applications of the shared block, at the same parameter count, reaches only 80.26% and recovers none of the gap (−0.10 points relative to the 9-step tied stage). A reading, as a hypothesis rather than a fact: the gap is not bought by depth but by having distinct fields; it is the price of autonomy, because a single field cannot depend on t. The gap is larger than the spread of either pair of runs (1.22 to 1.57 points over the four untied and tied pairings). That reading connects to the conjecture that the massive channel acts as an implicit clock inside an autonomous ODE (Appendix H). A natural test, not yet run, is a shared block conditioned on t: if the gap closes, the missing ingredient was non-autonomy rather than capacity.

6 Discussion

Table 4 collects the measurements that carry our reading. The same residual algebra x+f(x) supports two different transports, and refinement at fixed horizon makes the difference visible without retraining either model.

Table 4: Headline measurements on ImageNet-1k. Top-1: mean over the two runs of each model we train (one recipe). Gap: R=1 to the ODE limit (Table 1); straightness (Str.) and consecutive block cosine at R=1 for the untied families and at R=100 for the tied stage, two dominant channels removed (Tables 3 and J). For our ConvNeXt-T models, entries are first run / second run (Appendix B). Tied, 27 apps.: same parameters as Tied, trained at T=27. Swin-T and the ResNets are torchvision checkpoints that we did not retrain.

ModelParamsTop-1GapStr.cosk,k+1
ConvNeXt-T28.59M81.76−0.92 / −0.590.47 / 0.480.13 / 0.16
Weight-tied S318.97M80.36−0.22 / −0.390.77 / 0.770.92 / 0.92
Tied, 27 apps.18.97M80.26–––
All-stages tied8.68M78.99–––
Swin-T–81.08−0.760.800.43
ResNet-50–80.34−0.910.37−0.11
ResNet-101–81.67−0.620.160.01

What does one field lose against nine?

We now have a partial answer. One shared block keeps all but 1.40 points of nine with a third fewer parameters, reaches the decoder’s operating region earlier (Section 5), and extra depth with the same field recovers none of the gap (Section 4.1). A hypothesis, not a tested claim: what the untied stage buys is the freedom for the field to depend on depth, not more applications of one map. A shared block conditioned on t would test that reading. We do not claim that the untied directions are unnecessary, nor that the blocks compute functions simpler than their parameter counts allow; that remains an untested hypothesis for future work.

Refinement as a probe beyond ConvNeXt.

Every architecture converges to a continuous limit at fixed T that keeps the function within 0.22 to 0.92 points, although it sits 11∘ to 24∘ from the native state (Appendix D); breaking the horizon instead collapses every network. A trained stage is a sequence of one-step solves, each replaceable by a finer integral of the same block, but not a Neural ODE with weights smooth in depth (Appendix G). The probe needs no retraining, the Gram statistics only need block increments and prefix decoding only needs the trained downstream network, so all three can be applied unchanged to other residual streams; we leave transformers outside vision to future work (Section 7).

Toward mostly autonomous fields.

The two regimes suggest a design space between them: a shared field with small per-block corrections, or cycles of a few shared blocks, would interpolate between an autonomous and a switched flow. Related schemes exist for convolutional networks (Savarese & Maire, 2019) and transformers, through cyclic layer sharing (Takase & Kiyono, 2023) and shared layers with low-rank updates (Bae et al., 2025). Designing fields that are mostly autonomous with controlled non-autonomy is future work; the coherence statistics place such models on the ladder from random to autonomous and can test whether coherence and accuracy move together.

Limitations.

All results are on ImageNet-1k classification. The weight-tied and untied ConvNeXt-T have two runs each under one recipe, so the accuracy gap has only a coarse estimate of its spread; the 27-application and all-stages tied runs are single runs. The probes use one checkpoint per model; the transport statistics of the second pair are reported in Appendix B. We describe how the two transports differ and give a partial account of the cost; we do not claim a causal explanation of the 1.40-point gap. The channel basis is not privileged, so per-coordinate readings of the trajectories are partly determined by the Gram matrix and partly by the basis (Appendix I); we base our claims on Gram statistics only. The metrics exclude the massive ConvNeXt channel and the Swin corner tokens, and we have not tested whether the ReLU after the ResNet sum explains its negatively correlated increments (Appendix J). The frozen decoder measures readiness for the trained head, not information content.

7 Conclusion

Refining residual stages at a fixed horizon is a training-free probe: on ConvNeXt, Swin and ResNet the continuous limit costs less than one top-1 point, whereas changing the horizon collapses every network, and the refined path stays faithful to the native Gram geometry. A trained stage is a switched composition of one ODE per block, not one ODE with weights smooth in depth. In ConvNeXt-T the nine blocks write nearly orthogonal, positively correlated directions that later blocks essentially never reverse, with straightness 0.47 and turns of about 82∘ at every boundary. Weight tying turns the same stage into one autonomous, anytime flow that a frozen decoder reads much earlier, at a cost of 1.40 points that extra depth does not buy. The open design question is how to keep most of that autonomy while allowing a controlled dependence on depth.

Future work.

This study is focused on vision, and its transport analysis on stage 3. Refined at a fixed horizon, every network we tested converges to a continuous limit, and, more to the point, that limit does not collapse accuracy. Whether both properties hold in the other stages, and in transformer language models and large language models, remains to be tested. There, the same probe and transport statistics would follow how token representations evolve from layer to layer. Looped transformers (Dehghani et al., 2019; Giannou et al., 2023), which apply one block repeatedly as our weight-tied stage does, are the closest analogue and the natural first test.

References

  • Ainsworth et al. (2023) Ainsworth, S. K., Hayase, J., and Srinivasa, S. Git re-basin: Merging models modulo permutation symmetries. In International Conference on Learning Representations (ICLR), 2023.
  • Alain & Bengio (2017) Alain, G. and Bengio, Y. Understanding intermediate layers using linear classifier probes. In International Conference on Learning Representations (ICLR), Workshop Track, 2017. arXiv:1610.01644.
  • Ansuini et al. (2019) Ansuini, A., Laio, A., Macke, J. H., and Zoccolan, D. Intrinsic dimension of data representations in deep neural networks. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
  • Bae et al. (2025) Bae, S., Fisch, A., Harutyunyan, H., Ji, Z., Kim, S., and Schuster, T. Relaxed recursive transformers: Effective parameter sharing with layer-wise LoRA. In International Conference on Learning Representations (ICLR), 2025.
  • Bai et al. (2019) Bai, S., Kolter, J. Z., and Koltun, V. Deep equilibrium models. In Advances in Neural Information Processing Systems (NeurIPS), volume 32, 2019.
  • Bansal et al. (2022) Bansal, A., Schwarzschild, A., Borgnia, E., Emam, Z., Huang, F., Goldblum, M., and Goldstein, T. End-to-end algorithm synthesis with recurrent networks: Extrapolation without overthinking. In Advances in Neural Information Processing Systems (NeurIPS), volume 35, 2022.
  • Belrose et al. (2023) Belrose, N., Furman, Z., Smith, L., Halawi, D., Ostrovsky, I., McKinney, L., Biderman, S., and Steinhardt, J. Eliciting latent predictions from transformers with the tuned lens, 2023. arXiv preprint.
  • Bengio et al. (2013) Bengio, Y., Courville, A., and Vincent, P. Representation learning: A review and new perspectives. IEEE Transactions on Pattern Analysis and Machine Intelligence, 35(8):1798–1828, 2013.
  • Boulch (2017) Boulch, A. ShaResNet: reducing residual network parameter number by sharing weights, 2017. URL https://arxiv.org/abs/1702.08782.
  • Brahma et al. (2016) Brahma, P. P., Wu, D., and She, Y. Why deep learning works: A manifold disentanglement perspective. IEEE Transactions on Neural Networks and Learning Systems, 27(10), 2016.
  • Chang et al. (2018) Chang, B., Meng, L., Haber, E., Tung, F., and Begert, D. Multi-level residual networks from dynamical systems view. In International Conference on Learning Representations (ICLR), 2018.
  • Chen et al. (2018) Chen, R. T. Q., Rubanova, Y., Bettencourt, J., and Duvenaud, D. Neural ordinary differential equations. In Advances in Neural Information Processing Systems (NeurIPS), volume 31, 2018.
  • Cohen et al. (2021) Cohen, A.-S., Cont, R., Rossier, A., and Xu, R. Scaling properties of deep residual networks. In International Conference on Machine Learning (ICML), volume 139 of Proceedings of Machine Learning Research, pp. 2039–2048, 2021.
  • Cohen et al. (2020) Cohen, U., Chung, S., Lee, D. D., and Sompolinsky, H. Separability and geometry of object manifolds in deep neural networks. Nature Communications, 11:746, 2020.
  • Darcet et al. (2024) Darcet, T., Oquab, M., Mairal, J., and Bojanowski, P. Vision transformers need registers. In International Conference on Learning Representations, 2024.
  • Dasgupta & Gupta (2003) Dasgupta, S. and Gupta, A. An elementary proof of a theorem of Johnson and Lindenstrauss. Random Structures & Algorithms, 22(1):60–65, 2003.
  • Dehghani et al. (2019) Dehghani, M., Gouws, S., Vinyals, O., Uszkoreit, J., and Kaiser, Ł. Universal transformers. In International Conference on Learning Representations (ICLR), 2019.
  • Deng et al. (2009) Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., and Fei-Fei, L. ImageNet: A large-scale hierarchical image database. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 248–255, 2009.
  • DiCarlo & Cox (2007) DiCarlo, J. J. and Cox, D. D. Untangling invariant object recognition. Trends in Cognitive Sciences, 11(8):333–341, 2007.
  • Dupont et al. (2019) Dupont, E., Doucet, A., and Teh, Y. W. Augmented neural ODEs. In Advances in Neural Information Processing Systems, volume 32, 2019.
  • E (2017) E, W. A proposal on machine learning via dynamical systems. Communications in Mathematics and Statistics, 5(1):1–11, 2017.
  • Entezari et al. (2022) Entezari, R., Sedghi, H., Saukh, O., and Neyshabur, B. The role of permutation invariance in linear mode connectivity of neural networks. In International Conference on Learning Representations (ICLR), 2022.
  • Fernando & Guitchounts (2025) Fernando, J. and Guitchounts, G. Transformer dynamics: A neuroscientific approach to interpretability of large language models, 2025.
  • Gan et al. (2025) Gan, C., Tu, Y., Chen, X., Chen, T., Li, Y., Harandi, M., and Lin, W. Unleashing diffusion transformers for visual correspondence by modulating massive activations. In Advances in Neural Information Processing Systems, volume 38, 2025.
  • Geiping et al. (2025) Geiping, J., McLeish, S., Jain, N., Kirchenbauer, J., Singh, S., Bartoldson, B. R., Kailkhura, B., Bhatele, A., and Goldstein, T. Scaling up test-time compute with latent reasoning: A recurrent depth approach. In Advances in Neural Information Processing Systems (NeurIPS), 2025.
  • Giannou et al. (2023) Giannou, A., Rajput, S., yong Sohn, J., Lee, K., Lee, J. D., and Papailiopoulos, D. Looped transformers as programmable computers. In International Conference on Machine Learning (ICML), 2023.
  • Glorot & Bengio (2010) Glorot, X. and Bengio, Y. Understanding the difficulty of training deep feedforward neural networks. In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics (AISTATS), pp. 249–256, 2010.
  • Greff et al. (2017) Greff, K., Srivastava, R. K., and Schmidhuber, J. Highway and residual networks learn unrolled iterative estimation. In International Conference on Learning Representations (ICLR), 2017.
  • Gromov et al. (2025) Gromov, A., Tirumala, K., Shapourian, H., Glorioso, P., and Roberts, D. A. The unreasonable ineffectiveness of the deeper layers. In International Conference on Learning Representations (ICLR), 2025.
  • Haber & Ruthotto (2017) Haber, E. and Ruthotto, L. Stable architectures for deep neural networks. Inverse Problems, 34(1):014004, 2017.
  • Hairer et al. (1993) Hairer, E., Nørsett, S. P., and Wanner, G. Solving Ordinary Differential Equations I: Nonstiff Problems, volume 8 of Springer Series in Computational Mathematics. Springer, 2 edition, 1993.
  • Halko et al. (2011) Halko, N., Martinsson, P.-G., and Tropp, J. A. Finding structure with randomness: Probabilistic algorithms for constructing approximate matrix decompositions. SIAM Review, 53(2):217–288, 2011.
  • Hauser & Ray (2017) Hauser, M. and Ray, A. Principles of Riemannian geometry in neural networks. In Advances in Neural Information Processing Systems, volume 30, 2017.
  • He et al. (2016) He, K., Zhang, X., Ren, S., and Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770–778, 2016.
  • Hénaff et al. (2019) Hénaff, O. J., Goris, R. L. T., and Simoncelli, E. P. Perceptual straightening of natural videos. Nature Neuroscience, 22(6):984–991, 2019.
  • Hosseini & Fedorenko (2023) Hosseini, E. A. and Fedorenko, E. Large language models implicitly learn to straighten neural sentence trajectories to construct a predictive representation of natural language. In Advances in Neural Information Processing Systems (NeurIPS), 2023.
  • Huang et al. (2016) Huang, G., Sun, Y., Liu, Z., Sedra, D., and Weinberger, K. Q. Deep networks with stochastic depth. In European Conference on Computer Vision (ECCV), 2016.
  • Huang et al. (2018) Huang, G., Chen, D., Li, T., Wu, F., van der Maaten, L., and Weinberger, K. Q. Multi-scale dense networks for resource efficient image classification. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum?id=HkfUCi1C-.
  • Ioffe & Szegedy (2015) Ioffe, S. and Szegedy, C. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In International Conference on Machine Learning (ICML), 2015.
  • Jastrzębski et al. (2018) Jastrzębski, S., Arpit, D., Ballas, N., Verma, V., Che, T., and Bengio, Y. Residual connections encourage iterative inference. In International Conference on Learning Representations (ICLR), 2018.
  • Johnson & Lindenstrauss (1984) Johnson, W. B. and Lindenstrauss, J. Extensions of Lipschitz mappings into a Hilbert space. Contemporary Mathematics, 26:189–206, 1984.
  • Kaya et al. (2019) Kaya, Y., Hong, S., and Dumitras, T. Shallow-deep networks: Understanding and mitigating network overthinking. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 3301–3310. PMLR, 2019. URL https://proceedings.mlr.press/v97/kaya19a.html.
  • Kornblith et al. (2019) Kornblith, S., Norouzi, M., Lee, H., and Hinton, G. Similarity of neural network representations revisited. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 3519–3529. PMLR, 2019. URL https://proceedings.mlr.press/v97/kornblith19a.html.
  • Lad et al. (2025) Lad, V., Lee, J. H., Gurnee, W., and Tegmark, M. The remarkable robustness of LLMs: Stages of inference? In Advances in Neural Information Processing Systems (NeurIPS), 2025. arXiv:2406.19384.
  • Lan et al. (2020) Lan, Z., Chen, M., Goodman, S., Gimpel, K., Sharma, P., and Soricut, R. ALBERT: A lite BERT for self-supervised learning of language representations. In International Conference on Learning Representations (ICLR), 2020.
  • Liao & Poggio (2016) Liao, Q. and Poggio, T. Bridging the gaps between residual learning, recurrent neural networks and visual cortex, 2016.
  • Liberzon (2003) Liberzon, D. Switching in Systems and Control. Birkhäuser, Boston, 2003.
  • Liu et al. (2021) Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., Lin, S., and Guo, B. Swin Transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2021.
  • Liu et al. (2022) Liu, Z., Mao, H., Wu, C.-Y., Feichtenhofer, C., Darrell, T., and Xie, S. A ConvNet for the 2020s. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022.
  • Lu et al. (2018) Lu, Y., Zhong, A., Li, Q., and Dong, B. Beyond finite layer neural networks: Bridging deep architectures and numerical differential equations. In International Conference on Machine Learning (ICML), 2018.
  • Marion et al. (2024) Marion, P., Wu, Y.-H., Sander, M. E., and Biau, G. Implicit regularization of deep residual networks towards neural ODEs. In International Conference on Learning Representations (ICLR), 2024.
  • Naitzat et al. (2020) Naitzat, G., Zhitnikov, A., and Lim, L.-H. Topology of deep neural networks. Journal of Machine Learning Research, 21(184):1–40, 2020.
  • Pandey et al. (2026) Pandey, V., Singh, G., and Mahdid, Y. Trajectory geometry of transformer representations across layers, 2026. URL https://arxiv.org/abs/2606.09287.
  • Queiruga et al. (2020) Queiruga, A. F., Erichson, N. B., Taylor, D., and Mahoney, M. W. Continuous-in-depth neural networks, 2020. URL https://arxiv.org/abs/2008.02389.
  • Sander et al. (2022) Sander, M. E., Ablin, P., and Peyré, G. Do residual neural networks discretize neural ordinary differential equations? In Advances in Neural Information Processing Systems (NeurIPS), volume 35, 2022.
  • Savarese & Maire (2019) Savarese, P. and Maire, M. Learning implicitly recurrent CNNs through parameter sharing. In International Conference on Learning Representations (ICLR), 2019.
  • Strogatz (2015) Strogatz, S. H. Nonlinear Dynamics and Chaos: With Applications to Physics, Biology, Chemistry, and Engineering. Westview Press, 2 edition, 2015.
  • Sun et al. (2024) Sun, M., Chen, X., Kolter, J. Z., and Liu, Z. Massive activations in large language models. In Conference on Language Modeling (COLM), 2024.
  • Sun et al. (2025) Sun, Q., Pickett, M., Nain, A. K., and Jones, L. Transformer layers as painters. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pp. 25219–25227, 2025.
  • Sun et al. (2026) Sun, S., Canziani, A., LeCun, Y., and Zhu, J. Anatomy of massive activations and attention sinks. In Zhang, T., Dudik, M., Jaggi, M., Agarwal, A., Li, S., Schuurmans, D., Zhu, J., Berkenkamp, F., Dong, H., and Bietti, A. (eds.), Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pp. 116443–116463. PMLR, 06–11 Jul 2026. URL https://proceedings.mlr.press/v306/sun26d.html.
  • Takase & Kiyono (2023) Takase, S. and Kiyono, S. Lessons on parameter sharing across layers in transformers. In Proceedings of the Fourth Workshop on Simple and Efficient Natural Language Processing (SustaiNLP), pp. 78–90, 2023. doi: 10.18653/v1/2023.sustainlp-1.5.
  • Teerapittayanon et al. (2016) Teerapittayanon, S., McDanel, B., and Kung, H. T. BranchyNet: Fast inference via early exiting from deep neural networks. In Proceedings of the 23rd International Conference on Pattern Recognition (ICPR), pp. 2464–2469. IEEE, 2016. doi: 10.1109/ICPR.2016.7900006.
  • Valeriani et al. (2023) Valeriani, L., Doimo, D., Cuturello, F., Laio, A., Ansuini, A., and Cazzaniga, A. The geometry of hidden representations of large transformer models. In Advances in Neural Information Processing Systems (NeurIPS), 2023.
  • Veit et al. (2016) Veit, A., Wilber, M., and Belongie, S. Residual networks behave like ensembles of relatively shallow networks. In Advances in Neural Information Processing Systems (NeurIPS), volume 29, 2016.

Appendix A Training recipe

We train on ImageNet-1k (Deng et al., 2009) at 224×224. Table 5 lists the full hyper-parameter table, next to the official ConvNeXt-T recipe (Liu et al., 2022). The models we train from scratch share the same augmentation, regularisation, optimiser and learning-rate schedule; they differ only in stage-3 depth and weight sharing, as marked in the table. The official ConvNeXt-T uses batch size 4096 and base learning rate 4×10−3. Linear scaling to our batch of 1024 gives 1×10−3, which is the peak we use for every model. We use a 10-epoch warmup instead of the official 20. The untied and tied ConvNeXt-T are each trained twice. Both untied runs (seeds 0 and 1) and the second tied run (seed 1) use two processes of 256 images with two gradient-accumulation steps; the first tied run, the D=27 and the all-stages runs use four distributed processes of 256 images without a fixed seed. Mixup and CutMix are drawn per process batch of 256 in both set-ups. The two tied runs, one per set-up, reach 80.34 and 80.38%, so the parallel layout does not move accuracy beyond run-to-run noise.

An earlier untied run used half of that peak (5×10−4) with the official 20-epoch warmup, a minimum learning rate of 10−6 and one process with DataParallel; it reached 80.96%, 0.8 points below the matched runs, so the untied model is sensitive to the peak learning rate while the official peak transfers.

Weight decay is applied only to convolution and linear weights (tensors of rank ≥2). LayerNorm gain and bias, convolution/linear bias and LayerScale γ are decay-free, following the ConvNeXt / DeiT convention. Convolution and linear weights are initialised with truncated normal 𝒩(0,0.022); LayerScale uses γ=10−6. There is no layer-wise learning-rate decay, no gradient clipping, no mixed precision and no exponential moving average of the weights. The learning-rate schedule is a linear warmup (starting at 10−6) followed by cosine decay to the listed minimum, advanced once per optimiser step.

Table 5: ImageNet-1k training settings. Official ConvNeXt-T from Liu et al. (2022); the remaining columns are the models we train. CNX-T: untied baseline. Tied: stage 3 shares one block (9 applications, T=9, Δt=1). D=27: same shared block applied 27 times, trained from scratch at T=27, Δt=1 (same parameter count as Tied). All: one shared block per stage. Processes × batch × gradient-accumulation steps; the two Tied entries are its two runs.

OfficialCNX-TTiedD=27All
training epochs300300300300300
warmup epochs2010101010
optimizerAdamWAdamWAdamWAdamWAdamW
base learning rate4×10−31×10−31×10−31×10−31×10−3
min. learning rate–10−710−710−710−7
weight decay0.050.050.050.050.05
optimizer momentumβ=(0.9,0.999)β=(0.9,0.999)β=(0.9,0.999)β=(0.9,0.999)β=(0.9,0.999)
batch size40961024102410241024
processes × batch–2×256×24×256 / 2×256×24×2564×256
runs–2211
stage-3 applications999279
trained horizon T999279
random seed–0, 1none, 1nonenone
learning rate schedulecosinecosinecosinecosinecosine
warmup schedulelinearlinearlinearlinearlinear
layer-wise lr decayNoneNoneNoneNoneNone
RandAugment(9,0.5)(9,0.5)(9,0.5)(9,0.5)(9,0.5)
Mixup α0.80.80.80.80.8
CutMix α1.01.01.01.01.0
random erasing0.250.250.250.250.25
color jitter0.40.40.40.40.4
label smoothing0.10.10.10.10.1
stochastic depth0.10.10.10.10.1
LayerScale init10−610−610−610−610−6
gradient clipNoneNoneNoneNoneNone
exp. moving averageNoneNoneNoneNoneNone
mixed precision–offoffoffoff

Mixup and CutMix are applied to every training batch (switch probability 0.5), and the loss is soft-target cross-entropy on the mixed labels. Per-image augmentation is the timm ConvNeXt stack: random resized crop, horizontal flip, RandAugment rand-m9-mstd0.5, color jitter 0.4 and random erasing (probability 0.25, pixel mode). Validation uses the standard centre crop. Stochastic depth, when enabled, is ramped linearly from 0 to the listed peak across the 18 residual blocks of the untied model. In the weight-tied model it is applied per application of the shared block: the k-th application in stage 3 uses the rate of the k-th untied stage-3 block, linspace(0,0.1,18)[6+k], i.e. 0.035 to 0.082, so both models drop the same expected fraction of stage-3 updates. For the D=27 run the same per-application schedule is extended over the 27 applications (scripts/train_shared_convnext_D27.py).

Appendix B Second runs, dominant channels and a late channel

The main text analyses one checkpoint per model, the first untied run and the first tied run, with the two dominant stage-3 channels removed from every geometric statistic (Section 4.2). This appendix repeats the measurements on the second runs (Appendix A), compares removing one or two channels, and describes the channel that motivates the second removal.

Second runs.

Table 6 lists the headline statistics of both runs of each model. The second runs reproduce every qualitative reading of the main text: the untied stage writes nearly orthogonal, positively correlated increments (consecutive cosine 0.13 and 0.16) that later blocks essentially never reverse (E<0.001), sits between the random and the tied straightness, crosses half of its displacement late (t50≈7.3–7.4 against 4.2), turns by about 80∘ at every block boundary and is read by the frozen decoder much later than the tied stage. The refinement curves (Figure 7) have the same shape in both runs, but the size of the gap to the ODE limit varies between runs (0.92 and 0.59 points untied, 0.22 and 0.39 tied); in both pairs the untied stage loses more.

Table 6: Both runs of each model (two dominant channels removed; 500 images). Gap: R=1 to the ODE limit (full validation). Min. sk and align at R=100; prefixes: native frozen-decoder top-1 at t=3 and t=5 (full validation).

UntiedTied
run 1run 2run 1run 2
top-181.9181.6080.3480.38
gap to ODE limit−0.92−0.59−0.22−0.39
Str. R=10.4710.4780.7050.701
Str. R=1000.4630.4810.7680.767
cosk,k+1, R=10.1330.1640.7610.753
E, R=10.0000.0000.0000.000
min. sk0.01−0.140.840.84
align0.3770.3820.7470.752
t507.347.394.154.24
boundary turn (∘)8280––
prefix t=3 / t=532.5 / 70.235.1 / 70.772.2 / 78.972.5 / 79.0

Figure

Figure 7: Change of top-1 from the native network under Euler refinement at fixed horizon, both runs of each model (full validation). Weight-tied: 9R applications of the shared block.

One or two removed channels.

Table 7 compares removing only the massive channel (k=1) with removing the two largest channels (k=2, the main-text protocol). On the earlier untied run, the second untied run and both tied runs, the two choices agree to within about 0.01 in straightness and cosine. Only the first untied run changes: with k=1 its straightness drops from 0.517 at R=1 to 0.480 at R=100, the within-block factor falls to C/L=0.954, a few image and block pairs show reversal (1.2% with sk<0, minsk=−0.85, E=0.002) and t50 moves to 8.05; with k=2 it behaves like the other untied runs. The same channel inflates the native-to-limit distance of the stage-3 endpoint (38∘ with k=1, 24∘ with k=2, N=32) and the mean relative step (ρ=0.62 against 0.54), which is why the matched random gain is g∗=1.35 for every model under the main-text protocol.

Table 7: Transport statistics with the massive channel removed (k=1) or the two largest channels removed (k=2). Str.: R=1 / R=100; cosk,k+1 and E at R=1; t50 at R=100.

ModelkStr.cosk,k+1Et50
Untied, 5×10−410.501 / 0.5020.1650.0007.45
20.499 / 0.5000.1620.0007.47
Untied, run 110.517 / 0.4800.1220.0028.05
20.471 / 0.4630.1330.0007.34
Untied, run 210.487 / 0.4850.1590.0007.71
20.478 / 0.4810.1640.0007.39
Tied, run 110.718 / 0.7790.7680.0004.19
20.705 / 0.7680.7610.0004.15
Tied, run 210.710 / 0.7730.7580.0004.24
20.701 / 0.7670.7530.0004.24

A channel written by the last block.

In the first untied run the second-largest stage-3 channel, channel 11, is at noise level until t=8 (3 times the median channel norm of the image-averaged state) and reaches 47 times the median at t=9: the last block writes it from zero, entering with a large velocity that it brakes as the value grows (Figure 8). Per image it is larger still: with the massive channel removed it holds 47% of ‖xT‖2 and 77% of the energy of the last block’s increment, and 53% of the stage-3 exit energy. Yet the network does not use it: replacing it by zero or by its mean at the stage-3 exit changes top-1 by 0.03 and 0.06 points, as a random channel does (Table 19). No other model shows such a channel. In the tied runs and in the earlier untied run the second channel grows gradually or in steps and keeps its size over the last block, and in the second untied run it is already at 40 times the median at t=8. A large, input-dependent direction that the decoder ignores would dominate any Euclidean statistic of the state without saying anything about the computation, which is why the main-text protocol removes the two largest channels in every model.

Figure

Figure 8: Phase portraits of the stage-3 channels without the massive one (R=100, mean over 500 images of the spatial mean (top) or spatial RMS (bottom) of the image-averaged state). Each grey line is one channel; the largest remaining channel at t=9 is highlighted, red over the last block (t∈[8,9]). Only the first untied run has a channel written by the last block (channel 11); image averaging understates it by about 2.5×.

Appendix C Full Midpoint and RK4 refinement tables

We use the same R (repetitions) as in the main text: Δt=1/R so that T=n is conserved (n=9 for ConvNeXt stage 3). Tables 8–11 report the piecewise-constant schedule for Euler (RK1), Midpoint (RK2) and RK4 on each pretrained model. Table 12 gives the same solvers for the weight-tied ConvNeXt-T at fixed horizon T=9 (9R applications of the shared block). In every case the three integrators converge to the same continuous limit once the step is fine enough; at R=1, RK4 already sits within 0.1 points of that limit on every model, and Midpoint does on ConvNeXt but not on the ResNets. The ConvNeXt-T column is the evaluation of the final checkpoint; repeated evaluations of the same checkpoint differ by up to two images (0.004 points) because of nondeterministic GPU kernels.

Table 8: ConvNeXt-T (first run), piecewise-constant schedule, top-1 (%).

REulerMidRK4
181.9180.9280.91
281.6980.9780.99
481.3980.9880.99
1081.1480.9880.99
3281.0380.9980.99
12881.0080.9980.99

Table 9: Swin-T, piecewise-constant schedule, top-1 (%).

REulerMidRK4
181.0880.2980.33
280.9080.3480.31
480.6580.3380.32
1080.4780.3280.31
3280.3880.3280.32
12880.3480.3180.32

Table 10: ResNet-50, piecewise-constant schedule, top-1 (%).

REulerMidRK4
180.3478.9479.42
280.0679.4179.43
479.8479.4479.43
1079.6179.4479.43
3279.5079.4379.44
12879.4579.4379.43

Table 11: ResNet-101, piecewise-constant schedule, top-1 (%).

REulerMidRK4
181.6780.9581.06
281.5881.0781.04
481.3881.0681.05
1081.2281.0581.05
3281.1281.0581.04
12881.0681.0481.05

Table 12: Shared ConvNeXt-T, fixed T=9 (Δt=1/R; 9R shared steps), top-1 (%).

RStepsΔtEulerMidRK4
1/91947.060.612.70
2/924.55.8510.4247.98
3/93337.4554.4771.37
4/942.2567.8373.5778.90
5/951.877.2378.7079.97
6/961.579.4879.8580.10
7/971.2980.1980.1280.11
8/981.1380.3880.2180.11
19180.3480.1980.11
4/3120.7580.3580.1480.12
2180.580.2780.1280.12
32/9320.2880.2280.1180.12
128/91280.0780.1480.1280.12
1024/910240.00980.1280.1280.12
10000/9100000.000980.12––

Large steps and the trained horizon.

Figure 9 plots the fractional rows of Table 12. Those coarse steps evidence the trained horizon; they are not a general compute advantage of the tied stage. With three Euler steps of size 3 the tied model reaches only 37.5%, below the 42.6% of the untied blocks 0,4,8 with the same Δt=3 (Appendix F), so saving evaluations by enlarging Δt at fixed T favours neither model in a simple way. Euler is not monotone in the number of steps: one step of Δt=9 keeps 47.1%, two steps of 4.5 fall to 5.9% and three steps of 3 recover 37.5%. The two-step path overshoots. On 500 images, the stage-3 exit norm without the massive channel is 1370 after two steps, three times the native 458, against 452 after one step and 683 after three; the single step lands at a normal norm in a different direction (cosine 0.41 to the native exit), which the decoder still partly classifies. Varying the number of unit steps at Δt=1, or Δt at nine steps, peaks at T=9 in both cases (Figure 10). Script for the overshoot measurements: scripts/undo_geometry_audit.py.

Figure

Figure 9: Weight-tied ConvNeXt-T at fixed T=9 with 9R≤9 steps (Euler solid, RK4 dashed).

Figure

Figure 10: Weight-tied ConvNeXt-T: top-1 against horizon T. Red: fixed Δt=1 and more steps. Purple: nine steps with varying Δt (T=9Δt). Both peak at the trained horizon T=9.

Appendix D Solver agreement at the stage-3 endpoint

Section 3.2 asks whether a fine Euler step recovers the native R=1 state. A related question is whether two fine discretisations of the same residual field agree with each other, that is, whether a continuous limit exists at all. Table 13 compares stage-3 endpoints xT on the same N=32 ImageNet validation images (one per random class, seed 0), after removing the two dominant channels, as in the main-text metrics. Relative distance is ‖xa−xb‖/‖xb‖; cosine is cos(xa,xb).

Table 13: Pairwise stage-3 endpoint agreement (mean over N=32; two dominant channels removed; first runs). Horizon T=9 in every row.

Pair (a vs. b)rel. ℓ2cosangle
ConvNeXt-T
Euler R=100 vs. RK4 R=1000.0061.0000.33∘
Euler R=100 vs. Euler R=2000.0031.0000.16∘
Euler R=100 vs. Euler R=10.410.9124∘
RK4 R=1 vs. RK4 R=1000.0850.9954.8∘
Weight-tied ConvNeXt-T (9R shared steps)
Euler R=100 vs. RK4 R=1000.0021.0000.10∘
Euler R=100 vs. Euler R=2000.0011.0000.05∘
Euler R=100 vs. Euler R=10.200.9811∘
RK4 R=1 vs. RK4 R=1000.0031.0000.17∘

Euler and RK4 (and Euler R=100 vs. R=200) collapse onto the same xT, while both remain far from the trained one-step path. RK4 with the nine unit steps of the native schedule comes within 4.8∘ of that limit (0.17∘ for the tied stage), against 24∘ for the native Euler path. RK4 at R=1 matches the limit in top-1 to within 0.1 points (Table 8) while its state is still 8% away, a reminder that accuracy is a coarse probe of xT.

Accumulated and bounded refinement error.

Figure 11 follows the gap between the refined (R=100) and the native path along the whole stage, on the 500 images of the main text. After the first native step both models have cosine 0.99 to the native path. In the untied ConvNeXt-T the block-end cosine keeps falling, to 0.91 at t=9 (24.6∘), and the distance grows from 9.5 to 147.2: each block receives an input that has already drifted. In the weight-tied model the cosine settles at about 0.98 after two or three steps and stays there (11.5∘ at t=9). Both refined paths end about 7% shorter than the native ones (333.3 against 357.2 untied, 409.3 against 439.4 tied), so the larger relative gap of the untied stage (0.41 against 0.20) is mostly a rotation.

Figure

Figure 11: Refined (R=100) against native (R=1) stage-3 path for the untied (left) and weight-tied (right) ConvNeXt-T. Top: ‖x(R)−xR=1‖ (solid) with both state norms for scale (dashed: refined; squares: native). Bottom: cos(x(R),xR=1). Mean and P5–P95 over 500 images; two dominant channels removed; dots mark the end of each native step.

Appendix E Random-initialisation control for the continuous limit

Appendix D shows that the trained stage 3 has a continuous limit. That alone is weak evidence. Every residual field we study (convolutions, linear layers, normalisation, GELU/ReLU, softmax attention) is locally Lipschitz with at most linear growth (attention outputs are convex combinations of the values), so the ODE x˙=fi(x) has a unique solution on [0,T] and Euler converges to it at first order, whatever the weights (Hairer et al., 1993). We check this empirically on all five architectures and use random fields of controlled strength as a reference scale for the trained ones.

Setup.

Every convolution and linear layer is drawn with Xavier-normal initialisation (Glorot & Bengio, 2010) (gain 1, zero bias, seed 0); normalisation layers keep their default parameters, and ConvNeXt LayerScale is set to γ=1 (its default 10−6 makes f≈0). The stage-3 blocks are then re-drawn with Xavier gain g∈{0.25,0.5,1,2,4,8}, so the stage-3 input is identical across gains and only the field strength changes. For ResNet the field is fi(x)=blocki(x)−x, which includes the ReLU applied after the addition, and the first stage-3 block, whose projection shortcut changes the resolution and width, runs once without refinement, so n=5 for ResNet-50 and n=22 for ResNet-101 (the same convention holds in every experiment); for Swin one block contains both residual sub-layers (attention and MLP), as in the main text. For each network we integrate stage 3 to T=n and compare the endpoint xT of Euler at R∈{1,10,100,1000} and of RK4 at R=1 against RK4 at R=100, on the N=32 images of Appendix D. The field strength is summarised by the mean relative step of the native path,

ρ=1n∑i=0n−1‖fi(xi)‖‖xi‖,xi+1=xi+fi(xi),

i.e. how far a single block moves the state relative to its size. Because ρ grows with g at a different rate in each architecture (about g3 for ResNet, whose bottleneck has three unnormalised convolutions), we compare trained and random networks at matched ρ: for each architecture we add one gain g⋆ chosen so that ρ matches the trained network. Trained ConvNeXt rows zero the two dominant channels (Section 4.2); ResNet and Swin have no channel of comparable dominance at stage 3 (zeroing the largest one changes every entry by less than 0.6∘), so all rows except those use all channels.

Table 14: Angle between xT and the RK4 R=100 reference (T=n, mean over N=32). g: Xavier gain of the stage-3 blocks; ρ: mean relative step (6); ⋆: gain matched to the trained ρ. Trained ConvNeXt rows: first runs, two dominant channels removed. Rows sorted by ρ.

InitρEulerRK4
R=1R=10R=100R=1
ConvNeXt-T (nine blocks)
g=0.50.131.5∘0.15∘0.02∘0.00∘
g=10.4115.8∘1.6∘0.16∘0.07∘
Trained0.54\mathbf{24.4^{\circ}}\mathbf{3.3^{\circ}}\mathbf{0.33^{\circ}}\mathbf{4.8^{\circ}}
g⋆=1.350.5630.2∘3.4∘0.34∘0.92∘
g=20.7747.0∘6.7∘0.69∘8.4∘
Weight-tied ConvNeXt-T (one block)
g=0.50.122.7∘0.27∘0.03∘0.00∘
g⋆=10.3011.9∘1.3∘0.13∘0.05∘
Trained0.31\mathbf{11.3^{\circ}}\mathbf{1.0^{\circ}}\mathbf{0.10^{\circ}}\mathbf{0.17^{\circ}}
g=20.6327.1∘4.3∘0.46∘5.9∘
ResNet-50 (n=5)
g=0.50.040.4∘0.03∘0.00∘0.01∘
g=10.347.0∘0.66∘0.07∘0.24∘
g⋆=1.150.5112.0∘1.2∘0.12∘0.48∘
Trained0.52\mathbf{17.0^{\circ}}\mathbf{1.4^{\circ}}\mathbf{0.15^{\circ}}\mathbf{0.65^{\circ}}
g=22.2940.6∘7.8∘0.83∘6.6∘
ResNet-101 (n=22)
g=0.50.050.7∘0.05∘0.01∘0.02∘
Trained0.30\mathbf{15.3^{\circ}}\mathbf{1.4^{\circ}}\mathbf{0.15^{\circ}}\mathbf{0.74^{\circ}}
g⋆=0.950.308.9∘0.83∘0.08∘0.29∘
g=10.3510.3∘0.97∘0.10∘0.36∘
g=22.3339.6∘5.9∘0.63∘6.4∘
Swin-T (n=6)
g=0.50.151.7∘0.17∘0.02∘0.00∘
g=10.4817.2∘1.8∘0.18∘0.10∘
Trained0.87\mathbf{19.5^{\circ}}\mathbf{4.3^{\circ}}\mathbf{1.02^{\circ}}\mathbf{2.7^{\circ}}
g⋆=1.80.8947.6∘7.1∘0.74∘6.6∘
g=20.9852.7∘8.7∘0.91∘10.5∘

Results.

Table 14 supports two observations.

(i) The limit exists for every architecture. For every row, trained or random, the Euler error falls by roughly 10× per decade of R, the first-order rate (trained Swin-T is slower between R=10 and R=100), and Euler at R=1000 is within 0.1∘ of the reference. The same holds at the larger gains not shown, with two numerical exceptions that confirm the mechanism rather than contradict it. ResNet at g≥4 overflows in float32: without a normalisation inside the block, ‖fi(x)‖ grows with ‖x‖, so the state grows exponentially (ρ≈18 per block at g=4). Swin at g=8 is still 15.7∘ away at R=1000: the attention logits are so large that the softmax is nearly a hard selection, the field becomes very stiff and a finer step is needed. Convergence of the refinement to a single x^T is therefore a property of the residual parameterisation, not something learned.

(ii) The native gap is of the order set by ρ, and training moves it in an architecture-dependent direction. Within each architecture the distance from the single-step path (R=1) to the limit grows monotonically with ρ, and with ρ≈0.3–0.9 every trained network lies 11–24∘ away: one Euler step of size 1 is far from tracking the flow. At matched ρ, however, the trained and random networks differ, and not in a consistent direction. Trained Swin-T and ConvNeXt-T are closer to their limit than a random field of the same strength (19.5∘ vs. 47.6∘ and 24.4∘ vs. 30.2∘), the weight-tied model is level with it (11.3∘ vs. 11.9∘), and both ResNets are farther (17.0∘ vs. 12.0∘ and 15.3∘ vs. 8.9∘). RK4 at Δt=1 splits differently: only Swin-T is closer to its limit than the matched random field (2.7∘ vs. 6.6∘), while ConvNeXt-T (4.8∘ vs. 0.9∘), the tied stage and both ResNets are farther. Training thus changes how well a single step approximates the flow, but there is no universal tendency for single-use blocks to be better (or worse) one-step solvers than random ones. Script: scripts/random_init_convergence.py.

Appendix F Block selection, reordering and duplication

Section 4.1 trains a stage to use a single function. Here we ask the opposite question on the trained untied ConvNeXt-T, without any retraining: can a subset of its stage-3 blocks, reordered or reused, replace the nine blocks? Each configuration is a sequence of block indices applied with one Euler step Δt, so the horizon is T=LΔt for a sequence of length L (Table 15; full ImageNet validation). All rows come from the same sweep as Table 1 on the first untied run. Script: scripts/convnext_interpolation.py.

Table 15: Untied ConvNeXt-T stage 3 replaced by sequences of its own blocks, top-1 (%). T: horizon LΔt. Native nine blocks: 81.91.

BlocksΔtTtop-1
best single block (3)9945.15
best single block (7)1149.15
0,8 / 8,04.5922.96 / 6.88
1,7 / 7,14.5957.17 / 28.82
2,6 / 6,24.5929.32 / 4.09
3,5 / 5,34.5949.64 / 15.93
4,44.593.84
0,4,84.513.52.92
0,4,83942.56
0,4,82.256.7564.97
(0,4,8)×31925.81
0,0,2,2,4,4,6,6,81970.80
0,0,0,3,3,3,6,6,61958.93
0,0,0,0,4,8,8,8,8192.73

No single block suffices: the best one reaches 45.2% when integrated over the whole horizon in one step (block 3) and 49.2% with a unit step (block 7). With two blocks the original order wins in all four pairs we tested in both orders, by 16.1 to 33.7 points. Using every other block twice keeps 70.8%, the best substitute we found, whereas cycling blocks 0,4,8 three times gives 25.8%. The blocks are therefore not interchangeable copies of one operation, consistent with the nearly orthogonal increments of Section 4.3 and with the finding that repeating one middle layer is the most harmful intervention in pretrained transformers (Sun et al., 2025).

Equispaced subsets at fixed horizon.

Table 16 reports the systematic family used in Figure 6: for each length L=1…9, the indices round(linspace(0,8,L)) (duplicates removed) with step Δt=9/L, so T=9. L=2 and L=3 reproduce the App. F rows for {0,8} and {0,4,8}; L=9 recovers the native stage. Script: paper/scripts/plot_block_evals.py (calls the same validation path as scripts/convnext_interpolation.py).

Table 16: Equispaced untied stage-3 subsets at T=9, ImageNet top-1 (%). Indices: round(linspace(0,8,L)), unique, order preserved.

LBlocksΔttop-1
1094.34
20,84.522.96
30,4,8342.56
40,3,5,82.2569.45
50,2,4,6,81.873.61
60,2,3,5,6,81.578.33
70,1,3,4,5,7,81.28680.64
80,1,2,3,5,6,7,81.12581.21
90,1,2,3,4,5,6,7,8181.91

Appendix G Bilinear weight interpolation

Continuous-in-depth work treats the weights as a function of depth θ(t) expanded in a basis (Queiruga et al., 2020). The piecewise-constant basis recovers a ResNet, and multi-level training refines depth by copying adjacent blocks (Chang et al., 2018); smoother bases are a natural alternative. We test the simplest one, linear interpolation between consecutive blocks,

θ(t)=(1−α)θi+αθi+1,α=t−i.

Replacing the piecewise-constant schedule θt=θ⌊t⌋ by (7) hurts every model we tested: at R=128 the drop against the piecewise-constant schedule is between 7.7 and 23.3 points (Table 17). Nothing aligns the hidden units of consecutive blocks; as for independently trained networks, averaging weights that are not permutation-aligned need not give a functional intermediate (Entezari et al., 2022; Ainsworth et al., 2023).

Table 17: Bilinear weight interpolation, Euler, top-1 (%). Δ: against the piecewise-constant schedule at the same R (Table 1). CNX-T: first untied run.

RCNX-TSwin-TR-50R-101
181.9181.0880.3481.67
279.7178.9374.9572.55
476.3275.4270.6062.42
1074.0973.2868.5858.73
12873.3372.1467.7757.73
Δ at R=128−7.7−8.2−11.7−23.3

Figure 12 shows the ConvNeXt residual-field norm under the piecewise-constant and bilinear schedules at R=100. The piecewise-constant schedule keeps the staircase of Figure 2 (right); bilinear adds high-frequency oscillation between block boundaries while preserving the same global growth of ‖f‖. Bands are P5–P95 across 500 validation images (same suite as Figure 2).

Figure

Figure 12: ConvNeXt-T residual norm along stage 3 at R=100: piecewise-constant against bilinear weights (mean and P5–P95 over 500 images).

Appendix H Massive activations in stage 3

Section 4.2 summarises the outliers found in stage 3 of ConvNeXt and Swin. Here we detail how they are identified, how we ablate the ConvNeXt channel and what their kinematics look like. Throughout, we use “massive activation” loosely for channels or tokens that exceed all others by more than an order of magnitude. On the shared and untied ConvNeXt the stage-3 exit also meets the numerical criterion of Sun et al. (2024) (magnitude above 100 and about 103 times the median), although here the dominant channel is large at every position rather than at a few tokens, a pattern closer to the uniformly large feature dimension that Sun et al. (2024) report for MAE ViTs and do not count as massive: at every spatial position maxc|xc|>100, and the median over positions of maxc|xc|/medianc|xc| is about 1.1×103 (shared, N=500); in the untied runs the dominant channel carries 97–98% of the stage-3 exit energy. In Swin the corner tokens fail that channel-wise test (ratios of about 16), so the label there refers only to their outlying L2 norms.

Detection.

On the shared ConvNeXt we integrate the native stage-3 schedule (9 applications of the shared block, Δt=1, Euler) on a single ImageNet validation image and rank the 384 channels by the Frobenius norm ‖xc‖F of the stage-3 state just before LayerNorm and downsampling. Channel 236 dominates by more than an order of magnitude (‖x236‖F≈3.6×103 vs. ≈1.4×102 for the runner-up; Figure 13). The same index remains the top channel under the refined schedule (R=10, 90 applications, Δt=0.1), so the outlier is not an artefact of the unit-step discretisation. An analogous ranking on the untied ConvNeXt-T likewise isolates one channel of comparable relative size (channel 227 in the first run, 270 in the second; the second tied run also uses channel 270); ResNet stage 3 has no channel of this dominance.

Figure

Figure 13: Stage-3 exit channel norms on the shared ConvNeXt (R=1, 9 applications). Channel 236 (red) is the massive activation used in the ablations below.

Zeroing protocol.

To test functional importance we re-run the full ImageNet validation pass while forcing the selected channel to zero after every residual step of stage 3 (stem and stages 1–2, 4 are untouched). We compare three conditions under both the native (R=1) and refined (R=10) shared schedules, always at the trained horizon T=9: (i) baseline, no channel forced; (ii) outlier, channel 236 zeroed; (iii) random controls, each of 20 channels drawn uniformly from {0,…,383}∖{236} (seed 0) zeroed independently. Table 18 reports top-1 and cross-entropy; Figure 14 shows the corresponding Δloss histogram. Zeroing the outlier costs about 12.5 pp of top-1 and raises the loss by ≈0.69, while every random channel stays within 0.3 pp and Δloss≤0.02. The drop is essentially unchanged from R=1 to R=10, so the channel remains critical under refinement.

Table 18: Shared ConvNeXt-T ImageNet validation when zeroing one stage-3 channel after every residual step. Random: mean and range over 20 channels.

Rconditiontop-1 (%)lossΔloss
1baseline80.340.896–
1zero ch 23667.811.595+0.699
1zero random (n=20)80.25 [80.05, 80.38]–≤0.018
10baseline80.140.904–
10zero ch 23667.591.590+0.686
10zero random (n=20)80.11 [79.85, 80.18]–≤0.019

Figure

Figure 14: Δloss vs. baseline when zeroing one stage-3 channel on the shared ConvNeXt. Random channels (n=20 per R) cluster near zero; the outlier (vertical lines) sits near Δloss≈0.7 for both R=1 and R=10.

These numbers show that the trained network relies on this channel, but not that a massive channel is necessary: zeroing it also removes its contribution to the LayerNorm statistics at every spatial position and therefore rescales all other channels.

Interventions at the stage-3 exit.

Zeroing a channel after every step changes the whole trajectory. A milder test replaces one channel only at the stage-3 exit, the input of the LayerNorm and downsampling, either by zero or by its per-position mean over the 500 images of the main text, on all five ConvNeXt models (Table 19; script scripts/late_channel_ablation.py). Channels are ranked by their mean energy ∑H,Wxc2 at the exit. Zeroing the dominant channel costs 11 to 14 points everywhere, but replacing it by its mean costs only 1.0 to 1.5: most of the damage of zeroing comes from the change of the LayerNorm statistics at every position, not from the input-dependent part of the channel. The second channel is inert in every model (at most 0.1 points either way, as for random channels), including the first untied run, where it holds half of the exit energy (Appendix B).

Table 19: Top-1 change (points) when one stage-3 exit channel is replaced by zero or by its per-position mean (full validation). Ch.: rank-1 / rank-2 channel index. Random: worst of 10 random channels, zeroed.

Modeltop-1Ch.1st: zero1st: mean2nd: zero2nd: meanrandom
Untied, run 181.91227 / 11−12.38−1.21−0.03−0.06−0.05
Untied, run 281.60270 / 297−11.19−1.03−0.04−0.04−0.05
Untied, 5×10−480.96195 / 136−11.82−1.47−0.11−0.01−0.09
Tied, run 180.34236 / 17−12.55−1.36−0.04−0.03−0.22
Tied, run 280.38270 / 307−14.21−1.46+0.01−0.00−0.19

Phase portraits.

Figure 15 plots, for every stage-3 channel, the trajectory of spatial means (meanH,W(xd),meanH,W(hd)) over T=9 at Δt=0.01 (N=500 validation images). In the shared model the outlier traces a smooth arc: the residual mean mean(h) rises then falls while the state mean mean(x) keeps growing, matching the early acceleration and late velocity drop reported in the main text. In the untied ConvNeXt-T (first run) the dominant channel advances in a block-wise sawtooth and moves away from the origin, its magnitude growing with negative sign: its velocity jumps at every block boundary, grows with the channel inside most blocks and is braked only by the last block. In both models the spatial means of the remaining 383 channels stay close to the origin. This dominance is why we exclude the outlier channel when computing the trajectory-geometry metrics of the main text; the forward pass itself is left unchanged.

Figure

Figure

Figure 15: Phase portraits of stage-3 channel means (meanH,W(xd),meanH,W(hd)) over T=9 (Δt=0.01, N=500 images). Left: shared ConvNeXt (900 applications of the shared block). Right: untied ConvNeXt-T, first run (R=100). One channel reaches spatial means more than an order of magnitude larger than those of the remaining 383 channels, which stay close to the origin.

Swin.

In Swin-T the outliers are concentrated in tokens rather than channels, so means hide them: averaging over channels cancels coordinates of opposite sign, and averaging over positions dilutes four tokens among 196. We therefore plot, for each stage-3 position, the norm over channels of the state ‖xd‖C against that of the residual ‖hd‖C (Figure 16, left). The four corner tokens end the stage with norms of about 500 to 600, whereas the median norm over the remaining 192 positions is 23. Most of this growth happens in the last two of the six blocks, where the norm increases by almost the full integral of ‖hd‖C. Since the per-step change of the norm is at most Δt‖hd‖C, with equality only when hd is parallel to xd, these blocks amplify the corner tokens along their own direction, and the tokens are still growing when the stage ends. Averaged over 500 images, the corner tokens still show large values in the same few channels with the same signs (Figure 17), which suggests a mechanism largely independent of the input. Averaging over positions instead (Figure 16, right), one channel grows above the rest in a block-wise sawtooth similar to that of the untied ConvNeXt, but its final spatial mean is only about three times that of the next largest channel.

Figure

Figure

Figure 16: Swin-T stage 3 (R=100, Δt=0.01, T=6, N=500 images). Left: one trajectory per spatial position, (‖xd‖C,‖hd‖C); the four outlying trajectories are the corner tokens. Right: one trajectory per channel, (meanH,W(xd),meanH,W(hd)); one channel grows above the rest in a block-wise sawtooth.

Figure

Figure

Figure 17: Residual hd of Swin-T stage 3 at step d=579 (last block), averaged over 500 images and shown as channel by height slices at the last column (top) and at W=0 (bottom). Rows 0 and 13 of each panel are the four corner tokens, which share the same dominant channels and signs.

Interpretation.

Massive activations arise in pre-norm residual blocks and are suppressed when the vector-wise normalisation is replaced by an element-wise one (Sun et al., 2026). This fits what we see: ConvNeXt and Swin normalise each position across channels with LayerNorm, whereas BatchNorm (Ioffe & Szegedy, 2015) in ResNet normalises each channel independently; ResNet stage 3 shows no outlier. A channel-concentrated pattern has also been reported for diffusion transformers (Gan et al., 2025). In language models massive activations are injected by a few early blocks and then stay nearly constant until late blocks remove them, acting as fixed bias terms (Sun et al., 2024; Sun et al., 2026). The ConvNeXt channel instead evolves throughout the stage with the same kinematic profile as the rest of the state (Figure 15). In the shared model the explicit parameters are identical at every step, so the block can access depth only through the state. We conjecture that this channel provides that signal, as an autonomous system can emulate a non-autonomous one by carrying time as an extra state variable (Strogatz, 2015), which time-dependent Neural ODEs implement explicitly (Dupont et al., 2019). Our observations are consistent with this reading but do not establish it.

Open questions.

The set-to-mean intervention of Sun et al. (2024) above separates the channel from the renormalisation at the stage-3 exit; applying it after every step, as in the zeroing protocol, would do the same along the trajectory. Tracking the ratio between the channel and the RMS of the remaining channels along depth separates the two readings of Section 4.2: as an implicit parameter the ratio should stay roughly constant, whereas as a depth signal it should vary systematically with t, particularly in the shared model. A finer characterisation of the Swin corner tokens, including how they evolve after stage 3, is left for future work.

Appendix I Per-coordinate statistics are set by the Gram matrix

One can also summarise the stage-3 trajectories with statistics of individual feature coordinates: how often a coordinate changes sign between consecutive blocks, how much of its travel does not contribute to its net displacement and how often it reverses twice or more. Such statistics depend on the feature basis, which is not privileged: a rotation of the channels that is absorbed by the adjacent linear layers leaves the network’s function unchanged and changes them. This appendix shows that, for these trajectories, they are almost entirely determined by the Gram matrix G of the block increments, so they carry no information beyond the basis-independent statistics of Section 4.3.

Statistics.

For each image, with the two dominant channels removed, write Δxk,i for the change of coordinate i over the unit interval [k,k+1] and neti=∑kΔxk,i. Excess travel is 1−∑i|neti|/∑k,i|Δxk,i|; the monotone share is the mass-weighted share of coordinates whose nine increments all have the same sign; the sign-change rate is the share of consecutive pairs (k,k+1) with opposite signs; the reversed mass adds min(|Δxk,i|,|Δxk+1,i|) over those pairs, normalised by ∑k,i|Δxk,i|; and the repeated sign-change share is the mass-weighted share of coordinates that change sign at least twice. All statistics use every coordinate.

Surrogates.

We replace the real increments by two surrogates that keep G and discard everything else: Gaussian increments with the same Gram matrix, and the real increments after a random orthogonal rotation of the channels (three seeds each). Table 20 shows that both reproduce every statistic within 0.04 on the untied stage (at R=1 and R=100) and within 0.07 on the tied one. Tied coordinates are slightly more monotone than their surrogates, the only basis-dependent structure we find. A sign-change rate of 0.46 is thus what a consecutive cosine of 0.13 implies in any basis, and the random stage, at cosine 0, has a higher one. Per spatial position the picture is the same: the cosine between consecutive untied increments restricted to one position has a 10th percentile of −0.01 at R=1, and no position has a cosine below −0.3.

Table 20: Per-coordinate statistics of stage 3 at integer times (R=100, 500 images, two dominant channels removed; first runs) for the real increments and for Gaussian increments with the same Gram matrix (mean over three seeds; std ≤0.001).

Stagesourceexcessmonotonesign changereversedrepeated
Random (g∗)real0.6710.0460.5000.2940.966
Untiedreal0.5040.2000.4590.2520.915
Untiedsame Gram0.5280.1620.4580.2720.918
Tiedreal0.1910.7340.1150.0180.140
Tiedsame Gram0.2260.6730.1250.0200.161

Gaussian prediction.

If two increments are jointly Gaussian across coordinates with correlation c, a coordinate changes sign with probability arccos(c)/π. With the measured consecutive cosine, this predicts a sign-change rate of 0.458 for the untied stage at R=1, against 0.458 measured, and 0.221 for the tied stage, against 0.183 measured; the prediction and the measurement correlate at 0.89 to 0.91 across images and block pairs, and random blocks give 0.500.

A nuance on the rotation argument.

A literal channel-wise rotation absorbed by the adjacent linear layers would leave the network’s function unchanged and would change the per-coordinate statistics. ConvNeXt is not quite that object: the depthwise convolution, the per-channel LayerScale and the gains of LayerNorm all act per channel, and the massive activation shows that the channel basis is partly privileged (Appendix H). The empirical result nevertheless stands: Gaussian and randomly rotated surrogates that keep G reproduce the per-coordinate statistics to the tolerances above, so those statistics add nothing beyond the Gram geometry of Section 4.3.

Pooled coordinates.

Figure 18 shows the per-coordinate progress pi(t)=(xi(t)−xi(0))/neti pooled over images. The tied coordinates advance mostly monotonically, while the untied ones change course at block boundaries: across one boundary 46.0% of the coordinates of the velocity change sign, against 0.21% per micro-step inside a block. By the argument above, this is the per-coordinate trace of nearly orthogonal increments, not evidence that later blocks remove earlier ones; Section 4.3 shows that they do not. Script: scripts/undo_geometry_audit.py.

Figure

Figure 18: Stage-3 coordinates pooled over 500 images (R=100; two dominant channels removed; first runs). Top: weight-tied ConvNeXt; bottom: untied ConvNeXt-T. Left: per-coordinate progress pi(t) (median and P5–P95; thin lines: random coordinates). Middle: velocity toward the final value, coordinates sorted by peak time (red: toward the end state; blue: away). Right: phase density (pi,hi/neti).

Appendix J Transport coherence in other architectures

We compute the Gram statistics of Section 4.3 at native resolution (R=1) on the same 500 images for stage 3 of the torchvision Swin-T, ResNet-50 and ResNet-101 and for random stages with Xavier weights at gain 1 and at the gain g∗ that matches the trained field strength (Appendix E). Swin is reported with all tokens and without the four corner tokens (Appendix H). ResNet stages exclude the first block, which has a projection shortcut, and the field fi includes the ReLU applied after the sum, so n=5 and n=22. Nine, six or twenty-two orthogonal increments of equal length would give a straightness of 1/n (last column).

Table 21: Stage-3 Gram statistics at R=1 (mean over 500 images). sk<0: share of image and block pairs with negative survival; E: opposed fraction.

ModelinitStr.cosk,k+1cos¯minsksk<0E1/n
Swin-Ttrained0.8000.4270.2760.400%00.408
Swin-T, no cornerstrained0.6680.3190.2090.120%00.408
Swin-Tg=10.4170.0200.008−0.1433%0.0120.408
Swin-Tg∗=1.80.4180.0160.009−0.1437%0.0120.408
ResNet-50trained0.371−0.110−0.080−0.38100%0.1870.447
ResNet-50g=10.428−0.036−0.020−0.1875%0.0770.447
ResNet-50g∗=1.150.430−0.038−0.021−0.2175%0.0880.447
ResNet-101trained0.1580.009−0.022−0.9689%0.2440.213
ResNet-101g=10.229−0.0320.004−0.3050%0.0700.213
ResNet-101g∗=0.950.221−0.0290.002−0.3260%0.0690.213

Swin-T stage 3 is a coherent transport: straightness 0.80, consecutive cosine 0.43 and positive survival for every image and block. Without the corner tokens it is still well above its random baseline (0.67 against 0.42), so the coherence is not only the growth of the corner tokens along their own direction. Its random baseline sits at 1/6, as for ConvNeXt.

Both ResNets go the other way and are the only architectures here with genuine reversal: opposed fraction E is 0.19 (ResNet-50) and 0.24 (ResNet-101), against about 0.07–0.09 for their random baselines, while ConvNeXt and Swin have E=0. Trained ResNet-50 is less straight than its random baseline (0.37 against 0.43), with negative consecutive cosine (−0.11) and negative survival for every image and block; ResNet-101 behaves similarly (0.16 against 0.22 to 0.23). Random ResNet stages already show negative survival, unlike random ConvNeXt stages. One candidate is the ReLU after the sum, which makes fi include a rectification of x+Fi(x) that can remove part of x; we have not tested it, and we report the ResNet statistics as a fact about these checkpoints rather than as a mechanism. Script: scripts/transport_coherence_arch.py.