Daily Tech Briefing
AI 科技速览
每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。
MarkTechPost · 2026/7/25 18:59:54
Meet Open Dreamer: A JAX/Flax Reproduction of the Dreamer 4 World Model Pipeline, With the Full Training Recipe Published
AI 中文解读
Open Dreamer来了!一群AI研究者把谷歌的Dreamer 4世界模型全套开源了,不仅公开了训练代码和参数配置,还搞了个浏览器demo——你可以在里面实时切换真实《我的世界》游戏和AI生成的虚拟世界,体验一把“梦境模拟器”。
通俗讲,世界模型就像给AI装了一个“大脑中的模拟器”。它学会看视频和动作数据后,就能预测下一帧画面会变成啥样,甚至能自己“脑补”出整个游戏世界。这次开源的模型用了1.6B参数,设计上很巧妙:用一个通用骨架同时处理空间信息和时间信息,压缩效率是传统方法的100倍,而且训练时不依赖复杂的对抗损失,靠“遮罩”就让潜在空间更好扩散。
对普通人来说,最直接的影响是游戏和虚拟世界的革新。以后游戏开发者可能不用手动设计每个场景,AI能根据你的操作实时生成无限地图;影视制作中,AI也能辅助生成连贯的动画帧。更重要的是,这套代码完全公开,意味着任何有显卡的开发者都能复现顶级研究,加速从自动驾驶到元宇宙的AI落地。
A small group of AI researchers (Francesco Sacco, Diego Martí, and Edward Hu) have released Open Dreamer, an open implementation of the Dreamer 4 world-model pipeline written in JAX and Flax NNX. The research is sponsored by Reactor.
What actually shipped
Two repositories were released. next-state/open-dreamer holds the training pipeline: a causal video tokenizer, an action-conditioned latent dynamics model, rollout generation, and FVD scoring. reactor-team/open-dreamer holds a minimal local rollout harness that generates frames from an MP4 and a matching action file.
A third artifact is the browser demo hosted on the Reactor runtime. It streams a generated Minecraft world in real time and exposes a Game ⟷ Dream toggle that hands the stream from the real game to the world model frame by frame.
The stated objective was to reproduce the Dreamer 4 research. The research team deliberately avoided methods outside that research paper to keep the search space narrow. They started on CoinRun, a procedurally generated 2D platformer trainable on a single GPU, then scaled the working pipeline to Minecraft/VPT-style gameplay video.
Architecture: one backbone, two models
Both the tokenizer and the dynamics model use the same block-causal transformer backbone. That backbone alternates two attention types. Space layers propagate information among the elements of a single frame. Causal time layers propagate information between frames.
The tokenizer is a transformer-based Masked Autoencoder rather than a VAE. The team reports roughly 100× compression and notes the design needs no KL or adversarial loss. Masking, they argue, makes the latent space more diffusible.
The dynamics model performs next-frame prediction and is trained with diffusion forcing, flow matching, and shortcut models. It also predicts the next action. Rather than alternating between a separate transition module and policy, the rollout is folded into per-timestep blocks of (previous action, state, policy). Spatial attention runs inside each block; causal temporal attention connects blocks across time.
Critically, world-model tokens cannot read the agent token. Task and policy information can therefore influence future states only through the next action.
(function(){
window.addEventListener("message", function(e){
if(!e.data || !e.data.mtpOdTermHeight) return;
var f = document.getElementById("mtp-od-term-frame");
if(f) f.style.height = e.data.mtpOdTermHeight + "px";
});
})();
The training recipe, as configured
The shipped Minecraft configs make the recipe concrete.
The dynamics model is 1.6B parameters: 30 block-causal layers, d_model 1920, 30 attention heads, and 3 KV heads for grouped-query attention. Every fourth layer is a time-attention layer. Each timestep carries 32 learned register tokens, and packing_factor: 2 packs neighbouring tokenizer latents into each dynamics spatial token. Time attention uses a 192-step sliding window.
Training runs for 200,000 steps with Muon, a WSD schedule, and a peak learning rate of 3e-4. Shortcut/bootstrap samples switch on at step 100,000 at a 0.25 batch fraction. EMA decay is 0.999.
The tokenizer config emits 512 latent tokens per frame at a bottleneck width of 16. Raw 360×640 frames are padded to 368×640 so both dimensions divide into 16×16 patches. Encoder depth is 12 at d_model 1536; decoder depth is 8 at d_model 1024. MAE masking probability tops out at 0.9, and LPIPS is applied at weight 0.2 on half the timesteps.
VPT actions are parsed into 27 binary action channels plus 121 categorical mouse classes, with no continuous channels.
Computemaxxing and the memory wall
The research team reports 57–58% model FLOPs utilization, against a stated 60% benchmark for healthy transformer training. The reasoning is a roofline argument. On a B200, the crossover between bandwidth-bound and compute-bound sits at 292 FLOP/byte. Feeding 256 frames per GPU pushes the worklo
分享
阅读原文 ↗