Learn › Agents
·★ MEMBER·PAPER·8 min read

Paper Walkthrough: S³Gym — Does Self-Testing and Self-Judging Add Up to Self-Improvement?

Can an LLM agent really learn from its own experience? A benchmark that separates permissive exploration from strict held-out evaluation across seven games, comparing raw history, summary memory, and parameter training under one protocol.

Key points

  • S³Gym is an interactive benchmark that measures three coupled capabilities: Self-Testing, Self-Judging, and Self-Improvement.
  • Exploration uses permissive settings and evaluation uses strict ones, with disjoint random seeds; evaluation trajectories never enter history, memory, or training data.
  • The verifier-computed reward is withheld from the agent during exploration; the agent emits an action and a self-judged score together.
  • Three pathways for absorbing experience are compared under one protocol: History ICL, Summary Memory, and parameter Training.
  • The paper concludes that self-improvement is neither automatic nor uniform; the agent must turn feedback into executable, transferable policy.
ModalitytextTaskagents

S3Gym: Can LLMs Turn Self-Testing and Self-Judging into Self-Improvement?

Primary source — what this article is built on

undefined2026-08-31→undefined2026-09-09same month

S3Gym: Can LLMs Turn Self-Testing and Self-Judging into Self-Improvement?Jiajun Shi, Siyuan Tao, Yuhao Wu et al. · 2026-08-31 · v1arXiv:2608.31100Paper page·PDF
undefined

Large language models (LLMs) increasingly interact with external environments and accumulate substantial behavioral experience, yet existing agent benchmarks largely evaluate them as fixed policies. It therefore remains unclear whether an agent can actively test its behavior, judge the resulting experience, and use that experience to improve future decisions. We introduce \textbf{S\textsuperscript{3}Gym}, an interactive benchmark for evaluating LLM self-improvement through three coupled capabilities: \textbf{Self-Testing}, \textbf{Self-Judging}, and \textbf{Self-Improvement}. S$^3$Gym separates permissive exploration from strict held-out evaluation and instantiates this protocol in seven text-based games with executable environment verifiers. We evaluate three pathways for incorporating interaction experience: direct History ICL, score-conditioned Summary Memory, and parameter Training. Our experiments reveal that self-improvement is neither automatic nor uniform. Context-level experience improves performance for several model--game pairs, but the most effective pathway depends strongly on the task structure: summaries are beneficial when experience can be compressed into reusable strategic rules, yet often underperform raw history when success depends on precise, state-contingent information. Parameter training produces substantial gains on some tasks, but also exhibits unstable improvement and severe negative transfer on others. These findings show that recognizing successful actions is insufficient; agents must also transform feedback into executable and transferable policies. S$^3$Gym provides a unified framework for diagnosing this process and identifying the bottlenecks that prevent agents from translating interaction experience into reliable self-improvement.


Plenty of experience, no improvement

An LLM acting as an agent calls tools, runs code, and reads what the environment sends back. Loop through observe → reason → act → feedback a few dozen times and you have a pile of behavioral records. Yet most agent evaluations still measure the model as a fixed policy. They tell you how well it scores today; they say nothing about whether it can look at its own failures and do better tomorrow.

The paper here goes straight at that gap. Its original title is "S3Gym: Can LLMs Turn Self-Testing and Self-Judging into Self-Improvement?" (arXiv:2608.31100, published 31 August 2026, by authors at ByteDance Seed, M-A-P and TokenWave.AI). S³Gym stands for Self-Testing, Self-Judging, and Self-Improvement Gym.

Here is the abstract in plain terms. The paper decomposes experience-driven learning into three coupled capabilities — Self-Testing (probing your own behavior to gather evidence), Self-Judging (scoring that experience yourself), and Self-Improvement (letting the score change future decisions) — and builds S³Gym to measure them. It separates permissive exploration from strict held-out evaluation, instantiating the protocol in seven text-based games with executable environment verifiers. Three pathways for absorbing experience are compared under one protocol: raw History ICL, score-conditioned Summary Memory, and parameter Training. The verdict is that self-improvement is neither automatic nor uniform. Summaries help when experience compresses into reusable strategic rules, but often lose to raw history when success hinges on precise, state-contingent information. Parameter training produces substantial gains on some tasks alongside unstable improvement and severe negative transfer on others. Recognizing a good action is not enough; the agent has to turn feedback into executable, transferable policy.

