arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.05560cs.CLcs.AI
收藏

基于线性注意力和轻量增强的样本高效语言建模

Sample-Efficient Language Modeling with Linear Attention and Lightweight Enhancements

Humboldt-Universität zu Berlin(洪堡大学柏林分校)

Patrick Haller, Jonas Golde, Alan Akbik

AI总结:

本文提出BLaLM模型,以线性时间mLSTM替代自注意力并结合短卷积、滑动窗口注意力等轻量增强,在BabyLM 2025低资源任务中实现样本高效语言建模,实验证明其零样本性能优于基线且Muon优化器有效降低困惑度。

摘要:

我们研究在BabyLM 2025共享任务约束下实现样本高效语言建模的架构与优化技术。我们的模型BLaLM用线性时间的mLSTM token混合器替代自注意力,并探索轻量增强方法,包括短卷积、带动态调制的滑动窗口注意力以及Hedgehog特征映射。为支持低资源环境下的训练,我们构建了一个强调可读性和教学结构的高质量语料库。在STRICT和STRICT-SMALL两个赛道上的实验表明:(1)线性注意力与滑动窗口注意力相结合能够持续提升零样本性能;(2)Muon优化器相比AdamW能稳定收敛过程并降低困惑度。这些结果凸显了在不依赖规模的情况下实现高效语言建模的有效策略。

英文摘要:

We study architectural and optimization techniques for sample-efficient language modeling under the constraints of the BabyLM 2025 shared task. Our model, BLaLM, replaces self-attention with a linear-time mLSTM token mixer and explores lightweight enhancements, including short convolutions, sliding window attention with dynamic modulation, and Hedgehog feature maps. To support training in low-resource settings, we curate a high-quality corpus emphasizing readability and pedagogical structure. Experiments across both STRICT and STRICT-SMALL tracks show that (1) linear attention combined with sliding window attention consistently improves zero-shot performance, and (2) the Muon optimizer stabilizes convergence and reduces perplexity over AdamW. These results highlight effective strategies for efficient language modeling without relying on scale.

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

↑