Dreamer-SAC: Off-Policy Learning in Latent World Models for Sample-Efficient Autonomous Driving
Summary
This paper proposes Dreamer-SAC, a model-based reinforcement learning framework that integrates a recurrent state-space world model with soft actor-critic in latent space for sample-efficient autonomous driving. It outperforms DreamerV3, SAC, and PPO baselines while requiring fewer real environment interactions.
View Cached Full Text
Cached at: 08/12/26, 08:29 AM
# Dreamer-SAC: Off-Policy Learning in Latent World Models for Sample-Efficient Autonomous Driving
Source: [https://arxiv.org/html/2608.10386](https://arxiv.org/html/2608.10386)
Jiazhuo Li Linjiang Cao Qi Liu Xi Xiong Tongji University 2534457@tongji\.edu\.cn,2431743@tongji\.edu\.cn, liu\_qi@tongji\.edu\.cn,xi\_xiong@tongji\.edu\.cn
###### Abstract
Sample\-efficient reinforcement learning for autonomous driving is often limited by the trade\-off between data efficiency and model bias\. While world models reduce the reliance on costly environment interactions, policy optimization over learned dynamics remains sensitive to prediction errors\. This paper proposes the Dreamer\-SAC framework, which integrates a recurrent state\-space world model with an off\-policy soft actor\-critic algorithm trained directly in latent space\. The framework uses a combination of real interactions and short\-horizon generated trajectories with n\-step target estimation and multi\-objective supervision\. Evaluated in autonomous driving scenarios with objectives encompassing driving efficiency and safety, the proposed framework consistently outperforms representative reinforcement learning baselines, including DreamerV3, SAC, and PPO, while achieving improved performance with substantially fewer real environment interactions\. Experiments reveal an inverted\-U relationship between rollout horizon and policy performance, where short\-horizon latent rollouts achieve the best trade\-off between additional training signals and accumulated model bias\. Furthermore, n\-step target estimation demonstrates more effectiveness over one\-step temporal\-difference targets in exploiting predicted experience for value learning\.
## 1Introduction
Autonomous driving is a core enabling technology for next\-generation intelligent transportation systems, with the potential to reduce traffic fatalities, alleviate congestion, and improve mobility accessibility\[[1](https://arxiv.org/html/2608.10386#bib.bib1)\]\. Autonomous vehicles are required to make continuous sequential decisions in complex and uncertain traffic environments involving dynamic interactions with surrounding road users\. However, the large\-scale deployment of reliable autonomous driving decision systems remains challenging\. A primary bottleneck lies in the prohibitive cost of safety validation, as ensuring reliable performance under long\-tail and safety\-critical scenarios, such as collisions, unexpected cut\-ins, and complex interactions, requires extensive driving experience\. Real\-world testing not only incurs substantial economic costs but also introduces potential risks to public road safety\[[2](https://arxiv.org/html/2608.10386#bib.bib2)\]\. Reinforcement learning \(RL\) provides a promising data\-driven framework for sequential decision\-making\[[3](https://arxiv.org/html/2608.10386#bib.bib3)\], enabling autonomous agents to learn sophisticated driving policies through environmental interaction rather than relying solely on manually designed decision rules\. Despite its potential, the practical application of RL to autonomous driving remains severely constrained by its limited sample efficiency, as achieving reliable policies typically requires large amounts of interaction data\[[4](https://arxiv.org/html/2608.10386#bib.bib4)\]\.
Model\-based reinforcement learning \(MBRL\) has recently attracted considerable attention as a promising solution to this problem\. Instead of interacting with the environment for every policy update, MBRL learns a predictive world model that approximates environment dynamics and generates trajectories for policy optimization\. By replacing expensive environment interactions with latent\-space rollouts, world models substantially improve data efficiency while maintaining competitive control performance\[[5](https://arxiv.org/html/2608.10386#bib.bib5)\]\. Building on this paradigm, this paper proposes a model\-based RL framework tailored for autonomous driving\. Our method integrates world models with off\-policy RL, enabling the agent to learn policies through both real and rolled\-out interactions\. This maximizes data utilization while mitigating the impact of model bias\.
Existing approaches to autonomous driving decision making have evolved through several paradigms\. Early systems relied predominantly on rule\-based methods, such as finite state machines, behavior trees, and handcrafted heuristics for scenario decomposition and maneuver selection\[[6](https://arxiv.org/html/2608.10386#bib.bib6),[7](https://arxiv.org/html/2608.10386#bib.bib7)\]\. While interpretable and deterministic, these methods struggle to generalize to the combinatorial complexity of real\-world traffic interactions and require extensive manual engineering to scale\. Optimization\-based techniques—notably model predictive control \(MPC\)—were subsequently introduced to explicitly exploit vehicle dynamics and constraints for trajectory planning and tracking\[[8](https://arxiv.org/html/2608.10386#bib.bib8)\]\. However, the reliance on manually designed cost functions and simplified dynamic models limits their adaptability in highly interactive or uncertain environments\. The emergence of deep learning enabled a paradigm shift toward data\-driven policy learning\. Imitation learning \(IL\), particularly behavior cloning, learns driving policies directly from expert demonstrations by mapping raw sensor inputs to control commands\[[9](https://arxiv.org/html/2608.10386#bib.bib9)\]\. Although effective for capturing human\-like driving styles, IL fundamentally suffers from covariate shift and compounding errors when the learned policy deviates from the expert state distribution\[[10](https://arxiv.org/html/2608.10386#bib.bib10)\]\. Reinforcement learning \(RL\) offers an alternative by enabling agents to discover policies through trial\-and\-error interaction, thereby optimizing long\-term performance beyond expert demonstrations\. Model\-free RL algorithms, such as Proximal Policy Optimization \(PPO\)\[[11](https://arxiv.org/html/2608.10386#bib.bib11)\]and Soft Actor\-Critic \(SAC\)\[[12](https://arxiv.org/html/2608.10386#bib.bib12)\], have achieved remarkable success in continuous control tasks\. To improve sample efficiency, model\-based methods learn predictive dynamics models that generate synthetic rollouts, reducing reliance on costly real interactions\. Early work such as Model\-Based Policy Optimization \(MBPO\)\[[13](https://arxiv.org/html/2608.10386#bib.bib13)\]demonstrated that short\-horizon rollouts from an ensemble of probabilistic dynamics models can effectively augment real data for off\-policy SAC training\. However, MBPO operates directly in the original state space using explicit dynamics models, limiting its applicability to high\-dimensional visual observations common in autonomous driving\. To overcome this, latent world models learn compact representations of environment dynamics, enabling planning and policy optimization entirely in a compressed latent space\[[14](https://arxiv.org/html/2608.10386#bib.bib14),[15](https://arxiv.org/html/2608.10386#bib.bib15)\]\. Among recent approaches, the Dreamer family has demonstrated remarkable success across continuous\-control benchmarks by learning a Recurrent State\-Space Model \(RSSM\) that captures latent dynamics\[[16](https://arxiv.org/html/2608.10386#bib.bib16)\]\. The learned latent representation enables planning and policy learning entirely in latent space, avoiding costly pixel\-level reconstruction during policy optimization\.
Several works have adapted latent world models to autonomous driving: Gao et al\. enhanced robustness through semantic masked world models\[[17](https://arxiv.org/html/2608.10386#bib.bib17)\], while Yang et al\. explored representation alignment between raw observations and privileged features\[[18](https://arxiv.org/html/2608.10386#bib.bib18)\]\. However, these approaches primarily focus on improving the representation quality of the world model itself, rather than reconsidering the policy optimization paradigm within the latent space\. Most of these methods employ on\-policy actor\-critic optimization strategies, limiting the agent to training within the “imagined” world and lacking the ability to learn directly from real\-world data\. Unlike real transitions, predicted trajectories inevitably suffer from accumulated prediction errors\[[19](https://arxiv.org/html/2608.10386#bib.bib19)\], causing model bias that increases rapidly with rollout horizon, which will affect the policy’s assessment of safety\-critical driving scenarios \(such as collisions\)\.
To address these challenges, this paper proposes a Dreamer\-SAC framework that combines latent world models with off\-policy reinforcement learning through short\-horizon rollouts and mixed replay optimization\. Instead of relying exclusively on predicted trajectories, the proposed framework continuously updates the world model using real interaction data while generating short latent rollouts from posterior RSSM states\. Real transitions are optimized using conventional one\-step temporal\-difference targets, whereas predicted trajectories adopt n\-step targets to better exploit long\-term reward information within the rollout horizon\. Both data sources are jointly used for critic and actor optimization, allowing SAC to benefit from model\-generated experience while limiting the adverse effects of long\-horizon model bias\.
The main contributions of this work are summarized as follows:
1. 1\.A model\-based off\-policy reinforcement learning framework is proposed by integrating Soft Actor\-Critic into the Recurrent State\-Space Model, enabling autonomous driving policies to efficiently exploit model\-generated rollouts\.
2. 2\.A hybrid real and model\-generated experience learning strategy is developed to improve policy reliability by combining real transitions and latent rollouts with different value estimation schemes, thereby enhancing data utilization while mitigating the impact of model prediction errors\.
3. 3\.Comprehensive experiments demonstrate the superiority of the proposed framework over representative reinforcement learning baselines and reveal an inverted\-U relationship between rollout horizon and performance, indicating that short\-horizon rollouts provide the optimal balance between learning benefits and model bias\.
## 2Preliminaries
This section introduces the problem we study, as well as background knowledge regarding world models and Soft Actor\-Critic\.
### 2\.1Problem Definition
In real\-world driving, an ego vehicle cannot access the complete and exact state of the environment, such as the precise intentions of other drivers or occluded road regions\. Instead, it must rely solely on its onboard sensors, which provide partial and noisy observations\. We model the autonomous driving task as a Partially Observable Markov Decision Process \(POMDP\)\[[20](https://arxiv.org/html/2608.10386#bib.bib20)\]\. The POMDP is defined by the tuple\(𝒮,𝒜,𝒪,𝒯,Ω,ℛ,γ\)\(\\mathcal\{S\},\\mathcal\{A\},\\mathcal\{O\},\\mathcal\{T\},\\Omega,\\mathcal\{R\},\\gamma\), where𝒮\\mathcal\{S\}represents the true but unobservable environment state\.𝒜\\mathcal\{A\}is the action space consisting of continuous steering and throttle/brake commands𝐚t=\(asteer,athrottle\)∈\[−1,1\]2\\mathbf\{a\}\_\{t\}=\(a\_\{\\text\{steer\}\},a\_\{\\text\{throttle\}\}\)\\in\[\-1,1\]^\{2\}\.𝒪\\mathcal\{O\}is the observation space\. At each time steptt, the ego vehicle receives an observation𝐨t\\mathbf\{o\}\_\{t\}composed of two modalities:
𝐨t=\{It,𝐯t\},\\mathbf\{o\}\_\{t\}=\\\{I\_\{t\},\\mathbf\{v\}\_\{t\}\\\},\(1\)whereIt∈ℝH×W×3I\_\{t\}\\in\\mathbb\{R\}^\{H\\times W\\times 3\}is an image from a front\-facing camera, and𝐯t∈ℝ125\\mathbf\{v\}\_\{t\}\\in\\mathbb\{R\}^\{125\}is a vector of vehicle observation, including LiDAR and own\-state information\. Both of them can be directly obtained through raw sensors or physical calculations\.𝒯\(s′∣s,a\):𝒮×𝒜×𝒮→\[0,1\]\\mathcal\{T\}\(s^\{\\prime\}\\mid s,a\):\\mathcal\{S\}\\times\\mathcal\{A\}\\times\\mathcal\{S\}\\rightarrow\[0,1\]defines the conditional transition probability distribution over next states\.Ω\(o∣s,a\):𝒮×𝒜×𝒪→\[0,1\]\\Omega\(o\\mid s,a\):\\mathcal\{S\}\\times\\mathcal\{A\}\\times\\mathcal\{O\}\\rightarrow\[0,1\]defines the probability of observing given state and action\.ℛ:𝒮×𝒜→ℝ\\mathcal\{R\}:\\mathcal\{S\}\\times\\mathcal\{A\}\\rightarrow\\mathbb\{R\}is the reward function balancing safety and efficiency, whileγ∈\[0,1\]\\gamma\\in\[0,1\]is the discount factor\. The agent’s objective is to learn a policyπ\(at\|o≤t\)\\pi\(a\_\{t\}\|o\_\{\\leq t\}\)that maximizes the expected cumulative discounted reward:
𝔼π\[∑t=0∞γtrt\]\.\\mathbb\{E\}\_\{\\pi\}\\left\[\\sum\_\{t=0\}^\{\\infty\}\\gamma^\{t\}r\_\{t\}\\right\]\.\(2\)
### 2\.2Latent World Models
Model\-based reinforcement learning improves sample efficiency by learning a predictive model of environment dynamics and generating trajectories for policy optimization\. Instead of directly predicting future observations in the high\-dimensional image space, latent world models first compress observations into a compact latent representations^t∈𝒮latent\\hat\{s\}\_\{t\}\\in\\mathcal\{S\}\_\{\\text\{latent\}\}and perform transition prediction entirely in the latent space\. This substantially reduces computational cost while preserving information relevant for control\.
The world model consists of the following components:
Representation model:s^t∼p\(s^t∣s^t−1,at−1,ot\)\\displaystyle\\quad\\hat\{s\}\_\{t\}\\sim p\(\\hat\{s\}\_\{t\}\\mid\\hat\{s\}\_\{t\-1\},a\_\{t\-1\},o\_\{t\}\)\(3\)Transition model:s^t\+1∼p\(s^t\+1∣s^t,at\)\\displaystyle\\quad\\hat\{s\}\_\{t\+1\}\\sim p\(\\hat\{s\}\_\{t\+1\}\\mid\\hat\{s\}\_\{t\},a\_\{t\}\)\(4\)Observation model:o^t∼p\(o^t∣s^t\)\\displaystyle\\quad\\hat\{o\}\_\{t\}\\sim p\(\\hat\{o\}\_\{t\}\\mid\\hat\{s\}\_\{t\}\)\(5\)Reward model:r^t∼p\(r^t∣s^t,at\)\\displaystyle\\quad\\hat\{r\}\_\{t\}\\sim p\(\\hat\{r\}\_\{t\}\\mid\\hat\{s\}\_\{t\},a\_\{t\}\)\(6\)Continue model:c^t∼p\(c^t∣s^t,at\)\\displaystyle\\quad\\hat\{c\}\_\{t\}\\sim p\(\\hat\{c\}\_\{t\}\\mid\\hat\{s\}\_\{t\},a\_\{t\}\)\(7\)
The representation model maps high\-dimensional observations into a compact latent state, compressing raw sensor inputs while preserving task\-relevant information\. The transition model predicts future latent states given the current state and action, forming the core of the learned dynamics\. The observation model reconstructs observations from the latent state, providing a self\-supervised reconstruction signal\. The reward model predicts immediate rewards for value estimation\. In our tasks, a separate continue model predicts the termination signal, helping the agent identify episode boundaries\. Through the learned latent dynamics model, the agent can generate latent rollouts by predicting future states, rewards, and termination signals in the latent space\. These model\-generated trajectories provide additional training experiences for policy optimization and reduce the reliance on direct environment interactions\.
### 2\.3Soft Actor\-Critic
Soft Actor\-Critic \(SAC\)\[[12](https://arxiv.org/html/2608.10386#bib.bib12)\]is an off\-policy actor\-critic algorithm that optimizes both expected return and policy entropy, encouraging efficient exploration while maintaining stable learning\. SAC solves the maximum entropy objective:
J\(π\)=∑t=0∞𝔼\(st,at\)∼ρπ\[γtr\(st,at\)\+αℋ\(π\(⋅∣st\)\)\],J\(\\pi\)=\\sum\_\{t=0\}^\{\\infty\}\\mathbb\{E\}\_\{\(s\_\{t\},a\_\{t\}\)\\sim\\rho\_\{\\pi\}\}\\Bigl\[\\gamma^\{t\}r\(s\_\{t\},a\_\{t\}\)\+\\alpha\\mathcal\{H\}\\bigl\(\\pi\(\\cdot\\mid s\_\{t\}\)\\bigr\)\\Bigr\],\(8\)whereρπ\\rho\_\{\\pi\}denotes the state\-action marginal induced by policyπ\\pi,γ∈\[0,1\)\\gamma\\in\[0,1\)is the discount factor, andα\\alphacontrols the trade\-off between reward maximization and the entropy termℋ\\mathcal\{H\}, which encourages exploration\. The critic is trained using the soft Bellman target:
yt=rt\+γ𝔼at\+1∼πϕ\[mini=1,2Qθ¯i\(st\+1,at\+1\)−αlogπϕ\(at\+1∣st\+1\)\],y\_\{t\}=r\_\{t\}\+\\gamma\\,\\mathbb\{E\}\_\{a\_\{t\+1\}\\sim\\pi\_\{\\phi\}\}\\Bigl\[\\min\_\{i=1,2\}Q\_\{\\bar\{\\theta\}\_\{i\}\}\(s\_\{t\+1\},a\_\{t\+1\}\)\-\\alpha\\log\\pi\_\{\\phi\}\(a\_\{t\+1\}\\mid s\_\{t\+1\}\)\\Bigr\],\(9\)where two independentQQ\-networks are employed to alleviate overestimation bias\. The policy is optimized by minimizing the actor loss:
ℒπ\(ϕ\)=𝔼st∼𝒟𝔼at∼πϕ\[αlogπϕ\(at∣st\)−mini=1,2Qθi\(st,at\)\],\\mathcal\{L\}\_\{\\pi\}\(\\phi\)=\\mathbb\{E\}\_\{s\_\{t\}\\sim\\mathcal\{D\}\}\\;\\mathbb\{E\}\_\{a\_\{t\}\\sim\\pi\_\{\\phi\}\}\\Bigl\[\\alpha\\log\\pi\_\{\\phi\}\(a\_\{t\}\\mid s\_\{t\}\)\-\\min\_\{i=1,2\}Q\_\{\\theta\_\{i\}\}\(s\_\{t\},a\_\{t\}\)\\Bigr\],\(10\)where𝒟\\mathcal\{D\}is the replay buffer and the temperature parameterα\\alphais automatically adjusted to maintain a target policy entropy\. Compared with on\-policy policy\-gradient methods, SAC achieves substantially higher sample efficiency through experience replay and stable value estimation, making it well suited for latent model\-based reinforcement learning\.
## 3Method
This section introduces the Dreamer\-SAC framework\. As shown in Figure[1](https://arxiv.org/html/2608.10386#S3.F1), real driving experiences collected from the environment are stored in a replay buffer and used to train the RSSM world model, which learns compact latent representations and predicts observations, multi\-objective rewards, and termination signals\. Starting from real latent states, the current policy performs short\-horizon rollouts in the learned latent dynamics\. The generated trajectories are combined with real experiences to train the SAC agent, where real data adopts one\-step temporal\-difference targets and model\-generated data uses multi\-step returns\. By integrating real and predicted experiences within an off\-policy learning framework, the proposed method improves data efficiency while reducing the model bias associated with purely model\-generated policy optimization\.
Figure 1:Overview of the proposed Dreamer\-SAC framework\. The RSSM encodes multimodal observations into a compact latent state; latent rollouts are generated from posterior states and jointly used with real transitions to optimize the SAC policy\.### 3\.1Multi\-modal Encoding
The observation at each timestep consists of two modalities: a front\-facing camera imageIt∈ℝH×W×3I\_\{t\}\\in\\mathbb\{R\}^\{H\\times W\\times 3\}providing rich visual context of the road environment, and a vector𝐯t∈ℝ125\\mathbf\{v\}\_\{t\}\\in\\mathbb\{R\}^\{125\}comprising LiDAR range measurements and ego\-vehicle state information\. The LiDAR component captures 120 range readings over a 50\-meter sensing radius, while the ego\-state component encodes the vehicle’s speed, steering angle, previous actions and yaw rate\.
The image modality is processed by a convolutional neural network \(CNN\):fimg=CNN\(It;θimg\)f\_\{\\text\{img\}\}=\\text\{CNN\}\(I\_\{t\};\\theta\_\{\\text\{img\}\}\), progressively downsampling spatial resolution while expanding channel depth\. The resulting feature maps are flattened into a compact image embedding\. The vector modality is processed by a multi\-layer perceptron \(MLP\):fphys=MLP\(vt;θvec\)f\_\{\\text\{phys\}\}=\\text\{MLP\}\(v\_\{t\};\\theta\_\{\\text\{vec\}\}\)\. Both embeddings are then concatenated to form the encoded observation:
et=Concat\(fimg,fphys\)∈ℝdimg\+dphys\.e\_\{t\}=\\text\{Concat\}\(f\_\{\\text\{img\}\},f\_\{\\text\{phys\}\}\)\\in\\mathbb\{R\}^\{d\_\{\\text\{img\}\}\+d\_\{\\text\{phys\}\}\}\.\(11\)
### 3\.2Latent Dynamics Modeling
The encoded observations embedding is then fed into a Recurrent State\-Space Model \(RSSM\)\[[16](https://arxiv.org/html/2608.10386#bib.bib16)\]\. At each time step, the model maintains a deterministic hidden statehth\_\{t\}that summarizes past information, and a stochastic stateztz\_\{t\}that captures uncertainty\. The transition is defined as:
ht=fθ\(ht−1,zt−1,at−1\),\\displaystyle h\_\{t\}=f\_\{\\theta\}\(h\_\{t\-1\},z\_\{t\-1\},a\_\{t\-1\}\),\(12\)Prior:z^t∼pθ\(z^t∣ht\),\\displaystyle\\text\{Prior: \}\\hat\{z\}\_\{t\}\\sim p\_\{\\theta\}\(\\hat\{z\}\_\{t\}\\mid h\_\{t\}\),Posterior:zt∼qθ\(zt∣ht,et\),\\displaystyle\\text\{Posterior: \}z\_\{t\}\\sim q\_\{\\theta\}\(z\_\{t\}\\mid h\_\{t\},e\_\{t\}\),wherefθf\_\{\\theta\}is a recurrent neural network\.ztz\_\{t\}is sampled from the posteriorq\(zt∣ht,et\)q\(z\_\{t\}\\mid h\_\{t\},e\_\{t\}\)when real observations are available, and from the priorp\(zt∣ht\)p\(z\_\{t\}\\mid h\_\{t\}\)during latent rollouts where no observation exists\.\(ht,zt\)\(h\_\{t\},z\_\{t\}\)together form the latent state\.
The basic world model loss consists of prediction loss and KL regularization loss:
ℒbasic=𝔼qθ\[∑t=1T\(ℒpred,t\+ℒKL,t\)\],\\mathcal\{L\}\_\{\\text\{basic\}\}=\\mathbb\{E\}\_\{q\_\{\\theta\}\}\\left\[\\sum\_\{t=1\}^\{T\}\\left\(\\mathcal\{L\}\_\{\\text\{pred\},t\}\+\\mathcal\{L\}\_\{\\text\{KL\},t\}\\right\)\\right\],\(13\)whereℒpred,t\\mathcal\{L\}\_\{\\text\{pred\},t\}includes the negative log\-likelihood of observation reconstruction−lnpθ\(ot∣ht,zt\)\-\\ln p\_\{\\theta\}\(o\_\{t\}\\mid h\_\{t\},z\_\{t\}\), reward prediction−lnpθ\(rt∣ht,zt,at\)\-\\ln p\_\{\\theta\}\(r\_\{t\}\\mid h\_\{t\},z\_\{t\},a\_\{t\}\), and termination signal prediction−lnpθ\(ct∣ht,zt,at\)\-\\ln p\_\{\\theta\}\(c\_\{t\}\\mid h\_\{t\},z\_\{t\},a\_\{t\}\)\. TheℒKL,t=DKL\(qθ\(zt∣ht,et\)∥pθ\(z^t∣ht\)\)\\mathcal\{L\}\_\{\\text\{KL\},t\}=D\_\{\\text\{KL\}\}\\big\(q\_\{\\theta\}\(z\_\{t\}\\mid h\_\{t\},e\_\{t\}\)\\parallel p\_\{\\theta\}\(\\hat\{z\}\_\{t\}\\mid h\_\{t\}\)\\big\)is the KL divergence between the posterior and prior distribution, constraining the encoder to avoid extracting irrelevant information from observations and enhancing the consistency and predictability of the latent state\.
### 3\.3Multi\-objective Reward
Autonomous driving is inherently a multi\-objective decision\-making problem, where safe and efficient driving behaviors must be optimized simultaneously\. The reward function consists of the following three parts:
The driving efficiency rewardReffR\_\{\\text\{eff\}\}encouraging forward progress and maintaining appropriate speed:
Reff=βd×\(xt−xt−1\)×𝟏pos\+βs×\(v/vmax\)×𝟏pos,R\_\{\\text\{eff\}\}=\\beta\_\{d\}\\times\(x\_\{t\}\-x\_\{t\-1\}\)\\times\\mathbf\{1\}\_\{\\text\{pos\}\}\+\\beta\_\{s\}\\times\(v/v\_\{\\max\}\)\\times\\mathbf\{1\}\_\{\\text\{pos\}\},\(14\)wherextx\_\{t\}is the longitudinal projection of the vehicle onto the lane centerline,vvis the current speed,vmaxv\_\{\\max\}is the expected maximum speed, and𝟏pos\\mathbf\{1\}\_\{\\text\{pos\}\}indicates correct driving direction\.
The lane center offset penaltyRlaneR\_\{\\text\{lane\}\}penalizes deviation from the lane center:
Rlane=−βc×\(\|yt\|\)/wlane,R\_\{\\text\{lane\}\}=\-\\beta\_\{c\}\\times\(\|y\_\{t\}\|\)/w\_\{\\text\{lane\}\},\(15\)whereyty\_\{t\}denotes lateral offset andwlanew\_\{\\text\{lane\}\}is lane width\.
The termination reward/punishmentRtermR\_\{\\text\{term\}\}provides a sparse terminal reward for completing the route or penalty for violations:
Rterm=\{rsuccessif episode completes successfully−pcrashif collision occurs−poutif vehicle drives out of road\.R\_\{\\text\{term\}\}=\\begin\{cases\}r\_\{\\text\{success\}\}&\\text\{if episode completes successfully\}\\\\ \-p\_\{\\text\{crash\}\}&\\text\{if collision occurs\}\\\\ \-p\_\{\\text\{out\}\}&\\text\{if vehicle drives out of road\}\\\\ \\end\{cases\}\.\(16\)
The total reward for each timestep is:
R=Reff\+Rlane\+Rterm\.R=R\_\{\\text\{eff\}\}\+R\_\{\\text\{lane\}\}\+R\_\{\\text\{term\}\}\.\(17\)
Instead of learning a single reward predictor, we employ three independent prediction heads\. The efficiency rewardReffR\_\{\\text\{eff\}\}and lane\-center rewardRlaneR\_\{\\text\{lane\}\}are continuous and are optimized using mean squared error \(MSE\) loss\. In contrast, the terminal rewardRtermR\_\{\\text\{term\}\}is sparse and discrete\. A symlog\-discretized categorical distribution is used to modelRtermR\_\{\\text\{term\}\}, which better captures the uncertainty of terminal events by representing predictions as a probability distribution over discrete bins\.
The overall reward prediction loss is defined as:
ℒreward=λ1ℒMSE\(Reff,R^eff\)\+λ2ℒMSE\(Rlane,R^lane\)\+λ3ℒCE\(Rterm,R^term\),\\mathcal\{L\}\_\{\\text\{reward\}\}=\\lambda\_\{1\}\\mathcal\{L\}\_\{\\text\{MSE\}\}\(R\_\{\\text\{eff\}\},\\hat\{R\}\_\{\\text\{eff\}\}\)\+\\lambda\_\{2\}\\mathcal\{L\}\_\{\\text\{MSE\}\}\(R\_\{\\text\{lane\}\},\\hat\{R\}\_\{\\text\{lane\}\}\)\+\\lambda\_\{3\}\\mathcal\{L\}\_\{\\text\{CE\}\}\(R\_\{\\text\{term\}\},\\hat\{R\}\_\{\\text\{term\}\}\),\(18\)whereℒCE\\mathcal\{L\}\_\{\\text\{CE\}\}denotes the cross\-entropy loss for the symlog\-discretized categorical prediction, andλi\\lambda\_\{i\}are weighting coefficients balancing the contribution of each reward component\. Therefore, the reward prediction term in the world model loss \(Equation[13](https://arxiv.org/html/2608.10386#S3.E13)\) is replaced byℒreward\\mathcal\{L\}\_\{\\text\{reward\}\}\(Equation[18](https://arxiv.org/html/2608.10386#S3.E18)\)\.
### 3\.4Off\-policy Learning
In Dreamer\-style methods, the actor\-critic is trained on\-policy: each update requires fresh trajectories generated by the current policy, which is why these methods rely exclusively on model\-generated rollouts and cannot reuse previously collected real transitions, as those were produced by earlier policies\. In contrast, off\-policy reinforcement learning imposes no such restriction on the data\-generating policy\. This allows the agent to simultaneously exploit stored real transitions and freshly generated latent rollouts, enabling more efficient reuse of expensive real\-world samples while still benefiting from model\-generated experiences\.
#### 3\.4\.1Hybrid Real and Model\-Generated Replay
The proposed hybrid replay mechanism operates as follows\. For each training iteration, a batch of trajectory segments is first sampled from the real replay buffer,𝒟r=\{\(ot,at,rt,⋯\)\}\\mathcal\{D\}\_\{r\}=\\\{\(o\_\{t\},a\_\{t\},r\_\{t\},\\cdots\)\\\}\. These real trajectories serve two purposes\. First, they are used to optimize the RSSM world model through representation learning\. Second, the posterior latent states inferred from each real transition are used as initialization points for latent rollouts\. Starting from every posterior state, the world model rolls forward for a fixed rollout horizonHHusing the current SAC policy, generating transitions𝒟i\\mathcal\{D\}\_\{i\}\. The SAC agent is then updated using the union of real and model\-generated experiences,𝒟=𝒟r∪𝒟i\\mathcal\{D\}=\\mathcal\{D\}\_\{r\}\\cup\\mathcal\{D\}\_\{i\}\.
Since rollout is performed from every sampled real transition, the number of predicted transitions is directly determined by the rollout horizonHH\. Consequently, the ratio between real and predicted samples automatically becomes1:H1:H\. Unlike previous methods that manually tune the proportion of predicted data, the proposed strategy introduces no additional hyperparameter\. Increasing the rollout horizon naturally increases the amount of model\-generated supervision, reflecting greater reliance on the learned world model\.
Moreover, predicted trajectories are discarded immediately after policy optimization\. At the next iteration, new predicted samples are regenerated using the latest RSSM and SAC policy\. This online regeneration avoids repeatedly training on outdated predictions and reduces the influence of model errors accumulated during previous optimization stages\.
#### 3\.4\.2Multi\-step Bootstrapping
Real transitions correspond to actual environment interactions and therefore employ the standard one\-step SAC target,
ytreal=rt\+γct\(mini=1,2Qθ¯i\(st\+1,at\+1\)−αlogπϕ\(at\+1∣st\+1\)\),at\+1∼πϕ\(⋅∣st\+1\),y\_\{t\}^\{\\text\{real\}\}=r\_\{t\}\+\\gamma\\,c\_\{t\}\\Bigl\(\\min\_\{i=1,2\}Q\_\{\\bar\{\\theta\}\_\{i\}\}\(s\_\{t\+1\},a\_\{t\+1\}\)\-\\alpha\\log\\pi\_\{\\phi\}\(a\_\{t\+1\}\\mid s\_\{t\+1\}\)\\Bigr\),\\quad a\_\{t\+1\}\\sim\\pi\_\{\\phi\}\(\\cdot\\mid s\_\{t\+1\}\),\(19\)wherect∈\{0,1\}c\_\{t\}\\in\\\{0,1\\\}is the continuation flag, which zeroes out the bootstrap term after collision, out\-of\-road, or successful arrival\. In contrast, predicted trajectories are generated entirely inside the learned world model and contain future rewards that are immediately available after rollout\. Therefore, instead of discarding these additional rewards, we exploit the complete rollout horizon by constructing annn\-step target,
ytpred=∑k=0N−1γk\(∏j=0k−1ct\+j\)rt\+k\+γN\(∏j=0N−1ct\+j\)\(mini=1,2Qθ¯i\(st\+N,at\+N\)−αlogπϕ\(at\+N∣st\+N\)\),y\_\{t\}^\{\\text\{pred\}\}=\\sum\_\{k=0\}^\{N\-1\}\\gamma^\{k\}\\Bigl\(\\prod\_\{j=0\}^\{k\-1\}c\_\{t\+j\}\\Bigr\)r\_\{t\+k\}\+\\gamma^\{N\}\\Bigl\(\\prod\_\{j=0\}^\{N\-1\}c\_\{t\+j\}\\Bigr\)\\Bigl\(\\min\_\{i=1,2\}Q\_\{\\bar\{\\theta\}\_\{i\}\}\(s\_\{t\+N\},a\_\{t\+N\}\)\-\\alpha\\log\\pi\_\{\\phi\}\(a\_\{t\+N\}\\mid s\_\{t\+N\}\)\\Bigr\),\(20\)whereat\+N∼πϕ\(⋅∣st\+N\)a\_\{t\+N\}\\sim\\pi\_\{\\phi\}\(\\cdot\\mid s\_\{t\+N\}\),NNequals the remaining length of the rollout, andct\+jc\_\{t\+j\}is from the RSSM continue predictor\. Compared with one\-step TD learning, the proposed target propagates long\-horizon reward information to the critic while reducing bootstrap variance inside predicted trajectories\. Algorithm[1](https://arxiv.org/html/2608.10386#alg1)summarizes the complete training procedure\.
Algorithm 1Dreamer\-SAC: Hybrid World Model with Off\-policy Policy Optimization1:Input:World model
MM, actor
π\\pi, critics
Q1,Q2Q\_\{1\},Q\_\{2\}, real replay buffer
𝒟\\mathcal\{D\}, rollout horizon
HH
2:Initialize
M,π,Q1,Q2M,\\pi,Q\_\{1\},Q\_\{2\}
3:whiletrainingdo
4:Collect one transition from the environment and store it in
𝒟\\mathcal\{D\}
5:Sample batch
\{\(ot,at,rt\)\}t=1T\\\{\(o\_\{t\},a\_\{t\},r\_\{t\}\)\\\}\_\{t=1\}^\{T\}from
𝒟\\mathcal\{D\}
6:Update RSSM by minimizing
ℒWM=ℒKL\+ℒobs\+ℒreward\+ℒcont\\mathcal\{L\}\_\{\\text\{WM\}\}=\\mathcal\{L\}\_\{\\text\{KL\}\}\+\\mathcal\{L\}\_\{\\text\{obs\}\}\+\\mathcal\{L\}\_\{\\text\{reward\}\}\+\\mathcal\{L\}\_\{\\text\{cont\}\}
7:Initialize predicted buffer
𝒟^←∅\\hat\{\\mathcal\{D\}\}\\leftarrow\\emptyset
8:for allposterior latent state
sts\_\{t\}do
9:
s←sg\(st\)s\\leftarrow\\text\{sg\}\(s\_\{t\}\)⊳\\trianglerightStop gradient
10:for
k=1k=1to
HHdo
11:Sample action
ak∼π\(s\)a\_\{k\}\\sim\\pi\(s\)
12:Predict
\(s′,r,c\)\(s^\{\\prime\},r,c\)using RSSM
13:Store transition
\(s,a,r,c,s′\)\(s,a,r,c,s^\{\\prime\}\)into
𝒟^\\hat\{\\mathcal\{D\}\}
14:
s←s′s\\leftarrow s^\{\\prime\}
15:endfor
16:endfor
17:Update critics using real samples with 1\-step TD targets and predicted samples with
nn\-step targets
18:Update actor by SAC objective
19:Update entropy coefficient
α\\alpha
20:Soft\-update target critics
21:Discard
𝒟^\\hat\{\\mathcal\{D\}\}
22:endwhile
## 4Experiments
This section provides a detailed introduction to our experimental setup, model configuration, comparative experiment, ablation study and analysis of related results\.
### 4\.1Experimental Setup
We evaluate the proposed framework on the MetaDrive simulator\[[21](https://arxiv.org/html/2608.10386#bib.bib21)\], a high\-fidelity autonomous driving platform that provides diverse road geometries and dynamic traffic interactions\. The experiments are conducted on the BIG\_BLOCK\_SEQUENCE\-CC scenario, which consists of a multi\-lane highway segment with consecutive curved sections\. The vehicle itself needs to continuously adjust its steering as the road curvature changes, while maintaining safe interaction with surrounding vehicles\.
Key environment parameters include traffic density of 0\.1 \(Approximately 30 vehicles per kilometer\), 10 distinct training scenarios and 50 distinct testing scenarios\. Each episode terminates immediately upon collision or out\-of\-road\. Each episode runs for up to 300 decision steps, with each decision step corresponding to 20 simulation frames\. The action space is\[−1,1\]2\[\-1,1\]^\{2\}for continuous steering and throttle/brake control\. Observations consist of an RGB camera image \(84×84×384\\times 84\\times 3\) and a 125\-dimensional vector \(120 LiDAR rays at 50 m range plus 5 ego\-vehicle state variables\)\. Collision and out\-of\-road penaltypcrash,pout=40\.0p\_\{crash\},p\_\{out\}=40\.0, successful arrival bonusrsuccess=10\.0r\_\{success\}=10\.0\. Reward coefficientsβd=1\.0\\beta\_\{d\}=1\.0,βs=0\.1\\beta\_\{s\}=0\.1,βc=1\.0\\beta\_\{c\}=1\.0\.
Figure 2:MetaDrive driving scenario with multimodal observations\.#### 4\.1\.1Model Configurations
The world model is implemented based on the recurrent state\-space model \(RSSM\) architecture\. The image encoder consists of four convolutional layers with channel sizes of 32, 64, 128, and 256, respectively, using kernel size 4, stride 2, layer normalization, and SiLU activations\. The vector observation encoder employs a two\-layer MLP with 256 hidden units, layer normalization, and SiLU activations\. The RSSM contains a deterministic recurrent state of 256 dimensions and a discrete stochastic state with 32 categorical variables and 32 classes per variable\. The resulting latent feature dimension is 1280\. The decoder, reward prediction heads, and continuation prediction head are optimized jointly with the RSSM to learn predictive latent representations\.
The SAC policy module operates directly on RSSM latent features\. The actor and twin critic networks consist of two fully connected layers with 256 hidden units, layer normalization, and SiLU activations\. The critic networks use independent parameters and are updated with soft target networks using a Polyak coefficient of 0\.005\. The entropy coefficient is automatically adjusted during training with a target entropy of−2\-2\.
All networks are optimized using the Adam optimizer\. The world model is trained with sequences of batch size 16 and sequence length 32, using a learning rate of1×10−41\\times 10^\{\-4\}\. The SAC actor and critic are optimized with a learning rate of3×10−43\\times 10^\{\-4\}\. The rollout horizon is set toH=5H=5steps, where predicted trajectories are generated from posterior RSSM states and combined with real transitions for off\-policy learning\. The discount factor isγ=0\.99\\gamma=0\.99\. Training is performed for 40,000 environment interaction steps\. The overall model contains approximately 13 million trainable parameters, including the world model, SAC policy, and value networks\.
### 4\.2Comparative Experiments
To evaluate the effectiveness of the proposed Dreamer\-SAC framework, we compare it with three representative reinforcement learning baselines\. All methods are evaluated under identical driving environments, including the same MetaDrive configuration, sensor inputs, training scenarios, and network capacity\. For fair comparison, all actor\-critic networks adopt the same architecture with two hidden layers of 256 units\.
∙\\bulletDreamerV3:DreamerV3\[[16](https://arxiv.org/html/2608.10386#bib.bib16)\]represents latent world\-model\-based on\-policy learning, which learns a RSSM from interaction data and trains an actor\-critic agent entirely on predicted latent rollouts generated by the learned model\. The actor is updated via REINFORCE with an advantage estimate computed from predicted returns, while the critic predicts state values using a symlog\-discretized distribution\.
∙\\bulletSAC:Soft Actor\-Critic is an off\-policy maximum\-entropy RL algorithm that jointly optimizes expected return and policy entropy\. It employs twin Q\-networks to mitigate overestimation bias, a replay buffer for sample reuse, and automatic entropy temperature tuning\.
∙\\bulletPPO:Proximal Policy Optimization is an on\-policy policy\-gradient method that constrains policy updates via a clipped surrogate objective, balancing sample efficiency with training stability\. PPO collects trajectories using the current policy, computes advantage estimates via generalized advantage estimation, and performs multiple epochs of minibatch updates on each collected batch before discarding it\.
Figure 3:Training return comparison of Dreamer\-SAC against DreamerV3, SAC, and PPO baselines\.Figure[3](https://arxiv.org/html/2608.10386#S4.F3)shows the comparison curves of training return convergence\. The proposed Dreamer\-SAC achieves the highest final performance, reaching an average return of 371\.4\. In comparison, DreamerV3 achieves an average return of 189\.2 and exhibits relatively high variance\. The SAC curve is relatively stable, converging at 134\.5\. PPO employs online learning, resulting in low data efficiency and a slow\-rising curve, reaching a score of 65\.5\. These results validate the effectiveness of integrating latent world models with off\-policy policy optimization for autonomous driving tasks\.
#### 4\.2\.1Generalization Evaluation
To further evaluate the generalization capability and long\-horizon driving performance, we conduct additional experiments on a substantially longer road network, whose length is approximately three times that of the training environment\. All methods are evaluated under 50 independent trials with unseen random seeds, and all indicators are taken as the average of these 50 experiments\.
We measure five driving metrics, including collision frequency, out\-of\-road frequency, average speed, average travel distance, and maximum travel distance\. Collision frequency and out\-of\-road frequency are normalized by the total driven distance:
Collision Frequency=NcollisionDtotal,Out\-of\-road Frequency=NoutDtotal,\\text\{Collision Frequency\}=\\frac\{N\_\{\\text\{collision\}\}\}\{D\_\{\\text\{total\}\}\},\\qquad\\text\{Out\-of\-road Frequency\}=\\frac\{N\_\{\\text\{out\}\}\}\{D\_\{\\text\{total\}\}\},\(21\)whereNcollisionN\_\{\\text\{collision\}\}andNoutN\_\{\\text\{out\}\}denote the number of collision and out\-of\-road events, respectively, andDtotalD\_\{\\text\{total\}\}represents the total traveled distance in kilometers\.
The results are summarized in Table[1](https://arxiv.org/html/2608.10386#S4.T1)\. Dreamer\-SAC achieves the lowest collision frequency \(1\.56/km\) and out\-of\-road frequency \(1\.37/km\), while also obtaining the longest average travel distance \(320\.8 m\) and maximum travel distance \(951\.6 m\)\. Compared with DreamerV3, SAC, and PPO, Dreamer\-SAC demonstrates substantially improved long\-horizon driving reliability, indicating that the integration of latent prediction with off\-policy learning leads to more robust decision\-making beyond the training scenarios\.
Table 1:Generalization performance on extended road networks\.An interesting observation is that DreamerV3 achieves the highest average speed \(39\.7 km/h\) but suffers from higher collision frequency and shorter travel distance\. This indicates that training exclusively with predicted experiences may amplify model bias, where safety\-critical transitions are inaccurately represented in the learned dynamics\. Consequently, the policy may exploit inaccuracies in the predicted environment and adopt overly aggressive behaviors, such as maintaining higher speeds and performing frequent overtaking maneuvers, which improves short\-term reward accumulation but compromises long\-term driving reliability\.
In contrast, Dreamer\-SAC employs a dual\-network architecture and learns a more conservative and reliable driving strategy by continuously incorporating real experiences during policy optimization\. When encountering slower vehicles, the agent tends to follow the preceding vehicle and reduce speed when necessary rather than aggressively performing risky maneuvers\. Although the average speed is lower than DreamerV3, this behavior significantly improves survival distance and reduces safety violations, which is particularly important for autonomous driving applications\.
### 4\.3Effect of Rollout Horizon
The rollout horizonHHdetermines not only the rollout length of the learned world model but also the proportion of predicted samples used for policy optimization\. We evaluate its influence by varyingHHfrom 0 to 20 while keeping all other training configurations unchanged\. As shown in Figure[4](https://arxiv.org/html/2608.10386#S4.F4), the performance exhibits a clear inverted\-U trend\. Without rollouts \(H=0H=0\), the agent fails to learn meaningful driving behavior and achieves an average return of only−2\.6\-2\.6\. Increasing the horizon significantly improves performance, reaching the best result atH=5H=5with an average return of 371\.4\. However, further increasing the horizon leads to gradual degradation, with returns decreasing to 285\.6 atH=20H=20\.
Figure 4:Training return as a function of the rollout horizonHH, showing an inverted\-U trend with optimal performance atH=5H=5\.The poor performance without rollouts indicates that directly optimizing SAC in the learned latent space using only real samples is insufficient during early training\. Since the RSSM representation and policy are optimized separately, the initial critic receives limited and unstable decision\-related information\. As a result, the policy tends to converge to a conservative failure mode, where the vehicle remains stationary to avoid collision penalties\. Introducing short\-horizon rollouts provides additional on\-policy samples generated by the current policy and world model, allowing the critic to continuously evaluate newly explored behaviors and avoiding the negative feedback loop caused by insufficient exploration\.
Figure 5:Q\-value mean, Q\-value standard deviation, and world model loss across different rollout horizons\.The additional training statistics, illustrated in Figure[5](https://arxiv.org/html/2608.10386#S4.F5), provide further insights into this phenomenon\. The average predicted Q\-value increases with larger horizons, and the Q\-value variance also becomes larger, suggesting that the critic obtains stronger action discrimination but also becomes increasingly optimistic\. In particular, althoughH=20H=20achieves the highest Q\-value estimates, its final return is lower than that ofH=5H=5, revealing a mismatch between value estimation and actual driving performance\.
The world model loss also increases with longer rollout horizons\. This does not indicate worse world model learning; instead, it reflects that longer rollouts expose the model to more diverse states generated by imperfect policies\. In contrast, the extremely low loss atH=0H=0is mainly caused by the degenerated stationary policy, where the model only needs to reconstruct limited static observations\. These results demonstrate that the rollout horizon introduces a fundamental trade\-off between data augmentation and model bias: short rollouts provide reliable synthetic experiences and improve exploration, whereas excessive rollouts amplify prediction errors and lead to overestimated value functions\. Therefore,H=5H=5provides the optimal balance between additional training signals and model reliability in our autonomous driving setting\.
### 4\.4Ablation study
We conduct ablation studies to investigate the contribution of each major component in the proposed framework\. Specifically, we analyze the effects of real experience integration, multi\-objective world model learning, temporal\-difference target design, and stochastic latent representation\. The complete results are summarized in Table[2](https://arxiv.org/html/2608.10386#S4.T2), where return is the average return of 50 trajectories\.
Table 2:Ablation study results across experiment configurations\.Effect of real and predicted data combination\.We first evaluate whether real experiences are necessary when training SAC with predicted trajectories\. As shown in Table[2](https://arxiv.org/html/2608.10386#S4.T2), removing real samples decreases performance for both short and long horizon rollout settings\. WithH=1H=1, training solely on predicted data \(A1\) achieves limited performance, while incorporating real transitions \(A2\) leads to clear improvement\. A similar trend is observed forH=5H=5\(A3 vs\. A4\), although the performance gap becomes smaller because longer rollouts generate more synthetic samples\. These results demonstrate that real experiences provide essential grounding signals, while predicted trajectories effectively improve data efficiency by augmenting the training distribution\.
Effect of multi\-objective world model learning\.We further investigate the influence of different RSSM supervision signals by selectively detaching the gradient flow from individual prediction heads\. Detaching the observation reconstruction gradient causes a severe performance degradation \(A5\), indicating that reconstruction provides an essential regularization signal for learning meaningful latent representations\. Although the reward and continuation prediction tasks directly relate to control objectives, their gradients alone are insufficient to maintain a useful representation space\. In contrast, detaching reward and continuation gradients while retaining only the reconstruction signal results in moderate performance degradation \(A6\), suggesting that task\-oriented prediction gradients provide additional guidance by encouraging the latent dynamics to preserve decision\-relevant information\.
Effect of temporal target estimation\.We compare the proposednn\-step targets for predicted trajectories \(A3\) with conventional one\-step TD targets \(A7\)\. The results show that n\-step targets achieve better performance, demonstrating that latent rollouts contain useful future information beyond immediate transitions\. By propagating rewards over multiple predicted steps, the critic can obtain more informative value estimates and better exploit the learned dynamics\.
Effect of stochastic latent representation\.Finally, we compare the default discrete stochastic latent representation \(A3\) with a continuous Gaussian latent variable \(A8\)\. Replacing the discrete latent state with a continuous Gaussian distribution reduces the final performance, suggesting that the discrete stochastic representation provides a more expressive and stable latent space for modeling complex driving dynamics\. This observation is consistent with previous findings that categorical latent states can better capture multi\-modal future transitions in partially observable environments\.
### 4\.5Analysis of Model Bias in Rollouts
To investigate how model bias accumulates during rollouts, we perform a trajectory\-level comparison between real and predicted transitions\. Specifically, we randomly sample 512 trajectories from the replay buffer and initialize rollouts from the same real states\. The world model then generates latent rollouts using exactly the same action sequences as those executed in the real environment\. This enables a step\-wise comparison between predicted and real trajectories without introducing policy distribution mismatch\.
Figure 6:Comparison between real and predicted trajectories: latent representation similarity, reward prediction error, and reward distribution over rollout depth\.Figure[6](https://arxiv.org/html/2608.10386#S4.F6)presents the discrepancy between real and predicted trajectories in terms of latent representation similarity, reward prediction error, and reward distribution\. The cosine similarity between real and predicted hidden states gradually decreases from 0\.438 at the first predicted step to 0\.371 after five steps\. This indicates that the latent dynamics remain consistent with the real environment in short horizons but gradually accumulate prediction errors during longer rollouts\.
Similarly, the reward prediction error increases with rollout depth\. The mean absolute error grows from 0\.855 at the first step to 3\.698 at the fifth step, representing more than a four\-fold increase\. Meanwhile, the variance of the predicted rewards is increasing, indicating that uncertainty grows as the rollout process extends\.
Further analysis of reward distributions reveals that the world model accurately captures frequent driving rewards around zero, which correspond to normal lane\-following and vehicle\-control behaviors\. However, discrepancies emerge in sparse negative reward regions\. The predicted distribution assigns higher probability to extreme negative rewards, indicating that the world model tends to overestimate the occurrence of safety\-critical failures such as collisions or off\-road events\. This conservative prediction behavior results from the difficulty of accurately modeling rare transition events with limited real interactions\.
These results demonstrate that latent rollouts provide reliable short\-term experience augmentation, while prediction errors gradually accumulate with longer rollouts\. This explains the observed trade\-off between rollout horizon and policy performance: moderate horizons improve data efficiency by providing additional training signals, whereas excessive rollouts introduce biased value estimation and limit policy optimization\.
## 5Conclusion
This paper proposed Dreamer\-SAC, a model\-based off\-policy reinforcement learning framework for autonomous driving that combines the data efficiency of latent world models with the stability and experience reuse capability of off\-policy learning\. Unlike conventional Dreamer\-style approaches that optimize policies solely using model\-generated rollouts, the proposed framework jointly leverages real driving experiences and latent rollouts through SAC optimization\. By generating short\-horizon rollouts from real trajectory states and incorporating n\-step target estimation, Dreamer\-SAC improves policy learning while reducing the adverse effects of accumulated model errors\. Experiments conducted in the MetaDrive autonomous driving environment demonstrate that the proposed approach consistently outperforms representative reinforcement learning baselines, including DreamerV3, SAC, and PPO\. Further ablation studies verify the importance of real experience integration, multi\-objective RSSM learning, and n\-step target estimation\. The results also reveal an inverted\-U relationship between rollout horizon and policy performance, indicating that short\-horizon rollouts provide an effective balance between additional training signals and model bias\.
Future work will focus on developing adaptive rollout strategies that dynamically adjust rollout length according to model reliability and uncertainty\. In addition, evaluating the proposed framework with larger\-scale real\-world driving datasets and more diverse traffic scenarios will be essential for further improving the practicality and generalization capability of model\-based reinforcement learning for autonomous vehicles\.
## References
- Fagnant and Kockelman \[2015\]Daniel J Fagnant and Kara Kockelman\.Preparing a nation for autonomous vehicles: opportunities, barriers and policy recommendations\.*Transportation Research Part A: Policy and Practice*, 77:167–181, 2015\.
- Donà and Ciuffo \[2022\]Riccardo Donà and Biagio Ciuffo\.Virtual testing of automated driving systems: A survey on validation methods\.*IEEE Access*, 10:40149–40169, 2022\.
- Kiran et al\. \[2021\]B Ravi Kiran, Ibrahim Sobh, Victor Talpaert, Patrick Mannion, Ahmad A Al Sallab, Senthil Yogamani, and Patrick Pérez\.Deep reinforcement learning for autonomous driving: A survey\.*IEEE Transactions on Intelligent Transportation Systems*, 23\(6\):4909–4926, 2021\.
- Zhao et al\. \[2024\]Rui Zhao, Yun Li, Yuze Fan, Fei Gao, Manabu Tsukada, and Zhenhai Gao\.A survey on recent advancements in autonomous driving using deep reinforcement learning: Applications, challenges, and solutions\.*IEEE Transactions on Intelligent Transportation Systems*, 25\(12\):19365–19398, 2024\.
- Feng et al\. \[2025\]Tianhao Feng, Wenyi Wang, and Yi Yang\.A survey of world models for autonomous driving\.*arXiv preprint arXiv:2501\.11260*, 2025\.
- Gonzalez et al\. \[2016\]David Gonzalez, Joshué Pérez, Vicente Milanés, and Fawzi Nashashibi\.A review of motion planning techniques for automated vehicles\.*IEEE Transactions on Intelligent Transportation Systems*, 17\(4\):1135–1145, 2016\.
- Schwarting et al\. \[2018\]Wilko Schwarting, Javier Alonso\-Mora, and Daniela Rus\.Planning and decision\-making for autonomous vehicles\.*Annual Review of Control, Robotics, and Autonomous Systems*, 1:187–210, 2018\.
- Falcone et al\. \[2007\]Paolo Falcone, Francesco Borrelli, Jahan Asgari, Hongtei Eric Tseng, and Davor Hrovat\.Predictive active steering control for autonomous vehicle systems\.*IEEE Transactions on Control Systems Technology*, 15\(3\):566–580, 2007\.
- Le Mero et al\. \[2022\]Luc Le Mero, Dewei Yi, Mehrdad Dianati, and Alexandros Mouzakitis\.A survey on imitation learning techniques for end\-to\-end autonomous vehicles\.*IEEE Transactions on Intelligent Transportation Systems*, 23\(9\):14128–14147, 2022\.
- Codevilla et al\. \[2018\]Felipe Codevilla, Matthias Müller, Antonio López, Vladlen Koltun, and Alexey Dosovitskiy\.End\-to\-end driving via conditional imitation learning\.In*2018 IEEE International Conference on Robotics and Automation \(ICRA\)*, pages 1–9\. IEEE, 2018\.
- Schulman et al\. \[2017\]John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov\.Proximal policy optimization algorithms\.*arXiv preprint arXiv:1707\.06347*, 2017\.
- Haarnoja et al\. \[2018\]Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine\.Soft actor\-critic: Off\-policy maximum entropy deep reinforcement learning with a stochastic actor\.In*International Conference on Machine Learning*, pages 1861–1870, 2018\.
- Janner et al\. \[2019\]Michael Janner, Justin Fu, Marvin Zhang, and Sergey Levine\.When to trust your model: Model\-based policy optimization\.In*Advances in Neural Information Processing Systems*, volume 32, 2019\.
- Hafner et al\. \[2019a\]Danijar Hafner, Timothy Lillicrap, Ian Fischer, Ruben Villegas, David Ha, Honglak Lee, and James Davidson\.Learning latent dynamics for planning from pixels\.In*International Conference on Machine Learning*, pages 2555–2565\. PMLR, 2019a\.
- Hafner et al\. \[2019b\]Danijar Hafner, Timothy Lillicrap, Jimmy Ba, and Mohammad Norouzi\.Dream to control: Learning behaviors by latent imagination\.*arXiv preprint arXiv:1912\.01603*, 2019b\.
- Hafner et al\. \[2025\]Danijar Hafner, Jurgis Pasukonis, Jimmy Ba, and Timothy Lillicrap\.Mastering diverse control tasks through world models\.*Nature*, 640\(8059\):647–653, 2025\.
- Gao et al\. \[2024\]Zeyu Gao, Yao Mu, Chen Chen, Jingliang Duan, Ping Luo, Yanfeng Lu, and Shengbo Eben Li\.Enhance sample efficiency and robustness of end\-to\-end urban autonomous driving via semantic masked world model\.*IEEE Transactions on Intelligent Transportation Systems*, 25\(10\):13067–13079, 2024\.
- Yang et al\. \[2025\]Zhenjie Yang, Xiaosong Jia, Qifeng Li, Xue Yang, Maoqing Yao, and Junchi Yan\.Raw2drive: Reinforcement learning with aligned world models for end\-to\-end autonomous driving \(in carla v2\)\.*arXiv preprint arXiv:2505\.16394*, 2025\.
- Lambert et al\. \[2020\]Nathan Lambert, Brandon Amos, Omry Yadan, and Roberto Calandra\.The challenges of exploration for model\-based reinforcement learning\.*arXiv preprint arXiv:2008\.06036*, 2020\.
- Kaelbling et al\. \[1998\]Leslie Pack Kaelbling, Michael L Littman, and Anthony R Cassandra\.Planning and acting in partially observable stochastic domains\.*Artificial Intelligence*, 101\(1\-2\):99–134, 1998\.
- Li et al\. \[2022\]Quanyi Li, Zhenghao Peng, Lan Feng, Qihang Zhang, Zhenghai Xue, and Bolei Zhou\.Metadrive: Composing diverse driving scenarios for generalizable reinforcement learning\.*IEEE Transactions on Pattern Analysis and Machine Intelligence*, 45\(3\):3461–3475, 2022\.Similar Articles
LIDAR-AD: A Decoder-Free Latent-Interaction Dreamer with Action-Residual Chains for Autonomous Driving
LIDAR-AD proposes a decoder-free latent-interaction world model for autonomous driving that uses redundancy-reduced latent alignment and residual action updates to improve risk-aware state abstraction and long-horizon dynamics prediction, outperforming baseline world models in simulated and real-world scenarios.
SimWAM: A Simple World Action Model for End-to-End Autonomous Driving
SimWAM is a simple yet effective World Action Model for end-to-end autonomous driving that uses video generation purely as a training signal, achieving state-of-the-art 91.5 PDMS on NAVSIM while reducing inference latency.
Learning Safe Agent Behaviour from Human Preferences and Justifications via World Models
This paper introduces DROPJ, a human-centred method for safely training and deploying agent policies by learning a world model from real-world trajectories, then eliciting human preferences with justifications to train a reward model for model predictive control. Experiments show that using human-generated simulated trajectories and justifications improves safety and reduces computational cost.
LaWAM: Latent World Action Models for Efficient Dynamics-Aware Robot Policies
LaWAM enables efficient robot control by predicting compact latent visual subgoals instead of expensive video generation, achieving state-of-the-art success rates with up to 24x lower latency than pixel-space world action models.
Predicting Closed-Loop Performance of Latent World Models: Offline Checkpoint Selection for MPC and Model-Based RL Under Non-Markovian Rewards in LunarLander
This paper addresses objective mismatch in model-based RL by proposing offline diagnostics to predict closed-loop performance of latent world models. On LunarLander-v3, the Reward Observability Fraction (ROF) and a Composite score (CROF) enable selecting checkpoints that yield strong MPC and model-based RL policies with far fewer real-environment interactions.