Multi-epoch training (Machine learning): Difference between revisions
Created page with "In machine learning, '''multi-epoch training''' is the practice of feeding a model the same training data multiple times (epoches). According to experiments ran by name-author, result from repeating the same training data up to 4 times is comparable to training entirely from fresh data for the same total token count.<ref>{{#cite:Q3174}}</ref> === Mathematical modelling === File:Multi-epoch tr..." |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Category:Machine learning]] | |||
In [[machine learning]], '''multi-epoch training''' is the practice of feeding a model the same training data multiple times (epoches). | In [[machine learning]], '''multi-epoch training''' is the practice of feeding a model the same training data multiple times (epoches). | ||
Latest revision as of 08:25, 12 November 2026
In machine learning, multi-epoch training is the practice of feeding a model the same training data multiple times (epoches).
According to experiments ran by Muennighoff et al. (2023), result from repeating the same training data up to 4 times is comparable to training entirely from fresh data for the same total token count.[1]
Mathematical modelling

Let
- $D$ = corpus size: the number of unique tokens available for training,
- $R$ = number of repetitions,
- $R^{\ast}$ = repetition ceiling parameter, to be determined experimentally
For any given model architecture, the efficacity of a multi-epoch training with $R$ epochs can be measured by the amount of fresh data required to produce equivalent result, known as the effective corpus size $D_\text{eff}$.
Muennighoff et al. (2023) experimentally determined:
$$ D_{\text{eff}} = D\!\left(1+R^{\ast}\!\left(1-e^{-R/R^{\ast}}\right)\right). $$
Finite ceiling

As $R\to\infty$,
$$ D_{\text{eff}}\to D(1+R^{\ast}), $$
so repetition can raise effective corpus size only up to a finite limit.
According to experimental results from Muennighoff et al. (2023), $R^* \approx 15$ for natural language corpus.