NFTR: From Provable Mode-Averaging to Geodesic Subgoal Selection in Offline Goal-Conditioned RL
Summary
This paper proposes NFTR, a method for offline goal-conditioned reinforcement learning that uses normalizing flows for subgoal policies and a triangle-slack reweighting to address optimistic bias and mode collapse in hierarchical implicit Q-learning.
View Cached Full Text
Cached at: 07/10/26, 06:16 AM
# NFTR: From Provable Mode-Averaging to Geodesic Subgoal Selection in Offline Goal-Conditioned RL
Source: [https://arxiv.org/html/2607.07855](https://arxiv.org/html/2607.07855)
Erdemt Bao1,∗Xing Lei2,∗†\{\}^\{2,\*\\,\\dagger\}Jun Chen3 1Huazhong University of Science and Technology2Xi’an Jiaotong University 3University of Electronic Science and Technology of China baoerdemt366@gmail\.comleixing@stu\.xjtu\.edu\.cnjunchen@std\.uestc\.edu\.cn
###### Abstract
Hierarchical Implicit Q\-Learning \(HIQL\), an offline goal\-conditioned RL method, selects subgoals by value\-function advantages alone\. This rule has two coupled failure modes\.*Optimistic bias*treats lucky stochastic outcomes as skillful choices, and*mode collapse*reduces a multi\-modal subgoal distribution to a single Gaussian mean that often falls in unreachable regions\. We proposeNFTR\(NormalizingFlows subgoal policies withTriangle\-slackReweighting\)\. A conditional Normalizing Flow replaces the Gaussian policy, and a closed\-form mode\-averaging result identifies NFs as the minimal generative class for AWR\-based subgoal selection\. A triangle slack score, built on the architectural triangle inequality without relying on distance accuracy, multiplicatively corrects the AWR weight to downweight subgoals whose detour cost exceeds average reachability\. Triangle\-slack vanishes on geodesics in deterministic MDPs and remains a conservative upper bound on composability violation under stochastic dynamics\. The RWDR objective preserves AWR’s population\-level monotonic improvement and admits a three\-term suboptimality decomposition\. Together, these two ingredients yield subgoal selection that provably avoids the Gaussian collapse described above and remains stable under stochastic dynamics\. GitHub page:[https://github\.com/erdemtbao/NFTR](https://github.com/erdemtbao/NFTR)
††footnotetext:\* Equal contribution\.†\\daggerCorresponding author\.### 1Introduction
Offline goal\-conditioned reinforcement learning \(GCRL\)\(Parket al\.,[2025a](https://arxiv.org/html/2607.07855#bib.bib330)\)aims to learn policies that can reach arbitrary goals from static datasets without environment interaction\. This setting is particularly valuable for robotics and autonomous systems where online data collection is expensive or dangerous\. Among recent advances, Hierarchical Implicit Q\-Learning \(HIQL\)\(Parket al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib274)\)has achieved state\-of\-the\-art performance by decomposing goal\-reaching into high\-level subgoal selection and low\-level action execution, using a shared value function to guide both levels\.
Two coupled failures of HIQL motivate this work\. First, because the high\-level subgoal is selected purely by the learned value function, stochastic environments produceoptimistic bias\. A trajectory reaching the goal through favorable randomness is treated identically to one succeeding through repeatable reachability, so off\-path subgoals receive inflated AWR weights\. Second, because the high\-level policy is a unimodal Gaussian, multi\-modal subgoal distributions induced by branching corridors or stochastic outcomes triggermode collapse\. The Gaussian mean is regressed toward a convex combination of mode centers, which often falls inside an unreachable region rather than on any valid path\. Together these failures raise a single question\.Can we learn subgoals that are simultaneously high\-value, reliably reachable, and faithful to multi\-modal path structure?
We answer this question withNFTR\(NormalizingFlow subgoal policies withTriangle\-slackReweighting\)\. Normalizing Flows replace HIQL’s Gaussian high\-level policy, and a triangle\-slack score derived from a built\-in\-triangle\-inequality quasimetric reweights the AWR objective so that geometrically inconsistent subgoals act as a mechanistic proxy for unreliable lucky transitions\. Our contributions are theoretical, methodological, and empirical\. We characterize triangle\-slack on both deterministic and stochastic MDPs, decompose the RWDR suboptimality into value, sampling, and bounded geometric regularization terms, and preserve population\-level monotonic improvement\. NFTR is the first hierarchical offline GCRL method to couple multi\-modal subgoal modeling with geometric composability filtering\. On OGBench\(Parket al\.,[2025a](https://arxiv.org/html/2607.07855#bib.bib330)\), NFTR substantially improves over HIQL across stochastic, stitching, and manipulation tasks\.
### 2Preliminaries
#### 2\.1Offline Goal\-Conditioned Reinforcement Learning
We consider a controlled Markov processℳ=\(𝒮,𝒜,P,γ,μ\)\\mathcal\{M\}=\(\\mathcal\{S\},\\mathcal\{A\},P,\\gamma,\\mu\)with state space𝒮\\mathcal\{S\}, action space𝒜\\mathcal\{A\}, transition dynamicsP\(s′\|s,a\)P\(s^\{\\prime\}\|s,a\), discount factorγ∈\(0,1\)\\gamma\\in\(0,1\), and initial state distributionμ\(s0\)\\mu\(s\_\{0\}\)\. A goal\-conditioned policyπ\(a\|s,g\)\\pi\(a\|s,g\)aims to reach goal stateg∈𝒮g\\in\\mathcal\{S\}from current statess\. The goal\-conditioned value functionVπ\(s,g\)V^\{\\pi\}\(s,g\)represents the expected discounted probability of reaching goalggstarting from statessunder policyπ\\pi:
Vπ\(s,g\)=𝔼π\[∑t=0∞γt𝟏\[st=g\]∣s0=s\]\.V^\{\\pi\}\(s,g\)=\\mathbb\{E\}\_\{\\pi\}\\left\[\\sum\_\{t=0\}^\{\\infty\}\\gamma^\{t\}\\mathbf\{1\}\[s\_\{t\}=g\]\\mid s\_\{0\}=s\\right\]\.\(1\)In offline GCRL, we have access only to a static dataset𝒟=\{\(st,at,st\+1\)\}t=1N\\mathcal\{D\}=\\\{\(s\_\{t\},a\_\{t\},s\_\{t\+1\}\)\\\}\_\{t=1\}^\{N\}collected by an unknown behavior policyβ\\beta, with goals typically sampled from future states via hindsight relabeling\(Andrychowiczet al\.,[2017](https://arxiv.org/html/2607.07855#bib.bib16)\)\. The challenge is to learn a policyπ\\pithat maximizes goal\-reaching performance without additional environment interaction, requiring careful handling of distribution shift between the learned policy and the behavior policy\(Levineet al\.,[2020](https://arxiv.org/html/2607.07855#bib.bib94)\)\.
#### 2\.2HIQL: Hierarchical Implicit Q\-Learning
HIQL\(Parket al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib274)\)factorizes goal\-reaching into a high\-level policyπH\(z∣s,g\)\\pi^\{H\}\(z\\mid s,g\)that proposes the latent codez=ϕ\(\[s;w\]\)z=\\phi\(\[s;w\]\)of akk\-step waypointww, and a low\-level policyπL\(a∣s,z\)\\pi^\{L\}\(a\\mid s,z\)that drives the agent toward it\. The encoderϕ:𝒮×𝒮→ℝd\\phi:\\mathcal\{S\}\\times\\mathcal\{S\}\\to\\mathbb\{R\}^\{d\}is an intermediate layer of the parameterized value functionV\(s,ϕ\(\[s;g\]\)\)V\(s,\\phi\(\[s;g\]\)\), learned end\-to\-end with no separate representation objective; HIQL’s Proposition 5\.1 shows this representation is sufficient for optimal control in deterministic MDPs\.
The shared value function is fitted with the action\-free expectile\-regression variant of IQL\(Kostrikovet al\.,[2022](https://arxiv.org/html/2607.07855#bib.bib245); Parket al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib274)\):
ℒV=𝔼\(s,s′\)∼𝒟,g∼p\(g∣τ\)\[Lτ2\(r\(s,g\)\+γVtgt\(s′,g\)−Vθ\(s,g\)\)\],\\mathcal\{L\}\_\{V\}\\;=\\;\\mathbb\{E\}\_\{\(s,s^\{\\prime\}\)\\sim\\mathcal\{D\},\\,g\\sim p\(g\\mid\\tau\)\}\\left\[L\_\{\\tau\}^\{2\}\\bigl\(r\(s,g\)\+\\gamma V^\{\\mathrm\{tgt\}\}\(s^\{\\prime\},g\)\-V\_\{\\theta\}\(s,g\)\\bigr\)\\right\],\(2\)withLτ2\(u\)=\|τ−𝟏\(u<0\)\|⋅u2L\_\{\\tau\}^\{2\}\(u\)=\|\\tau\-\\mathbf\{1\}\(u<0\)\|\\cdot u^\{2\}forτ∈\(0\.5,1\)\\tau\\in\(0\.5,1\)\. The high\-level policy is then extracted by advantage\-weighted regression\(Penget al\.,[2019](https://arxiv.org/html/2607.07855#bib.bib147)\):
ℒπH=−𝔼\(s,w,g\)∼𝒟\[exp\(αHAenv\(s,w,g\)\)⋅logπH\(ϕ\(\[s;w\]\)\|s,g\)\],\\mathcal\{L\}\_\{\\pi^\{H\}\}\\;=\\;\-\\,\\mathbb\{E\}\_\{\(s,w,g\)\\sim\\mathcal\{D\}\}\\left\[\\exp\\bigl\(\\alpha\_\{H\}A\_\{\\mathrm\{env\}\}\(s,w,g\)\\bigr\)\\cdot\\log\\pi^\{H\}\\bigl\(\\phi\(\[s;w\]\)\\,\\bigm\|\\,s,g\\bigr\)\\right\],\(3\)whereAenv\(s,w,g\)=Vθ\(w,g\)−Vθ\(s,g\)A\_\{\\mathrm\{env\}\}\(s,w,g\)=V\_\{\\theta\}\(w,g\)\-V\_\{\\theta\}\(s,g\)andαH\>0\\alpha\_\{H\}\>0\. Following HIQL’s Section 5\.2, the regression target is the latentz=ϕ\(\[s;w\]\)z=\\phi\(\[s;w\]\)rather than rawww, a choice required for image\-based and consistently helpful for state\-based settings; NFTR keeps it unchanged\.
Two technical hooks for our analysis\.HIQL’s hierarchy is justified by a signal\-to\-noise argument\(Parket al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib274), Proposition 4\.1\)that is silent on the high\-level policy class, leaving the unimodal Gaussian inherited from POR\(Xuet al\.,[2022](https://arxiv.org/html/2607.07855#bib.bib413)\)unanalyzed\. The action\-free objective in[Equation˜2](https://arxiv.org/html/2607.07855#S2.E2)is also unbiased only under deterministic dynamics\(Parket al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib274), Section 3\), and AWR in[Equation˜3](https://arxiv.org/html/2607.07855#S2.E3)exponentially amplifies any resulting value overestimation\.[Sections˜3\.1](https://arxiv.org/html/2607.07855#S3.SS1)and[3\.2](https://arxiv.org/html/2607.07855#S3.SS2)exploit these two openings\.
#### 2\.3Triangle Inequality as a Structural Primitive
We single out one structural property, the triangle inequality, from the broader machinery of quasimetric learning\. Earlier work\(Wanget al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib211); Liuet al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib91); Myerset al\.,[2024](https://arxiv.org/html/2607.07855#bib.bib321),[2025c](https://arxiv.org/html/2607.07855#bib.bib389)\)treats the quasimetric as an*estimation target*, where downstream performance scales with how accurately the distance is recovered\. We instead treat the inequality alone as a*structural prior*on the AWR weight, regardless of whether the underlying distance is recovered accurately\.[Section˜4](https://arxiv.org/html/2607.07855#S4)\(Q3\) shows that an untraineddθd\_\{\\theta\}already attains performance comparable to a trained one, supporting this design\.
###### Definition 1\(Quasimetric\)\.
A functiond:𝒮×𝒮→ℝ≥0d:\\mathcal\{S\}\\times\\mathcal\{S\}\\to\\mathbb\{R\}\_\{\\geq 0\}is aquasimetricif it satisfies: \(1\)d\(s,s\)=0d\(s,s\)=0, \(2\)d\(s,g\)\>0d\(s,g\)\>0fors≠gs\\neq g, and \(3\)d\(s,g\)≤d\(s,w\)\+d\(w,g\)d\(s,g\)\\leq d\(s,w\)\+d\(w,g\)for alls,w,gs,w,g\. Unlike metrics, quasimetrics need not be symmetric\.
In what follows,dθd\_\{\\theta\}stands for a learned distance whose triangle inequality is guaranteed at the architectural level\. The concrete MRN parameterization, training losses, and the trained versus untrained comparison are deferred to[Sections˜3\.4](https://arxiv.org/html/2607.07855#S3.SS4)and[4](https://arxiv.org/html/2607.07855#S4)\. Two consequences of this construction matter for our framework\. First, the inequality holds*architecturally*, so it is available as a structural prior even before any training\. Second, the embedding implicitly captures*average dataset reachability*, which gives the mechanistic basis for the lucky transition filtering described in[Section˜3\.2](https://arxiv.org/html/2607.07855#S3.SS2)\. The first is what we use, the second is what makes the use interpretable\.
#### 2\.4Normalizing Flows \(NFs\)
NFs\(Dinhet al\.,[2014](https://arxiv.org/html/2607.07855#bib.bib367),[2017](https://arxiv.org/html/2607.07855#bib.bib345); Papamakarioset al\.,[2021](https://arxiv.org/html/2607.07855#bib.bib347); Ghugare and Eysenbach,[2025](https://arxiv.org/html/2607.07855#bib.bib343)\)define probability distributions by transforming simple base distributions through invertible functions, enabling both exact density computation and efficient sampling\.
###### Definition 2\(Normalizing Flow\)\.
A Normalizing Flow defines a distributionpθ\(z\)p\_\{\\theta\}\(z\)overz∈ℝdz\\in\\mathbb\{R\}^\{d\}through an invertible transformationfθ:ℝd→ℝdf\_\{\\theta\}:\\mathbb\{R\}^\{d\}\\to\\mathbb\{R\}^\{d\}applied to a base distributionpbase\(ϵ\)p\_\{\\text\{base\}\}\(\\epsilon\):
z=fθ−1\(ϵ\),ϵ∼pbase\(ϵ\)\.z=f\_\{\\theta\}^\{\-1\}\(\\epsilon\),\\quad\\epsilon\\sim p\_\{\\text\{base\}\}\(\\epsilon\)\.\(4\)The density is computed via the change\-of\-variables formula:
logpθ\(z\)=logpbase\(fθ\(z\)\)\+log\|det∂fθ∂z\|\.\\log p\_\{\\theta\}\(z\)=\\log p\_\{\\text\{base\}\}\(f\_\{\\theta\}\(z\)\)\+\\log\\left\|\\det\\frac\{\\partial f\_\{\\theta\}\}\{\\partial z\}\\right\|\.\(5\)
A conditional flow conditions the transformationfθf\_\{\\theta\}on contextccto modelpθ\(z∣c\)p\_\{\\theta\}\(z\\mid c\), which we instantiate with RealNVP\(Dinhet al\.,[2017](https://arxiv.org/html/2607.07855#bib.bib345)\)affine coupling layers in[Section˜3\.4](https://arxiv.org/html/2607.07855#S3.SS4)\.
### 3Method: NFTR
We present NFTR, which addresses HIQL’s limitations through two complementary innovations: a Normalizing Flow high\-level subgoal policy for multi\-modal subgoal distributions \([Section˜3\.1](https://arxiv.org/html/2607.07855#S3.SS1)\), and triangle\-slack composability reweighting for filtering geometrically inconsistent subgoals \([Section˜3\.2](https://arxiv.org/html/2607.07855#S3.SS2)\)\. We then provide theoretical analysis of the combined method \([Section˜3\.3](https://arxiv.org/html/2607.07855#S3.SS3)\) and describe implementation details \([Section˜3\.4](https://arxiv.org/html/2607.07855#S3.SS4)\)\. The overall architecture is illustrated in[Figure˜1](https://arxiv.org/html/2607.07855#S3.F1)\.
Figure 1:Overview of NFTR\.\(a\) Offline trajectories\. \(b\) A Normalizing Flow high\-level policy models a multi\-modal subgoal distribution\. \(c\) A quasimetricdθd\_\{\\theta\}induces the slackΔ\(s,w,g\)=ReLU\(d\(s,w\)\+d\(w,g\)−d\(s,g\)\)\\Delta\(s,w,g\)=\\mathrm\{ReLU\}\(d\(s,w\)\{\+\}d\(w,g\)\{\-\}d\(s,g\)\), which downweights non\-composable subgoals\. \(d\) Execution yields a feasible stitched path\. RWDR combinesAenvA\_\{\\text\{env\}\}fromVθV\_\{\\theta\}andΔ\\Deltafromdθd\_\{\\theta\}to train the high\-level subgoal policy\.#### 3\.1Normalizing Flow High\-Level Subgoal Policy
Two facts about HIQL’s high\-level training set drive the analysis\. The latent codez=ϕ\(\[s;w\]\)z=\\phi\(\[s;w\]\)is the deterministic image of thekk\-step waypointw=st\+kw=s\_\{t\+k\}\(Parket al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib274), Algorithm 1\), and for a fixed\(s,g\)\(s,g\)appearing in many trajectories the empirical distribution ofwwis shaped by trajectory\-level path multiplicity rather than single\-step stochasticity\. Branching corridors, teleporters that randomize landing sites, and observation noise that spreads the same physical waypoint acrossϕ\\phi\-space all produce disjoint waypoint clusters separated by unreachable regions𝒮wall⊂ℝd\\mathcal\{S\}\_\{\\mathrm\{wall\}\}\\subset\\mathbb\{R\}^\{d\}\. We model this as a state\-dependent mixture
p𝒟\(z∣s,g\)=∑m=1M\(s,g\)πm\(s,g\)qm\(z∣s,g\),p\_\{\\mathcal\{D\}\}\(z\\mid s,g\)\\;=\\;\\sum\_\{m=1\}^\{M\(s,g\)\}\\pi\_\{m\}\(s,g\)\\,q\_\{m\}\(z\\mid s,g\),\(6\)with path\-connected, pairwise disjoint component supportssupp\(qm\)\\mathrm\{supp\}\(q\_\{m\}\)\. We treat𝒮wall\\mathcal\{S\}\_\{\\mathrm\{wall\}\}as the empiricalϕ\\phi\-image of the physical unreachable region observed in our visualizations \([Figure˜7](https://arxiv.org/html/2607.07855#A6.F7)\), since HIQL’s representation\-sufficiency\(Parket al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib274), Proposition 5\.1\)is only exact in the deterministic case\.
The next theorem characterizes the regime in which HIQL’s POR\-inherited unimodal Gaussian fails\. To our knowledge it is the first closed\-form characterization of HIQL’s mode\-collapse limitation\.
###### Theorem 3\.1\(Mode\-Averaging of Gaussian High\-Level Subgoal Policies\)\.
LetπθH\(z∣s,g\)=𝒩\(z;μθ\(s,g\),σ2Id\)\\pi^\{H\}\_\{\\theta\}\(z\\mid s,g\)=\\mathcal\{N\}\(z;\\,\\mu\_\{\\theta\}\(s,g\),\\,\\sigma^\{2\}I\_\{d\}\)withσ\>0\\sigma\>0fixed andμθ\\mu\_\{\\theta\}unconstrained, trained by HIQL’s AWR objective
ℒAWR\(θ\)=−𝔼\(s,w,g\)∼𝒟\[eαHAH\(s,w,g\)log𝒩\(ϕ\(\[s;w\]\);μθ\(s,g\),σ2Id\)\],\\mathcal\{L\}^\{\\mathrm\{AWR\}\}\(\\theta\)\\;=\\;\-\\,\\mathbb\{E\}\_\{\(s,w,g\)\\sim\\mathcal\{D\}\}\\left\[e^\{\\alpha\_\{H\}A^\{H\}\(s,w,g\)\}\\,\\log\\mathcal\{N\}\\bigl\(\\phi\(\[s;w\]\);\\,\\mu\_\{\\theta\}\(s,g\),\\,\\sigma^\{2\}I\_\{d\}\\bigr\)\\right\],\(7\)withαH\>0\\alpha\_\{H\}\>0andeαHAHe^\{\\alpha\_\{H\}A^\{H\}\}bounded above and integrable underp𝒟p\_\{\\mathcal\{D\}\}\(enforced by the weight clipping in[Algorithm˜1](https://arxiv.org/html/2607.07855#alg1)\)\. Let[Equation˜6](https://arxiv.org/html/2607.07855#S3.E6)hold withM\(s,g\)≥2M\(s,g\)\\geq 2and writew\(z\)w\(z\)for the deterministic preimage ofz=ϕ\(\[s;w\]\)z=\\phi\(\[s;w\]\)\. Defineps,g⋆\(z\)≔Zs,g−1eαHAH\(s,w\(z\),g\)p𝒟\(z∣s,g\)p^\{\\star\}\_\{s,g\}\(z\)\\coloneqq Z^\{\-1\}\_\{s,g\}e^\{\\alpha\_\{H\}A^\{H\}\(s,w\(z\),g\)\}p\_\{\\mathcal\{D\}\}\(z\\mid s,g\)with normalizerZs,g=𝔼p𝒟\[eαHAH∣s,g\]Z\_\{s,g\}=\\mathbb\{E\}\_\{p\_\{\\mathcal\{D\}\}\}\[e^\{\\alpha\_\{H\}A^\{H\}\}\\mid s,g\]\. The unique minimizer of[Equation˜7](https://arxiv.org/html/2607.07855#S3.E7)inμθ\(s,g\)\\mu\_\{\\theta\}\(s,g\)is
μθ⋆\(s,g\)=𝔼z∼ps,g⋆\[z\]=∑m=1M\(s,g\)π~m\(s,g\)μ~m\(s,g\),\\mu^\{\\star\}\_\{\\theta\}\(s,g\)\\;=\\;\\mathbb\{E\}\_\{z\\sim p^\{\\star\}\_\{s,g\}\}\[z\]\\;=\\;\\sum\_\{m=1\}^\{M\(s,g\)\}\\tilde\{\\pi\}\_\{m\}\(s,g\)\\,\\tilde\{\\mu\}\_\{m\}\(s,g\),\(8\)whereμ~m\\tilde\{\\mu\}\_\{m\}andπ~m\\tilde\{\\pi\}\_\{m\}are the AWR\-tilted modal centers and weights \(full forms in[Section˜D\.1](https://arxiv.org/html/2607.07855#A4.SS1)\)\. Henceμθ⋆\(s,g\)∈conv\{μ~m\(s,g\)\}\\mu^\{\\star\}\_\{\\theta\}\(s,g\)\\in\\mathrm\{conv\}\\\{\\tilde\{\\mu\}\_\{m\}\(s,g\)\\\}\. When the tilted weights produceμθ⋆\(s,g\)∈𝒮wall\\mu^\{\\star\}\_\{\\theta\}\(s,g\)\\in\\mathcal\{S\}\_\{\\mathrm\{wall\}\}, generic for approximately balanced modes separated by the wall, the Gaussian places mass on𝒮wall\\mathcal\{S\}\_\{\\mathrm\{wall\}\}bounded below by a strictly positive constant for everyσ\\sigmain any fixed compact range\.
Figure 2:Geometric illustration of[Theorem˜3\.1](https://arxiv.org/html/2607.07855#S3.Thmtheorem1)\.\(a\)In the symmetric two\-mode caseπ~1≈π~2≈12\\widetilde\{\\pi\}\_\{1\}\\approx\\widetilde\{\\pi\}\_\{2\}\\approx\\tfrac\{1\}\{2\}, the AWR\-optimal Gaussian meanμθ∗\\mu^\{\*\}\_\{\\theta\}from[Equation˜8](https://arxiv.org/html/2607.07855#S3.E8)sits at the midpoint of\[μ~1,μ~2\]\[\\widetilde\{\\mu\}\_\{1\},\\widetilde\{\\mu\}\_\{2\}\]inside𝒮wall\\mathcal\{S\}\_\{\\mathrm\{wall\}\}, and the Gaussian \(green ellipses at multipleσ\\sigma\) leaks irreducible mass onto𝒮wall\\mathcal\{S\}\_\{\\mathrm\{wall\}\}\.\(b\)A conditional NF \([Equation˜9](https://arxiv.org/html/2607.07855#S3.E9)\) places mass on both corridors and drives the wall mass arbitrarily small as capacity grows\(Papamakarioset al\.,[2021](https://arxiv.org/html/2607.07855#bib.bib347)\)\.[Theorem˜3\.1](https://arxiv.org/html/2607.07855#S3.Thmtheorem1)states that the AWR\-optimal Gaussian mean is a fixed convex combination of AWR\-tilted modal centers, falls inside any region those centers straddle, and irreducibly leaks mass into that region;[Figure˜2](https://arxiv.org/html/2607.07855#S3.F2)illustrates this failure on a two\-corridor case alongside the corresponding NF behavior\. The full proof is in[Section˜D\.1](https://arxiv.org/html/2607.07855#A4.SS1)\.
Design\-space implication\.[Theorem˜3\.1](https://arxiv.org/html/2607.07855#S3.Thmtheorem1)forces \(R1\) multi\-modality with state\-dependent mode count, since any unimodal class collapses on[Equation˜6](https://arxiv.org/html/2607.07855#S3.E6)\. AWR training adds two further requirements: \(R2\) exact log\-density, since the exponential weight in[Equation˜7](https://arxiv.org/html/2607.07855#S3.E7)amplifies any density bias byeαHAmaxHe^\{\\alpha\_\{H\}A^\{H\}\_\{\\max\}\}, and \(R3\) single\-pass sampling, since the high\-level policy is queried once perkk\-step option\. Conditional NFs are the minimal class meeting all three:
logπθH\(z∣s,g\)=log𝒩\(fθ\(z;s,g\);0,Id\)\+log\|det∂fθ\(z;s,g\)∂z\|\\log\\pi^\{H\}\_\{\\theta\}\(z\\mid s,g\)\\;=\\;\\log\\mathcal\{N\}\\bigl\(f\_\{\\theta\}\(z;\\,s,g\);\\,0,I\_\{d\}\\bigr\)\\;\+\\;\\log\\left\|\\det\\frac\{\\partial f\_\{\\theta\}\(z;\\,s,g\)\}\{\\partial z\}\\right\|\(9\)gives exact density \(R2\), coupling flows are universal multi\-modal approximators \(R1\)\(Papamakarioset al\.,[2021](https://arxiv.org/html/2607.07855#bib.bib347)\), and one pass throughfθ−1f\_\{\\theta\}^\{\-1\}produces a sample \(R3\)\. Diffusion violates \(R2\) and \(R3\), flow matching violates \(R3\), and fixed\-MMmixtures violate \(R1\) whenM\(s,g\)M\(s,g\)varies\.[Figure˜2](https://arxiv.org/html/2607.07855#S3.F2)illustrates the wall failure on a two\-corridor toy case, and[Figure˜7](https://arxiv.org/html/2607.07855#A6.F7)\([Appendix˜F](https://arxiv.org/html/2607.07855#A6)\) shows the same failure on real learned policies onantmaze\-teleport\-navigate, with the trained HIQL Gaussian spreading diffuse mass across walls and teleporters and the trained NFTR flow concentrating on disjoint corridors and teleport landing sites\. We extend the comparison against flow matching and diffusion in[Section˜F\.1](https://arxiv.org/html/2607.07855#A6.SS1)\. NF\-based methods such as FQL\(Parket al\.,[2025b](https://arxiv.org/html/2607.07855#bib.bib402)\)and NF\-RLBC\(Ghugare and Eysenbach,[2025](https://arxiv.org/html/2607.07855#bib.bib343)\)parameterize action policies and do not subsume our subgoal\-selection setting\.
#### 3\.2Triangle\-Slack Composability Reweighting
Multi\-modal modeling alone does not address optimistic bias\. The AWR advantageAenv\(s,w,g\)=V\(w,g\)−V\(s,g\)A\_\{\\text\{env\}\}\(s,w,g\)=V\(w,g\)\-V\(s,g\)tells us whetherww*appears*closer toggunder the learned value function, but it cannot separate two qualitatively different events that both produce a positive advantage in the dataset\. The first is a subgoal reached along a reliable path\. The second is a subgoal reached via a lucky transition \(a teleporter outcome, an observation\-noise realization\)\. Both inflateAenvA\_\{\\text\{env\}\}, and AWR amplifies them identically throughexp\(αHAenv\)\\exp\(\\alpha\_\{H\}A\_\{\\text\{env\}\}\)\. The root cause is thatVVanswers a sample\-level question, namely “did this subgoal lead to success in this data?”, rather than the population\-level question we actually care about, namely “is this subgoal reliably on the typical path fromsstogg?”\.
Triangle\-slack as a geometric consistency signal\.We introduce triangle\-slack as a geometric consistency signal that identifies composable subgoals independently of value estimates\. Given a learned quasimetric distancedθd\_\{\\theta\}\(detailed in[Section˜3\.4](https://arxiv.org/html/2607.07855#S3.SS4)\), we define the triangle\-slack of subgoalwwfor state\-goal pair\(s,g\)\(s,g\)as
Δ\(s,w,g\)=max\(0,dθ\(s,w\)\+dθ\(w,g\)−dθ\(s,g\)\)\.\\Delta\(s,w,g\)\\;=\\;\\max\\big\(0,\\;d\_\{\\theta\}\(s,w\)\+d\_\{\\theta\}\(w,g\)\-d\_\{\\theta\}\(s,g\)\\big\)\.\(10\)By the triangle inequality property of quasimetrics,Δ≥0\\Delta\\geq 0always holds, withΔ≈0\\Delta\\approx 0whenwwlies on a geodesic path fromsstoggandΔ\>0\\Delta\>0when reachingggviawwrequires a detour compared to the direct path\.[Figure˜3](https://arxiv.org/html/2607.07855#S3.F3)illustrates this geometry: composable waypoints incur near\-zero slack while non\-composable ones produce strictly positive slack indicating a detour\.

Figure 3:Triangle\-slack geometry\.A composable waypointwwapproximately satisfies the triangle equality, i\.e\.,d\(s,w\)\+d\(w,g\)≈d\(s,g\)d\(s,w\)\+d\(w,g\)\\approx d\(s,g\), yielding a small triangle slackΔ\(s,w,g\)≈0\\Delta\(s,w,g\)\\approx 0\(green edges\)\. In contrast, a non\-composable waypointw~\\tilde\{w\}violates this relation, producing a large slackΔ\(s,w~,g\)\>0\\Delta\(s,\\tilde\{w\},g\)\>0\(red dashed edges\), which indicates a detour / poor composability and should be downweighted by RWDR\.We now make these geometric properties precise\. We first formalize the notion of a geodesic subgoal:
###### Definition 3\(Geodesic Subgoal\)\.
A subgoalwwisgeodesicfor\(s,g\)\(s,g\)under quasimetricddifd\(s,g\)=d\(s,w\)\+d\(w,g\)d\(s,g\)=d\(s,w\)\+d\(w,g\)\.
The following proposition characterizes the four key properties of triangle\-slack as a composability signal\.
###### Proposition 3\.2\(Slack Characterization\)\.
For any quasimetricddsatisfying[Definition˜1](https://arxiv.org/html/2607.07855#Thmdefinition1)and any subgoalw∈𝒮w\\in\\mathcal\{S\}:
1. 1\.Δ\(s,w,g\)≥0\\Delta\(s,w,g\)\\geq 0for alls,w,g∈𝒮s,w,g\\in\\mathcal\{S\}\.
2. 2\.Δ\(s,w,g\)=0\\Delta\(s,w,g\)=0if and only ifwwis geodesic for\(s,g\)\(s,g\)\.
3. 3\.Δ\(s,w,g\)\>0\\Delta\(s,w,g\)\>0if and only if reachingggviawwrequires a strict detour, i\.e\.,d\(s,w\)\+d\(w,g\)\>d\(s,g\)d\(s,w\)\+d\(w,g\)\>d\(s,g\)\.
4. 4\.In a deterministic MDP, under the optimal distanced∗\(s,g\)=−logV∗\(s,g\)d^\{\*\}\(s,g\)=\-\\log V^\{\*\}\(s,g\), geodesic subgoals are exactly those on optimal paths\. In a general \(stochastic\) MDP, the multiplicative value decomposition relaxes toV∗\(s,g\)≥V∗\(s,w\)⋅V∗\(w,g\)V^\{\*\}\(s,g\)\\geq V^\{\*\}\(s,w\)\\cdot V^\{\*\}\(w,g\), sod∗\(s,g\)≤d∗\(s,w\)\+d∗\(w,g\)d^\{\*\}\(s,g\)\\leq d^\{\*\}\(s,w\)\+d^\{\*\}\(w,g\)becomes a \(strict\) inequality for off\-pathww, and triangle\-slack acts as a*conservative upper bound*on composability violation\.
The proof is in[Section˜D\.2](https://arxiv.org/html/2607.07855#A4.SS2)\. Parts \(1\) to \(3\) say triangle\-slack vanishes exactly on geodesics, and part \(4\) says it remains a conservative upper bound on composability violation under stochastic dynamics\. The link to lucky\-transition filtering is mechanistic\. Becausedθd\_\{\\theta\}reflects average reachability, lucky subgoals incur inflated detour costs and therefore elevated slack, so low slack is a necessary condition for composability and elevated slack is a strong down\-weighting signal\.
The RWDR objective\.Building on[Equation˜10](https://arxiv.org/html/2607.07855#S3.E10), we combine the value advantage and triangle\-slack penalty into the RWDR weighting scheme:
logw\(s,w,g\)=αH⋅Aenv\(s,w,g\)−κ⋅Δ\(s,w,g\),\\log w\(s,w,g\)\\;=\\;\\alpha\_\{H\}\\cdot A\_\{\\text\{env\}\}\(s,w,g\)\-\\kappa\\cdot\\Delta\(s,w,g\),\(11\)whereκ\>0\\kappa\>0controls the strength of the geometric penalty\. The weightw\(s,w,g\)w\(s,w,g\)is high when the subgoal has both high value advantage \(making progress toward the goal\) and low triangle\-slack \(geometrically consistent with being on\-path\)\. When the two signals conflict—high value but large slack, indicating a lucky transition—RWDR downweights the subgoal, preventing the policy from learning to propose unreliable waypoints\. The final high\-level policy loss becomes:
ℒπH=−𝔼\(s,w,g\)∼𝒟\[w\(s,w,g\)⋅logπNFH\(ϕ\(\[s;w\]\)∣s,g\)\],\\mathcal\{L\}\_\{\\pi^\{H\}\}\\;=\\;\-\\mathbb\{E\}\_\{\(s,w,g\)\\sim\\mathcal\{D\}\}\\left\[w\(s,w,g\)\\cdot\\log\\pi^\{H\}\_\{\\text\{NF\}\}\(\\phi\(\[s;w\]\)\\mid s,g\)\\right\],\(12\)where we apply stop\-gradient to bothVθV\_\{\\theta\}anddθd\_\{\\theta\}when computing weights, treating them as fixed scorers for policy extraction\. This separation ensures stable training by preventing gradients from the policy loss from interfering with value and distance learning\.
The reweighting in[Equation˜11](https://arxiv.org/html/2607.07855#S3.E11)can be equivalently expressed as a multiplicative correction to the AWR weights, which we record as a corollary for later use:
###### Assumption 3\.3\(Geometric Consistency\)\.
The distance functiondθd\_\{\\theta\}satisfies the triangle inequality exactly:
dθ\(s,g\)≤dθ\(s,w\)\+dθ\(w,g\),∀s,w,g∈𝒮\.d\_\{\\theta\}\(s,g\)\\leq d\_\{\\theta\}\(s,w\)\+d\_\{\\theta\}\(w,g\),\\quad\\forall s,w,g\\in\\mathcal\{S\}\.\(13\)This property is guaranteed by the MRN architecture and holds regardless of training\.
###### Corollary 3\.4\(Geometric Regularization Effect\)\.
Under[Section˜3\.2](https://arxiv.org/html/2607.07855#S3.SS2), for any distance functiondθd\_\{\\theta\}satisfying the triangle inequality, RWDR reduces the weight of subgoals with non\-zero slack:
wRWDR\(s,w,g\)=wHIQL\(s,w,g\)⋅exp\(−κΔ\(s,w,g\)\)\.w\_\{\\text\{RWDR\}\}\(s,w,g\)\\;=\\;w\_\{\\text\{HIQL\}\}\(s,w,g\)\\cdot\\exp\\big\(\-\\kappa\\,\\Delta\(s,w,g\)\\big\)\.\(14\)For any subgoal withΔ\(s,w,g\)\>0\\Delta\(s,w,g\)\>0, we havewRWDR\(s,w,g\)<wHIQL\(s,w,g\)w\_\{\\text\{RWDR\}\}\(s,w,g\)<w\_\{\\text\{HIQL\}\}\(s,w,g\)\.
The proof is provided in[Section˜D\.3](https://arxiv.org/html/2607.07855#A4.SS3)\.[Section˜3\.2](https://arxiv.org/html/2607.07855#S3.SS2)formalizes the intuition that RWDR exponentially suppresses lucky subgoals through their geometric inconsistency, with the suppression factor controlled byκ\\kappa\. The local properties established here—geometric definition, slack characterization, and weight\-level suppression—fully describe RWDR as a component\. The system\-level consequences of combining the NF high\-level policy from[Section˜3\.1](https://arxiv.org/html/2607.07855#S3.SS1)with the RWDR objective in[Equation˜12](https://arxiv.org/html/2607.07855#S3.E12)are analyzed in the next section\.
#### 3\.3Theoretical Analysis of NFTR
[Sections˜3\.1](https://arxiv.org/html/2607.07855#S3.SS1)and[3\.2](https://arxiv.org/html/2607.07855#S3.SS2)established two component\-level results: NF parameterization avoids mode\-averaging at the high\-level policy, and triangle\-slack RWDR functions as a geometric composability filter \([Sections˜3\.2](https://arxiv.org/html/2607.07855#S3.SS2)and[3\.2](https://arxiv.org/html/2607.07855#S3.SS2)\)\. We now combine both into system\-level guarantees, under two regularity assumptions\.
###### Assumption 3\.5\(Single\-Policy Concentrability\)\.
There existsCπ<∞C\_\{\\pi\}<\\inftysuch thatdπH,∗\(s,w\)/dβ\(s,w\)≤Cπd^\{\\pi^\{H,\*\}\}\(s,w\)/d^\{\\beta\}\(s,w\)\\leq C\_\{\\pi\}for all\(s,w\)\(s,w\)in the support of the optimal high\-level policyπH,∗\\pi^\{H,\*\}, wheredπd^\{\\pi\}is the state\-subgoal visitation underπ\\pianddβd^\{\\beta\}is the dataset distribution\.
###### Assumption 3\.6\(Value Estimation Quality\)\.
The learned value satisfies𝔼\(s,g\)∼𝒟\[\(Vθ\(s,g\)−V∗\(s,g\)\)2\]≤ϵV\\mathbb\{E\}\_\{\(s,g\)\\sim\\mathcal\{D\}\}\[\(V\_\{\\theta\}\(s,g\)\-V^\{\*\}\(s,g\)\)^\{2\}\]\\leq\\epsilon\_\{V\}\.
Combined with[Section˜3\.2](https://arxiv.org/html/2607.07855#S3.SS2), these yield the following decomposition\.
###### Theorem 3\.7\(RWDR Suboptimality Decomposition\)\.
Assume\|Aenv\|≤Amax\|A\_\{\\mathrm\{env\}\}\|\\leq A\_\{\\max\}anddθ≤Dmaxd\_\{\\theta\}\\leq D\_\{\\max\}\(soΔ≤2Dmax\\Delta\\leq 2D\_\{\\max\}\)\. Under[Sections˜3\.3](https://arxiv.org/html/2607.07855#S3.SS3),[3\.2](https://arxiv.org/html/2607.07855#S3.SS2)and[3\.3](https://arxiv.org/html/2607.07855#S3.SS3), the population minimizerπ^H\\hat\{\\pi\}^\{H\}of the empirical RWDR objective \([Equation˜12](https://arxiv.org/html/2607.07855#S3.E12)\) withnnsamples satisfies, with high probability,
J\(πH,∗\)−J\(π^H\)≤𝒪\(ϵV\)⏟value error\+𝒪\(Cπ𝒞\(Π\)/n\)⏟sampling error\+Rκ\(dθ\)⏟regularization,J\(\\pi^\{H,\*\}\)\-J\(\\hat\{\\pi\}^\{H\}\)\\;\\leq\\;\\underbrace\{\\mathcal\{O\}\(\\sqrt\{\\epsilon\_\{V\}\}\)\}\_\{\\text\{value error\}\}\\;\+\\;\\underbrace\{\\mathcal\{O\}\\bigl\(\\sqrt\{C\_\{\\pi\}\\,\\mathcal\{C\}\(\\Pi\)/n\}\\bigr\)\}\_\{\\text\{sampling error\}\}\\;\+\\;\\underbrace\{R\_\{\\kappa\}\(d\_\{\\theta\}\)\}\_\{\\text\{regularization\}\},\(15\)whereRκ\(dθ\)≔κAmax𝔼\(s,w,g\)∼πH,∗\[Δ\(s,w,g\)\]≤2κAmaxDmaxR\_\{\\kappa\}\(d\_\{\\theta\}\)\\coloneqq\\kappa A\_\{\\max\}\\,\\mathbb\{E\}\_\{\(s,w,g\)\\sim\\pi^\{H,\*\}\}\[\\Delta\(s,w,g\)\]\\leq 2\\kappa A\_\{\\max\}D\_\{\\max\}is the residual bias of the geometric reweighting on optimal subgoals, and𝒞\(Π\)\\mathcal\{C\}\(\\Pi\)is the policy\-class complexity \(log\|Π\|\\log\|\\Pi\|for finiteΠ\\Pi, replaced by Rademacher or covering\-number bounds for continuous parameterizations such as RealNVP\)\.
The proof is in[Section˜D\.4](https://arxiv.org/html/2607.07855#A4.SS4)\. The three terms are IQL value\-estimation error, the standard𝒪\(1/n\)\\mathcal\{O\}\(1/\\sqrt\{n\}\)sampling error, and a geometric regularization that vanishes whendθd\_\{\\theta\}aligns with optimal distances \(sinceΔ=0\\Delta=0on geodesics by[Section˜3\.2](https://arxiv.org/html/2607.07855#S3.SS2)\(2\)\) and is otherwise bounded independently of training, matching the empirical observation that trained and untraineddθd\_\{\\theta\}perform comparably \([Section˜4](https://arxiv.org/html/2607.07855#S4)\)\. Together with[Theorem˜3\.1](https://arxiv.org/html/2607.07855#S3.Thmtheorem1), this characterizes how NFTR’s two components combine: the NF makesπ^H\\hat\{\\pi\}^\{H\}realizable, RWDR controls which subgoals dominate the minimization viaRκ\(dθ\)R\_\{\\kappa\}\(d\_\{\\theta\}\)\.
###### Proposition 3\.8\(Population\-Level Monotonic Improvement\)\.
Assuming exact weighted\-MLE optimization overΠ\\Pi, the RWDR objective inherits AWR’s monotonic improvement: for anyπoldH∈Π\\pi^\{H\}\_\{\\mathrm\{old\}\}\\in\\Piand the exact weighted\-MLE solutionπnewH\\pi^\{H\}\_\{\\mathrm\{new\}\},
KL\(π𝒟H,∗∥πnewH\)≤KL\(π𝒟H,∗∥πoldH\),\\mathrm\{KL\}\(\\pi^\{H,\*\}\_\{\\mathcal\{D\}\}\\,\\\|\\,\\pi^\{H\}\_\{\\mathrm\{new\}\}\)\\;\\leq\\;\\mathrm\{KL\}\(\\pi^\{H,\*\}\_\{\\mathcal\{D\}\}\\,\\\|\\,\\pi^\{H\}\_\{\\mathrm\{old\}\}\),\(16\)whereπ𝒟H,∗\\pi^\{H,\*\}\_\{\\mathcal\{D\}\}is the RWDR\-weighted in\-distribution optimum\.
The proof is in[Section˜D\.5](https://arxiv.org/html/2607.07855#A4.SS5)\. Like all AWR\-based methods \(HIQL, SAW, OTA\),[Section˜3\.3](https://arxiv.org/html/2607.07855#S3.SS3)does not transfer verbatim to SGD on a non\-convex RealNVP parameterization, a gap that originates fromπH\\pi^\{H\}rather than from RWDR; empirically we observe stable, near\-monotonically decreasing training loss across all tasks and seeds \([Section˜F\.6](https://arxiv.org/html/2607.07855#A6.SS6)\)\.
#### 3\.4NFTR Algorithm
NFTR alternates per step an IQL value update, an MRN distance update, and a weighted\-MLE update ofπNFH\\pi^\{H\}\_\{\\mathrm\{NF\}\}together with the low\-level AWR actor\. The high\-level update uses the RWDR weight from[Equation˜11](https://arxiv.org/html/2607.07855#S3.E11), combiningAenvA\_\{\\mathrm\{env\}\}with the triangle slackΔ\\Deltafrom the architecturally inequality\-preservingdθd\_\{\\theta\}\. We parameterizedθd\_\{\\theta\}with an MRN\(Liuet al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib91)\)trained by a contrastive plus Bellman\-consistency loss, andπNFH\\pi^\{H\}\_\{\\mathrm\{NF\}\}withK=4K\{=\}4RealNVP coupling layers\. The total objective is
ℒ=ℒV\+ℒπL\+ℒπH\+λdℒd,\\mathcal\{L\}\\;=\\;\\mathcal\{L\}\_\{V\}\+\\mathcal\{L\}\_\{\\pi^\{L\}\}\+\\mathcal\{L\}\_\{\\pi^\{H\}\}\+\\lambda\_\{d\}\\mathcal\{L\}\_\{d\},\(17\)withℒV\\mathcal\{L\}\_\{V\}the IQL expectile loss \([Equation˜2](https://arxiv.org/html/2607.07855#S2.E2)\),ℒπL\\mathcal\{L\}\_\{\\pi^\{L\}\}the low\-level AWR loss,ℒπH\\mathcal\{L\}\_\{\\pi^\{H\}\}the RWDR\-weighted NF loss \([Equation˜12](https://arxiv.org/html/2607.07855#S3.E12)\), andℒd\\mathcal\{L\}\_\{d\}the auxiliary MRN distance loss\. For numerical stability we apply slack clippingΔ←min\(Δ,Δmax\)\\Delta\\leftarrow\\min\(\\Delta,\\Delta\_\{\\max\}\), weight clippingw←min\(w,100\)w\\leftarrow\\min\(w,100\), and per\-batch normalization\. The RWDR coefficientκ\\kappais tuned per task on a held\-out validation split, withκ∈\{0,0\.5\}\\kappa\\in\\\{0,0\.5\\\}on deterministic stitching,κ∈\{1\.0,2\.0\}\\kappa\\in\\\{1\.0,2\.0\\\}on teleport and noisy manipulation, and the full sweep reported in[Table˜12](https://arxiv.org/html/2607.07855#A6.T12); main\-table results use these per\-task optima\. Full pseudocode and hyperparameters are in[Appendices˜C](https://arxiv.org/html/2607.07855#A3)and[E](https://arxiv.org/html/2607.07855#A5)\.
### 4Experiments
We evaluate NFTR on OGBench\(Parket al\.,[2025a](https://arxiv.org/html/2607.07855#bib.bib330)\), focusing on three scenarios where HIQL’s limitations are most pronounced: \(1\) stochastic environments with random transitions, \(2\) stitching tasks requiring trajectory composition, and \(3\) manipulation tasks with complex dynamics\.
#### 4\.1Experimental Setup
We evaluate on OGBench’s locomotion \(PointMaze, AntMaze\) and manipulation \(Cube, Scene\) suites, covering the task categoriesnavigate\(standard goal\-reaching\),stitch\(short trajectory segments that must be composed\),teleport\(stochastic dynamics with random teleportation\),explore\(low\-quality exploratory data\), andplay/noisy\(manipulation under varying observation noise\)\. We compare against hierarchical methods HIQL\(Parket al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib274)\), SAW\(Zhou and Kao,[2025](https://arxiv.org/html/2607.07855#bib.bib352)\), OTA\(Ahnet al\.,[2025](https://arxiv.org/html/2607.07855#bib.bib351)\), flat value\- and distance\-based methods QRL\(Wanget al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib211)\), CRL\(Eysenbachet al\.,[2022](https://arxiv.org/html/2607.07855#bib.bib45)\), TMD\(Myerset al\.,[2025c](https://arxiv.org/html/2607.07855#bib.bib389)\), flow\-based methods GCFQL and H\-GCFQL\(Parket al\.,[2025b](https://arxiv.org/html/2607.07855#bib.bib402)\), and NF\-based methods GC\-NF\-RLBC and H\-GC\-NF\-RLBC\(Ghugare and Eysenbach,[2025](https://arxiv.org/html/2607.07855#bib.bib343)\)\. All success rates \(%\) are averaged over 5 test\-time goals and 4 seeds\.
#### 4\.2Main Results
Table 1:OGBench Locomotion Results\.Average success rate \(%\) on stochastic and stitching tasks\. NFTR achieves the best or second\-best result on all reported tasks, with the largest gains on teleport and medium\-stitch settings where optimistic bias and multi\-modal subgoals co\-occur\. NFTR significantly outperforms HIQL on teleport and stitch tasks, validating our approach for handling optimistic bias and multi\-modal subgoals\. Per row, the best result is𝐨𝐫𝐚𝐧𝐠𝐞𝐛𝐨𝐥𝐝\\mathbf\{orangebold\}and the second\-best isunderlined¯\\underline\{underlined\}\.Stochastic, stitching, and manipulation\.[Tables˜1](https://arxiv.org/html/2607.07855#S4.T1)and[3](https://arxiv.org/html/2607.07855#S4.T3)jointly cover the three regimes targeted by NFTR\. On teleport navigation and stitching \(PointMaze and AntMaze\), triangle\-slack supplies an independent geometric signal that the value function alone cannot provide, since the MRN reflects average reachability rather than lucky outliers, and lucky subgoals therefore incur elevated slack\. On medium stitching, the NF captures the disconnected subgoal clusters around trajectory endpoints while triangle\-slack enforces the additive distance property required for coherent composition, with teleport\-stitch combining both effects simultaneously\. On manipulation, the multi\-modality from different grasp strategies and approach angles is captured by the NF, while RWDR filters subgoals whose elevated slack reflects favorable measurement realizations under observation noise\. The pattern is consistent with the mechanistic account in[Sections˜3\.2](https://arxiv.org/html/2607.07855#S3.SS2)and[3\.3](https://arxiv.org/html/2607.07855#S3.SS3), where PointMaze isolates the geometric signal more cleanly and AntMaze’s higher\-dimensional locomotion partially obscures it\. Replacing the low\-level Gaussian with an additional NF \(NF2\-NFTR,[Table˜3](https://arxiv.org/html/2607.07855#S4.T3)\) consistently underperforms NFTR by 2\.6 to 8\.3 pp, validating placing the NF only at the high level\.
Table 2:OGBench Manipulation Results\.Success rate \(%\) on cube and scene tasks\. NFTR consistently improves over HIQL, with particularly large gains on noisy datasets\. Per row, the best result is𝐨𝐫𝐚𝐧𝐠𝐞𝐛𝐨𝐥𝐝\\mathbf\{orangebold\}and the second\-best isunderlined¯\\underline\{underlined\}\.
Table 3:Ablation on Hierarchical Policy\.Success rate \(%\) with full NFTR compared to replacing both levels with Normalizing Flows \(NF2\-NFTR\)\. Per row, the best result is𝐨𝐫𝐚𝐧𝐠𝐞𝐛𝐨𝐥𝐝\\mathbf\{orangebold\}\.
Comparison with distance\-based methods\.TMD, QRL, and CRL excel where precise reachability or robust contrastive value estimation is the bottleneck, especially in high\-dimensional flat control\. NFTR is complementary\. It uses distance as a geometric scorer inside a hierarchy, which helps most when multi\-modal subgoals and stochastic transitions co\-occur\.
#### 4\.3Ablation Studies
We conduct ablation studies to understand the contribution of each component in NFTR\. Results are presented in Q&A format for clarity\.
Q1: Does the Normalizing Flows policy improve over Gaussian?
A1:Yes, substantially\.[Figure˜5](https://arxiv.org/html/2607.07855#S4.F5)shows that adding the NF policy alone \(B1: NF\-HIQL\) yields notable improvements over HIQL \(B0\) across all four teleport environments\. The most striking gain appears onpm\-tel\-navwhere B1 more than triples B0’s performance\. These gains confirm that multi\-modal subgoal modeling addresses a fundamental limitation of Gaussian policies\. When valid subgoals form disconnected clusters around corridor entrances or teleporter exits, Gaussian policies average across modes and propose invalid subgoals located in obstacle regions between the valid clusters\.
Figure 4:Ablation: Component Addition\.B0=HIQL baseline, B1=NF\-HIQL \(NFs policy only\), A0=full NFTR, A1=no RWDR \(κ=0\\kappa=0\), A2=no distance training, A3=no Bellman loss, A4=no weight normalization\. Results show success rate \(%\) on four teleport tasks\.
Figure 5:Ablation: NF vs Gaussian\.Comparing policy architectures \(Gaussian vs NFs\) combined with distance learning configurations \(with/without trained distance\) and RWDR\. Results show success rate \(%\) on four tasks\.
Q2: Does RWDR improve over value\-only weighting?
A2:Yes, particularly on stitching tasks\. Comparing A0 \(full NFTR\) with A1 \(κ=0\\kappa=0\) in[Figure˜5](https://arxiv.org/html/2607.07855#S4.F5), removing RWDR notably degrades performance onpm\-tel\-stitch\. Stitching requires combining trajectory segments, and the dataset contains transitions where subgoals were reached through non\-repeatable lucky sequences\. The triangle\-slack penalty identifies these as geometrically inconsistent because the distance network trained on average behavior does not support such unreliable paths\.
Q3: Is distance network training necessary?
A3:[Figure˜5](https://arxiv.org/html/2607.07855#S4.F5)compares trained \(A0\) versus untrained \(A2\) configurations\. The performance difference remains modest across all tasks, with A2 achieving comparable or slightly better results\. This suggests that the MRN architecture’s built\-in triangle inequality is the primary source of RWDR’s effectiveness rather than precise distance estimation\. Removing the Bellman loss \(A3\) similarly shows minimal impact\. Weight normalization \(A4\) provides numerical stability by preventing extreme weights from dominating updates, with its removal causing performance drops onpm\-tel\-navand increased variance across seeds\.
Q4: How does the NF compare to a Gaussian across different configurations?
A4:[Figure˜5](https://arxiv.org/html/2607.07855#S4.F5)shows that the NF consistently outperforms the Gaussian regardless of distance learning configuration\. The largest gap appears onpm\-tel\-navandpm\-med\-stitchwhere both NF variants dramatically outperform both Gaussian variants\. This confirms that when subgoals form multiple disconnected clusters, no weighting scheme can compensate for a unimodal policy placing its mean in invalid regions\. The NF architecture directly represents multi\-modal structure, enabling effective subgoal selection even when valid clusters are well\-separated by obstacles\.
Table 4:Ablation: RWDR Coefficientκ\\kappa\.Sensitivity analysis showing robustness acrossκ∈\[0\.5,2\.0\]\\kappa\\in\[0\.5,2\.0\]withκ=1\.0\\kappa\{=\}1\.0optimal for stochastic tasks\. Per column \(i\.e\., per environment\), the bestκ\\kappais𝐨𝐫𝐚𝐧𝐠𝐞𝐛𝐨𝐥𝐝\\mathbf\{orangebold\}and the second\-best isunderlined¯\\underline\{underlined\}\.Q5: How sensitive is performance to the RWDR coefficientκ\\kappa?
A5:[Table˜4](https://arxiv.org/html/2607.07855#S4.T4)shows robustness acrossκ∈\[0\.5,2\.0\]\\kappa\\in\[0\.5,2\.0\]\. The optimum isκ=1\.0\\kappa=1\.0for stochastic tasks, where geometric filtering provides the greatest benefit\. Onpm\-med\-stitch,κ=0\\kappa=0achieves the best performance, as the NF policy alone handles multi\-modal structure without geometric filtering\. Oncube\-play, higherκ\\kappaimproves performance, showing that stronger filtering removes noisy candidates when the distance network accurately captures geometry in these structured manipulation environments\.
### 5Conclusion
We presented NFTR, which addresses HIQL’s mode collapse and optimistic bias in stochastic offline GCRL through a Normalizing Flow high\-level policy and triangle\-slack reweighting\. The combined system admits a three\-term suboptimality decomposition \([Theorem˜3\.7](https://arxiv.org/html/2607.07855#S3.Thmtheorem7)\) and inherits AWR’s population\-level monotonic improvement \([Section˜3\.3](https://arxiv.org/html/2607.07855#S3.SS3)\)\. Empirical gains on OGBench concentrate where both failure modes co\-occur and recede where neither dominates\.
Limitations and Future Work\.On very long\-horizon \(antmaze\-giant\-stitch\) and high\-DoF contact\-rich locomotion \(humanoidmaze\), the bottleneck shifts to long\-horizon planning or physical realizability of NF\-sampled modes, where temporal\-abstraction methods such as OTA dominate\. The link between triangle\-slack and stochastic invalidity is mechanistic rather than a tight bound, and[Section˜3\.3](https://arxiv.org/html/2607.07855#S3.SS3)is a population\-level statement that does not transfer verbatim to SGD on non\-convex parameterizations\. Combining NFTR with temporal abstraction and tightening the geometric\-stochastic link are natural next steps\.
### References
- \[1\]\(2025\)Option\-aware temporally abstracted value for offline goal\-conditioned reinforcement learning\.arXiv preprint arXiv:2505\.12737\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1),[Appendix A](https://arxiv.org/html/2607.07855#A1.p4.1),[§4\.1](https://arxiv.org/html/2607.07855#S4.SS1.p1.1)\.
- \[2\]D\. Akimov, V\. Kurenkov, A\. Nikulin, D\. Tarasov, and S\. Kolesnikov\(2022\)Let offline RL flow: training conservative agents in the latent space of normalizing flows\.In3rd Offline RL Workshop: Offline RL as a ”Launchpad”,Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p3.1)\.
- \[3\]M\. Andrychowicz, F\. Wolski, A\. Ray, J\. Schneider, R\. Fong, P\. Welinder, B\. McGrew, J\. Tobin, O\. Pieter Abbeel, and W\. Zaremba\(2017\)Hindsight experience replay\.Advances in neural information processing systems30\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1),[§2\.1](https://arxiv.org/html/2607.07855#S2.SS1.p1.16)\.
- \[4\]S\. Baek, T\. Park, J\. Park, S\. Oh, and Y\. Kim\(2025\)Graph\-assisted stitching for offline hierarchical reinforcement learning\.InProceedings of the 42nd International Conference on Machine Learning \(ICML\),Proceedings of Machine Learning Research, Vol\.267,pp\. 2391–2408\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[5\]M\. Bagatella, M\. Albaba, J\. Hübotter, G\. Martius, and A\. Krause\(2025\)Test\-time offline reinforcement learning on goal\-related experience\.InProceedings of the 42nd International Conference on Machine Learning \(ICML\),Proceedings of Machine Learning Research, Vol\.267\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[6\]J\. Brahmanage, J\. Ling, and A\. Kumar\(2023\)Flowpg: action\-constrained policy gradient with normalizing flows\.Advances in Neural Information Processing Systems36,pp\. 20118–20132\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p3.1)\.
- \[7\]C\. Chao, C\. Feng, W\. Sun, C\. Lee, S\. See, and C\. Lee\(2024\)Maximum entropy reinforcement learning via energy\-based normalizing flow\.Advances in Neural Information Processing Systems37,pp\. 56136–56165\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p3.1)\.
- \[8\]L\. Dinh, D\. Krueger, and Y\. Bengio\(2014\)Nice: non\-linear independent components estimation\.arXiv preprint arXiv:1410\.8516\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p3.1),[§2\.4](https://arxiv.org/html/2607.07855#S2.SS4.p1.1)\.
- \[9\]L\. Dinh, J\. Sohl\-Dickstein, and S\. Bengio\(2017\)Density estimation using real NVP\.InInternational Conference on Learning Representations,Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p3.1),[§2\.4](https://arxiv.org/html/2607.07855#S2.SS4.p1.1),[§2\.4](https://arxiv.org/html/2607.07855#S2.SS4.p2.3)\.
- \[10\]B\. Eysenbach, V\. Myers, R\. Salakhutdinov, and S\. Levine\(2025\)Inference via interpolation: contrastive representations provably enable planning and inference\.Advances in Neural Information Processing Systems37,pp\. 58901–58928\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[11\]B\. Eysenbach, T\. Zhang, S\. Levine, and R\. R\. Salakhutdinov\(2022\)Contrastive learning as goal\-conditioned reinforcement learning\.Advances in Neural Information Processing Systems35,pp\. 35603–35620\.Cited by:[§4\.1](https://arxiv.org/html/2607.07855#S4.SS1.p1.1)\.
- \[12\]R\. Ghugare and B\. Eysenbach\(2025\)Normalizing flows are capable models for rl\.arXiv preprint arXiv:2505\.23527\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p3.1),[§D\.5](https://arxiv.org/html/2607.07855#A4.SS5.13.p13.3),[§F\.5](https://arxiv.org/html/2607.07855#A6.SS5.p1.1),[§2\.4](https://arxiv.org/html/2607.07855#S2.SS4.p1.1),[§3\.1](https://arxiv.org/html/2607.07855#S3.SS1.p4.5),[§4\.1](https://arxiv.org/html/2607.07855#S4.SS1.p1.1)\.
- \[13\]V\. Giammarino, R\. Ni, and A\. H\. Qureshi\(2025\)Physics\-informed value learner for offline goal\-conditioned reinforcement learning\.arXiv preprint arXiv:2509\.06782\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1),[Appendix A](https://arxiv.org/html/2607.07855#A1.p4.1)\.
- \[14\]D\. Haramati, C\. Qi, T\. Daniel, A\. Zhang, A\. Tamar, and G\. Konidaris\(2026\)Hierarchical entity\-centric reinforcement learning with factored subgoal diffusion\.InInternational Conference on Learning Representations \(ICLR\),Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[15\]M\. Hong, M\. Kang, and S\. Oh\(2023\)Diffused task\-agnostic milestone planner\.Advances in Neural Information Processing Systems36,pp\. 387–405\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[16\]V\. Jain and S\. Ravanbakhsh\(2024\)Learning to reach goals via diffusion\.InInternational Conference on Machine Learning,pp\. 21170–21195\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[17\]K\. Ke, Q\. Lin, Z\. Liu, S\. He, and C\. Yu\(2025\)Conservative offline goal\-conditioned implicit V\-learning\.InProceedings of the 42nd International Conference on Machine Learning \(ICML\),Proceedings of Machine Learning Research, Vol\.267,pp\. 29591–29607\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[18\]D\. P\. Kingma and P\. Dhariwal\(2018\)Glow: generative flow with invertible 1x1 convolutions\.Advances in neural information processing systems31\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p3.1)\.
- \[19\]I\. Kostrikov, A\. Nair, and S\. Levine\(2022\)Offline reinforcement learning with implicit q\-learning\.InInternational Conference on Learning Representations,Cited by:[§2\.2](https://arxiv.org/html/2607.07855#S2.SS2.p2.7)\.
- \[20\]K\. Lee and J\. Choi\(2025\)State\-covering trajectory stitching for diffusion planners\.InAdvances in Neural Information Processing Systems \(NeurIPS\),Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[21\]X\. Lei, W\. Yang, K\. Ke, S\. Yang, X\. Zhang, J\. Pajarinen, and D\. Wang\(2025\)GCHR: goal\-conditioned hindsight regularization for sample\-efficient reinforcement learning\.arXiv preprint arXiv:2508\.06108\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[22\]S\. Levine, A\. Kumar, G\. Tucker, and J\. Fu\(2020\)Offline reinforcement learning: tutorial, review, and perspectives on open problems\.arXiv preprint arXiv:2005\.01643\.Cited by:[§2\.1](https://arxiv.org/html/2607.07855#S2.SS1.p1.16)\.
- \[23\]B\. Liu, Y\. Feng, Q\. Liu, and P\. Stone\(2023\)Metric residual network for sample efficient goal\-conditioned reinforcement learning\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.37,pp\. 8799–8806\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p2.1),[§C\.1](https://arxiv.org/html/2607.07855#A3.SS1.p1.1),[§2\.3](https://arxiv.org/html/2607.07855#S2.SS3.p1.1),[§3\.4](https://arxiv.org/html/2607.07855#S3.SS4.p1.7)\.
- \[24\]Y\. Luo, U\. A\. Mishra, Y\. Du, and D\. Xu\(2025\)Generative trajectory stitching through diffusion composition\.arXiv preprint arXiv:2503\.05153\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[25\]Y\. J\. Ma, J\. Yan, D\. Jayaraman, and O\. Bastani\(2022\)How far i’ll go: offline goal\-conditioned reinforcement learning viaff\-advantage regression\.arXiv preprint arXiv:2206\.03023\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[26\]V\. Myers, C\. Ji, and B\. Eysenbach\(2025\)Horizon generalization in reinforcement learning\.InInternational Conference on Learning Representations \(ICLR\),Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[27\]V\. Myers, B\. C\. Zheng, B\. Eysenbach, and S\. Levine\(2025\)Offline goal\-conditioned reinforcement learning with quasimetric representations\.InAdvances in Neural Information Processing Systems \(NeurIPS\),Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[28\]V\. Myers, B\. Zheng, B\. Eysenbach, and S\. Levine\(2025\)Offline goal\-conditioned reinforcement learning with quasimetric representations\.InThe Thirty\-ninth Annual Conference on Neural Information Processing Systems,Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1),[Appendix A](https://arxiv.org/html/2607.07855#A1.p2.1),[§2\.3](https://arxiv.org/html/2607.07855#S2.SS3.p1.1),[§4\.1](https://arxiv.org/html/2607.07855#S4.SS1.p1.1)\.
- \[29\]V\. Myers, C\. Zheng, A\. Dragan, S\. Levine, and B\. Eysenbach\(2024\)Learning temporal distances: contrastive successor features can provide a metric structure for decision\-making\.arXiv preprint arXiv:2406\.17098\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1),[Appendix A](https://arxiv.org/html/2607.07855#A1.p2.1),[§2\.3](https://arxiv.org/html/2607.07855#S2.SS3.p1.1)\.
- \[30\]E\. Opryshko, J\. Quan, C\. Voelcker, Y\. Du, and I\. Gilitschenski\(2025\)Test\-time graph search for goal\-conditioned reinforcement learning\.arXiv preprint arXiv:2510\.07257\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[31\]G\. Papamakarios, E\. Nalisnick, D\. J\. Rezende, S\. Mohamed, and B\. Lakshminarayanan\(2021\)Normalizing flows for probabilistic modeling and inference\.Journal of Machine Learning Research22\(57\),pp\. 1–64\.Cited by:[§2\.4](https://arxiv.org/html/2607.07855#S2.SS4.p1.1),[Figure 2](https://arxiv.org/html/2607.07855#S3.F2),[Figure 2](https://arxiv.org/html/2607.07855#S3.F2.12.6.8),[§3\.1](https://arxiv.org/html/2607.07855#S3.SS1.p4.5)\.
- \[32\]S\. Park, K\. Frans, B\. Eysenbach, and S\. Levine\(2025\)OGBench: benchmarking offline goal\-conditioned rl\.InInternational Conference on Learning Representations \(ICLR\),Cited by:[§1](https://arxiv.org/html/2607.07855#S1.p1.1),[§1](https://arxiv.org/html/2607.07855#S1.p3.1),[§4](https://arxiv.org/html/2607.07855#S4.p1.1)\.
- \[33\]S\. Park, D\. Ghosh, B\. Eysenbach, and S\. Levine\(2023\)HIQL: offline goal\-conditioned RL with latent states as actions\.InThirty\-seventh Conference on Neural Information Processing Systems,Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1),[§1](https://arxiv.org/html/2607.07855#S1.p1.1),[§2\.2](https://arxiv.org/html/2607.07855#S2.SS2.p1.7),[§2\.2](https://arxiv.org/html/2607.07855#S2.SS2.p2.7),[§2\.2](https://arxiv.org/html/2607.07855#S2.SS2.p3.1),[§3\.1](https://arxiv.org/html/2607.07855#S3.SS1.p1.10),[§3\.1](https://arxiv.org/html/2607.07855#S3.SS1.p1.7),[§4\.1](https://arxiv.org/html/2607.07855#S4.SS1.p1.1)\.
- \[34\]S\. Park, T\. Kreiman, and S\. Levine\(2024\)Foundation policies with hilbert representations\.arXiv preprint arXiv:2402\.15567\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[35\]S\. Park, Q\. Li, and S\. Levine\(2025\)Flow q\-learning\.arXiv preprint arXiv:2502\.02538\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p3.1),[§3\.1](https://arxiv.org/html/2607.07855#S3.SS1.p4.5),[§4\.1](https://arxiv.org/html/2607.07855#S4.SS1.p1.1)\.
- \[36\]X\. B\. Peng, A\. Kumar, G\. Zhang, and S\. Levine\(2019\)Advantage\-weighted regression: simple and scalable off\-policy reinforcement learning\.arXiv preprint arXiv:1910\.00177\.Cited by:[§D\.4](https://arxiv.org/html/2607.07855#A4.SS4.6.p6.2),[§2\.2](https://arxiv.org/html/2607.07855#S2.SS2.p2.2)\.
- \[37\]P\. Rashidinejad, B\. Zhu, C\. Ma, J\. Jiao, and S\. Russell\(2021\)Bridging offline reinforcement learning and imitation learning: a tale of pessimism\.InAdvances in Neural Information Processing Systems,A\. Beygelzimer, Y\. Dauphin, P\. Liang, and J\. W\. Vaughan \(Eds\.\),Cited by:[§D\.4](https://arxiv.org/html/2607.07855#A4.SS4.8.p8.3)\.
- \[38\]M\. Reuss, M\. Li, X\. Jia, and R\. Lioutikov\(2023\)Goal\-conditioned imitation learning using score\-based diffusion policies\.arXiv preprint arXiv:2304\.02532\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[39\]H\. Sikchi, R\. Chitnis, A\. Touati, A\. Geramifard, A\. Zhang, and S\. Niekum\(2024\)Score models for offline goal\-conditioned reinforcement learning\.InThe Twelfth International Conference on Learning Representations,Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[40\]A\. Singh, H\. Liu, G\. Zhou, A\. Yu, N\. Rhinehart, and S\. Levine\(2020\)Parrot: data\-driven behavioral priors for reinforcement learning\.arXiv preprint arXiv:2011\.10024\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p3.1)\.
- \[41\]M\. Wang, R\. Yang, X\. Chen, H\. Sun, M\. Fang, and G\. Montana\(2025\)GOPlan: goal\-conditioned offline reinforcement learning by planning with learned models\.InInternational Conference on Learning Representations \(ICLR\),Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[42\]T\. Wang, A\. Torralba, P\. Isola, and A\. Zhang\(2023\)Optimal goal\-reaching reinforcement learning via quasimetric learning\.InInternational Conference on Machine Learning,pp\. 36411–36430\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1),[Appendix A](https://arxiv.org/html/2607.07855#A1.p2.1),[§2\.3](https://arxiv.org/html/2607.07855#S2.SS3.p1.1),[§4\.1](https://arxiv.org/html/2607.07855#S4.SS1.p1.1)\.
- \[43\]P\. N\. Ward, A\. Smofsky, and A\. J\. Bose\(2019\)Improving exploration in soft\-actor\-critic with normalizing flows policies\.arXiv preprint arXiv:1906\.02771\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p3.1)\.
- \[44\]H\. Xu, L\. Jiang, L\. Jianxiong, and X\. Zhan\(2022\)A policy\-guided imitation approach for offline reinforcement learning\.Advances in neural information processing systems35,pp\. 4085–4098\.Cited by:[§2\.2](https://arxiv.org/html/2607.07855#S2.SS2.p3.1)\.
- \[45\]H\. Xu, S\. Li, H\. Sikchi, S\. Niekum, and A\. Zhang\(2025\)An optimal discriminator weighted imitation perspective for reinforcement learning\.InInternational Conference on Learning Representations \(ICLR\),Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[46\]Y\. Yoon, G\. Lee, S\. Ahn, and J\. Ok\(2024\)Breadth\-first exploration on adaptive grid for reinforcement learning\.InForty\-first International Conference on Machine Learning,Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1)\.
- \[47\]B\. Zheng, V\. Myers, B\. Eysenbach, and S\. Levine\(2026\)Scaling goal\-conditioned reinforcement learning with multistep quasimetric distances\.InThe Fourteenth International Conference on Learning Representations,Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p2.1)\.
- \[48\]J\. L\. Zhou and J\. C\. Kao\(2025\)Flattening hierarchies with policy bootstrapping\.arXiv preprint arXiv:2505\.14975\.Cited by:[Appendix A](https://arxiv.org/html/2607.07855#A1.p1.1),[Appendix A](https://arxiv.org/html/2607.07855#A1.p4.1),[§4\.1](https://arxiv.org/html/2607.07855#S4.SS1.p1.1)\.
## Appendix
### Appendix ARelated Work
Offline Goal\-Conditioned RL\.Offline GCRL aims to learn goal\-reaching policies from static datasets without environment interaction\. Existing approaches can be categorized into several paradigms: goal\-conditioned hindsight relabeling\(Andrychowiczet al\.,[2017](https://arxiv.org/html/2607.07855#bib.bib16); Keet al\.,[2025](https://arxiv.org/html/2607.07855#bib.bib403); Wanget al\.,[2025](https://arxiv.org/html/2607.07855#bib.bib406)\), hierarchical or subgoal\-based learning\(Parket al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib274); Ahnet al\.,[2025](https://arxiv.org/html/2607.07855#bib.bib351); Giammarinoet al\.,[2025](https://arxiv.org/html/2607.07855#bib.bib353); Zhou and Kao,[2025](https://arxiv.org/html/2607.07855#bib.bib352); Leiet al\.,[2025](https://arxiv.org/html/2607.07855#bib.bib372); Haramatiet al\.,[2026](https://arxiv.org/html/2607.07855#bib.bib411)\), graph\-based planning\(Yoonet al\.,[2024](https://arxiv.org/html/2607.07855#bib.bib319); Eysenbachet al\.,[2025](https://arxiv.org/html/2607.07855#bib.bib329); Baeket al\.,[2025](https://arxiv.org/html/2607.07855#bib.bib404); Luoet al\.,[2025](https://arxiv.org/html/2607.07855#bib.bib342)\), metric learning\(Wanget al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib211); Parket al\.,[2024](https://arxiv.org/html/2607.07855#bib.bib320); Myerset al\.,[2024](https://arxiv.org/html/2607.07855#bib.bib321),[2025c](https://arxiv.org/html/2607.07855#bib.bib389),[2025b](https://arxiv.org/html/2607.07855#bib.bib409),[2025a](https://arxiv.org/html/2607.07855#bib.bib407)\), dual optimization\(Maet al\.,[2022](https://arxiv.org/html/2607.07855#bib.bib120); Sikchiet al\.,[2024](https://arxiv.org/html/2607.07855#bib.bib323); Xuet al\.,[2025](https://arxiv.org/html/2607.07855#bib.bib408)\), generative modeling\(Honget al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib325); Reusset al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib327); Jain and Ravanbakhsh,[2024](https://arxiv.org/html/2607.07855#bib.bib326); Lee and Choi,[2025](https://arxiv.org/html/2607.07855#bib.bib410); Haramatiet al\.,[2026](https://arxiv.org/html/2607.07855#bib.bib411)\), and test\-time adaption\(Opryshkoet al\.,[2025](https://arxiv.org/html/2607.07855#bib.bib354); Bagatellaet al\.,[2025](https://arxiv.org/html/2607.07855#bib.bib405)\)\. HIQL\(Parket al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib274)\)extracts hierarchical policies from a single value function, achieving state\-of\-the\-art performance on many tasks\. However, HIQL relies on value\-only subgoal selection, which can be overly optimistic in stochastic settings; our method augments subgoal learning with a geometric consistency signal to mitigate this issue\.
Quasimetric Learning and Stochastic Environments\.Quasimetric RL \(QRL\)\(Wanget al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib211)\)establishes that optimal goal\-conditioned value functions are exactly quasimetrics satisfying the triangle inequality*under deterministic dynamics*, an assumption made explicit by the authors in their main text\. The Metric Residual Network \(MRN\)\(Liuet al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib91)\)enforces this quasimetric structure architecturally\. Contrastive Metric Distillation \(CMD\)\(Myerset al\.,[2024](https://arxiv.org/html/2607.07855#bib.bib321)\)shows that contrastive temporal distances retain the triangle inequality even under stochastic dynamics\. Building on this, Temporal Metric Distillation \(TMD\)\(Myerset al\.,[2025c](https://arxiv.org/html/2607.07855#bib.bib389)\)is the first to systematically address quasimetric distance learning in offline GCRL with suboptimal, stochastic data, by combining Monte Carlo contrastive learning with a quasimetric architecture to recover optimal distances\. More recently, Multistep Quasimetric Estimation \(MQE\)\(Zhenget al\.,[2026](https://arxiv.org/html/2607.07855#bib.bib412)\)scales quasimetric learning by fitting distances with multistep Monte\-Carlo returns, combining TD’s local optimality with MC’s global propagation\. NFTR differs from this line in two aspects\. First, we treat the quasimetric not as the policy\-extraction backbone but as a*geometric scorer*that reweights the AWR objective inside HIQL’s hierarchy, leaving value learning untouched\. Second, we use the triangle inequality*as a regularizer on the high\-level policy*via the slack penalty, which targets optimistic bias from stochastic transitions rather than the distance\-estimation error itself\.
Normalizing Flows in RL\.Normalizing Flows enable exact density computation through invertible transformations\(Dinhet al\.,[2014](https://arxiv.org/html/2607.07855#bib.bib367),[2017](https://arxiv.org/html/2607.07855#bib.bib345); Kingma and Dhariwal,[2018](https://arxiv.org/html/2607.07855#bib.bib346)\)\. In RL, NFs have been used for policy representation\(Wardet al\.,[2019](https://arxiv.org/html/2607.07855#bib.bib376); Singhet al\.,[2020](https://arxiv.org/html/2607.07855#bib.bib363)\), maximum entropy RL\(Chaoet al\.,[2024](https://arxiv.org/html/2607.07855#bib.bib364)\), and action\-constrained optimization\(Brahmanageet al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib378); Akimovet al\.,[2022](https://arxiv.org/html/2607.07855#bib.bib379)\)\. Flow Q\-Learning \(FQL\) and its hierarchical variant \(HFQL\)\(Parket al\.,[2025b](https://arxiv.org/html/2607.07855#bib.bib402)\)use flow\-matching policies with distillation for stable value\-guided offline RL, and NFs\(Ghugare and Eysenbach,[2025](https://arxiv.org/html/2607.07855#bib.bib343)\)show NFs can serve as Q\-functions or policies on broad benchmarks\. By contrast, our use of NFs is*forced*rather than chosen\. As shown in[Section˜3\.1](https://arxiv.org/html/2607.07855#S3.SS1)\([Theorem˜3\.1](https://arxiv.org/html/2607.07855#S3.Thmtheorem1)\), AWR\-based hierarchical subgoal selection imposes three simultaneous requirements, namely multi\-modality, exact log\-density, and single\-pass sampling, which together pick out conditional NFs as the minimal class meeting all three\. Diffusion fails the latter two, while flow matching fails the third \([Section˜F\.1](https://arxiv.org/html/2607.07855#A6.SS1)\)\.
Hierarchical Offline RL\.Beyond HIQL, recent hierarchical offline GCRL methods tackle long\-horizon challenges via distinct strategies: SAW\(Zhou and Kao,[2025](https://arxiv.org/html/2607.07855#bib.bib352)\)flattens the hierarchy via advantage\-weighted subgoal sampling, OTA\(Ahnet al\.,[2025](https://arxiv.org/html/2607.07855#bib.bib351)\)contracts effective horizons through temporal abstraction, and Eik\-HiQRL\(Giammarinoet al\.,[2025](https://arxiv.org/html/2607.07855#bib.bib353)\)enforces quasimetric structure via Eikonal PDE constraints\. While these reshape the hierarchy’s*structure*through flattening, temporal abstraction, or PDE constraints, we leave HIQL’s structure intact and instead address a property all share but none has examined, namely the behavior of AWR\-weighted MLE on multi\-modal subgoal data with stochastic advantages\. Our contributions therefore compose with such structural improvements rather than competing with them\.
### Appendix BNotation
Table 5:Summary of additional notation used in the appendix \(proofs, algorithm, and extended results\)\. Symbols already defined in the main text \([Sections˜2](https://arxiv.org/html/2607.07855#S2)and[3](https://arxiv.org/html/2607.07855#S3)\) are not repeated\.SymbolDescriptionRef\.Multi\-modal Structure and AWR Tilting \(proof of[Theorem˜3\.1](https://arxiv.org/html/2607.07855#S3.Thmtheorem1)\)M\(s,g\),πm\(s,g\),qm\(z\|s,g\)M\(s,g\),\\;\\pi\_\{m\}\(s,g\),\\;q\_\{m\}\(z\|s,g\)State\-dependent mode count; mode weights and conditional mode densities[Equation˜6](https://arxiv.org/html/2607.07855#S3.E6)π~m,q~m,μ~m\\tilde\{\\pi\}\_\{m\},\\;\\tilde\{q\}\_\{m\},\\;\\tilde\{\\mu\}\_\{m\}AWR\-tilted mode weights, densities, and centers[Theorem˜3\.1](https://arxiv.org/html/2607.07855#S3.Thmtheorem1)ps,g⋆\(z\),Zs,g,βm\(s,g\)p^\{\\star\}\_\{s,g\}\(z\),\\;Z\_\{s,g\},\\;\\beta\_\{m\}\(s,g\)AWR target density; global and mode\-wise normalizers[Theorem˜3\.1](https://arxiv.org/html/2607.07855#S3.Thmtheorem1)𝒮wall⊂ℝd\\mathcal\{S\}\_\{\\mathrm\{wall\}\}\\subset\\mathbb\{R\}^\{d\}Unreachable region in subgoal space[Theorem˜3\.1](https://arxiv.org/html/2607.07855#S3.Thmtheorem1)μθ\(s,g\),σ\\mu\_\{\\theta\}\(s,g\),\\;\\sigmaMean and isotropic std of the Gaussian high\-level policy[Theorem˜3\.1](https://arxiv.org/html/2607.07855#S3.Thmtheorem1)AH\(s,w,g\)A^\{H\}\(s,w,g\)Generic high\-level advantage \(instantiated asAenvA\_\{\\mathrm\{env\}\}in NFTR\)[Equation˜7](https://arxiv.org/html/2607.07855#S3.E7)Optimization and Loss Components \(algorithm and[Equation˜17](https://arxiv.org/html/2607.07855#S3.E17)\)αL\\alpha\_\{L\}Low\-level AWR temperature[Algorithm˜1](https://arxiv.org/html/2607.07855#alg1)τ,Lτ2\(u\)\\tau,\\;L\_\{\\tau\}^\{2\}\(u\)IQL expectile parameter; asymmetric expectile loss[Equation˜2](https://arxiv.org/html/2607.07855#S2.E2)τema\\tau\_\{\\mathrm\{ema\}\}Target\-network EMA coefficient[Algorithm˜1](https://arxiv.org/html/2607.07855#alg1)m=−logγm=\-\\log\\gammaMinimum one\-step distance cost in Bellman consistency[Section˜C\.1](https://arxiv.org/html/2607.07855#A3.SS1)Δmax\\Delta\_\{\\max\}Slack clipping threshold for numerical stability[Section˜3\.4](https://arxiv.org/html/2607.07855#S3.SS4)ℒV,ℒπL\\mathcal\{L\}\_\{V\},\\;\\mathcal\{L\}\_\{\\pi^\{L\}\}IQL value loss; low\-level AWR loss[Equations˜2](https://arxiv.org/html/2607.07855#S2.E2)and[17](https://arxiv.org/html/2607.07855#S3.E17)ℒNCE,ℒBell,ℒd\\mathcal\{L\}\_\{\\mathrm\{NCE\}\},\\;\\mathcal\{L\}\_\{\\mathrm\{Bell\}\},\\;\\mathcal\{L\}\_\{d\}Contrastive, Bellman, and total distance losses[Section˜C\.1](https://arxiv.org/html/2607.07855#A3.SS1)ℒAWR,ℒRWDR\\mathcal\{L\}^\{\\mathrm\{AWR\}\},\\;\\mathcal\{L\}\_\{\\mathrm\{RWDR\}\}Generic AWR objective; RWDR weighted\-MLE objective[Equations˜7](https://arxiv.org/html/2607.07855#S3.E7)and[12](https://arxiv.org/html/2607.07855#S3.E12)g\+,g−g^\{\+\},\\;g^\{\-\}Positive / negative goal pairs for contrastive distance learning[Section˜C\.1](https://arxiv.org/html/2607.07855#A3.SS1)Theoretical Quantities \([Theorems˜3\.7](https://arxiv.org/html/2607.07855#S3.Thmtheorem7)and[3\.3](https://arxiv.org/html/2607.07855#S3.SS3)\)πH,∗,π^H,π𝒟H,∗\\pi^\{H,\*\},\\;\\hat\{\\pi\}^\{H\},\\;\\pi^\{H,\*\}\_\{\\mathcal\{D\}\}Optimal, learned, and data\-optimal high\-level policies[Theorems˜3\.7](https://arxiv.org/html/2607.07855#S3.Thmtheorem7)and[3\.3](https://arxiv.org/html/2607.07855#S3.SS3)J\(π\),JRWDR\(π\)J\(\\pi\),\\;J\_\{\\mathrm\{RWDR\}\}\(\\pi\)True expected return; RWDR objective value[Theorem˜3\.7](https://arxiv.org/html/2607.07855#S3.Thmtheorem7)Amax,DmaxA\_\{\\max\},\\;D\_\{\\max\}Uniform bounds on\|Aenv\|\|A\_\{\\mathrm\{env\}\}\|anddθd\_\{\\theta\}[Theorem˜3\.7](https://arxiv.org/html/2607.07855#S3.Thmtheorem7)Rκ\(dθ\)R\_\{\\kappa\}\(d\_\{\\theta\}\)Geometric regularization term in the suboptimality bound[Theorem˜3\.7](https://arxiv.org/html/2607.07855#S3.Thmtheorem7)Δ∗\(s,w,g\)\\Delta^\{\*\}\(s,w,g\)Triangle\-slack under the optimal distanced∗d^\{\*\}[Section˜3\.2](https://arxiv.org/html/2607.07855#S3.SS2)p~\(z\|s,g\)\\tilde\{p\}\(z\|s,g\)RWDR\-weighted empirical target distribution[Section˜3\.3](https://arxiv.org/html/2607.07855#S3.SS3)n,\|Π\|,dπ\(s,w\)n,\\;\|\\Pi\|,\\;d^\{\\pi\}\(s,w\)Sample size; policy\-class complexity; visitation distribution underπ\\pi[Sections˜3\.3](https://arxiv.org/html/2607.07855#S3.SS3)and[3\.7](https://arxiv.org/html/2607.07855#S3.Thmtheorem7)Cπ,ϵVC\_\{\\pi\},\\;\\epsilon\_\{V\}Concentrability coefficient; value estimation error bound[Sections˜3\.3](https://arxiv.org/html/2607.07855#S3.SS3)and[3\.3](https://arxiv.org/html/2607.07855#S3.SS3)
### Appendix CAlgorithm Details
Algorithm 1NFTR Training1:Input:Offline dataset
𝒟\\mathcal\{D\}, hyperparameters
αH,αL,κ,λd,λBell,τ,τema\\alpha\_\{H\},\\alpha\_\{L\},\\kappa,\\lambda\_\{d\},\\lambda\_\{\\text\{Bell\}\},\\tau,\\tau\_\{\\text\{ema\}\}
2:Initialize:Value networks
V1,V2V\_\{1\},V\_\{2\}, target networks
V1tgt,V2tgtV\_\{1\}^\{\\text\{tgt\}\},V\_\{2\}^\{\\text\{tgt\}\}, goal representation
ϕ\\phi, low\-level actor
πL\\pi^\{L\}, high\-level NFs
πNFH\\pi^\{H\}\_\{\\text\{NF\}\}, distance network
dθd\_\{\\theta\}
3:foreach training iterationdo
4:Sample batch from
𝒟\\mathcal\{D\}:
\{\(st,at,st\+1,gvalue,gactor,w\)\}i=1B\\\{\(s\_\{t\},a\_\{t\},s\_\{t\+1\},g\_\{\\text\{value\}\},g\_\{\\text\{actor\}\},w\)\\\}\_\{i=1\}^\{B\}
5:// Value Learning \(IQL\-style expectile regression\)
6:
q←r\+γ⋅min\(V1tgt\(s′,g\),V2tgt\(s′,g\)\)q\\leftarrow r\+\\gamma\\cdot\\min\(V\_\{1\}^\{\\text\{tgt\}\}\(s^\{\\prime\},g\),V\_\{2\}^\{\\text\{tgt\}\}\(s^\{\\prime\},g\)\)
7:
ℒV←1B∑i=1B\[Lτ2\(qi−V1\(si,gi\)\)\+Lτ2\(qi−V2\(si,gi\)\)\]\\mathcal\{L\}\_\{V\}\\leftarrow\\frac\{1\}\{B\}\\sum\_\{i=1\}^\{B\}\\left\[L\_\{\\tau\}^\{2\}\(q\_\{i\}\-V\_\{1\}\(s\_\{i\},g\_\{i\}\)\)\+L\_\{\\tau\}^\{2\}\(q\_\{i\}\-V\_\{2\}\(s\_\{i\},g\_\{i\}\)\)\\right\]
8:// Low\-Level Actor \(AWR with value advantage\)
9:
AiL←V\(si′,giL\)−V\(si,giL\)A^\{L\}\_\{i\}\\leftarrow V\(s^\{\\prime\}\_\{i\},g^\{L\}\_\{i\}\)\-V\(s\_\{i\},g^\{L\}\_\{i\}\)
10:
ℒπL←−1B∑i=1Bexp\(αLAiL\)⋅logπL\(ai\|si,ϕ\(\[si;giL\]\)\)\\mathcal\{L\}\_\{\\pi^\{L\}\}\\leftarrow\-\\frac\{1\}\{B\}\\sum\_\{i=1\}^\{B\}\\exp\(\\alpha\_\{L\}A^\{L\}\_\{i\}\)\\cdot\\log\\pi^\{L\}\(a\_\{i\}\|s\_\{i\},\\phi\(\[s\_\{i\};g^\{L\}\_\{i\}\]\)\)
11:// Distance Learning \(Contrastive \+ Bellman, see[Section˜C\.1](https://arxiv.org/html/2607.07855#A3.SS1)\)
12:Sample positive goals
g\+g^\{\+\}from future states, negative goals
g−g^\{\-\}from other trajectories
13:
ℒNCE←−1B∑i=1Blogexp\(−dθ\(si,gi\+\)\)exp\(−dθ\(si,gi\+\)\)\+exp\(−dθ\(si,gi−\)\)\\mathcal\{L\}\_\{\\text\{NCE\}\}\\leftarrow\-\\frac\{1\}\{B\}\\sum\_\{i=1\}^\{B\}\\log\\frac\{\\exp\(\-d\_\{\\theta\}\(s\_\{i\},g^\{\+\}\_\{i\}\)\)\}\{\\exp\(\-d\_\{\\theta\}\(s\_\{i\},g^\{\+\}\_\{i\}\)\)\+\\exp\(\-d\_\{\\theta\}\(s\_\{i\},g^\{\-\}\_\{i\}\)\)\}
14:
ℒBell←1B∑i=1B\(max\(0,−logγ\+dθ\(si′,gi\)−dθ\(si,gi\)\)\)2\\mathcal\{L\}\_\{\\text\{Bell\}\}\\leftarrow\\frac\{1\}\{B\}\\sum\_\{i=1\}^\{B\}\\left\(\\max\(0,\-\\log\\gamma\+d\_\{\\theta\}\(s^\{\\prime\}\_\{i\},g\_\{i\}\)\-d\_\{\\theta\}\(s\_\{i\},g\_\{i\}\)\)\\right\)^\{2\}
15:
ℒd←ℒNCE\+λBellℒBell\\mathcal\{L\}\_\{d\}\\leftarrow\\mathcal\{L\}\_\{\\text\{NCE\}\}\+\\lambda\_\{\\text\{Bell\}\}\\mathcal\{L\}\_\{\\text\{Bell\}\}
16:// High\-Level Actor \(RWDR with NFs policy\)
17:
Aenv,i←stop\_gradient\(V\(wi,gi\)−V\(si,gi\)\)A\_\{\\text\{env\},i\}\\leftarrow\\texttt\{stop\\\_gradient\}\(V\(w\_\{i\},g\_\{i\}\)\-V\(s\_\{i\},g\_\{i\}\)\)
18:
Δi←max\(0,stop\_gradient\(dθ\(si,wi\)\+dθ\(wi,gi\)−dθ\(si,gi\)\)\)\\Delta\_\{i\}\\leftarrow\\max\(0,\\texttt\{stop\\\_gradient\}\(d\_\{\\theta\}\(s\_\{i\},w\_\{i\}\)\+d\_\{\\theta\}\(w\_\{i\},g\_\{i\}\)\-d\_\{\\theta\}\(s\_\{i\},g\_\{i\}\)\)\)
19:
Δi←min\(Δi,Δmax\)\\Delta\_\{i\}\\leftarrow\\min\(\\Delta\_\{i\},\\Delta\_\{\\max\}\)// Slack clipping for stability
20:
logwi←αH⋅Aenv,i−κ⋅Δi\\log w\_\{i\}\\leftarrow\\alpha\_\{H\}\\cdot A\_\{\\text\{env\},i\}\-\\kappa\\cdot\\Delta\_\{i\}
21:
wi←min\(exp\(logwi\),100\)w\_\{i\}\\leftarrow\\min\(\\exp\(\\log w\_\{i\}\),100\)// Exponential clipping
22:
wi←wi/\(1B∑j=1Bwj\+ϵ\)w\_\{i\}\\leftarrow w\_\{i\}/\(\\frac\{1\}\{B\}\\sum\_\{j=1\}^\{B\}w\_\{j\}\+\\epsilon\)// Weight normalization
23:
zi←ϕ\(\[si;wi\]\)z\_\{i\}\\leftarrow\\phi\(\[s\_\{i\};w\_\{i\}\]\)// Target subgoal representation
24:
ϵNF,i,log\|detJi\|←πNFH\.forward\(si,gi,zi\)\\epsilon\_\{\\text\{NF\},i\},\\log\|\\det J\_\{i\}\|\\leftarrow\\pi^\{H\}\_\{\\text\{NF\}\}\.\\text\{forward\}\(s\_\{i\},g\_\{i\},z\_\{i\}\)
25:
logπiH←log𝒩\(ϵNF,i;0,I\)\+log\|detJi\|\\log\\pi^\{H\}\_\{i\}\\leftarrow\\log\\mathcal\{N\}\(\\epsilon\_\{\\text\{NF\},i\};0,I\)\+\\log\|\\det J\_\{i\}\|
26:
ℒπH←−1B∑i=1Bwi⋅logπiH\\mathcal\{L\}\_\{\\pi^\{H\}\}\\leftarrow\-\\frac\{1\}\{B\}\\sum\_\{i=1\}^\{B\}w\_\{i\}\\cdot\\log\\pi^\{H\}\_\{i\}
27:// Total Loss and Update
28:
ℒ←ℒV\+ℒπL\+ℒπH\+λdℒd\\mathcal\{L\}\\leftarrow\\mathcal\{L\}\_\{V\}\+\\mathcal\{L\}\_\{\\pi^\{L\}\}\+\\mathcal\{L\}\_\{\\pi^\{H\}\}\+\\lambda\_\{d\}\\mathcal\{L\}\_\{d\}
29:Update all parameters via gradient descent on
ℒ\\mathcal\{L\}
30:
Vtgt←τemaVtgt\+\(1−τema\)VV^\{\\text\{tgt\}\}\\leftarrow\\tau\_\{\\text\{ema\}\}V^\{\\text\{tgt\}\}\+\(1\-\\tau\_\{\\text\{ema\}\}\)V// Target network EMA update
31:endfor
32:return
πNFH,πL\\pi^\{H\}\_\{\\text\{NF\}\},\\pi^\{L\}
This section spells out the training\-time and test\-time machinery summarized in[Section˜3\.4](https://arxiv.org/html/2607.07855#S3.SS4)\. We first describe the quasimetric distance learning that underlies the triangle slack signal, then present the complete per\-iteration training pseudocode, and finally describe the inference procedure used at evaluation\.
#### C\.1Quasimetric Distance Learning
We parameterize the distance functiondθd\_\{\\theta\}with a Metric Residual Network \(MRN\)\(Liuet al\.,[2023](https://arxiv.org/html/2607.07855#bib.bib91)\),
dθ\(s,g\)=‖ϕsym\(s\)−ϕsym\(g\)‖2\+ReLU\(maxi\(ϕasym\(i\)\(s\)−ϕasym\(i\)\(g\)\)\),d\_\{\\theta\}\(s,g\)\\;=\\;\\\|\\phi\_\{\\text\{sym\}\}\(s\)\-\\phi\_\{\\text\{sym\}\}\(g\)\\\|\_\{2\}\\;\+\\;\\mathrm\{ReLU\}\\\!\\left\(\\max\_\{i\}\\\!\\big\(\\phi\_\{\\text\{asym\}\}^\{\(i\)\}\(s\)\-\\phi\_\{\\text\{asym\}\}^\{\(i\)\}\(g\)\\big\)\\right\),\(18\)whereϕsym,ϕasym:𝒮→ℝd\\phi\_\{\\text\{sym\}\},\\phi\_\{\\text\{asym\}\}:\\mathcal\{S\}\\to\\mathbb\{R\}^\{d\}are learned embeddings\. The symmetric term provides a Euclidean component, while the asymmetric max\-ReLU term captures directionality for one\-way transitions\. By construction this architecture satisfies the triangle inequalitydθ\(s,g\)≤dθ\(s,w\)\+dθ\(w,g\)d\_\{\\theta\}\(s,g\)\\leq d\_\{\\theta\}\(s,w\)\+d\_\{\\theta\}\(w,g\)for alls,w,gs,w,g, which is exactly the condition required by[Section˜3\.2](https://arxiv.org/html/2607.07855#S3.SS2)and which makes the slackΔ\(s,w,g\)\\Delta\(s,w,g\)in[Equation˜10](https://arxiv.org/html/2607.07855#S3.E10)non\-negative\.
We traindθd\_\{\\theta\}via two complementary losses\. The contrastive loss takes positive pairs\(s,g\+\)\(s,g^\{\+\}\)from the same trajectory withg\+g^\{\+\}sampled geometrically from future states, and negative pairs\(s,g−\)\(s,g^\{\-\}\)from different trajectories,
ℒNCE=−𝔼\[logexp\(−dθ\(s,g\+\)\)exp\(−dθ\(s,g\+\)\)\+exp\(−dθ\(s,g−\)\)\]\.\\mathcal\{L\}\_\{\\text\{NCE\}\}\\;=\\;\-\\mathbb\{E\}\\\!\\left\[\\log\\frac\{\\exp\(\-d\_\{\\theta\}\(s,g^\{\+\}\)\)\}\{\\exp\(\-d\_\{\\theta\}\(s,g^\{\+\}\)\)\+\\exp\(\-d\_\{\\theta\}\(s,g^\{\-\}\)\)\}\\right\]\.\(19\)The Bellman consistency loss enforces that distances respect one\-step transition dynamics,
ℒBell=𝔼\[\(max\(0,m\+dθ\(s′,g\)−dθ\(s,g\)\)\)2\],\\mathcal\{L\}\_\{\\text\{Bell\}\}\\;=\\;\\mathbb\{E\}\\\!\\left\[\\left\(\\max\\\!\\big\(0,\\,m\+d\_\{\\theta\}\(s^\{\\prime\},g\)\-d\_\{\\theta\}\(s,g\)\\big\)\\right\)^\{2\}\\right\],\(20\)wherem=−logγm=\-\\log\\gammais the minimum one\-step cost\. The total distance loss isℒd=ℒNCE\+λBellℒBell\\mathcal\{L\}\_\{d\}=\\mathcal\{L\}\_\{\\text\{NCE\}\}\+\\lambda\_\{\\text\{Bell\}\}\\mathcal\{L\}\_\{\\text\{Bell\}\}, which is the term entering[Equation˜17](https://arxiv.org/html/2607.07855#S3.E17)in the main text\. As reported in[Section˜4](https://arxiv.org/html/2607.07855#S4)\(Q3, ablation A2/A3\), an untraineddθd\_\{\\theta\}already attains most of RWDR’s benefit, which confirms that the architectural triangle inequality in[Equation˜18](https://arxiv.org/html/2607.07855#A3.E18)is the primary source of the slack signal and that distance accuracy plays a secondary role\.
#### C\.2Training Pseudocode
The complete NFTR training procedure is given in[Algorithm˜1](https://arxiv.org/html/2607.07855#alg1)\. The algorithm jointly trains the value functions, the distance functiondθd\_\{\\theta\}, the low\-level actorπL\\pi^\{L\}, and the high\-level Normalizing Flow policyπNFH\\pi^\{H\}\_\{\\mathrm\{NF\}\}\. Per iteration, value, distance, and policy losses are evaluated on a single shared minibatch, and the high\-level policy uses the RWDR weight \([Equation˜11](https://arxiv.org/html/2607.07855#S3.E11)\) computed fromAenvA\_\{\\mathrm\{env\}\}andΔ\\Deltawith stop\-gradient onVθV\_\{\\theta\}anddθd\_\{\\theta\}\.
#### C\.3Inference Procedure
At test time, given the current statessand goalgg, we generate a subgoal and execute it via the following steps:
1. 1\.Sampleϵ∼𝒩\(0,I\)\\epsilon\\sim\\mathcal\{N\}\(0,I\)from the NF base distribution\.
2. 2\.Compute the subgoal representationz=fθ−1\(ϵ;\[s;g\]\)z=f\_\{\\theta\}^\{\-1\}\(\\epsilon;\\,\[s;g\]\)via the inverse NF\.
3. 3\.Apply length normalizationz←z⋅‖ϕ\(\[s;g\]\)‖2/\(‖z‖2\+ε\)z\\leftarrow z\\cdot\\\|\\phi\(\[s;g\]\)\\\|\_\{2\}/\(\\\|z\\\|\_\{2\}\+\\varepsilon\)for numerical stability\.
4. 4\.Execute the low\-level policya=πL\(s,z\)a=\\pi^\{L\}\(s,z\)forkksteps, or until the subgoal is reached\.
5. 5\.Repeat from step 1 with the updated state\.
### Appendix DProofs
We provide complete proofs for all theoretical results stated in the main text\. The proofs establish the geometric properties of triangle\-slack, convergence guarantees for RWDR, robustness to stochastic optimism, and monotonic improvement\.
#### D\.1Proof of[Theorem˜3\.1](https://arxiv.org/html/2607.07855#S3.Thmtheorem1)
Setup\.Fix\(s,g\)\(s,g\)and writeAH\(z\):=AH\(s,w\(z\),g\)A^\{H\}\(z\):=A^\{H\}\(s,w\(z\),g\)for brevity, wherew\(z\)w\(z\)is the deterministic preimage ofz=ϕ\(\[s;w\]\)z=\\phi\(\[s;w\]\)along the sampled trajectory\. By the bounded\-and\-integrable assumption oneαHAHe^\{\\alpha\_\{H\}A^\{H\}\},
Zs,g≔𝔼z∼p𝒟\(⋅∣s,g\)\[eαHAH\(z\)\]∈\(0,∞\),Z\_\{s,g\}\\;\\coloneqq\\;\\mathbb\{E\}\_\{z\\sim p\_\{\\mathcal\{D\}\}\(\\cdot\\mid s,g\)\}\\\!\\bigl\[e^\{\\alpha\_\{H\}A^\{H\}\(z\)\}\\bigr\]\\;\\in\\;\(0,\\infty\),so the AWR target densityps,g⋆\(z\)=Zs,g−1eαHAH\(z\)p𝒟\(z∣s,g\)p^\{\\star\}\_\{s,g\}\(z\)=Z^\{\-1\}\_\{s,g\}\\,e^\{\\alpha\_\{H\}A^\{H\}\(z\)\}\\,p\_\{\\mathcal\{D\}\}\(z\\mid s,g\)is a well\-defined probability density onℝd\\mathbb\{R\}^\{d\}that retains the support ofp𝒟p\_\{\\mathcal\{D\}\}\.
Step 1: closed\-form minimizer\.Expandlog𝒩\(z;μ,σ2Id\)=−12σ2‖z−μ‖22\+C\(σ\)\\log\\mathcal\{N\}\(z;\\mu,\\sigma^\{2\}I\_\{d\}\)=\-\\tfrac\{1\}\{2\\sigma^\{2\}\}\\\|z\-\\mu\\\|\_\{2\}^\{2\}\+C\(\\sigma\), whereC\(σ\)=−d2log\(2πσ2\)C\(\\sigma\)=\-\\tfrac\{d\}\{2\}\\log\(2\\pi\\sigma^\{2\}\)is independent ofμ\\mu\. Substituting into[Equation˜7](https://arxiv.org/html/2607.07855#S3.E7)gives, up to terms that do not depend onμθ\\mu\_\{\\theta\},
ℒAWR\(θ;s,g\)=12σ2𝔼z∼p𝒟\(⋅∣s,g\)\[eαHAH\(z\)‖z−μθ\(s,g\)‖22\]\+const\.\\mathcal\{L\}^\{\\mathrm\{AWR\}\}\(\\theta;s,g\)\\;=\\;\\frac\{1\}\{2\\sigma^\{2\}\}\\,\\mathbb\{E\}\_\{z\\sim p\_\{\\mathcal\{D\}\}\(\\cdot\\mid s,g\)\}\\\!\\left\[e^\{\\alpha\_\{H\}A^\{H\}\(z\)\}\\,\\\|z\-\\mu\_\{\\theta\}\(s,g\)\\\|\_\{2\}^\{2\}\\right\]\\;\+\\;\\text\{const\}\.The change of measure𝔼p𝒟\[eαHAHf\(z\)\]=Zs,g𝔼ps,g⋆\[f\(z\)\]\\mathbb\{E\}\_\{p\_\{\\mathcal\{D\}\}\}\[e^\{\\alpha\_\{H\}A^\{H\}\}f\(z\)\]=Z\_\{s,g\}\\,\\mathbb\{E\}\_\{p^\{\\star\}\_\{s,g\}\}\[f\(z\)\], valid for any integrableff, then yields
ℒμAWR\(θ;s,g\)=Zs,g2σ2𝔼z∼ps,g⋆\[‖z−μθ\(s,g\)‖22\],\\mathcal\{L\}^\{\\mathrm\{AWR\}\}\_\{\\mu\}\(\\theta;s,g\)\\;=\\;\\frac\{Z\_\{s,g\}\}\{2\\sigma^\{2\}\}\\,\\mathbb\{E\}\_\{z\\sim p^\{\\star\}\_\{s,g\}\}\\\!\\bigl\[\\\|z\-\\mu\_\{\\theta\}\(s,g\)\\\|\_\{2\}^\{2\}\\bigr\],which is strictly convex inμθ\(s,g\)\\mu\_\{\\theta\}\(s,g\)sinceσ\>0\\sigma\>0andZs,g\>0Z\_\{s,g\}\>0\. The first\-order condition
∇μθ\(s,g\)ℒμAWR=−Zs,gσ2𝔼z∼ps,g⋆\[z−μθ\(s,g\)\]=0\\nabla\_\{\\mu\_\{\\theta\}\(s,g\)\}\\mathcal\{L\}^\{\\mathrm\{AWR\}\}\_\{\\mu\}\\;=\\;\-\\,\\frac\{Z\_\{s,g\}\}\{\\sigma^\{2\}\}\\,\\mathbb\{E\}\_\{z\\sim p^\{\\star\}\_\{s,g\}\}\\\!\\bigl\[z\-\\mu\_\{\\theta\}\(s,g\)\\bigr\]\\;=\\;0admits the unique solutionμθ⋆\(s,g\)=𝔼z∼ps,g⋆\[z\]\\mu^\{\\star\}\_\{\\theta\}\(s,g\)=\\mathbb\{E\}\_\{z\\sim p^\{\\star\}\_\{s,g\}\}\[z\]\.
Step 2: mixture decomposition ofps,g⋆p^\{\\star\}\_\{s,g\}\.Substituting[Equation˜6](https://arxiv.org/html/2607.07855#S3.E6),
ps,g⋆\(z\)\\displaystyle p^\{\\star\}\_\{s,g\}\(z\)\\;=Zs,g−1eαHAH\(z\)∑m=1M\(s,g\)πm\(s,g\)qm\(z∣s,g\)\\displaystyle=\\;Z^\{\-1\}\_\{s,g\}\\,e^\{\\alpha\_\{H\}A^\{H\}\(z\)\}\\sum\_\{m=1\}^\{M\(s,g\)\}\\pi\_\{m\}\(s,g\)\\,q\_\{m\}\(z\\mid s,g\)=∑m=1M\(s,g\)πm\(s,g\)βm\(s,g\)Zs,g⏟≕π~m\(s,g\)⋅eαHAH\(z\)qm\(z∣s,g\)βm\(s,g\)⏟≕q~m\(z∣s,g\),\\displaystyle=\\;\\sum\_\{m=1\}^\{M\(s,g\)\}\\underbrace\{\\frac\{\\pi\_\{m\}\(s,g\)\\,\\beta\_\{m\}\(s,g\)\}\{Z\_\{s,g\}\}\}\_\{\\,\\eqqcolon\\,\\tilde\{\\pi\}\_\{m\}\(s,g\)\}\\;\\cdot\\;\\underbrace\{\\frac\{e^\{\\alpha\_\{H\}A^\{H\}\(z\)\}\\,q\_\{m\}\(z\\mid s,g\)\}\{\\beta\_\{m\}\(s,g\)\}\}\_\{\\,\\eqqcolon\\,\\tilde\{q\}\_\{m\}\(z\\mid s,g\)\},whereβm\(s,g\)≔𝔼z∼qm\(⋅∣s,g\)\[eαHAH\(z\)\]∈\(0,∞\)\\beta\_\{m\}\(s,g\)\\coloneqq\\mathbb\{E\}\_\{z\\sim q\_\{m\}\(\\cdot\\mid s,g\)\}\[e^\{\\alpha\_\{H\}A^\{H\}\(z\)\}\]\\in\(0,\\infty\)\. Eachq~m\\tilde\{q\}\_\{m\}is a normalized density onℝd\\mathbb\{R\}^\{d\}, namely the AWR\-tilted version ofqmq\_\{m\}\. The weightsπ~m\\tilde\{\\pi\}\_\{m\}are non\-negative and sum to one, since
∑m=1M\(s,g\)πm\(s,g\)βm\(s,g\)=𝔼z∼p𝒟\(⋅∣s,g\)\[eαHAH\(z\)\]=Zs,g\.\\sum\_\{m=1\}^\{M\(s,g\)\}\\pi\_\{m\}\(s,g\)\\,\\beta\_\{m\}\(s,g\)\\;=\\;\\mathbb\{E\}\_\{z\\sim p\_\{\\mathcal\{D\}\}\(\\cdot\\mid s,g\)\}\\\!\\bigl\[e^\{\\alpha\_\{H\}A^\{H\}\(z\)\}\\bigr\]\\;=\\;Z\_\{s,g\}\.Thereforeps,g⋆=∑m=1M\(s,g\)π~mq~mp^\{\\star\}\_\{s,g\}=\\sum\_\{m=1\}^\{M\(s,g\)\}\\tilde\{\\pi\}\_\{m\}\\,\\tilde\{q\}\_\{m\}is a valid mixture\.
Step 3: AWR\-tilted modal centers\.Defineμ~m\(s,g\)≔𝔼z∼q~m\(⋅∣s,g\)\[z\]\\tilde\{\\mu\}\_\{m\}\(s,g\)\\coloneqq\\mathbb\{E\}\_\{z\\sim\\tilde\{q\}\_\{m\}\(\\cdot\\mid s,g\)\}\[z\]\. Direct computation gives
μ~m\(s,g\)=𝔼z∼qm\(⋅∣s,g\)\[eαHAH\(z\)z\]𝔼z∼qm\(⋅∣s,g\)\[eαHAH\(z\)\]\.\\tilde\{\\mu\}\_\{m\}\(s,g\)\\;=\\;\\frac\{\\mathbb\{E\}\_\{z\\sim q\_\{m\}\(\\cdot\\mid s,g\)\}\\\!\\bigl\[e^\{\\alpha\_\{H\}A^\{H\}\(z\)\}\\,z\\bigr\]\}\{\\mathbb\{E\}\_\{z\\sim q\_\{m\}\(\\cdot\\mid s,g\)\}\\\!\\bigl\[e^\{\\alpha\_\{H\}A^\{H\}\(z\)\}\\bigr\]\}\.Sinceqm\(⋅∣s,g\)q\_\{m\}\(\\cdot\\mid s,g\)is supported on a path\-connected region disjoint from𝒮wall\\mathcal\{S\}\_\{\\mathrm\{wall\}\}and AWR tilting preserves support,q~m\\tilde\{q\}\_\{m\}is supported on the same region, soμ~m\(s,g\)∈conv\(supp\(qm\(⋅∣s,g\)\)\)\\tilde\{\\mu\}\_\{m\}\(s,g\)\\in\\mathrm\{conv\}\\bigl\(\\mathrm\{supp\}\(q\_\{m\}\(\\cdot\\mid s,g\)\)\\bigr\)\.
Step 4: convex combination\.Combining Steps 1 to 3, by linearity of expectation,
μθ⋆\(s,g\)=𝔼z∼ps,g⋆\[z\]=∑m=1M\(s,g\)π~m\(s,g\)𝔼z∼q~m\(⋅∣s,g\)\[z\]=∑m=1M\(s,g\)π~m\(s,g\)μ~m\(s,g\),\\mu^\{\\star\}\_\{\\theta\}\(s,g\)\\;=\\;\\mathbb\{E\}\_\{z\\sim p^\{\\star\}\_\{s,g\}\}\[z\]\\;=\\;\\sum\_\{m=1\}^\{M\(s,g\)\}\\tilde\{\\pi\}\_\{m\}\(s,g\)\\,\\mathbb\{E\}\_\{z\\sim\\tilde\{q\}\_\{m\}\(\\cdot\\mid s,g\)\}\[z\]\\;=\\;\\sum\_\{m=1\}^\{M\(s,g\)\}\\tilde\{\\pi\}\_\{m\}\(s,g\)\\,\\tilde\{\\mu\}\_\{m\}\(s,g\),which establishes[Equation˜8](https://arxiv.org/html/2607.07855#S3.E8)\. Sinceπ~m≥0\\tilde\{\\pi\}\_\{m\}\\geq 0and∑mπ~m=1\\sum\_\{m\}\\tilde\{\\pi\}\_\{m\}=1, the right\-hand side is a convex combination, henceμθ⋆\(s,g\)∈conv\{μ~m\(s,g\)\}m=1M\(s,g\)\\mu^\{\\star\}\_\{\\theta\}\(s,g\)\\in\\mathrm\{conv\}\\\{\\tilde\{\\mu\}\_\{m\}\(s,g\)\\\}\_\{m=1\}^\{M\(s,g\)\}\.
Step 5: when the convex combination falls inside𝒮wall\\mathcal\{S\}\_\{\\mathrm\{wall\}\}\.Assume𝒮wall⊂ℝd\\mathcal\{S\}\_\{\\mathrm\{wall\}\}\\subset\\mathbb\{R\}^\{d\}strictly separates the supports\{supp\(qm\)\}m\\\{\\mathrm\{supp\}\(q\_\{m\}\)\\\}\_\{m\}into two non\-empty groups, indexed byG1G\_\{1\}andG2G\_\{2\}\. Let
pj=∑m∈Gjπ~m\(s,g\),μ¯j=∑m∈Gjπ~m\(s,g\)pjμ~m\(s,g\),j∈\{1,2\}\.p\_\{j\}\\;=\\;\\sum\_\{m\\in G\_\{j\}\}\\tilde\{\\pi\}\_\{m\}\(s,g\),\\qquad\\bar\{\\mu\}\_\{j\}\\;=\\;\\sum\_\{m\\in G\_\{j\}\}\\frac\{\\tilde\{\\pi\}\_\{m\}\(s,g\)\}\{p\_\{j\}\}\\,\\tilde\{\\mu\}\_\{m\}\(s,g\),\\qquad j\\in\\\{1,2\\\}\.By Step 4,μθ⋆\(s,g\)=p1μ¯1\+p2μ¯2\\mu^\{\\star\}\_\{\\theta\}\(s,g\)=p\_\{1\}\\bar\{\\mu\}\_\{1\}\+p\_\{2\}\\bar\{\\mu\}\_\{2\}, withμ¯1\\bar\{\\mu\}\_\{1\}andμ¯2\\bar\{\\mu\}\_\{2\}on opposite sides of𝒮wall\\mathcal\{S\}\_\{\\mathrm\{wall\}\}by construction\. The line segment\[μ¯1,μ¯2\]\[\\bar\{\\mu\}\_\{1\},\\bar\{\\mu\}\_\{2\}\]then crosses𝒮wall\\mathcal\{S\}\_\{\\mathrm\{wall\}\}at an interior pointp⋆p^\{\\star\}\. Whenever the AWR\-tilted weights produce a\(p1,p2\)\(p\_\{1\},p\_\{2\}\)that matches the convex coefficient ofp⋆p^\{\\star\}on this segment,μθ⋆\(s,g\)\\mu^\{\\star\}\_\{\\theta\}\(s,g\)lies inside𝒮wall\\mathcal\{S\}\_\{\\mathrm\{wall\}\}\. The symmetric two\-mode configurationM=2M=2,π~1=π~2=12\\tilde\{\\pi\}\_\{1\}=\\tilde\{\\pi\}\_\{2\}=\\tfrac\{1\}\{2\}realizes this generically whenμ¯1\\bar\{\\mu\}\_\{1\}andμ¯2\\bar\{\\mu\}\_\{2\}are reflectionally symmetric about𝒮wall\\mathcal\{S\}\_\{\\mathrm\{wall\}\}, which is the canonical two\-corridor case in our experiments\.
Step 6: irreducible wall mass on any practical scale\.Suppose the configuration in Step 5 placesμθ⋆\(s,g\)\\mu^\{\\star\}\_\{\\theta\}\(s,g\)in𝒮wall\\mathcal\{S\}\_\{\\mathrm\{wall\}\}\. Then there exists an open ballBr\(μθ⋆\)⊂𝒮wallB\_\{r\}\(\\mu^\{\\star\}\_\{\\theta\}\)\\subset\\mathcal\{S\}\_\{\\mathrm\{wall\}\}for somer\>0r\>0, and
ℙz∼𝒩\(μθ⋆,σ2Id\)\[z∈Br\(μθ⋆\)\]=ℙu∼𝒩\(0,Id\)\[‖u‖2≤r/σ\]\.\\mathbb\{P\}\_\{z\\sim\\mathcal\{N\}\(\\mu^\{\\star\}\_\{\\theta\},\\sigma^\{2\}I\_\{d\}\)\}\\\!\\bigl\[z\\in B\_\{r\}\(\\mu^\{\\star\}\_\{\\theta\}\)\\bigr\]\\;=\\;\\mathbb\{P\}\_\{u\\sim\\mathcal\{N\}\(0,I\_\{d\}\)\}\\\!\\bigl\[\\\|u\\\|\_\{2\}\\leq r/\\sigma\\bigr\]\.This probability tends to11asσ→0\+\\sigma\\to 0^\{\+\}and is strictly positive for every finiteσ\>0\\sigma\>0, since the standard Gaussian assigns positive mass to every ball of positive radius\. Within any fixed compact rangeσ∈\[σmin,σmax\]\\sigma\\in\[\\sigma\_\{\\min\},\\sigma\_\{\\max\}\]that arises in practice,
infσ∈\[σmin,σmax\]ℙz∼𝒩\(μθ⋆,σ2Id\)\[z∈𝒮wall\]≥ℙu∼𝒩\(0,Id\)\[‖u‖2≤r/σmax\]\>0,\\inf\_\{\\sigma\\in\[\\sigma\_\{\\min\},\\sigma\_\{\\max\}\]\}\\,\\mathbb\{P\}\_\{z\\sim\\mathcal\{N\}\(\\mu^\{\\star\}\_\{\\theta\},\\sigma^\{2\}I\_\{d\}\)\}\\\!\\bigl\[z\\in\\mathcal\{S\}\_\{\\mathrm\{wall\}\}\\bigr\]\\;\\geq\\;\\mathbb\{P\}\_\{u\\sim\\mathcal\{N\}\(0,I\_\{d\}\)\}\\\!\\bigl\[\\\|u\\\|\_\{2\}\\leq r/\\sigma\_\{\\max\}\\bigr\]\\;\>\\;0,so no choice ofσ\\sigmain this range drives the wall\-mass to zero\. The degenerate limitσ→∞\\sigma\\to\\inftyis excluded because the AWR weights would then fail the bounded\-and\-integrable assumption used in Step 1\.
#### D\.2Proof of Proposition[3\.2](https://arxiv.org/html/2607.07855#S3.SS2)\(Slack Characterization\)
###### Proof\.
We prove each part of the proposition separately\.
Non\-negativityBy[Definition˜1](https://arxiv.org/html/2607.07855#Thmdefinition1), any quasimetricddsatisfies the triangle inequality, we have:
d\(s,g\)≤d\(s,w\)\+d\(w,g\),∀s,w,g∈𝒮\.d\(s,g\)\\leq d\(s,w\)\+d\(w,g\),\\quad\\forall s,w,g\\in\\mathcal\{S\}\.\(21\)Rearranging this inequality:
d\(s,w\)\+d\(w,g\)−d\(s,g\)≥0,∀s,w,g∈𝒮\.d\(s,w\)\+d\(w,g\)\-d\(s,g\)\\geq 0,\\quad\\forall s,w,g\\in\\mathcal\{S\}\.\(22\)Since the triangle\-slack is defined asΔ\(s,w,g\)=max\(0,d\(s,w\)\+d\(w,g\)−d\(s,g\)\)\\Delta\(s,w,g\)=\\max\(0,d\(s,w\)\+d\(w,g\)\-d\(s,g\)\)and we have shown the argument of the max is non\-negative, we conclude:
Δ\(s,w,g\)=d\(s,w\)\+d\(w,g\)−d\(s,g\)≥0\.\\Delta\(s,w,g\)=d\(s,w\)\+d\(w,g\)\-d\(s,g\)\\geq 0\.\(23\)
Geodesic characterizationWe prove both directions of the if\-and\-only\-if\.
\(⇒\\Rightarrow\) SupposeΔ\(s,w,g\)=0\\Delta\(s,w,g\)=0\. Then:
max\(0,d\(s,w\)\+d\(w,g\)−d\(s,g\)\)=0\.\\max\(0,d\(s,w\)\+d\(w,g\)\-d\(s,g\)\)=0\.\(24\)Since the argument is non\-negative by Part 1, this implies:
d\(s,w\)\+d\(w,g\)−d\(s,g\)=0⟹d\(s,g\)=d\(s,w\)\+d\(w,g\)\.d\(s,w\)\+d\(w,g\)\-d\(s,g\)=0\\implies d\(s,g\)=d\(s,w\)\+d\(w,g\)\.\(25\)By[Definition˜3](https://arxiv.org/html/2607.07855#Thmdefinition3),wwis geodesic for\(s,g\)\(s,g\)underdd\.
\(⇐\\Leftarrow\) Supposewwis geodesic for\(s,g\)\(s,g\), i\.e\.,d\(s,g\)=d\(s,w\)\+d\(w,g\)d\(s,g\)=d\(s,w\)\+d\(w,g\)by[Definition˜3](https://arxiv.org/html/2607.07855#Thmdefinition3)\. Then:
d\(s,w\)\+d\(w,g\)−d\(s,g\)=0\.d\(s,w\)\+d\(w,g\)\-d\(s,g\)=0\.\(26\)Therefore:
Δ\(s,w,g\)=max\(0,0\)=0\.\\Delta\(s,w,g\)=\\max\(0,0\)=0\.\(27\)
Detour characterizationThis follows directly from Part 2 by contraposition\.
\(⇒\\Rightarrow\) IfΔ\(s,w,g\)\>0\\Delta\(s,w,g\)\>0, then by Part 2,wwis not geodesic, meaningd\(s,g\)<d\(s,w\)\+d\(w,g\)d\(s,g\)<d\(s,w\)\+d\(w,g\)\. The paths→w→gs\\to w\\to ghas strictly greater total distance than the direct paths→gs\\to g, which defines a detour\.
\(⇐\\Leftarrow\) If reachingggviawwrequires a detour, then by definitiond\(s,w\)\+d\(w,g\)\>d\(s,g\)d\(s,w\)\+d\(w,g\)\>d\(s,g\)\. Thus:
Δ\(s,w,g\)=d\(s,w\)\+d\(w,g\)−d\(s,g\)\>0\.\\Delta\(s,w,g\)=d\(s,w\)\+d\(w,g\)\-d\(s,g\)\>0\.\(28\)
Optimal distance correspondence \(deterministic MDP\)\.Defined∗\(s,g\)≔−logV∗\(s,g\)d^\{\*\}\(s,g\)\\coloneqq\-\\log V^\{\*\}\(s,g\), whereV∗\(s,g\)∈\(0,1\]V^\{\*\}\(s,g\)\\in\(0,1\]is the optimal discounted reaching probability\. The goal\-reaching Bellman optimality equation is
V∗\(s,g\)=𝟏\[s=g\]\+γmaxa𝔼s′∼P\(⋅\|s,a\)\[V∗\(s′,g\)\]\.V^\{\*\}\(s,g\)=\\mathbf\{1\}\[s=g\]\+\\gamma\\max\_\{a\}\\mathbb\{E\}\_\{s^\{\\prime\}\\sim P\(\\cdot\|s,a\)\}\[V^\{\*\}\(s^\{\\prime\},g\)\]\.\(29\)In a deterministic MDP, fix a statewwon an optimal trajectory fromsstogg\. Letπs→g∗\\pi^\{\*\}\_\{s\\to g\}denote an optimal policy for goalggstarting fromss; by determinism this policy reachesggalong a single trajectorys=s0,s1,…,sk1=w,…,sk1\+k2=gs=s\_\{0\},s\_\{1\},\\dots,s\_\{k\_\{1\}\}=w,\\dots,s\_\{k\_\{1\}\+k\_\{2\}\}=gthat passes throughwwat stepk1k\_\{1\}and throughggat stepk1\+k2k\_\{1\}\+k\_\{2\}\. Hence
V∗\(s,g\)=γk1\+k2=γk1⋅γk2=V∗\(s,w\)⋅V∗\(w,g\)\.V^\{\*\}\(s,g\)\\;=\\;\\gamma^\{k\_\{1\}\+k\_\{2\}\}\\;=\\;\\gamma^\{k\_\{1\}\}\\cdot\\gamma^\{k\_\{2\}\}\\;=\\;V^\{\*\}\(s,w\)\\cdot V^\{\*\}\(w,g\)\.\(30\)Taking−log\-\\logon both sides,d∗\(s,g\)=d∗\(s,w\)\+d∗\(w,g\)d^\{\*\}\(s,g\)=d^\{\*\}\(s,w\)\+d^\{\*\}\(w,g\), which by[Definition˜3](https://arxiv.org/html/2607.07855#Thmdefinition3)meanswwis geodesic for\(s,g\)\(s,g\)\. Conversely, ifwwis not on any optimal trajectory fromsstogg, then any policy that reachesggviawwtakes strictly more thank1\+k2k\_\{1\}\+k\_\{2\}steps in expectation \(or fails to reachggat all\), soV∗\(s,w\)⋅V∗\(w,g\)<V∗\(s,g\)V^\{\*\}\(s,w\)\\cdot V^\{\*\}\(w,g\)<V^\{\*\}\(s,g\)and henced∗\(s,g\)<d∗\(s,w\)\+d∗\(w,g\)d^\{\*\}\(s,g\)<d^\{\*\}\(s,w\)\+d^\{\*\}\(w,g\), i\.e\.,Δ∗\(s,w,g\)\>0\\Delta^\{\*\}\(s,w,g\)\>0\. This establishes that geodesic subgoals underd∗d^\{\*\}are exactly those on optimal paths in the deterministic case\.
Stochastic MDPs \(triangle inequality survives, geodesic correspondence relaxes\)\.In a general MDP with stochastic transitions, multiplicative equality fails because reachingwwno longer uniquely determines the conditional distribution over subsequent trajectories\. We show that the triangle inequality survives by an explicit policy\-concatenation argument\. Letπs→w\\pi\_\{s\\to w\}be any policy that, starting fromss, reacheswwwith discounted probabilityVπs→w\(s,w\)V^\{\\pi\_\{s\\to w\}\}\(s,w\), and letπw→g\\pi\_\{w\\to g\}be any policy that, starting fromww, reachesggwith discounted probabilityVπw→g\(w,g\)V^\{\\pi\_\{w\\to g\}\}\(w,g\)\. Define the concatenated policyπs→w∘πw→g\\pi\_\{s\\to w\}\\circ\\pi\_\{w\\to g\}: followπs→w\\pi\_\{s\\to w\}until reachingww, then switch toπw→g\\pi\_\{w\\to g\}\. By the strong Markov property and the multiplicativity of discount factors,
Vπs→w∘πw→g\(s,g\)=Vπs→w\(s,w\)⋅Vπw→g\(w,g\)\.V^\{\\pi\_\{s\\to w\}\\circ\\pi\_\{w\\to g\}\}\(s,g\)\\;=\\;V^\{\\pi\_\{s\\to w\}\}\(s,w\)\\cdot V^\{\\pi\_\{w\\to g\}\}\(w,g\)\.\(31\)Sinceπs→w∘πw→g\\pi\_\{s\\to w\}\\circ\\pi\_\{w\\to g\}is a feasible \(in general suboptimal\) policy for thes→gs\\to gproblem,
V∗\(s,g\)≥Vπs→w∘πw→g\(s,g\)=Vπs→w\(s,w\)⋅Vπw→g\(w,g\)\.V^\{\*\}\(s,g\)\\;\\geq\\;V^\{\\pi\_\{s\\to w\}\\circ\\pi\_\{w\\to g\}\}\(s,g\)\\;=\\;V^\{\\pi\_\{s\\to w\}\}\(s,w\)\\cdot V^\{\\pi\_\{w\\to g\}\}\(w,g\)\.\(32\)Taking the supremum overπs→w\\pi\_\{s\\to w\}andπw→g\\pi\_\{w\\to g\}separately on the right\-hand side \(the two suprema decouple because the factors depend on disjoint policy components\),
V∗\(s,g\)≥V∗\(s,w\)⋅V∗\(w,g\),V^\{\*\}\(s,g\)\\;\\geq\\;V^\{\*\}\(s,w\)\\cdot V^\{\*\}\(w,g\),\(33\)which after applying−log\-\\logyields the triangle inequality
d∗\(s,g\)≤d∗\(s,w\)\+d∗\(w,g\)\.d^\{\*\}\(s,g\)\\;\\leq\\;d^\{\*\}\(s,w\)\+d^\{\*\}\(w,g\)\.\(34\)ThusΔ∗\(s,w,g\)≥0\\Delta^\{\*\}\(s,w,g\)\\geq 0remains well\-defined and Parts \(1\)\-\(3\) of the proposition apply verbatim withd=d∗d=d^\{\*\}\.
The deterministic\-case characterization "Δ∗=0\\Delta^\{\*\}=0iffwwis on an optimal path", however, no longer holds in both directions\. Equality in[Equation˜34](https://arxiv.org/html/2607.07855#A4.E34)can occur even for off\-pathww: if a stochastic transition fromssproduces unusually favorable outcomes that boostV∗\(s,w\)V^\{\*\}\(s,w\)above the average reachability ofwwfromss, thenV∗\(s,w\)⋅V∗\(w,g\)V^\{\*\}\(s,w\)\\cdot V^\{\*\}\(w,g\)may matchV∗\(s,g\)V^\{\*\}\(s,g\)withoutwwbeing on any optimal trajectory\. We refer to such transitions as*lucky*in the main text\. Conversely, geodesic subgoals on optimal paths still satisfyΔ∗=0\\Delta^\{\*\}=0because[Equation˜31](https://arxiv.org/html/2607.07855#A4.E31)attainsV∗\(s,g\)V^\{\*\}\(s,g\)when both factors are realized by the optimal policy\. Triangle\-slack thus continues to lower\-bound composability failure:Δ∗\(s,w,g\)\>0\\Delta^\{\*\}\(s,w,g\)\>0implieswwis off\-path, butΔ∗\(s,w,g\)=0\\Delta^\{\*\}\(s,w,g\)=0no longer guarantees on\-path\.
For RWDR this asymmetry is the desired behavior\. The slackΔ\(s,w,g\)\\Delta\(s,w,g\)computed from a learneddθd\_\{\\theta\}trained on dataset trajectories reflects*average*dataset reachability, not the lucky\-transition\-inflatedV∗V^\{\*\}\. A lucky transition produces a sample with locally inflatedVθ\(s,w\)V\_\{\\theta\}\(s,w\), but becausedθ=−logVθd\_\{\\theta\}=\-\\log V\_\{\\theta\}averages over typical realizations, the learned distancedθ\(s,w\)d\_\{\\theta\}\(s,w\)remains close to its average value\. Consequentlydθ\(s,w\)\+dθ\(w,g\)d\_\{\\theta\}\(s,w\)\+d\_\{\\theta\}\(w,g\)overestimates the typicals→w→gs\\to w\\to gcost relative todθ\(s,g\)d\_\{\\theta\}\(s,g\), producingΔ\(s,w,g\)\>0\\Delta\(s,w,g\)\>0and triggering geometric down\-weighting\. The conservatism is one\-sided in our favor: RWDR may admit some on\-path subgoals that look slightly off\-path underdθd\_\{\\theta\}, but it suppresses lucky subgoals systematically\. This is the mechanistic basis for the lucky\-transition filtering claim in[Section˜3\.2](https://arxiv.org/html/2607.07855#S3.SS2)\. ∎
#### D\.3Proof of Corollary[3\.2](https://arxiv.org/html/2607.07855#S3.SS2)\(Geometric Regularization Effect\)
###### Proof\.
By the definition of RWDR weights:
wRWDR\(s,w,g\)\\displaystyle w\_\{\\text\{RWDR\}\}\(s,w,g\)=exp\(αHAenv\(s,w,g\)−κΔ\(s,w,g\)\)\\displaystyle=\\exp\(\\alpha\_\{H\}A\_\{\\text\{env\}\}\(s,w,g\)\-\\kappa\\Delta\(s,w,g\)\)\(35\)=exp\(αHAenv\(s,w,g\)\)⋅exp\(−κΔ\(s,w,g\)\)\\displaystyle=\\exp\(\\alpha\_\{H\}A\_\{\\text\{env\}\}\(s,w,g\)\)\\cdot\\exp\(\-\\kappa\\Delta\(s,w,g\)\)\(36\)=wHIQL\(s,w,g\)⋅exp\(−κΔ\(s,w,g\)\)\.\\displaystyle=w\_\{\\text\{HIQL\}\}\(s,w,g\)\\cdot\\exp\(\-\\kappa\\Delta\(s,w,g\)\)\.\(37\)
Since the MRN architecture guaranteesdθ\(s,g\)≤dθ\(s,w\)\+dθ\(w,g\)d\_\{\\theta\}\(s,g\)\\leq d\_\{\\theta\}\(s,w\)\+d\_\{\\theta\}\(w,g\), we haveΔ\(s,w,g\)≥0\\Delta\(s,w,g\)\\geq 0for all\(s,w,g\)\(s,w,g\)\. Therefore:
exp\(−κΔ\(s,w,g\)\)≤1,\\exp\(\-\\kappa\\Delta\(s,w,g\)\)\\leq 1,\(38\)with strict inequality whenΔ\(s,w,g\)\>0\\Delta\(s,w,g\)\>0andκ\>0\\kappa\>0\. This implies:
wRWDR\(s,w,g\)≤wHIQL\(s,w,g\),w\_\{\\text\{RWDR\}\}\(s,w,g\)\\leq w\_\{\\text\{HIQL\}\}\(s,w,g\),\(39\)with strict inequality for subgoals with positive slack\. ∎
#### D\.4Proof of Theorem[3\.7](https://arxiv.org/html/2607.07855#S3.Thmtheorem7)\(RWDR Convergence\)
###### Proof\.
We decompose the suboptimality gap into three interpretable terms and bound each separately\.
Performance DecompositionLetπH,∗\\pi^\{H,\*\}denote the optimal high\-level policy andπ^H\\hat\{\\pi\}^\{H\}denote the policy learned via RWDR\. We decompose the suboptimality gap:
J\(πH,∗\)−J\(π^H\)\\displaystyle J\(\\pi^\{H,\*\}\)\-J\(\\hat\{\\pi\}^\{H\}\)=\[J\(πH,∗\)−JRWDR\(πH,∗\)\]⏟\(I\) Objective gap\\displaystyle=\\underbrace\{\[J\(\\pi^\{H,\*\}\)\-J\_\{\\text\{RWDR\}\}\(\\pi^\{H,\*\}\)\]\}\_\{\\text\{\(I\) Objective gap\}\}\(40\)\+\[JRWDR\(πH,∗\)−JRWDR\(π^H\)\]⏟\(II\) Optimization gap\\displaystyle\\quad\+\\underbrace\{\[J\_\{\\text\{RWDR\}\}\(\\pi^\{H,\*\}\)\-J\_\{\\text\{RWDR\}\}\(\\hat\{\\pi\}^\{H\}\)\]\}\_\{\\text\{\(II\) Optimization gap\}\}\(41\)\+\[JRWDR\(π^H\)−J\(π^H\)\]⏟\(III\) Transfer gap,\\displaystyle\\quad\+\\underbrace\{\[J\_\{\\text\{RWDR\}\}\(\\hat\{\\pi\}^\{H\}\)\-J\(\\hat\{\\pi\}^\{H\}\)\]\}\_\{\\text\{\(III\) Transfer gap\}\},\(42\)whereJ\(π\)J\(\\pi\)is the true expected return andJRWDR\(π\)J\_\{\\text\{RWDR\}\}\(\\pi\)is the RWDR objective value\.
Bounding Term \(I\) \- Value Estimation ErrorThe RWDR objective uses estimated advantagesA^env\(s,w,g\)=V^θ\(w,g\)−V^θ\(s,g\)\\hat\{A\}\_\{\\text\{env\}\}\(s,w,g\)=\\hat\{V\}\_\{\\theta\}\(w,g\)\-\\hat\{V\}\_\{\\theta\}\(s,g\)\. Under Assumption[3\.3](https://arxiv.org/html/2607.07855#S3.SS3):
𝔼\(s,g\)∼𝒟\[\(Vθ\(s,g\)−V∗\(s,g\)\)2\]≤ϵV\.\\mathbb\{E\}\_\{\(s,g\)\\sim\\mathcal\{D\}\}\[\(V\_\{\\theta\}\(s,g\)\-V^\{\*\}\(s,g\)\)^\{2\}\]\\leq\\epsilon\_\{V\}\.\(43\)
By the triangle inequality for theL2L^\{2\}norm, we have:
\|A^env\(s,w,g\)−Aenv∗\(s,w,g\)\|\\displaystyle\|\\hat\{A\}\_\{\\text\{env\}\}\(s,w,g\)\-A^\{\*\}\_\{\\text\{env\}\}\(s,w,g\)\|=\|\(V^\(w,g\)−V∗\(w,g\)\)−\(V^\(s,g\)−V∗\(s,g\)\)\|\\displaystyle=\|\(\\hat\{V\}\(w,g\)\-V^\{\*\}\(w,g\)\)\-\(\\hat\{V\}\(s,g\)\-V^\{\*\}\(s,g\)\)\|\(44\)≤\|V^\(w,g\)−V∗\(w,g\)\|\+\|V^\(s,g\)−V∗\(s,g\)\|\.\\displaystyle\\leq\|\\hat\{V\}\(w,g\)\-V^\{\*\}\(w,g\)\|\+\|\\hat\{V\}\(s,g\)\-V^\{\*\}\(s,g\)\|\.\(45\)
Taking expectations on both sides of\|A^env−Aenv∗\|≤\|V^\(w,g\)−V∗\(w,g\)\|\+\|V^\(s,g\)−V∗\(s,g\)\|\|\\hat\{A\}\_\{\\mathrm\{env\}\}\-A^\{\*\}\_\{\\mathrm\{env\}\}\|\\leq\|\\hat\{V\}\(w,g\)\-V^\{\*\}\(w,g\)\|\+\|\\hat\{V\}\(s,g\)\-V^\{\*\}\(s,g\)\|and applying Cauchy\-Schwarz𝔼\[\|X\|\]≤𝔼\[X2\]\\mathbb\{E\}\[\|X\|\]\\leq\\sqrt\{\\mathbb\{E\}\[X^\{2\}\]\}to each term,
𝔼\[\|A^env−Aenv∗\|\]≤2𝔼\[\(V^−V∗\)2\]≤2ϵV\.\\mathbb\{E\}\[\|\\hat\{A\}\_\{\\mathrm\{env\}\}\-A^\{\*\}\_\{\\mathrm\{env\}\}\|\]\\;\\leq\\;2\\sqrt\{\\mathbb\{E\}\[\(\\hat\{V\}\-V^\{\*\}\)^\{2\}\]\}\\;\\leq\\;2\\sqrt\{\\epsilon\_\{V\}\}\.\(46\)
By standard sensitivity analysis of softmax policies to reward perturbations\(Penget al\.,[2019](https://arxiv.org/html/2607.07855#bib.bib147)\), perturbations of magnitudeδ\\deltain the exponentiated weights lead toO\(δ\)O\(\\delta\)changes in the policy:
Term \(I\)≤𝒪\(ϵV\)\.\\text\{Term \(I\)\}\\leq\\mathcal\{O\}\(\\sqrt\{\\epsilon\_\{V\}\}\)\.\(47\)
Bounding Term \(II\) \- Optimization ErrorThe RWDR objective is a weighted maximum likelihood:
ℒRWDR\(πH\)=−𝔼\(s,w,g\)∼𝒟\[w\(s,w,g\)⋅logπH\(z\|s,g\)\]\.\\mathcal\{L\}\_\{\\text\{RWDR\}\}\(\\pi^\{H\}\)=\-\\mathbb\{E\}\_\{\(s,w,g\)\\sim\\mathcal\{D\}\}\[w\(s,w,g\)\\cdot\\log\\pi^\{H\}\(z\|s,g\)\]\.\(48\)
Under Assumption[3\.3](https://arxiv.org/html/2607.07855#S3.SS3), the behavior policyβ\\betacovers the support of the optimal policyπH,∗\\pi^\{H,\*\}with density ratio bounded byCπC\_\{\\pi\}\. By standard concentration inequalities for importance\-weighted empirical risk minimization\(Rashidinejadet al\.,[2021](https://arxiv.org/html/2607.07855#bib.bib381)\):
\|JRWDR\(πH,∗\)−JRWDR\(π^H\)\|≤𝒪\(Cπlog\|Π\|n\),\|J\_\{\\text\{RWDR\}\}\(\\pi^\{H,\*\}\)\-J\_\{\\text\{RWDR\}\}\(\\hat\{\\pi\}^\{H\}\)\|\\leq\\mathcal\{O\}\\left\(\\sqrt\{\\frac\{C\_\{\\pi\}\\log\|\\Pi\|\}\{n\}\}\\right\),\(49\)where\|Π\|\|\\Pi\|is the complexity of the policy class \(which can be replaced by Rademacher complexity for continuous function classes via standard generalization bounds\)\.
Regularization Term Analysis \(Bridgingexp\(−κΔ\)\\exp\(\-\\kappa\\Delta\)toRκ\(dθ\)R\_\{\\kappa\}\(d\_\{\\theta\}\)\)\.
The RWDR weight contains the geometric penalty factorexp\(−κΔ\(s,w,g\)\)\\exp\(\-\\kappa\\Delta\(s,w,g\)\)\. We now derive how this multiplicative factor on the per\-sample weight translates into the additive regularization termRκ\(dθ\)R\_\{\\kappa\}\(d\_\{\\theta\}\)in the suboptimality bound, completing the missing intermediate steps\.
Step 1 \(Bias of the RWDR\-weighted expected advantage\)\.The RWDR objective extracts a policy whose AWR target distribution downweights samples byexp\(−κΔ\)\\exp\(\-\\kappa\\Delta\)\. Define the RWDR\-weighted expected advantage of policyπ\\pias
A~RWDR\(π\)≔𝔼\(s,w,g\)∼π\[Aenv\(s,w,g\)⋅exp\(−κΔ\(s,w,g\)\)\],\\widetilde\{A\}\_\{\\mathrm\{RWDR\}\}\(\\pi\)\\;\\coloneqq\\;\\mathbb\{E\}\_\{\(s,w,g\)\\sim\\pi\}\\\!\\bigl\[A\_\{\\mathrm\{env\}\}\(s,w,g\)\\cdot\\exp\(\-\\kappa\\Delta\(s,w,g\)\)\\bigr\],\(50\)and letA~\(π\)≔𝔼\(s,w,g\)∼π\[Aenv\(s,w,g\)\]\\widetilde\{A\}\(\\pi\)\\\!\\coloneqq\\\!\\mathbb\{E\}\_\{\(s,w,g\)\\sim\\pi\}\[A\_\{\\mathrm\{env\}\}\(s,w,g\)\]denote the unweighted version\. Then by linearity of expectation,
A~\(π\)−A~RWDR\(π\)=𝔼\(s,w,g\)∼π\[Aenv\(s,w,g\)⋅\(1−exp\(−κΔ\(s,w,g\)\)\)\],\\widetilde\{A\}\(\\pi\)\-\\widetilde\{A\}\_\{\\mathrm\{RWDR\}\}\(\\pi\)\\;=\\;\\mathbb\{E\}\_\{\(s,w,g\)\\sim\\pi\}\\\!\\bigl\[A\_\{\\mathrm\{env\}\}\(s,w,g\)\\cdot\(1\-\\exp\(\-\\kappa\\Delta\(s,w,g\)\)\)\\bigr\],\(51\)so the bias introduced by the geometric reweighting is controlled by the per\-sample factor1−exp\(−κΔ\)∈\[0,1\]1\-\\exp\(\-\\kappa\\Delta\)\\in\[0,1\]\.
Step 2 \(Linearization\-free upper bound\)\.SinceΔ\(s,w,g\)≥0\\Delta\(s,w,g\)\\geq 0by Assumption[3\.2](https://arxiv.org/html/2607.07855#S3.SS2), we haveexp\(−κΔ\)∈\(0,1\]\\exp\(\-\\kappa\\Delta\)\\in\(0,1\], hence1−exp\(−κΔ\)∈\[0,1\]1\-\\exp\(\-\\kappa\\Delta\)\\in\[0,1\]\. By the relationJRWDR\(π\)−J\(π\)=A~RWDR\(π\)−A~\(π\)J\_\{\\mathrm\{RWDR\}\}\(\\pi\)\-J\(\\pi\)=\\widetilde\{A\}\_\{\\mathrm\{RWDR\}\}\(\\pi\)\-\\widetilde\{A\}\(\\pi\)established in Step 1 and the triangle inequality for expectations,
\|JRWDR\(π\)−J\(π\)\|≤𝔼\(s,w,g\)∼π\[\|Aenv\(s,w,g\)\|⋅\(1−exp\(−κΔ\(s,w,g\)\)\)\]\.\\bigl\|J\_\{\\text\{RWDR\}\}\(\\pi\)\-J\(\\pi\)\\bigr\|\\;\\leq\\;\\mathbb\{E\}\_\{\(s,w,g\)\\sim\\pi\}\\\!\\left\[\|A\_\{\\text\{env\}\}\(s,w,g\)\|\\cdot\(1\-\\exp\(\-\\kappa\\Delta\(s,w,g\)\)\)\\right\]\.\(52\)Applying the elementary inequality1−exp\(−x\)≤x1\-\\exp\(\-x\)\\leq xfor allx≥0x\\geq 0, which holds globally rather than only as a first\-order Taylor approximation,
\|JRWDR\(π\)−J\(π\)\|≤𝔼\(s,w,g\)∼π\[\|Aenv\(s,w,g\)\|⋅κΔ\(s,w,g\)\]\.\\bigl\|J\_\{\\text\{RWDR\}\}\(\\pi\)\-J\(\\pi\)\\bigr\|\\;\\leq\\;\\mathbb\{E\}\_\{\(s,w,g\)\\sim\\pi\}\\\!\\left\[\|A\_\{\\text\{env\}\}\(s,w,g\)\|\\cdot\\kappa\\,\\Delta\(s,w,g\)\\right\]\.\(53\)This bound is tight to first order inκΔ\\kappa\\Deltaand holds globally for anyΔ≥0\\Delta\\geq 0\.
Step 3 \(Reduction to an additive regularization term\)\.Specializing the bound to the optimal high\-level policyπH,∗\\pi^\{H,\*\}and absorbing the bounded advantage\|Aenv\|≤Amax\|A\_\{\\text\{env\}\}\|\\leq A\_\{\\max\}into a constant:
\|JRWDR\(πH,∗\)−J\(πH,∗\)\|≤κAmax⋅𝔼\(s,w,g\)∼πH,∗\[Δ\(s,w,g\)\]≕Rκ\(dθ\)\.\\bigl\|J\_\{\\text\{RWDR\}\}\(\\pi^\{H,\*\}\)\-J\(\\pi^\{H,\*\}\)\\bigr\|\\;\\leq\\;\\kappa A\_\{\\max\}\\cdot\\mathbb\{E\}\_\{\(s,w,g\)\\sim\\pi^\{H,\*\}\}\\\!\\left\[\\Delta\(s,w,g\)\\right\]\\;\\eqqcolon\\;R\_\{\\kappa\}\(d\_\{\\theta\}\)\.\(54\)This identifiesRκ\(dθ\)R\_\{\\kappa\}\(d\_\{\\theta\}\)as the additive regularization term in the final bound\.
Step 4 \(Bounded magnitude regardless of training\)\.Since the MRN architecture ensuresdθ\(s,g\)≤Dmaxd\_\{\\theta\}\(s,g\)\\leq D\_\{\\max\}for bounded state spaces,Δ\(s,w,g\)≤dθ\(s,w\)\+dθ\(w,g\)≤2Dmax\\Delta\(s,w,g\)\\leq d\_\{\\theta\}\(s,w\)\+d\_\{\\theta\}\(w,g\)\\leq 2D\_\{\\max\}\. Therefore:
Rκ\(dθ\)≤2κAmaxDmax,R\_\{\\kappa\}\(d\_\{\\theta\}\)\\;\\leq\\;2\\kappa A\_\{\\max\}D\_\{\\max\},\(55\)which is finite and independent of whetherdθd\_\{\\theta\}is trained, explaining why the untrained configuration in our ablations \([Section˜4](https://arxiv.org/html/2607.07855#S4)\) achieves comparable performance\.
Step 5 \(Vanishing regularization for traineddθd\_\{\\theta\}\)\.Whendθd\_\{\\theta\}approximates optimal distances onsupp\(πH,⋆\)\\mathrm\{supp\}\(\\pi^\{H,\\star\}\), geodesic subgoals satisfyΔ≈0\\Delta\\approx 0by[Section˜3\.2](https://arxiv.org/html/2607.07855#S3.SS2)\(2\), soRκ\(dθ\)→0R\_\{\\kappa\}\(d\_\{\\theta\}\)\\to 0\.
Combining the three terms\.Summing the value\-error, sampling\-error, and regularization contributions gives the bound stated in[Theorem˜3\.7](https://arxiv.org/html/2607.07855#S3.Thmtheorem7)\.
J\(πH,⋆\)−J\(π^H\)≤𝒪\(ϵV\)\+𝒪\(Cπlog\|Π\|n\)\+Rκ\(dθ\)\.J\(\\pi^\{H,\\star\}\)\-J\(\\hat\{\\pi\}^\{H\}\)\\leq\\mathcal\{O\}\(\\sqrt\{\\epsilon\_\{V\}\}\)\+\\mathcal\{O\}\\\!\\left\(\\sqrt\{\\tfrac\{C\_\{\\pi\}\\log\|\\Pi\|\}\{n\}\}\\right\)\+R\_\{\\kappa\}\(d\_\{\\theta\}\)\.∎
#### D\.5Proof of Proposition[3\.3](https://arxiv.org/html/2607.07855#S3.SS3)\(Monotonic Improvement\)
###### Proof\.
We show that the RWDR objective inherits the monotonic improvement property of weighted maximum likelihood estimation\.
Identify the Target DistributionThe RWDR objective \([Equation˜12](https://arxiv.org/html/2607.07855#S3.E12)\) has the form:
ℒπH=−𝔼\(s,w,g\)∼𝒟\[w\(s,w,g\)⋅logπH\(ϕ\(\[s;w\]\)\|s,g\)\],\\mathcal\{L\}\_\{\\pi^\{H\}\}=\-\\mathbb\{E\}\_\{\(s,w,g\)\\sim\\mathcal\{D\}\}\[w\(s,w,g\)\\cdot\\log\\pi^\{H\}\(\\phi\(\[s;w\]\)\|s,g\)\],\(56\)where the RWDR weightw\(s,w,g\)=exp\(αHAenv\(s,w,g\)−κΔ\(s,w,g\)\)≥0w\(s,w,g\)=\\exp\(\\alpha\_\{H\}A\_\{\\text\{env\}\}\(s,w,g\)\-\\kappa\\Delta\(s,w,g\)\)\\geq 0is non\-negative for all\(s,w,g\)\(s,w,g\)\.
Define the weighted empirical distribution over subgoal representations:
p~\(z\|s,g\)∝∑w∈𝒟s,gw\(s,w,g\)⋅δ\(ϕ\(\[s;w\]\)−z\),\\tilde\{p\}\(z\|s,g\)\\propto\\sum\_\{w\\in\\mathcal\{D\}\_\{s,g\}\}w\(s,w,g\)\\cdot\\delta\(\\phi\(\[s;w\]\)\-z\),\(57\)where𝒟s,g=\{w:\(s,w,g\)∈𝒟\}\\mathcal\{D\}\_\{s,g\}=\\\{w:\(s,w,g\)\\in\\mathcal\{D\}\\\}is the set of subgoals observed for the state\-goal pair\(s,g\)\(s,g\)in the dataset\. The normalization ensures∫p~\(z\|s,g\)𝑑z=1\\int\\tilde\{p\}\(z\|s,g\)dz=1\.
The optimal in\-distribution high\-level policy is:
π𝒟H,∗\(z\|s,g\)=p~\(z\|s,g\)\.\\pi^\{H,\*\}\_\{\\mathcal\{D\}\}\(z\|s,g\)=\\tilde\{p\}\(z\|s,g\)\.\(58\)
Weighted MLE Minimizes KL DivergenceThe negative log\-likelihood objective under weightingwwis:
ℒπH=−𝔼\(s,w,g\)∼𝒟\[w\(s,w,g\)⋅logπH\(ϕ\(\[s;w\]\)\|s,g\)\]\.\\mathcal\{L\}\_\{\\pi^\{H\}\}=\-\\mathbb\{E\}\_\{\(s,w,g\)\\sim\\mathcal\{D\}\}\[w\(s,w,g\)\\cdot\\log\\pi^\{H\}\(\\phi\(\[s;w\]\)\|s,g\)\]\.\(59\)
This is equivalent to minimizing the KL divergence from the target distribution to the policy:
KL\(p~∥πH\)\\displaystyle\\text\{KL\}\(\\tilde\{p\}\\\|\\pi^\{H\}\)=𝔼z∼p~\(z\|s,g\)\[logp~\(z\|s,g\)−logπH\(z\|s,g\)\]\\displaystyle=\\mathbb\{E\}\_\{z\\sim\\tilde\{p\}\(z\|s,g\)\}\[\\log\\tilde\{p\}\(z\|s,g\)\-\\log\\pi^\{H\}\(z\|s,g\)\]\(60\)=𝔼z∼p~\[logp~\(z\|s,g\)\]⏟constant w\.r\.t\.πH−𝔼z∼p~\[logπH\(z\|s,g\)\]\.\\displaystyle=\\underbrace\{\\mathbb\{E\}\_\{z\\sim\\tilde\{p\}\}\[\\log\\tilde\{p\}\(z\|s,g\)\]\}\_\{\\text\{constant w\.r\.t\. \}\\pi^\{H\}\}\-\\mathbb\{E\}\_\{z\\sim\\tilde\{p\}\}\[\\log\\pi^\{H\}\(z\|s,g\)\]\.\(61\)
Since the first term is constant with respect toπH\\pi^\{H\}, minimizingℒπH\\mathcal\{L\}\_\{\\pi^\{H\}\}is equivalent to minimizingKL\(p~∥πH\)\\text\{KL\}\(\\tilde\{p\}\\\|\\pi^\{H\}\)\.
Monotonic Decrease of KL Divergence \(Population Level\)\.The negative log\-likelihood objectiveℒπH\\mathcal\{L\}\_\{\\pi^\{H\}\}is, up to an additive constant, equal toKL\(p~∥πH\)\\mathrm\{KL\}\(\\tilde\{p\}\\\|\\pi^\{H\}\)\. At the population level, by definition of the exact minimizerπnewH=argminπH∈ΠℒπH\\pi^\{H\}\_\{\\mathrm\{new\}\}=\\arg\\min\_\{\\pi^\{H\}\\in\\Pi\}\\mathcal\{L\}\_\{\\pi^\{H\}\}over the policy classΠ\\Pi, for anyπoldH∈Π\\pi^\{H\}\_\{\\mathrm\{old\}\}\\in\\Pi,
KL\(p~∥πnewH\)≤KL\(p~∥πoldH\)\.\\mathrm\{KL\}\(\\tilde\{p\}\\\|\\pi^\{H\}\_\{\\mathrm\{new\}\}\)\\;\\leq\\;\\mathrm\{KL\}\(\\tilde\{p\}\\\|\\pi^\{H\}\_\{\\mathrm\{old\}\}\)\.\(62\)This is the population\-level statement of[Section˜3\.3](https://arxiv.org/html/2607.07855#S3.SS3)\. We emphasize that this argument is about the exact minimizer overΠ\\Pirather than about any iterative procedure, and we discuss the practical SGD optimization separately below\. Specifically, for any policyπoldH\\pi^\{H\}\_\{\\text\{old\}\}, a gradient step yieldsπnewH\\pi^\{H\}\_\{\\text\{new\}\}satisfying:
KL\(p~∥πnewH\)≤KL\(p~∥πoldH\)\.\\text\{KL\}\(\\tilde\{p\}\\\|\\pi^\{H\}\_\{\\text\{new\}\}\)\\leq\\text\{KL\}\(\\tilde\{p\}\\\|\\pi^\{H\}\_\{\\text\{old\}\}\)\.\(63\)
Sincep~=π𝒟H,∗\\tilde\{p\}=\\pi^\{H,\*\}\_\{\\mathcal\{D\}\}, we have:
KL\(π𝒟H,∗∥πnewH\)≤KL\(π𝒟H,∗∥πoldH\)\.\\text\{KL\}\(\\pi^\{H,\*\}\_\{\\mathcal\{D\}\}\\\|\\pi^\{H\}\_\{\\text\{new\}\}\)\\leq\\text\{KL\}\(\\pi^\{H,\*\}\_\{\\mathcal\{D\}\}\\\|\\pi^\{H\}\_\{\\text\{old\}\}\)\.\(64\)
Relation to Expected ReturnThe target distributionπ𝒟H,∗\\pi^\{H,\*\}\_\{\\mathcal\{D\}\}places higher probability mass on subgoals with:
- •High value advantageAenv\(s,w,g\)A\_\{\\text\{env\}\}\(s,w,g\): subgoals that make progress toward the goal
- •Low triangle\-slackΔ\(s,w,g\)\\Delta\(s,w,g\): subgoals that are geometrically on\-path
By decreasingKL\(π𝒟H,∗∥πH\)\\text\{KL\}\(\\pi^\{H,\*\}\_\{\\mathcal\{D\}\}\\\|\\pi^\{H\}\), the policyπH\\pi^\{H\}increasingly assigns probability to these high\-quality subgoals\. Within the support of the dataset \(the in\-distribution region\), this corresponds to improving expected return\.
The key insight is that RWDR modifies the weights in AWR but preserves the weighted maximum likelihood structure\. Since the weights remain non\-negative and the objective is still weighted log\-likelihood, standard AWR convergence analysis applies at the population level, establishing monotonic improvement ofKL\(π𝒟H,∗∥πH\)\\mathrm\{KL\}\(\\pi^\{H,\*\}\_\{\\mathcal\{D\}\}\\\|\\pi^\{H\}\)\.
Practical caveat \(SGD on non\-convex parameterization\)\.The result above assumes exact optimization of the weighted MLE objective at the population level\. In practice,πH\\pi^\{H\}is a conditional RealNVP and we optimize via SGD, so two caveats apply\. First, SGD on a non\-convex parameterized family only guarantees convergence to a stationary point under standard step\-size schedules, not strict per\-step monotonic decrease\. Second, this gap is shared by all AWR\-based methods \(HIQL, SAW, OTA\), originates from the parameterization ofπH\\pi^\{H\}, and is therefore not specific to RWDR\. Empirically, we observe stable, near\-monotonically decreasing training loss across all tasks and seeds \([Section˜F\.6](https://arxiv.org/html/2607.07855#A6.SS6)\)\. RealNVP withK=4K\{=\}4coupling layers avoids the severe non\-convexity of very deep generative models, and NFs\(Ghugare and Eysenbach,[2025](https://arxiv.org/html/2607.07855#bib.bib343)\)reports that coupling\-based flows attain universal approximation while maintaining a relatively well\-behaved optimization landscape\. ∎
### Appendix EHyperparameter Settings
We provide complete hyperparameter settings for reproducing our experiments\.
Table 6:Common hyperparameters shared across all tasks\.HyperparameterLocomotionManipulationTraining steps1,000,0001,000,000Batch size10241024OptimizerAdamAdamLearning rate3×10−43\\times 10^\{\-4\}3×10−43\\times 10^\{\-4\}Discount factorγ\\gamma0\.990\.99Target network EMAτema\\tau\_\{\\text\{ema\}\}0\.0050\.005IQL expectileτ\\tau0\.70\.7Low\-level temperatureαL\\alpha\_\{L\}3\.03\.0High\-level temperatureαH\\alpha\_\{H\}3\.03\.0Subgoal horizonkk2525Goal representation dimension1010Hidden layer dimension256256Number of hidden layers22Table 7:NFTR\-specific hyperparameters\.HyperparameterStochastic/StitchStandardRWDR penalty coefficientκ\\kappa1\.00\.5Slack clipping thresholdΔmax\\Delta\_\{\\max\}10\.010\.0Distance loss weightλd\\lambda\_\{d\}1\.01\.0Bellman consistency weightλBell\\lambda\_\{\\text\{Bell\}\}1\.01\.0NFs number of coupling layersKK44NFs hidden dimension256256NFs context embedding dimension128128Distance network latent dimension6464MRN number of components88Weight normalizationTrueTrueExponential weight clipping100\.0100\.0Table 8:Normalizing Flows architecture details\.
### Appendix FAdditional Experimental Results
#### F\.1Why Normalizing Flows: Comparison with Diffusion and Flow Matching
To address the question of*why*we choose Normalizing Flows over other expressive multi\-modal generative families \(diffusion models, flow matching\), we compare NFTR against two natural alternatives that share the same hierarchy and triangle\-slack reweighting:
- •FMTR\(Flow\-Matching subgoal policy with Triangle\-slack Reweighting\): replaces the conditional NF head with a conditional flow\-matching subgoal generator, sampled with a 20\-step Euler integrator at inference\.
- •DMTR\(Diffusion subgoal policy with Triangle\-slack Reweighting\): replaces the NF head with a conditional diffusion subgoal generator, sampled with 20\-step DDIM\.
Everything else \(hierarchy, value learning, RWDR weighting, hyperparameters\) is held fixed\.
Table 9:Why NFs?Comparison of NFTR against FMTR \(flow\-matching\) and DMTR \(diffusion \+ DDIM\) subgoal heads under the same NFTR hierarchy and triangle\-slack weighting\. Success rate \(%\), 3 seeds, mean±\\pmstd\. Per row, the best result is𝐨𝐫𝐚𝐧𝐠𝐞𝐛𝐨𝐥𝐝\\mathbf\{orangebold\}and the second\-best isunderlined¯\\underline\{underlined\}\.Note: NFTR numbers in this table use the 3\-seed protocol shared with FMTR/DMTR for fair comparison; the corresponding 4\-seed numbers in[Table˜1](https://arxiv.org/html/2607.07855#S4.T1)differ accordingly\.Analysis\.As shown in[Table˜9](https://arxiv.org/html/2607.07855#A6.T9), NFTR outperforms both FMTR and DMTR on 5 of the 7 tasks, with the largest gap oncube\-single\-play\(NFTR 47\.1% vs DMTR 17\.4%,\+29\.7\+29\.7pp\)\. The performance ordering is explainable from three architectural properties:
1. 1\.Exact density vs\. ELBO/ODE estimates\.AWR requires evaluatinglogπH\(z\|s,g\)\\log\\pi^\{H\}\(z\|s,g\)for the weighted MLE objective\. NFs compute this exactly via change\-of\-variables in a single pass, whereas diffusion models require ELBO bounds or expensive ODE\-based estimates that introduce bias and gradient noise into the AWR weighting\.
2. 2\.Single\-pass sampling\.The high\-level policy generates a subgoal everyk=25k=25steps\. NFs sample in one forward pass; flow\-matching needs∼\\sim20 ODE steps and diffusion∼\\sim10–1000 denoising steps, which compound at every high\-level decision\.
3. 3\.Bijective gradient flow\.The bijective transformation in NFs avoids the information\-loss bottlenecks of stochastic forward processes in diffusion, stabilizing gradients under heavily\-weighted AWR targets\.
The two cases where FMTR/DMTR do not lose to NFTR \(pointmaze\-medium\-stitch,scene\-noisy\) are environments with relatively well\-clustered modes where iterative refinement adds limited value\. Other multi\-modal families \(mixture density networks, energy\-based models\) could be explored, but mixture models require pre\-specifying the mode count and energy\-based models lack efficient sampling, making conditional NFs the most natural choice for our setting\.
#### F\.2Puzzle Manipulation Results
We evaluate NFTR on the OGBench Puzzle suite, which involves discrete grasp\-and\-press primitives that produce inherently multi\-modal subgoal distributions\.
Table 10:OGBench Puzzle Results\.Success rate \(%\) on Puzzle3×33\{\\times\}3,4×44\{\\times\}4,4×54\{\\times\}5, and4×64\{\\times\}6, in bothplayandnoisysettings\. 3 seeds, mean±\\pmstd\. Per row, the best result is𝐨𝐫𝐚𝐧𝐠𝐞𝐛𝐨𝐥𝐝\\mathbf\{orangebold\}and the second\-best isunderlined¯\\underline\{underlined\}\.Analysis\.[Table˜10](https://arxiv.org/html/2607.07855#A6.T10)shows that NFTR achieves substantial gains over HIQL on the medium\-grid configurations \(4x4\-play:\+31\.1\+31\.1pp,4x4\-noisy:\+37\.0\+37\.0pp\) where the multi\-modal structure of valid grasp\-and\-press primitives matches the Normalizing Flow’s modeling capacity, and where observation noise allows triangle\-slack to filter spuriously\-rewarding subgoals\. As grid size grows to 4×\\times5 and 4×\\times6, the bottleneck shifts from per\-step subgoal quality to long\-horizon*combinatorial planning*\(the number of feasible block\-press sequences explodes\), and the gains compress for both methods\. The single regression on3x3\-noisyreflects the fact that this small grid has near\-fully\-observable structure where HIQL’s simpler unimodal head suffices and the additional NF capacity slightly hurts sample efficiency\. These results are consistent with our claim that NFTR helps most when \(i\) multi\-modality is present and \(ii\) noise/stochasticity is non\-trivial, while remaining orthogonal to long\-horizon planning improvements\.
#### F\.3HumanoidMaze Results: A Negative Result
We honestly report HumanoidMaze results, where NFTR underperforms HIQL\.
Table 11:OGBench HumanoidMaze Results\.Success rate \(%\) on HumanoidMazemedium/largenavigate and stitch settings \(21\-DoF humanoid, contact\-rich dynamics\)\. 3 seeds, mean±\\pmstd\. Per row, the best result is𝐨𝐫𝐚𝐧𝐠𝐞𝐛𝐨𝐥𝐝\\mathbf\{orangebold\}and the second\-best isunderlined¯\\underline\{underlined\}\.Analysis\.[Table˜11](https://arxiv.org/html/2607.07855#A6.T11)reports a consistent regression of NFTR relative to HIQL across all four HumanoidMaze settings \(e\.g\.,−39\.5\-39\.5pp onmedium\-navigate,−41\.3\-41\.3pp onlarge\-navigate\)\. This regression has two coupled causes:
1. 1\.Physical realizability of multi\-modal subgoals\.The 21\-DoF humanoid’s contact\-rich dynamics make many of the multiple subgoal modes generated by the Normalizing Flow not all physically realizable: a "valid corridor" entrance in maze coordinates may be unreachable for a humanoid given balance and footstep constraints\. Consequently, multi\-modal subgoal proposals introduce noise into AWR training, which a unimodal Gaussian \(HIQL\) avoids by collapsing to the single safest mode\.
2. 2\.Limited environmental stochasticity\.HumanoidMaze does not contain teleporters or strong random transitions, so the optimistic\-bias issue that triangle\-slack is designed to address is largely absent\. RWDR therefore provides limited gain while still introducing additional optimization complexity\.
This is consistent with our scope statement \([Section˜4](https://arxiv.org/html/2607.07855#S4)\): NFTR targets HIQL’s two specific failure modes \(mode collapse \+ optimistic bias\) and is most effective in environments where both are present\. In high\-DoF, contact\-rich, deterministic regimes, neither failure mode dominates, and the overhead of NF \+ RWDR is not amortized\. We have added HumanoidMaze to the*Limitations*discussion in[Section˜4](https://arxiv.org/html/2607.07855#S4)\.
#### F\.4Comprehensive RWDR Coefficientκ\\kappaAblation
The main paper reportedκ\\kappaablation on four tasks \([Table˜4](https://arxiv.org/html/2607.07855#S4.T4)\)\. Here we provide the comprehensive sweep across all 13 evaluated environments to support the claim that RWDR’s effect scales with environmental stochasticity\.
Table 12:Fullκ\\kappaAblation\.Sensitivity to the RWDR penalty coefficientκ∈\{0,0\.5,1\.0,2\.0,5\.0\}\\kappa\\in\\\{0,0\.5,1\.0,2\.0,5\.0\\\}across all evaluated environments\. Success rate \(%\), 4 seeds, mean±\\pmstd\. Per row \(i\.e\., per environment\), the bestκ\\kappais𝐨𝐫𝐚𝐧𝐠𝐞𝐛𝐨𝐥𝐝\\mathbf\{orangebold\}and the second\-best isunderlined¯\\underline\{underlined\}\. Entries marked “−\-” correspond to runs not yet completed\.Three regimes emerge from[Table˜12](https://arxiv.org/html/2607.07855#A6.T12)\.
\(1\) Deterministic / well\-clustered tasks\(e\.g\.,pointmaze\-medium\-stitch,antmaze\-medium\-stitch\):κ=0\\kappa=0is optimal in[Table˜12](https://arxiv.org/html/2607.07855#A6.T12)\. This is by design: when the dataset contains no lucky transitions, geometric filtering only adds noise\. The fact that NFTR withκ=0\\kappa=0already substantially outperforms HIQL \(98\.0%98\.0\\%vs74%74\\%onpointmaze\-medium\-stitch\) confirms that the NF policy alone captures the multi\-modal structure these tasks require\.
\(2\) Stochastic teleport tasks\(\*\-teleport\-\*\):κ∈\{1\.0,2\.0\}\\kappa\\in\\\{1\.0,2\.0\\\}is optimal, with monotonic decay atκ=5\.0\\kappa=5\.0\(over\-filtering\)\. This is exactly the regime triangle\-slack is designed for\. Onantmaze\-teleport\-explore, the bestκ\\kappais even higher \(5\.05\.0,26\.1%26\.1\\%vs14\.2%14\.2\\%atκ=0\\kappa=0\), which reflects the very low data quality of the explore split — heavier filtering removes more spurious "lucky exploration" subgoals\.
\(3\) Noisy manipulation\(cube\-\*,scene\-\*\): higherκ\\kappa\(≥1\.0\\geq 1\.0\) consistently improves overκ=0\\kappa=0\. Oncube\-single\-play,κ=2\.0\\kappa=2\.0delivers47\.1%47\.1\\%vs22\.2%22\.2\\%atκ=0\\kappa=0\(\+24\.9\+24\.9pp\)\. Observation noise produces measurement\-induced lucky subgoals, and stronger geometric filtering helps remove them\.
This task\-dependent pattern — where the optimalκ\\kappa*tracks the degree of environmental stochasticity/noise*— is exactly what a principled geometric consistency filter should exhibit\. We argue that this pattern*validates*rather than weakens the RWDR mechanism, addressing the concern raised in our review process about the modest effect ofκ\\kappain the main paper’s small ablation table\.
#### F\.5Comparison with NF\-RLBC Variants
For completeness, we compare NFTR against goal\-conditioned and hierarchical goal\-conditioned variants of NF\-RLBC\(Ghugare and Eysenbach,[2025](https://arxiv.org/html/2607.07855#bib.bib343)\), denotedGC\-NF\-RLBCandH\-GC\-NF\-RLBC\. These baselines also use Normalizing Flows in goal\-conditioned RL but*without*our triangle\-slack reweighting, allowing us to isolate the contribution of RWDR\.
Table 13:Comparison with NF\-RLBC variants\.Success rate \(%\), 4 seeds, mean±\\pmstd\. GC\-NF\-RLBC: goal\-conditioned NF\-RLBC\. H\-GC\-NF\-RLBC: hierarchical goal\-conditioned NF\-RLBC\. Per row, the best result is𝐨𝐫𝐚𝐧𝐠𝐞𝐛𝐨𝐥𝐝\\mathbf\{orangebold\}and the second\-best isunderlined¯\\underline\{underlined\}\.Analysis\.[Table˜13](https://arxiv.org/html/2607.07855#A6.T13)shows NFTR outperforming both GC\-NF\-RLBC and H\-GC\-NF\-RLBC on 12 of 15 tasks\. The flat goal\-conditioned NF policy \(GC\-NF\-RLBC\) struggles broadly, confirming that hierarchical decomposition is essential for the OGBench locomotion suite\. The hierarchical variant \(H\-GC\-NF\-RLBC\) recovers competitive performance on simple tasks but consistently lags NFTR by 5–40pp on stochastic and stitching tasks\. The gap onpointmaze\-medium\-stitch\(NFTR98\.0%98\.0\\%vs H\-GC\-NF\-RLBC0\.3%0\.3\\%\) is particularly informative: it isolates the contribution of triangle\-slack reweighting, since the only architectural difference is the absence of RWDR\. Conversely, on tasks where temporal abstraction or explicit long\-horizon planning dominates \(antmaze\-medium/large/giant\-stitch\), HIQL itself outperforms NFTR, consistent with our scope statement that NFTR’s contributions are orthogonal to long\-horizon planning improvements\.
#### F\.6Training Curves and Practical Stability under SGD
We provide empirical evidence for the practical stability claim attached to[Section˜3\.3](https://arxiv.org/html/2607.07855#S3.SS3), which notes that the population\-level monotonic improvement guarantee does not transfer verbatim to SGD on non\-convex parameterizations\. Across all 15 evaluated tasks, we record success rates at every0\.1×1060\.1\\times 10^\{6\}gradient steps and observe convergence between0\.30\.3and0\.5×1060\.5\\times 10^\{6\}steps in most cases\. After convergence, the trajectories settle into a stable region, which is what the practical claim predicts\.[Figure˜6](https://arxiv.org/html/2607.07855#A6.F6)plots four representative regimes\. Three properties hold across the figure\. First, none of the runs collapses or diverges\. Second, the standard deviation over the last0\.2×1060\.2\\times 10^\{6\}steps falls within the seed\-level standard deviation, which is the empirical signature of stationary\-point convergence for the weighted MLE objective\. Third, panel \(c\) provides the strictest test of the claim because[Section˜3\.2](https://arxiv.org/html/2607.07855#S3.SS2)\(4\) reduces to a one\-sided bound under stochastic dynamics, yet seed variance on[Figure˜6](https://arxiv.org/html/2607.07855#A6.F6)\(b\) contracts from±11\.9\\pm 11\.9at0\.1×1060\.1\\times 10^\{6\}steps to±2\.4\\pm 2\.4at1×1061\\times 10^\{6\}steps, and panel \(c\) itself stays within a bounded±1\.4\\pm 1\.4to±5\.7\\pm 5\.7range throughout training without any upward drift\.
Figure 6:Training curves of NFTR across four representative environments\.Solid curves show mean success rate over44random seeds\. Shaded bands show±1\\pm 1standard deviation\. The light gray vertical band marks the0\.30\.3to0\.5×1060\.5\\times 10^\{6\}convergence window\. The coloured number on the right of each curve is the mean success rate at1×1061\\times 10^\{6\}steps\. \(a\) Deterministic locomotion\. \(b\) High dimensional deterministic locomotion\. \(c\) Stochastic locomotion, the regime in which[Section˜3\.2](https://arxiv.org/html/2607.07855#S3.SS2)\(4\) reduces to a one\-sided bound and which therefore tests the practical stability claim most directly\. \(d\) Noisy manipulation\.
#### F\.7Visualization of Learned Representations
We investigate the role of distance network training in RWDR’s effectiveness\. As shown in[Figure˜5](https://arxiv.org/html/2607.07855#S4.F5)\(variants A0 vs A2\), trained and untrained MRN configurations achieve comparable performance across most tasks, with differences typically within one standard error \(3\-4%\)\.
Why does the untrained configuration work?
Architectural guarantee\.The MRN architecture enforces the triangle inequality by construction, ensuringΔ\(s,w,g\)≥0\\Delta\(s,w,g\)\\geq 0regardless of training\. This geometric constraint is sufficient for RWDR to penalize subgoals that require large detours in the representation space\.
Complementary signals\.An untraineddθd\_\{\\theta\}provides a regularization signal independent of the learned value functionVθV\_\{\\theta\}\. Trainingdθd\_\{\\theta\}may cause it to correlate withVθV\_\{\\theta\}, potentially reducing the complementary benefit of geometric filtering\.
Robustness to estimation error\.In offline settings with limited coverage, learning accurate distances is challenging\. The untrained configuration avoids potential overfitting to dataset artifacts or conflicts between distance and value learning objectives\.
When might training help?
Our ablation suggests training provides modest benefits on tasks requiring precise trajectory composition\. In these settings, the Bellman consistency loss may helpdθd\_\{\\theta\}better capture transition dynamics relevant for identifying composable subgoals\.
HIQL vs\. NFTR Visualization\.
Both heatmaps in[Figure˜7](https://arxiv.org/html/2607.07855#A6.F7)visualize the high\-level subgoal preference for a fixed state–goal pair\(s,g\)\(s,g\)\(green/red dots\)\. For each candidate waypointww, we compute a target subgoal representationztgt=ϕ\(s,w\)z\_\{\\text\{tgt\}\}=\\phi\(s,w\)and plot the relative densitylogpθ\(ztgt∣s,g\)\\log p\_\{\\theta\}\(z\_\{\\text\{tgt\}\}\\mid s,g\)over feasible maze regions \(brighter⇒\\Rightarrowhigher preference within each panel\)\. Gray blocks indicate walls / unreachable space\. In the teleport maze, cyan hollow circles denote*teleport\-in*portals \(trigger locations\), while magenta filled circles denote*teleport\-out*landing sites\.
In[Figure˜7](https://arxiv.org/html/2607.07855#A6.F7)\(a\), HIQL’s unimodal Gaussian produces a diffuse landscape that effectively averages across alternative routes, spreading preference beyond specific corridor structures\. In contrast,[Figure˜7](https://arxiv.org/html/2607.07855#A6.F7)\(b\) shows NFTR’s Normalizing Flow yielding a more structured, multi\-modal preference pattern, concentrating probability mass around distinct feasible regions \(e\.g\., corridor entrances and teleport\-related junctions\), which better reflects multiple valid subgoal modes\. For each candidate waypointww, we compute a target subgoal representationztgt=ϕ\(s,w\)z\_\{\\text\{tgt\}\}=\\phi\(s,w\)and plot the relative densitylogpθ\(ztgt∣s,g\)\\log p\_\{\\theta\}\(z\_\{\\text\{tgt\}\}\\mid s,g\)over feasible maze regions \(brighter⇒\\Rightarrowhigher preference within each panel\)\. Gray blocks indicate walls / unreachable space\. In the teleport maze, cyan hollow circles denote*teleport\-in*portals \(trigger locations\), while magenta filled circles denote*teleport\-out*landing sites\.
HIQL’s unimodal Gaussian produces a diffuse landscape that effectively averages across alternative routes, spreading preference beyond specific corridor structures\. In contrast, NFTR’s Normalizing Flow yields a more structured, multi\-modal preference pattern, concentrating probability mass around distinct feasible regions \(e\.g\., corridor entrances and teleport\-related junctions\), which better reflects multiple valid subgoal modes\.
\(a\)HIQL
\(b\)NFTR
Figure 7:Log\-likelihood heatmap on antmaze\-teleport\-navigate task1\.Similar Articles
Recursive Value Learning for Long-Horizon Offline Goal-Conditioned RL
The paper introduces DCRL, a divide-and-conquer approach for offline goal-conditioned reinforcement learning that reduces error accumulation in long-horizon tasks via recursive binary tree decomposition, achieving improved performance on OGBench benchmarks.
PathBridger: Subgoal Bridges for Offline Goal-Conditioned Reinforcement Learning
PathBridger proposes a hierarchical offline goal-conditioned reinforcement learning method that explicitly connects subgoal selection with short-horizon execution through inverse dynamics modeling, achieving strong performance on benchmark tasks.
Ground-Truth Neighborhood Regularization for Reinforcement Learning Post-Training of Time Series Foundation Models
This paper identifies 'suboptimal collapse' in RL post-training of time series foundation models and proposes Ground-Truth Neighborhood Regularization (GTN-R) to keep output distributions near the ground truth, improving forecasting performance.
Learning Multiple Timescales for Goal-Conditioned Reinforcement Learning
The paper introduces Generalized Implicit Temporal Abstraction (GITA), a method for offline goal-conditioned reinforcement learning that trains a single k-conditioned value function across multiple temporal abstraction scales, resolving the trade-off between long-range value signal and local resolution. GITA outperforms offline GCRL baselines like HIQL and OTA on OGBench, raising average success rates by 25 percentage points over HIQL.
NormGuard: Reward-Preserving Norm Constraints in Flow-Matching Reinforcement Learning
This paper proposes NormGuard, a norm-budget regularizer that suppresses reward-irrelevant velocity norm inflation during RL post-training of flow-matching generative models, improving perceptual image quality without sacrificing reward.