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

检索增强型Transformers的泛化能力研究

On the Generalization Ability of Retrieval-Enhanced Transformers

Chalmers University of Technology(查尔姆斯理工大学);Linköping University(林雪平大学);University of Gothenburg(哥德堡大学);Recorded Future(记录未来公司)

Tobias Norlund, Ehsan Doostmohammadi, Richard Johansson, Marco Kuhlmann

摘要:

检索增强型Transformer(RETRO)模型的最新研究表明,将内存从可训练权重卸载到检索数据库可以显着改善语言建模,并与尺寸大一个数量级的非检索模型的性能相匹配。有人建议,至少有一些这种性能增益是由于非平凡的推广的基础上,模型权重和检索。在本文中,我们试图更好地理解这两个组件的相对贡献。我们发现,检索的性能收益主要来自数据库和测试数据之间的重叠令牌,这表明比以前假设的非平凡的泛化。更一般地说,我们的研究结果指出了评估检索增强语言模型(如RETRO)的泛化的挑战,因为即使有限的令牌重叠也可能显着减少测试时间损失。我们在https://github.com/TobiasNorlund/retro上发布代码和模型

英文摘要:

Recent work on the Retrieval-Enhanced Transformer (RETRO) model has shown that off-loading memory from trainable weights to a retrieval database can significantly improve language modeling and match the performance of non-retrieval models that are an order of magnitude larger in size. It has been suggested that at least some of this performance gain is due to non-trivial generalization based on both model weights and retrieval. In this paper, we try to better understand the relative contributions of these two components. We find that the performance gains from retrieval largely originate from overlapping tokens between the database and the test data, suggesting less non-trivial generalization than previously assumed. More generally, our results point to the challenges of evaluating the generalization of retrieval-augmented language models such as RETRO, as even limited token overlap may significantly decrease test-time loss. We release our code and model at https://github.com/TobiasNorlund/retro

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

↑