记忆化曲线的因果估计
Causal Estimation of Memorisation Profiles
AI总结:
本文提出基于双重差分设计的高效方法,估计语言模型特定实例的记忆化曲线,发现记忆化在更大模型中更强且可从较小模型预测。
摘要:
理解语言模型中的记忆化具有实际和社会意义,例如研究模型的训练动态或防止版权侵权。先前的工作将记忆化定义为使用某个实例进行训练对该模型预测该实例能力的因果效应。这一定义依赖于反事实:即观察如果模型没有看到该实例会发生什么。现有方法难以提供对该反事实的计算高效且准确的估计。此外,它们通常估计的是某个模型架构的记忆化,而非特定模型实例的记忆化。本文填补了文献中的一个重要空白,提出了一种新的、有原则的且高效的方法来估计记忆化,该方法基于计量经济学中的双重差分设计。使用该方法,我们通过在整个训练过程中仅观察模型在一小部分实例上的行为,来表征模型的记忆化曲线——即其在训练过程中的记忆化趋势。在基于Pythia模型套件的实验中,我们发现记忆化(i)在更大的模型中更强且更持久,(ii)由数据顺序和学习率决定,以及(iii)在不同模型规模间具有稳定的趋势,从而使得较大模型中的记忆化可以从较小模型中预测。
英文摘要:
Understanding memorisation in language models has practical and societal implications, e.g., studying models' training dynamics or preventing copyright infringements. Prior work defines memorisation as the causal effect of training with an instance on the model's ability to predict that instance. This definition relies on a counterfactual: the ability to observe what would have happened had the model not seen that instance. Existing methods struggle to provide computationally efficient and accurate estimates of this counterfactual. Further, they often estimate memorisation for a model architecture rather than for a specific model instance. This paper fills an important gap in the literature, proposing a new, principled, and efficient method to estimate memorisation based on the difference-in-differences design from econometrics. Using this method, we characterise a model's memorisation profile--its memorisation trends across training--by only observing its behaviour on a small set of instances throughout training. In experiments with the Pythia model suite, we find that memorisation (i) is stronger and more persistent in larger models, (ii) is determined by data order and learning rate, and (iii) has stable trends across model sizes, thus making memorisation in larger models predictable from smaller ones.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。