ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
521–540 of 1,750
- ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
SynKer: Synthesize, Kernelize, Reinforce - Teaching GPU Kernel Generation to Small Language Models
Qi Sun, Robert Lange, Alex Zhang
Abstract
Combining test-time scaling with verifier execution feedback has demonstrated glimpses of frontier language models being able to generate GPU kernels. However, small language models still lack the capability to robustly produce compilable backend-specific code. We argue that this is largely due to a lack of diverse training environments and accompanying validated kernel datasets, representative of the target domain. In order to overcome this limitation, we introduce SynKer, a general recipe for improving language model kernel generation capabilities via synthetic task and solution generation: By evolving and translating natural-language task descriptions, we generate a large-scale set of diverse target operations. We then leverage evolutionary test-time search to generate an end-to-end validated kernel dataset across target backends. Finally, we use the resulting dataset to post-train 8B, 14B, and 32B open-source models with supervised fine-tuning and reinforcement learning. The resulting set of task environments contains 2365 validated and configurable synthetic tasks and a kernel archive consisting of approximately 100k kernels across three backends. We demonstrate that increased task diversity improves held-out BackendBench transfer performance after post-training. By open-sourcing the resulting tasks, kernel dataset, and checkpoints, we hope to accelerate the development of more capable kernel generation capabilities.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
V1: Unifying Generation and Self-Verification for Parallel Reasoners
Harman Singh, Xiuyu Li, Kusha Sareen, Monishwaran Maheswaran, Sijun Tan, Xiaoxia (Shirley) Wu, Junxiong Wang, Alpay Ariyak, Qingyang Wu, Samir Khaki, Rishabh Tiwari, Long (Tony) Lian, Yucheng Lu, Boyi Li, Alane Suhr, Ben Athiwaratkun, Kurt Keutzer
Abstract
Test-time scaling for complex reasoning tasks shows that leveraging inference-time compute, for example by independently sampling and aggregating multiple solutions, results in significantly better task outcomes. However, a critical bottleneck is verification: sampling is only effective if correct solutions can be reliably identified among candidates. While existing approaches typically evaluate candidates independently via scalar scoring, we demonstrate that models are substantially stronger at pairwise self-verification. Leveraging this insight, we introduce V1, a framework that unifies generation and verification through efficient pairwise ranking. V1 comprises two components: V1-Infer, an uncertainty-guided algorithm using a tournament-based ranking that dynamically allocates self-verification compute to candidate pairs whose relative correctness is most uncertain; and V1-PairRL, an RL framework that jointly trains a single model as both generator and pairwise self-verifier, ensuring the verifier adapts to the generator's evolving distribution. On code generation (LiveCodeBench, CodeContests) and math reasoning (AIME, HMMT) benchmarks, V1-Infer improves Pass@1 by up to 10% over pointwise verification and outperforms recent test-time scaling methods while being significantly more efficient. Furthermore, V1-PairRL achieves 7-9% test-time scaling gains over standard RL and pointwise joint training, and improves base Pass@1 by up to 8.7% over standard RL.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
Test-Time Scaling with Weak Verifiers via Self-Play
Akira Yoshiyama, Akmal Ashirmatov, Jonas Hübotter, Ido Hakimi, Andreas Krause
Abstract
Test-time scaling methods spend additional compute at deployment to improve a large language model's performance on a hard target problem. Most methods rely on a verifier that scores candidate solutions for correctness, using it to select among or refine the model's outputs. In many deployment regimes, however, a strong verifier on the target problem is unavailable. We introduce Test-Time Self-Play (TTSP), an approach to test-time scaling using asymmetric self-play without reliance on a verifier. On a difficulty-calibrated subset of LiveCodeBench v6, TTSP is the best-performing method at every verifier strength we evaluate, and the gap to the strongest baseline widens as the verifier weakens; in the no-verifier limit, TTSP yields a 35\% absolute improvement in mean@8. The gains hold across a range of verifier strengths, except when the base policy has near-zero coverage of the correct answer.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
SpIDER: Spatially Informed Dense Embedding Retrieval for Software Issue Localization
Shravan S Chaudhari, Rahul T Jacob, Mononito Goswami, Jiajun Cao, Muhammad Shihab Rashid, Christian Bock
Abstract
Retrieving code functions, classes or files that are relevant in order to solve a given user query, bug report or feature request from large codebases is a fundamental challenge for Large Language Model (LLM)-based coding agents. Agentic approaches typically employ sparse retrieval methods like BM25 or dense embedding strategies to identify semantically relevant units. While embedding-based approaches can outperform BM25 by large margins, they often don’t take into consideration the underlying graph-structured characteristics of the codebase. To address this, we propose SpIDER (Spatially Informed Dense Embedding Retrieval), an enhanced dense retrieval approach that integrates LLM-based reasoning along with auxiliary information obtained from graph-based exploration of the codebase. We further introduce SpIDER-Bench, a graph-structured evaluation benchmark curated from SWE-PolyBench, SWEBench-Verified and Multi-SWEBench, spanning codebases from Python, Java, JavaScript and TypeScript programming languages. SpIDER’s graph-based candidate expansion gives each surfaced function a structural reason for inclusion (the seed it neighbors and the edge type linking them), making the candidate set auditable by a developer reviewing the agent’s actions while keeping the retrieval budget fixed. The code graph is built from per-repository syntax trees, so it can be constructed on-demand at the start of an interactive developer session rather than precomputed offline across an entire codebase corpus. Empirical results show that SpIDER consistently improves dense retrieval performance by at least 13% across programming languages and benchmarks in SpIDER-Bench.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
The Scaffold Effect in Coding Agents: Harness Choice as a Hidden Variable in Coding-Agent Evaluation
Naman Vats, Oleg Golev
Abstract
Public leaderboards rank coding agents primarily by which model they use, treating the surrounding agent harness (the scaffold that issues tools, manages context, and decides when to stop) as a controlled constant. We show this assumption breaks down empirically. Running two recent agentic coding models (Qwen 3.6 Plus and MiniMax M2.5) across three open-source harnesses (Goose, OpenCode, OpenHands-SDK) on a stratified 50-task subset of Terminal-Bench Pro, we find that harness choice produces up to a $\mathbf{40\times}$ difference in tokens consumed per solved task while paired pass-rate differences within a model remain within 0-8 percentage points (95% paired-task bootstrap CIs include zero for all but the largest pairwise gap). The same harness-specific failure fingerprints (REASON-dominated for Goose, VERIFY-and-MAX_TURNS for OpenHands-SDK, idle-loop / TIME for OpenCode) replicate independently on both models, identifying these patterns as scaffold properties rather than model properties. We argue that, for human-centered coding-agent evaluation, "model name" is an incomplete unit of comparison: harness-model pairs determine real-world cost, latency, and the oversight burden a developer must absorb (no-action turns are a per-task wait tax, not just a token tax). We include anonymized configurations, raw trial logs, aggregated snapshots, and analysis scripts as supplementary material.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
VibeSWEBench: Can AI Co-Worker Agents Do Real-World Software Engineering by Vibe Coding?
Md. Ashraful Islam, Mohammed Eunus Ali, Xiaoning Du, Md Rizwan Parvez
Abstract
The growing reliance on autonomous agents for real-world software engineering demands evaluation that reflects actual workflows, where developers give feedback, agents recover from mistakes, and tasks span the full project lifecycle. Existing benchmarks, however, focus largely on single-turn code generation from pristine prompts, ignoring the iterative reality of human–agent collaboration. To address this gap, we introduce **VibeSWEBench**, the first benchmark to evaluate AI co-worker agents on the four core capabilities of real-world development: greenfield construction, feature evolution, specification-driven bug repair, and database operations—and on the multi-turn user-corrective interactions that authentic workflows actually produce. **VibeSWEBench** contains **109** tasks (cumulative weight 230) across two real backend projects, evaluated against comprehensive human-validated test suites with no LLM-as-a-judge component. To capture multi-turn recovery without proxy-developer confounds, we introduce Trajectory Unrolling, a procedure that converts authentic human–agent failure sessions into independent single-turn tasks while preserving human-authored corrective signals. Across four frontier coding agents—Codex, Claude Code, Gemini Code Assist, and Terminus-2—the strongest configuration (Codex with $gpt-5.5$) achieves only **20.87%** overall, with performance dropping from **36.11%** on bug repair to **2.56%** on greenfield tasks, and no successful completions on the hard subset. We release **VibeSWEBench**, its evaluation harness, and all associated artifacts to support future research in autonomous software engineering.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
From Search to Policy: Thompson Sampling Trees for Robust LLM Code Refinement
Daria Ozerova, Ekaterina Trofimova
Abstract
Iterative refinement has become an effective strategy for improving LLM performance on difficult coding tasks, but existing methods suffer from limited exploration during debugging. We introduce Tree-Guided Policy Refinement (TGPR), which augments GRPO with Thompson Sampling-guided tree search to generate diverse refinement trajectories at training time only, with no additional inference overhead. Across HumanEval, MBPP, APPS, Codeforces, and LiveCodeBench, TGPR consistently outperforms competitive RL baselines, improving pass@1 by up to +4.4 pp and pass@10 by up to +5.2 pp over GRPO, with especially strong gains on harder and contamination-resistant benchmarks. Under zero-shot greedy decoding, TGPR (77.6 MBPP, 41.2 LiveCodeBench pass@1) exceeds GPT-4o-mini (74.8 and 36.7), though the comparison is not fully controlled as TGPR is fine-tuned on task-specific data while GPT-4o-mini is not. These results suggest that structured training-time exploration is a scalable alternative to increasing model scale for iterative code refinement. Code: https://github.com/AnonimusCoders/TGPRcoderefinement.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
Selective Code Generation under Correctness and Security Risk
Ahmad A. Rushdi
Abstract
LLM-generated code can pass every unit test and still contain known-vulnerable patterns. Existing selective-generation methods -- pass@1, best-of-K on tests, and one-objective conformal abstention -- accept it silently. We extend Conformal Risk Control (CRC) to the joint event of accepting code that fails a test verifier or triggers a static analyzer. Our wrapper, joint-CRC, samples K candidates per problem, clusters by joint test-pass / static-analysis-clean behavior, and accepts when the largest good cluster clears a calibrated threshold; one CRC call bounds the joint silent-failure rate at a user-chosen alpha. On thirteen function-level CWE prompts (K=8, two generators), joint-CRC accepts correct-and-clean code in 82.6 +/- 1.4% of cases with no observed joint silent failures, while pass@1 and pass@1+Semgrep gate leak joint-bad code at 42% and 26%. A security-only CRC baseline achieves zero security silent failures yet still leaks 34% joint-bad code, directly showing that controlling either axis alone does not control the joint event. Our experiments demonstrate calibrated control of the verifier-defined joint event; controlling hidden correctness failures beyond the supplied tests requires a held-out test split, left to future work.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
Interpreting Code Correctness in Language Models through Activation Steering
Aditya Narendra, Shubham Kamble, Subhankar Panda, Kanav Benipuri, vibha mishra, Chandresh K Maurya
Abstract
Code-generating language models lack an explicit correctness indicator: their token-level probabilities are largely disconnected from the functional correctness of the generated code, hindering their deployment in high-stakes settings. Despite this, limited works have studied whether these models encode code correctness in their internal representations. In this work, we show that code correctness is mediated by a one-dimensional subspace in the residual stream, across two open-weight code-generation models ranging from 1.5B to 7B parameters. Using a contrastive probing and activation addition framework, we extract a correctness direction and demonstrate that it affords bidirectional causal control: adding the direction to the residual stream recovers failing generations, while subtracting it induces failures in previously correct ones. We further establish that geometric coherence of the correctness axis is a necessary complement to linear discriminability for predicting effective causal intervention. Results on MBPP+ demonstrate that forward interventions increase pass@1 by as much as 15.6\% and 11.0\%, whereas backward interventions degrade performance by up to 12.9\% and 11.7\% for Qwen2.5-Coder-1.5B-Instruct and Qwen2.5-Coder-7B-Instruct, respectively. We demonstrate that code correctness is a causally operative feature encoded along a single geometric axis in the residual stream, and offers a computational efficient mechanism for improving code generation without finetuning. Code and data are available at \url{https://github.com/MechCode1/Correct_Codegen}.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
Bridging Online and Offline RL: Contextual Bandit Learning for Multi-Turn Code Generation
Ziru Chen, Dongdong Chen, Ruinan Jin, Yingbin LIANG, Yujia Xie, Huan Sun
Abstract
Recently, there have been significant research interests in training large language models (LLMs) with reinforcement learning (RL) on real-world tasks, such as multi-turn code generation. While online RL tends to perform better than offline RL, its higher training cost and instability hinders wide adoption. In this paper, we build on the observation that multi-turn code generation can be formulated as a one-step recoverable Markov decision process and propose contextual bandit learning with offline trajectories (Cobalt), a new method that combines the benefits of online and offline RL. Cobalt first collects code generation trajectories using a reference LLM and divides them into partial trajectories as contextual prompts. Then, during online bandit learning, the LLM is trained to complete each partial trajectory prompt through single-step code generation. Cobalt outperforms two multi-turn online RL baselines based on GRPO and VeRPO, and substantially improves R1-Distill 8B and Qwen3 8B by up to 9.0 and 6.2 absolute Pass@1 scores on LiveCodeBench. Also, we analyze LLMs' in-context reward hacking behaviors and augment Cobalt training with perturbed trajectories to mitigate this issue. Overall, our results demonstrate Cobalt as a promising solution for iterative decision-making tasks like multi-turn code generation. We will release our code and data.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
Improving Code Efficiency with Iterative Refinement using LLMs
Chulin Xie, Badih Ghazi, Pritish Kamath, Ravi Kumar, Pasin Manurangsi, Da Yu, Chiyuan Zhang
Abstract
Large Language Models (LLMs) generate functionally correct but often computationally inefficient code, yet current evaluation paradigms rarely assess efficiency. We propose ICER (Iterative Code Efficiency Refinement), an iterative self-improvement framework that optimizes LLM-generated code using runtime and memory feedback together with execution error signals. Unlike prior methods that enforce strict, monotonic acceptance criteria---which we find prone to system noise and overfitting to seen unit tests---ICER adopts a relaxed update policy that prioritizes correctness and exploration, enabling convergence toward better accuracy-efficiency trade-offs on unseen tests. Ablation studies reveal a counter-intuitive result: explicitly prompting for "Big-O" complexity predictions degrades optimization performance in later iterations. To investigate this disconnect, we introduce a tri-component evaluation framework spanning complexity prediction, constrained generation, and code refactoring. Our analysis confirms that frontier models struggle with explicit complexity labeling yet possess strong implicit optimization capabilities, refactoring inefficient code to near golden solution's runtime on competitive programming benchmarks.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
VibeServe: Can AI Agents Build Bespoke LLM Serving Systems?
Keisuke Kamahori, Shihang Li, Simon Peter, Baris Kasikci
Abstract
For years, we have built LLM serving systems like any other critical infrastructure: a single general-purpose stack, hand-tuned over many engineer-years, meant to support every model and workload. In this paper, we take the opposite bet: a multi-agent loop that automatically synthesizes bespoke serving systems for different usage scenarios. We propose VibeServe, the first agentic loop that generates entire LLM serving stacks end-to-end. VibeServe uses an outer loop to plan and track the search over system designs, and an inner loop to implement candidates, check correctness, and measure performance on the target benchmark. In the standard deployment setting, where existing stacks are highly optimized, VibeServe remains competitive with vLLM, showing that generation-time specialization need not come at the cost of performance. More interestingly, in non-standard scenarios, VibeServe outperforms existing systems by exploiting opportunities that generic systems miss in six scenarios involving non-standard model architectures, workload knowledge, and hardware-specific optimizations. Together, these results suggest a different point in the design space for infrastructure software: generation-time specialization rather than runtime generality.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
Adversarial Review: Structured Disagreement for Grounded Agentic Code Review
Eric S. Qiu, Joyce Gill
Abstract
Early multi-agent LLM systems often used role-separated teams, yet scaling agent count yields diminishing returns on repository-level coding tasks. Recent alternatives treat agents as passive tools (subagents), yet this removes the benefits of agent interaction entirely. We study whether a subagent paradigm can support a middle ground: minimal agentic cooperation without the overhead of large multi-agent teams. We introduce Adversarial Review (AR), a minimal cooperative code-review protocol in which a main coding agent works with a reviewer and a critic agent. The reviewer evaluates code, while the critic audits the review through structured disagreement before the main agent edits. On LiveCodeBench, AR achieves the highest pass rate among tested methods, outperforming a five-agent baseline while using only three agents. On SWE-PRBench, naive AR exposes a false-consensus failure mode, where agents converge on agreement without sufficient evidence, but a single prompt iteration that adds disagreement explicitly achieves the highest F1 among tested methods. On SWE-bench Verified, AR also shows improvements over the baselines on repository-level coding tasks. Together, AR demonstrates that cooperative code review does not require many agents or complex communication structures: it requires that disagreement be minimal, structured, and evidence-grounded.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
How Should Agents Read Demonstrations? Hierarchical Structure Beats Flat Action Logs
Honjar Xing, Jeff Lin, Henry Lieberman
Abstract
Programming by Demonstration (PbD) offers a human-centered way to author procedural knowledge for LLM agents: users communicate what they want by showing rather than by writing prompts or code, making agent authoring accessible to non-programmers. The natural output of a PbD recording is a flat action log, but how this log is organized before being passed to the agent is an open design question with significant consequences for plan quality. We propose grouping recorded actions into labeled, hierarchical subgoals and evaluate the effect of this organizational structure in a controlled experiment. Across 85 web automation tasks, we compare a zero-shot baseline against four demonstration formats that share identical action sequences but differ in structure. On 43 natural-language tasks with vague descriptions, hierarchically grouped demonstrations improve pass rates from 76.7% to 90.7% (paired permutation test p=0.034; win-loss 6:0), while flat demonstrations show a smaller, non-significant improvement. On 42 tasks with precise descriptions, no format provides any benefit, confirming that the hierarchical advantage arises specifically when descriptions leave procedural details ambiguous. Ablation shows that subgoal grouping alone drives the effect: preconditions, postconditions, and parameter annotations add no measurable benefit. These results offer a concrete design recommendation for PbD pipelines and, more broadly, for any system that feeds procedural context to an LLM agent: segment action sequences into named subgoal groups rather than presenting flat step lists.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
Beyond Problem Solving: UOJ-Bench for Evaluating Code Generation, Hacking, and Repair in Competitive Programming
Tingqiang Xu, Hangrui Zhou, Tianle Cai, Alex Gu, Kaifeng Lyu
Abstract
Despite strong performance in competitive programming, the role of Large Language Models (LLMs) in supporting human learning in the same setting remains largely unexplored. In this work, we introduce UOJ-Bench, a benchmark designed to evaluate not only the problem-solving ability of LLMs, but also their ability to identify errors in human-written code—a crucial educational activity traditionally supported by running test cases over online judge systems. UOJ-Bench consists of three distinct tasks: code generation, code hacking, and code repair, all constructed from real-world code submissions on the Universal Online Judge (UOJ) and evaluated through UOJ’s native judging infrastructure. Our results show that under one-shot evaluation, even the strongest models fail to identify errors in more than 50% of a set of submissions that have been found to be incorrect by UOJ users. While test-time scaling improves success rates to above 90%, the substantial computational costs incurred from model inference limit its practicality for large-scale deployment. Despite these limitations, we find that the best-performing models under test-time scaling can uncover errors in over 5% of full-score submissions across roughly 30 problems, suggesting that frontier LLMs can already provide complementary signals beyond standard judging systems.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
Certifying the Judge: Falsifiable Properties for LLM-Based Evaluation of Formal Code
Ethan S Hersch, Brando Miranda, Elyas Obbad, Srivatsava Daruru, Kirill Acharya, Zixiao Jolene Wang, Steven Dillmann, Yegor Denisov-Blanch, Sanmi Koyejo
Abstract
LLM judges are increasingly central to evaluating AI-generated code, tests, and formal specifications, yet their reliability is still checked in the least scalable way possible: fresh human ratings for every new judge, prompt, model, and threshold. We challenge this validation loop by asking whether human judgment can be amortized and scaled through falsifiable behavioral properties. We propose a property-certification protocol for LLM judges of Lean 4 theorem and specification quality, where each judge is scored by four automatically testable conditions: identity, bug monotonicity, specification monotonicity, and repeat/prompt stability. Our variance-aware trust index TIvar is one calibrated instantiation of these diagnostics. Rather than presenting a single fitted weighting as a universal evaluator constant, we contribute a reusable certification protocol that converts falsifiable behavioral properties into an auditable trust signal for LLM judges. On eight judge configurations spanning frontier prompts, weaker baselines, edit-distance, and random controls, TIvar strongly predicts judge-level human alignment on that calibration suite, reporting validation-set Spearman correlations of 0.833 (avg labels), 0.905 (pass1), and 0.738 (pass2). Property-level analysis shows that monotonicity under removed specifications is the strongest single predictor of human agreement, followed by monotonicity under injected bugs, while identity and stability are weaker standalone signals. Applied to VeriBench, the protocol illustrates how a small human calibration set can support scalable, auditable judge selection for AI-generated code, tests, theorems, and formal specifications, without claiming universal or deployment-time guarantees.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
Loop or Leap? Benchmarking Iterative vs Recursive Reasoning in Code LLMs with LRLBench
Ishaan Bansal, Atharv Gupta, Pratham Singla, Shivank Garg, VIHAN SINGH
Abstract
Code-generation benchmarks report a single aggregate pass rate and provide no signal as to how a solution was obtained: a model scoring 70% on HumanEval could be reasoning about the underlying algorithm or emitting a memorised template, and the aggregate score does not distinguish the two. Most classical problems admit both iterative and recursive formulations, yet no existing benchmark evaluates whether a model can be constrained to either paradigm on demand. We introduce LRLBench, a paired benchmark of 3,000 LeetCode and Codeforces problems, each with a verified iterative solution, a verified recursive solution, synthetic test cases, and a full identifier rename via abstract syntax tree (AST) transformation. We evaluate four instruction-tuned large language models (LLMs) from 4B to 31B parameters on two tasks: paradigm-constrained code generation with 3 different prompting methods (iterative-forced prompt, recursive-forced prompt, free prompt) and program tracing on clean and renamed code. On code generation, forcing recursion lowers the share of fully correct solutions by 7.7-12.1 pp on Llama-3.1-8B, Mistral-Small-24B, and Gemma-4-31B, but only 0.4 pp on Qwen3-4B-Instruct. With no paradigm hint, models behave almost identically to the iterative-forced condition, identifying iteration as the default prior. On code tracing, post-training matters more than parameter count: Qwen3-4B reaches 61.4%, beating Llama-3.1-8B (20.5%) and Mistral-Small-24B (43.1%); Gemma-4-31B reaches 89.9%. The AST-based renaming degrades tracing accuracy for every model except Gemma-4-31B. We will open-source our code, dataset, and harness upon acceptance.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
BOAD: Discovering Hierarchical Software Engineering Agents via Bandit Optimization
Iris Xu, Guangtao Zeng, Zexue He, Charles Jin, Aldo Pareja, Dan Gutfreund, Chuang Gan, Zhang-Wei Hong
Abstract
Large language models (LLMs) have shown strong reasoning and coding capabilities, yet they struggle to generalize to real-world software engineering (SWE) problems that are long-horizon and out-of-distribution. Existing systems often rely on a single agent to handle the entire workflow—interpreting issues, navigating large codebases, and implementing fixes—within one reasoning chain. Such monolithic designs force the model to retain irrelevant context, leading to spurious correlations and poor generalization. Motivated by how human engineers decompose complex problems, we propose structuring SWE agents as orchestrators coordinating specialized sub-agents for sub-tasks such as localization, editing, and validation. The challenge lies in discovering effective hierarchies automatically: as the number of sub-agents grows, the search space becomes combinatorial, and it is difficult to attribute credit to individual sub-agents within a team. We address these challenges by formulating hierarchy discovery as a multi-armed bandit (MAB) problem, where each arm represents a candidate sub-agent and the reward measures its helpfulness when collaborating with others. This framework, termed Bandit Optimization for Agent Design (BOAD), enables efficient exploration of sub-agent designs under limited evaluation budgets. On SWE-bench-Verified, BOAD outperforms single-agent and manually designed multi-agent systems. On SWE-bench-Live, featuring more recent and out-of-distribution issues, our 36B system ranks second on the leaderboard at the time of evaluation, surpassing larger models such as GPT-4 and Claude. These results demonstrate that automatically discovered hierarchical multi-agent systems significantly improve generalization on challenging long-horizon SWE tasks.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
Self-Distillation Zero: Self-Revision Turns Binary Rewards into Dense Supervision
Yinghui He, Simran Kaur, Adithya Bhaskar, Yongjin Yang, Jiarui Liu, Narutatsu Ri, Liam Fowl, Abhishek Panigrahi, Danqi Chen, Sanjeev Arora
Abstract
Current post-training methods in verifiable settings fall into two categories. Reinforcement learning (RLVR) relies on binary rewards, which are broadly applicable and powerful, but provide only sparse supervision during training. Distillation provides dense token-level supervision, typically obtained from an external teacher or using high-quality demonstrations. Collecting such supervision can be costly or unavailable. We propose Self-Distillation Zero (SD-Zero), a method that is substantially more training sample-efficient than RL and does not require an external teacher or high-quality demonstrations. SD-Zero trains a single model to play two roles: a Generator, which produces an initial response, and a Reviser, which conditions on that response and its binary reward to produce an improved response. We then perform on-policy self-distillation to distill the reviser into the generator, using the reviser's token distributions conditioned on the generator's response and its reward as supervision. In effect, SD-Zero trains the model to transform binary rewards into dense token-level self-supervision. On math and code reasoning benchmarks with Qwen3-4B-Instruct and Olmo-3-7B-Instruct, SD-Zero improves performance by at least 10% over the base models and outperforms strong baselines, including Rejection Fine-Tuning (RFT), GRPO, and Self-Distillation Fine-Tuning (SDFT), under the same question set and training sample budget. Extensive ablation studies show two novel characteristics of our proposed algorithm: (a) token-level self-localization, where the reviser can identify the key tokens that need to be revised in the generator's response based on reward, and (b) iterative self-evolution, where the improving ability to revise answers can be distilled back into generation performance with regular teacher synchronization.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
Don’t Claim Benchmark-Oriented Optimization Improves General Coding Capability — Diverse Evaluation Is Required
Egor Shibaev, Vera Kudrevskaia, Timur Galimzyanov, Mikhail Evtikhiev, Ana Țerna, Rastislav Rabatin, Timur Kudashev, Timofey Bryksin, Arina Puchkova, Patrik Bartak, Egor Bogomolov, Sergey Titov
Abstract
Post-training papers, model cards, and blog posts often treat scores on a small set of coding benchmarks (e.g., SWE-bench and LiveCodeBench) as evidence of broad "coding capability", both for research artifacts and user-facing systems. We argue that optimization for these benchmarks leads to measuring task-specific performance, creating a meaning gap between measured scores and claims of general coding ability. We examine this gap with a Django-based case study benchmark suite we create. Evaluating foundation models and checkpoints post-trained on SWE-bench trajectories, we find that benchmark rankings frequently fail to generalize. Post-trained checkpoints show little cross-task transfer, and SWE-bench optimization yields limited or no gains on our tasks or on LiveCodeBench. Similarly, fine-tuning on individual Django modalities fails to transfer. We conclude that a small number of benchmarks is insufficient for evaluating diverse models under benchmark optimization pressure. We encourage the community to use differentiated evaluation—holistic assessment for frontier models, multi-task suites for research, and human-in-the-loop studies for narrow task applications. Finally, we argue for creating a capability taxonomy and sustained benchmark maintenance, rather than one-off benchmark releases. Without reliable evaluation standards, engineers and researchers using LLMs and agents have to rely on insufficient evidence to make research, development, and deployment decisions.
Abstract source