Geometric Time Score Estimators: Bridging Self-Predictive Representations and Generative Occupancy Models for Reinforcement Learning

Aravind Venugopal¹, Grace Liu¹, Jeff Schneider¹, Benjamin Eysenbach²
¹ Carnegie Mellon University  ·  ² Princeton University
📄 Paper 💻 Code
Can occupancy density estimation along probability paths bridge the gap between self-predictive representations and generative occupancy models?
GTSE: time score along a probability path from N(0, I) to the occupancy measure

The time score \(\partial_k \log p_k(g^+ \mid s, a)\) captures the instantaneous rate of change of the log-density of the occupancy measure along a probability path. Integrating it gives accurate occupancy density estimates for downstream control.

Overview

Predicting the consequences of actions by reasoning about the future is central to reinforcement learning (RL). While self-predictive representations have been a dominant paradigm for occupancy density estimation, we find that they yield surprisingly poor estimates. On the other hand, generative occupancy models can produce remarkably accurate samples from the occupancy measure. However, such models struggle with occupancy density estimation because they are not explicitly trained to estimate densities. This leaves their expressivity largely untapped for the temporal reasoning that downstream control requires. These complementary limitations raise the question: can occupancy density estimation along probability paths bridge the gap between self-predictive representations and generative occupancy models? In this paper, we explore this question.

The occupancy measure

Start an agent at state \(s\) and take action \(a\). The occupancy measure is the distribution over the states \(s^+\) it visits in the future:

\[ d^{\pi}(s^+ \mid s,a) = (1-\gamma)\sum_{t=0}^{\infty}\gamma^t\, P(s_{t+1}=s^+ \mid s,a,\pi) \]

In goal-conditioned RL, \(d^{\pi}(g \mid s,a)\) equals the Q-value for reaching goal \(g\). Choosing the action that makes \(g\) most likely is choosing the best action, so a good density estimate is a good value estimate. The maze below follows a random-walk policy \(\pi\). Each cell is shaded by \(d^{\pi}(\cdot \mid s,a)\), so darker cells correspond to future states that are more likely. Click a cell to move \(s\), pick \(a\) with the arrows, and move \(\gamma\) to change how far ahead it looks. Hover the cursor over a cell to read its occupancy density.

Action \(a\)
\(d^{\pi}(g \mid s,a)\) at cursor
–
How well do existing methods estimate occupancy density?
Poorly, even on a 5-step MDP. On a 5-step toy MDP in \(\mathbb{R}^2\) with a branching, multimodal occupancy measure, the best baselines (CRL, TMD, TD-flows) reach a Spearman correlation coefficient of \(\rho = 0.78\) with the ground-truth \(\log d^{\pi_D}\). FB, TD-JEPA and Dual GR are near chance (0.19, 0.09, 0.19). CRL and TMD rank states near the origin well, where most of the mass is, but fail on far states.

Each panel plots the rank of a method's predicted density against the rank of the ground truth, over 50 goals × 300 state-action pairs. A perfect estimator puts every point on the red diagonal. Colour is the state's distance from the origin, so yellow means far. Click or hover a method to view its predictions.

