Know Before Fix: QA-Driven Repository Knowledge Acquisition for Software Issue Resolution

· Source: cs.SE updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering, Robotics & Autonomous Systems · Depth: Expert, extended

Summary

ACQUIRE is a QA-driven framework designed to enhance automated software issue resolution by LLM-based coding agents, specifically addressing factual errors caused by insufficient repository understanding. It decouples knowledge acquisition from patch generation into two distinct stages. First, a "Questioner" and an "Answerer" collaborate to acquire structured repository knowledge by posing targeted questions and producing evidence-grounded answers through autonomous exploration. Second, a "Resolver" leverages this acquired QA knowledge to generate informed patches. Experiments on SWE-bench Verified demonstrate that ACQUIRE consistently outperforms representative pre-repair methods, raising Pass@1 by up to 4.4 percentage points with modest additional cost and time, utilizing backbone LLMs like DeepSeek-V3.2 and GPT-5-mini.

Key takeaway

For AI Engineers developing LLM-based coding agents, integrating a QA-driven knowledge acquisition stage like ACQUIRE can significantly enhance resolution accuracy and efficiency. You should prioritize explicit repository understanding before patch generation, leveraging structured question-answering to bridge knowledge gaps. This approach reduces costly trial-and-error, leading to more reliable and interpretable automated bug fixes.

Key insights

Proactive, QA-driven knowledge acquisition significantly improves LLM-based software issue resolution by addressing factual understanding gaps.

Principles

Method

A Questioner poses targeted questions, an Answerer explores the repository to provide evidence-grounded answers, and a Resolver uses this QA knowledge to generate informed patches.

In practice

Topics

Code references

Best for: Research Scientist, AI Scientist, Machine Learning Engineer, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.SE updates on arXiv.org.