arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.01737cs.LG
收藏

启蒙期:提升深度神经网络(DNN)性能

Enlightenment Period Improving DNN Performance

Computer Network Information Center, Chinese Academy of Sciences(中国科学院计算机网络信息中心)

Tiantian Liu, Meng Wan, Jue Wang, Ningming Nie

AI总结:

本研究定义了DNN训练初始的启蒙期,揭示该阶段Mixup增强的双重效应,提出三种适配不同场景的训练数据调整策略,经多架构多数据集验证可有效提升模型性能,为性能优化提供新视角。

摘要:

深度神经网络训练的起始阶段存在一个短暂却关键的时期,从训练开始持续到准确率达到约50%。在此阶段,无序的表征会快速向有序结构转变,我们将这一阶段称为启蒙期(Enlightenment Period)。通过基于相变理论的理论建模与实验验证,我们揭示了在此阶段应用Mixup数据增强具有双重效应:它会引入阻碍性能的梯度干扰效应(Gradient Interference Effect),同时也能提供有益的激活复苏效应(Activation Revival Effect),为饱和神经元恢复梯度更新。我们进一步证明,随着样本集规模或模型参数规模的增大,这种负面干扰会减弱,从而改变两种效应之间的平衡。基于这些发现,我们提出了三种仅通过调整这一短暂时期内的训练数据分布来提升性能的策略:适用于小规模场景的Mixup暂停策略(Mixup Pause Strategy)、适用于存在欠拟合问题的大规模场景的Alpha提升策略(Alpha Boost Strategy),以及适用于无法应用Mixup的任务(例如时序任务和大语言模型)的高损失样本移除策略(High-Loss Removal Strategy)。大量实验表明,这些策略在CIFAR、ImageNet-1K等数据集上,于ViT、ResNet等多种架构中均取得了更优的性能。最终,本研究通过策略性地利用训练早期短暂且关键阶段的动态特性,为提升模型性能提供了全新视角。代码可在https://anonymous.4open.science/r/code-A5F1/获取。

英文摘要:

The start of deep neural network training is characterized by a brief yet critical phase that lasts from the beginning of the training until the accuracy reaches approximately 50\%. During this phase, disordered representations rapidly transition toward ordered structure, and we term this phase the Enlightenment Period. Through theoretical modeling based on phase transition theory and experimental validation, we reveal that applying Mixup data augmentation during this phase has a dual effect: it introduces a Gradient Interference Effect that hinders performance, while also providing a beneficial Activation Revival Effect to restore gradient updates for saturated neurons. We further demonstrate that this negative interference diminishes as the sample set size or the model parameter size increases, thereby shifting the balance between these two effects. Based on these findings, we propose three strategies that improve performance by solely adjusting the training data distribution within this brief period: the Mixup Pause Strategy for small-scale scenarios, the Alpha Boost Strategy for large-scale scenarios with underfitting, and the High-Loss Removal Strategy for tasks where Mixup is inapplicable (e.g., time series and large language models). Extensive experiments show that these strategies achieve superior performance across diverse architectures such as ViT and ResNet on datasets including CIFAR and ImageNet-1K. Ultimately, this work offers a novel perspective on enhancing model performance by strategically capitalizing on the dynamics of the brief and crucial early stages of training. Code is available at https://anonymous.4open.science/r/code-A5F1/.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