TL;DR
DECOMPX is a novel framework that recursively breaks down complex reasoning tasks (like math and coding) into a hierarchy of simpler, "atomic" sub-problems. By training small language models on this generated "reverse curriculum," researchers achieved significant performance gains over standard training, effectively teaching models the fundamental building blocks before asking them to solve the whole puzzle.
What Problem Does This Paper Address?
Teaching small language models (LMs) to solve complex, multi-step problems is notoriously difficult. Standard Supervised Fine-Tuning (SFT) usually involves showing a model a problem and its full solution. However, this is a "sink or swim" approach. In contrast, humans learn through a curriculum: we master basic arithmetic before tackling calculus.
Previous attempts at "curriculum learning" for AI usually involved ranking existing data from easy to hard. The authors argue this fails because standard datasets often lack the granularity needed to isolate specific skills. There are "missing rungs" on the ladder of difficulty. DECOMPX addresses this by using a powerful "teacher" model to explicitly generate those missing rungs through recursive decomposition.
Methods
The authors introduce DECOMPX, a two-phase approach designed to build a structured learning path from scratch:
- Recursive Problem Decomposition:
- A teacher model (like GPT-4o) takes a complex problem and its solution trace.
- It segments the solution into reasoning steps and generates a new, standalone sub-problem for each step.
- This process repeats recursively (up to a set depth), creating a tree of problems where the leaves are the most basic "atomic" tasks.
- Verification: To ensure quality, the teacher must solve these new sub-problems without seeing the original context. Only verified problems are kept.
- Difficulty Scoring & Curriculum Construction:
- The system extracts "concept tags" (e.g., "GCD," "Prime Factorization") for every sub-problem.
- It builds a Concept Dependency Graph (DAG) to map which concepts are prerequisites for others.
- A composite difficulty score is calculated based on Structural Complexity (how many sub-problems it breaks into) and Conceptual Depth (its position in the DAG).
- The student model is then trained in stages, starting with the lowest-scoring (easiest) data.
Datasets
The researchers evaluated DECOMPX across mathematical reasoning and code generation:
- MATH: A benchmark of competition-level math problems.
- AIME (2024/2025): Highly challenging problems from the American Invitational Mathematics Examination.
- CodeForces-CoTs: A dataset of competitive programming solutions in C++ used for training.
- HumanEval: Used to test the model's ability to generalize to Python code generation (an out-of-distribution task).
Key Insights and Ideas
- The "Reverse" Curriculum: Instead of just sorting what you have, you should create what's missing. By decomposing a hard problem, you provide the model with the "elemental skills" it needs to eventually synthesize a complex solution.
- Atomic Skills over Rote Memorization: By isolating steps like "Exponentiation" or "Fraction Simplification," the model learns the logic of the operation rather than just trying to predict the next token in a long, complex string.
- Data-Driven Difficulty: Using a DAG to define difficulty is more robust than simple heuristics (like sentence length). It captures the actual mathematical hierarchy of the task.
- Generalization Power: Models trained on decomposed data performed better on unseen types of problems. For example, a model trained on AIME 2024 via DECOMPX generalized much better to the AIME 2025 set than a model trained with standard SFT, which tended to overfit.
Key Results
The results show that "less is more" when the data is structured correctly. Training on a curriculum of decomposed tasks yields substantial improvements over standard SFT.
- MATH-500: A Qwen2.5-1.5B model reached 51.6% accuracy using DECOMPX + Curriculum, outperforming standard SFT (47.6%) and even larger models like Llama-3-70B (42.5%) on this specific benchmark.
- AIME 2025: On this extremely difficult set, the DECOMPX-trained model achieved 16.7%, while standard SFT on the same base model plummeted to 3.3% (likely due to overfitting on the small, complex original dataset).
- Coding: On HumanEval, a model trained on decomposed C++ problems saw its Python pass@1 score jump from 36.0% to 57.9%, proving the reasoning skills learned are language-agnostic.
Limitations and Future Work
- Teacher Dependency: The method relies heavily on a high-quality teacher model (like GPT-4o). If the teacher hallucinates or decomposes a problem incorrectly, the student learns garbage.
- Domain Constraints: While it works well for math and code (where logic is modular), it might be harder to apply to creative writing or subjective tasks where "atomic steps" are less clear.
- Computational Cost: Recursively generating and verifying thousands of sub-problems is computationally expensive compared to standard training.
- Future Directions: The authors suggest exploring "weak-to-strong" generalization, where the student model eventually learns to perform its own decompositions, potentially leading to a self-improving loop.
Summary updated