プロフィール

設定

読み込み中…

← ホーム

ヘルプ・お問い合わせ

よくある質問

ログインが必要な機能はどれですか?

公開されている論文の解説・論文情報・モデル構造・関連論文・用語は、ログインしなくても読めます。論文のアップロード、マイライブラリ、閲覧履歴、論文の評価、興味のある分野のおすすめ、メールと通知は、ログインすると使えます。

PDFファイルでもアップロードできますか?

論文はarXivまたはDOIのリンクでアップロードし、解説はすべての人に公開されます。出典と利用条件を確認できず解説を公開できない論文は、アップロードできません。PDFファイルのアップロードと非公開は購読会員だけが使え、ファイルでアップロードした論文は非公開でのみ保存します。タイトルで公式情報を探す検索は、ボタンを押したときにだけ行います。

図とAI解説は正確ですか?

図は論文に掲載されているものだけを使い、利用許諾を確認できたものだけを表示しています。解説はAIが書いた文章のため、誤りが含まれることがあります。重要な主張や数値、図の文脈は、元論文の根拠で確認してください。

著作権の問題を報告したい

ライセンスと元論文の出典は「論文情報」タブに記載しています。問題がある場合は、「お問い合わせ」で「論文の内容・図・著作権」を選び、論文のリンク、問題のある箇所、権利を確認できる根拠を送ってください。受け付けただけで権利が確定したり、すぐに削除されたりすることはありません。確認の結果は「お問い合わせ履歴」で見られます。

パスワードを忘れました

メールアドレスで登録した場合は、ログイン画面のパスワード再設定から、確認済みのメールアドレスで設定し直せます。Google・NAVER・カカオで登録した場合は、それぞれのサービスでパスワードを変更してください。

お問い合わせには何を書けばいいですか?

どの画面で何をしたときに起きた問題かを、論文のリンクと一緒に書いてください。パスワード・APIキー・認証コード・電話番号などの個人情報は書かないでください。お問い合わせと回答はRefivuに保存され、「お問い合わせ履歴」で見られます。

退会するにはどうすればいいですか?

設定の「アカウント」で「退会」を押してください。削除される内容を確認し、本人確認を済ませると退会できます。そのほかの依頼は、「お問い合わせ」で「アカウント」を選んで送ってください。

論文解説

Pdb or Not to Be: Comparing Debugging Interfaces With Pass$_{X}$@$k$

Pdb or Not to Be:Pass$_{X}$@$k$によるデバッグインターフェースの比較

  • 課題 ツールの追加や複数エージェント構成と、デバッガエージェントの効果が絡み合っています。単一実行の比較では、反復サンプリングによる分散が見えません。
  • 手法 bash-agentとpdb-agentを同じハーネスで比較し、複数の実行を組み合わせる交差pass@k推定量であるpassX@kで比べます。
  • 結果 bash実行2回のpassX@2が、bashとpdbの実行を1回ずつ組み合わせた値を上回りました。単一実行の相補性は、主に実行間の分散で説明されます。

デバッガインターフェース比較の課題

コーディングエージェントの多くは、print文、テストスクリプト、シェルコマンドからなる編集・実行・観察のループに依存しています。ライブデバッガを使うと、スタックフレーム、変数の値、ステップ実行といった実行中の状態に直接アクセスできます。しかし既存研究では、デバッガを追加ツールやサブエージェントとして組み込む例が多くありました。この方式では、デバッガが与える実行の証拠による効果と、ツールを追加したことがポリシー全体に与える影響を切り分けにくいです。また既存の比較の多くは単一ロールアウトの性能を報告していますが、同じ構造でも反復サンプリングの際に解ける課題の集合は大きく変わりえます。この論文は、こうした混乱を減らすために、シェルを持たないデバッガエージェントとシェルベースのエージェントを同じハーネスで比較しています。

bash-agentとpdb-agentの構成

