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
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.
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.
@0xCodez: https://x.com/0xCodez/status/2058911661973454915
A detailed guide explaining the five-stage pipeline for building large language models, emphasizing that data quality and engineering matter more than architecture.
Evolution through large models
This paper demonstrates that large language models trained on code can significantly enhance genetic programming mutation operators, enabling the generation of hundreds of thousands of functional Python programs for robot design in the Sodarace domain without prior training data. The approach, called Evolution through Large Models (ELM), combines LLMs with MAP-Elites to bootstrap new conditional models for context-specific artifact generation.
@KirkDBorne: "How to Build and Fine‐Tune a Small Language Model: A Step-by-Step Guide for Beginners, Researchers, and Non-Programmer…
A step-by-step guide on building and fine-tuning small language models, designed for beginners, researchers, and non-programmers, with hands-on examples and Colab notebooks.