Geometric Time Score Estimators
  1. Occupancy modeling along probability paths
    • The occupancy measure \(d^{\pi_D}(s^+ \mid s, a)\) is often a complex multimodal distribution. Instead of estimating it directly, we connect a simple base distribution \(p_0 = \mathcal{N}(0, I)\) to \(p_1(\cdot \mid s,a) \equiv d^{\pi_D}(\cdot \mid s,a)\) with a variance-preserving probability path: \[ s_k^+ = \alpha_k s^+ + \sqrt{1-\alpha_k^2}\, s_0^+, \qquad k \sim \mathcal{U}[0,1] \]
    • The time score \(\partial_k \log p_k(s^+ \mid s,a)\) is the rate of change of log-density along the path. Integrating it recovers the log occupancy density: \[ \log d^{\pi_D}(s^+ \mid s,a) = \int_0^1 \partial_k \log p_k(s^+ \mid s,a)\, dk + \log p_0(s^+) \]
    • Conditioning on the endpoint \(s^+\) gives a closed-form regression target \(\partial_k \log p_k(s_k^+ \mid s^+)\) for a network \(s_\theta(s_k^+, k, s, a)\).
    Interactive: the time score along the path

    The log-ratio of the densities at \(g^+\) between \(k_i\) and \(k_i + \Delta k\), divided by \(\Delta k\), approximates the time score (red line). Drag \(k_i\) along the axis and \(g^+\) in any panel to see how it changes along the path.

    Interactive: from time score to occupancy density

    Integrating the time score over \(k\) gives the log occupancy density at \(g^+\). Drag \(g^+\) on the left, scrub \(k\) on the right, and change the number of time-score evaluations \(N\) used at inference (grey bars).

  2. Geometric Time Score Matching
    • GTSE trains a network \(s_\theta(s_k^+, k, s, a)\) to predict the time score at every \(k\) along the path. Monte Carlo targets cannot stitch trajectory segments, so we use the recursive structure of the occupancy measure to bootstrap time-score predictions from the next state-action pair:
    \[ \mathcal{L}_{\text{GTSE}}(\theta) = (1-\gamma)\, {\color{#d4883e}\mathcal{L}_{\text{next}}(\theta)} + \gamma\, {\color{#641e16}\mathcal{L}_{\text{future}}(\theta)}, \qquad \forall (s,a,s',a') \in \mathcal{D} \] \[ {\color{#d4883e}\mathcal{L}_{\text{next}}(\theta)} = \mathbb{E}_{k,\, s'_k \mid s'}\Big[\lambda(k)\big(\partial_k \log p_k(s'_k \mid s') - s_\theta(s'_k, k, s, a)\big)^2\Big] \] \[ {\color{#641e16}\mathcal{L}_{\text{future}}(\theta)} = \mathbb{E}_{s^+ \sim d^{\pi_D}(\cdot \mid s',a')}\, \mathbb{E}_{k,\, s^+_k \mid s^+}\Big[\lambda(k)\big(\operatorname{sg}[s_{\bar\theta}(s^+_k, k, s', a')] - s_\theta(s^+_k, k, s, a)\big)^2\Big] \]
    • Inference with \(N\) time-score evaluations: \(\log \hat{d}^{\pi_D}(s^+ \mid s,a) = \frac{1}{N}\sum_{i=0}^{N-1} s_\theta(s^+, i/N, s, a) + \log p_0(s^+)\).
  3. Why it works: Multiscale future prediction
    • If we use a bilinear form for the time score, \(\phi(s,a,k)^\top \psi(g,k)\), the time-score integral has an exact Legendre decomposition: \[ \log d^{\pi_D}(g \mid s,a) = \sum_{l=0}^{\infty} \hat{\phi}_l(s,a)^\top \hat{\psi}_l(g) + \log p_0(g) \]
    • Truncating at order \(L\) gives rank up to \((L+1)\delta\). Prior self-predictive methods learn rank-\(\delta\) approximations, which are analogous to \(L = 0\).
    • GTSE-b and GTSE-b\(_L\): We train GTSE with this bilinear form (GTSE-b) and, at inference, keep only the first \(L\) Legendre terms (GTSE-b\(_L\)). Comparing \(L = 0, 2, 10, \infty\) shows how much capacity the higher-order terms add.
  4. GTSE-\(r\): Explicit representations. Parameterizing \(s_\theta(g,k,s,a) = \phi_\theta(s,a)^\top \psi_\theta(g,k)\) gives \(\log \hat{d} \propto \phi_\theta(s,a)^\top \bar{\psi}_\theta(g)\): a state-action representation and a goal representation learned along probability paths.
Empirical Analysis
Q1.Is GTSE a better occupancy estimator, and does that matter for control?
Yes. GTSE achieves \(\rho = 0.96\) on the toy MDP and stays on the diagonal for far states (select GTSE above). On pointmaze-large-diverse, baselines degrade on far goals (\(\rho \le 0.30\)), and the best one (CRL) succeeds 3% of the time with best-of-16 action selection. GTSE ranks actions best for both near (\(\rho = 0.63\)) and far (\(\rho = 0.55\)) goals and succeeds 38% of the time.
Full table
Spearman \(\rho\) with ground-truth \(\log d^{\pi_D}\) and success rate (%) on pointmaze-large-diverse over 4 seeds (± 95% bootstrapped CI). Click a row to switch the chart; hover a method to highlight it.
CRLFBTD-JEPABYOL-γDual GRTMDTD-flowsGTSE-b₀GTSE-b₂GTSE-b₁₀GTSE-bGTSE-rGTSE
ρ (near)0.560.110.250.33−0.070.560.000.560.600.600.600.600.63
ρ (far)0.140.000.080.16−0.090.300.050.500.510.520.530.520.55
Success rate3±60±00±00±00±00±00±012±521±1019±925±425±238±4
Q2.Where does GTSE's representational capacity come from?
From occupancy modeling along probability paths. We use the truncated Legendre decomposition to empirically analyse the effect of representational capacity. On the toy MDP, \(\rho\) rises from 0.82 at \(L=0\) to 0.96 at \(L=\infty\) (no truncation). On pointmaze, success rises from 12% to 25%. Even \(L = 0\) beats every baseline, so training along probability paths helps on its own. Surprisingly, GTSE-r, which learns explicit state-action and goal representations, also performs well: \(\rho = 0.95\) on the toy MDP and 25 ± 2% success on pointmaze.

Step through \(L\) to watch the far states (yellow) move onto the diagonal, and select GTSE-r to compare.

Q3.Do GTSE and GTSE-r improve downstream policy performance on challenging long-horizon goal-conditioned RL tasks?
Yes, by 2× to 6×. Across 7 OGBench datasets, GTSE averages 37.9% success: 2× the strongest baseline (TD-JEPA, 18.6%) and 6× the weakest (TMD, 6.4%). GTSE-r is second (31.6%). GTSE is best on every manipulation dataset, including cube-triple. On antmaze, GTSE-r is ahead (78% vs 53%), likely because goal density there depends almost only on the agent's (x, y) position. All methods use best-of-16 action selection with the same flow-matching BC policy, so only the estimator differs.
Full table
Overall average success rate (%) across 5 test-time goals over 8 seeds per task (± 95% bootstrapped CI). Bold = best. Click a row to switch the chart; hover a method to highlight it.
DatasetGCBCCRLFBTD-JEPABYOL-γDual GRTMDSMORETD-flowsNFGTSE-rGTSE
scene-play20±425±56±231±417±219±157±213±435±49±360±569±6
scene-noisy10±17±32±124±39±312±77±13±219±45±237±455±6
puzzle-4x4-play1±12±122±836±32±117±61±10±14±21±126±640±4
puzzle-4x4-noisy1±00±06±29±30±02±30±00±01±01±09±222±2
cube-triple-play5±22±11±01±10±113±21±12±316±30±07±118±1
cube-triple-noisy2±11±10±10±00±14±20±01±18±21±14±18±1
antmaze-large-navigate34±473±615±829±632±543±629±435±330±951±1678±453±4
Mean10.415.77.418.68.615.76.47.716.19.731.637.9
Q4.Can the representations learned by GTSE-r effectively transfer across reward-based RL tasks?
OGBench scene environment

scene-play

Yes. We freeze each method's representation encoder and train a Flow Q-Learning (FQL) critic on top of it, on the 5 reward-based scene-play tasks. Frozen GTSE-r features get the highest mean success, 62.2%, against 46.6% for TD-JEPA and 58.2% for vanilla FQL trained end-to-end. GTSE-r matches FQL on tasks 1 to 3, where both are near saturation. On task 4 it scores about 4× higher (36% vs 9%).
Full table
Reward-based RL on scene-play with frozen representation encoders. Success rate (%) over 4 seeds (± 95% bootstrapped CI). Click a row to switch the chart; hover a method to highlight it.
TaskCRLFBTD-JEPABYOL-γDual GRTMDVanilla FQLGTSE-r
task 167±658±3398±551±2737±71±2100±0100±1
task 214±1217±1932±228±84±30±083±2381±12
task 327±131±285±1110±611±90±099±394±5
task 410±50±018±1410±47±40±09±736±18
task 52±20±00±00±04±70±00±00±0
Mean24.015.246.615.812.60.258.262.2
Citation

If you find this work useful, please cite:

@article{venugopal2026gtse,
  title   = {Geometric Time Score Estimators: Bridging Self-Predictive
             Representations and Generative Occupancy Models
             for Reinforcement Learning},
  author  = {Aravind Venugopal and others},
  year    = {2026}
}
Aravind Venugopal · Carnegie Mellon University · 2026