Temporal-Distance JEPA: Plan-Aware Representation Learning for Latent World Model Predictive Control
This paper proposes Temporal-Distance JEPA (TD-JEPA), a world model approach that mines directed temporal costs from offline reward-free trajectories to bridge the gap between representation learning and planning, thereby outperforming existing JEPA-based planners across multiple environments by enabling more effective goal-progress ranking without relying on pixel reconstruction or explicit rewards.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are teaching a robot to navigate a new world, but you can't give it a map or a list of rules. All you have is a video of a human doing the task perfectly. This is the challenge of "offline learning" in robotics: how do you teach an AI to plan its future moves just by watching old footage? Scientists use something called a "world model" to solve this. Think of a world model as a dream machine inside the robot's brain. Instead of trying to redraw every pixel of the video (which is like trying to paint a masterpiece from memory), the robot learns to predict the essence of what happens next. It compresses the world into a simplified, abstract "latent space"—a mental map where similar situations are close together.
The big question is: once the robot has this mental map, how does it decide which path to take? Usually, the robot just measures the straight-line distance between where it is and where it wants to be on this mental map. But here's the catch: in the real world, the shortest line on a map isn't always the fastest way to get there. You might be able to draw a straight line through a wall, but the robot can't walk through walls. It needs to understand time and sequence. If the robot just looks at the distance, it might get confused about whether it's getting closer to the goal or just spinning in circles. This paper tackles that exact problem: how to teach a robot to understand the "flow" of time in its dreams so it can plan better, without needing any extra rewards or human teachers.
The Problem with "Straight-Line" Thinking
The researchers started with a powerful existing system called LeWM (Latent World Model). This system is great at predicting what happens next in its abstract mental map. However, when it tries to plan a path to a goal, it relies on a simple rule: "The closer the mental image of the future is to the goal image, the better." This is like trying to navigate a city by only looking at the crow-flies distance between two points. It works okay in open fields, but if you need to go around a building or climb a ladder, that straight-line distance lies to you.
The authors noticed that while the robot's mental map was good at predicting the next step, it wasn't very good at ranking future possibilities by how much progress they actually made. In a video of a human pushing a block, the robot could predict the next frame, but it didn't inherently know that frame 10 is "closer" to the goal than frame 5 just because of the order they happened. It was missing a sense of directed time.
The Solution: Mining Time from the Past
To fix this, the team created a new system called TD-JEPA (Temporal-Distance Joint-Embedding Predictive Architecture). Instead of just letting the robot guess the distance, they taught it to "mine" the concept of time directly from the demonstration videos.
Here is how they did it, using a simple analogy: Imagine you are watching a cooking show. You don't need a timer to know that cracking an egg happens before whisking it, and whisking happens before baking. The order of events is the progress. TD-JEPA looks at the robot's training videos and says, "If the human did step A, then step B, then step C, then step C is definitely further along the path to the goal than step A."
The system learns a special "directed cost." Unlike a normal distance that is the same going forward or backward (like the distance between your house and the park is the same either way), this new cost understands direction. It knows that going from "Start" to "Goal" takes effort, but going from "Goal" back to "Start" is a different kind of journey. By learning this directed flow from the videos, the robot builds a mental map where the "distance" to the goal actually reflects the number of steps needed to get there, not just how similar the pictures look.
Two Different Ways to Use the New Skill
One of the most interesting findings is that this new "time-aware" skill works differently depending on what the robot is trying to do. The authors discovered that the best way to use this new knowledge depends on the task:
- For Navigation and Reaching (Topological Tasks): When the robot needs to move through space, like navigating a maze or reaching for an object in the air, the new "directed time cost" is the perfect tool. It acts like a compass that points straight toward the goal, ignoring dead ends. In their tests, using this new cost helped the robot solve a "Two-Room" navigation task 100% of the time, beating the old system which only succeeded 97.4% of the time.
- For Contact-Rich Manipulation (Geometric Tasks): When the robot has to push, slide, or stack objects (like the "Push-T" task where it pushes a T-shaped block), things get tricky. Here, the exact shape and angle of the contact matter more than the general direction. In these cases, the new time-aware system actually works best when it helps the old "straight-line" distance method, rather than replacing it. It refines the robot's mental map so that the straight-line distance becomes more accurate. On the "OGB-Cube" task, this combination improved success rates by 14.2 points compared to the old system.
What They Found (and What They Didn't)
The researchers ran strict tests where they kept everything the same except for the planning method. They found that TD-JEPA consistently matched or beat the previous best methods (LeWM and a method called RC-aux) across all environments.
However, they also found a limit. When they tried to use only the new time-based cost for the complex "Push-T" task, the robot actually performed worse (69% success) than when it used the old geometric distance (86% success). Why? Because pushing a block requires fine-tuned control of angles and contact points. The "time" signal told the robot it was getting closer, but it didn't give enough detail about how to touch the block correctly. The robot needed the geometric "shape" information to succeed. This proves that while understanding time is crucial, it doesn't replace the need to understand physical geometry in every situation.
The Takeaway
The paper shows that you can teach a robot to understand the "flow" of time just by watching videos, without needing any extra rewards or human feedback. By mining the order of events in demonstration logs, they created a system that knows which future is truly "closer" to the goal. This new system, TD-JEPA, narrows the gap between what the robot learns and how it plans. It suggests that for some tasks, the robot should follow the flow of time like a river, while for others, it should use that flow to sharpen its sense of physical shape. The result is a smarter, more adaptable robot that can plan better in the real world, whether it's navigating a room or pushing a block across a table.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.