ZYT-World: 单步7视角生成107倍加速,闭环自动驾驶仿真的实时世界模型

论文信息

  • 标题: ZYT-World: A Real-Time Controllable World Model for Closed-Loop Autonomous-Driving Simulation
  • arXiv: 2609.21712 (v2: 2026年9月23日)
  • 作者: Boni Hu, Xiong Wei, Haoming Huang 等23人
  • 类型: Technical Report
  • 项目页: https://zyt-aim.github.io/ZYT-World

核心突破

ZYT-World是单架构同时生成4个鱼眼视角(FOV>180°)+3个针孔视角的实时世界模型,将40步教师蒸馏到单步推理,速度提升107.7倍。

关键性能

指标 数值 对比
视角数 7 (4鱼眼+3针孔) 完整自动驾驶采集配置
单步推理 107.7× 加速 vs 40步教师模型
PSNR保留 >90% 单步vs教师
FID/FVD/LPIPS 偏差<11% 单步vs教师
TinyVAE解码 59.8× 加速 vs Wan VAE
量化 W8A8 INT8权重+激活
30秒rollout ✅ 稳定 长时序一致
跨轨迹重访 ✅ 场景记忆 隐式记忆模块

技术架构

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
┌──────────────────────────────────────────────────┐
│ ZYT-World 架构 │
│ │
│ 输入: │
│ ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ │
│ │鱼眼1 │ │鱼眼2 │ │鱼眼3 │ │鱼眼4 │ │
│ │>180° │ │>180° │ │>180° │ │>180° │ │
│ └──┬───┘ └──┬───┘ └──┬───┘ └──┬───┘ │
│ └─────────┴─────────┴─────────┘ │
│ │ │
│ ┌──────┐ ┌──────┐ ┌──────┐ │
│ │针孔1 │ │针孔2 │ │针孔3 │ │
│ └──┬───┘ └──┬───┘ └──┬───┘ │
│ └─────────┴─────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────────────────────┐ │
│ │ Plücker 适配器 (投影特定) │ │
│ │ 编码摄像头几何 │ │
│ └──────────────┬──────────────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────────────────────┐ │
│ │ 条件输入: │ │
│ │ • 自车运动 (AdaLN) │ │
│ │ • 交通参与者 (边界框+朝向+颜色) │ │
│ └──────────────┬──────────────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────────────────────┐ │
│ │ 蒸馏流程: │ │
│ │ 40步双向教师 │ │
│ │ ↓ 因果一致性蒸馏 │ │
│ │ ↓ 自回归分布匹配蒸馏 │ │
│ │ ↓ RigCritic联合评估 │ │
│ │ 单步流式生成器 │ │
│ └──────────────┬──────────────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────────────────────┐ │
│ │ TinyVAE (19M参数) │ │
│ │ W8A8 量化 │ │
│ │ 推理引擎 │ │
│ └──────────────┬──────────────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────────────────────┐ │
│ │ 隐式记忆模块 │ │
│ │ 跨轨迹场景保持 │ │
│ └─────────────────────────────────┘ │
└──────────────────────────────────────────────────┘

蒸馏流程

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
"""
ZYT-World: 实时可控世界模型

关键创新:
1. Plücker适配器编码多摄像头几何
2. 40步→1步蒸馏 (107.7×加速)
3. TinyVAE 19M参数解码 (59.8×加速)
4. 隐式记忆模块保持场景一致性
"""

import torch
import torch.nn as nn

class PluckerAdapter(nn.Module):
"""
Plücker适配器: 编码摄像头几何

每个视角的摄像头参数编码为Plücker射线表示:
- 原点 (相机位置)
- 方向 (光轴方向)
这使得模型能区分不同视角的几何关系
"""

def __init__(self, latent_dim=512):
super().__init__()
self.proj = nn.Linear(6, latent_dim) # 6D Plücker表示

def forward(self, plucker_rays):
"""
Args:
plucker_rays: (B, num_views, 6) Plücker射线参数
Returns:
view_embeds: (B, num_views, latent_dim) 视角嵌入
"""
return self.proj(plucker_rays)


class EgoMotionAdaLN(nn.Module):
"""自车运动自适应层归一化: 全局运动控制"""

def __init__(self, latent_dim, num_layers):
super().__init__()
self.norm = nn.LayerNorm(latent_dim)
self.ego_mlp = nn.Sequential(
nn.Linear(6, latent_dim), # 6DoF自车运动
nn.SiLU(),
nn.Linear(latent_dim, latent_dim * 2) # scale + shift
)

def forward(self, x, ego_motion):
scale, shift = self.ego_mlp(ego_motion).chunk(2, dim=-1)
return self.norm(x) * (1 + scale) + shift


class TinyVAE(nn.Module):
"""TinyVAE: 19M参数的轻量级VAE解码器"""

