训练更快,性能更优:过参数化模型中的模块化自适应训练
Train Faster, Perform Better: Modular Adaptive Training in Over-Parameterized Models
AI总结:
该研究针对过参数化模型训练计算成本高的问题,提出模块化神经切线核概念分析模块学习能力,进而设计模块化自适应训练策略,实现训练成本减半且准确率优于基线的效果。
摘要:
尽管过参数化模型在深度学习领域应用广泛,但要实现合理训练对计算成本的要求极高。本研究对过参数化模型的细粒度模块化学习动力学展开探究,旨在获得更高效、更具成效的训练策略。实验证据表明,当将研究尺度缩小到网络模块(例如自注意力模型中的头)时,我们能观察到与各模块可训练性隐含关联的差异化学习模式。为描述这类模块化层面的学习能力,我们提出了名为模块化神经切线核(modular neural tangent kernel,mNTK)的新概念,并证实模块的学习质量与其mNTK的主特征值$λ_{\text{max}}$紧密相关。$λ_{\text{max}}$较大意味着该模块学习特征时收敛性更好,而$λ_{\text{max}}$极小的模块可能会对泛化性产生负面影响。受这一发现启发,我们提出了名为模块化自适应训练(Modular Adaptive Training,MAT)的新型训练策略,选择性更新$λ_{\text{max}}$超过动态阈值的模块,让模型聚焦于学习共性特征,忽略那些不一致的特征。与现有多数需在所有网络模块间执行完整反向传播(BP)循环的训练方案不同,MAT通过部分更新策略可大幅节省计算量,还能进一步提升性能。实验显示,MAT几乎将模型训练的计算成本减半,且准确率优于基线模型。
英文摘要:
Despite their prevalence in deep-learning communities, over-parameterized models convey high demands of computational costs for proper training. This work studies the fine-grained, modular-level learning dynamics of over-parameterized models to attain a more efficient and fruitful training strategy. Empirical evidence reveals that when scaling down into network modules, such as heads in self-attention models, we can observe varying learning patterns implicitly associated with each module's trainability. To describe such modular-level learning capabilities, we introduce a novel concept dubbed modular neural tangent kernel (mNTK), and we demonstrate that the quality of a module's learning is tightly associated with its mNTK's principal eigenvalue $λ_{\max}$. A large $λ_{\max}$ indicates that the module learns features with better convergence, while those miniature ones may impact generalization negatively. Inspired by the discovery, we propose a novel training strategy termed Modular Adaptive Training (MAT) to update those modules with their $λ_{\max}$ exceeding a dynamic threshold selectively, concentrating the model on learning common features and ignoring those inconsistent ones. Unlike most existing training schemes with a complete BP cycle across all network modules, MAT can significantly save computations by its partially-updating strategy and can further improve performance. Experiments show that MAT nearly halves the computational cost of model training and outperforms the accuracy of baselines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。