K-文化的一切——从回归到 K-美妆,发送到您的邮箱订阅邮件

METAL MEDIA

DreamTraj: Generating 6-DoF Object Trajectories by Reading Unrendered Video Diffusion Latents

arXiv:2608.004862026-07-31

AI不生成视频,只偷看生成中的视频内部信号,就能预测物体接下来会怎么动

DreamTraj只需一张照片和一句指令,就能预测物体在接下来约两秒内的完整三维运动(位置加朝向,即6-DoF)。它不像以往方法那样把视频生成AI跑到底再分析生成的画面,而是在视频只生成到一半时,偷偷读取模型内部的信号。这样做既比现有方法更准,速度还快了4.6倍。

METAL MEDIA 解读图

DreamTraj如何从半成品视频中读出运动轨迹

证据状态已报告实测结果

  1. 输入一张RGB图片(I0)和一句文字指令(ℓ);物体只在第一帧中被定位一次。
  2. 冻结的视频生成模型Wan2.2向想象中的未来去噪,但在40步中只走到第16步就停止,视频从未被完整生成,模型权重也从未更新。
  3. 读取内部信号提取追踪物体的注意力轨迹(第28个模块、第32个注意力头)以及携带场景信息的隐藏状态(第0/19/39个模块),合并成13×132的信号。
  4. 小型Reader网络一个710万参数的流匹配模型将该信号转换为13个相对位置与朝向的数值(每个9维)。
  5. 恢复真实尺度利用输入图片的深度估计值和相机内参,把相对数值还原为真实米制单位的6-DoF轨迹。
这是 METAL MEDIA 制作的解读图,并非论文作者提供的原图。

他们做了什么

  1. 问题:以往预测物体运动要么需要深度传感器、CAD三维模型、多视角视频等特殊输入,要么得先用视频生成AI把完整的未来视频生成出来,再跑一套昂贵且容易出错的感知流水线去分析。
  2. 方法:把一张照片和一句指令喂给一个被冻结(不再训练)的视频生成模型Wan2.2,让它在40步去噪流程中只走到第16步就停下。从这个半成品的内部状态里,读取一个能隐式追踪物体的注意力信号,以及一个反映整体场景的信号,再用一个仅710万参数的小型网络(Reader)把它们转换成13个相对位置与朝向数值。
  3. 数据:为了解决语言-动作细粒度标注数据稀缺的问题,作者从六个现有的手-物体交互视频语料库中筛选并人工核查,构建了包含5,038条轨迹的Move数据集。
  4. 结果:在对全部5,038个样本进行5折交叉验证后,DreamTraj的平均位移误差(ADE)为6.4厘米,末端位移误差(FDE)为9.5厘米,旋转误差为24.6度,在平移和旋转两方面都优于此前的预测方法ObjectForesight和EgoScaler,而这两个方法还额外接收了视频上下文、三维网格或深度等特权输入。
  5. 效率:在同一块GPU(RTX PRO 6000)上,先生成完整视频再分析的传统流程每条片段大约需要348秒(生成280秒加感知分析68秒),而DreamTraj只需76秒,快了4.6倍。
