Terminal Agents Get Free Supervision From The Tokens We've Been Throwing Away episode artwork

EPISODE · May 26, 2026 · 25 MIN

Terminal Agents Get Free Supervision From The Tokens We've Been Throwing Away

from AI Papers: A Deep Dive

Terminal Agents Get Free Supervision From The Tokens We've Been Throwing Away Source: https://arxiv.org/abs/2605.24517 Paper was published on May 23, 2026 This episode was AI-generated on May 26, 2026. The script was written by an AI language model and the host voices were synthesized by Eleven Labs. The producer is not affiliated with Anthropic or Eleven Labs. Standard agent RL throws away 85% of rollouts because the task didn't succeed — but the terminal's responses inside those failed runs contain dense, gradable supervision that nobody was using. A new Microsoft Research paper shows that adding a simple next-token loss on environment outputs roughly doubles task success, recovers most of the value of expensive expert demonstrations, and in some cases lets models improve with no reward signal at all. Key Takeaways: - Why agent RL's reward sparsity is partly an artifact of which tokens we compute loss on, not a property of the task - How ECHO's one-line addition — cross-entropy on terminal output tokens — roughly doubles TerminalBench 2.0 pass rates at 8B and 14B scale - The lambda=0.2 collapse: when the auxiliary weight is too high, models learn to issue boring commands whose outputs are easy to predict - Why ECHO can substitute for the 'interaction prior' half of expert demonstrations but not the 'strategy prior' half - The verifier-free result — improvement with no reward signal on some held-out tasks, and active regression on others — and what that tells us about when prediction-as-learning works - Honest limits: small absolute numbers, untested at higher base capability, and a 'world model' claim that rests on a single transfer experiment 00:00 - The supervision that was already in the rollout: Framing the core observation: failed agent trajectories contain thousands of environment tokens whose gradients GRPO masks out. 03:13 - What ECHO actually changes: The one-line addition of next-token loss on terminal outputs, and the chess-student analogy for why predicting the environment forces understanding. 06:27 - The headline numbers, honestly: Roughly doubled pass rates at 8B and 14B on TerminalBench 2.0 — on a baseline of 2-5%, with timeouts cut in half and faster convergence. 09:41 - Which tokens to predict, and the lambda collapse: Why warning messages had to be excluded, and how setting the auxiliary loss weight too high causes models to game the prediction objective with trivial commands. 12:55 - Substituting for expert demonstrations: ECHO from a raw base model recovers most of the value of 15,000 GLM-4.6 demonstrations — but only the interaction-prior half, not the strategy half. 16:09 - Transfer evidence and the world-modeling claim: ECHO models predict Qwen3-32B's trajectories far better than GRPO baselines, suggesting transferable knowledge of terminal dynamics — though what specifically transferred isn't probed. 15:59 - The verifier-free experiment: Turning off the reward signal entirely and letting environment prediction alone drive improvement — which works on PyTerm, fails on TBLite, and reveals when the method needs action-linked feedback. 22:36 - Steelman, limits, and what to test next: Five honest caveats about the result and the open question of whether ECHO generalizes beyond terminals and beyond low-capability base models. Recommended Reading: - Group Relative Policy Optimization (DeepSeekMath): Introduces the GRPO algorithm that ECHO modifies — essential background for understanding what 'masking out the terminal tokens' actually means in the baseline. (https://arxiv.org/abs/2402.03300) - Curiosity-driven Exploration by Self-supervised Prediction: The canonical prior work on learning from prediction error as an intrinsic signal, which the episode's verifier-free result echoes in a language-model setting. (https://arxiv.org/abs/1705.05363) - Reinforcement Learning with Unsupervised Auxiliary Tasks (UNREAL): A foundational example of adding auxiliary prediction losses to RL agents, useful for contextualizing ECHO against the deeper history of dense-supervision methods the paper doesn't directly compare to. (https://arxiv.org/abs/1611.05397) - SWE-bench: Can Language Models Resolve Real-World GitHub Issues?: Sets the benchmark context for the kind of terminal-agent task ECHO is trying to improve, and frames why doubling a 5% pass rate matters even though the absolute numbers stay small. (https://arxiv.org/abs/2310.06770)

Terminal Agents Get Free Supervision From The Tokens We've Been Throwing Away Source: https://arxiv.org/abs/2605.24517 Paper was published on May 23, 2026 This episode was AI-generated on May 26, 2026. The script was written by an AI language model and the host voices were synthesized by Eleven Labs. The producer is not affiliated with Anthropic or Eleven Labs. Standard agent RL throws away 85% of rollouts because the task didn't succeed — but the terminal's responses inside those failed runs contain dense, gradable supervision that nobody was using. A new Microsoft Research paper shows that adding a simple next-token loss on environment outputs roughly doubles task success, recovers most of the value of expensive expert demonstrations, and in some cases lets models improve with no reward signal at all. Key Takeaways: - Why agent RL's reward sparsity is partly an artifact of which tokens we compute loss on, not a property of the task - How ECHO's one-line addition — cross-entropy on terminal output tokens — roughly doubles TerminalBench 2.0 pass rates at 8B and 14B scale - The lambda=0.2 collapse: when the auxiliary weight is too high, models learn to issue boring commands whose outputs are easy to predict - Why ECHO can substitute for the 'interaction prior' half of expert demonstrations but not the 'strategy prior' half - The verifier-free result — improvement with no reward signal on some held-out tasks, and active regression on others — and what that tells us about when prediction-as-learning works - Honest limits: small absolute numbers, untested at higher base capability, and a 'world model' claim that rests on a single transfer experiment 00:00 - The supervision that was already in the rollout: Framing the core observation: failed agent trajectories contain thousands of environment tokens whose gradients GRPO masks out. 03:13 - What ECHO actually changes: The one-line addition of next-token loss on terminal outputs, and the chess-student analogy for why predicting the environment forces understanding. 06:27 - The headline numbers, honestly: Roughly doubled pass rates at 8B and 14B on TerminalBench 2.0 — on a baseline of 2-5%, with timeouts cut in half and faster convergence. 09:41 - Which tokens to predict, and the lambda collapse: Why warning messages had to be excluded, and how setting the auxiliary loss weight too high causes models to game the prediction objective with trivial commands. 12:55 - Substituting for expert demonstrations: ECHO from a raw base model recovers most of the value of 15,000 GLM-4.6 demonstrations — but only the interaction-prior half, not the strategy half. 16:09 - Transfer evidence and the world-modeling claim: ECHO models predict Qwen3-32B's trajectories far better than GRPO baselines, suggesting transferable knowledge of terminal dynamics — though what specifically transferred isn't probed. 15:59 - The verifier-free experiment: Turning off the reward signal entirely and letting environment prediction alone drive improvement — which works on PyTerm, fails on TBLite, and reveals when the method needs action-linked feedback. 22:36 - Steelman, limits, and what to test next: Five honest caveats about the result and the open question of whether ECHO generalizes beyond terminals and beyond low-capability base models. Recommended Reading: - Group Relative Policy Optimization (DeepSeekMath): Introduces the GRPO algorithm that ECHO modifies — essential background for understanding what 'masking out the terminal tokens' actually means in the baseline. (https://arxiv.org/abs/2402.03300) - Curiosity-driven Exploration by Self-supervised Prediction: The canonical prior work on learning from prediction error as an intrinsic signal, which the episode's verifier-free result echoes in a language-model setting…

NOW PLAYING

Terminal Agents Get Free Supervision From The Tokens We've Been Throwing Away

0:00 25:50

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

MG Show MG Show The MG Show, hosted by Jeffrey Pedersen and Shannon Townsend, is a leading alternative media platform dedicated to uncovering the truth behind today’s most pressing political issues. Launched in 2019, the show has grown exponentially, offering unfiltered insights, comprehensive research, and real-time analysis. With a commitment to independent journalism and factual integrity, the MG Show empowers its audience with knowledge and encourages active participation in the political discourse. Ask A Spaceman Archives - 365 Days of Astronomy Ask A Spaceman Archives - 365 Days of Astronomy Podcasting Astronomy Every Day of the Year French Your Way Jessica: Native French teacher founder of French Your Way Boost your French listening skills and test your comprehension with this one of a kind series of podcasts. Get the chance to listen to a real conversation between native speakers talking at normal speed AND customise your learning experience through carefully designed sets of questions (2 levels of difficulty) available for download at www.frenchvoicespodcast.com. All interviews also come with the transcript. French teacher Jessica interviews native speakers of French from around the world who share a bit of their life and passion. Where else would you meet in one same place a French yoga teacher based in Melbourne, a soap manufacturer from Provence, or a couple cycling around the world? The Small Business Startup School – Business Notes | Financial Literacy | Retail Psychology – For Professionals & Entrepreneurs The Small Business Startup School Inc. Starting or buying a small business? While personal circumstances may vary, business patterns remain timeless. On The Small Business Startup School, we explore strategies, insights, and practical solutions to help entrepreneurs confidently navigate their journey.Hosted by Ola Williams—a retail entrepreneur, fintech founder, and financial coach with over two decades of experience—this podcast marries financial awareness and retail psychology with optimism to deliver actionable takeaways.Join us to learn, grow, and connect as we uncover the keys to business success.Let’s continue to learn together and be encouraged to keep on connecting!

Frequently Asked Questions

How long is this episode of AI Papers: A Deep Dive?

This episode is 25 minutes long.

When was this AI Papers: A Deep Dive episode published?

This episode was published on May 26, 2026.

What is this episode about?

Terminal Agents Get Free Supervision From The Tokens We've Been Throwing Away Source: https://arxiv.org/abs/2605.24517 Paper was published on May 23, 2026 This episode was AI-generated on May 26, 2026. The script was written by an AI language...

Can I download this AI Papers: A Deep Dive episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!