Skip to content
RobotWorld
Back to Papers

PAPER DEEP DIVE

世界模型world model数据科学

DSWorld: A Data Science World Model for Efficient Autonomous Agents

Despite strong capabilities in data understanding and decision-making, autonomous data science agents still heavily rely on trial-and-error workflows that involve expensive computation. This bottleneck motivates models that can anticipate the effects of data science operations before real execution. In this paper, we introduce the concept of Data Science World Model, which model the data science execution environment by predicting environment state transitions conditioned on current workflow states and candidate operations. We further propose DSWorld, a practical framework that combines structured state construction, cost-aware routing, lightweight real execution, and an LLM-based simulator for expensive operations. To support training, we construct an 8K-scale transition trajectory dataset and introduce Reflective World Model Optimization, an error-aware reinforcement learning strategy for improving transition prediction. Experiments show that DSWorld accelerates RL-based agent training by approximately $14\times$ and search-based inference by approximately $3$-$6\times$ while maintaining competitive performance, and outperforms the strongest LLM baseline by 35.6% on transition prediction tasks. The code is available at https://anonymous.4open.science/r/DSWorld.

Zherui Yang, Fan Liu, Hao LiuJuly 17, 202610 min read
中文

DSWorld: A Data Science World Model for Efficient Autonomous Agents

Paper: DSWorld: A Data Science World Model for Efficient Autonomous Agents | Authors: Zherui Yang, Fan Liu, Hao Liu | Institution: HKUST (Guangzhou) | Link: https://arxiv.org/abs/2607.15901 | Code: https://anonymous.4open.science/r/DSWorld


One-Sentence Summary

DSWorld introduces the concept of a Data Science World Model, predicting the effects of data science operations without real execution through structured state construction, cost-aware routing, and an LLM-based simulator, achieving approximately 14× RL training speedup and 3-6× inference acceleration while outperforming the strongest LLM baseline by 35.6% on transition prediction.


Background and Motivation

Autonomous data science agents have recently been proposed to automate a wide range of data science tasks, from exploratory data analysis to predictive modeling. ML-Master 2 achieves medal-level performance on 56.4% of Kaggle competition tasks on MLE-Bench. Existing methods typically leverage test-time scaling strategies, exploring numerous candidate solutions through iterative trial-and-error workflows. However, these strategies heavily rely on expensive analytical computation—including data processing, model training, evaluation, and workflow updating—causing the majority of execution time to be spent on computation rather than agent reasoning. ML-Master spends over 86% of its execution time on model training in MLE-Bench.

This computational overhead fundamentally limits the efficiency and scalability of autonomous data science systems. A critical question arises: Can we develop a transition prediction model for data science workflows, enabling agents to anticipate the effects of operations before performing costly computation?

To this end, the paper introduces the concept of a Data Science World Model. As illustrated in Figure 1, similar to vision world models that imagine future states of the physical world, a data science world model treats the data science execution environment as the "world" to be modeled. Given a workflow state and a candidate operation, the model predicts the next environment state—including dataset and model changes, execution feedback, errors, and performance signals. This capability enables agents to anticipate operation effects without expensive real-world execution, substantially accelerating both training and inference.

Figure 1: DSWorld simulates data science environments and accelerates agent training and inference.


Method

DSWorld consists of four components $\mathcal{W} = \{\mathcal{SC}, \mathcal{R}, \mathcal{C}, \mathcal{S}\}$, where $\mathcal{SC}$ is the State Constructor, $\mathcal{R}$ is the Router, $\mathcal{C}$ is the Compiler, and $\mathcal{S}$ is the LLM-based Simulator.

Data Science Workflow State Definition

The workflow state at time step $t$ is represented as $S_t = \{T_t, D_t, P_t, L_t\}$, where $T_t$ denotes the task, $D_t$ denotes the data state (e.g., dataset statistics and previews), $P_t$ denotes the execution environment (e.g., libraries and runtime configurations), and $L_t$ denotes execution logs, intermediate outputs, and task progress. The agent produces an action $A_t$ conditioned on state $S_t$, where $A_t$ denotes data science operations such as feature engineering, model training, and evaluation. The Data Science World Model is defined as a transition model that predicts operation effects:

$$S_{t+1} = \mathcal{W}(S_t, A_t)$$

where $\mathcal{W}$ denotes the world model. This formula captures the core idea: predicting the consequences of an action before execution.

State Constructor

