論文解説
One Run Is Not Enough: Reminding a small Gemma 4 coding agent of its last finding made no measurable difference in a paired test
一度の実行では不十分:小型Gemma 4コーディングエージェントへの最後の発見の再提示と、対応のあるテストで測定可能な差の不在
- 課題 自動で再注入される記憶が、圧縮後の小型コーディングエージェントの課題解決率を高めるかどうかは不明でした。
- 手法 圧縮時にexplorerの最新の発見をコーダーの指示文へ再び入れるrecap処理を、noneという対照群と課題のペアで比べました。
- 結果 98ペアの合計では、recapは47/98、noneは48/98を解決しました。差は−1.0点[−8.3, +6.3]で、有意ではありませんでした。
圧縮後に記憶が失われる問題
コーディングエージェントは、コンテキストが上限に達すると会話を圧縮します。その過程で、それまでに得た発見を失いやすくなります。この論文は、この問題を単一課題内の記憶の問題として捉えています。圧縮時にexplorerサブエージェントの最新の発見をコーダーの指示文へ再び入れると、Gemma 4 31Bがリポジトリの課題をよりよく解けるかを確かめようとしました。
ここで確認の対象は、エージェントが自分で書くworking memoryではありません。ハーネスが自動で再注入するexplorerの最後の発見と、エージェントがまれに残したノートです。そのため、この研究の問いは、自動の再注入が解決率を実際に変えるかどうかに近いものです。
recap処理と対応のある比較の設計
実験モデルはGemma 4 31B QAT 4-bitで、Gemma 4 Developer Agent harnessで実行しました。課題は、SWE-bench系列の公開開発課題129個のうち、検証を経て選んだ105個から抽出しました。正解パッチが通る課題を段階的に増やして有効な集合を決め、シード20261107で48ペアをリポジトリごとに層化抽出しました。
処理群のrecapは、圧縮後にexplorerの最新の回答を最大15行までコーダーの指示文に入れます。ノートの注入もありましたが、エージェントはほとんど使いませんでした。対照群のnoneは、記憶を注入せずに実行します。主な分析は実行1における意図した対象の解決率で、バックエンドごとに層化したブートストラップ、Newcombe区間、exact McNemar検定を用いました。追加の50課題は、48ペアの結果を見たあとに事前登録した拡張分析です。98ペアの合計は補助的な分析です。
解決率の差と雑音の基準
最初の48ペアでは、recapは29/48、noneは25/48を解決しました。差は+8.3点[−2.1, +18.3]で、exact McNemar pは0.22でした。続く50課題の拡張分析では、recapが18/50、noneが23/50を解決しました。差は−10.0点[−20.2, +0.7]となり、方向が逆になりました。pは0.125でした。98ペアの合計では、47/98対48/98で、差は−1.0点[−8.3, +6.3]、pは1.0です。

Figure 1 : Resolve-rate difference with Newcombe 95% intervals. Blue: recap minus none, per backend and pooled. Orange: the no-memory arm against itself. Dashed: the minimal detectable effect.
出典 · CC BY 4.0 · Patrick Passos · One Run Is Not Enough: Reminding a small Gemma 4 coding agent of its last finding made no measurable difference in a paired test · 論文の図を引用 · 元のPDFの5ページ目から図の部分を抽出しています。雑音の基準として、同じno-memory処理を実行2と実行1で比べました。48課題のうち9個で結果が変わり、18.75%でした。著者らは、この程度の雑音を考えると、数十課題の単一実行では記憶の効果を見分けにくいと解釈しています。

Table 1 : Noise floor with no treatment (no memory, run 2 vs run 1).
出典 · CC BY 4.0 · Patrick Passos · One Run Is Not Enough: Reminding a small Gemma 4 coding agent of its last finding made no measurable difference in a paired test · 論文の図を引用 · 元のPDFの4ページ目から図の部分を抽出しています。反復行動とノートの使用
圧縮ごとの反復行動は、登録された2次指標です。プール化した差は+0.30[−4.50, +5.98]で、Wilcoxon pは0.27でした。著者らは、この結果を記憶が反復行動を減らす根拠とは見ていません。
![Table 3: Repeats per compaction, recap − none: paired mean difference [bootstrap 95% CI],
Wilcoxonp, and tasks with a rate in both arms](/papers/c7922bdb-3027-4bf1-b712-de50ef206066/figures/figure-27541a6863449e4f866785f2e6b36594.png?thumb=512)
Table 3 : Repeats per compaction, recap − none: paired mean difference [bootstrap 95% CI], Wilcoxonp, and tasks with a rate in both arms.
出典 · CC BY 4.0 · Patrick Passos · One Run Is Not Enough: Reminding a small Gemma 4 coding agent of its last finding made no measurable difference in a paired test · 論文の図を引用 · 元のPDFの5ページ目から図の部分を抽出しています。ノートの作成はまれでした。Modalでは16回の実行のうち2回、Kaggleでは32回のうち4回だけがノートを残しました。注入の割合もModalで47%、Kaggleで65%にとどまりました。そのため、この設定での記憶の効果は、エージェントの協力にあまり依存しない自動の再注入経路で測定されたものです。

