Making a synthetic dataset for fine-tuning

Reddit r/LocalLLaMA News

Summary

The author proposes a pipeline for generating diverse synthetic reasoning training data for LLMs using formal solvers, and asks for existing work and advice on avoiding repetitive templates.

I've been thinking about building a pipeline to generate reasoning training data for LLMs, but I want to avoid the common failure mode of synthetic data where you just generate the same template with different numbers. The rough idea: Generate an abstract reasoning task (logic, planning, graph problems, math, algorithms, etc.) using a teacher model and/or procedural generators Convert the task into natural language Solve it with a formal solver/verifier where possible Keep only examples with verified solutions Collect attempts from multiple teacher models to create better training signals Use difficulty metrics to create a curriculum The main questions I have: Are there existing papers or projects that do something similar? What are good ways to prevent synthetic reasoning data from becoming repetitive? Is it better to generate tasks from formal grammars/simulators/environments rather than relying mainly on LLM-generated problems? Has anyone experimented with this approach for smaller open models? I'm especially interested in approaches that maximise diversity of reasoning patterns rather than simply scaling the number of samples. The goal is not to train a model directly, but to create a high-quality dataset for distillation. Ideally, the framework would be model-agnostic: the generator and solver could be swapped out for different teacher/student models or even used in a self-improvement loop. Disclosure: I used an LLM to rewrite this purely to sound clearer and fix spelling mistakes.
Original Article

Similar Articles

Structured Synthetic Reasoning Data for Arithmetic Fine-Tuning of Small Language Models

arXiv cs.AI

This paper investigates whether structured synthetic reasoning data can improve arithmetic reasoning in small language models under consumer-hardware constraints. Fine-tuning Qwen3-0.6B and Qwen3-1.7B with LoRA on a synthetic corpus derived from GSM8K improved exact-match accuracy by 12-13 percentage points, with strong transfer to related benchmarks.

Learning to Reason with Insight for Informal Theorem Proving

arXiv cs.CL

This paper proposes DeepInsightTheorem, a hierarchical dataset and Progressive Multi-Stage SFT training strategy to improve LLMs' informal theorem proving by teaching them to identify and apply core techniques through insight-aware reasoning.

Environment-free Synthetic Data Generation for API-Calling Agents

Hugging Face Daily Papers

This paper proposes an environment-free synthetic data generation approach for training API-calling LLM agents, using LLMs as on-the-fly digital world models to generate trajectories, and shows significant performance gains on challenging benchmarks.