The State Constructor transforms the raw execution environment into a structured state representation: $S_t = \mathcal{SC}(E_t)$, where $E_t$ is the data science environment at time step $t$. It is a rule-based program that extracts and organizes key information from the environment, including task descriptions, dataset statistics, data previews, execution environments, execution histories, intermediate outputs, and error messages. This structured representation enables DSWorld to model environment transitions in a unified manner.

Cost-Aware Router

Given the current state, the agent generates an action $A_t = \pi(S_t)$. To enable efficient routing, the action is first encoded into a dense embedding, which together with the current state is fed into the Router for decision making: $m_t = \mathcal{R}(S_t, A_t)$, where $m_t \in \{\texttt{execute}, \texttt{simulate}\}$. Intuitively, lightweight operations (e.g., simple data manipulation or environment inspection) are routed to direct execution, while computationally expensive operations (e.g., large-scale model training) are routed to simulation. To improve robustness against routing errors, a time limit is imposed on Compiler execution—if it exceeds the threshold, the action is redirected to the Simulator.

Compiler and Simulator

When the action is inexpensive, the Compiler executes it directly: $\hat{S}_{t+1} = \mathcal{C}(S_t, A_t)$, interacting with the actual execution environment and returning the resulting state. When the action is expensive, the Simulator predicts the next state without real execution: $\hat{S}_{t+1} = \mathcal{S}(S_t, A_t)$. The Simulator is an LLM-based transition model that predicts execution outcomes and potential errors directly from the current state and action. The overall transition process is formulated as:

$$\hat{S}_{t+1} = \begin{cases} \mathcal{C}(S_t, A_t), & m_t = \texttt{execute} \\ \mathcal{S}(S_t, A_t), & m_t = \texttt{simulate} \text{ or Timeout} \end{cases}$$

Through this hybrid execution-simulation mechanism, DSWorld balances efficiency and accuracy, enabling scalable environment interaction for autonomous data science agents.

Figure 2: DSWorld overview. (a) Predicts operation effects; (b) Reflective World Model Optimization; (c) LLM synthesizes and verifies state transitions.

Reflective World Model Optimization

Training adopts a two-stage post-training strategy: SFT warm-up followed by Reflective World Model Optimization. The SFT objective is:

