Lune

ICLR2023顶会

Provable Memorization Capacity of Transformers

Junghwan Kim, Michelle Kim, Barzan Mozafari

出版方
2023年份
30顶会引用

摘要

Quantifying memorization capacity is essential for understanding the expressiveness and generalizability of deep learning model architectures. However, the memorization capacity of the Transformer architecture has yet to be explored. In this work, we present the first study of the memorization capacity of the Transformer architecture. We prove that Transformers are capable of memorizing NN sequence-to-sequence mappings of length nn with dd-dimensional input tokens using O~(d+n+nN)\tilde{O}(d + n + \sqrt{nN}) parameters. Our theory supports memorization both with and without permutation equivariance, utilizing positional encodings in the latter case. Building on our theory, we also analyze the memorization capacity of Transformers in the sequence classification and language modeling tasks. To verify these theoretical findings, we conduct experiments analyzing the memorization capacity of Transformers in the natural language domain.

问问这篇 Paper

问问你的智能体。

Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。

可以从这些问题问起

智能体调用

Lunesearch_papers

在 Lune 里问

免费开始,无需绑卡

引用它的顶会 Paper30

问问它们各自怎么用它

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