TLDR: Transitive Reinforcement Learning (TRL) is a novel value learning algorithm for offline goal-conditioned RL that uses a ‘divide and conquer’ approach based on the triangle inequality. It addresses the limitations of traditional TD methods (bias accumulation) and MC methods (high variance) by reducing Bellman recursions logarithmically and performing dynamic programming. TRL achieves this through in-sample maximization with in-trajectory subgoals and distance-based re-weighting, demonstrating superior performance on challenging long-horizon tasks and strong results on standard benchmarks.
A new research paper introduces Transitive Reinforcement Learning (TRL), an innovative algorithm designed to tackle one of the most persistent challenges in off-policy reinforcement learning (RL): the curse of horizon. This problem refers to the difficulty RL agents face in learning to achieve goals that require a very long sequence of actions.
Traditional RL methods often fall into two main categories: Temporal Difference (TD) learning and Monte Carlo (MC) methods. TD learning, while widely used, suffers from what researchers call “bias accumulation.” Each step in a long sequence involves a small error, and these errors can compound over many steps, leading to inaccurate value estimations. On the other hand, MC methods, which look at entire trajectories, can mitigate this bias but introduce high variance, especially for long horizons, making learning unstable.
TRL offers a fresh perspective by adopting a “divide and conquer” paradigm. This approach is particularly well-suited for offline goal-conditioned RL (GCRL) problems, where the objective is to find a policy that can reach any state from any other state in the fewest possible steps. GCRL problems naturally exhibit a “triangle inequality” structure, similar to how the shortest path between two points is always less than or equal to the sum of the shortest paths through an intermediate point. TRL leverages this inherent structure to break down long-horizon problems into smaller, more manageable sub-problems.
The core advantage of TRL’s divide-and-conquer strategy is its efficiency. In theory, it can reduce the number of necessary computations (Bellman recursions) to a logarithmic scale relative to the task horizon, a significant improvement over the linear scale required by TD methods. This means that as tasks get longer, TRL’s computational burden grows much slower than that of TD-based approaches. Furthermore, by performing dynamic programming—aggregating intermediate values—TRL avoids the high variance issues that plague MC methods when dealing with extended horizons.
Implementing this divide-and-conquer idea in practice, however, presented its own set of challenges, primarily related to value overestimation. When an algorithm tries to maximize over many potential intermediate states (subgoals), it can easily exploit small errors in value estimation, leading to unstable training. The TRL team addressed this with several key innovations.
Also Read:
- Improving AI Decision-Making by Tackling Unseen Factors
- Optimizing AI Planning with Non-uniform Temporal Resolution
TRL’s Practical Solutions
First, instead of a strict maximization over all possible subgoals, TRL uses a “soft expectile regression.” This technique approximates the maximum in a more stable way, preventing the algorithm from being overly sensitive to individual biased value estimates. Second, TRL restricts its search for potential subgoals to only those states that appear within the current trajectory being analyzed. These “behavioral subgoals” are crucial for stability, as considering arbitrary states as subgoals would significantly increase the chance of encountering invalid or unhelpful intermediate steps.
Finally, TRL employs a “distance-based re-weighting” mechanism. This technique assigns higher importance to shorter trajectory segments during the learning process. By focusing more on accurately learning the values for shorter paths, TRL builds a more robust foundation for combining them into longer paths, much like solving smaller sub-problems before tackling larger ones.
The experimental results are compelling. TRL demonstrated superior performance on highly challenging, long-horizon benchmark tasks, including complex humanoid maze navigation and puzzle-solving scenarios that require thousands of environment steps. It consistently outperformed previous offline GCRL algorithms, including both TD- and MC-based methods. Notably, TRL achieved this without needing to manually tune a parameter (like the ‘n’ in n-step TD learning) that is often critical and task-dependent for other methods. The research paper, titled “TRANSITIVERL: VALUE LEARNING VIA DIVIDE AND CONQUER,” can be found here.
Beyond long-horizon tasks, TRL also showed strong performance on standard GCRL benchmarks, proving its versatility. Ablation studies confirmed the importance of TRL’s key components, such as the expectile regression, the use of in-trajectory subgoals, and the distance-based re-weighting factor.
This work marks a significant step towards developing scalable value learning algorithms that can overcome the “curse of horizon” in reinforcement learning, paving the way for more capable AI agents in complex, real-world scenarios.


