arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.17182cs.LG
收藏

Transformer类模型中稀疏率降低的深入研究

An In-depth Investigation of Sparse Rate Reduction in Transformer-like Models

School of Computing and Data Science(计算与数据科学学院);The University of Hong Kong(香港大学);Institute of Data Science(数据科学研究院)

Yunzhe Hu, Difan Zou, Dong Xu

AI总结:

针对SRR在Transformer类模型中优化情况不明及与泛化因果关系不清的问题,通过分析CRATE分层行为推导不同实现,验证SRR作为复杂度度量的预测力优于基准且可通过正则化提升泛化,为相关模型设计提供启发。

摘要:

深度神经网络长期以来因“黑箱”特性受到批评。为揭示现代神经架构的内部工作机制,近期一项研究[yu2024white]提出了一种名为稀疏率降低(Sparse Rate Reduction,SRR)的信息论目标函数,并将其展开优化解释为类Transformer模型Coding Rate Reduction Transformer(CRATE,编码率降低Transformer)。然而,该研究主要聚焦于基础实现,SRR在实践中是否被优化以及其与泛化能力的因果关系仍不明确。本文超越该研究,通过理论和实证分析CRATE的分层行为,推导出不同实现方式。为揭示SRR对泛化能力的预测力,我们收集了由不同实现和超参数生成的模型变体,基于SRR与泛化能力的相关性将其作为复杂度度量进行评估。令人惊讶的是,我们发现SRR具有正相关系数,且优于路径范数和基于锐度的其他基准度量。此外,我们证明在基准图像分类数据集上,使用SRR作为正则化可提升泛化能力。我们希望本文能为利用SRR设计原则性模型并研究其泛化能力提供启发。

英文摘要:

Deep neural networks have long been criticized for being black-box. To unveil the inner workings of modern neural architectures, a recent work \cite{yu2024white} proposed an information-theoretic objective function called Sparse Rate Reduction (SRR) and interpreted its unrolled optimization as a Transformer-like model called Coding Rate Reduction Transformer (CRATE). However, the focus of the study was primarily on the basic implementation, and whether this objective is optimized in practice and its causal relationship to generalization remain elusive. Going beyond this study, we derive different implementations by analyzing layer-wise behaviors of CRATE, both theoretically and empirically. To reveal the predictive power of SRR on generalization, we collect a set of model variants induced by varied implementations and hyperparameters and evaluate SRR as a complexity measure based on its correlation with generalization. Surprisingly, we find out that SRR has a positive correlation coefficient and outperforms other baseline measures, such as path-norm and sharpness-based ones. Furthermore, we show that generalization can be improved using SRR as regularization on benchmark image classification datasets. We hope this paper can shed light on leveraging SRR to design principled models and study their generalization ability.

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

↑