atlas

Research map / Large language models / Agents, code and math

TreeSynth: Synthesizing Diverse Data from Scratch via Tree-Guided Subspace Partitioning

NeurIPS 2025 · Large language models › Agents, code and math · approach: LLMs for optimization and heuristics · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes TreeSynth, which recursively partitions a task's data space into a tree of mutually exclusive, exhaustive subspaces with LLMs and synthesizes samples per leaf, yielding more diverse synthetic data for math, code and psychology tasks.

Problem

LLM-based data synthesis from scratch suffers from low diversity, repetition and biased distributions as data scale grows, due to model biases, limited seed data and low-variation prompts.

Approach

Treat the task data space as the root of a decision-tree-like spatial partitioning tree: LLMs pick a criterion and mutually exclusive, exhaustive attribute values at each node, and samples are generated within each leaf subspace; the same tree can route and rebalance existing datasets.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use TreeSynth-generated data instead of Persona Hub dataQwen2.5-7B · GSM8Kaccuracy: 83.24 -> 86.13Helped
Use TreeSynth-generated data instead of Persona Hub dataQwen2.5-7B · MATHaccuracy: 66.22 -> 66.84Helped
Use TreeSynth-generated data instead of Persona Hub dataQwen2.5-7B · MBPPaccuracy: 61.6 -> 62.8Helped
Use TreeSynth-generated data instead of Temperature Sampling dataQwen2.5-7B · HumanEvalaccuracy: 80.49 -> 80.49No clear effect
Use TreeSynth-generated data instead of Persona Hub dataLLaMA3.1-8B · SimpleToMaccuracy: 85.7 -> 88.0Helped
Apply TreeSynth-guided data balancing (ablation)Temperature Sampling data, trained on LLaMA3.1-8B · SimpleToMaccuracy: 78.9 -> 86.8Helped
Apply TreeSynth-guided data balancing (ablation)Persona Hub data, trained on LLaMA3.1-8B · SimpleToMaccuracy: 85.7 -> 88.6Helped
Apply TreeSynth-guided data balancing (ablation)Persona Hub data · SimpleToMdiversity (cosine similarity): 0.33 -> 0.32Helped

Surprising findings

Limitations

Experimental setup

Datasets: GSM8K training set MATH training set Code Alpaca (Python subset) SimpleToM

Benchmarks: GSM8K MATH MBPP HumanEval SimpleToM

Metrics: accuracy pairwise cosine similarity diversity (lower is more diverse)

Baselines: Vanilla Data Temperature Sampling Evol-Instruct Persona Hub Zero-Shot Few-Shot

Builds on: decision trees Evol-Instruct Persona Hub LoRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy