Daily AI Paper

Daily AI Paper

2026-10-18

Archived
2026-10-18

T2-z: Test-Time Optimization of Environment Latents for Robotic World Models

Chenyuan Zhou, Yining Hong, Huang Huang, Yunfan Jiang, Wenlong Huang, David Held, et al.

arXiv:2610.22364v1

When a robot looks at a scene, what it sees is often not enough to predict what will happen next. Two tables can look almost identical, two blocks can have the same shape and color, and yet the same push can lead to very different outcomes because of hidden factors like friction, mass distribution, or even human-imposed rules about how objects are allowed to interact. This matters because robotics is ultimately about action: if a robot cannot anticipate how the world will respond, it cannot plan reliably, adapt safely, or choose between competing actions with confidence. This paper is about that hidden part of the world. The authors argue that modern robotic world models are good at predicting futures from visual input and action, but they usually treat the environment as if all important variation is visible in the scene itself. In reality, some of the most important variables are latent. They are not directly observed, and they are not always easy to enumerate ahead of time. Traditional approaches often try to solve this by explicitly defining a set of environment parameters in advance, like friction or mass, and then learning to infer them. But that works best when you already know what can vary, how many factors there are, and how to parameterize them. That becomes awkward when variation is unknown, compounded, or changes across tasks. The key idea in this paper is to let the environment representation itself be learned as a latent variable, and then to optimize that latent directly from interaction. The method is called T2-z, short for test-time optimization of environment latents. Instead of asking the model to predict the future from observation and action alone, T2-z adds a compact environment latent that conditions the world model’s predictions. This latent is not given supervision about what it should mean. It is simply optimized so that the world model can better explain what actually happens in the environment. To understand why this is interesting, it helps to think about the broader landscape. Robotic world models aim to predict future observations, often visual frames, conditioned on the current state and the action taken. They are a foundation for planning, because if you can simulate candidate actions internally, you can compare likely outcomes before acting in the real world. Separately, there is a long line of work on system identification and environment adaptation, where a robot tries to infer hidden properties of the environment from experience. Some of those methods rely on privileged labels during training, or on a learned encoder that turns interaction history into an embedding. Those methods can be effective, but they also bake in assumptions: the set of factors is fixed, the mapping from history to latent is learned in advance, and the amount of interaction at test time is often expected to match what the model saw during training. T2-z takes a different route. It uses a slow-fast alternating optimization scheme. During training, there are two stages. In the first stage, the environment latents are fixed and the world model is trained across trajectories from many environments. This teaches the model broad action-conditioned dynamics that are shared across the training distribution. In the second stage, the world model is frozen and the environment latents are optimized instead. Because the model cannot change, the only way to reduce prediction error is to move the latent so that it better explains the observed outcomes in that environment. Over repeated alternations, the world model learns general predictive structure while the latents absorb environment-specific variation. At test time, the same idea becomes a direct adaptation procedure. The trained world model is frozen. For a new, unseen environment, the method initializes a fresh latent and optimizes it from one or more observed interaction trajectories. The optimization uses the same flow-matching objective used in training. In practical terms, that means the model is not learning a separate history encoder that maps a trajectory to a latent in one shot. Instead, it searches for the latent that best explains the evidence available right now. Once this latent has been optimized, the frozen world model can be conditioned on it to predict outcomes for actions that were not part of the adaptation data. That turns the model into an environment-adapted simulator at test time. The paper emphasizes that this is not just a technical trick, but a different way of thinking about hidden environment factors. Rather than specifying in advance what the factors are, the latent structure is allowed to emerge from prediction error. The authors compare this to analysis-by-synthesis: we infer the hidden causes of what we observe by asking what internal representation would best generate those observations. Because the latent is learned through interaction, it can potentially capture individual factors as well as compounded combinations of factors, even when the model is never told how many factors exist. The experiments are broad. The authors evaluate T2-z in seven simulated settings and four real-world robotic tasks. The simulated settings include tasks such as friction and gravity variation, where the environment changes physical outcomes, and also more complex settings involving multiple backgrounds or other environmental changes. On the real robot side, the paper reports tracked-state prediction and action-selection performance under real-world variation. The evaluation is not limited to visual quality alone; it also includes physical prediction metrics, such as errors in relevant object locations, and downstream action success, which is the more important measure if the model is to be useful for control. The results are strong and fairly consistent across settings. In the aggregate, T2-z reduces the object prediction error metric from 15.20 to 7.00 and raises action success from 33.73% to 72.96%. In the simulation results described in the introduction, physical prediction error drops from 12.86 to 4.80, while in the real world tracked-state error drops from 19.30 to 10.85 pixels. Action success also improves substantially, from 37.9% to 74.2% in one set of results and from 26.5% to 70.8% in another. The exact numbers vary by task and setting, but the pattern is consistent: better latent inference leads to better prediction, and better prediction leads to better action choice. What do these results actually show? First, they show that the latent is doing meaningful work. If the environment latent were just a nuisance variable, optimizing it would not consistently improve prediction across such different tasks. Second, they show that the method is useful for downstream decision-making, not just reconstruction. That matters because a world model is only valuable if it helps a robot choose actions that succeed. Third, they show that the latent space is structured rather than arbitrary. The paper reports PCA visualizations where the learned latents organize according to underlying environmental factors, including cases where multiple factors vary jointly. In the multi-background setting, the authors observe a unified latent structure across different scene setups, suggesting that the representation captures dynamics rather than merely memorizing appearance. The ablations are also important. They show that T2-z can infer useful environment representations from as little as a single test-time interaction trajectory. That is a meaningful result because it suggests the method can adapt with very limited evidence. The optimization is also reported to remain stable across varying numbers of test-time trajectories, which is encouraging because one of the method’s strengths is that it is not tied to a fixed history length. If more interaction is available, it can use more; if only a little is available, it can still adapt. There are some clear limitations and things to watch. The first is that T2-z still depends on having enough interaction data to reveal the hidden factors. If the environment variation is subtle, ambiguous, or not identifiable from the available trajectories, latent optimization may not fully recover the right explanation. More generally, because the method is optimization-based, adaptation requires iterative updates at test time, which can be slower than a one-shot encoder. That tradeoff is central to the method: it gains flexibility by giving up amortized inference. Another limitation is that the paper’s success depends on the quality of the underlying world model. The latent can only help if the base model is capable of learning a useful conditional dynamics prior in the first place. If the predictive model is weak, the latent may have little room to recover the correct structure. And while the emergent latent spaces look structured in the reported experiments, interpretability is still partial: the model is not explicitly told what factors exist, so there is no guarantee that each dimension corresponds cleanly to a human-interpretable property. Still, the central contribution is compelling. T2-z reframes environment adaptation as direct latent optimization at test time. Instead of trying to predict every possible hidden factor ahead of time, it asks: given the outcomes we observe, what compact latent makes those outcomes most predictable? That simple shift lets a frozen world model adapt to previously unseen environments, improves physical prediction, and substantially boosts action success in both simulation and real robots. For robotics systems that need to operate in the messy, variable real world, that is a promising direction.

