把残差块重复应用 R 次:训练后的网络每个块各是一条独立 ODE
What Extra Euler Steps Reveal About Residual Networks: Feature Dynamics in Weight-Tied and Untied Stages
这篇论文的探针方法很妙:不重训模型,推理时把每个残差块重复应用 128 次就能判断网络到底是不是在解 ODE。结论对做 looped 模型、权重绑定或架构研究的人直接有用,还附了能跑的代码。
arXiv 论文(编号 2612.06303)提出一种无需重训练的推理期探针:把每个残差块按步长 1/R 应用 R 次,在 ConvNeXt、Swin 和 ResNet 上测试。128 倍细分后 ImageNet top-1 精度损失不到 1 个点,而改变积分区间会让精度跌到约 1%,相邻块权重插值则损失 8 到 23 个点。这说明一个训练好的 stage 不是“深度上权重平滑变化的单一 ODE”,而是“每个块各一条 ODE 的序列”。
细化后的路径还揭示了特征运输方式:ConvNeXT-T 的 stage 3 有九个块,各自写入近似正交、后续块不再撤销的方向,路径在每个块边界急转弯。当九个块共享同一套权重时,同一 stage 变成单一平滑流——参数减少 34% 只损失 1.40 个 top-1 点,且共享权重模型的中间状态(九块中第三块后)被冻结的后层分类准确率达 72.2%,标准模型仅 32.5%。作者指出探针不限于视觉,looped 语言模型是下一个测试对象,代码已开源在 GitHub。
What Extra Euler Steps Reveal About Residual Networks: Feature Dynamics in Weight-Tied and Untied Stages
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
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include ResNet, ConvNeXt, ImageNet, papers.
Source attribution: curated from arXiv cs.LG (@Jaume Ivars Grimalt).