EnvScaler: Scaling Tool-Interactive Environments for LLM Agent via Programmatic Synthesis

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Song, Xiaoshuai, Chang, Haofei, Dong, Guanting, Zhu, Yutao, Wen, Ji-Rong, Dou, Zhicheng
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908974489534464
author Song, Xiaoshuai
Chang, Haofei
Dong, Guanting
Zhu, Yutao
Wen, Ji-Rong
Dou, Zhicheng
author_facet Song, Xiaoshuai
Chang, Haofei
Dong, Guanting
Zhu, Yutao
Wen, Ji-Rong
Dou, Zhicheng
contents Large language models (LLMs) are expected to be trained to act as agents in various real-world environments, but this process relies on rich and varied tool-interaction sandboxes. However, access to real systems is often restricted; LLM-simulated environments are prone to hallucinations and inconsistencies; and manually built sandboxes are hard to scale. In this paper, we propose EnvScaler, an automated framework for scalable tool-interaction environments via programmatic synthesis. EnvScaler comprises two components. First, SkelBuilder constructs diverse environment skeletons through topic mining, logic modeling, and quality evaluation. Then, ScenGenerator generates multiple task scenarios and rule-based trajectory validation functions for each environment. With EnvScaler, we synthesize 191 environments and about 7K scenarios, and apply them to Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL) for Qwen3 series models. Results on three benchmarks show that EnvScaler significantly improves LLMs' ability to solve tasks in complex environments involving multi-turn, multi-tool interactions. We release our code and data at https://github.com/RUC-NLPIR/EnvScaler.
format Preprint
id arxiv_https___arxiv_org_abs_2601_05808
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle EnvScaler: Scaling Tool-Interactive Environments for LLM Agent via Programmatic Synthesis
Song, Xiaoshuai
Chang, Haofei
Dong, Guanting
Zhu, Yutao
Wen, Ji-Rong
Dou, Zhicheng
Computation and Language
Artificial Intelligence
Machine Learning
Large language models (LLMs) are expected to be trained to act as agents in various real-world environments, but this process relies on rich and varied tool-interaction sandboxes. However, access to real systems is often restricted; LLM-simulated environments are prone to hallucinations and inconsistencies; and manually built sandboxes are hard to scale. In this paper, we propose EnvScaler, an automated framework for scalable tool-interaction environments via programmatic synthesis. EnvScaler comprises two components. First, SkelBuilder constructs diverse environment skeletons through topic mining, logic modeling, and quality evaluation. Then, ScenGenerator generates multiple task scenarios and rule-based trajectory validation functions for each environment. With EnvScaler, we synthesize 191 environments and about 7K scenarios, and apply them to Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL) for Qwen3 series models. Results on three benchmarks show that EnvScaler significantly improves LLMs' ability to solve tasks in complex environments involving multi-turn, multi-tool interactions. We release our code and data at https://github.com/RUC-NLPIR/EnvScaler.
title EnvScaler: Scaling Tool-Interactive Environments for LLM Agent via Programmatic Synthesis
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2601.05808