Forge
Skip to main content

Data-efficient pre-training by scaling synthetic megadocs

Last updated: May 27, 2026
We open-source the logs for all of the synthetic data runs we perform on Marin. We conduct scaling analysis and downstream benchmark evaluation externally. We hope that releasing these logs allows the community to analyze our collection of pre-training runs for interesting insights.
Paper
Abstract: Synthetic data augmentation has emerged as a promising solution when pre-training is constrained by data rather than compute. We study how to design synthetic data algorithms that achieve better loss scaling: not only lowering loss at finite compute but especially as compute approaches infinity. We first show that pre-training on web data mixed with synthetically generated rephrases improves i.i.d. validation loss on the web data, despite the synthetic data coming from an entirely different distribution. With optimal mixing and epoching, loss and benchmark accuracy improve without overfitting as the number of synthetic generations grows, plateauing near 1.48x data efficiency at 32 rephrases per document. We find even better loss scaling under a new perspective: synthetic generations from the same document can form a single substantially longer megadocument instead of many short documents. We show two ways to construct megadocs: stitching synthetic rephrases from the same web document or stretching a document by inserting rationales. Both methods improve i.i.d. loss, downstream benchmarks, and especially long-context loss relative to simple rephrasing, increasing data efficiency from 1.48x to 1.80x at 32 generations per document. Importantly, the improvement of megadocs over simple rephrasing widens as more synthetic data is generated. Our results show how to design synthetic data algorithms that benefit more from increasing compute when data-constrained.



Section 2: Real data only baselines

We replicate the regularized baselines (epoching and weight decay) which don't have access to synthetic data from Pre-training under infinite compute. We refer to the 300M model with 3.55 loss as the "Real Data Only" baseline in the paper.

1 selected runs
1 selected runs
1 selected runs
1 selected runs



Section 3: Simple rephrasing scaling


1 selected runs
1 selected runs
1 selected runs
1 selected runs
1 selected runs



Section 4: Megadocs

4.1: Stitched rephrasing

Synthetic data orders


3 selected runs
3 selected runs
2 selected runs
3 selected runs


Stitched rephrasing scaling



2 selected runs
2 selected runs
2 selected runs
2 selected runs
2 selected runs


4.2: Latent thoughts

Latent thoughts scaling


3 selected runs
3 selected runs
3 selected runs
3 selected runs
3 selected runs


Section 5: Ensembles


4,333 selected runs
4,333 selected runs
4,333 selected runs
4,333 selected runs
4,333 selected runs




Appendix

A.1: Student scaling


2 selected runs
3 selected runs
3 selected runs
1 selected runs
1 selected runs
1 selected runs




C: Cross-document attention


1 selected runs
2 selected runs
3 selected runs
3 selected runs
4 selected runs


D.1: Mixing with stitching ablation


4 selected runs
4 selected runs
2 selected runs


D.2: Real data in synthetic stream helps


6 selected runs
5 selected runs
6 selected runs
6 selected runs