mlsanityData to 7 Oct 2026

SWE-Prot'eg'e: Learning to Selectively Collaborate With an Expert Unlocks Small Language Models as Software Engineering Agents

arXiv 2602.22124 ↗First posted 25 Feb 2026cs.SE cs.AI cs.CLcited by 3

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Small language models (SLMs) offer compelling advantages in cost, latency, and adaptability, but have so far lagged behind larger models on long-horizon software engineering tasks such as SWE-bench, where they suffer from pervasive action looping and low resolution rates. We introduce SWE-Prot'eg'e, a post-training framework that reframes software repair as an expert-prot'eg'e collaboration problem. In SWE-Prot'eg'e, an SLM remains the sole decision-maker while learning to selectively seek guidance from a strong expert model, recognize stalled states, and follow through on expert feedback. Our approach combines supervised fine-tuning on expert-augmented trajectories with agentic reinforcement learning that explicitly discourages degenerative looping and unproductive expert collaboration. We lightly post-train Qwen2.5-Coder-7B-Instruct to achieve 42.4% Pass@1 on SWE-bench Verified, a +25.4% improvement over the prior SLM state of the art, while using expert assistance sparsely (~4 calls per task and 11% of total tokens).

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 24 of its 33 references that are in the map. First posted on arXiv 25 Feb 2026.

Builds on

24 of 33 references.

Closest ancestors · 5

Same direction, newest first

  1. 2025SWE-smith: Scaling Data for Software Engineering Agents30 Apr
  2. 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents9 Apr
  3. 2024Training Software Engineering Agents and Verifiers with SWE-Gym30 Dec
  4. 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvement1 Nov
  5. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May

Other references · 19

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  4. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
  5. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  6. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  7. 2024Self-Rewarding Language Modelscited by 654
  8. 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 633
  9. 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 550
  10. 2025Phi-4-Mini Technical Report: Compact yet Powerful Multimodal Language Models via Mixture-of-LoRAscited by 491
  11. 2025rStar-Math: Small LLMs Can Master Math Reasoning with Self-Evolved Deep Thinkingcited by 308
  12. 2025Small Language Models are the Future of Agentic AIcited by 254
7 more
  1. 2024A Comprehensive Survey of Small Language Models in the Era of Large Language Models: Techniques, Enhancements, Applications, Collaboration with LLMs, and Trustworthinesscited by 125
  2. 2025Reinforcement Learning with Rubric Anchorscited by 108
  3. 2025The Art of Scaling Reinforcement Learning Compute for LLMscited by 91
  4. 2025SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolutioncited by 87
  5. 2025CWM: An Open-Weights LLM for Research on Code Generation with World Modelscited by 87
  6. 2025Universal Model Routing for Efficient LLM Inferencecited by 80
  7. 2025The Avengers: A Simple Recipe for Uniting Smaller Language Models to Challenge Proprietary Giantscited by 37

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SWE-Shepherd: Advancing PRMs for Reinforcing Code Agents
  2. 2026SWE-Master: Unleashing the Potential of Software Engineering Agents via Post-Training
  3. 2025When Agents go Astray: Course-Correcting SWE Agents with PRMs
  4. 2025Kimi-Dev: Agentless Training as Skill Prior for SWE-Agents
  5. 2026SWE-World: Building Software Engineering Agents in Docker-Free Environments
  6. 2026SWE-rebench V2: Language-Agnostic SWE Task Collection at Scale
  7. 2025SWE-Dev: Building Software Engineering Agents with Training and Inference Scaling
  8. 2026Socratic-SWE: Self-Evolving Coding Agents via Trace-Derived Agent Skills