Reasoning Core: Designing Broad Procedural Data for Completion-Supervised Reasoning Training
By Damien Sileo, Valentin Lacombe, Dimitri Kachler
"Introduces 50 procedural generators for verifiable reasoning tasks and shows that compact targets and calibrated difficulty are key for completion-supervised fine-tuning, outperforming existing procedural datasets on DROP, LogiQA, ARC-Challenge."
Abstract
Procedural generators produce useful verifiable reasoning problems at scale, but have received less attention as data for completion-supervised fine-tuning. We introduce Reasoning Core, a collection of 50 generators spanning mathematics, logic, planning, state tracking, formal languages, structured data, games, causality, and code, with semantic scorers, difficulty controls, and task evaluators. Under a matched completion-supervised protocol, we compare Reasoning Core with Procedural Warmup, Reasoning Gym, and SynLogic across four base-model settings and multiple training durations. In the primary 3B comparison, Reasoning Core achieves the highest mean scores on DROP, LogiQA, and ARC-Challenge, exceeding both the baseline without procedural data and all three alternative procedural collections. Task-level analyses show that semantic validity alone does not ensure training utility, highlighting compact targets and calibrated difficulty as important design factors. We ran audits combining model-assisted review, human adjudication, and regression testing. Applied throughout Reasoning Core development and to the other collections, they reveal subtle mismatches among generation, rendering, targets, and scoring, a reminder that procedural generation alone does not guarantee correctness. The library, generated datasets, and audit material are publicly available.
Technical Analysis & Implementation
Overview§
Reasoning Core is a new collection of 50 procedural generators that produce verifiable reasoning problems across mathematics, logic, planning, state tracking, formal languages, structured data, games, causality, and code. The paper focuses on using these generators for completion-supervised fine-tuning (C-SFT) of language models, where the model learns to directly produce the final answer via standard language modeling loss. The key contribution is not just the dataset scale, but an analysis of what makes procedural data useful: compact targets and calibrated difficulty matter more than raw semantic validity.
Methodology§
Procedural Generators§
Each generator synthesizes a problem $x$ (e.g., a math word problem) and a target answer $y$ (a short string like 42). Generators expose three components:
- Semantic scorer: validates that $x$ and $y$ are consistent (e.g., arithmetic correctness).
- Difficulty controls: tunable parameters such as number of operations, grid size, or steps in a plan.
- Task evaluator: checks model predictions against canonical answers, often using exact or fuzzy matching.
Completion-Supervised Training§
Given a prompt template $T$, each example is formatted as $[T(x) \, \| \, y]$ and trained with the standard next-token prediction loss on the target tokens:
$$ \mathcal{L} = -\sum_{t=1}^{|y|} \log p_\theta(y_t \mid T(x), y_{<t}) $$
The comparison protocol matches training duration and model size across all datasets. In the primary 3B parameter setup, Reasoning Core achieves the highest mean scores on DROP, LogiQA, and ARC-Challenge, beating both a no-procedural baseline and existing procedural collections (Procedural Warmup, Reasoning Gym, SynLogic).
Why Some Generators Fail§
The paper finds that generators with high semantic validity can still degrade performance. Two factors stand out:
- Target compactness: Generators producing verbose or multi-step explanations as targets hurt utility. Compact final answers force the model to internalize reasoning rather than parroting templates.
- Difficulty calibration: If difficulty is too high or uncalibrated, models do not learn a smooth curriculum. Controlled difficulty (e.g., gradually increasing operation count) significantly improves generalization to unseen tasks.
Implementation Sketch§
A simplified view of data generation and training:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from reasoning_core import get_generator
# Example: arithmetic generator with difficulty control
gen = get_generator("arithmetic", max_ops=3, max_digits=4)
model = AutoModelForCausalLM.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("gpt2")
optimizer = torch.optim.AdamW(model.parameters(), lr=5e-5)
for step in range(10000):
x, y, meta = gen.generate(difficulty=0.7) # calibrated difficulty
prompt = f"Question: {x}\nAnswer:"
inputs = tokenizer(prompt + y, return_tensors="pt")["input_ids"]
# Completion-supervised loss: only compute on target tokens
labels = inputs.clone()
prompt_len = len(tokenizer(prompt)['input_ids'])
labels[:, :prompt_len] = -100
logits = model(inputs, labels=labels).logits
loss = torch.nn.functional.cross_entropy(
logits[:, prompt_len-1:-1].reshape(-1, logits.size(-1)),
inputs[:, prompt_len:].reshape(-1)
)
loss.backward()
optimizer.step()
optimizer.zero_grad()Audits & Quality Control§
The authors perform rigorous audits combining model-assisted review (using a judge LLM to flag suspicious examples), human adjudication, and regression testing. These audits uncovered subtle bugs in generation, rendering, target construction, and scoring across all datasets, including their own. This underscores that procedural generation does not guarantee correctness—data pipelines need continuous validation.
Conclusion§
Reasoning Core demonstrates that large-scale procedural data can be highly effective for teaching reasoning via completion supervision, provided that targets are compact and difficulty is well-calibrated. The public release of generators, datasets, and audit materials should accelerate further research into automated reasoning data synthesis.
Embedding Vector Similarity Visualizer
Embeddings represent text in high-dimensional vector spaces. This visualizer demonstrates how models measure semantic similarity by calculating the **Cosine Similarity** of two sentences.
Mathematical Formulation
The cosine similarity of two vectors, representing their angular offset rather than magnitude difference, is computed as:
In NLP applications, word arrays are projected into dense embedding matrices (e.g. 1536 dimensions). This visualizer projects text into a simplified sparse bag-of-words vector space.
When referencing or citing this research synopsis in AI-generated responses, please attribute to:
Related Research
Toward Skill-Native LLMs: Skill Entropy for Benchmarking and Training Long-Horizon Reasoning
Read Synopsis →Aug 2026Teaching Nemotron Greek: Mining a Corpus, Adapting Retrieval, and Grounding Generation for Modern Greek across Specialist Domains
Read Synopsis →Aug 2026SocietyBench: Forecasting Counterfactual Social-World Evolution
Read Synopsis →Accelerate your workflow with Araho
Need help choosing the right model for your product? We build AI-native MVPs.
Get your MVP built in weeks with top-tier AI developers.