arXiv(opens in a new tab)cs.LGSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.07051

TrojanWorld: Backdooring World-Model Agents via Imagination Steering

Wenkai Huang, Siyuan Liang, Gaolei Li, Yiming Li, Tianhao Peng, Jianhua Li, Dacheng Tao

Abstract

World models increasingly serve as the predictive core of model-based reinforcement learning agents, enabling them to simulate future dynamics and reason over imagined trajectories before acting. Their substantial training demands make pretrained world models attractive for distribution and reuse, exposing downstream systems to model supply chain threats. Backdoor attacks offer a targeted and stealthy means of exploiting such supply chains, yet their threat to interactive world-model agents remains largely unexplored. To fill this gap, we present TROJANWORLD, a backdoor framework for world-model agents that induces attacker-specified behavior by steering internal imagination. A physical object placed in the scene acts as the trigger, enabling deployment-time activation through the agent's native observation pipeline without digitally manipulating the observation stream. To achieve effective, stealthy, and persistent control, TROJAN-WORLD combines Decision-Reflective Induction to steer trigger-conditioned imagination toward attacker-specified actions using decision feedback, Clean Behavior Anchoring to preserve trigger-free predictive and behavioral fidelity, and Causal Propagation to sustain the induced preference along subsequent trajectories after the trigger disappears. Together, these mechanisms establish an end-to-end attack chain from physical perception through corrupted imagination to malicious action selection. Experiments with the TD-MPC2, DreamerV3, and R2-Dreamer systems across the DeepMind Control, MetaWorld, MyoSuite, and RoboDesk benchmarks show that under trigger activation, TROJANWORLD achieves a target-action deviation as low as 0.026 while retaining at least 98.8% of the corresponding clean performance. Even after trigger removal, the compromised agent can remain trapped in the induced behavioral trajectory, continuing to execute attacker-specified actions.

1 Introduction

World models learn predictive dynamics from experience, providing agents with an internal simulator to anticipate fu-

ture states and assess the consequences of candidate actions before acting [10, 15, 29]. In model-based reinforcement learning, the model infers latent states from observations, rolls them forward under candidate actions, and estimates task-relevant quantities such as rewards and long-horizon values [18, 19, 38]. The resulting trajectories can train a policy in latent space or guide action selection through online planning [16, 17, 21, 57]. We use world-model agents to describe these closed-loop systems, whose actions are guided by futures generated within a learned model. This paradigm has been widely adopted across games, continuous control, and embodied robot learning [1, 18–20, 23, 48].

Training a capable world-model agent requires extensive interaction and repeated optimization. Collecting such experience on physical platforms is particularly slow and may expose hardware to unsafe exploration [19, 42, 48]. These costs make pretrained world models valuable assets and encourage their distribution through third-party providers [46]. Such a model-distribution paradigm makes the trustworthiness of upstream parameters, data, and training procedures a fundamental security concern. Backdoor attacks pose a well-established threat to such supply chains: they can remain dormant during clean validation yet induce attacker-specified behavior when a trigger appears [2, 12, 26, 31–34, 37]. For world-model agents, this threat leads to a central question: Can an adversary compromise the world model and exploit its simulated futures to control the agent's behavior?

Security research on world models has mainly considered inference-time manipulation and degradation-oriented poisoning. One line of work manipulates deployment-time inputs or the ranking of imagined trajectories to disrupt prediction and control [11, 13, 14]. Another poisons downstream adaptation data to degrade planning while constraining deviations from clean dynamics [22]. However, existing methods either rely on digitally optimized manipulations or require access to downstream adaptation data, and their objectives primarily induce task failure or performance degradation rather than attacker-specified behavior. Our goal is to establish a model-resident backdoor that can be implanted upstream and acti-

Figure

Figure 1: Threat scenario and deployment workflow of TROJANWORLD. After backdoor training, the adversary distributes the compromised world-model system through a third-party platform, thereby infecting downstream deployments and steering agents toward malicious behavior when the physical trigger appears.

vated after distribution through a physical object to induce target behavior that persists after trigger removal [36, 55].

To establish this attack path, we present TROJANWORLD, a backdoor framework that steers the world model's internal imagination toward target behavior. As illustrated in Figure 1, an upstream supplier embeds the backdoor during world-model training. After distribution, a physical object activates it through the agent's native observation pipeline without requiring any digital modification of captured observations. TROJANWORLD combines three complementary objectives. Decision-Reflective Induction converts feedback from the victim's fixed decision module into a targeted training signal. Clean Behavior Anchoring preserves predictive and behavioral fidelity when the trigger is absent. Causal Propagation sustains the induced preference along subsequent imagined trajectories after the trigger disappears. Together, these objectives connect physical perception to corrupted imagination and malicious action selection.

We evaluate the effectiveness, stealth, persistence, and robustness of TROJANWORLD using three representative world-model agent systems, TD-MPC2 [19], DreamerV3 [18], and R2-Dreamer [38], across four benchmarks: DeepMind Control [43], MetaWorld [52], MyoSuite [5], and RoboDesk [27]. These systems cover actor-based policy learning

and sampling-based online planning. When the physical trigger appears, TROJANWORLD achieves attacker-specified action control and degrades task performance while retaining at least 98.8% of the corresponding clean performance. This influence can persist after the physical trigger is removed, showing that corrupted imagination can sustain malicious behavior beyond the visible activation window. We further stress-test the attack under mitigation procedures adapted from FinePruning [35], SHINE [53], and Neural Cleanse [45, 49, 58]. No tested procedure fully removes the attack while preserving clean utility, underscoring the need for safeguards tailored to interactive world-model agents.

Our contributions are as follows:

  • We introduce TROJANWORLD, a supply-chain backdoor framework for world-model agent systems that embeds a backdoor during upstream training and uses a physical trigger to steer internal imagination toward attacker-specified actions after deployment.
  • We develop three complementary objectives: Decision-Reflective Induction, Clean Behavior Anchoring, and Causal Propagation. Together, they improve attack effectiveness, preserve predictive and behavioral fidelity under trigger-free conditions, and sustain the induced preference after trigger removal.
  • We evaluate TROJANWORLD across three world-model agent systems and four benchmarks. It achieves a target-action deviation as low as 0.026 while retaining at least 98.8% of the corresponding clean performance. Its influence persists after trigger removal and remains effective under representative mitigation procedures.

References (57)