Value Functions as Terminal Rewards for Long Horizon Planning

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 2208 papers296 conceptsfrozen 2026-10-04

In the quest to build autonomous agents, researchers have long faced a fundamental trade-off between two paradigms: planning and learning.

Planning (model-based control) allows an agent to "think" before it acts by simulating future trajectories. However, as Vladimir Feinberg and Sergey Levine point out in Model-Based Value Estimation for Efficient Model-Free Reinforcement Learning, pure planning is plagued by "compounding errors"—small inaccuracies in a dynamics model that snowball into nonsense when projected far into the future. Learning (model-free reinforcement learning), on the other hand, is robust to these errors but is notoriously sample-inefficient and "myopic," often requiring millions of trials to understand the long-term consequences of a single action.

A powerful synthesis has emerged across these 176 papers: using a learned value function as a terminal reward for short-horizon planning. This approach allows agents to enjoy the precision of local planning while using a "summary" of the infinite future to guide their decisions.

The Terminal Value Trick

The core intuition is to truncate the planning horizon. Instead of trying to simulate a robot's path for the next ten minutes, we simulate it for only the next two seconds. To prevent the agent from becoming shortsighted, we append a learned value function—an estimate of the "cost-to-go"—to the end of that short simulation.

As Jonas Buchli explains in Optimal and Learning Control for Autonomous Robots, the value function serves as the mathematical bridge between these worlds. It represents the expected cumulative reward from a given state onward. By using it as a terminal reward, a short-term planner can account for long-term consequences without the computational or stability costs of a long-horizon simulation.

Mitigating Compounding Errors

Why does this work so well? The primary enemy of model-based RL is the feedback loop of errors. In Combating the Compounding-Error Problem with a Multi-step Model, researchers demonstrate that predicting future states directly from an initial state—rather than recursively—can stabilize value estimation.

By restricting the "imagination" to a fixed, short horizon and capping it with a model-free value estimate, frameworks like MVE (Feinberg et al.) and MPC-MFRL (Zhang-Wei Hong and Jan Peters in Model-based Lookahead Reinforcement Learning) leverage the model only where it is most accurate: the immediate future.

The Reciprocal Synergy of POLO and Dreamer

This direction reaches its peak in frameworks like POLO (Plan Online, Learn Offline), developed by Aravind Rajeswaran and Emanuel Todorov. In Plan Online, Learn Offline: Efficient Learning and Exploration via Model-Based Control, they describe a "reciprocal relationship":

  1. Planning improves the Value Function: The trajectory optimizer acts as a teacher, providing high-quality, multi-step targets that are much more stable than standard temporal difference (TD) updates.
  2. The Value Function improves Planning: An accurate value function allows the planner to use a much shorter look-ahead window, drastically reducing the real-time computational burden.

Similarly, Danijar Hafner and Timothy Lillicrap applied this to latent spaces in Dream to Control: Learning Behaviors by Latent Imagination. By using an actor-critic architecture within a "world model," their agent, Dreamer, learns complex behaviors by imagining short trajectories and using a value function to estimate everything beyond that horizon.

Beyond Robotics: Safety and Symbolic Reasoning

The utility of terminal value estimation extends far beyond physical robots:

  • Safety: Arko Banerjee and Işıl Dillig show in Dynamic Model Predictive Shielding for Provably Safe Reinforcement Learning that a learned Q-function can guide a safety "shield." This ensures that safety interventions don't just stop the robot, but steer it toward states with high long-term mission value.
  • Symbolic Search: In the realm of mathematical discovery, Pierre-Alexandre Kamienny and Guillaume Lample use a critic to estimate the "long-term potential" of partial mathematical expressions in Deep Generative Symbolic Regression with Monte-Carlo-Tree-Search. This prevents the search from getting stuck in "deceptive" local optima where an expression looks accurate but is structurally dead-ended.
  • Language Models: Even in LLM-based planning, RISHI HAZRA and colleagues introduced the "Pay" model in SayCanPay. This learned heuristic prevents LLMs from choosing actions that are linguistically likely but lead to irreversible failures in the physical world.

Conclusion

The shift toward integrating short-term planning with long-term value bootstrapping represents a move away from "pure" algorithms toward hybrid systems that respect the limitations of our models. By treating the value function as a terminal reward, researchers have found a way to give agents the foresight of a grandmaster with the reaction time of a sprinter.

Papers in this version

Showing 60 of 208 papers.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 115 papers
  2. Version 1 · 2026-10-04 · 208 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_terminal_value_estimation_f70952f0,
  title = {terminal value estimation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/terminal-value-estimation/rdr_f70952f06d594db7864436ee8b4eaa32},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_value_functions_as_terminal_rewards_for__f70952f0_v1,
  title = {Value Functions as Terminal Rewards for Long Horizon Planning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/value-functions-as-terminal-rewards-for-long-horizon-planning/rdr_f70952f06d594db7864436ee8b4eaa32/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}