Latest / Daily Paper Cast / CompoWorld: Compositional Environment Scaling for General Agents
Transcript
- 0:03Evan: Welcome to Daily Paper Cast!
- 0:05Ashley: Today’s paper is from the Hugging Face daily paper list of September 29, 2026, and has received 27 upvotes.
- 0:14Evan: The title of the paper is 'CompoWorld: Compositional Environment Scaling for General Agents'.
- 0:20It's authored by Xiao-Wen Yang and Weiyi Xu, with corresponding author Wen Da from the AllSpark Team.
- 0:27Evan: Let’s dive right into the introduction.
- 0:30Ashley: Large language models, or LLMs, have evolved beyond simple text generators.
- 0:36They are now agents that can reason, utilize tools, and take actions in digital environments.
- 0:42Evan: That’s a significant leap in capability.
- 0:44But training these advanced agents comes with its own set of challenges.
- 0:48Ashley: Exactly.
- 0:49Training requires more than static demonstrations.
- 0:52You need interactive environments where actions can change external states, and outcomes can be evaluated.
- 0:59Evan: So, environment synthesis and evaluation become central to the learning process of these agents.
- 1:05Ashley: Yes, and that's where environment scaling steps in.
- 1:08It involves expanding the diversity of environments and verifiable tasks available for training these agents.
- 1:15Evan: Can you give us some context on how this has been approached so far?
- 1:19Ashley: Sure.
- 1:19Previous efforts like AgentScaler, ScaleEnv, and Agent-World have been automating the construction of tool-interaction environments and tasks.
- 1:28Evan: These efforts likely widen the scope of environments.
- 1:31But what’s the new angle this paper is exploring?
- 1:34Ashley: Alongside expanding the variety of environments, the paper targets scaling the dependencies between them.
- 1:40Real-world workflows often span multiple systems.
- 1:44For example, an agent might query a database, consult a manual, and notify stakeholders via email.
- 1:51Evan: That makes sense.
- 1:52Real-world scenarios aren’t siloed; they require coordination across systems.
- 1:57Ashley: Precisely.
- 1:58Existing benchmarks like AppWorld and Terminal-Universe already expose the need for cross-application workflows.
- 2:05But this paper introduces a new framework named Compositional Environment Scaling, or CompoWorld.
- 2:11Evan: Interesting.
- 2:12How does CompoWorld approach this scaling?
- 2:15Ashley: CompoWorld constructs tasks by composing a finite library of reusable services.
- 2:20Each service represents a typed state and provides tool sets.
- 2:24These services are then interconnected through task-specific dependency graphs.
- 2:29Evan: So, it's like creating a network of services that can be flexibly recombined?
- 2:34Ashley: Exactly.
- 2:35This setup allows the creation of a much larger space of workflows from a limited set of services.
- 2:41The agent's goal then becomes coordinating these services in novel combinations.
- 2:46Evan: I see.
- 2:46But ensuring these services work harmoniously must present some challenges.
- 2:51Ashley: Indeed.
- 2:52The authors identify three main challenges: ensuring services execute reliably, creating meaningful cross-service dependencies that are solvable, and providing useful supervision for both supervised fine-tuning and reinforcement learning.
- 3:07Evan: How does CompoWorld address these challenges?
- 3:10Ashley: To ensure reliable execution, CompoWorld standardizes service states and interfaces using typed Python schemas.
- 3:17Coding agents then build executable mock services that can be verified and repaired automatically.
- 3:23Evan: And what about the cross-service dependencies?
- 3:26Ashley: CompoWorld uses a random-walk procedure to sample services and construct dependency graphs.
- 3:32These graphs show how information flows between services without prescribing a fixed sequence of tool calls.
- 3:38Evan: That sounds robust.
- 3:40And how are these tasks used for training?
- 3:42Ashley: The framework uses verified successful trajectories for supervised fine-tuning and a Completion-Focused Rubric Reward for reinforcement learning.
- 3:51The rubric reward assigns higher weights to criteria with lower pass rates within each group.
- 3:57Evan: It seems like this approach can significantly enhance an agent's ability to manage complex workflows.
- 4:03Ashley: And CompoWorld has already constructed 448 services exposing over ten thousand tools.
- 4:10These are used to train large language models, resulting in significant performance boosts across multiple benchmarks.
- 4:17Evan: That's impressive.
- 4:18So, we’ve covered the background and objectives of CompoWorld.
- 4:22Shall we move on to the methods they used?
- 4:24Ashley: Yes, let's dive into that next.
- 4:27That’s the end of the Introduction section.
- 4:30Evan: Let's now delve into the methods laid out in the paper.
- 4:33Ashley: Certainly.
- 4:34The methods section is quite comprehensive and begins with how CompoWorld generates agent environments.
- 4:40Evan: Alright.
- 4:41How does CompoWorld approach the generation of agent environments?
- 4:45Ashley: To start, CompoWorld collects machine-readable Model Context Protocol, or MCP, specifications via web crawling.
- 4:54These specifications define the tool names, descriptions, and typed parameter schemas for each service, thereby setting up the action space.
- 5:02Evan: And what about the state space and transition functions?
- 5:06Ashley: A coding agent steps in to infer the service entities and constructs Pydantic models for the environment states.
- 5:12The service states are represented as typed records and validated by Pydantic to ensure that state transitions conform to the schema.
- 5:21Evan: So, the coding agents build and validate these models.
- 5:24What happens next?
- 5:25Ashley: Once the state model is set, the coding agent implements each tool as an operation over the current state.
- 5:31Successfully invoking a tool updates the state and provides a structured observation, all encapsulated in JSON format for uniformity.
- 5:39Evan: That seems like a solid foundation.
- 5:42But how does the system ensure these tools are reliable?
- 5:45Ashley: For reliability, the coding agent generates a corresponding test suite and executes it iteratively, repairing implementation issues until both basic successful-use cases and error-handling cases pass.
- 5:58Evan: But self-generated tests might miss certain blind spots.
- 6:02How does CompoWorld deal with this?
- 6:04Ashley: Good point.
- 6:05CompoWorld addresses this by conducting an independent validation pass.
- 6:09Another agent session generates adversarial test cases based on tool specifications to catch boundary conditions that the initial tests might have missed.
- 6:17Evan: That sounds thorough.
- 6:19What if some tools simply cannot be faithfully implemented in the local code?
- 6:23Ashley: For tools that can't be faithfully implemented, CompoWorld uses a language world model to simulate their behavior.
- 6:30The model predicts the necessary state updates and observations based on the current state and invoked action.
- 6:36Evan: Interesting.
- 6:37So, this hybrid approach ensures robust execution across all tools.
- 6:43How broad is the corpus created by this process?
- 6:46Ashley: The pipeline generates 448 independently executable services spanning 10,130 tools.
- 6:53These services are organized into broad application domains like software development, productivity, data analytics, and social media, among others.
- 7:03Evan: And these services are reusable and can be combined in various ways?
- 7:07Ashley: Exactly.
- 7:08This forms the backbone for scaling the environments.
- 7:11Composing these services allows for a vast space of training environments, supporting diverse workflows.
- 7:18Evan: Now that we understand how the environments are composed, how does CompoWorld generate specific tasks from these environments?
- 7:25Ashley: A task in CompoWorld is represented as a combination of an instruction, initial state, dependency graph, reachable goal state, and a verifier.
- 7:35The task generation starts by sampling a set of services and forming a product environment.
- 7:40Evan: And how are the dependencies between services defined?
- 7:44Ashley: Dependencies are mapped out using a random-walk procedure, which connects the services based on informational dependencies.
- 7:50This doesn’t dictate a fixed sequence of tool calls but requires the agent to navigate dependencies between services dynamically.
- 7:58Evan: Right, that requires flexible adaptation by the agent.
- 8:02What's the role of the coding agent within this setup?
- 8:05Ashley: Within the pi harness, the coding agent explores services, constructs validated initial states and instructions, and formulates a structured rubric of criteria.
- 8:15It then executes the task to generate a reference goal state through multiple phases.
- 8:20Evan: So, the task isn't just created but also validated for reachability and correctness?
- 8:25Ashley: Precisely.
- 8:26This probe defines both the goal state and the criteria for success.
- 8:30When the reference goal is reachable and the rubric accepts the result, the task is considered valid.
- 8:36Evan: I understand the task generation now.
- 8:38How does CompoWorld use these tasks for training?
- 8:42Ashley: The verified tasks are initially used for supervised fine-tuning, establishing a strong base policy.
- 8:48Then, reinforcement learning takes over, using rubric rewards that focus on unsatisfied criteria to drive full task completion.
- 8:57Evan: And the Completion-Focused Rubric Reward plays a crucial role here?
- 9:01Ashley: Yes.
- 9:02This reward mechanism assigns greater weight to criteria that are less frequently met, encouraging the agent to focus on those areas.
- 9:10It's combined with Group Relative Policy Optimization, which normalizes rewards within each rollout group.
- 9:16Evan: I see.
- 9:17This fine-tuning and reinforcement combination sounds impactful.
- 9:21How has this approach performed experimentally?
- 9:24Ashley: Experiments included training Qwen3.6-35B-A3B on 3,000 supervised fine-tuning trajectories followed by 1,000 reinforcement learning tasks.
- 9:36The results show an average gain of 9.17 points over the baseline across eight benchmarks.
- 9:42Evan: That's a substantial improvement.
- 9:44Any particular benchmarks where it stood out?
- 9:47Ashley: On AutomationBench, CompoWorld tripled the baseline's pass rate and even surpassed models like GPT-5.4 and Claude Opus 4.6.
- 9:57It also led all six compared agent-specialized models on this benchmark.
- 10:01Evan: Wow, that’s impressive.
- 10:04Ashley: Indeed.
- 10:05The method section of this paper shows how compositional environment scaling can significantly enhance agent training, offering new potential for complex workflow management.
- 10:15Evan: Great insights, Ashley.
- 10:17This brings us to the end of the Methods section.
- 10:20Evan: Okay, let's move on to the experiments and results presented in the paper.
- 10:25Ashley: In the experiments section, the authors aim to evaluate how training in composed environments impacts agent performance across different domains, comparing against a range of models.
- 10:36Evan: That makes sense.
- 10:37Establishing how well CompoWorld performs compared to other models is crucial.
- 10:42What are the baselines they used in the comparison?
- 10:45Ashley: The paper compares CompoWorld with several frontier models, including closed-source models like GPT-5.4, Claude Opus 4.6, and Gemini-3.1 Pro, as well as open-weight models like DeepSeek-V4-Flash, GLM-5.2, and various versions of Qwen.
- 11:04Evan: And there are benchmarks for agent-specialized models as well?
- 11:08Ashley: Correct.
- 11:09They also compared against agent-specialized models at the same scale, including Apodex 1.1 Mini, Occamy-1.0, Agents-A1, Nex-N2-mini, BigBang-1.0, and Ornith-1.5-35B.
- 11:26Evan: A comprehensive set of comparisons.
- 11:29What benchmarks did they use for the evaluation?
- 11:31Ashley: Evaluation covered eight challenging benchmarks, such as τ-Knowledge Banking for customer support, WildClawBench for real-world workflows, SkillsBench for reusable skills, AutomationBench for cross-application business workflows, DeepPlanning for planning under verifiable constraints, VitaBench and VitaBench 2.0 for multi-turn interactions and long-term user assistance, and ALE, the Agents’ Last Exam, for professional task performance.
- 11:59Evan: That's quite diverse.
- 12:01How did CompoWorld perform across these benchmarks?
- 12:04Ashley: CompoWorld showed significant improvements across all eight benchmarks, averaging a 9.17-point gain over the baseline model Qwen3.6-35B-A3B.
- 12:15On AutomationBench, it tripled the pass rate from 10.33% to 32.33%, outperforming models like GPT-5.4, Gemini-3.1 Pro, and nearly matching DeepSeek-V4-Flash.
- 12:30Evan: Tripling the pass rate is remarkable!
- 12:33Were there any other notable performances?
- 12:36Ashley: For instance, on SkillsBench, CompoWorld improved by 15.19 points.
- 12:41VitaBench saw a gain of 10.50 points, indicating strong results in multi-turn service interactions.
- 12:47However, the gain on VitaBench 2.0 was smaller, suggesting more limited transfer to personalized, long-term assistance.
- 12:55Evan: What about the impact on partial credit scores within different domains?
- 12:59Ashley: Domains like HR and Marketing showed the largest gains.
- 13:03CompoWorld raised the average domain score from 41.94 to 72.68 in AutomationBench.
- 13:11HR showed an increase of 49.40 points, while Marketing improved by 32.51 points.
- 13:19Evan: It’s great to see such widespread improvement across various business functions.
- 13:23How did these gains compare with other models?
- 13:26Ashley: CompoWorld outperformed both GPT-5.4 and GLM-5.2 in five of six domains.
- 13:33It ranked first in HR and second in Finance and Operations among the listed models.
- 13:39Evan: That's impressive.
- 13:40So, CompoWorld definitely shows strong performance in both specific benchmarks and broader domain applications.
- 13:47Ashley: Indeed.
- 13:48The evaluation also looked at how agent performance changes as the number of training environments scales.
- 13:55CompoWorld allows expansion of training environments without needing new services for each example, using a compositional approach with reusable services.
- 14:04Evan: How does the increase in training environments affect performance?
- 14:07Ashley: Interestingly, all four benchmarks showed improvement over the baseline with as few as 100 supervised fine-tuning examples.
- 14:15At 3,000 examples, τ-Knowledge Banking rose from 10.65 points to 17.87 points, and DeepPlanning saw a jump from 26.04 points to 35.02 points.
- 14:28Evan: It demonstrates the strong impact of environment scaling.
- 14:32What are the key takeaways here regarding environment composition?
- 14:36Ashley: The findings suggest that composed-environment training yields substantial performance improvements over single-environment training.
- 14:43For example, τ-Knowledge Banking improved from 9.62 to 17.53 points when using composed environments.
- 14:51Evan: So, composing environments really boosts the training outcome.
- 14:56What insights do we have from reinforcement learning dynamics?
- 14:59Ashley: During reinforcement learning, the completion-focused rubric rewards aimed to allocate learning to unmet criteria.
- 15:06The learning curve showed initial adjustment followed by sustained progress, reaching about 0.79 in mean trajectory reward by step 150.
- 15:15Evan: How did the use of reweighted rewards impact the training?
- 15:19Ashley: Using reweighted rewards to focus on less frequently met criteria showed more stable gains.
- 15:25Evaluation-set scores with reweighting moved ahead by step 50 and surpassed scores without reweighting, creating a gap of about 0.09 points by step 140.
- 15:37Evan: That highlights the effectiveness of the completion-focused rubric.
- 15:41What’s the overall conclusion from these experiments?
- 15:44Ashley: Overall, the results demonstrate that CompoWorld’s approach to compositional environment scaling provides better training signals and robust task management across complex workflows.
- 15:55It highlights how scaling training environments along compositional lines can significantly enhance agent performance.
- 16:02Evan: That wraps up our discussion of the experiments and results section.
- 16:07Evan: Moving on, let's explore the Related Work section discussed in the paper.
- 16:11Ashley: The Related Work section covers existing research on environment scaling for large language models and compositional generalization for agent learning.
- 16:20These two areas provide the foundational context for CompoWorld.
- 16:25Evan: Sounds like a comprehensive background.
- 16:27Let's start with environment scaling.
- 16:29How has this been approached?
- 16:31Ashley: Automated environment construction has been pivotal in reducing reliance on real services and supporting interactive agent training.
- 16:38For example, DreamGym utilizes reasoning-based experience models to simulate transitions and feedback.
- 16:45Evan: DreamGym sounds interesting.
- 16:47Are there other notable methods?
- 16:48Ashley: Yes, certainly.
- 16:50Executable methods for environment synthesis and verifiable tasks, showcased in studies like AutoForge, provide structured environments for agentic reinforcement learning.
- 17:00EnvScaler separates environment skeleton construction from scenario generation and rule-based validation.
- 17:07Evan: So, different approaches have been employed to create interactive environments.
- 17:12How about dependency-graph expansion?
- 17:14Ashley: Dependency-graph expansion and topology-aware trajectory synthesis, as seen in works like ScaleEnv, allow for the creation of complex interaction scenarios.
- 17:25Similarly, AutoWebWorld generates interactive websites for agent training.
- 17:30Evan: What about configuring existing software?
- 17:33Is that something explored too?
- 17:35Ashley: Gym-Anything transforms existing software applications into agent environments, enabling practical agent training based on real software interactions.
- 17:44This approach provides realistic data and supports a wide range of tasks.
- 17:49Evan: Sounds like there’s a host of strategies to simulate environments for training.
- 17:53How does CompoWorld build on these methods?
- 17:56Ashley: CompoWorld leverages independently executable, stateful services combined into task-specific causal dependency graphs.
- 18:04This approach makes service combinations and cross-service requirements explicit, adding controllable dimensions to training-environment generation.
- 18:12Evan: Interesting.
- 18:13Now, let’s shift our focus to compositional generalization.
- 18:17What's covered in this area?
- 18:18Ashley: Compositional generalization involves reusing familiar tools and skills in new task structures, respecting dependencies between actions and environment states.
- 18:28Studies like CompWoB highlight the challenge of transferring performance from individual tasks to their combinations.
- 18:35Evan: Transferring skills seems critical.
- 18:37Are there benchmarks specifically focused on this?
- 18:41Ashley: Indeed.
- 18:42AppWorld extends evaluation to coordinate workflows across multiple applications, requiring agents to manage APIs and state changes.
- 18:50This benchmark isolates the need for handling complex interconnected tasks.
- 18:55Evan: And on the methodological front, how is compositionality tackled?
- 19:00Ashley: Voyager proposes building a library of reusable skills, while Compositional Skill Routing decomposes requests and assembles plans that respect dependencies among model context protocol skills.
- 19:12Both offer ways to equip agents for new tasks using established capabilities.
- 19:17Evan: So, combining skills and managing dependencies is a recurrent theme.
- 19:22How does CompoWorld fit into this picture?
- 19:24Ashley: CompoWorld advances this direction by recombining independently executable services along with their causal dependencies.
- 19:32The aim is to train agents to transfer their knowledge of individual services to new workflows by learning how information and state changes connect across services.
- 19:41Evan: Right, the focus on recombination of services and dependencies seems unique.
- 19:46Anything else worth mentioning?
- 19:48Ashley: Definitely.
- 19:49Terminal-Universe reconstructs workspaces from agent trajectories, creating tasks that span writable and read-only codebases.
- 19:57This framework complements CompoWorld’s idea of cross-environment workflows by focusing on interconnected workspace states.
- 20:05Evan: It’s enlightening to see how different studies intersect and build upon each other.
- 20:09Any final thoughts from this section?
- 20:11Ashley: Overall, CompoWorld leverages past research on automated environment construction and compositional generalization, pushing the boundaries of agent training through scalable, cross-service environments.
- 20:23It synthesizes these approaches to enhance workflow diversity and task complexity in agent training.
- 20:29Evan: Thanks for breaking down that section, Ashley.
- 20:31That’s the end of the Related Work section.
- 20:35Evan: We're nearing the end of our discussion on CompoWorld.
- 20:37Let's summarize the key contributions and takeaways.
- 20:41Ashley: CompoWorld makes several key contributions to the field of AI and agent training.
- 20:46First, it introduces Compositional Environment Scaling, which allows for the creation of complex and diverse training environments from a finite set of reusable services.
- 20:56Evan: That's a significant step forward.
- 20:58The ability to compose environments dynamically means we can train agents on a much larger variety of tasks without manually creating each one.
- 21:07Ashley: Exactly.
- 21:08By leveraging dependency graphs, CompoWorld facilitates meaningful information flow between different services without locking into a fixed sequence of tool calls.
- 21:18This setup mimics real-world workflows more closely.
- 21:22Evan: The paper also addresses the challenge of ensuring these services execute reliably, correct?
- 21:27Ashley: Yes, that's right, Evan.
- 21:29CompoWorld standardizes interaction interfaces using typed Python schemas.
- 21:34This allows coding agents to generate executable mock services and independent validation to catch any potential errors.
- 21:41Evan: And using a hybrid approach with a language world model ensures the tools that can’t be locally implemented still function accurately within the environment.
- 21:51Ashley: Additionally, the Completion-Focused Rubric Reward in reinforcement learning aims to drive full task completion by focusing agents on unmet criteria.
- 22:00This leads to more robust learning outcomes.
- 22:03Evan: The experimental results certainly highlight the effectiveness of this approach, showing significant improvements across multiple benchmarks.
- 22:11Ashley: In summary, CompoWorld presents a valuable framework for advancing agent training through compositional environment scaling.
- 22:18It enhances training efficiency and enables agents to handle complex, cross-domain workflows more effectively.
- 22:25Evan: That brings us to the end of today’s episode.
- 22:27Ashley: Thank you for tuning in to Daily Paper Cast.
- 22:30We hope you found our discussion on CompoWorld insightful.
- 22:34Evan: Make sure to join us next time as we continue to explore the latest advancements in AI and machine learning research.
- 22:41Ashley: Until then, stay curious and keep learning.
- 22:44Evan: Goodbye, everyone!