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

探索监督训练中与神经坍缩相关的信息论度量

Exploring Information-Theoretic Metrics Associated with Neural Collapse in Supervised Training

School of Computer and Communication Engineering, University of Science and Technology Beijing(北京科技大学计算机与通信工程学院);Tsinghua University(清华大学);Shanghai AI Laboratory(上海人工智能实验室)

Kun Song, Zhiquan Tan, Bochao Zou, Jiansheng Chen, Huimin Ma, Weiran Huang

AI总结:

本文引入矩阵熵及两个新度量MIR和HDR,研究监督训练中神经坍缩的信息论特征,并提出跨模型对齐损失以优化预训练模型微调,实验验证了这些度量在解释训练动力学和grokking现象中的有效性。

摘要:

在本文中,我们引入矩阵熵作为研究监督学习的分析工具,探究数据表示和分类头向量的信息内容,以及它们在监督学习过程中之间的动态交互。我们的实验结果表明,矩阵熵能够有效捕捉神经网络在监督训练中接近神经坍缩时数据表示和分类头向量信息内容的变化,同时也可作为衡量数据样本间相似性的稳健度量。利用这一特性,我们提出了跨模型对齐(CMA)损失以优化预训练模型的微调。为了刻画接近神经坍缩状态的神经网络动力学,我们引入了两个新度量:矩阵互信息比(MIR)和矩阵熵差比(HDR),它们定量评估监督学习中数据表示与分类头之间的交互,并在神经坍缩状态下推导出理论最优值。我们的实验表明,MIR和HDR能有效解释神经网络中的各种现象,包括标准监督训练的动力学、线性模式连通性。此外,我们使用MIR和HDR分析了grokking的动力学,这是监督学习中一个引人入胜的现象,即模型在实现训练数据拟合很久之后意外地展现出泛化能力。

英文摘要:

In this paper, we introduce matrix entropy as an analytical tool for studying supervised learning, investigating the information content of data representations and classification head vectors, as well as the dynamic interactions between them during the supervised learning process. Our experimental results reveal that matrix entropy effectively captures the variations in information content of data representations and classification head vectors as neural networks approach Neural Collapse during supervised training, while also serving as a robust metric for measuring similarity among data samples. Leveraging this property, we propose Cross-Model Alignment (CMA) loss to optimize the fine-tuning of pretrained models. To characterize the dynamics of neural networks nearing the Neural Collapse state, we introduce two novel metrics: the Matrix Mutual Information Ratio (MIR) and the Matrix Entropy Difference Ratio (HDR), which quantitatively assess the interactions between data representations and classification heads in supervised learning, with theoretical optimal values derived under the Neural Collapse state. Our experiments demonstrate that MIR and HDR effectively explain various phenomena in neural networks, including the dynamics of standard supervised training, linear mode connectivity. Moreover, we use MIR and HDR to analyze the dynamics of grokking, which is a fascinating phenomenon in supervised learning where a model unexpectedly exhibits generalization long after achieving training data fit.

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

↑