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.
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 Section 3: Simple rephrasing scalingSection 4: Megadocs 4.1: Stitched rephrasing4.2: Latent thoughts Section 5: Ensembles Appendix A.1: Student scaling C: Cross-document attention D.1: Mixing with stitching ablationD.2: Real data in synthetic stream helps
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.
Section 3: Simple rephrasing scaling
Section 4: Megadocs
4.1: Stitched rephrasing
Synthetic data orders
Stitched rephrasing scaling
4.2: Latent thoughts
Latent thoughts scaling
Section 5: Ensembles
Appendix
A.1: Student scaling
C: Cross-document attention
D.1: Mixing with stitching ablation
D.2: Real data in synthetic stream helps