Figure 1: Trajectory extraction pipeline used to label generated videos (Sec. 3.3). Amber marks the two blocks that depart from RigVid and ObjectForesight: DA3 metric depth and a SAM 3D Objects mesh.
Figure 1: Trajectory extraction pipeline used to label generated videos (Sec. 3.3). Amber marks the two blocks that depart from RigVid and ObjectForesight: DA3 metric depth and a SAM 3D Objects mesh.
Table 1: Main comparison on held-out folds. Block (a) restricts to clips captured by a real sensor, so the reference trajectory is the dataset’s own 6-DoF annotation; block (b) is the full evaluation set, whose labels come from the extraction pipeline of Sec. 3.3. ADE/FDE in cm, rotation in degrees. Baselines marked † consume inputs DreamTraj does not (Sec. 5.1). Each baseline predicts on its own timestamps—EgoScaler a fixed 20-step trajectory, ObjectForesight a horizon fixed by its context requirement—so each is reported against DreamTraj evaluated at that baseline’s timestamps, and blocks are not comparable to one another.
MethodADE↓FDE↓Rot↓Rot-final↓
EgoScaler protocol — its native 2.0 s window, 20 timestamps
(a) real capture, real GT (n=537)
EgoScaler†7.5210.7128.645.6
DreamTraj3.044.717.912.9
(b) generated video, pipeline GT (n=414)
EgoScaler†6.559.5231.750.0
DreamTraj3.014.7211.518.3
ObjectForesight — its native 1.17 s horizon
(a) real capture, real GT (n=593)
ObjectForesight†2.714.587.811.1
DreamTraj1.973.326.510.5
(b) generated video, pipeline GT (n=414)
ObjectForesight†2.804.428.614.7
DreamTraj1.973.207.111.6
ObjectForesight — extended to the whole action
(a) real capture, real GT (n=594)
ObjectForesight†10.2912.7429.830.2
DreamTraj6.768.3918.220.4
(b) generated video, pipeline GT (n=366)
ObjectForesight†10.2613.5137.351.0
DreamTraj7.269.3433.041.4
Figure 2: Overview of DreamTraj. One RGB frame and one instruction go in. The object is grounded once in that frame (GroundingDINO + SAM2) to give query points; a frozen Wan2.2-I2V-A14B is stopped at step 16 of 40, and from that latent we read q⋅k attention tracks (block 28, head 32) and anchor-pooled hidden states (blocks 0/19/39) as a 13×132 sequence. A 7.1M-parameter flow-matching trainable Reader, turns it into 13 relative 9-D pose tokens, which, with a depth anchor z0 and the intrinsics K lift to metric 6-DoF.
Figure 2: Overview of DreamTraj. One RGB frame and one instruction go in. The object is grounded once in that frame (GroundingDINO + SAM2) to give query points; a frozen Wan2.2-I2V-A14B is stopped at step 16 of 40, and from that latent we read q⋅k attention tracks (block 28, head 32) and anchor-pooled hidden states (blocks 0/19/39) as a 13×132 sequence. A 7.1M-parameter flow-matching trainable Reader, turns it into 13 relative 9-D pose tokens, which, with a depth anchor z0 and the intrinsics K lift to metric 6-DoF.
Table 2: Inference cost vs. the generate-then-extract route, identical hardware. Guided forwards counts both classifier-free-guidance branches per denoising step. All times are measured on one GPU, averaged over three clips.
MethodFwd.DecodePercep.GenerateTotal↓
Generate-then-extract80/80yes4 models280 s348 s
DreamTraj𝟏𝟖/𝟖𝟎nonone𝟕𝟔 s𝟕𝟔 s
Figure 3: Qualitative comparison. Each row is one clip, labelled with the instruction the model was given (abridged for space). Panels overlay 7 of the 13 predicted poses on the anchor frame, each outlined in green, with the dashed line tracing the object’s centre. Red marks error: a centroid off by more than the object’s own width, or an orientation off by more than 45∘. Methods marked † receive privileged input: ObjectForesight is given the first three poses as ground-truth context, so its overlay starts from the correct pose by construction. EgoScaler predicts over its native 2 s horizon, the other columns over the whole action.
Figure 3: Qualitative comparison. Each row is one clip, labelled with the instruction the model was given (abridged for space). Panels overlay 7 of the 13 predicted poses on the anchor frame, each outlined in green, with the dashed line tracing the object’s centre. Red marks error: a centroid off by more than the object’s own width, or an orientation off by more than 45∘. Methods marked † receive privileged input: ObjectForesight is given the first three poses as ground-truth context, so its overlay starts from the correct pose by construction. EgoScaler predicts over its native 2 s horizon, the other columns over the whole action.
Table 3: Readout step. Track margin is the permutation-controlled score of Eq. 3 between the attention centroid and the recorded 2D object track (955 clips). ADE comes from retraining the Reader at each step on the generated-video path (321 clips); its scale is not comparable to Table 1. Bold marks the adopted step, the earliest at which the margin saturates.
Read step k1214161820
Experthigh-noiselow-noise
Track margin↑0.1230.1290.1910.1960.197
ADE (cm)↓8.058.527.898.208.29
Figure 5: Move statistics. (a) source corpus, (b) action verb, (c) object category, each split into recorded and generated trajectories; (d) joint distribution of per-clip translation and rotation magnitude over all 5,038 trajectories.
Figure 5: Move statistics. (a) source corpus, (b) action verb, (c) object category, each split into recorded and generated trajectories; (d) joint distribution of per-clip translation and rotation magnitude over all 5,038 trajectories.
Table 4: Ablations. ADE/FDE in cm, rotation in degrees, over all 5,038 out-of-fold samples. All four arms are the deployed configuration retrained from the same features, differing only in the conditioning removed. Depth corr. is the median over clips of |r| between the predicted and ground-truth log-depth ratio st=log⁡(zt/z0), each linearly detrended against frame index.
VariantADE↓FDE↓Rot↓Depth corr.↑
Control (deployed)6.429.5424.630.640
w/o pooled hidden states6.9110.4726.000.565
w/o q⋅k track7.139.9026.150.637
w/o instruction conditioning6.459.7026.200.639
Figure 6: Readout step sweep. (a) permutation-controlled track margin against the recorded 2-D object track; (b) end-task ADE from retraining the Reader at each step. The shaded region is the backbone’s high-noise expert. The signal appears at the expert switch, not gradually.
Figure 6: Readout step sweep. (a) permutation-controlled track margin against the recorded 2-D object track; (b) end-task ADE from retraining the Reader at each step. The shaded region is the backbone’s high-noise expert. The signal appears at the expert switch, not gradually.
Table 5: Backbone and readout configuration.
SettingValue
BackboneWan2.2-I2V-A14B (frozen)
Blocks / heads / width40 / 40 / 5120
Video resolution832×480
Frames49 @ 16 fps
VAE stride(4,8,8); patch (1,2,2)
Latent grid13×60×104
Token grid13×30×52=20,280
SamplerFlowUniPCMultistep
Denoising steps40
Shift5.0
Guidance scale3.5
Seed0
Readout step16 of 40 (t≈882)
Flow cachingstride-2 (compute one step, reuse one)
q⋅k cellblock 28, head 32
Pooled-hidden blocks0, 19, 39
Anchor grid4×4, anchor-mean pooled
PCA dimension128 (over the concatenated 3×5120)
Reader input13 tokens × (128+4) =132 D
Figure 7: Extended qualitative comparison. Each row is one clip, labelled with the instruction the model was given (abridged for space). Panels overlay 7 of the 13 predicted poses on the anchor frame, each outlined in green, with the dashed line tracing the object’s centre. Red marks error: a centroid off by more than the object’s own width, or an orientation off by more than 45∘. Methods marked † receive privileged input: ObjectForesight is given the first three poses as ground-truth context, so its overlay starts from the correct pose by construction. EgoScaler predicts over its native 2 s horizon, the other columns over the whole action.
Figure 7: Extended qualitative comparison. Each row is one clip, labelled with the instruction the model was given (abridged for space). Panels overlay 7 of the 13 predicted poses on the anchor frame, each outlined in green, with the dashed line tracing the object’s centre. Red marks error: a centroid off by more than the object’s own width, or an orientation off by more than 45∘. Methods marked † receive privileged input: ObjectForesight is given the first three poses as ground-truth context, so its overlay starts from the correct pose by construction. EgoScaler predicts over its native 2 s horizon, the other columns over the whole action.
Table 6: Reader architecture.
SettingValue
Width d256
Blocks4
Attention heads8
MLP ratio4.0
Pose tokens13
Token dimension9 (2 bearing + 1 log-depth + 6 rotation)
ConditioningAdaLN-Zero, three gates per block
Context memory13×256, cross-attention
Extra conditionsinstruction 768 D; domain flag 2 D
Positional encodingfixed sinusoidal (pose and context)
Output headzero-initialised linear
Parameters7,078,165 (7.1M)
Inference20 explicit Euler steps
Figure 8: Generalization beyond the training distribution. Scenes, objects and actions absent from every training corpus, rendered as in Fig. 7. The shampoo bottle panel is a video-game frame; the others are phone photographs. Instructions abridged.
Figure 8: Generalization beyond the training distribution. Scenes, objects and actions absent from every training corpus, rendered as in Fig. 7. The shampoo bottle panel is a video-game frame; the others are phone photographs. Instructions abridged.
Table 7: Reader optimisation. Identical across every arm of Table 4 in the main paper; the arms differ only in which conditioning signal is removed.
SettingValue
OptimiserAdamW
Learning rate2×10−4 (constant)
Betas(0.9,0.95)
Weight decay0.01
Batch size128
Steps per epoch29
Deployed snapshot5,799 steps (epoch 200)
Stage-1 warm-up40 epochs, domain B only
Stage-2 mixture60% domain A per batch
Early stoppingnone (fixed budget)
Precisionfp32
Flow-matching lossvelocity MSE
Endpoint term0.1
SO(3) chordal term0.1
Smoothness term0.05
Table 8: Realised fold sizes under grouping by source clip. Folds are balanced in recorded samples by construction; the generated counts vary because a clip contributes as many generated samples as it has surviving generations.
Fold12345
Recorded (A)596597595593594
Generated (B)366432355445465
Total9621,0299501,0381,059
Table 9: ObjectForesight retraining. Two horizon configurations are trained separately; each is evaluated only against DreamTraj read at its own timestamps.
SettingValue
Configurationreleased HOT3D config
Horizon H / frame stride8 / 4 (short)
13 / 8 (whole action)
Context length3 poses
Object librarydisabled (mesh supplied per clip)
Depthcached, anchor frame only
Batch size32
Learning rate1×10−4
Splitgrouped folds (Sec. B)
Table 10: Move composition by source corpus. Recorded trajectories come from the corpus’s own 6-DoF annotation; generated ones are labelled by the extraction pipeline of Sec. 3.3 and screened by a human.
CorpusRecordedGeneratedTotal
HOI4D1,3251,0372,362
TACO421508929
HOT3D7207727
OakInk2244226470
H2O173108281
FPHA92177269
Total2,9752,0635,038
Table 11: Which middle block to read. Both rows retrain the Reader with only the middle block changed, under the grouped five-fold protocol of Table 4 in the main paper. Requiring every block to be available on every sample leaves 5,036 of the 5,038 samples; the folds are redrawn on that pool, so absolute values differ slightly from Table 4 while the comparison between the two rows is exact.
Pooled-hidden blocksADE↓FDE↓Rot↓Depth corr.↑
{0,19,39} (adopted)6.269.4624.150.660
{0,20,39}6.539.9224.390.638

