mlsanityData to 7 Oct 2026

SWE-Spot: Building Small Repo-Experts with Repository-Centric Learning

arXiv 2601.21649 ↗First posted 29 Jan 2026cs.LG cs.AI cs.CLcited by 0

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

Abstract (arXiv)

The deployment of coding agents in privacy-sensitive and resource-constrained environments drives the demand for capable open-weight Small Language Models (SLMs). However, they suffer from a fundamental capability gap: unlike frontier large models, they lack the inference-time strong generalization to work with complicated, unfamiliar codebases. We identify that the prevailing Task-Centric Learning (TCL) paradigm, which scales exposure across disparate repositories, fails to address this limitation. In response, we propose Repository-Centric Learning (RCL), a paradigm shift that prioritizes vertical repository depth over horizontal task breadth, suggesting SLMs must internalize the "physics" of a target software environment through parametric knowledge acquisition, rather than attempting to recover it via costly inference-time search. Following this new paradigm, we design a four-unit Repository-Centric Experience, transforming static codebases into interactive learning signals, to train SWE-Spot-4B, a family of highly compact models built as repo-specialized experts that breaks established scaling trends, outperforming open-weight models up to larger (e.g., CWM by Meta, Qwen3-Coder-30B) and surpassing/matching efficiency-focused commercial models (e.g., GPT-4.1-mini, GPT-5-nano) across multiple SWE tasks. Further analysis reveals that RCL yields higher training sample efficiency and lower inference costs, emphasizing that for building efficient intelligence, repository mastery is a distinct and necessary dimension that complements general coding capability.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 46 of its 66 references that are in the map. First posted on arXiv 29 Jan 2026.

Builds on

46 of 66 references.

Closest ancestors · 12

Same direction, newest first

  1. 2025REFINE: Enhancing Program Repair Agents through Context-Aware Patch Refinement4 Oct
  2. 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution31 Jul
  3. 2025SWE-smith: Scaling Data for Software Engineering Agents30 Apr
  4. 2025TestForge: Feedback-Driven, Agentic Test Suite Generation18 Mar
  5. 2025PatchPilot: A Cost-Efficient Software Engineering Agent with Early Attempts on Formal Verification4 Feb
  6. 2024Training Software Engineering Agents and Verifiers with SWE-Gym30 Dec
  7. 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvement1 Nov
  8. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  9. 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul
  10. 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents18 Jun
  11. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
  12. 2024CodeAgent: Autonomous Communicative Agents for Code Review3 Feb

Other references · 34

  1. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  3. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  4. 2022Toy Models of Superpositioncited by 928
  5. 2015Policy Distillationcited by 414
  6. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 246
  7. 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 165
  8. 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 110
  9. 2022ReCode: Robustness Evaluation of Code Generation Modelscited by 100
  10. 2024SWE-Bench+: Enhanced Coding Benchmark for LLMscited by 95
  11. 2025SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolutioncited by 87
  12. 2025Nested Learning: The Illusion of Deep Learning Architecturescited by 69
22 more
  1. 2025SWE-Exp: Experience-Driven Software Issue Resolutioncited by 64
  2. 2025FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementationcited by 57
  3. 2024HITS: High-coverage LLM-based Unit Test Generation via Method Slicingcited by 37
  4. 2025SWE-QA: Can Language Models Answer Repository-level Code Questions?cited by 37
  5. 2024On the Evaluation of Large Language Models in Unit Test Generationcited by 33
  6. 2021CodeQA: A Question Answering Dataset for Source Code Comprehensioncited by 30
  7. 2025Roll the dice & look before you leap: Going beyond the creative limits of next-token predictioncited by 28
  8. 2025SoRFT: Issue Resolving with Subtask-oriented Reinforced Fine-Tuningcited by 27
  9. 2025SWE-Bench++: A Framework for the Scalable Generation of Software Engineering Benchmarks from Open-Source Repositoriescited by 27
  10. 2025Otter: Generating Tests from Issues to Validate SWE Patchescited by 24
  11. 2024Hybrid Automated Program Repair by Combining Large Language Models and Program Analysiscited by 22
  12. 2025Issue2Test: Generating Reproducing Test Cases from Issue Reportscited by 18
  13. 2025CoReQA: Uncovering Potentials of Language Models in Code Repository Question Answeringcited by 17
  14. 2024CodeACT: Code Adaptive Compute-efficient Tuning Framework for Code LLMscited by 15
  15. 2024ProCQA: A Large-scale Community-based Programming Question Answering Dataset for Code Searchcited by 12
  16. 2025Co-PatcheR: Collaborative Software Patching with Component(s)-specific Small Reasoning Modelscited by 12
  17. 2024CodeRepoQA: A Large-scale Benchmark for Software Engineering Question Answeringcited by 11
  18. 2025AssertFlip: Reproducing Bugs via Inversion of LLM-Generated Passing Testscited by 11
  19. 2025Learning Facts at Scale with Active Readingcited by 11
  20. 2025Heterogeneous Prompting and Execution Feedback for SWE Issue Test Generation and Selectioncited by 10
  21. 2025Benchmarking LLMs for Unit Test Generation from Real-World Functionscited by 8
  22. 2024LLM-based Unit Test Generation via Property Retrievalcited by 6

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026FastContext: Training Efficient Repository Explorer for Coding Agents
  2. 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch
  3. 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositories
  4. 2026ReCUBE: Evaluating Repository-Level Context Utilization in Code Generation
  5. 2026Large-scale Repository Engineering via Agent-Native Reusable Code Primitives
  6. 2026RepoMod-Bench: A Benchmark for Code Repository Modernization via Implementation-Agnostic Testing
  7. 2025NL2Repo-Bench: Towards Long-Horizon Repository Generation Evaluation of Coding Agents
  8. 2026RepoAtlas: Guiding Coding Agents via Evolving Multimodal Repository Views