両方の構成は、同じモデル、プロンプト、予算、サンドボックス、リポジトリのスナップショット、共有ツール集合を使い、違うのは実行インターフェースだけです。bash-agentはrun_bashで任意のシェルコマンドを実行しますが、観察後に編集を求めるプロンプトをハーネスで強制することはしていません。pdb-agentにはシェルアクセスがなく、制限付きのPython実行器と持続的なデバッガセッションを使います。pdb-agentでは、現在のrelayでデバッガコマンドが一度成功するまで、replace_textの編集ツールがロックされています。この編集ゲートは、パイロット実行で、エージェントが状態を確認せずに盲目的に編集して予算を使い切る失敗を減らすために追加されました。

1回のロールアウトは最大10個のrelayに分けられ、各relayは最大50回のエージェントターンを持ちます。

Figure 1: Controlled execution interface comparison. The two upper bands are identical across
arms: models, sampling, prompts, relay and turn budgets, sandbox…

Figure 1 : Controlled execution interface comparison. The two upper bands are identical across arms: models, sampling, prompts, relay and turn budgets, sandbox, repository snapshot, and a shared substrate of navigation, testing, and editing tools. Only the execution interface differs. The bash-agent runs arbitrary shell commands. The pdb-agent trades the shell for a debugger session plus a scoped script runner for setup, and its edit tools stay locked until one debugger command succeeds in the current relay. The gate is the one enforced constraint in the study, added after pilot runs showed the pdb arm editing blindly without ever inspecting state.

出典 · CC BY 4.0 · Ryan Magnuson, Ellie Kitanidis, Ariel Lee · Pdb or Not to Be: Comparing Debugging Interfaces With Pass$_{X}$@$k$ · 論文の図を引用 · 元のPDFの4ページ目から図の部分を抽出しています。

passX@k推定量

passX@kは、複数のエージェントの実行を一つの結合推定量にまとめた、エージェント横断のpass@kです。各エージェントmと課題jについて、成功した実行数をc_jmとすると、論文の式はpassX@k = 1 − (1/n^k) ∏_{m=1}^{k} (n − c_jm)です。この式の∏の中で引かれる値は、各エージェントが失敗した実行数であり、結合値全体は、すべてのエージェントが同時に失敗する確率を1から引いた値になります。分母のn^kは、各エージェントのn個の実行から1つずつ選ぶ組み合わせの総数に対応します。この論文では2つのエージェントとエージェントごとに3回の実行を使うため、n=3、k=2とおき、交差推定量をpass@2の形で計算しています。

この推定は、各エージェント内の実行がiidで、エージェント間の実行のまとまりが互いに独立であるとき不偏だと、論文は証明しています。

Figure 3: Cumulative solve rate as a function of relay budget. Dotted curves are pass@1, with the
shaded envelope spanning the three seeds. Solid curves are pa…

Figure 3 : Cumulative solve rate as a function of relay budget. Dotted curves are pass@1, with the shaded envelope spanning the three seeds. Solid curves are pass@2. Two bash rollouts (solid red) dominate the passX@2 of one bash + one pdb rollout (green, dashed) at every relay threshold. The oracle reranker (gray, dotted) unions all six runs at3×the budget and is plotted as a ceiling.

出典 · CC BY 4.0 · Ryan Magnuson, Ellie Kitanidis, Ariel Lee · Pdb or Not to Be: Comparing Debugging Interfaces With Pass$_{X}$@$k$ · 論文の図を引用 · 元のPDFの6ページ目から図の部分を抽出しています。

モデル別の性能と実行間分散

GPT-OSS-120B設定では、bash-agentのpass@1は56.7±0.6、pdb-agentは40.3±0.8です。同じ設定で、bash-agent2回分のpass@2は64.7、bashとpdbの実行を1回ずつ結合したpassX@2は60.0でした。Nemotron-3-Ultra設定では、bash-agentのpass@1が56.7±1.2、pdb-agentのpass@1が49.6±1.4と報告されており、bash実行2回のpass@2は62.7、交差組み合わせのpassX@2は60.3です。著者らは、単一実行で見られるpdb固有の解決は、主に実行間の分散から生じると解釈しています。

この解釈は、3回の実行をまとめた図4の和集合比較に基づいています。