def __init__(self, latent_channels=16, out_channels=3):
super().__init__()
self.decoder = nn.Sequential(
nn.ConvTranspose2d(latent_channels, 256, 4, stride=2, padding=1),
nn.GELU(),
nn.ConvTranspose2d(256, 128, 4, stride=2, padding=1),
nn.GELU(),
nn.ConvTranspose2d(128, 64, 4, stride=2, padding=1),
nn.GELU(),
nn.ConvTranspose2d(64, 32, 4, stride=2, padding=1),
nn.GELU(),
nn.Conv2d(32, out_channels, 3, padding=1)
)

def forward(self, x):
return self.decoder(x)


class RigCritic(nn.Module):
"""RigCritic: 联合评估7视角一致性"""

def __init__(self, latent_dim=512, num_views=7):
super().__init__()
self.num_views = num_views
self.critic = nn.Sequential(
nn.Linear(latent_dim * num_views, 1024),
nn.GELU(),
nn.Linear(1024, 512),
nn.GELU(),
nn.Linear(512, 1) # 一致性分数
)

def forward(self, view_latents):
"""
Args:
view_latents: (B, num_views, latent_dim)
Returns:
consistency_score: (B, 1)
"""
B = view_latents.shape[0]
flat = view_latents.reshape(B, -1)
return self.critic(flat)


class ImplicitMemory(nn.Module):
"""隐式记忆模块: 跨轨迹场景保持"""

def __init__(self, latent_dim=512, memory_size=256):
super().__init__()
self.memory_size = memory_size
self.memory_key = nn.Parameter(torch.randn(memory_size, latent_dim))
self.memory_value = nn.Parameter(torch.randn(memory_size, latent_dim))
self.query = nn.Linear(latent_dim, latent_dim)

def forward(self, x):
"""
基于位置的记忆检索

Args:
x: (B, latent_dim) 当前场景编码
Returns:
augmented: (B, latent_dim) 增强后的表征
"""
q = self.query(x) # (B, latent_dim)
# 注意力检索
attn = torch.matmul(q, self.memory_key.T) # (B, memory_size)
attn = torch.softmax(attn / (latent_dim ** 0.5), dim=-1)
retrieved = torch.matmul(attn, self.memory_value) # (B, latent_dim)
return x + retrieved


# 蒸馏流程
class DistillationPipeline:
"""40步教师→1步学生蒸馏"""

def __init__(self):
self.steps = {
"teacher": {
"type": "bidirectional",
"steps": 40,
"arch": "full_diffusion"
},
"stage1": {
"type": "causal_consistency_distillation",
"description": "因果一致性蒸馏",
"goal": "减少步数同时保持因果性"
},
"stage2": {
"type": "self_rollout_distribution_matching",
"description": "自回归分布匹配蒸馏",
"goal": "单步推理质量匹配多步"
},
"stage3": {
"type": "rig_critic_training",
"description": "RigCritic联合评估",
"goal": "7视角联合一致性"
},
"student": {
"type": "one_step",
"steps": 1,
"speedup": "107.7×"
}
}


# 测试
if __name__ == "__main__":
B, N, D = 4, 7, 512 # 7视角

# Plücker适配器
plucker = PluckerAdapter(D)
rays = torch.randn(B, N, 6)
view_embeds = plucker(rays)

# TinyVAE
vae = TinyVAE()
latent = torch.randn(B, 16, 32, 32)
decoded = vae(latent)

# RigCritic
critic = RigCritic(D, N)
score = critic(view_embeds)

# 隐式记忆
memory = ImplicitMemory(D)
enhanced = memory(view_embeds.mean(dim=1))

print(f"Plücker输出: {view_embeds.shape}")
print(f"TinyVAE输出: {decoded.shape}")
print(f"RigCritic分数: {score.shape}")
print(f"记忆增强: {enhanced.shape}")

print("\n=== ZYT-World关键指标 ===")
print("视角: 7 (4鱼眼+3针孔)")
print("蒸馏: 40步→1步, 107.7×加速")
print("TinyVAE: 19M参数, 59.8×加速")
print("量化: W8A8")
print("30秒rollout: 稳定")
print("跨轨迹重访: 场景一致性保持")

对座舱仿真的启示

ZYT-World技术迁移到座舱

技术 ZYT-World (自动驾驶) 座舱仿真 (IMS)
多视角生成 4鱼眼+3针孔 DMS+OMS+CPD多摄像头
Plücker适配 摄像头几何编码 座舱摄像头位置/角度
自车运动控制 AdaLN 车辆运动→座舱晃动
蒸馏加速 40步→1步 DMS仿真实时化
隐式记忆 场景重访 驾驶员个性化记忆
RigCritic 7视角一致性 多摄像头一致性

座舱合成数据管道

参考


发布时间: 2026-09-25 00:30
分类: 世界模型 | 自动驾驶仿真 | 多视角生成 | 蒸馏 | 数据合成