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

向序列分类中的自预训练理解迈进

Towards Understanding Self-Pretraining for Sequence Classification

Unit of Artificial Intelligence & Computer Systems, Università Campus Bio-Medico di Roma(人工智能与计算机系统单位,罗马生物医学学院);Unit of Advanced Robotics and Human-Centered Technologies, Università Campus Bio-Medico di Roma(先进机器人与以人为本技术单位,罗马生物医学学院);Department of Diagnostics and Intervention, Radiation Physics, Biomedical Engineering, Umeå University(诊断与介入部门,辐射物理,生物医学工程,乌梅拉大学);Max Planck Institute for Intelligent Systems(智能系统马克斯·普朗克研究所);ELLIS Institute Tübingen(图宾根ELLIS研究所);Tübingen AI Center(图宾根人工智能中心)

Omar Coser, Loredana Zollo, Paolo Soda, Antonio Orvieto

AI总结:

本文通过复制和系统消融Amos等人的研究,揭示了自预训练(SPT)在序列分类中提升性能的关键因素,发现标签监督在学习有用的查询-键注意力模式方面存在瓶颈,并通过简化理论框架证明了自预训练通过学习接近性交互来提升性能。

摘要:

Amos等人(2024)表明,通过首先使用掩码标记预测目标进行预训练,可以在不使用外部数据或增强的情况下显著提高Transformer模型在序列分类中的准确性,这一过程称为自预训练(SPT)。尽管Amos等人(2024)的主要目标是展示Transformer在Long-Range Arena(LRA)上的强大性能,但他们的流程引发了更多根本性问题:SPT如何驱动优化以获得更好的解决方案?为什么标准监督训练在Transformer中会失效?为了更好地理解这一点,我们复制并系统消除了Amos等人(2024)的发现。我们的消融分析表明,在研究的设置中,关键瓶颈并非深度或泛化本身,而是标签监督在随机初始化下学习有用查询-键注意力模式的能力。在最小化设置中,我们识别出学习接近性交互——将绝对位置编码转换为接近性偏置的注意力分数——是SPT带来的改进的关键来源。最后,在简化理论框架中,我们证明标签监督在某些注意力分数方向上可能是局部盲目的,而这些方向可以通过掩码重建来检测。

英文摘要:

Amos et al. (2024) showed that the accuracy of Transformer models in sequence classification can be significantly improved by first pretraining with a masked token prediction objective without external data or augmentation, a procedure referred to as self-pretraining (SPT). While the primary objective of Amos et al. (2024) was to showcase that Transformers can achieve strong performance on the Long-Range Arena (LRA), their pipeline raises more fundamental questions: How does SPT drive optimization to better solutions? Why can standard supervised training fail in Transformers? To better understand this, we replicate and systematically ablate the findings of Amos et al. (2024). Our ablations suggest that a central bottleneck in the studied settings is not depth or generalization alone, but the ability of label supervision to learn useful query-key Attention patterns from random initialization. With a minimal setup, we identify learning proximity interactions - turning absolute positional encodings into proximity-biased Attention scores - as a key source of the improvements brought by SPT. Finally, in a simplified theoretical setup, we show that label supervision can be locally blind to certain Attention-score directions that are instead detectable through masked reconstruction.

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

↑