Previous daily papers

2026-10-29Pushing Dexterity and Safety for In-Hand Object Pose Reaching That Works Remarkably Well2026-10-29Can LLMs Uncover Hidden Physical Laws through Free Exploration?2026-10-29Scaling Laws for Tool-Use Agents via Controllable Environment Synthesis2026-10-28Multi-State Linear Attention with Generalized Second-Order Routing2026-10-28Heads of Security: Learned Attention Gates Improve Prompt Injection Robustness2026-10-27Pretraining Knows What, Simulation Teaches How: Compositional Generalization in a Sim-Trained Robot Agent2026-10-27Retriever-Free Retrieval: Navigating Documents with Decision Models2026-10-27Reva: Real-Time Vulnerability Detection through Contextual Probing of Large Language Models2026-10-26Learning Positive Linear Combinations of ReLUs in Fully Polynomial Time2026-10-25Reliable AI-Assisted Decisions via Selective Auditing2026-10-25A Fix for Softmax and Cross-Entropy2026-10-25Sensorimotor Alignment: A Platonic Proxy for Embodied Policy Success2026-10-22LongZero: Enhancing Long-Context Reasoning in LLMs from Zero Data2026-10-22The End of Consensus Research?2026-10-22Asymmetric On-Policy Distillation Learns In-Context Exploration2026-10-21UniWALM: Unified World Action Language Model for Embodied Robot Control2026-10-21Joints, Camera, Action! Co-Generating 3D Motion and Video for Arbitrary Rigs2026-10-21Evolving Agent Interfaces2026-10-20OpenVLHarness: Real World Visual Agentic Tool-Use with Multimodal Memory2026-10-20Same Simulation, Different Evidence: Where Retrieved Tool Output Costs LLM Agents Accuracy2026-10-20Text-to-Image Generative Modeling Without Language Pretraining2026-10-19DiscoveryRSI: Recursively Learning to Discover Valuable Hypotheses2026-10-19Learning without relearning physical symmetry: an SO(3)-equivariant convolutional network (CNN) on the sphere2026-10-19Self-Building Labs2026-10-18FDE-Gym: The Last Mile of AI Delivery2026-10-18MLExpert: Towards a Generalist Agentic Model for Autonomous Machine Learning Engineering2026-10-17Discovering state-of-the-art quantum circuits with large language models2026-10-15Your Transformer Is Secretly Elastic2026-10-15Hierarchical Residual Policy Learning for Real-World Mobile Manipulation with Sparse Human Guidance2026-10-15Latent Compaction with Test-Time Training2026-10-14Tev: Scaling Long-Horizon Agentic Environments with Dense Progress Rewards2026-10-14The Last Remote Sensing Model Built by Humans? Casting Any Earth Observation Task as Recursive Self-Improvement2026-10-14Hybrid Reasoning Agents2026-10-13AI Models Can Provably Hide Arbitrary Capabilities2026-10-13RATED: Reliability-Aware AI Agent Tool Retrieval via Execution Dynamics2026-10-13Designing Protein Structures from Natural Language2026-10-12RSI-Anything: Unlocking Recursive Self-Improvement with World Models2026-10-11A Balanced Data Diet: Addressing the Exploration Bottleneck in Mega-Scale RL for Robot Control2026-10-11FAITH: Feasibility-Aware Safety-Filtered RL for High-Dimensional Systems2026-10-11VioLA: Learning Generalist Humanoid Control Policies from Human Data2026-10-10FastBench: Can Streaming VLMs Perceive High-Dynamic Real-World Streams?2026-10-10Ecology of AI Agents: Collaboration Creates a Population Threshold for Takeoff2026-10-08Long-WAM: Scaling the Context of World-Action Models2026-10-08SciExam for ENSO: Can AI Agents Build Climate Models?2026-10-08RoboJEPA: Scaling Robotic Latent World Models2026-10-08RECAST: Learning to Compute the Right Context through Adaptive Evidence Routing2026-10-07WorldSonus: Bringing Sound to Worlds2026-10-07IdeaAnchor: Teaching LLMs to Turn Literature into Research Ideas2026-10-07Agent in a Bottle: Can LLM Agents Turn Their Capabilities Into Cheap, Scalable Artifacts?2026-10-06CLIFT: Conformal Self-Verification for Web Agent Training and Test-Time Scaling2026-10-06PlotGround: Grounding Plot Digitization in Real Scientific Figures and Their Source Data2026-10-06Base Models Can Reason By Taking a Cue From Training Data2026-10-05LESSER: Post-Training Data Selection with Output-Layer Gradients2026-10-05Language Models that Play Chess and Explain Their Moves2026-10-05Less Decoder is More Encoder: Geometric Representation Learning from Novel View Synthesis2026-10-04One Basis to Animate Them All: Gaussian Blendshape Distillation for Real-Time Avatars2026-10-04The Missing Primitive: Diagnosing and Repairing Mathematical Reasoning in Large Language Models2026-10-04DMAD: Distribution Matching as Adversarial Distillation for Fast Visual Generation2026-10-03VISTA: A Visual Harness for Reasoning in an Interactive World