EnvOpt: un ciclo chiuso che costruisce ambienti di addestramento per agenti e guadagna fino a 16 punti sul modello da 4 miliardiEnvOpt: a closed loop that builds training environments for agents and gains up to 16 points on the 4-billion model
Il paper EnvOpt genera ambienti eseguibili che si adattano al modello man mano che migliora. Su τ²-Bench, BFCL-v4 e AppWorld, con modelli Qwen, guadagna in media 16,22 punti (4B), 7,40 (8B) e 6,36 (30B).
The EnvOpt paper generates executable environments that adapt to the model as it improves. On τ²-Bench, BFCL-v4 and AppWorld, with Qwen models, it gains on average 16.22 points (4B), 7.40 (8B) and 6.36 (30B).

Per migliorare un agente che usa strumenti, si possono generare ambienti di addestramento eseguibili. Ma i metodi esistenti tendono a perdere il legame tra ciò che il modello sbaglia e ciò che si genera. Un gruppo guidato da Zisu Huang e Zicong Zhang propone EnvOpt, un ciclo chiuso con tre componenti. Sono una mappa tracciabile dei comportamenti, la costruzione iterativa degli ambienti con revisione indipendente e un affinamento del contesto condizionato dall'obiettivo.
Su τ²-Bench, BFCL-v4 e AppWorld, con modelli Qwen, il guadagno medio è di 16,22 punti percentuali per il 4B, 7,40 per l'8B e 6,36 per il 30B. Un agente di base senza ciclo, invece, non mostra miglioramenti costanti. La quota di compiti da cui il modello può imparare sale dal 21,4% al 58,5%. Il guadagno cala con la taglia, e le prove usano solo modelli Qwen. Va distinto da un altro lavoro omonimo di Berkeley, che ottimizza invece gli ambienti statici in cui operano gli agenti.
To improve a tool-using agent, one can generate executable training environments. But existing methods tend to lose the link between what the model gets wrong and what is generated. A group led by Zisu Huang and Zicong Zhang proposes EnvOpt, a closed loop with three components. They are a traceable map of behaviours, iterative environment construction with independent review, and target-conditioned context refinement.
On τ²-Bench, BFCL-v4 and AppWorld, with Qwen models, the average gain is 16.22 percentage points for the 4B, 7.40 for the 8B and 6.36 for the 30B. A baseline agent without the loop, however, shows no steady improvement. The share of tasks the model can learn from rises from 21.4% to 58.5%. The gain falls with size, and the tests use only Qwen models. It should be distinguished from another work of the same name from Berkeley, which instead optimises the static environments in which agents operate.
Il 30 novembre 2026 è stato pubblicato su arXiv (2611.41901) il paper «EnvOpt: Closed-Loop Environment Optimization for Agent Post-Training». È firmato da Zisu Huang, Zicong Zhang e altri undici autori. Il 2 dicembre è stato segnalato dai Daily Papers di Hugging Face, con l'attribuzione a Microsoft Research. Il tema è l'automiglioramento ricorsivo orientato ai dati. Si tratta di far migliorare un agente che usa strumenti, generando, a ogni iterazione, ambienti di addestramento su misura per ciò che il modello ancora sbaglia.
Gli autori individuano tre punti deboli dei metodi esistenti. Il primo è l'analisi incompleta del comportamento: gli approcci standard coprono solo il 78,1% dei modelli di compito e il 58,8% dei meccanismi di fallimento. Il secondo è la realizzazione infedele degli ambienti, con meccanismi di compito mancanti, logica di interazione difettosa e verificatori non allineati. Il terzo è il feedback scollegato: solo una piccola parte dei compiti mostra variazione nella ricompensa. Senza variazione, l'apprendimento per rinforzo non ha segnale da cui imparare.
A ciascun problema corrisponde un componente. La mappa tracciabile dei comportamenti (Traceable Behavioral Map) raccoglie le prove dalle traiettorie dell'agente, mantenendo il collegamento con i casi di origine. Rispetto alle analisi di base, aumenta la copertura dei compiti di 18,4 punti percentuali e quella dei fallimenti di 23,2. La costruzione iterativa degli ambienti (Iterative Environment Construction) pianifica, realizza e rifinisce istanze eseguibili con cicli di revisione indipendenti. Così assicura che l'ambiente realizzi davvero l'obiettivo di addestramento previsto.
Il terzo componente, l'affinamento del contesto condizionato dall'obiettivo (Target-Conditioned Context Refinement), organizza gli obiettivi, le dinamiche effettive dell'apprendimento per rinforzo e i risultati della valutazione. Così chiude il ciclo di feedback tra un'iterazione e la successiva. Con questo componente, la quota di compiti «apprendibili», cioè con variazione di ricompensa, sale dal 21,4% al 58,5%. Il ciclo si adatta al modello man mano che cambia.
La valutazione riguarda tre benchmark di uso di strumenti, τ²-Bench, BFCL-v4 e AppWorld, con modelli Qwen. Il miglioramento medio è di 16,22 punti percentuali per il modello da 4 miliardi di parametri. È di 7,40 per quello da 8 miliardi e di 6,36 per quello da 30 miliardi. Gli agenti di base, usati come confronto, non mostrano una tendenza di miglioramento costante tra le iterazioni. Con EnvOpt, invece, l'andamento è chiaramente crescente. EnvOpt supera anche ambienti fissi e baseline di scalatura statica, e le ablazioni confermano che i tre componenti si completano.
I limiti sono evidenti. Il guadagno diminuisce con la dimensione del modello, quindi non è detto che si mantenga sui modelli di frontiera. Le prove usano solo modelli Qwen e tre benchmark, e dipendono dalla qualità dell'agente che costruisce gli ambienti. Il paper è un preprint senza revisione tra pari. Va infine ricordato che esiste un altro lavoro con lo stesso nome, EnvOpt di Li, Mao, Gonzalez e Dimakis (Berkeley, arXiv 2611.07372). Ottimizza gli ambienti stazionari in cui opera un agente, senza modificare il modello: i due approcci sono diversi e complementari.
Il contributo è soprattutto metodologico. Mostra che, per i modelli di taglia piccola e media, la qualità dell'ambiente di addestramento può contare quanto la quantità di dati. Mostra anche che un ciclo, che parte dagli errori reali del modello, è più efficace di una generazione di ambienti scollegata dal suo comportamento.
On 30 November 2026, the paper 'EnvOpt: Closed-Loop Environment Optimization for Agent Post-Training' was posted on arXiv (2611.41901). It is signed by Zisu Huang, Zicong Zhang and eleven other authors. On 2 December it was featured by Hugging Face's Daily Papers, with attribution to Microsoft Research. The theme is data-centric recursive self-improvement. The idea is to make a tool-using agent improve by generating, at each iteration, training environments tailored to what the model still gets wrong.
The authors identify three weak points of existing methods. The first is incomplete behavioural analysis: standard approaches cover only 78.1% of task patterns and 58.8% of failure mechanisms. The second is unfaithful environment realisation, with missing task mechanisms, faulty interaction logic and misaligned verifiers. The third is disconnected feedback: only a small part of tasks show variation in reward. Without variation, reinforcement learning has no signal to learn from.
Each problem has a matching component. The Traceable Behavioral Map gathers evidence from the agent's trajectories, while keeping the link to the source cases. Compared with baseline analyses, it raises task coverage by 18.4 percentage points and failure coverage by 23.2. Iterative Environment Construction plans, implements and refines executable instances with independent review loops. This ensures the environment truly realises the intended training target.
The third component, Target-Conditioned Context Refinement, organises the targets, the actual dynamics of reinforcement learning and the evaluation results. In this way it closes the feedback loop between one iteration and the next. With this component, the share of 'learnable' tasks, those with reward variation, rises from 21.4% to 58.5%. The loop adapts to the model as it changes.
The evaluation covers three tool-use benchmarks, τ²-Bench, BFCL-v4 and AppWorld, with Qwen models. The average improvement is 16.22 percentage points for the 4-billion-parameter model. It is 7.40 for the 8-billion and 6.36 for the 30-billion. The baseline agents, used for comparison, show no steady improvement trend across iterations. With EnvOpt, however, the trend is clearly upward. EnvOpt also beats fixed environments and static scaling baselines, and ablations confirm the three components complement one another.
The limits are evident. The gain decreases with model size, so it need not hold on frontier models. The tests use only Qwen models and three benchmarks, and depend on the quality of the agent that builds the environments. The paper is a preprint without peer review. Finally, another work of the same name exists, EnvOpt by Li, Mao, Gonzalez and Dimakis (Berkeley, arXiv 2611.07372). It optimises the stationary environments in which an agent operates, without modifying the model: the two approaches are different and complementary.
The contribution is mainly methodological. It shows that, for small and mid-sized models, the quality of the training environment can matter as much as the quantity of data. It also shows that a loop starting from the model's real errors is more effective than environment generation detached from its behaviour.
Fonti
- Testata Hugging Face Papers - EnvOpt: Closed-Loop Environment Optimization for Agent Pos huggingface.co
- Fonte originale arXiv - EnvOpt: Closed-Loop Environment Optimization for Agent Post-Training arxiv.org
- Fonte originale arXiv - EnvOpt: Automated Optimization for Agent Environments (Berkeley) arxiv.org
Articoli rivisti con l’intelligenza artificiale. A cura di Alessandro Patassini.Articles reviewed with artificial intelligence. Edited by Alessandro Patassini.














































