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

非参数教学的注意力学习器

Nonparametric Teaching of Attention Learners

The University of Hong Kong(香港大学);King Abdullah University of Science and Technology(国王 Abdullah 科学与技术大学)

Chen Zhang, Jianghui Wang, Bingyang Cheng, Zhongtao Chen, Wendong XU, Cong Wang, Marco Canini, Francesco Orabona, Yik Chung WU, Ngai Wong

AI总结:

本文提出非参数教学范式AtteNT,通过非参数方法提升注意力学习器的学习效率,实验证明在LLM和ViTs上训练时间分别减少13.01%和20.58%且不影响准确性。

摘要:

注意力学习器,基于注意力机制的神经网络,例如Transformer,擅长学习序列与其相应属性之间的隐含关系,例如将给定的token序列映射到下一个token的概率。然而,学习过程往往成本较高。为了解决这个问题,我们提出了一种名为注意力神经教学(AtteNT)的新范式,通过非参数教学视角重新诠释学习过程。具体来说,后者提供了一个理论框架,通过示例选择来教授隐式定义的映射(即非参数化)。这种隐式映射通过密集的序列-属性对集合体现,AtteNT教师选择子集以加速注意力学习器的训练收敛。通过分析训练过程中注意力对基于参数的梯度下降的作用,并将由参数更新塑造的注意力学习器的演变过程通过非参数教学中的函数梯度下降重新表述,我们首次证明了教学注意力学习器与教学重要性自适应的非参数学习器是一致的。这些新发现使AtteNT能够提升注意力学习器的学习效率。具体来说,我们观察到对于LLM,训练时间减少了13.01%,对于ViTs减少了20.58%,涵盖了微调和从头训练的两种情况。关键的是,这些收益是在不牺牲准确性的情况下实现的;事实上,性能在多样化的下游任务中保持一致并经常得到增强。

英文摘要:

Attention learners, neural networks built on the attention mechanism, e.g., transformers, excel at learning the implicit relationships that relate sequences to their corresponding properties, e.g., mapping a given sequence of tokens to the probability of the next token. However, the learning process tends to be costly. To address this, we present a novel paradigm named Attention Neural Teaching (AtteNT) that reinterprets the learning process through a nonparametric teaching perspective. Specifically, the latter provides a theoretical framework for teaching mappings that are implicitly defined (i.e., nonparametric) via example selection. Such an implicit mapping is embodied through a dense set of sequence-property pairs, with the AtteNT teacher selecting a subset to accelerate convergence in attention learner training. By analytically investigating the role of attention on parameter-based gradient descent during training, and recasting the evolution of attention learners, shaped by parameter updates, through functional gradient descent in nonparametric teaching, we show for the first time that teaching attention learners is consistent with teaching importance-adaptive nonparametric learners. These new findings readily commit AtteNT to enhancing learning efficiency of attention learners. Specifically, we observe training time reductions of 13.01% for LLMs and 20.58% for ViTs, spanning both fine-tuning and training-from-scratch regimes. Crucially, these gains are achieved without compromising accuracy; in fact, performance is consistently preserved and often enhanced across a diverse set of downstream tasks.

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

↑