研究结果

  • 对全部5,038个样本进行5折交叉验证,DreamTraj取得6.4厘米ADE、9.5厘米FDE和24.6度旋转误差。
  • 在所有指标上都优于接收深度信息和物体初始姿态的EgoScaler,即便让EgoScaler在五种输入设定中挑选每项指标的最优值、并在DreamTraj自身的时间点上评分,领先仍然保持。
  • 接收视频上下文、物体三维网格及三个真实初始姿态的ObjectForesight,在Move数据集上重新训练后,平移和旋转误差仍均落后于DreamTraj。
  • 在同一硬件上测量,先生成视频再提取轨迹的流程每条片段约耗时348秒,DreamTraj仅需76秒,实现4.6倍端到端加速。
  • 针对50个训练语料库之外的全新场景(40张手机实拍照片、10个游戏画面),十名人工评估者判断预测轨迹按指令完成动作的成功率为80%。

可应用场景

  • 用于机器人在实际操作前提前规划抓取和放置动作
  • 作为在物体层面(而非像素层面)模仿人类示范动作的训练信号
  • 用于预先验证某个计划中的动作是否能达成目标
  • 尝试在没有深度传感器或三维模型的普通手机拍摄场景中进行动作预测

局限与待验证事项

  • 用于评估的许多真实轨迹标签,即便经过人工核查,也来自论文自建的提取流水线,而非真实传感器采集,质量可能与真实采集数据存在差异。
  • 50个分布外场景没有真实标注,只能依靠人工判断(80%成功率),没有给出数值误差。
  • 对于瓶子、杯子等绕轴旋转对称的物体,绕对称轴的旋转从RGB图像中无法观测,因此在训练和评估中被排除。
  • 尚未测试用预测轨迹直接驱动真实机械臂完成操作,论文将此列为下一步工作。
  • 结果依赖于首帧中物体被正确定位(grounding)这一步骤,该步骤失败时的表现尚未评估。

