← News

Agents & MCPSources: arXiv · 17 Nov 2026

Gemma 4 coding agent study finds no measurable gain from re-injecting its last finding

A preregistered paired test of 98 coding tasks found that automatically reminding a Gemma 4 31B agent of its last finding before context was cut made no measurable difference to task success.

In plain words

A coding agent can forget earlier findings when its context window fills up. Researchers tested whether automatically re-showing the agent its last finding would help it solve more tasks. Across 98 paired tasks with a Gemma 4 31B model, results were essentially identical with or without the reminder, so the fix did not measurably help.

What was announced

The authors fixed their analysis rules in advance and ran 98 paired coding tasks with and without the reminder, using Gemma 4 31B (QAT, 4-bit) in the Gemma 4 Developer Agent harness. Overall, 47 tasks were solved with the reminder and 48 without, a difference of -1.0 points with a 95% interval of [-8.3, +6.3] and an exact McNemar p of 1.0. The preregistered primary outcome, the first 48 pairs, showed 29/48 with memory versus 25/48 without, but the authors document this as a deviation from their preregistration, and the 50-task extension decided afterwards pointed the other way, so the sign did not replicate.

The study also reports why the effect may be small: the model almost never wrote notes (2 of 16 and 4 of 32 runs), the injected memory appeared at only 47% to 65% of compactions, and the reminder enlarged the first request. With 19% of tasks flipping between two identical no-memory runs, the combined interval excludes gains larger than about 6 points and harms larger than about 8, while the design had 80% power only for effects of roughly ±12 points or more. Two directional hypotheses found on Modal did not replicate on Kaggle. The authors conclude that single-run memory claims on task sets of this size sit inside run-to-run noise, and note the treatment is a harness mechanism that does not test agent-written memory.

What it does not show

  • The source is the paper abstract only; full methods and results were not reviewed.
  • The study used one model (Gemma 4 31B, QAT, 4-bit) in one harness, so findings may not transfer to other models or setups.
  • The primary outcome was a documented deviation from preregistration, and the sign of the effect did not replicate in the extension, so the direction of any effect remains unresolved.
  • The design was powered only for effects of about ±12 points or more, so smaller effects cannot be ruled out.

For security and IT teams

Scope
The treatment is a harness mechanism that re-injects the agent's last finding; it does not test agent-written memory, and results apply to the Gemma 4 Developer Agent harness with Gemma 4 31B (QAT, 4-bit).

Sources

Source-support review completed 28 Nov 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 28 Nov 2026

New to the subject? AI from the Ground Up starts from the beginning.