修復段階に合った過去の経験を選びプログラム修正に使う
AdaRepair-Mem: Adaptive Experience Orchestration for Repository-Level Program Repair
この論文をやさしく読む
ひとことで言うと
過去の修正経験を、リポジトリの状況と修正作業の段階に合わせて取り出すプログラム修復の方法です。
何に役立つ?
過去の経験が少ないリポジトリでも、関連する別の経験を使い、不具合再現から検証までを支援することを狙います。
この研究の面白いところ
経験の件数を増やすだけでなく、関連性、過去の有用性、具体性、重複を評価します。再現・位置特定・パッチ生成・修正・検証の段階ごとに記憶を分けます。
どこまで分かった?
SWE-Bench-LiteとVerifiedで改善を報告していますが、要旨に成功率や計算コストの具体値はありません。任意の実リポジトリで確実に修正できることを示すものではありません。
v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。
アブストラクトの日本語訳
近年の、記憶を活用するリポジトリ単位のプログラム修復手法は、過去の修復経験を再利用し、LLMによる課題解決を改善している。しかし、本研究の分析では、既存のリポジトリ単位の記憶検索に三つの限界が見つかった。第一に、エピソード記憶がリポジトリ間で大きく偏っており、経験の少ないリポジトリでは有効な支援がほとんど得られない。第二に、記憶を増やしても修復成功率が単調に高まるわけではなく、単なる量よりも関連性、品質、冗長性が重要である。第三に、記憶の蓄積と修復段階がかみ合っておらず、不具合再現の経験は多くても、パッチ作成や改善の経験が少ないリポジトリがある。 これらに対処するため、リポジトリ単位のプログラム修復向けに、経験を適応的に検索する枠組みを提案する。同一リポジトリの記憶が不足する場合に、別のリポジトリや修復の種類に基づく記憶を使う、網羅性を考慮した検索を導入する。また、関連性、過去の有用性、具体性、冗長性によって記憶を順位付けする品質重視の選択と、再現、原因箇所の特定、パッチ生成、パッチ改善、検証の各段階の記憶を分けて検索する、段階に応じた振り分けも導入する。 SWE-Bench-LiteとSWE-Bench-Verifiedで評価した結果、経験の蓄積が乏しいリポジトリで修復性能が向上し、雑音となる記憶の取得が減り、失敗したパッチを修正成功へ導く改善をよりよく支援できた。結果は、記憶を活用した修復の鍵が、単に経験を増やすことではなく、修復の状況に合った経験を検索することにあると示している。
v1の要旨から自動生成。本文の精読・人による確認は未実施。
- 初稿
- 2026-09-17(UTC)
- 最新改訂
- 2026-09-17 · v1
- 査読・掲載
- 査読状況未確認
更新履歴
- v1 2026-09-17 この版を読む
取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。
原文の要旨
Recent memory-augmented repository-level program repair methods reuse historical repair experiences to improve LLM-based issue resolution. However, our analysis reveals three limitations in existing repository-level memory retrieval. First, episodic memory is highly imbalanced across repositories, leaving low-resource repositories with little effective support. Second, more memory does not monotonically lead to higher repair success, suggesting that relevance, quality, and redundancy matter more than raw memory volume. Third, memory accumulation is phase-misaligned: repositories may contain many reproduction experiences but few patch or refinement experiences. To address these problems, we propose an adaptive experience retrieval framework for repository-level program repair. Our framework introduces coverage-aware retrieval, which falls back to cross-repository or repair-type-based memories when same-repository memory is insufficient; quality-aware selection, which ranks memories by relevance, historical utility, specificity, and redundancy; and stage-aware routing, which separates and retrieves memories for reproduction, localization, patch generation, patch refinement, and validation. Evaluated on SWE-Bench-Lite and SWE-Bench-Verified, the proposed framework improves repair performance on under-covered repositories, reduces noisy memory retrieval, and better supports failed-to-fixed patch refinement. Our results show that the key to memory-augmented repair is not simply accumulating more experiences, but retrieving the right experiences for the right repair context.
著者のコメント
12 pages, 9 figures
arXiv ID: 2609.20130 / 要約の誤りについて