[论文解读] The Disappearance of Timestep Embedding in Modern Time-Dependent Neural Networks
本文揭示了现代时变神经网络中一个关键的架构缺陷:时间步嵌入在归一化过程中消失,导致神经ODE和扩散模型等模型的时间感知能力被削弱。作者提出了三种解决方案——位置时间步嵌入、零偏置初始化和减少组归一化,以恢复时间依赖性,并在神经ODE和扩散模型基准测试中显著提升性能。
Dynamical systems are often time-varying, whose modeling requires a function that evolves with respect to time. Recent studies such as the neural ordinary differential equation proposed a time-dependent neural network, which provides a neural network varying with respect to time. However, we claim that the architectural choice to build a time-dependent neural network significantly affects its time-awareness but still lacks sufficient validation in its current states. In this study, we conduct an in-depth analysis of the architecture of modern time-dependent neural networks. Here, we report a vulnerability of vanishing timestep embedding, which disables the time-awareness of a time-dependent neural network. Furthermore, we find that this vulnerability can also be observed in diffusion models because they employ a similar architecture that incorporates timestep embedding to discriminate between different timesteps during a diffusion process. Our analysis provides a detailed description of this phenomenon as well as several solutions to address the root cause. Through experiments on neural ordinary differential equations and diffusion models, we observed that ensuring alive time-awareness via proposed solutions boosted their performance, which implies that their current implementations lack sufficient time-dependency.
研究动机与目标
- 调查现代时变神经网络中时间步嵌入消失这一架构脆弱性。
- 分析为何时间感知能力在神经ODE和扩散模型等模型中因归一化层而退化。
- 将此问题的根本原因归因于时间步嵌入与批归一化/实例归一化之间的相互作用。
- 提出实用且与架构兼容的解决方案,以增强时间依赖性,而无需改变核心模型设计。
- 通过实证验证这些解决方案在神经ODE和扩散模型上的有效性。
提出的方法
- 通过在时间步特征与输入特征图拼接前注入可学习的位置编码,引入位置时间步嵌入。
- 对ConcatConv层的卷积分支应用零偏置初始化,以防止时间步信号在初始阶段被抑制。
- 减少组归一化(GN)中的组数,以增加每个归一化单元中时间步嵌入元素的数量,从而缓解梯度消失。
- 使用统一的架构分析框架比较神经ODE和扩散模型的架构,揭示其共享的设计模式,这些模式会放大消失问题。
- 在神经ODE和扩散模型上进行受控实验,评估每种解决方案对性能和时间感知能力的影响。
- 分析常微分方程求解器行为(如NFE),将时间步嵌入消失与NFE增加联系起来,并通过平衡时间依赖性提出稳定化方法。

实验结果
研究问题
- RQ1为何时间步嵌入在神经ODE和扩散模型等时变神经网络的归一化层中会消失?
- RQ2归一化层的架构设计(如GN、BN)在多大程度上导致了时间感知能力的退化?
- RQ3是否可以在不修改神经ODE或扩散模型核心架构的前提下缓解时间步嵌入消失问题?
- RQ4不同架构干预措施——位置嵌入、零偏置、减少组数——如何影响模型性能和时间感知能力?
- RQ5时间步嵌入消失现象是否是神经ODE中使用常微分方程求解器时NFE增加的根本原因?
主要发现
- 在时变神经网络中,时间步嵌入容易在归一化过程中消失,尤其是在使用高组数的组归一化时。
- 由于神经ODE和扩散模型均采用通过ConcatConv嵌入时间步特征并应用归一化层的共享架构模式,该消失效应在两者中均被观察到。
- 引入位置时间步嵌入在神经ODE和扩散模型基准测试中显著提升了性能,表明时间感知能力得到增强。
- 在ConcatConv的卷积分支中采用零偏置初始化,可稳定时间步信号的初始梯度流动,减少早期抑制。
- 减少组归一化中的组数可增加每个归一化单元中的时间步嵌入元素数量,从而缓解梯度消失并提高模型准确率。
- 所提出的解决方案在多个数据集和模型变体中均带来一致的性能提升,表明当前实现存在时间依赖性不足的问题。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。