Lune

ICSE2026Top-tier venue

SEAlign: Alignment Training for Software Engineering Agent

Kechi Zhang, Huangzhao Zhang, Ge Li, Jinliang You, Jia Li, Yunfei Zhao, Zhi Jin

Abstract

Recent advances in code generation models have demonstrated impressive capabilities in automating software development tasks, yet these models still struggle in real-world software engineering scenarios. Although current training methods, particularly post-training, excel at solving competitive programming problems, they fail to adequately prepare models for the complexities of practical software development. This misalignment raises the critical question: Are existing alignment training methods well suited for real-world software engineering tasks? In this study, we identify this issue and propose SEAlign, a novel alignment framework designed to bridge the gap between code generation models and real-world software development tasks. SEAlign leverages the unique characteristics of software engineering processes, including high-quality workflow steps, to enhance model capabilities. Our framework further employs Monte Carlo Tree Search for fine-grained alignment in multi-step decision processes, followed by preference optimization on critical actions to ensure models meet real-world requirements. We evaluate SEAlign on three standard agentic benchmarks for real-world software engineering, including HumanEvalFix, SWE-Bench-Lite, and SWE-Bench-Verified. Experimental results demonstrate state-of-the-art performance with minimal training overhead. In addition, we develop an agent-based software development platform using SEAlign, which successfully automates the creation of several small applications. Human evaluations of these applications highlight significant improvements in both task performance and user experience. Our findings underscore the potential of SEAlign to accelerate the adoption of large code models in real-world software development. We believe that this research makes a meaningful step towards fully automated software engineering.1

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering cites SWE-bench: Can Language Models Resolve Real-world Github Issues?
  • Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code in Real-World Tasks cites SWE-bench: Can Language Models Resolve Real-world Github Issues?
  • Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code in Real-World Tasks cites SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
  • WebGen-Agent: Enhancing Interactive Website Generation with Multi-Level Feedback and Step-Level Reinforcement Learning cites SWE-bench: Can Language Models Resolve Real-world Github Issues?
  • Co-PatcheR: Collaborative Software Patching with Component-specific Small Reasoning Models cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Co-PatcheR: Collaborative Software Patching with Component-specific Small Reasoning Models cites SWE-bench: Can Language Models Resolve Real-world Github Issues?
  • Co-PatcheR: Collaborative Software Patching with Component-specific Small Reasoning Models cites SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
  • Co-PatcheR: Collaborative Software Patching with Component-specific Small Reasoning Models cites WizardCoder: Empowering Code Large Language Models with Evol-Instruct
  • SWE Data Construction, Automatically! cites SWE-bench: Can Language Models Resolve Real-world Github Issues?
  • SWE Data Construction, Automatically! cites SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
  • SWE Data Construction, Automatically! cites Issue Localization via LLM-Driven Iterative Code Graph Searching
  • Issue Localization via LLM-Driven Iterative Code Graph Searching cites SWE-bench: Can Language Models Resolve Real-world Github Issues?
  • Issue Localization via LLM-Driven Iterative Code Graph Searching cites SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code in Real-World TasksSongwen Zhao, Danqing Wang, Kexun Zhang, Jiaxuan Luo et al.ICML 2026 · 22 citations
  2. WebGen-Agent: Enhancing Interactive Website Generation with Multi-Level Feedback and Step-Level Reinforcement LearningZimu Lu, Houxing Ren, Yunqiao Yang, Ke Wang et al.ICLR 2026 · 12 citations
  3. Issue Localization via LLM-Driven Iterative Code Graph SearchingZhonghao Jiang, Xiaoxue Ren, Meng Yan, Wei Jiang et al.ASE 2025 · 6 citations
  4. Co-PatcheR: Collaborative Software Patching with Component-specific Small Reasoning ModelsYuheng Tang, Hongwei Li, Kaijie Zhu, Michael Yang et al.NeurIPS 2025 · 2 citations
  5. SWE Data Construction, Automatically!Lianghong Guo, Yanlin Wang, Caihua Li, Wei Tao et al.FSE 2026

Builds on17

  1. Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
  2. SWE-bench: Can Language Models Resolve Real-world Github Issues?Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao et al.ICLR 2024 · 2,082 citations
  3. SWE-agent: Agent-Computer Interfaces Enable Automated Software EngineeringJohn Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret et al.NeurIPS 2024 · 2,059 citations
  4. WizardCoder: Empowering Code Large Language Models with Evol-InstructZiyang Luo, Can Xu, Pu Zhao, Qingfeng Sun et al.ICLR 2024 · 945 citations
  5. Self-Instruct: Aligning Language Models with Self-Generated InstructionsYizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu et al.ACL 2023 · 540 citations

Related papers

  1. OmniCode: A Benchmark for Evaluating Software Development AgentsAtharv Sonwane, Eng-Shen Tu, Wei-Chung Lu, Claas Beger et al.ACL Findings 2026
  2. daVinci-Dev: Agent-native Mid-training for Software EngineeringJi Zeng, Dayuan Fu, Tiantian Mi, Zhuang Yumin et al.ICML 2026 · 13 citations
  3. SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language ModelsJingxuan Xu, Ken Deng, Weihao Li, Songwei Yu et al.ICML 2026 · 9 citations
  4. Aligning Requirement for Large Language Model's Code GenerationZhao Tian, Junjie ChenICSE 2026
  5. Reward-Free Code Alignment from Pretrained or Fine-Tuned LLM: Unpacking the Trade-offs for Code GenerationSanjeepan Sivapiran, Gias UddinFSE 2026
Dusk over the sea between two cliffs drawn in fine vertical lines