EnvLunch: The Environment as a Free Lunch for Learning to Interact
Wei Liu, Min Gao, Yali Du, Yulan He
King's College London · Chongqing University · The Alan Turing Institute
Published October 24, 2026 · on the feed October 27, 2026 · ▲ 6 · arXiv 2610.33817
The abstract
For agentic data analysis, language-model agents often require a large number of annotated tasks to learn how to interact effectively with executable environments (i.e., databases). While high-quality annotated tasks require heavy manual effort, an executable environment already provides rich interaction structure and verifiable outcomes. In this sense, the environment itself offers a free lunch, an additional set of verifiable tasks that require no human annotation. We propose EnvLunch, a warm-up stage that turns this environmental signal into agent training without human-written or model-generated task descriptions, before downstream agentic reinforcement learning. EnvLunch samples valid action trajectories, executes them to obtain final observations, and trains an agent to recover a functionally equivalent trajectory given only its final observation. This label-free warm-up enables the model to outperform the baseline by over 9 points on average across all downstream training budgets, and with few labels, the baseline needs 8 to 32 times as many annotated examples to match the accuracy that the EnvLunch model reaches at its smallest training budget. Letting the environment alone define the task yields a larger gain than having the model write its own tasks over the same environments, and this warm-up also improves fine-tuning on benchmarks beyond data analysis. EnvLunch therefore saves annotated tasks and provides a better starting point for fine-tuning agentic models when such tasks are limited.
The Brief
2:37A short podcast summary of the paper. Written and voiced by AI.
Transcript
EnvLunch. The Environment as a Free Lunch for Learning to Interact. By Wei Liu and three others, from King's College London, Chongqing University, and one other institution. Published on the twenty-fourth of October. Its code repository is public and real: about twenty-five source files.
The setting is agentic data analysis, where a language-model agent has to interact with an executable environment, a database for example. Learning to do that well usually takes a large number of annotated tasks, and high-quality annotated tasks cost heavy manual effort. That cost is the bottleneck this work goes after. Every new annotated task is another piece of human labour, and an agent that needs a great many of them is expensive to teach.
The observation underneath is simple. An executable environment already provides rich interaction structure and verifiable outcomes, before anyone has written a single task. In that sense the environment itself is a free lunch: an additional set of verifiable tasks that require no human annotation at all. EnvLunch is a warm-up stage built on that observation. It turns the environmental signal into agent training without any task descriptions, neither human-written nor model-generated, and it runs before the downstream agentic reinforcement learning begins.
The recipe has three moves. First, EnvLunch samples valid action trajectories in the environment. Second, it executes them, which yields a final observation for each one. Third, it trains the agent on an inverted problem: given only that final observation, recover a functionally equivalent trajectory. The target does not have to be the exact sequence that was sampled. Any trajectory that works the same way counts. Because the environment produced the observation and can check the answer, no label is needed anywhere in the loop.
This label-free warm-up lets the model outperform the baseline by over nine points on average, across all downstream training budgets. The gap is starkest when labels are scarce. To match the accuracy that the EnvLunch model reaches at its smallest training budget, the baseline needs eight to thirty-two times as many annotated examples.
Two further comparisons sharpen the picture. Letting the environment alone define the task yields a larger gain than having the model write its own tasks over the same environments. And the warm-up also improves fine-tuning on benchmarks beyond data analysis, so the benefit is not confined to the domain it was built for.
The authors' conclusion is that EnvLunch saves annotated tasks and gives a better starting point for fine-tuning agentic models when such tasks are limited. The part that carries the argument is the comparison with self-written tasks. Handing the model the pen did less than handing it the environment and asking it to work backwards from what the environment showed. The database, in other words, was already a teacher before anyone wrote a question for it.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free