The analogy: driving range versus the course

Picture a golf driving range. Flat mat, unlimited balls, no cost to a bad swing. Hit a hundred and you have accumulated experience. The actual course has slopes, a finite number of shots, and every mistake lands on your card.

S³Gym is built the same way. The exploration phase uses permissive settings — smaller boards, weaker penalties, extra lives. The evaluation phase uses strict ones: larger search spaces, one-mistake-and-you-are-out termination. The two use disjoint random seeds, and evaluation trajectories never enter history, memory, or training data (§4.4). Only what actually transfers shows up in the number.

And on this driving range, there is no scoreboard. The verifier-computed reward rx,ir_{x,i} is retained benchmark-side and withheld from the agent during exploration (§4.2). The agent has to declare for itself how good each move was. That declaration is Self-Judging, and the paper measures it as a capability in its own right.

FIG 1Improving on the permissive setting and being good on the strict one are different things. This is the standard polynomial-regression picture rather than the paper's data, but the shape — training gains coexisting with test degradation — is exactly what S³Gym's exploration/evaluation split is built to expose

One cycle, formalized

The paper writes a single self-improvement cycle as five stages (§4.1):

Rt(p)=Explore→Judge→Consolidate→Updatep→Evaluate\mathcal{R}_{t}^{(p)}=\mathrm{Explore}\rightarrow\mathrm{Judge}\rightarrow\mathrm{Consolidate}\rightarrow\mathrm{Update}_{p}\rightarrow\mathrm{Evaluate}
(1)

In words: try things, score yourself, consolidate what you learned, absorb it, then get measured under stricter rules. Here tt indexes the cycle and pp names the pathway — History, Memory, or Training.

At every step the model emits an action and a self-judged score together (§4.2):

(ax,i,sx,i)=πθt(Ox,i,Hx,i;Zt(p))(a_{x,i},s_{x,i})=\pi_{\theta_{t}}\left(O_{x,i},H_{x,i};Z_{t}^{(p)}\right)
(2)

Which says: given the current observation Ox,iO_{x,i}, the within-episode history Hx,iH_{x,i}, and the experience Zt(p)Z_{t}^{(p)} carried over from earlier exploration, return an action ax,ia_{x,i} and a self-judged score sx,is_{x,i}. In the implementation the model's final line follows a fixed contract, Answer: <ACTION>, Score: <SELF-JUDGED SCORE>. (Appendix A.1), and the paper is explicit that ss is meant to be the immediate reward the action should earn under the stated rules, not a free-form confidence value. The environment returns the next observation, agent-visible feedback, the verifier reward, and a termination flag — but only the reward is hidden. That withholding is the whole mechanism.

The games are Chess (a variant where you infer each piece's hidden movement rule from observed board states), Minesweeper, Nullify (cancel signed numeric units down to zero), Tetris, Snake, Plants-vs-Zombies, and Trust Evolution (a repeated prisoner's-dilemma interaction) (§5.1). The permissive/strict gaps are concrete…

What's behind this

§

Members-only from here

449 walkthroughs, 42 textbook chapters, 48 student units and 6 close readings — all included for $4.99/mo, with about three new explainers a day on average. Cancel any time; access runs to the end of the period.

Already a member? Sign in to keep reading

References

  1. Jiajun Shi, Siyuan Tao, Yuhao Wu, Zexuan Wang et al.. (2026-08-31) S3Gym: Can LLMs Turn Self-Testing and Self-Judging into Self-Improvement?. arXiv:2608.31100Paper page·PDF

This article is written from the source paper above. Where they differ, the original is authoritative.

Published by TechAthletes · Editorial policy · How we cite · Corrections

Comments

Sign in to comment