atlas

Research map / Large language models / Agents, code and math

Nemotron-CORTEXA: Enhancing LLM Agents for Software Engineering Tasks via Improved Localization and Solution Diversity

ICML 2025 · Large language models › Agents, code and math · approach: Software engineering agents

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Builds NEMOTRON-CORTEXA, an agentic SWE-bench issue-resolution pipeline with a fine-tuned code embedding model (NV-EmbedCode), an AST/LSP-based localization agent ensembled over four LLMs, and diversified patch generation across contexts and edit formats.

Problem

Automatically resolving real-world GitHub issues in large repositories requires localizing the faulty code within limited LLM context and generating correct patches efficiently, which prior pipelines like Agentless handle imperfectly.

Approach

Combine a code-specialized embedding model for file retrieval, a graph-based localization agent with IDE-style navigation tools ensembled over several LLMs, and diversity in patch generation by varying both context and edit format (not only temperature) before test-based filtering and majority voting.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use NEMOTRON-CORTEXA instead of AgentlessSWE-bench software-engineering agent · SWE-bench Literesolved: 40.67% -> 42.00%Helped
use NEMOTRON-CORTEXA instead of AgentlessSWE-bench software-engineering agent · SWE-bench Verifiedresolved: 50.80% -> 52.60%Helped
use NV-EmbedCode instead of GPT-4o prompt retrievalfile retrieval · SWE-bench Literecall@k: 63.00% -> 67.67%Helped
use NV-EmbedCode with an LLM-generated summary instead of the original issue description (ablation)file retrieval · SWE-bench Literecall@k: 67.67% -> 70.33%Helped
use an LLM-generated summary instead of the original issue description (ablation)BM25 file retrieval · SWE-bench Literecall@k: 42.33% -> 38.00%Hurt
use localization agent plus direct prompting instead of Agentless entity localizationentity localization · SWE-bench Literecall: 59.94% -> 74.72%Helped
add localization-agent tool use to direct prompting (ablation)entity localization · SWE-bench Literecall: 60.56% -> 71.17%Helped
add direct-prompting entities to localization-agent results (ablation)entity localization · SWE-bench Literecall: 71.17% -> 74.72%Helped
ensemble four localization agents instead of the best individual model (ablation)entity localization · SWE-bench Literecall: 45.94% -> 74.72%Helped
use NV-EmbedCode instead of NV-EmbedQA-v2 to provide files to localization (ablation)localization agent · SWE-bench Verifiedrecall: 65.03% -> 67.62%Helped
use entity-localization results instead of the top-1 retrieved file as patch-generation context (ablation)patch generation · SWE-bench VerifiedresolvedHelped
vary context and edit format instead of using only LA context and search/replace (ablation)patch generation · SWE-bench VerifiedPass@9: 270 -> 307Helped

Surprising findings

Limitations

Experimental setup

Datasets: SWE-bench training set CoIR (APPS, CoSQA, CodeTransOcean, StackOverflowQA, SyntheticText2SQL) CodeFeedback-derived synthetic code data LLM-generated issue summaries

Benchmarks: SWE-bench Lite SWE-bench Verified

Metrics: % resolved recall@k precision recall pass@1 pass@9 avg cost per instance

Baselines: Agentless OpenHands Moatless Tools AutoCodeRover SWE-agent SFR-Embedding-2 R NV-Embed-v2 NV-EmbedQA-v2 BM25

Builds on: Agentless NV-Embed-v2 information foraging theory SWE-bench

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy