---
id: 16784
lang: en
title: "Berkeley Proposes Transitive RL: Split the Path in Half, and n-Step TD Is No Longer Needed"
published_at: "2026-10-27 20:01:56"
source_name: "Berkeley BAIR"
source_url: "http://bair.berkeley.edu/blog/2025/11/01/rl-without-td-learning/"
canonical_url: "https://news.hamidun.com/en/news/16784"
categories: ["research"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# Berkeley Proposes Transitive RL: Split the Path in Half, and n-Step TD Is No Longer Needed

> **Краткая суть (BLUF):** Reinforcement learning on old data stalls on long tasks: the estimation error of each step accumulates along the whole chain. Berkeley researchers proposed Transitive RL, which splits the path in half, like a route through an intermediate city, and estimates value from the two halves. On OGBench tasks of up to 3,000 steps, the method matched the best n-step TD without manual tuning of n. For training agents on offline logs, that removes one fragile hyperparameter.  • The number of error recomputations when halving grows logarithmically, not linearly • Tests: humanoidmaze and puzzle with datasets of 1 billion transitions • So far, the method only works for goal-conditioned tasks with a deterministic environment

Imagine training an agent on accumulated logs: old runs, human recordings, third-party data. Collecting fresh experience is expensive, as in robotics, dialogue systems, or medicine, so throwing away old data is not an option. This regime is called off-policy RL, and there is still no good recipe for it that scales to long tasks. Sehyun Park, a researcher at Berkeley (BAIR), proposed the Transitive RL (TRL) algorithm. It does without classic TD learning, which accumulates errors over long horizons.

## Why long tasks break Q-learning

First, the two regimes. On-policy methods such as PPO and GRPO use only fresh data from the current policy: after each update, old experience has to be discarded. According to the author, good scaling recipes for them already exist as of 2025. Off-policy methods can learn from any data, but they handle it less easily. The best-known one is Q-learning.

Q-learning relies on temporal difference (TD). The estimate of "how good it is to be at this point" is updated using the estimate of the next point. It resembles a game of telephone: if a step ahead is valued incorrectly, the error propagates backward and accumulates along the chain. The longer the task, the larger the accumulated error.

The usual way to mitigate the problem is n-step TD. The first n steps are taken from real data, and the rest is completed by estimation. But the error does not disappear: the number of recursions is simply divided by the constant n. If n is taken too large, variance and suboptimality grow. So n has to be tuned by hand for each task.

## How divide and conquer works

Park proposes a third path. Suppose you need to estimate a route from Moscow to Vladivostok. TD goes city by city and accumulates inaccuracies. TRL takes an intermediate point, say Novosibirsk, and computes the value of the whole path from the values of its two halves. Each half is again split in two. The number of error recomputations then grows logarithmically rather than linearly, and the hyperparameter n is not needed.

The idea itself is old: it goes back to the first work on goal-conditioned RL, written by Kaelbling in 1993. What did not work then was choosing the best intermediate point. In a table, one can enumerate all states (in essence, the Floyd–Warshall algorithm). In a continuous environment with a huge number of states, such enumeration is impossible.

The authors solve this with two techniques. First, candidates for intermediate points are taken only from dataset states that lie between the start and the goal along the same recorded trajectory. Second, instead of a hard maximum, they use a "soft" one: expectile regression. This protects against the overestimation that the max operator produces.

The method works in goal-conditioned RL, where the agent learns to get from any state to any other state. There is a ready-made structure here: shortest paths obey the triangle inequality. A path from A to C is no longer than a path from A to B plus a path from B to C.

## What the tests showed and where the limits are

TRL was evaluated on the hardest tasks of the OGBench benchmark for offline goal-conditioned RL: humanoidmaze and puzzle with datasets of a billion transitions. The tasks require combinatorially complex skills over horizons of up to 3,000 environment steps. According to the author, among strong baselines (TD, Monte Carlo, quasimetric learning), TRL achieved the best result on most tasks.

The most telling chart compares it with n-step TD at different n, from 1 (pure TD) to infinity (pure Monte Carlo). TRL matched the best of the manually tuned variants on all tasks, without tuning n itself. For practitioners, this is the main advantage: one fragile parameter, which usually has to be re-tuned for each new task, disappears from the pipeline.

The limitations should be kept in mind:

- The method is shown for goal-conditioned RL, where the agent has an explicit goal. Tasks with an ordinary reward are not covered in this work.
- The derivation of the update rule assumes a deterministic environment. In the real world, dynamics are more often stochastic.
- Validation was done on simulator benchmarks; there are no tests on physical robots or production systems.
- The algorithm requires specific data preparation: intermediate points must be taken strictly from recorded trajectories.

## What to do with this

There is no ready-made production tool here: this is a research paper with code and a write-up on arXiv (2510.22512). But the practical lesson is clear. Scaling off-policy RL can be addressed structurally, by splitting the task into subgoals, rather than by tweaking n. If you build training on offline data, for example for navigation or manipulators, the development of TRL is worth following. For now, treat the subgoal decomposition as a working hypothesis worth testing on your own logs.

---
- **Первоисточник:** [Berkeley BAIR](http://bair.berkeley.edu/blog/2025/11/01/rl-without-td-learning/)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/16784
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
