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

序列建模架构如何影响预训练语言模型的基础能力?探索避免基础能力退化的关键架构设计原则

How Does Sequence Modeling Architecture Influence Base Capabilities of Pre-trained Language Models? Exploring Key Architecture Design Principles to Avoid Base Capabilities Degradation

Research Center for Social Computing and Interactive Robotics(社会计算与交互机器人研究中心);Harbin Institute of Technology(哈尔滨工业大学);iFLYTEK Co., Ltd(iFLYTEK公司)

Xin Lu, Yanyan Zhao, Si Wei, Shijin Wang, Bing Qin, Ting Liu

AI总结:

本研究探讨序列建模架构对预训练语言模型基础能力的影响,提出有限领域预训练设置揭示差异,总结出架构需具备全序列任意选择能力以避免基础能力退化,并用Top-1选择架构验证该原则。

摘要:

以Transformer为代表的预训练语言模型已被证明具有强大的基础能力,而Transformer中具有代表性的自注意力机制已成为序列建模架构中的经典。与提出序列建模架构以提高注意力机制效率的工作不同,本工作关注序列建模架构对基础能力的影响。具体而言,我们关心的问题是:序列建模架构究竟如何影响预训练语言模型的基础能力?在本工作中,我们首先指出现有架构设计工作中普遍采用的混合领域预训练设置无法充分揭示不同架构之间基础能力的差异。为解决这一问题,我们提出了一种带分布外测试的有限领域预训练设置,该设置能够在早期阶段成功揭示架构之间基础能力的显著差异。接下来,我们分析了有状态序列建模架构的基础能力,发现与Transformer相比,它们的基础能力表现出显著退化。然后,通过一系列架构组件分析,我们总结出一条关键架构设计原则:序列建模架构需要具备全序列任意选择能力,以避免基础能力退化。最后,我们使用一种极其简单的Top-1元素选择架构实证验证了这一原则,并将其进一步推广到更实用的Top-1块选择架构。实验结果证明了我们提出的序列建模架构设计原则,并表明我们的工作可为未来的架构改进和新颖设计提供有价值的参考。

英文摘要:

Pre-trained language models represented by the Transformer have been proven to possess strong base capabilities, and the representative self-attention mechanism in the Transformer has become a classic in sequence modeling architectures. Different from the work of proposing sequence modeling architecture to improve the efficiency of attention mechanism, this work focuses on the impact of sequence modeling architectures on base capabilities. Specifically, our concern is: How exactly do sequence modeling architectures affect the base capabilities of pre-trained language models? In this work, we first point out that the mixed domain pre-training setting commonly adopted in existing architecture design works fails to adequately reveal the differences in base capabilities among various architectures. To address this, we propose a limited domain pre-training setting with out-of-distribution testing, which successfully uncovers significant differences in base capabilities among architectures at an early stage. Next, we analyze the base capabilities of stateful sequence modeling architectures, and find that they exhibit significant degradation in base capabilities compared to the Transformer. Then, through a series of architecture component analysis, we summarize a key architecture design principle: A sequence modeling architecture need possess full-sequence arbitrary selection capability to avoid degradation in base capabilities. Finally, we empirically validate this principle using an extremely simple Top-1 element selection architecture and further generalize it to a more practical Top-1 chunk selection architecture. Experimental results demonstrate our proposed sequence modeling architecture design principle and suggest that our work can serve as a valuable reference for future architecture improvements and novel designs.

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

↑