Figure 2 : Adherence and delivery, recap arm, run 1.
出典 · CC BY 4.0 · Patrick Passos · One Run Is Not Enough: Reminding a small Gemma 4 coding agent of its last finding made no measurable difference in a paired test · 論文の図を引用 · 元のPDFの6ページ目から図の部分を抽出しています。検出力と適用範囲
48ペアの設計は、約±18点以上の効果に対してのみ80%の検出力を持ちました。98ペアの合計の設計も、約±12点以上の効果に対してのみ80%の検出力を持つと報告されています。合計の区間は、約8点以上の悪化と約6点以上の改善を除外しますが、それより小さい効果は区別できません。
バックエンドはリポジトリと混ざっているため、バックエンドごと、またはリポジトリごとの効果は主張できません。モデルはGemma 4 31B QAT 1つだけで、サンドボックスは公式のDocker採点器ではなく、subprocessサンドボックスで実行しました。エージェントが書いたworking memoryは検証していません。また、誤り記憶の統制実験は予算の制限により除外されました。

Table 5 : Descriptive counts, run 1, per backend and arm.
出典 · CC BY 4.0 · Patrick Passos · One Run Is Not Enough: Reminding a small Gemma 4 coding agent of its last finding made no measurable difference in a paired test · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。論文情報
- 著者
- Patrick Passos
- 学会・ジャーナル
- arXiv · プレプリント
- 公開日
- 2026年11月14日
- 登録日
- 2026年11月17日
- 更新日
- 2026年11月14日
- バージョン
- v1
- arXiv
- 2611.19359
- カテゴリ
- cs.AI
- ライセンス
- CC BY 4.0
- 掲載内容
- 論文情報・解説・論文の図
この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。
アブストラクト
When a coding agent runs out of room, its earlier findings are cut and it forgets them. We tested a simple fix: automatically putting the agent's last finding back in front of it. We fixed the rules in advance and ran 98 paired coding tasks with and without this reminder, using Gemma 4 31B (QAT, 4-bit) in the Gemma 4 Developer Agent harness. The reminder made no measurable difference: across all 98 tasks, 47 were solved with it and 48 without (-1.0 points, 95% interval [-8.3, +6.3], exact McNemar p=1.0). The primary outcome (a documented deviation from our preregistration), the first 48 pairs, was 29/48 with memory against 25/48 without (+8.3 points, [-2.1, +18.3], p=0.22); the extension of 50 tasks, decided after that result, pointed the other way (18/50 against 23/50, -10.0 points, p=0.125), so the sign did not replicate. With 19% of tasks flipping between two identical no-memory runs, the combined interval excludes harms larger than about 8 points and gains larger than about 6, and the design had 80% power only for effects of about +-12 points or more. The model almost never wrote notes (2 of 16 and 4 of 32 runs), and memory cost context: the first request is larger and something was injected at only 47% to 65% of compactions. The registered secondary, repeated actions per compaction, was also null. Two directional hypotheses found on Modal did not replicate on Kaggle. We also report an A/A calibration and a validity funnel (129 tasks, 105 valid). Together these results show that single-run memory claims on task sets of this size sit inside run-to-run noise. The treatment is a harness mechanism and does not test agent-written memory.
この論文を引用
Patrick Passos (2026). One Run Is Not Enough: Reminding a small Gemma 4 coding agent of its last finding made no measurable difference in a paired test. arXiv:2611.19359v1. https://arxiv.org/abs/2611.19359v1
BibTeX
@misc{passos2026enough,
title = {{One Run Is Not Enough: Reminding a small Gemma 4 coding agent of its last finding made no measurable difference in a paired test}},
author = {Patrick Passos},
year = {2026},
eprint = {2611.19359},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.19359v1}
}