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

大规模记忆马赛克

Memory Mosaics at scale

New York University, New York(纽约大学);FAIR, Meta Inc.(FAIR、Meta公司)

Jianyu Zhang, Léon Bottou

AI总结:

本研究展示了大规模记忆马赛克在扩展到大语言模型规模和真实数据集后,在训练知识学习和新任务执行方面优于transformers。

摘要:

记忆马赛克[张等人,2025],一种关联记忆网络,已在中等规模网络(GPT-2规模)和合成小数据集上展示了吸引人的组合和上下文学习能力。本研究显示,当将记忆马赛克扩展到大语言模型规模(llama-8B规模)和真实世界数据集时,这些有利特性仍然存在。为此,我们将记忆马赛克扩展到10B规模,训练其在一个万亿token上,引入了几个架构修改(

英文摘要:

Memory Mosaics [Zhang et al., 2025], networks of associative memories, have demonstrated appealing compositional and in-context learning capabilities on medium-scale networks (GPT-2 scale) and synthetic small datasets. This work shows that these favorable properties remain when we scale memory mosaics to large language model sizes (llama-8B scale) and real-world datasets. To this end, we scale memory mosaics to 10B size, we train them on one trillion tokens, we introduce a couple architectural modifications ("Memory Mosaics v2"), we assess their capabilities across three evaluation dimensions: training-knowledge storage, new-knowledge storage, and in-context learning. Throughout the evaluation, memory mosaics v2 match transformers on the learning of training knowledge (first dimension) and significantly outperforms transformers on carrying out new tasks at inference time (second and third dimensions). These improvements cannot be easily replicated by simply increasing the training data for transformers. A memory mosaics v2 trained on one trillion tokens still perform better on these tasks than a transformer trained on eight trillion tokens.

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

↑