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

重复样本下的涌现特性

Emergent properties with repeated examples

FAIR, Meta(FAIR,元公司);NYU CDS and Courant Institute(纽约大学数据科学中心与柯朗数学科学研究所)

François Charton, Julia Kempe

AI总结:

该研究通过算法生成的数学数据集探究Transformer性能与训练样本重复次数的关系,发现固定训练步数下重复小样本训练效果优于单次大样本,且双集训练可加速学习并提升性能,为研究深度学习中泛化与记忆的相互作用提供受控场景。

摘要:

我们研究了在算法生成的数据集上,Transformer的性能与训练样本重复次数的函数关系。针对最大公约数、模乘法和矩阵特征值这三个数学问题,我们表明:在训练步数固定的情况下,用规模更小的重复样本集训练的模型,表现优于用规模更大的单次使用样本集训练的模型。我们还证明了双集训练——即重复使用一小部分随机样本,同时对训练集的其余部分进行正常采样——能够实现更快的学习速度和更优的性能。这凸显出重复带来的益处可能超过数据多样性的益处。这些数据集和问题提供了一个受控环境,有助于阐明深度学习中泛化与记忆之间仍未被充分理解的相互作用。

英文摘要:

We study the performance of transformers as a function of the number of repetitions of training examples with algorithmically generated datasets. On three problems of mathematics: the greatest common divisor, modular multiplication, and matrix eigenvalues, we show that for a fixed number of training steps, models trained on smaller sets of repeated examples outperform models trained on larger sets of single-use examples. We also demonstrate that two-set training - repeated use of a small random subset of examples, along normal sampling on the rest of the training set - provides for faster learning and better performance. This highlights that the benefits of repetition can outweigh those of data diversity. These datasets and problems provide a controlled setting to shed light on the still poorly understood interplay between generalization and memorization in deep learning.

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

↑