Table 1: Correctness rates by model and architecture, averaged over the entire dataset and with a
maximum budget of10relays. For pass@1(i.e. the mean over thre…

Table 1 : Correctness rates by model and architecture, averaged over the entire dataset and with a maximum budget of10relays. For pass@1(i.e. the mean over three runs), we also report st. dev.

出典 · CC BY 4.0 · Ryan Magnuson, Ellie Kitanidis, Ariel Lee · Pdb or Not to Be: Comparing Debugging Interfaces With Pass$_{X}$@$k$ · 論文の図を引用 · 元のPDFの5ページ目から図の部分を抽出しています。
Figure 4: Who solved it. Top row: what a single-seed comparison sees (mean over all nine pairings).
Bottom row: comparing the unions of the full three runs per…

Figure 4 : Who solved it. Top row: what a single-seed comparison sees (mean over all nine pairings). Bottom row: comparing the unions of the full three runs per architecture.

出典 · CC BY 4.0 · Ryan Magnuson, Ellie Kitanidis, Ariel Lee · Pdb or Not to Be: Comparing Debugging Interfaces With Pass$_{X}$@$k$ · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。

シェルとデバッガを併用する追加実験

追加実験では、bash-agentのrun_bashを維持したまま、pdbセッションを加えたpdb_shell構成を、同じ条件の3つのシードで評価しています。この構成では編集ゲートを強制していません。論文によると、pdb_shellのpass@1はNemotron-3-Ultraで58.1、GPT-OSS-120Bで57.9であり、どちらのモデルでもbash-agentの56.7との差は約1.5点以内です。そのため、デバッガを加える設定ではpass@1の変化は大きくありませんでした。交差pass@2は両モデルとも、bash実行2回分よりわずかに高いものの、その差は1点前後で、relay予算r≤2の場合はbash実行2回分より低くなります。

Figure 8: Who solved it, bash versus pdb_shell, same construction as Figure 4. Top row: mean
over the nine bash×pdb_shell seed pairings. Bottom row: union of…

Figure 8 : Who solved it, bash versus pdb_shell, same construction as Figure 4. Top row: mean over the nine bash×pdb_shell seed pairings. Bottom row: union of all three runs per architecture. Unlike the substitution comparison, the exclusive-solve bars are symmetric between arms (union: 4.2% bash-only vs. 6.4% pdb_shell-only for Nemotron; 5.8% vs. 5.2% for GPT-OSS-120B) and both shrink between rows, consistent with two arms of equal strength sampled independently.

出典 · CC BY 4.0 · Ryan Magnuson, Ellie Kitanidis, Ariel Lee · Pdb or Not to Be: Comparing Debugging Interfaces With Pass$_{X}$@$k$ · 論文の図を引用 · 元のPDFの13ページ目から図の部分を抽出しています。
Figure 9: Cumulative solve rate as a function of relay budget r for the additive pdb_shell arm against
bash-agent, same construction as Figure 3. Dotted curve…

Figure 9 : Cumulative solve rate as a function of relay budget r for the additive pdb_shell arm against bash-agent, same construction as Figure 3. Dotted curves are pass@1 with the 3-seed envelope; solid red and blue are intra-architecture pass@2 (Eq. (4)); green is the cross-architecture pass@2 of one bash run and one pdb_shell run (Eq. (5)). With the shell retained, pdb_shell pass@1 matches bash pass@1 within about 1.5 points, and the mixed pair edges out both intra-architecture pairs at the full budget by roughly one point while trailing two bash runs at r ≤ 2.

出典 · CC BY 4.0 · Ryan Magnuson, Ellie Kitanidis, Ariel Lee · Pdb or Not to Be: Comparing Debugging Interfaces With Pass$_{X}$@$k$ · 論文の図を引用 · 元のPDFの13ページ目から図の部分を抽出しています。

対象範囲と限界

この研究は、2つのオープンウェイト推論モデルと1つのデバッガ構成に限られています。そのため、別のモデルや別のデバッグインターフェースでは曲線が変わる可能性があります。また、Nemotron-3-Ultraの技術報告書は、SWE-bench Verifiedがエージェントの後学習のシードセットに含まれると明らかにしているため、bashへの慣れの一部がインスタンス固有のものである可能性があります。SWE-bench VerifiedはPython専用なので、長期的で状態に依存する失敗を十分に含めていない可能性があります。複雑度の層では、3個以上のファイルの区間はn=22、100行を超える区間はn=8なので、難度の高い区間について強い結論を出すのは難しいです。

Figure 5: Pass rate by gold-patch complexity (files touched). Both interfaces decline in parallel; the
debugger’s deficit is roughly constant across buckets ra…

Figure 5 : Pass rate by gold-patch complexity (files touched). Both interfaces decline in parallel; the debugger’s deficit is roughly constant across buckets rather than shrinking on harder instances. The changed-lines stratification gives the same picture (Figure 6).

出典 · CC BY 4.0 · Ryan Magnuson, Ellie Kitanidis, Ariel Lee · Pdb or Not to Be: Comparing Debugging Interfaces With Pass$_{X}$@$k$ · 論文の図を引用 · 元のPDFの10ページ目から図の部分を抽出しています。
Figure 6: Pass rate by gold-patch complexity (changed lines). As with the files-touched stratification
(Figure 5), both interfaces decline in parallel as patch…

Figure 6 : Pass rate by gold-patch complexity (changed lines). As with the files-touched stratification (Figure 5), both interfaces decline in parallel as patches grow. The pdb–bash deficit is roughly stable through 100 lines and vanishes in the >100-line bucket under both models, but that bucket is too small to draw general conclusions,n=8.

出典 · CC BY 4.0 · Ryan Magnuson, Ellie Kitanidis, Ariel Lee · Pdb or Not to Be: Comparing Debugging Interfaces With Pass$_{X}$@$k$ · 論文の図を引用 · 元のPDFの10ページ目から図の部分を抽出しています。

論文情報

著者
Ryan Magnuson, Ellie Kitanidis, Ariel Lee
学会・ジャーナル
arXiv · プレプリント
公開日
2026年11月5日
登録日
2026年11月9日
更新日
2026年11月5日
バージョン
v1
arXiv
2611.08666
カテゴリ
cs.AI · cs.SE
ライセンス
CC BY 4.0
掲載内容
論文情報・解説・論文の図

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

アブストラクト

Interactive debuggers are indispensable to human software development, yet coding agents overwhelmingly rely on edit-execute-observe loops, using common bash tools, test scripts, and print statements to debug via repeated shell commands. Stepping through a debugger provides live access to runtime state, which may enable different problem-solving capabilities. However, prior work typically introduces the debugger as an additional tool or through a new subagent, making its individual contribution difficult to isolate from the associated scaffold changes. To address this, we compare a debugger-only agent against a bash-only agent on all 500 SWE-bench Verified instances, holding the rest of the scaffold fixed. We evaluate both architectures on two models, GPT-OSS-120B and Nemotron-3-Ultra-550B, with three independent runs per architecture $\times$ model configuration. Crucially, to distinguish interface specialization from expanded coverage under repeated sampling, we introduce pass$_X$@$k$, a cross-agent pass@$k$ that provides an unbiased estimator of the probability that at least one of $k$ agents is successful. Although the bash and debugger agents solve partially disjoint subsets of the benchmark in any single pair of runs, our pass$_X$@$2$ estimator reveals that this is largely due to run-to-run variance rather than tool complementarity. Across both models, we find that two bash rollouts outperform the combination of one bash and one debugger rollout. Our findings highlight the importance of accounting for stochastic variance in evaluating agent and tool diversity, and we hope that pass$_X$@$k$ will serve as a useful framework for the community.

この論文を引用

Ryan Magnuson, Ellie Kitanidis, Ariel Lee (2026). Pdb or Not to Be: Comparing Debugging Interfaces With Pass$_{X}$@$k$. arXiv:2611.08666v1. https://arxiv.org/abs/2611.08666v1

BibTeX
@misc{magnuson2026comparing,
  title = {{Pdb or Not to Be: Comparing Debugging Interfaces With Pass$_{X}$@$k$}},
  author = {Ryan Magnuson and Ellie Kitanidis and Ariel Lee},
  year = {2026},
  eprint = {2611.08666},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.08666v1}
}

関連論文を見る他の論文を見る

論文プレビュー
アカウントのセキュリティ

Googleアカウントを連携

Googleアカウントを連携すると、そのアカウントでもログインできます。

Refivu

退会

Refivu
Refivu

新規登録