paper-with-me

홈 › Papers

InfCode-C++: Intent-Guided Semantic Retrieval and AST-Structured Search for C++ Issue Resolution

2025-11-20 · Qingao Dong, Mengfei Wang, Hengzhi Zhang, Zhichao Li, Yuan Yuan, Mu Li, Xiang Gao, Hailong Sun, Chunming Hu, Weifeng Lv arxiv

Large language model (LLM) agents have recently shown strong performance on repository-level issue resolution, but existing systems are almost exclusively designed for Python and rely heavily on lexical retrieval and shallow code navigation. These approaches transfer poorly to C++ projects, where overloaded identifiers, nested namespaces, template instantiations, and deep control-flow structures make context retrieval and fault localization substantially more difficult. As a result, state-of-the-art Python-oriented agents show a drastic performance drop on the C++ subset of MultiSWE-bench. We introduce INFCODE-C++, the first C++-aware autonomous system for end-to-end issue resolution. The system combines two complementary retrieval mechanisms -- semantic code-intent retrieval and deterministic AST-structured querying -- to construct accurate, language-aware context for repair.These components enable precise localization and robust patch synthesis in large, statically typed C++ repositories. Evaluated on the \texttt{MultiSWE-bench-CPP} benchmark, INFCODE-C++ achieves a resolution rate of 25.58\%, outperforming the strongest prior agent by 10.85 percentage points and more than doubling the performance of MSWE-agent. Ablation and behavioral studies further demonstrate the critical role of semantic retrieval, structural analysis, and accurate reproduction in C++ issue resolution. INFCODE-C++ highlights the need for language-aware reasoning in multi-language software agents and establishes a foundation for future research on scalable, LLM-driven repair for complex, statically typed ecosystems.

📄 PDF Abstract BibTeX arXiv:2511.16005

Code (0)

등록된 구현이 없습니다.

Tasks

Semantic Retrieval

Similar Papers 제목 키워드 기반

InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolution

2025-11-20 · KeFan Li, Mengfei Wang, Hengzhi Zhang, Zhichao Li 외 arxiv

Large language models have advanced software engineering automation, yet resolving real-world software issues remains difficult because it requires repository-level reasoning, accurate diagnostics, and strong verificatio…

Semantic Caching and Intent-Driven Context Optimization for Multi-Agent Natural Language to Code Systems

2026-01-16 · Harmohit Singh arxiv

We present a production-optimized multi-agent system designed to translate natural language queries into executable Python code for structured data analytics. Unlike systems that rely on expensive frontier models, our ap…

Natural Language Queries

SCOPE: Structured Decomposition and Conditional Skill Orchestration for Complex Image Generation

2026-05-08 · Tianfei Ren, Zhipeng Yan, Yiming Zhao, Zhen Fang 외 arxiv

While text-to-image models have made strong progress in visual fidelity, faithfully realizing complex visual intents remains challenging because many requirements must be tracked across grounding, generation, and verific…

Image Generation

VideoStir: Understanding Long Videos via Spatio-Temporally Structured and Intent-Aware RAG

2026-04-07 · Honghao Fu, Miao Xu, Yiwei Wang, Dailing Zhang 외 arxiv

Scaling multimodal large language models (MLLMs) to long videos is constrained by limited context windows. While retrieval-augmented generation (RAG) is a promising remedy by organizing query-relevant visual evidence int…

MAGMA: A Multi-Graph based Agentic Memory Architecture for AI Agents

2026-01-06 · Dongming Jiang, Yi Li, Guanpeng Li, Bingzhe Li arxiv

Memory-Augmented Generation (MAG) extends Large Language Models with external memory to support long-context reasoning, but existing approaches largely rely on semantic similarity over monolithic memory stores, entanglin…

Semantic Similarity