$$\mathcal{L}_{\text{SFT}} = -\log \mathcal{S}_\theta(S' \mid S, A)$$

In the RL stage, the Simulator first predicts the next state $\hat{S}' \sim \mathcal{S}_\theta(\cdot \mid S, A)$, compares it with the ground-truth $S'$ to generate reflection feedback $f = \mathcal{S}_\theta(\hat{S}', S')$ identifying missing, incorrect, or inconsistent predictions. Conditioned on the feedback, the Simulator refines its prediction: $\hat{S}'_r = \mathcal{S}_\theta(S, A, f)$. For each sample, $n$ rollouts are performed to obtain both original and refined predictions $\mathcal{P} = \{\hat{S}'_i, \hat{S}'_{r,i}\}_{i=1}^n$, jointly optimized using GRPO:

$$\mathcal{L}(\theta) = \mathbb{E}\left[\frac{1}{2n}\sum_{i=1}^{n}\left(\mathcal{L}_{\text{clip}}(\hat{S}'_i, A_i) + \mathcal{L}_{\text{clip}}(\hat{S}'_{r,i}, A_{r,i})\right)\right] - \beta_{\text{KL}} \mathbb{D}_{\text{KL}}(\pi_\theta \| \pi_{\text{ref}})$$

where the advantage $\mathcal{A}$ is computed as a group-relative advantage: $\mathcal{A}_i = \frac{R_i - \mu(R)}{\sigma(R) + \epsilon}$, with $R_i$ being the reward of the $i$-th rollout and $\mu(R)$, $\sigma(R)$ the mean and standard deviation of rewards within the rollout group.

flowchart TB
    A["Raw Environment E_t"] --> B["State Constructor SC
extract structured state S_t"] B --> C["Agent generates action A_t"] C --> D["Action Encoder"] D --> E["Router R
decide execute or simulate"] E -->|lightweight op| F["Compiler C
real execution"] E -->|expensive op or timeout| G["Simulator S
LLM predicts next state"] F --> H["Next state S_t+1"] G --> H G --> I["Reflective optimization
compare with ground truth"] I --> J["Refined prediction S_r'"] J --> H

Training Data Construction

Due to the lack of state transition data for data science workflows, the authors construct DSWorld-8K, containing both real and synthesized transition trajectories. Real trajectories are collected by running existing agents on real tasks to record $(S, A, S')$, then using an LLM to synthesize CoT reasoning trajectories $\tau = p_\eta(S, A, S')$. Synthetic trajectories leverage MMTU's 60K real tables to construct diverse environment states, randomly sampling data operations $o$, error types $e$, and execution status $r$, with the LLM generating executable actions $A \sim p_\eta(A \mid S, o, e, r)$. These are then executed via the Compiler to obtain real next states $S' = \mathcal{C}(S, A)$, and verified $\text{Verify}(S, A, S', e, r)$ to retain only valid samples.


Experimental Results

DSWorld is evaluated on five transition prediction tasks: Execution Success Prediction (ESP), Error Type Prediction (ETP), Execution Result Similarity (ERS), Execution Keyword Matching (EKM), and Performance Prediction (PP), plus Performance Ranking (PR). DSWorld uses Qwen3-8B as the simulator backbone, Harrier OSS v1 0.6B as the encoder, and a two-layer MLP as the Router.

MethodESP↑ETP↑ERS↑EKM↑PP↑PR↑Avg↑
Llama-3.1-8B0.4800.3220.3180.0430.6220.4920.379
GPT-4o0.7120.5020.4720.1730.7570.4920.518
o4-mini0.6800.5850.4890.3820.7890.5140.576
Qwen3-8B-sft0.9170.8850.8430.5740.8490.5090.763
Qwen3-8B-grpo0.9370.9120.8590.5560.8480.5130.771
DSWorld0.9500.9220.8710.5750.8560.5180.781

Table 1: Transition prediction performance. DSWorld achieves best results on nearly all dimensions.

DSWorld outperforms the strongest baseline o4-mini by 35.6% on average. On execution-related tasks, it improves by 33.4%, 57.6%, 71.5%, and 50.5% respectively over the strongest baseline, demonstrating more accurate modeling of execution dynamics. Performance-related tasks (PP, PR) require stronger reasoning about ML algorithms, where DSWorld achieves best PP and second-best PR.

BackboneSimulatorAny Medal↑Score↑Time (min)↓
Qwen3-8BCompiler11.1118.11335
Qwen3-8BDeepSeek 3.21.5910.863854
Qwen3-8BDSWorld9.5217.67277

Table 2: Agent training comparison. DSWorld achieves ~14× training speedup while maintaining competitive performance.

For agent training, the DSWorld-trained agent achieves competitive performance with the Compiler-trained agent on MLE-Bench Lite, but with training time reduced from 335 to 277 minutes (~14× speedup). Using DeepSeek 3.2 as simulator also reduces time but causes severe performance degradation due to inaccurate feedback and hallucinated transitions. For inference acceleration, DSWorld achieves approximately 3-6× speedup over Compiler while preserving downstream performance.

Figure 1b: DSWorld accelerates agent RL training by approximately 14×.

The ablation study shows Qwen3-8B-sft improves average performance by 37.5% over the base backbone, validating the synthetic data pipeline. Qwen3-8B-grpo further improves by 1.05%, and DSWorld adds another 1.3% on top, demonstrating the effectiveness of Reflective World Model Optimization. Further analysis shows DSWorld consistently benefits from more training data (0.1k→6.4k) and larger model scale (0.6B→14B).


State representation

$$ S_{t}=\{T_{t},D_{t},P_{t},L_{t}\} $$

Limitations

  1. Performance prediction tasks remain difficult: execution-related tasks (ESP, ETP, ERS) are easier to model due to explicit execution patterns; however, performance prediction and ranking require stronger reasoning about ML algorithms, task characteristics, and evaluation metrics, showing limited improvement. The authors note these tasks "require stronger reasoning about machine learning algorithms, task characteristics, and evaluation metrics."
  2. Routing error risk: cost-aware routing depends on accurate judgment of operation computational cost. Misrouting expensive operations to the Compiler may cause timeouts, while misrouting inexpensive operations to the Simulator may introduce unnecessary prediction errors. Although a timeout fallback mechanism exists, routing precision still affects overall efficiency.
  3. Limited synthetic data coverage: synthetic trajectories are based on NumPy/Pandas ecosystem operation and error libraries, which may not cover all operation patterns in real-world data science scenarios, limiting generalization.

Conclusion and Outlook

DSWorld extends the world model concept from the physical world to the data science execution environment, demonstrating that predicting operation effects before execution is feasible. The cost-aware routing mechanism elegantly balances precision and efficiency—lightweight operations are directly executed for accuracy, expensive operations are predicted by the LLM simulator for efficiency. Reflective World Model Optimization further improves prediction quality through error-aware iterative refinement. The 14× training speedup and 3-6× inference acceleration demonstrate that world models can serve as efficient environment simulators for autonomous data science agents.

This work opens a new direction for scalable training and inference of data science AI agents. As stronger LLM backbones and larger-scale transition data become available, data science world models are poised to become infrastructure components for accelerating data science automation.

Golden insight: Rather than letting agents waste 86% of their time waiting for computation through trial and error, let the world model tell them "what would happen if you did this" first—DSWorld proves that prediction itself is the most efficient execution.

Related Papers

GigaBrain-0.7: Scaling Embodied Foundation Models to Emergent Capabilities with a Three-System Architecture

GigaBrain-0.7: Scaling Embodied Foundation Models to Emergent Capabilities with a Three-System Architecture

Vision-language-action (VLA) models have become a dominant paradigm for generalist embodied agents, demonstrating strong complex and long-horizon task completion in structured settings. Yet it remains an open question whether current VLA systems can benefit from more effective architectural design, scale to substantially larger and more heterogeneous data regimes, and achieve broader generalization across tasks and embodiments. To this end, we present GigaBrain-0.7, an embodied foundation model with substantially improved generalization across diverse robot embodiments. Specifically, GigaBrain-0.7 unifies understanding, prediction, and action through a three-system architecture, scales pretraining to over 37,000 hours of heterogeneous embodied data, and introduces one-stage alignment training that jointly optimizes vision-language understanding and multi-embodiment action generation. Compared with the preceding GigaBrain-0 series and prior state-of-the-art models including $π_{0.5}$, GigaBrain-0.7 achieves substantial improvements in foundation zero-shot capabilities, language-conditioned instruction following, and post-training task success rates. In particular, on our in-house Maker H01 platform and mainstream robot embodiments, GigaBrain-0.7 demonstrates strong task adaptability and completion ability across both home and industrial scenarios. All training code and pretrained model weights will be released.

VLA具身智能世界模型Aug 16, 2026
LeVJEPA: Efficient & Scalable Video Pretraining without the Heuristics

LeVJEPA: Efficient & Scalable Video Pretraining without the Heuristics

LeVJEPA performs video self-supervised pretraining with a single encoder, a single loss and one fixed hyperparameter (λ=0.02): an invariance loss plus SIGReg regularization provably rule out representation collapse, with no target encoder, predictor, stop-gradient or pixel reconstruction. It uses 5.6–20.8× less training compute than V-JEPA 2, leads by 7.6 points on ImageNet-1K under a FLOP-matched budget, and gets block-causal attention for free — paving the way to streaming perception and autoregressive world models.

视频自监督预训练JEPA表征坍缩Aug 27, 2026
Zero-WAM: In-Context World-Action Modeling from Human Videos for Open-Ended Task Generalization

Zero-WAM: In-Context World-Action Modeling from Human Videos for Open-Ended Task Generalization

Zero-shot cross-task generalization, where a policy must execute manipulation tasks never seen during training, remains a central challenge in robot learning. In large language models, a novel task can be performed simply by specifying it in the context, without any parameter update. This form of in-context learning (ICL) turns generalization into a problem of task specification. To achieve cross-task generalization, we bring this paradigm to robotic manipulation, and argue that the natural task specification for manipulation is a human video: unlike language, it provides rich visual cues about the intended task evolution. We present Zero-WAM, a causal video-action model that executes unseen tasks by following in-context human video guidance. To address the scarcity of task-rich paired human-robot data, we propose an automatic pipeline that converts task-sampled robot trajectories into semantically matched human videos, yielding HumanGen, a dataset of 74.2K human-robot ICL pairs across 8.6K tasks. For model training, we further introduce an in-context future chunk prediction (IFP) objective that suppresses shortcuts learned from seen tasks and forces the policy to draw task information from the video prompt. On seven unseen tasks in RoboTwin 2.0 simulation, Zero-WAM achieves a 47.0% average success rate, an absolute improvement of 29.5 percentage points over the strongest video-action baseline. In real-world evaluations, it follows human video guidance to generalize to unseen task configurations involving multi-object scenes, long-horizon manipulation, and fine-grained insertion.

世界模型上下文学习人类视频示教Aug 26, 2026
DECOWAM: Decoupled Whole-Body World-Action Model for Legged Mobile Manipulation

DECOWAM: Decoupled Whole-Body World-Action Model for Legged Mobile Manipulation

DECOWAM adapts a frozen FastWAM video-action backbone to legged mobile manipulation via decoupled interfaces — an action-equivalent future bottleneck, adversarial base/arm factorization, and ego-motion-aware video conditioning — cutting Stage-2 trainable parameters 232x while leading real-robot deployment at 58.2% success.

世界模型VLA移动操作Aug 20, 2026