# 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コーディングエージェントへの最後の発見の再提示と、対応のあるテストで測定可能な差の不在

Patrick Passos · arXiv · 2026年11月14日

- **課題** 自動で再注入される記憶が、圧縮後の小型コーディングエージェントの課題解決率を高めるかどうかは不明でした。
- **手法** 圧縮時に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…](https://refivu.com/papers/c7922bdb-3027-4bf1-b712-de50ef206066/figures/figure-4c98507442e4bb5bd4eaf960eb47c72b.png?thumb=512)

**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.

[出典](https://arxiv.org/abs/2611.19359v1) · [CC BY 4.0](https://creativecommons.org/licenses/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)](https://refivu.com/papers/c7922bdb-3027-4bf1-b712-de50ef206066/figures/figure-bed56b323886a7e19ba2ae4ed545f326.png?thumb=512)

**Table 1** : Noise floor with no treatment (no memory, run 2 vs run 1).

[出典](https://arxiv.org/abs/2611.19359v1) · [CC BY 4.0](https://creativecommons.org/licenses/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](https://refivu.com/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.

[出典](https://arxiv.org/abs/2611.19359v1) · [CC BY 4.0](https://creativecommons.org/licenses/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](https://refivu.com/papers/c7922bdb-3027-4bf1-b712-de50ef206066/figures/figure-00ccf5542b0b28c9393359d753c4c84e.png?thumb=512)

**Figure 2** : Adherence and delivery, recap arm, run 1.

[出典](https://arxiv.org/abs/2611.19359v1) · [CC BY 4.0](https://creativecommons.org/licenses/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](https://refivu.com/papers/c7922bdb-3027-4bf1-b712-de50ef206066/figures/figure-2d0031820a4c14ff4c0ba0e75c813981.png?thumb=512)

**Table 5** : Descriptive counts, run 1, per backend and arm.

[出典](https://arxiv.org/abs/2611.19359v1) · [CC BY 4.0](https://creativecommons.org/licenses/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](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2611.19359v1) · [PDF ↗](https://arxiv.org/pdf/2611.19359v1)

この解説は、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}
}
```

## この論文の用語

- [SWE-Bench](https://refivu.com/ja/terms/d2a8e736795c-swe-bench)
- [resolve rate](https://refivu.com/ja/terms/39b7fa2a1d7e-resolve-rate)

## ほかの論文解説

- [Guiding AI Agents to Generate Conjectures by Encoding How Theorems Build on One Another](https://refivu.com/ja/papers/62af4783-da20-4330-8ead-89401a9e5c42-guiding-ai-agents-to-generate-conjectures-by-encoding.md)
- [Agent Authenticator: Passkey-Grade, Hardware-Bound Authentication for AI Agents](https://refivu.com/ja/papers/c6881b60-4466-4f78-874b-a41bdd696c71-agent-authenticator-passkey-grade-hardware-bound.md)
- [Where Should LLM Agents Adapt at Test Time? In Context, in Weights, or Both](https://refivu.com/ja/papers/39fae58e-bc8b-4dc6-bf76-acf24f94a299-where-should-llm-agents-adapt-at-test-time.md)
- [Beyond Plain MCP: Do Decision Models and Code Mode Make Tool Use Cheaper and Faster?](https://refivu.com/ja/papers/88efe713-93d8-47d6-b8be-667c299e21ae-beyond-plain-mcp-do-decision-models-and-code.md)
- [We Have All the Cards: Securing Agent Cards at the Operational Trust Boundary of the Agent2Agent Protocol](https://refivu.com/ja/papers/cd6a0a5f-90c9-460a-83d6-55b002515aa1-we-have-all-the-cards-securing-agent-cards.md)
- [Distilling Safety Filters for Filter-free Multi-agent RL](https://refivu.com/ja/papers/21f25915-d36f-4f26-a265-4e45ef0cc511-distilling-safety-filters-for-filter-free-multi-agent.md)
- [Does a completed simulation run mean a usable urban wind result for AI agents?](https://refivu.com/ja/papers/74b7f1fe-00ec-4d7c-9d3c-c0bed37b7054-does-a-completed-simulation-run-mean-a-usable.md)
- [From Mutation to Medication: Characterizing Failures of Clinical LLMs to Respect Genomic Resistance](https://refivu.com/ja/papers/ce9e8582-0a73-40d7-8382-a9453e46d105-from-mutation-to-medication-characterizing-failures-of.md)
- [A Think Block Is Conditioning, Not a Plan](https://refivu.com/ja/papers/98beff09-5fb8-46d6-94d2-43e6a543141a-a-think-block-is-conditioning-not-a-plan.md)
- [The Data Debt of Stockouts: Partial Identification and Minimax-Regret Inventory Control](https://refivu.com/ja/papers/ffb3da14-d714-4ccc-9249-5e2c878445c6-the-data-debt-of-stockouts-partial-identification-and.md)
- [Empowering Masked Diffusion Models to Self-Correct with Leave-One-Out Transformers](https://refivu.com/ja/papers/aa23c75a-1959-445a-a3e9-da71095ed5a1-empowering-masked-diffusion-models-to-self-correct-with.md)
- [When Does Confidence Reveal Problem Difficulty?](https://refivu.com/ja/papers/0ecbf3bc-868e-4a68-adc4-acb932e5f151-when-does-confidence-reveal-problem-difficulty.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/c7922bdb-3027-4bf1-b712-de50ef206066-one-run-is-not-enough-reminding-a-small)
