English

Emergent properties with repeated examples

Machine Learning 2024-10-10 v1 Artificial Intelligence

Abstract

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.

Keywords

Cite

@article{arxiv.2410.07041,
  title  = {Emergent properties with repeated examples},
  author = {François Charton and Julia Kempe},
  journal= {arXiv preprint arXiv:2410.07041},
  year   = {2024}
}
R2 v1 2026-06-28T19:14:42.013Z