Reproduce “Synthetic Data for any Differentiable Target” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Tristan Thrush, Sung Min Park, Herman Brunborg, Luke Bailey, Marcel Roed, Neil Band, Christopher Potts, Tatsunori Hashimoto

Dataset Policy Gradient (DPG) gives a synthetic-data generator per-example rewards by differentiating a target model’s metric through training with example loss weights. The authors use these metagradients to update the generator and demonstrate targeted weight patterns, hidden language objectives, and improved multilingual modeling. On Spanish LAMBADA, perplexity was 31.12 versus 228.57 for a Naive baseline, under this 10-million-token setup.

Key insights

  • Metagradient-based per-example rewards enable precise, fine-grained control over synthetic data generation, allowing for targeted manipulation of a language model's internal properties and behaviors.
  • The choice of optimizer (specifically Adam) within the target model's training process is crucial for effective metagradient computation and successful data attribution.
  • The framework can compel a language model to acquire diverse, non-obvious properties, from encoding specific weight patterns to performing cross-lingual rephrasing, without explicit translation prompts.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.