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.
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·PDFundefined
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 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.
One cycle, formalized
The paper writes a single self-improvement cycle as five stages (§4.1):
In words: try things, score yourself, consolidate what you learned, absorb it, then get measured under stricter rules. Here indexes the cycle and names the pathway — History, Memory, or Training.
At every step the model emits an action and a self-judged score together (§4.2):
Which says: given the current observation , the within-episode history , and the experience carried over from earlier exploration, return an action and a self-judged score . 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 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.
Comments
Sign in to comment