# Long-Horizon Q-Learning: Accurate Value Learning via n-Step Inequalities

*Armaan A Abraham, Lucy Xiaoyang Shi, Chelsea Finn*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/151973) · [Open on the map](../papers.html#p151973)

Category: [Reinforcement Learning & Games](../pcat/10.md) › [Offline-to-Online Reinforcement Learning](../pgroup/145.md) · Type: new method · Keywords: long-horizon reinforcement learning, value function stabilization, optimality tightening, hinge loss, offline-to-online transfer

## Summary
Long-Horizon Q-learning (LQL) stabilizes long-horizon value learning by turning optimality tightening inequalities into a hinge loss penalty, improving performance over both short-horizon and long-horizon TD methods while using comparable computational resources.

## Explained to a 5-year-old
A robot learns how good each choice is by looking at past experiences. When it learns over a long time, mistakes from later steps can mess up earlier learning. The new idea adds a simple rule that says the robot should never be worse than the best possible plan it could follow. This rule is checked using the same information the robot already uses, so it doesn't need extra work. Because of this, the robot learns more accurately and does better tasks.

## Explained to a 5-year-old, longer
A robot wants to know how good each action is by watching what happened before. It can learn from old experiences, even if they were made by a different robot. When the robot tries to learn over many steps, small mistakes can get bigger and bigger, making the learning unstable. The new idea adds a safety rule that says the robot should never do worse than the best plan it could follow. This rule is based on a simple observation: any real sequence of actions gives a lower bound on what the best possible plan could achieve. The robot checks this rule using the same calculations it already does for learning, so no extra work is needed. By penalizing violations of this rule with a hinge loss, the robot keeps its estimates more reliable. This helps the robot learn accurate values even over long horizons. As a result, the robot performs better on tasks that require planning far into the future. The method works with many existing learning algorithms and does not require new networks or extra computations. It can be used both when learning online and when adapting from offline data. Overall, the approach makes long-horizon reinforcement learning more stable and effective.

## For a technical reader
The paper addresses the instability of bootstrapping in long-horizon value learning by introducing a hinge-loss penalty derived from optimality tightening. This penalty is computed from the same network outputs used for the TD error, avoiding extra forward passes. Experiments show consistent gains over both short-horizon and long-horizon TD methods across online and offline-to-online benchmarks.

## Problem
Learning accurate value functions over long horizons in off-policy reinforcement learning is difficult because bootstrapping causes estimation errors to propagate backward and compound over time, leading to unstable learning.

## Method
The approach leverages an optimality tightening observation to create a lower bound on the optimal expected return from observed trajectories and penalizes violations of this bound with a hinge loss, applied to the same network outputs used for the TD error, adding no extra computation.

## Results
The approach consistently outperforms both short-horizon and long-horizon TD methods across the evaluated benchmarks while using comparable computational resources.

## Contributions
The paper introduces a principled stabilization technique for long-horizon value learning by converting optimality tightening inequalities into a hinge loss penalty, and it achieves this without auxiliary networks or additional forward passes.

## Research questions this paper is counted under

- [How can offline reinforcement learning reliably estimate and plan over long horizons under sparse feedback, stochasticity, and limited dataset coverage?](../q/165.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/151973)