为什么重要

提前知道物体会如何运动,能让机器人提前规划抓取和放置动作,但以往这需要昂贵或难以获取的深度传感器、三维模型等输入。这项工作证明,仅用一张普通照片和一句话就能更快地达到同样目的,为让机器人操作规划变得更便宜、更实用提供了可能。

本文术语

  • 6-DoF(六自由度) · 描述物体位置(x、y、z)和朝向(三个旋转轴)所需的六个数值
  • 图生视频(I2V)扩散模型 · 一种AI模型,通过逐步去除噪声,把一张静态图片变成一段视频
  • q·k注意力(查询-键注意力) · 模型内部计算不同部分关联程度的数值,这里被用来暗中追踪物体的位置
  • 流匹配(flow matching) · 一种训练生成模型的方法,学习从随机噪声平滑过渡到目标结果的路径
  • ADE/FDE · ADE是整条预测轨迹的平均位置误差,FDE是仅末端一点的位置误差

无法转载的图表

  • Figure 4: Generalization beyond the training distribution. Scenes, objects and actions absent from every training corpus, rendered as in Fig. 3. Panel (a) is a video-game frame; (b–d) are phone photographs. Instructions abridged.
在原文中查看图表 →

论文原文摘要(英文)

Accurate prediction of object trajectories during manipulation is essential for closing the perception-action loop. Progress is limited on two fronts: available datasets lack fine-grained language-to-motion annotations, and existing predictors either rely on privileged inputs such as video, depth, or CAD models, or recover motion from fully generated videos through costly, error-prone perception pipelines. We close the supervision gap with the MOVE dataset, 5,038 object-centric egocentric trajec

作者 · Tongsheng Ding

在 arXiv 阅读

最新论文

全部论文 →

METAL MEDIA 最新报道

图片来源: Tongsheng Ding et al., arXiv:2608.00486, arxiv-nonexclusive