arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.05495cs.LG
收藏

由Transformer学习的快捷方案损害连续组合推理能力

Shortcut Solutions Learned by Transformers Impair Continual Compositional Reasoning

Johns Hopkins Applied Physics Lab(约翰霍普金斯应用物理实验室)

William T. Redman, Erik C. Johnson, Brian Robinson

AI总结:

研究探讨了Transformer模型在连续学习中的表现,发现BERT学习快捷方案限制了泛化能力,而ALBERT通过循环结构提升了连续学习性能,但两者在跨经验组合任务中均表现不足。

摘要:

识别和利用跨领域共同特征是人类类比能力的核心,被认为是持续学习的关键。为有效实现此目标,需开发通用且灵活的计算策略。尽管近期对Transformer神经网络进行组合推理能力的研究较多,但对模型如何利用表示学习新相关经验的研究较少。为此,我们扩展了已发展的学习平等与群操作(LEGO)框架至连续学习(CL)环境(

英文摘要:

Identifying and exploiting common features across domains is at the heart of the human ability to make analogies, and is believed to be crucial for the ability to continually learn. To do this successfully, general and flexible computational strategies must be developed. While the extent to which Transformer neural network models can perform compositional reasoning has been the subject of intensive recent investigation, little work has been done to systematically understand how well these models can leverage their representations to learn new, related experiences. To address this gap, we expand the previously developed Learning Equality and Group Operations (LEGO) framework to a continual learning (CL) setting ("continual LEGO"). Using this continual LEGO experimental paradigm, we study the capability of feedforward and recurrent Transformer models to perform CL. We find that BERT, a canonical feedforward Transformer model, learns shortcut solutions that limits its ability to generalize and prevents strong forward transfer to new experiences. In contrast, we find evidence supporting the hypothesis that ALBERT, a recurrent version of BERT, learns a For loop-esque solution, which leads to better CL performance. When applying BERT and ALBERT models to a CL setting that requires composition across experiences, we find that both model families fail. Our investigation suggests that ALBERT models can have their performance drop rescued by use of training strategies that combine data across experiences, but this is not true for BERT models, where a detrimental shortcut solution becomes entrenched with initial training. Our results demonstrate that the recurrent ALBERT model may have an inductive bias better suited for CL and motivate future investigation of the interplay between Transformer architecture and computational solutions that emerge in modern models and tasks.

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

↑