Reproduce “LLM2LLM: Boosting LLMs with Novel Iterative Data Enhancement” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

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

About this paper

Nicholas Lee, Thanakul Wattanawong, Sehoon Kim, Karttikeya Mangalam, Sheng Shen, Gopala Anumanchipalli, Michael W. Mahoney, Kurt Keutzer and 1 more

An iterative data enhancement framework, LLM2LLM, leverages a teacher LLM to strategically generate synthetic training examples based on a student LLM's incorrect answers on a small seed dataset. This method boosts the student model's performance in low-data scenarios, achieving up to a 52.6% increase in accuracy on tasks like TREC question classification and outperforming existing data augmentation techniques.

Key insights

  • Targeted data augmentation, focusing on examples the student model answers incorrectly, is significantly more effective and efficient than indiscriminate data generation.
  • Restarting the student LLM's fine-tuning from its original pre-trained state in each iteration prevents overfitting to small seed data and yields superior performance.
  • Generating synthetic data exclusively from the original seed examples (and not previously augmented data) prevents error propagation and controls the augmented dataset's growth.

Summary by alphaXiv.

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