Less Data, Faster Training: repeating smaller datasets speeds up learning via sampling biases

· Source: cs.LG updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Mathematics & Computational Sciences · Depth: Expert, extended

Summary

A study investigates the "small-vs-large gap," a counterintuitive phenomenon where training on smaller datasets with increased repetitions leads to faster learning and reduced computational cost compared to larger datasets. This effect is observed across various algorithmic tasks, architectures like MLPs and Transformers, and optimizers, and cannot be fully explained by existing theories such as CSQ-SQ differences or gradient variance reduction. The research posits that this speedup stems from favorable optimization biases induced by dataset sampling, which promotes appropriate layer-wise growth. Empirical evidence, including a 100x compute speedup for (20,6)-sparse parity using N=2^14 samples versus N=2^20, and theoretical analysis (Theorem 1) confirm that smaller datasets reduce convergence steps. The speedup even persists with random labels and full-batch gradient updates, highlighting sampling bias as a key mechanism.

Key takeaway

For machine learning engineers optimizing training compute, you should proactively consider using smaller datasets with increased repetitions, especially for reasoning tasks. This strategy, which utilizes beneficial sampling biases for faster layer-wise growth, can significantly reduce total compute, as demonstrated by 100x speedups. You might also explore multi-phase training schedules to balance rapid initial learning with robust generalization.

Key insights

Smaller datasets with repetition accelerate learning by inducing beneficial sampling biases that adjust layer-wise growth.

Principles

Method

The paper analyzes a 2-phase training process for 2-layer networks with quadratic activation, using correlation loss and projected updates. Phase 1 uses a small dataset to grow the outer weight, followed by Phase 2 with full population gradients.

In practice

Topics

Best for: Research Scientist, AI Engineer, NLP Engineer, AI Scientist, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.LG updates on arXiv.org.