MindForge: Teaching Small Language Models Whole-Life-Cycle Software Engineering via Source-Free Program Synthesis
Summary
MindForge is an automated pipeline that converts open-source command-line programs into source-free training environments for small language models. Fine-tuning Qwen3.6-27B on trajectories generated by GLM-5.2 significantly improves its performance on software engineering benchmarks, achieving results comparable to larger models.
View Cached Full Text
Cached at: 07/30/26, 05:49 PM
Paper page - MindForge: Teaching Small Language Models Whole-Life-Cycle Software Engineering via Source-Free Program Synthesis
Source: https://huggingface.co/papers/2607.27146
Abstract
Codingagentshavemadesubstantialprogressonsoftwareengineeringtasksthatmodifyexistingcodebases,includingbugfixingandfeatureimplementation.However,constructingacompleteprogramfromscratchremainsamajorchallenge:eventhefrontiermodelsevaluatedonProgramBenchfullyresolvefewerthan1%oftasks.Oneobstacleisthelackofscalabletrainingenvironmentsforthisfrom-scratchsetting,spanningthewholesoftwareengineeringlifecycle,asexistingenvironment-constructionframeworksfocusonlyonasinglephaseinsoftwaredevelopment.Toaddressthisgap,weintroduceMindForge,anautomatedpipelinethatconvertsopen-sourcecommand-lineprogramsintosource-freeenvironmentsthatexposeonlyacompiledreferenceexecutableanditsdocumentation.UsingMindForge,weconstructtrainingenvironmentsfromrepositoriesdisjointfromthoseinProgramBench,andcurateahigh-qualitydatarecipeconsistingofprogramsynthesistrajectoriesusingGLM-5.2astheteacheragent.Fine-tuningQwen3.6-27BonthesetrajectoriesincreasesitsProgramBenchaveragetestpassratefrom37.98%to49.51%,achievingperformancecomparabletosubstantiallylargerfrontiermodels.Moreover,thefine-tunedmodelconsistentlyimprovesoverthebasemodelacrossallsevenunseensoftwareengineeringbenchmarks,spanninglong-horizonrepositorygenerationandtranslation,bugfixing,featureimplementation,andcross-languageissueresolution,withabsolutegainsof31.00pointsonRepoZero-C2Rust,14.16onDeepSWE,10.70/4.56onNL2Repo-Bench(with/withouttests),5.04onSWE-benchVerified,5.93onSWE-benchPro,5.22onSWE-benchMultilingual,and4.94onFeatBench.
View arXiv pageView PDFAdd to collection
Get this paper in your agent:
hf papers read 2607\.27146
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2607.27146 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2607.27146 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2607.27146 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
Language Models Learn to Improve Language Models
LM2LM trains LLMs with reinforcement learning to propose effective language-model improvements, using a frozen research world model as a scalable reward signal with periodic real executions for reliability, enabling Qwen3.8-27B to outperform GPT-6-sol at 33% lower data-generation cost.
GraphForge: Training Working Agents with Graph-Anchored Workspace Synthesis
GraphForge introduces an evidence-graph framework that grounds both agent task generation and verification in real files, enabling synthesis of verifiable training trajectories for working agents. Fine-tuning Qwen3.6-27B on 2,169 GraphForge trajectories improves GDPVal, Workspace-Bench-Lite, and SpreadsheetBench II, with rejection fine-tuning yielding further gains.
Qwen-Scope: Turning Sparse Features into Development Tools for Large Language Models
This article introduces Qwen-Scope, a toolkit of Sparse Autoencoders (SAEs) trained on Qwen3 and Qwen3.5 models to enable mechanistic analysis and intervention. It releases 14 groups of SAE weights covering dense and MoE backbones, providing sparse representations for residual-stream activations.
ProgramGym: Scaling Training Environments for Long-Horizon Program Reproduction Agents
ProgramGym introduces a framework with Program-Env and Program-Agent for building scalable, verifiable training environments for long-horizon program reproduction agents, achieving notable performance gains when fine-tuning Qwen3.8-27B on the generated environments.
From Search to Synthesis: Training LLMs as Zero-Shot Workflow Generators
Introduces MetaFlow, a method that trains large language models to generate zero-shot workflows for tasks by combining supervised fine-tuning and reinforcement learning with execution feedback, achieving strong generalization to untrained tasks and operator sets.