Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

MindForge: Teaching Small Language Models Whole-Life-Cycle Software Engineering via Source-Free Program Synthesis

AI By Crimson AI Hugging Face Papers 30 July 2026 · 00:00 40 views
Share: X Telegram

Hugging Face researchers introduce MindForge, an automated pipeline that converts open-source command-line programs into source-free training environments. Fine-tuning Qwen3.6-27B on MindForge trajectories boosts its ProgramBench pass rate from 37.98% to 49.51%, rivaling much larger frontier models and generalizing across seven unseen benchmarks.

MindForge: Teaching Small Language Models Whole-Life-Cycle Software Engineering via Source-Free Program Synthesis

Key points

While coding agents have made significant strides in modifying existing codebases—such as bug fixing and feature implementation—constructing a complete program from scratch remains a formidable challenge. Even frontier models resolve fewer than 1% of tasks on ProgramBench, a benchmark for from-scratch program synthesis. A key obstacle is the lack of scalable training environments that span the entire software engineering life cycle, as existing frameworks typically focus on a single phase.

To address this gap, researchers at Hugging Face introduce MindForge, an automated pipeline that converts open-source command-line programs into source-free environments, exposing only a compiled reference executable and its documentation. This approach enables the construction of training environments from repositories disjoint from those in ProgramBench, ensuring clean evaluation.

Using MindForge, the team built 562 cleanroom environments across six compiled languages and collected 1,001 whole-life-cycle trajectories from a teacher agent (GLM-5.2), averaging 181 turns and 177K tokens each. These trajectories were refined via infrastructure-noise recovery and reasoning rewrites to produce clean supervision.

Fine-tuning Qwen3.6-27B on these trajectories resulted in MindForge-27B, which improved its ProgramBench average test pass rate from 37.98% to 49.51%—a relative gain of over 30%—surpassing DeepSeek V4 Pro and reaching the performance band of GLM-5.1 and Claude Opus 4.7. The model outperformed its base on 152 of 200 tasks, indicating broad gains rather than isolated successes.

Remarkably, MindForge-27B generalized to seven unseen benchmarks, including long-horizon repository generation and translation, bug fixing, feature implementation, and cross-language issue resolution. Absolute gains include +31.00 points on RepoZero-C2Rust, +14.16 on DeepSWE, +10.70/+4.56 on NL2Repo-Bench (with/without tests), +5.04 on SWE-bench Verified, +5.93 on SWE-bench Pro, +5.22 on SWE-bench Multilingual, and +4.94 on FeatBench—all statistically significant.

Behavior analysis revealed that the model learned to genuinely engineer: it works roughly twice as long per task while making proportionally fewer errors per command, and nearly doubles the rate at which reasoning and failure recovery translate into actual code edits. This work represents the first data pipeline targeting the end-to-end software engineering cycle.

BenchmarkAbsolute Gain (points)
RepoZero-C2Rust+31.00
DeepSWE+14.16
NL2Repo-Bench (with tests)+10.70
NL2Repo-Bench (without tests)+4.56
SWE-bench Verified+5.04
SWE-bench Pro+5.93
SWE-bench Multilingual+5.22
FeatBench+4.94
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 31 Aug 2026

Hugging Face Unveils StepGuard: Step-Level Guardrails for Safer AI Agents

StepGuard, a new step-level guard model from Hugging Face, audits agent actions before execution, reducing attack success rates by...

1
Research paper
Hugging Face 31 Aug 2026

Hugging Face Researchers Unveil ABot-Recon for Stable Long-Horizon 3D Reconstruction

ABot-Recon, a new streaming 3D reconstruction model from Hugging Face, achieves stable long-horizon performance using only local t...

1
Research paper
Hugging Face 31 Aug 2026

ContextPilot: Teaching Agents Proactive Context Management via Fine-Grained RL

Hugging Face researchers introduce ContextPilot, a framework that enhances long-horizon agent reasoning by expanding context-editi...

1