spectral predictions and feature-learning method, while zero-shot evaluations on discrete tasks and continuous-control benchmarks demonstrate the utility of the learned representations across rewards.
Introduction
Recent advances in large language models (LLMs) and embodied artificial intelligence (AI) have triggered a growing ambition to build general-purpose agents that operate in open-ended environments [28 , 14 ] . Unlike traditional task-specific models, these agents are expected to handle a diverse array of goals, costs, and preferences within the same environment, often specified on the fly by human instructions or changing task contexts. Although these changes alter the reward function, knowledge of how actions influence future outcomes remains reusable. Reward-independent representations seek to capture this knowledge and support new tasks without learning a separate critic from scratch.
Among reward-independent representations, successor features (SFs) provide a foundational framework for such reuse by separating reward weights from the discounted accumulation of features [7 , 3 ] . Building on this, more recent successor-measure (SM) representations seek to encode behavior across policies using reward-free interaction data [4 , 23 , 24 ] . However, a critical challenge arises: which features should be learned? To address this problem, Ollivier [15 ] connects optimal features to the spectral structure of the full advantage operator through expected downstream performance under strong behavior-cloning regularization. Despite these theoretical advances, limited representation capacity still raises three fundamental questions: what statistical dependence should these representations capture, which components of that dependence should be retained for policy improvement, and how does discarding the remaining components affect decision-making?
To address these problems, we introduce Spectral Universal Advantage Features (SUAF), a reward-independent representation of delayed advantage with respect to the corresponding behavior policy. Our starting point is that future outcomes depend on both state and action, while advantage measures the action’s contribution relative to a reference policy. We therefore isolate the dependence that remains after subtracting the policy-averaged future state–action visitation. Building on canonical dependence analysis Huang et al. [12 ] , we construct an action-centered, positive-lag canonical dependence matrix (CDM) between current state–action pair and future visitation, where action centering is conducted by subtracting the policy-averaged visitation and positive lag excludes the current time step from the visitation count. The singular value decomposition of this matrix yields paired features of current and future state–action pairs, which defines the proposed SUAF. The full expansion of SUAF recovers the advantage function by projecting a downstream reward onto the future features. We further show that the immediate reward contrast imposes a strictly positive lower bound on the worst-case error of directly approximating the full advantage operator at low rank. We call this lower bound the spectral floor. When the immediate reward contrast can be evaluated directly, SUAF avoids this floor by keeping it explicit and compressing only the delayed component. For this delayed component, SUAF gives an optimal rank-constrained approximation under both average-case and worst-case reward objectives. Under weak dependence, we further relate the sum of squared singular values to the conditional mutual information between the current action and the future state–action pair given the current state. We then ask how discarding the remaining modes affects decision-making and derive an exact approximation-error expression via projections onto discarded modes, distinguishing the total dependence carried by the discarded modes from their contribution to the advantages for a given reward, and obtain a sufficient condition under which the predicted policy-improvement gain exceeds the approximation loss. We further bound local representation reuse under policy changes within trust region. To learn SUAF without constructing the CDM, we develop an action-centered Soft-HGR objective Wang et al. [25 ] with bidirectional temporal-difference estimation, using forward and backward predictors from reward-free transitions. The learned representation supports advantage readout and policy extraction. Experiments examine the spectral floor, truncation errors, and feature-learning accuracy, with zero-shot evaluations on discrete and continuous-control benchmarks.
In summary, our contributions are threefold:
We introduce SUAF through an action-centered positive-lag CDM, connecting delayed advantage to the dependence between current actions and future outcomes. We identify a spectral floor in the full advantage operator that motivates retaining the immediate reward contrast explicitly and compressing only the delayed component.
We establish average-case and reward-uniform minimax optimality for spectral approximation of delayed advantage. We derive reward-specific truncation errors that yield sufficient conditions for policy improvement.
We develop an action-centered Soft-HGR learning method with bidirectional TD estimation. Experiments validate the spectral analysis and feature-learning performance, and evaluate zero-shot policy improvement across rewards in discrete and continuous environments.
Preliminaries
Universal feature functions for high dimensional learning
Let X ∈ X X \in\mathcal{X} X ∈ X and Y ∈ Y Y \in\mathcal{Y} Y ∈ Y be two random variables with joint distribution P X Y P_{XY} P X Y and marginal distributions P X P_X P X and P Y P_Y P Y . Assuming that P X ( x ) > 0 P_X(x) > 0 P X ( x ) > 0 and $P_Y(y) > 0 on their supports, the canonical dependence matrix (CDM) B ~ ∈ R ∣ Y ∣ × ∣ X ∣ \tilde{B} \in\mathbb{R}^{|\mathcal{Y}|\times|\mathcal{X}|} B ~ ∈ R ∣ Y ∣ × ∣ X ∣ is defined as
B ~ ( y , x ) = P X Y ( x , y ) − P X ( x ) P Y ( y ) P X ( x ) P Y ( y ) . \tilde{B}(y,x)=\frac{P_{XY}(x,y)-P_X(x)P_Y(y)}{\sqrt{P_X(x)P_Y(y)}}. B ~ ( y , x ) = P X ( x ) P Y ( y ) P X Y ( x , y ) − P X ( x ) P Y ( y ) .
The CDM is the normalized residual between the joint distribution P X Y P_{XY} P X Y and the independent distribution P X P Y P_XP_Y P X P Y . In particular, B ~ = 0 \tilde{B}=0 B ~ = 0 if and only if X X X and Y Y Y are independent. When X X X and Y Y Y are weakly dependent, ∥ B ~ ∥ F 2 ≈ 2 I ( X ; Y ) \|\tilde{B}\|_F^2 \approx2I(X;Y) ∥ B ~ ∥ F 2 ≈ 2 I ( X ; Y ) , where I ( X ; Y ) I(X;Y) I ( X ; Y ) is mutual information. Let the singular value decomposition (SVD) of the CDM be B ~ = ∑ i = 1 R σ i ψ i Y ( ψ i X ) T \tilde{B}=\sum_{i=1}^{R}\sigma_i\psi_i^Y(\psi_i^X)^{\mathsf{T}} B ~ = ∑ i = 1 R σ i ψ i Y ( ψ i X ) T with σ 1 ≥ σ 2 ≥ ⋯ ≥ σ R > 0 \sigma_1\ge\sigma_2\ge\cdots\ge\sigma_R>0 σ 1 ≥ σ 2 ≥ ⋯ ≥ σ R > 0 , where R ≤ min { ∣ X ∣ − 1 , ∣ Y ∣ − 1 } R\le\min\{|\mathcal{X}|-1,|\mathcal{Y}|-1\} R ≤ min { ∣ X ∣ − 1 , ∣ Y ∣ − 1 } . The corresponding feature functions are defined as
f i ( x ) = ψ i X ( x ) P X ( x ) , g i ( y ) = ψ i Y ( y ) P Y ( y ) . f_i(x)=\frac{\psi_i^X(x)}{\sqrt{P_X(x)}},\qquad g_i(y)=\frac{\psi_i^Y(y)}{\sqrt{P_Y(y)}}. f i ( x ) = P X ( x ) ψ i X ( x ) , g i ( y ) = P Y ( y ) ψ i Y ( y ) .
These feature functions are centered and orthonormal under their respective marginal distributions. For any k ≤ R k\le R k ≤ R , the first k k k pairs of { f , g } \{f,g\} { f , g } solve the generalized canonical correlation problem
max { f i , g i } i = 1 k ∑ i = 1 k E [ f i ( X ) g i ( Y ) ] s.t. E [ f i ( X ) ] = E [ g i ( Y ) ] = 0 , E [ f i ( X ) f j ( X ) ] = E [ g i ( Y ) g j ( Y ) ] = 1 ( i = j ) , (1) \begin{aligned}
\max_{\{f_i,g_i\}_{i=1}^{k}}\quad&\sum_{i=1}^{k}\mathbb{E}[f_i(X)g_i(Y)]\\
\text{s.t.}\quad&\mathbb{E}[f_i(X)]=\mathbb{E}[g_i(Y)]=0,\\
&\mathbb{E}[f_i(X)f_j(X)]=\mathbb{E}[g_i(Y)g_j(Y)]=1(i=j), \tag*{(1)}
\end{aligned} { f i , g i } i = 1 k max s.t. i = 1 ∑ k E [ f i ( X ) g i ( Y )] E [ f i ( X )] = E [ g i ( Y )] = 0 , E [ f i ( X ) f j ( X )] = E [ g i ( Y ) g j ( Y )] = 1 ( i = j ) , (1)
whose optimal value is ∑ i = 1 k σ i \sum_{i=1}^{k}\sigma_i ∑ i = 1 k σ i . The case k = 1 k=1 k = 1 reduces to the Hirschfeld-Gebelein-Rényi (HGR) maximal correlation. Under the local information-geometric formulation of Huang et al. [12 ] , these leading feature functions are universal in the sense that they optimize the average local inference performance for unknown weak attributes of Y Y Y .
Markov Decision Processes
An MDP is defined as a tuple ⟨ S , A , T , r , γ , μ ⟩ \langle\mathcal{S},\mathcal{A},T,r,\gamma,\mu\rangle ⟨ S , A , T , r , γ , μ ⟩ , where S \mathcal{S} S denotes the state space, A \mathcal{A} A denotes the action space, T : S × A → P ( S ) T:\mathcal{S}\times\mathcal{A}\to\mathcal{P}(\mathcal{S}) T : S × A → P ( S ) denotes the transition probability with P ( ⋅ ) \mathcal{P}(\cdot) P ( ⋅ ) denotes a probability distribution over a set, r : S × A → R r:\mathcal{S}\times\mathcal{A}\to\mathbb{R} r : S × A → R denotes the reward function with ∣ r ( s , a ) ∣ ≤ R max |r(s,a)|\le R_{\max} ∣ r ( s , a ) ∣ ≤ R m a x for all ( s , a ) (s,a) ( s , a ) , γ ∈ [ 0 , 1 ) \gamma\in[0,1) γ ∈ [ 0 , 1 ) denotes the discount factor and μ \mu μ denotes the distribution of initial states. The goal of RL is to learn a policy π θ : S → P ( A ) \pi_\theta:\mathcal{S}\to\mathcal{P}(\mathcal{A}) π θ : S → P ( A ) with parameters θ \theta θ that maximize the expected return J r ( π θ ) = E s 0 ∼ μ E π θ [ ∑ t = 0 ∞ γ t r ( s t , a t ) ] J_r(\pi_\theta)=\mathbb{E}_{s_0\sim\mu}\mathbb{E}_{\pi_\theta}\left[\sum_{t=0}^{\infty}\gamma^t r(s_t,a_t)\right] J r ( π θ ) = E s 0 ∼ μ E π θ [ ∑ t = 0 ∞ γ t r ( s t , a t ) ] where s t s_t s t and a t a_t a t denotes the state and action at timestep t t t .
The marginal occupancy measure, d π ( s , a ) d^\pi(s,a) d π ( s , a ) is defined as the normalized probability of visiting state-action pair ( s , a ) (s,a) ( s , a ) following the policy π \pi π from a state sampled from the initial state distribution, which is d π ( s , a ) = ( 1 − γ ) ∑ t = 0 ∞ γ t P π ( s t = s , a t = a ) d^\pi(s,a)=(1-\gamma)\sum_{t=0}^{\infty}\gamma^t\mathbb{P}_\pi(s_t=s,a_t=a) d π ( s , a ) = ( 1 − γ ) ∑ t = 0 ∞ γ t P π ( s t = s , a t = a ) . The successor measure, M π ( s , a , s + , a + ) M^\pi(s,a,s^+,a^+) M π ( s , a , s + , a + ) , is defined as the probability of being in state s + s^+ s + and taking action a + a^+ a + when starting from the state-action pair ( s , a ) (s,a) ( s , a ) and following the policy π \pi π , which is M π ( s + , a + ∣ s , a ) = ( 1 − γ ) ∑ t = 0 ∞ γ t P π ( s t = s + , a t = a + ∣ s 0 = s , a 0 = a ) M^\pi(s^+, a^+|s, a) = (1-\gamma)\sum_{t=0}^{\infty}\gamma^t\mathbb{P}_\pi(s_t=s^+, a_t=a^+|s_0=s, a_0=a) M π ( s + , a + ∣ s , a ) = ( 1 − γ ) ∑ t = 0 ∞ γ t P π ( s t = s + , a t = a + ∣ s 0 = s , a 0 = a ) . The marginal occupancy measure is the expectation of successor measure, namely, d π ( s , a ) = E s 0 ∼ μ , a 0 ∼ π ( ⋅ ∣ s 0 ) [ M π ( s , a ∣ s 0 , a 0 ) ] d^\pi(s,a)=\mathbb{E}_{s_0\sim\mu,a_0\sim\pi(\cdot|s_0)}[M^\pi(s,a|s_0,a_0)] d π ( s , a ) = E s 0 ∼ μ , a 0 ∼ π ( ⋅ ∣ s 0 ) [ M π ( s , a ∣ s 0 , a 0 )] . The Q Q Q -function defined using successor measure is Q π ( s , a ) = E ( s + , a + ) ∼ M π [ r ( s + , a + ) ∣ s , a ] Q^\pi(s,a)=\mathbb{E}_{(s^+,a^+)\sim M^\pi}[r(s^+,a^+)|s,a] Q π ( s , a ) = E ( s + , a + ) ∼ M π [ r ( s + , a + ) ∣ s , a ] or Q π = ( 1 − γ ) − 1 M π r Q^\pi=(1-\gamma)^{-1}M^\pi r Q π = ( 1 − γ ) − 1 M π r . The V V V -function is defined as V π ( s ) = ∑ a π ( a ∣ s ) Q π ( s , a ) V^\pi(s)=\sum_a\pi(a|s)Q^\pi(s,a) V π ( s ) = ∑ a π ( a ∣ s ) Q π ( s , a ) and advantage function is defined as A π ( s , a ) = Q π ( s , a ) − V π ( s ) A^\pi(s,a)=Q^\pi(s,a)-V^\pi(s) A π ( s , a ) = Q π ( s , a ) − V π ( s ) .
Spectral Universal Advantage Feature Functions
This section introduces SUAF and establishes its theoretical foundations of universality. We first define SUAF by dependent CDM and derive an exact spectral representation of the advantage function. We then establish its universality through average-case and minimax optimality under a rank constraint. Finally, we show that directly compressing the full advantage introduces a spectral floor due to the immediate reward contrast, providing the theoretical justification for retaining immediate reward explicitly and compressing only the delayed component.
Definition and Properties of SUAF We establish the SUAF with dependent CDM. To begin with, we define the positive-lag successor measure M + , π ( s , a , s + , a + ) M^{+,\pi}(s,a,s^+,a^+) M + , π ( s , a , s + , a + ) as
M + , π ( s + , a + ∣ s , a ) = ( 1 − γ ) ∑ t = 1 ∞ γ t − 1 P π ( s t = s + , a t = a + ∣ s 0 = s , a 0 = a ) . M^{+,\pi}(s^+,a^+|s,a)=(1-\gamma)\sum_{t=1}^{\infty}\gamma^{t-1}\mathbb{P}_\pi(s_t=s^+,a_t=a^+|s_0=s,a_0=a). M + , π ( s + , a + ∣ s , a ) = ( 1 − γ ) t = 1 ∑ ∞ γ t − 1 P π ( s t = s + , a t = a + ∣ s 0 = s , a 0 = a ) .
This measure represents the normalized discounted distribution of future state–action pairs ( s + , a + ) (s^+,a^+) ( s + , a + ) reached under policy π \pi π from ( s , a ) (s,a) ( s , a ) , excluding the current time step. Unlike the marginal occupancy measure d π d^\pi d π , it remains dependent on the initial state–action pair and therefore characterizes how the current action shapes the strictly future visitation distribution. Based on the positive-lag successor measure, we consider the positive-lag dependent CDM (DCDM)3 as
B ~ + , π ( ( s , a ) , ( s + , a + ) ) = d π ( s , a ) M + , π ( s + , a + ∣ s , a ) − E a ′ ∼ π ( ⋅ ∣ s ) [ M + , π ( s + , a + ∣ s , a ′ ) ] ν + , π ( s + , a + ) , (2) \widetilde{B}^{+,\pi}((s,a),(s^+,a^+))=\sqrt{d^\pi(s,a)}\frac{M^{+,\pi}(s^+,a^+|s,a)-\mathbb{E}_{a'\sim\pi(\cdot|s)}[M^{+,\pi}(s^+,a^+|s,a')]}{\sqrt{\nu^{+,\pi}(s^+,a^+)}}, \tag*{(2)} B + , π (( s , a ) , ( s + , a + )) = d π ( s , a ) ν + , π ( s + , a + ) M + , π ( s + , a + ∣ s , a ) − E a ′ ∼ π ( ⋅ ∣ s ) [ M + , π ( s + , a + ∣ s , a ′ )] , (2)
where ν + , π ( ⋅ ) = ∑ s , a d π ( s , a ) M + , π ( ⋅ ∣ s , a ) \nu^{+,\pi}(\cdot)=\sum_{s,a}d^\pi(s,a)M^{+,\pi}(\cdot|s,a) ν + , π ( ⋅ ) = ∑ s , a d π ( s , a ) M + , π ( ⋅ ∣ s , a ) is the marginal distribution of ( s + , a + ) (s^+,a^+) ( s + , a + ) . The DCDM is the normalized residual between successor measure and the corresponding distribution conditioned on the state alone. In particular, conditioning on s s s removes the predictive information already contained in the current state, so that B ~ + , π \widetilde{B}^{+,\pi} B + , π captures the additional influence of the current action a a a on the strictly future state-action distribution. Especially, when ( S + , A + ) (S^{+}, A^{+}) ( S + , A + ) is weakly dependent on ( S , A ) (S, A) ( S , A ) , ∥ B ~ + , π ∥ 2 2 ≈ 2 I ( A ; S + , A + ∣ S ) \lVert\widetilde{B}^{+,\pi} \rVert_{2}^{2} \approx2I(A; S^{+}, A^{+} \mid S) ∥ B + , π ∥ 2 2 ≈ 2 I ( A ; S + , A + ∣ S ) holds2 ^{2} 2 . The weak dependence happens when the effective discount horizon 1 / ( 1 − γ ) 1/(1-\gamma) 1/ ( 1 − γ ) is substantially longer than the mixing time of the Markov chain induced by π \pi π . A sufficiently exploratory policy and overlapping stochastic transitions will further weaken the dependence. With the SVD of DCDM as
B ~ + , π = ∑ i = 1 R σ i + , π ψ i , + , π S , A ( ψ i , + , π S + , A + ) T \widetilde{B}^{+,\pi} = \sum_{i=1}^{R} \sigma_{i}^{+,\pi} \psi_{i,+,\pi}^{S,A} \left(\psi_{i,+,\pi}^{S^{+},A^{+}}\right)^{\mathsf{T}} B + , π = i = 1 ∑ R σ i + , π ψ i , + , π S , A ( ψ i , + , π S + , A + ) T
with σ 1 + , π ≥ ⋯ ≥ σ R + , π > 0 \sigma_{1}^{+,\pi} \ge\cdots\ge\sigma_{R}^{+,\pi} > 0 σ 1 + , π ≥ ⋯ ≥ σ R + , π > 0 , where R ≤ ∣ S ∣ − 1 R \le\lvert S\rvert- 1 R ≤ ∣ S ∣ − 1 indicating a low-rank matrix3 ^{3} 3 , we define the SUAF as
f i ( s , a ) = ψ i , + , π S , A ( s , a ) d π ( s , a ) , g i ( s + , a + ) = ψ i , + , π S + , A + ( s + , a + ) ν + , π ( s + , a + ) . (3) f_i(s,a) = \frac{\psi_{i,+,\pi}^{S,A}(s,a)}{\sqrt{d^{\pi}(s,a)}}, \qquad g_i(s^{+},a^{+}) = \frac{\psi_{i,+,\pi}^{S^{+},A^{+}}(s^{+},a^{+})}{\sqrt{\nu^{+,\pi}(s^{+},a^{+})}}. \tag*{(3)} f i ( s , a ) = d π ( s , a ) ψ i , + , π S , A ( s , a ) , g i ( s + , a + ) = ν + , π ( s + , a + ) ψ i , + , π S + , A + ( s + , a + ) . (3)
The proposed SUAF shares the properties with the universal features proposed by Huang et al. [12 ] , and see Appendix § 9 .§ 4 for details.
Reward-Independent Universal Optimality of SUAF In this paragraph, we propose that the SUAF is universal for downstream tasks. Furthermore, when the advantage operator is approximated with rank at most k k k , we prove that SUAF is min-max optimal for downstream tasks.
Theorem 3.1 (Universal advantage function representation). For any reward function r : S × A → R r : S \times A \to\mathbb{R} r : S × A → R , and for every ( s , a ) (s,a) ( s , a ) in the support of d π d^{\pi} d π , the advantage function admits the exact representation
A r π ( s , a ) = C π r ( s , a ) + γ 1 − γ ∑ i = 1 R σ i + , π f i ( s , a ) ⟨ g i , r ⟩ ν + , π , (4) A_{r}^{\pi}(s,a) = C_{\pi}r(s,a) + \frac{\gamma}{1-\gamma} \sum_{i=1}^{R} \sigma_{i}^{+,\pi} f_i(s,a) \langle g_i,r\rangle_{\nu^{+,\pi}}, \tag*{(4)} A r π ( s , a ) = C π r ( s , a ) + 1 − γ γ i = 1 ∑ R σ i + , π f i ( s , a ) ⟨ g i , r ⟩ ν + , π , (4) where C π r ( s , a ) : = r ( s , a ) − E a ∼ π ( ⋅ ∣ s ) [ r ( s , a ) ] C_{\pi}r(s,a) := r(s,a) - \mathbb{E}_{a\sim\pi(\cdot\mid s)}[r(s,a)] C π r ( s , a ) := r ( s , a ) − E a ∼ π ( ⋅ ∣ s ) [ r ( s , a )] is the immediate centered reward and ⟨ g i , r ⟩ ν + , π = ∑ s , a ν + , π ( s , a ) g i ( s , a ) r ( s , a ) \langle g_i,r\rangle_{\nu^{+,\pi}} = \sum_{s,a}\nu^{+,\pi}(s,a)g_i(s,a)r(s,a) ⟨ g i , r ⟩ ν + , π = ∑ s , a ν + , π ( s , a ) g i ( s , a ) r ( s , a ) is the inner product on Hilbert space L 2 ( ν + , π ) L^2(\nu^{+,\pi}) L 2 ( ν + , π ) .
Denote the positive-lag future operator as
T + , π r ( s , a ) = ∑ s + , a + ( M + , π ( s + , a + ∣ s , a ) − E a ′ ∼ π ( ⋅ ∣ s ) [ M + , π ( s + , a + ∣ s , a ′ ) ] ) r ( s + , a + ) , \mathcal{T}^{+,\pi}r(s,a)
= \sum_{s^{+},a^{+}} \left(M^{+,\pi}(s^{+},a^{+}\mid s,a) - \mathbb{E}_{a'\sim\pi(\cdot\mid s)}[M^{+,\pi}(s^{+},a^{+}\mid s,a')]\right)r(s^{+},a^{+}), T + , π r ( s , a ) = s + , a + ∑ ( M + , π ( s + , a + ∣ s , a ) − E a ′ ∼ π ( ⋅ ∣ s ) [ M + , π ( s + , a + ∣ s , a ′ )] ) r ( s + , a + ) ,
and the advantage function can be written as A r π = C π r + γ 1 − γ T + , π r A_{r}^{\pi} = C_{\pi}r + \frac{\gamma}{1-\gamma}\mathcal{T}^{+,\pi}r A r π = C π r + 1 − γ γ T + , π r with T + , π = ∑ i σ i + , π f i ⊗ g i \mathcal{T}^{+,\pi} = \sum_i \sigma_i^{+,\pi} f_i \otimes g_i T + , π = ∑ i σ i + , π f i ⊗ g i . Consequently, the DCDM provides a reward-independent representation of the delayed component of the advantage function. The functions { g i } i = 1 R \{g_i\}_{i=1}^{R} { g i } i = 1 R form an orthonormal basis for the reward subspace relevant to the delayed advantage. In particular, every reward can be decomposed as r = ∑ i = 1 R ⟨ g i , r ⟩ ν + , π g i + r ⊥ r = \sum_{i=1}^{R} \langle g_i,r\rangle_{\nu^{+,\pi}}g_i + r_{\perp} r = ∑ i = 1 R ⟨ g i , r ⟩ ν + , π g i + r ⊥ , where the residual r ⊥ r_{\perp} r ⊥ satisfies T + , π r ⊥ ( s , a ) = 0 \mathcal{T}^{+,\pi}r_{\perp}(s,a)=0 T + , π r ⊥ ( s , a ) = 0 for every ( s , a ) (s,a) ( s , a ) . Hence, r ⊥ r_{\perp} r ⊥ has no effect on the delayed advantage, and the coefficients { ⟨ g i , r ⟩ ν + , π } i = 1 R \{\langle g_i,r\rangle_{\nu^{+,\pi}}\}_{i=1}^{R} {⟨ g i , r ⟩ ν + , π } i = 1 R completely characterize the reward information relevant to future credit assignment.
When only k < R k<R k < R features can be used, the approximation is denoted as T ^ + , π \widehat{\mathcal{T}}^{+,\pi} T + , π with rank ( T ^ + , π ) ≤ k \operatorname{rank}(\widehat{\mathcal{T}}^{+,\pi})\le k rank ( T + , π ) ≤ k . The corresponding advantage function is A ^ r π = C π r + γ 1 − γ T ^ + , π r \widehat{A}^{\pi}_{r}=C_{\pi}r+\frac{\gamma}{1-\gamma}\widehat{\mathcal{T}}^{+,\pi}r A r π = C π r + 1 − γ γ T + , π r . Theorem 3.2 then shows that, conditional on the environment and policy, SUAF provides universal, reward-independent advantage features with optimal rank-k k k approximation risk across downstream tasks.
Theorem 3.2 (Average-case optimality of the rank-k k k representations). Let reward function r r r be sampled from uniform distribution over the unit sphere of L 2 ( ν + , π ) L^{2}(\nu^{+,\pi}) L 2 ( ν + , π ) , and let m = ∣ supp ( ν + , π ) ∣ m=|\operatorname{supp}(\nu^{+,\pi})| m = ∣ supp ( ν + , π ) ∣ . Among all reward-independent rank-k k k approximations T ^ + , π \widehat{\mathcal{T}}^{+,\pi} T + , π for A ^ r π \widehat{A}^{\pi}_{r} A r π , the top-k k k truncated representation
A r , k π = C π r + γ 1 − γ ∑ i = 1 k σ i + , π f i ⟨ g i , r ⟩ ν + , π (5) A^{\pi}_{r,k}=C_{\pi}r+\frac{\gamma}{1-\gamma}\sum_{i=1}^{k}\sigma_i^{+,\pi}f_i\langle g_i,r\rangle_{\nu^{+,\pi}} \tag*{(5)} A r , k π = C π r + 1 − γ γ i = 1 ∑ k σ i + , π f i ⟨ g i , r ⟩ ν + , π (5) minimizes the expected advantage approximation error, i.e.,
E r [ ∥ A r π − A r , k π ∥ d π 2 ] = inf rank ( T ^ + , π ) ≤ k E r [ ∥ A r π − A ^ r π ∥ d π 2 ] = 1 m ( γ 1 − γ ) 2 ∑ i > k ( σ i + , π ) 2 , \mathbb{E}_{r}\left[\left\|A^{\pi}_{r}-A^{\pi}_{r,k}\right\|_{d^{\pi}}^{2}\right]
=
\inf_{\operatorname{rank}(\widehat{\mathcal{T}}^{+,\pi})\le k}
\mathbb{E}_{r}\left[\left\|A^{\pi}_{r}-\widehat{A}^{\pi}_{r}\right\|_{d^{\pi}}^{2}\right]
=
\frac{1}{m}\left(\frac{\gamma}{1-\gamma}\right)^{2}\sum_{i>k}\left(\sigma_i^{+,\pi}\right)^{2}, E r [ A r π − A r , k π d π 2 ] = rank ( T + , π ) ≤ k inf E r [ A r π − A r π d π 2 ] = m 1 ( 1 − γ γ ) 2 i > k ∑ ( σ i + , π ) 2 , and top-k k k truncation is also optimal under minimax case, i.e.,
sup ∥ r ∥ ν + , π ≤ 1 ∥ A r π − A r , k π ∥ d π 2 = inf rank ( T ^ + , π ) ≤ k sup ∥ r ∥ ν + , π ≤ 1 ∥ A r π − A ^ r π ∥ d π 2 = ( γ 1 − γ ) 2 ( σ k + 1 + , π ) 2 . \sup_{\|r\|_{\nu^{+,\pi}}\le1}\left\|A^{\pi}_{r}-A^{\pi}_{r,k}\right\|_{d^{\pi}}^{2}
=
\inf_{\operatorname{rank}(\widehat{\mathcal{T}}^{+,\pi})\le k}
\sup_{\|r\|_{\nu^{+,\pi}}\le1}\left\|A^{\pi}_{r}-\widehat{A}^{\pi}_{r}\right\|_{d^{\pi}}^{2}
=
\left(\frac{\gamma}{1-\gamma}\right)^{2}\left(\sigma_{k+1}^{+,\pi}\right)^{2}. ∥ r ∥ ν + , π ≤ 1 sup A r π − A r , k π d π 2 = rank ( T + , π ) ≤ k inf ∥ r ∥ ν + , π ≤ 1 sup A r π − A r π d π 2 = ( 1 − γ γ ) 2 ( σ k + 1 + , π ) 2 .
The uniform distribution over the unit sphere of L 2 ( ν + , π ) L^{2}(\nu^{+,\pi}) L 2 ( ν + , π ) serves as a task-agnostic reward model, with each reward defining a downstream task.
Furthermore, we claim that the exact immediate term also removes a spectral floor that arises when approximating the full advantage operator.
Theorem 3.3 (Removing the immediate-term spectral floor). Consider a finite MDP with 0 < γ < 1 0<\gamma<1 0 < γ < 1 and strictly positive d π d^{\pi} d π and ν + , π \nu^{+,\pi} ν + , π . Let α π = min s d S π ( s ) ν S + , π ( s ) \alpha_{\pi}=\min_{s}\frac{d^{\pi}_{S}(s)}{\nu^{+,\pi}_{S}(s)} α π = min s ν S + , π ( s ) d S π ( s ) , q = ∣ S ∣ ( ∣ A ∣ − 1 ) q=|S|(|A|-1) q = ∣ S ∣ ( ∣ A ∣ − 1 ) . For every 0 ≤ k < q 0\le k<q 0 ≤ k < q ,
inf rank ( K ) ≤ k sup ∥ r ∥ ν + , π ≤ 1 ∥ A r π − K r ∥ d π 2 ≥ α π + ( γ 1 − γ ) 2 ( σ k + 1 + , π ) 2 (6) \inf_{\operatorname{rank}(K)\le k}\sup_{\|r\|_{\nu^{+,\pi}}\le1}\left\|A^{\pi}_{r}-Kr\right\|_{d^{\pi}}^{2}
\ge\alpha_{\pi}+\left(\frac{\gamma}{1-\gamma}\right)^{2}\left(\sigma_{k+1}^{+,\pi}\right)^{2} \tag*{(6)} rank ( K ) ≤ k inf ∥ r ∥ ν + , π ≤ 1 sup ∥ A r π − K r ∥ d π 2 ≥ α π + ( 1 − γ γ ) 2 ( σ k + 1 + , π ) 2 (6) where singular values beyond the rank of T + , π \mathcal{T}^{+,\pi} T + , π are defined to be zero. In contrast, retaining C π r C_{\pi}r C π r exactly and truncating only the future term incurs worst-case error without α π \alpha_{\pi} α π as shown in Theorem 3.2 . If ν + , π = d π \nu^{+,\pi}=d^{\pi} ν + , π = d π , then α π = 1 \alpha_{\pi}=1 α π = 1 and equation (6) holds with equality.
:::`
Therefore, directly compressing the full advantage operator retains a nonzero error floor for k < q k < q k < q , whereas the SUAF approximation error follows only the delayed spectrum and vanishes once all nonzero future modes are retained. The improvement comes from computing the known immediate term exactly, rather than spending the learned rank budget on representing it. For per-reward analysis, please refer to Appendix § 9 .§ 5 .
Methods
In this section, we use the truncated SUAF to achieve policy improvement. We propose two classes of improvements, including one-step update and trust region update. After that, we introduce methods for estimating SUAF.
One Step Policy Update Following One-step FB Zheng et al. [30 ] , we use the SUAF of a fixed behavior policy π \pi π to perform reward-conditioned policy improvement. Given a downstream reward r r r , we compute its coefficients β i ( r ) = ⟨ g i π , r ⟩ ν + , π \beta_i(r) = \langle g_i^{\pi}, r \rangle_{\nu^+,\pi} β i ( r ) = ⟨ g i π , r ⟩ ν + , π and construct A r , k π ( s , a ) A_{r,k}^{\pi}(s, a) A r , k π ( s , a ) following equation 5. The improved policy selects actions maximizing this score: π r + ( s ) ∈ arg max a A r , k π ( s , a ) \pi_r^+(s) \in\arg\max_a A_{r,k}^{\pi}(s, a) π r + ( s ) ∈ arg max a A r , k π ( s , a ) . For continuous actions, this maximization can be approximated by training an actor (which will be frozen when deploy) while keeping the SUAF fixed. A soft variant can replace the argmax with a Boltzmann update as π r + ( a ∣ s ) ∝ π ( a ∣ s ) exp ( τ A r , k π ( s , a ) ) \pi_r^+(a|s) \propto\pi(a|s)\exp(\tau A_{r,k}^{\pi}(s, a)) π r + ( a ∣ s ) ∝ π ( a ∣ s ) exp ( τ A r , k π ( s , a )) . Equivalently, π r + \pi_r^+ π r + solves the KL-regularized policy improvement problem max π ′ E π ′ [ A r , k π ( s , a ) ] − τ − 1 D K L ( π ′ ∥ π ) \max_{\pi'} \mathbb{E}_{\pi'}[A_{r,k}^{\pi}(s, a)] - \tau^{-1}D_{\mathrm{KL}}(\pi'\|\pi) max π ′ E π ′ [ A r , k π ( s , a )] − τ − 1 D KL ( π ′ ∥ π ) . As τ → ∞ \tau\to\infty τ → ∞ , this recovers the greedy update and as τ → 0 \tau\to0 τ → 0 , it recovers π \pi π . For state-only rewards, C π r = 0 C^{\pi}r = 0 C π r = 0 , so an actor conditioned on β ( r ) \beta(r) β ( r ) can be pretrained across coefficient vectors and reused for new rewards without further parameter updates. With exact full-rank SUAF and exact maximization, π r + \pi_r^+ π r + is greedy with respect to Q r π Q_r^{\pi} Q r π and hence satisfies V r π r + ≥ V r π V_r^{\pi_r^+} \ge V_r^{\pi} V r π r + ≥ V r π . This provides one policy-improvement step. Note that no training steps when deploy to downstream tasks and hence it forms a zero-shot deployment.
Theorem 4.1 (Boltzmann policy improvement with truncated SUAF). Let A r , k π A_{r,k}^{\pi} A r , k π be the exact rank-k k k SUAF advantage approximation, and let π τ ( a ∣ s ) ∝ π ( a ∣ s ) e τ A r , k π ( s , a ) \pi_{\tau}(a|s) \propto\pi(a|s)e^{\tau A_{r,k}^{\pi}(s,a)} π τ ( a ∣ s ) ∝ π ( a ∣ s ) e τ A r , k π ( s , a ) with τ > 0 \tau> 0 τ > 0 . Define B k : = sup s , a , b ∣ A r , k π ( s , a ) − A r , k π ( s , b ) ∣ B_k := \sup_{s,a,b}|A_{r,k}^{\pi}(s,a) - A_{r,k}^{\pi}(s,b)| B k := sup s , a , b ∣ A r , k π ( s , a ) − A r , k π ( s , b ) ∣ ,
ε k ( r ) = γ 1 − γ [ ∑ i > k ( σ i + , π ) 2 β i ( r ) 2 ] 1 / 2 \varepsilon_k(r) = \frac{\gamma}{1-\gamma}\left[\sum_{i>k}(\sigma_i^{+,\pi})^2\beta_i(r)^2\right]^{1/2} ε k ( r ) = 1 − γ γ [ i > k ∑ ( σ i + , π ) 2 β i ( r ) 2 ] 1/2 and
Δ k ( r ) : = ∥ A r , k π ∥ d π 2 − ∥ C π r ∥ d π ε k ( r ) \Delta_k(r) := \|A_{r,k}^{\pi}\|_{d^{\pi}}^2 - \|C^{\pi}r\|_{d^{\pi}}\varepsilon_k(r) Δ k ( r ) := ∥ A r , k π ∥ d π 2 − ∥ C π r ∥ d π ε k ( r ) If Δ k ( r ) > 0 \Delta_k(r) > 0 Δ k ( r ) > 0 , then it guarantees J r ( π τ ) > J r ( π ) J_r(\pi_{\tau}) > J_r(\pi) J r ( π τ ) > J r ( π ) if temperature satisfies
0 < τ < 4 ( 1 − γ ) 2 Δ k ( r ) R max B k 2 0 < \tau< \frac{4(1-\gamma)^2\Delta_k(r)}{R_{\max}B_k^2} 0 < τ < R m a x B k 2 4 ( 1 − γ ) 2 Δ k ( r ) For state-only rewards, C π r = 0 C^{\pi}r = 0 C π r = 0 and
Δ k ( r ) = ( γ 1 − γ ) 2 ∑ i ≤ k ( σ i + , π ) 2 β i ( r ) 2 . \Delta_k(r) = \left(\frac{\gamma}{1-\gamma}\right)^2\sum_{i\leq k}(\sigma_i^{+,\pi})^2\beta_i(r)^2. Δ k ( r ) = ( 1 − γ γ ) 2 i ≤ k ∑ ( σ i + , π ) 2 β i ( r ) 2 . In this case, if Δ k ( r ) > 0 \Delta_k(r) > 0 Δ k ( r ) > 0 , the larger sufficient range
0 < τ < 4 γ R max B k 2 ∑ i ≤ k ( σ i + , π ) 2 β i ( r ) 2 0 < \tau< \frac{4\gamma}{R_{\max}B_k^2}\sum_{i\leq k}(\sigma_i^{+,\pi})^2\beta_i(r)^2 0 < τ < R m a x B k 2 4 γ i ≤ k ∑ ( σ i + , π ) 2 β i ( r ) 2
also guarantees strict improvement.
Policy Gradient with Trust Region Beyond one-step policy improvement, SUAF can also be reused under local policy changes. Trust-region methods constrain policy updates to prevent destructive changes [19 , 20 ] . We show that the error of reusing SUAF from an old policy is controlled within the trust region.
Consider two policies π \pi π and π θ \pi_{\theta} π θ in the same finite MDP with a common initial distribution and 0 < γ < 1 0 < \gamma< 1 0 < γ < 1 . Assume that d π d^{\pi} d π and ν + , π \nu^{+,\pi} ν + , π have full support. Using the SUAF f π f^{\pi} f π and g π g^{\pi} g π learned under π \pi π , we approximate the advantage under π ′ \pi' π ′ by
A ^ r = C π θ r + γ 1 − γ ∑ i = 1 R σ i + , π ( C π θ f i π ) β i ( r ) , (7) \widehat{A}_{r}=C_{\pi_{\theta}}r+\frac{\gamma}{1-\gamma}\sum_{i=1}^{R}\sigma_{i}^{+,\pi}\left(C_{\pi_{\theta}}f_{i}^{\pi}\right)\beta_{i}(r), \tag*{(7)} A r = C π θ r + 1 − γ γ i = 1 ∑ R σ i + , π ( C π θ f i π ) β i ( r ) , (7)
A ^ r k = C π θ r + γ 1 − γ ∑ i = 1 k σ i + , π ( C π θ f i π ) β i ( r ) \widehat{A}_{r}^{k}=C_{\pi_{\theta}}r+\frac{\gamma}{1-\gamma}\sum_{i=1}^{k}\sigma_{i}^{+,\pi}\left(C_{\pi_{\theta}}f_{i}^{\pi}\right)\beta_{i}(r) A r k = C π θ r + 1 − γ γ i = 1 ∑ k σ i + , π ( C π θ f i π ) β i ( r )
where C π θ u ( s , a ) = u ( s , a ) − E a ∼ π θ ( ⋅ ∣ s ) [ u ( s , a ) ] C_{\pi_{\theta}}u(s,a)=u(s,a)-\mathbb{E}_{a\sim\pi_{\theta}(\cdot\mid s)}[u(s,a)] C π θ u ( s , a ) = u ( s , a ) − E a ∼ π θ ( ⋅ ∣ s ) [ u ( s , a )] and β i ( r ) = ⟨ g i π , r ⟩ ν + , π \beta_i(r)=\langle g_i^{\pi},r\rangle_{\nu^{+,\pi}} β i ( r ) = ⟨ g i π , r ⟩ ν + , π . This approximation retains the old features and reward coefficients, while recentering the action-dependent features under the new policy. The discrepancy from A r π θ A_{r}^{\pi_{\theta}} A r π θ isolates the error caused by reusing the old policy’s future information. We measure policy shift by the KL divergence as:
D K L ( π θ ∥ π ) : = E d s π θ [ D K L ( π θ ( ⋅ ∣ s ) ∥ π ( ⋅ ∣ s ) ) ] , (8) D_{\mathrm{KL}}(\pi_{\theta}\mathbin\Vert\pi):=\mathbb{E}_{d^{\pi_{\theta}}_{s}}\left[D_{\mathrm{KL}}\left(\pi_{\theta}(\cdot\mid s)\mathbin\Vert\pi(\cdot\mid s)\right)\right], \tag*{(8)} D KL ( π θ ∥ π ) := E d s π θ [ D KL ( π θ ( ⋅ ∣ s ) ∥ π ( ⋅ ∣ s ) ) ] , (8)
D K L ( π ∥ π θ ) : = E d s π [ D K L ( π ( ⋅ ∣ s ) ∥ π θ ( ⋅ ∣ s ) ) ] , (9) D_{\mathrm{KL}}(\pi\mathbin\Vert\pi_{\theta}):=\mathbb{E}_{d^{\pi}_{s}}\left[D_{\mathrm{KL}}\left(\pi(\cdot\mid s)\mathbin\Vert\pi_{\theta}(\cdot\mid s)\right)\right], \tag*{(9)} D KL ( π ∥ π θ ) := E d s π [ D KL ( π ( ⋅ ∣ s ) ∥ π θ ( ⋅ ∣ s ) ) ] , (9)
where d s π ( s ) = ∑ a d π ( s , a ) d^{\pi}_{s}(s)=\sum_{a}d^{\pi}(s,a) d s π ( s ) = ∑ a d π ( s , a ) is marginal state distribution.6 Define the action sensitivity
L max : = sup ∥ r ∥ ν + , π ≤ 1 max { max s , a , b ∣ A r π ( s , a ) − A r π ( s , b ) ∣ , max s , a , b ∣ A r π θ ( s , a ) − A r π θ ( s , b ) ∣ } . (10) L_{\max}:=\sup_{\lVert r\rVert_{\nu^{+,\pi}\leq1}}\max\left\{\max_{s,a,b}\left|A_{r}^{\pi}(s,a)-A_{r}^{\pi}(s,b)\right|,\max_{s,a,b}\left|A_{r}^{\pi_{\theta}}(s,a)-A_{r}^{\pi_{\theta}}(s,b)\right|\right\}. \tag*{(10)} L m a x := ∥ r ∥ ν + , π ≤ 1 sup max { s , a , b max ∣ A r π ( s , a ) − A r π ( s , b ) ∣ , s , a , b max ∣ A r π θ ( s , a ) − A r π θ ( s , b ) ∣ } . (10)
For the policy gradient ∇ θ J r ( π θ ) = ( 1 − γ ) ∇ θ J r ( π θ ) \nabla_{\theta}J_{r}(\pi_{\theta})=(1-\gamma)\nabla_{\theta}J_{r}(\pi_{\theta}) ∇ θ J r ( π θ ) = ( 1 − γ ) ∇ θ J r ( π θ ) , we approximate the gradient as G ^ r = E d π θ [ ∇ θ log π θ A ^ r ] \widehat{G}_{r}=\mathbb{E}_{d^{\pi_{\theta}}}[\nabla_{\theta}\log\pi_{\theta}\widehat{A}_{r}] G r = E d π θ [ ∇ θ log π θ A r ] and rank-k k k approximation
G ^ θ k ( r ) = E d π θ [ ∇ θ log π θ A ^ r k ] . \widehat{G}_{\theta}^{k}(r)=\mathbb{E}_{d^{\pi_{\theta}}}[\nabla_{\theta}\log\pi_{\theta}\widehat{A}_{r}^{k}]. G θ k ( r ) = E d π θ [ ∇ θ log π θ A r k ] .
Theorem 4.2 (Policy improvement using transferred SUAF). Given the policy π θ \pi_{\theta} π θ in the trust region of π r e f \pi_{\mathrm{ref}} π ref , i.e., D ( π θ ∥ π r e f ) < δ D(\pi_{\theta}\mathbin\Vert\pi_{\mathrm{ref}})<\delta D ( π θ ∥ π ref ) < δ , fix a reward r r r with ∥ r ∥ ν + , π r e f ≤ 1 \lVert r\rVert_{\nu^{+,\pi_{\mathrm{ref}}}}\leq1 ∥ r ∥ ν + , π ref ≤ 1 and define u r : = F θ † G ^ r u_r:=F_{\theta}^{\dagger}\widehat{G}_r u r := F θ † G r , s r : = ∥ G ^ r ∥ F θ † s_r:=\lVert\widehat{G}_r\rVert_{F_{\theta}^{\dagger}} s r := ∥ G r ∥ F θ † , ϵ δ : = ( γ L max 2 2 ( 1 − γ ) δ ) 1 / 2 \epsilon_{\delta}:=\left(\frac{\gamma L_{\max}^{2}}{2(1-\gamma)}\delta\right)^{1/2} ϵ δ := ( 2 ( 1 − γ ) γ L m a x 2 δ ) 1/2 with F θ = E θ [ ∇ θ log π θ ( ∇ θ log π θ ) T ] F_{\theta}=\mathbb{E}_{\theta}[\nabla_{\theta}\log\pi_{\theta}(\nabla_{\theta}\log\pi_{\theta})^{\mathsf T}] F θ = E θ [ ∇ θ log π θ ( ∇ θ log π θ ) T ] being the Fisher matrix. Then ∇ θ J r ( π θ ) T u r ≥ s r ( s r − ϵ δ ) \nabla_{\theta}J_r(\pi_{\theta})^{\mathsf T}u_r\geq s_r(s_r-\epsilon_{\delta}) ∇ θ J r ( π θ ) T u r ≥ s r ( s r − ϵ δ ) . In particular, if s r > ϵ δ s_r>\epsilon_{\delta} s r > ϵ δ , then u r u_r u r is a strict ascent direction, and there exists η 0 > 0 \eta_0>0 η 0 > 0 such that J r ( π θ + η u r ) > J r ( π θ ) J_r(\pi_{\theta}+\eta u_r)>J_r(\pi_{\theta}) J r ( π θ + η u r ) > J r ( π θ ) , 0 < η < η 0 0<\eta<\eta_0 0 < η < η 0 . Moreover, if
θ ↦ J ˉ r ( π θ ) \theta\mapsto\bar{J}_{r}(\pi_{\theta}) θ ↦ J ˉ r ( π θ ) has an L L L -Lipschitz gradient on a convex neighborhood containing the update segment, strict improvement holds whenever
0 < η < 2 s r ( s r − ϵ δ ) L ∥ u r ∥ 2 2 . 0 < \eta< \frac{2s_r(s_r-\epsilon_\delta)}{L\lVert u_r\rVert_2^2}. 0 < η < L ∥ u r ∥ 2 2 2 s r ( s r − ϵ δ ) .
Theorem 4.2 indicates that, when the estimated gradient signal exceeds the approximation error, the resulting natural-gradient direction is a strict ascent direction, and sufficiently small steps improve policy performance. These results align with the trust-region principle and motivate integrating SUAF as a reusable critic into existing policy optimization frameworks, such as TRPO Schulman et al. [19 ] and PPO Schulman et al. [20 ] . After training, SUAF and the reward-conditioned actor are frozen. For a new reward, only the linear coefficients are computed, and the policy is obtained by a single forward pass without any actor update.
Theorem 4.3 (Policy-gradient error with truncated SUAF). Under the assumption in Theorem 4.2. For η δ = min { 1 , δ / [ 2 ( 1 − γ ) ] } \eta_\delta=\min\{1,\sqrt{\delta}/[2(1-\gamma)]\} η δ = min { 1 , δ / [ 2 ( 1 − γ )]} , B ( δ ) = min { R max 2 , 1 + R max 2 C γ δ } B(\delta)=\min\{R_{\max}^{2},1+R_{\max}^{2}C_\gamma\sqrt{\delta}\} B ( δ ) = min { R m a x 2 , 1 + R m a x 2 C γ δ } with C γ = ( 4 + γ − 1 ) / [ 2 ( 1 − γ ) 2 ] C_\gamma=\sqrt{(4+\gamma^{-1})/[2(1-\gamma)^2]} C γ = ( 4 + γ − 1 ) / [ 2 ( 1 − γ ) 2 ] ,
sup ∥ r ∥ ν , π θ ≤ 1 ∥ ∇ θ J ˉ r ( π θ ) − G ^ θ k ( r ) ∥ F θ † 2 ≤ B ( δ ) [ γ δ L max 2 2 ( 1 − γ ) + ( γ 1 − γ ) 2 ( σ k + 1 + , π ) 2 + L max 2 η δ ] 2 . \sup_{\lVert r\rVert_\nu,\pi_\theta\le1}\left\lVert\nabla_\theta\bar{J}_r(\pi_\theta)-\widehat{G}_{\theta}^{k}(r)\right\rVert_{F_{\theta}^{\dagger}}^2
\le B(\delta)\left[\sqrt{\frac{\gamma\delta L_{\max}^2}{2(1-\gamma)}}+\sqrt{\left(\frac{\gamma}{1-\gamma}\right)^2(\sigma_{k+1}^{+,\pi})^2+L_{\max}^2\eta_\delta}\right]^2. ∥ r ∥ ν , π θ ≤ 1 sup ∇ θ J ˉ r ( π θ ) − G θ k ( r ) F θ † 2 ≤ B ( δ ) 2 ( 1 − γ ) γ δ L m a x 2 + ( 1 − γ γ ) 2 ( σ k + 1 + , π ) 2 + L m a x 2 η δ 2 .
Theorem 4.3 shows that trust-region control remains effective with truncated SUAF. The policy-gradient error bound accounts for both policy shift and spectral truncation. A smaller trust region controls the error from reusing reference-policy features, while retaining more spectral modes reduces the truncation error. When the policy is unchanged, only the truncation term remains. In contrast, when all nonzero modes are retained, the bound tends to zero as the policy shift vanishes.
Soft-HGR Soft-HGR provides an approach to learning feature functions by replacing hard orthogonality constraints with a covariance penalty Wang et al. [25 ] . We adapt this objective to the DCDM and use bidirectional temporal-difference (TD) learning to estimate the long-horizon conditional expectations. The detailed process of algorithm can be found in Appendix § 15 .§ 1 . We parameterize two k k k -dimensional feature functions, f θ f_\theta f θ and g ω g_\omega g ω , with neural networks parameters θ \theta θ and ω \omega ω respectively, enforcing E π [ f θ ∣ s ] = 0 \mathbb{E}_{\pi}[f_\theta\mid s]=0 E π [ f θ ∣ s ] = 0 , E ν + , π [ g ω ] = 0 \mathbb{E}_{\nu^+,\pi}[g_\omega]=0 E ν + , π [ g ω ] = 0 . These conditions are implemented by subtracting the corresponding conditional and marginal means. In continuous spaces, the means are approximated using samples. Furthermore, defining C f = E d π [ f θ f θ T ] C_f=\mathbb{E}_{d_\pi}[f_\theta f_\theta^{\mathsf T}] C f = E d π [ f θ f θ T ] and C g = E ν + , π [ g ω g ω T ] C_g=\mathbb{E}_{\nu^+,\pi}[g_\omega g_\omega^{\mathsf T}] C g = E ν + , π [ g ω g ω T ] , the feature-learning objective of soft-HGR is
max θ , ω J ( θ , ω ) = E ( s , a ) ∼ d π E ( s + , a + ) ∼ M π + ( ⋅ ∣ s , a ) [ f θ T ( s , a ) g ω ( s + , a + ) ] − 1 2 tr ( C f C g ) . (11) \max_{\theta,\omega}\mathcal{J}(\theta,\omega)=\mathbb{E}_{(s,a)\sim d_\pi}\mathbb{E}_{(s^+,a^+)\sim M^+_\pi(\cdot\mid s,a)}\left[f_\theta^{\mathsf T}(s,a)g_\omega(s^+,a^+)\right]-\frac{1}{2}\operatorname{tr}(C_fC_g). \tag*{(11)} θ , ω max J ( θ , ω ) = E ( s , a ) ∼ d π E ( s + , a + ) ∼ M π + ( ⋅ ∣ s , a ) [ f θ T ( s , a ) g ω ( s + , a + ) ] − 2 1 tr ( C f C g ) . (11)
The conditional centering of f θ f_\theta f θ removes dependence explained solely by the current state, so the objective targets the action-dependent successor residual represented by B ~ + , π \tilde{B}^{+,\pi} B ~ + , π . Soft-HGR learns low-rank factors rather than individually normalized singular functions. Weighted whitening is then applied to obtain the canonical feature pairs and estimated singular values using sample moments.
Bidirectional conditional prediction. The original soft-HGR method requires full trajectories, which can be a burden. We instead introduce bidirectional Bellman conditional prediction. The correlation term in equation (11) admits two equivalent expressions:
E ( s , a ) ∼ d π E ( s + , a + ) ∼ M + , π ( ⋅ ∣ s , a ) [ f θ T ( s , a ) g ω ( s + , a + ) ] = E d π [ f θ T h ] = E ν + , π [ b T g ω ] , (12) \mathbb{E}_{(s,a)\sim d^\pi}\mathbb{E}_{(s^+,a^+)\sim M^{+,\pi}(\cdot\mid s,a)}[f_\theta^{\mathsf{T}}(s,a)g_\omega(s^+,a^+)] = \mathbb{E}_{d^\pi}[f_\theta^{\mathsf{T}}h] = \mathbb{E}_{\nu^{+,\pi}}[b^{\mathsf{T}}g_\omega], \tag*{(12)} E ( s , a ) ∼ d π E ( s + , a + ) ∼ M + , π ( ⋅ ∣ s , a ) [ f θ T ( s , a ) g ω ( s + , a + )] = E d π [ f θ T h ] = E ν + , π [ b T g ω ] , (12)
where h ( s , a ) = E [ g ω ( s + , a + ) ∣ s , a ] h(s,a)=\mathbb{E}[g_\omega(s^+,a^+)\mid s,a] h ( s , a ) = E [ g ω ( s + , a + ) ∣ s , a ] and b ( s + , a + ) = E [ f θ ( s , a ) ∣ s + , a + ] b(s^+,a^+)=\mathbb{E}[f_\theta(s,a)\mid s^+,a^+] b ( s + , a + ) = E [ f θ ( s , a ) ∣ s + , a + ] . We estimate these quantities with auxiliary prediction networks. For one-step transitions ( s , a ) ∼ d π (s,a)\sim d^\pi ( s , a ) ∼ d π and ( s ′ , a ′ ) ∼ P π ( ⋅ ∣ s , a ) (s',a')\sim P_\pi(\cdot\mid s,a) ( s ′ , a ′ ) ∼ P π ( ⋅ ∣ s , a ) , the forward predictor and backward recursion satisfy
h ( s , a ) = E P π [ ( 1 − γ ) g ω ( s ′ , a ′ ) + γ h ( s ′ , a ′ ) ∣ s , a ] , v ( s ′ , a ′ ) = w 1 ( s ′ , a ′ ) E [ ( 1 − γ ) f θ ( s , a ) + γ v ( s , a ) ∣ s ′ , a ′ ] , \begin{aligned}
h(s,a) &= \mathbb{E}_{P_\pi}[(1-\gamma)g_\omega(s',a')+\gamma h(s',a')\mid s,a],\\
v(s',a') &= w_1(s',a')\mathbb{E}[(1-\gamma)f_\theta(s,a)+\gamma v(s,a)\mid s',a'],
\end{aligned} h ( s , a ) v ( s ′ , a ′ ) = E P π [( 1 − γ ) g ω ( s ′ , a ′ ) + γ h ( s ′ , a ′ ) ∣ s , a ] , = w 1 ( s ′ , a ′ ) E [( 1 − γ ) f θ ( s , a ) + γ v ( s , a ) ∣ s ′ , a ′ ] ,
where ν + , π ( s , a ) b ( s , a ) = d π ( s , a ) v ( s , a ) \nu^{+,\pi}(s,a)b(s,a)=d^\pi(s,a)v(s,a) ν + , π ( s , a ) b ( s , a ) = d π ( s , a ) v ( s , a ) and w 1 ( s , a ) = ν 1 π ( s , a ) / d π ( s , a ) w_1(s,a)=\nu_1^\pi(s,a)/d^\pi(s,a) w 1 ( s , a ) = ν 1 π ( s , a ) / d π ( s , a ) . Accordingly, networks h ξ h_\xi h ξ and v η v_\eta v η are trained with TD objectives
L F ( ξ ) = E ( s , a ) ∼ d π E ( s ′ , a ′ ) ∼ P π [ ∥ h ξ ( s , a ) − sg [ ( 1 − γ ) g ω ( s ′ , a ′ ) + γ h ξ ˉ ( s ′ , a ′ ) ] ∥ 2 2 ] , (13) \mathcal{L}_{F}(\xi)=\mathbb{E}_{(s,a)\sim d^\pi}\mathbb{E}_{(s',a')\sim P_\pi}\left[\left\|h_\xi(s,a)-\operatorname{sg}\left[(1-\gamma)g_\omega(s',a')+\gamma h_{\bar{\xi}}(s',a')\right]\right\|_2^2\right], \tag*{(13)} L F ( ξ ) = E ( s , a ) ∼ d π E ( s ′ , a ′ ) ∼ P π [ h ξ ( s , a ) − sg [ ( 1 − γ ) g ω ( s ′ , a ′ ) + γ h ξ ˉ ( s ′ , a ′ ) ] 2 2 ] , (13)
L B ( η ) = E ( s ′ , a ′ ) ∼ ν 1 π E ( s , a ) ∼ p π [ ∥ v η ( s ′ , a ′ ) − sg [ w 1 ( s ′ , a ′ ) ( ( 1 − γ ) f θ ( s , a ) + γ v η ˉ ( s , a ) ) ] ∥ 2 2 ] , \mathcal{L}_{B}(\eta)=\mathbb{E}_{(s',a')\sim\nu_1^\pi}\mathbb{E}_{(s,a)\sim p_\pi}\left[\left\|v_\eta(s',a')-\operatorname{sg}\left[w_1(s',a')\left((1-\gamma)f_\theta(s,a)+\gamma v_{\bar{\eta}}(s,a)\right)\right]\right\|_2^2\right], L B ( η ) = E ( s ′ , a ′ ) ∼ ν 1 π E ( s , a ) ∼ p π [ ∥ v η ( s ′ , a ′ ) − sg [ w 1 ( s ′ , a ′ ) ( ( 1 − γ ) f θ ( s , a ) + γ v η ˉ ( s , a ) ) ] ∥ 2 2 ] ,
where sg \operatorname{sg} sg denotes stop-gradient and ξ ˉ , η ˉ \bar{\xi},\bar{\eta} ξ ˉ , η ˉ are target-network parameters. The density ratio w 1 w_1 w 1 can be eliminated by a surrogate loss L ^ B ( η ) \hat{\mathcal{L}}_B(\eta) L ^ B ( η ) sharing the same minimum as L B ( η ) \mathcal{L}_B(\eta) L B ( η ) . We defer its derivation to Appendix § 15 .§ 1 .
Alternating soft-HGR updates. With the prediction networks held fixed, we alternate between minimizing
L f ( θ ) = E d π [ − f θ T sg [ h ξ ] + 1 2 f θ T sg [ C g ] f θ ] , L g ( ω ) = E ν + , π [ − g ω T sg [ b θ ] + 1 2 g ω T sg [ C f ] g ω ] . (14) \mathcal{L}_f(\theta)=\mathbb{E}_{d^\pi}\left[-f_\theta^{\mathsf{T}}\operatorname{sg}[h_\xi]+\frac{1}{2}f_\theta^{\mathsf{T}}\operatorname{sg}[C_g]f_\theta\right],\quad\mathcal{L}_g(\omega)=\mathbb{E}_{\nu^{+,\pi}}\left[-g_\omega^{\mathsf{T}}\operatorname{sg}[b_\theta]+\frac{1}{2}g_\omega^{\mathsf{T}}\operatorname{sg}[C_f]g_\omega\right]. \tag*{(14)} L f ( θ ) = E d π [ − f θ T sg [ h ξ ] + 2 1 f θ T sg [ C g ] f θ ] , L g ( ω ) = E ν + , π [ − g ω T sg [ b θ ] + 2 1 g ω T sg [ C f ] g ω ] . (14)
With exact conditional predictors and population moments, these updates are precisely block gradient ascent on equation (11) . The forward and backward predictors, h ξ h_\xi h ξ and v η v_\eta v η , are held fixed during each feature update. With exact conditional predictions and population moments, these updates recover the corresponding soft-HGR gradients without differentiating through the temporal-difference (TD) solutions. In practice, prediction and moment-estimation errors introduce errors into these gradient estimates. Expectations are estimated using samples. In particular, ν + , π \nu^{+,\pi} ν + , π samples are obtained by selecting an anchor from d π d^\pi d π and a future lag L L L with Pr ( L = ℓ ) = ( 1 − γ ) γ ℓ − 1 \Pr(L=\ell)=(1-\gamma)\gamma^{\ell-1} Pr ( L = ℓ ) = ( 1 − γ ) γ ℓ − 1 .
Experiments
This section evaluates whether SUAF provides accurate advantage representations and effective zero-shot control across reward tasks. We first describe the experimental setup and evaluation protocol. We then use finite-state environments to examine representation accuracy, the benefit of separating immediate and delayed effects, and the resulting policy improvement. Finally, we evaluate zero-shot performance on continuous locomotion, navigation, and manipulation tasks against feature-learning and successor-based methods.
Experimental Setup
Discrete Finite Environments We evaluate on Grid World Chevalier-Boisvert et al. [6 ] , Four-room Sutton et al. [22 ] , and Taxi Dietterich [8 ] to cover basic navigation, narrow passages with long-range credit assignment, and compositional tasks (navigation, pickup, delivery), respectively. These domains vary in state-space size and temporal structure. For each, we partition reward tasks into in-distribution (ID) and out-of-distribution (OOD) sets while fixing dynamics. Representations are learned from reward-free transitions under a behavior policy and rewards are used only for policy extraction. Since states and transitions are enumerable, we compute the optimal return J ( π ∗ ) J(\pi^*) J ( π ∗ ) via dynamic programming.
Continuous State and Action Environments. We further use four state-based continuous-control domains: walker and cheetah from ExORL Yarats et al. [29 ] , and antmaze-large-navigate (denoted as antmaze-large for short) and cube-single-play from OGBench Park et al. [17 ] . These jointly cover locomotion under varied rewards, goal navigation, and robotic pick-and-place. Representations are trained on reward-free offline transitions and reused across downstream tasks. As tabular dynamic programming is infeasible, we follow benchmark metrics: undiscounted episodic return for ExORL and task success rate for OGBench. Futhermore, we evaluate generalization to held-out reward tasks by retraining all methods under predefined ID/OOD splits. For Walker, stand and walk are ID tasks, while run and flip are OOD tasks. For Cheetah, run and run backward are ID tasks, while walk and walk backward are OOD tasks. For both Antmaze-large and Cube-single-play, Tasks 1–2 form the ID set and Tasks 3–4 form the OOD set.
Baselines For baselines, we compare against methods that are commonly used and are the state of the art in reward-independent features, including Laplacian features Wu et al. [27 ] , BYOL-γ \gamma γ Lawson et al. [13 ] , ICVF Ghosh et al. [11 ] , HILP Park et al. [16 ] , Forward-Backward Touati et al. [24 ] and One-Step FB Zheng et al. [30 ] .
Results and Analysis
Spectral approximation and learning of SUAF. Figure 1 evaluates SUAF in Grid World and Four-room. SUAF represents the reward-to-advantage map by computing the immediate action contrast C π r C_\pi r C π r exactly and using learned spectral features only for the delayed, action-dependent component. This separation matters because directly compressing the full advantage operator incurs an immediate-term spectral floor when k < ∣ S ∣ ( ∣ A ∣ − 1 ) k < |\mathcal{S}|(|\mathcal{A}| - 1) k < ∣ S ∣ ( ∣ A ∣ − 1 ) . In contrast, the squared error of exact SUAF truncation is bounded, for ∥ r ∥ ν + , π ≤ 1 \lVert r\rVert_{\nu^{+,\pi}} \le1 ∥ r ∥ ν + , π ≤ 1 , by ( γ 1 − γ ) 2 ( σ k + 1 + , π ) 2 \left(\frac{\gamma}{1-\gamma}\right)^2(\sigma_{k+1}^{+,\pi})^2 ( 1 − γ γ ) 2 ( σ k + 1 + , π ) 2 , which vanishes when all nonzero delayed modes are retained. Figures 1(b,f) show that the reward-specific errors decrease with retained rank and remain below this worst-case bound. Direct SVD of the full advantage operator has substantially larger errors at the same budget of learned modes. We then test whether the SUAF can be learned from transitions. Across the ranks shown in Figures 1(c,g), Bidirectional TD achieves lower weighted Frobenius error for the delayed operator than Soft-HGR. Finally, Figures 1(d,h) show that the learned SUAF yields decreasing reward-specific advantage errors as rank increases. Its remaining gap from exact SUAF truncation, particularly at higher ranks, reflects feature-learning error in addition to the spectral truncation error.
Figure 1. Spectral approximation and learning of SUAF in Grid World (top) and Four-room (bottom). (a, e) Environments with reward locations. Background arrows indicate the policy. (b, f) Advantage approximation errors for SUAF truncation and direct SVD truncation, together with theoretical worst-case error bounds. (c, g) Weighted Frobenius errors for approximating T + , π \mathcal{T}^{+,\pi} T + , π using Soft-HGR and Bidirectional TD at different ranks. (d, h) Reward-specific advantage approximation errors of SUAF learned using Bidirectional TD, compared with exact SUAF truncation computed from the exact operator. Rank axes in (b, d, f, h) use a nonlinear scale that expands the spectral tail.
Zero-shot policy generation ability. (1) Zero-shot policy extraction in finite-state environments. Table 1 evaluates the fraction of the improvement from the behavior policy to the optimal policy recovered by each method. Our method achieves the highest mean improvement rate on all three OOD task sets. Performance on in-distribution tasks is more mixed. TD-JEPA and FB outperform SUAF on Grid World and Four-room, whereas SUAF achieves the best result on Taxi. These results support the utility of SUAF for extracting policies across different reward tasks, with particularly favorable performance on the evaluated OOD tasks, while showing that it does not uniformly dominate existing representations. (2) Evaluation on ExORL and OGBench. Table 2 examines whether these benefits extend to continuous-state locomotion, navigation, and manipulation tasks. SUAF achieves the second-highest mean return on both ExORL domains. On OGBench, SUAF obtains the highest mean success rate on antmaze large, closely followed by HILP, and ranks second on cube single play, behind HILP. Given the reported variability, the small differences on cheetah and antmaze should be interpreted as comparable performance rather than decisive advantages. Overall, SUAF remains competitive across these domains, while the remaining gaps on walker and cube manipulation indicate room for improvement beyond the finite-state setting. (3) OOD generalization in continuous-state domains. Table 3 further examines this capability on continuous-state tasks. SUAF consistently achieves the highest overall mean return across all four evaluated OOD continuous domains. The consistent top-ranking performance on the aggregated overall metrics across diverse environments suggests that SUAF’s task-independent representation generalizes robustly when extrapolating to unseen reward functions, even in complex continuous control settings.
Table 1. Zero-shot evaluation on finite state environments. The performance is measured using the improvement rate defined as J ( π ) − J ( π β ) J ( π ∗ ) − J ( π β ) \frac{J(\pi)-J(\pi_{\beta})}{J(\pi^*)-J(\pi_{\beta})} J ( π ∗ ) − J ( π β ) J ( π ) − J ( π β ) , where π ∗ \pi^* π ∗ is the optimal policy, π \pi π is the generated policy and π β \pi_{\beta} π β is the sample policy. Each result is measured as mean with 95% confidence interval and reports with 5 random sample policies with 5 seeds for each policy.
Table 2. Zero-shot evaluation on state-based ExORL and OGBench benchmarks. The full zero-shot evaluation results on 8 ExORL and 10 OGBench tasks. ExORL is measured with returns and OGBench is measured with success rate. The results are reported as mean over 8 seeds with std .
Table 3. Generalization ability evaluation on state-based ExORL and OGBench benchmarks. Walker is measured by episodic return and Antmaze-large by success rate (%). Results are reported over 8 seeds. The best and second-best means in each row are shown in bold and underlined, respectively.
Why SUAF shows strong OOD generalization? SUAF achieves the highest OOD improvement rates across all three finite-state domains and all four continuous-state domains. SUAF performs well across both regimes, supporting its ability to combine the strengths of successor-based and feature-learning representations when transferring to held-out reward tasks. A potential contributor is its explicit treatment of reward dependence: new rewards enter through linear projections onto shared features, without requiring a task-conditioned advantage predictor. Methods such as FB and TD-JEPA additionally rely on neural
predictors conditioned on the task embedding, whose generalization across task embeddings can introduce approximation errors. One-Step FB shares SUAF’s task-independent representation and exhibits smaller ID-to-OOD performance changes on the navigation domains, consistent with this interpretation.
Conclusion
In this work, we introduced SUAF, a reward-independent representation that preserves the immediate reward contrast and allocates learned capacity to delayed action effects. This decomposition avoids the immediate-term spectral floor of full advantage compression and yields optimal spectral approximations of the delayed operator. We connected representation errors to sufficient conditions for policy improvement and characterized local reuse under policy shifts. Bidirectional TD provides a practical approach to learning the paired features from reward-free data. Experiments support their utility for zero-shot policy extraction across diverse reward tasks. The results highlight the value of separating directly computable reward information from learned temporal effects, while leaving improved estimation of weak spectral modes and reliable reuse over larger policy changes as directions for future work.
AI use statement
In this work, we used generative AI tools for (i) language editing, i.e., grammar and clarity revisions of author-written text; (ii) literature search, to help identify potentially relevant prior work; (iii) coding and formatting assistance, including plotting scripts for figures and LaTeX formatting of equations; (iv) drafting sections of the paper, with all AI-generated drafts treated as starting points and subsequently reviewed, edited, and verified by the authors
We have not used generative AI tools to generate, modify, or select experimental data or results, or to fabricate citations.
We have reviewed all AI-assisted work. Every reference surfaced with AI assistance was located and checked against the original source by the authors before inclusion. AI-suggested text edits were reviewed and revised by the authors. AI-assisted plotting code was reviewed by all authors, and each figure was checked against the raw exported results. We take responsibility for the final content of this work, including text, claims, and artifacts produced with the aid of generative AI.
Reproducibility statement
To facilitate reproducibility, we provide a complete account of the assumptions and proofs underlying our theoretical results in Appendix § 13 .§ 1 and Appendix § 13 . Detailed experimental settings, including dataset preprocessing, model configurations, training procedures, evaluation protocols, and hyperparameters, are provided in Appendix G. An anonymized implementation of our method, together with the scripts used to reproduce the main experiments, is available at https://anonymous.4open.science/r/suaf-C01C. We refer readers to these materials for the exact details needed to reproduce our results.
References
Related Works and Discussion
Related Works
Successor features and reward factorization. Classical successor features Barreto et al. [3 ] ; ); Borsa et al. [5 ] model r w = ϕ T w r_w = \phi^{T}w r w = ϕ T w , yielding Q r w π = ( ψ π ) T w Q^{\pi}_{r_w} = (\psi^{\pi})^{T}w Q r w π = ( ψ π ) T w , with ψ π \psi^{\pi} ψ π accumulating discounted features. SUAF instead derives g i g_i g i from delayed credit, with readouts β i + , π ( r ) = ⟨ g i , r ⟩ ν + , π \beta_i^{+,\pi}(r) = \langle g_i,r\rangle_{\nu^{+,\pi}} β i + , π ( r ) = ⟨ g i , r ⟩ ν + , π . The residual r ⊥ = r − ∑ i = 1 R β i + , π ( r ) g i r_{\perp} = r - \sum_{i=1}^{R}\beta_i^{+,\pi}(r)g_i r ⊥ = r − ∑ i = 1 R β i + , π ( r ) g i , orthogonal to all R R R nonzero modes, contributes no delayed advantage, while C π r C_{\pi}r C π r remains its immediate effect. Truncating to k < R k < R k < R can discard decision-relevant modes, with error ∥ A r π − A r , k π ∥ d π 2 = ( γ 1 − γ ) 2 ∑ i = k + 1 R ( σ i + , π ) 2 [ β i + , π ( r ) ] 2 \|A^{\pi}_r-A^{\pi}_{r,k}\|_{d^{\pi}}^2 = \left(\frac{\gamma}{1-\gamma}\right)^2\sum_{i=k+1}^{R}(\sigma_i^{+,\pi})^2[\beta_i^{+,\pi}(r)]^2 ∥ A r π − A r , k π ∥ d π 2 = ( 1 − γ γ ) 2 ∑ i = k + 1 R ( σ i + , π ) 2 [ β i + , π ( r ) ] 2 . Therefore, SUAF optimizes advantage reconstruction, not reward reconstruction.
Optimal successor features. Ollivier [15 ] characterizes the leading right singular functions of A π = C π ( I − γ P π ) − 1 A_{\pi}=C_{\pi}(I-\gamma P_{\pi})^{-1} A π = C π ( I − γ P π ) − 1 through asymptotic downstream performance under strong behavior-cloning regularization, without providing a learning algorithm. If under matching stationary measures and L 2 L^2 L 2 geometry, the full DCDM has the same right singular subspaces. However, our g i g_i g i instead diagonalize ( D π + ) † D π + (D_{\pi}^{+})^{\dagger}D_{\pi}^{+} ( D π + ) † D π + , where D π + = A π − C π = γ C π P π ( I − γ P π ) − 1 D_{\pi}^{+}=A_{\pi}-C_{\pi}=\gamma C_{\pi}P_{\pi}(I-\gamma P_{\pi})^{-1} D π + = A π − C π = γ C π P π ( I − γ P π ) − 1 , and generally differ. In doing this, we are able to get a possibly close to 0 approximation loss to A π A_{\pi} A π , which enables the control of policy gradient error. See detailed discussions in Appendix § 13 .§ 2 . Our rank-k k k optimality is exact for the fixed-policy delayed operator. We jointly estimate paired action-credit and reward features using Soft-HGR Wang et al. [25 ] and bidirectional TD. We emphasize that C π r = 0 C_{\pi}r=0 C π r = 0 on the subspace of state-only rewards does not change the full-space operator underlying SUAF. SUAF decomposes the action-centered positive-lag DCDM, whereas the full successor measure, the full advantage operator, and the one-step transition kernel define different spectral problems and generally yield different features.
Proto successor measures and scope. Proto Successor Measures Agarwal et al. [1 ] represent feasible successor measures across policies in a policy-independent affine basis, M π = b + ∑ ℓ w ℓ π Φ ℓ M^{\pi}=b+\sum_{\ell}w^{\pi}_{\ell}\Phi_{\ell} M π = b + ∑ ℓ w ℓ π Φ ℓ . For 0 < γ < 1 0<\gamma<1 0 < γ < 1 , M π = ( 1 − γ ) I + γ M + , π M^{\pi}=(1-\gamma)I+\gamma M^{+,\pi} M π = ( 1 − γ ) I + γ M + , π links PSM to B ˉ + , π = D d π 1 / 2 C π M + , π D ν + , π − 1 / 2 \bar{B}^{+,\pi}=D_{d^{\pi}}^{1/2}C_{\pi}M^{+,\pi}D_{\nu^{+,\pi}}^{-1/2} B ˉ + , π = D d π 1/2 C π M + , π D ν + , π − 1/2 , where D μ = diag ( μ ) D_{\mu}=\operatorname{diag}(\mu) D μ = diag ( μ ) . It removes action-invariant occupancy and instead encodes rewards through β + , π ( r ) \beta^{+,\pi}(r) β + , π ( r ) at fixed π \pi π . Exact PSM determines DCDM, but truncated DCDM cannot generally reconstruct the full successor measure. Policy-dependent centering and marginals prevent automatically inheriting PSM’s cross-policy affine structure. Our scope is fixed-policy reward reuse, not policy-independent optimal control. For zero-shot learning with SUAF, please refer to Appendix § 13 .§ 5 .
Spectral Reinforcement Learning. Existing spectral representations differ in the operator whose structure they retain (Table 4 ). Gao et al. Gao et al. [10 ] study spectral representations of the one-step transition operator, while Diff-SR Shribak et al. [21 ] extracts transition-based features through diffusion and energy-based models. FaStR Wu & Li [26 ] further factorizes the transition kernel across states, actions, and next states. Moving beyond one-step dynamics, One-Step FB Zheng et al. [30 ] represents the successor measure of a fixed behavior policy for downstream policy improvement. Ollivier Ollivier [15 ] selects successor features using a spectral criterion derived from downstream performance under strong behavior-cloning regularization. SUAF instead applies action centering to the positive-lag successor measure before spectral decomposition. This yields a reward-independent representation of delayed advantage , while the immediate reward contrast is computed exactly; the rank budget is therefore devoted to the component that must be approximated.
Table 4. Comparison of the operators underlying related representations. Transition-based methods represent one-step dynamics. SUAF decomposes the action-centered positive-lag successor operator with immediate reward.
Difference and relations between SUAF and existing operators
Figure 2 compares the population feature subspaces induced by SUAF, the full advantage operator, One-Step FB, Ollivier, and PSM. All operators are constructed exactly under the same reference policy, so the differences do not arise from optimization noise.
Figure 2. The population feature subspaces induced by SUAF, the full advantage operator, One-Step FB, Ollivier, and PSM. Since all the space are solved explicitly, hence no seeds are needed here.
The left column shows the singular spectra. For SUAF, we plot the singular values of the delayed contribution D π : = γ 1 − γ T + , π D^\pi:= \frac{\gamma}{1-\gamma}T^{+,\pi} D π := 1 − γ γ T + , π , whereas the full-advantage curve is obtained from A π = C π + D π A^\pi= C_\pi+ D^\pi A π = C π + D π . The dotted horizontal line marks the unit spectral floor contributed by the immediate action-centering operator C π C_\pi C π . In GridWorld and Four Rooms, it recovers
σ i ( A π ) = 1 + σ i ( D π ) 2 . \sigma_i(A^\pi)=\sqrt{1+\sigma_i(D^\pi)^2}. σ i ( A π ) = 1 + σ i ( D π ) 2 .
Consequently, the spectrum of the full advantage cannot decay below one even when the delayed singular values are small. Directly truncating A π A^\pi A π therefore spends rank on the analytically known immediate term, whereas SUAF assigns its entire rank budget to delayed credit assignment. The One-Step FB spectrum is that of the uncentered positive-lag successor kernel; its absolute scale
depends on the successor-measure normalization, so this curve is primarily used to compare spectral decay rather than magnitude.
The middle column measures the difference between feature subspaces. Let U k D , V k D U_k^D, V_k^D U k D , V k D denote the leading SUAF left and right singular vectors and let U k m , V k m U_k^m, V_k^m U k m , V k m denote those of method m m m . We compute the principal angles through
cos θ i L = σ i ( ( U k D ) ⊤ U k m ) , cos θ i R = σ i ( ( V k D ) ⊤ V k m ) , \cos\theta_i^L = \sigma_i\left((U_k^D)^\top U_k^m\right), \qquad\cos\theta_i^R = \sigma_i\left((V_k^D)^\top V_k^m\right), cos θ i L = σ i ( ( U k D ) ⊤ U k m ) , cos θ i R = σ i ( ( V k D ) ⊤ V k m ) ,
and report
R M S - s i n = ( 1 k ∑ i = 1 k sin 2 θ i ) 1 / 2 . \mathrm{RMS\text{-}sin} = \left(\frac{1}{k}\sum_{i=1}^{k}\sin^2\theta_i\right)^{1/2}. RMS - sin = ( k 1 i = 1 ∑ k sin 2 θ i ) 1/2 .
A value of zero means that the two subspaces coincide, whereas a value near one means that they are nearly orthogonal. Although the left singular subspaces of D π D^\pi D π and A π A^\pi A π coincide in the stationary GridWorld and Four Rooms constructions, their right subspaces differ substantially. At k = 8 k = 8 k = 8 , the right-subspace RMS sine is 0.458 in GridWorld, 0.439 in Four Rooms, and 0.438 in Taxi. Since the features proposed by Ollivier are the right singular functions of A π A^\pi A π , the Ollivier and full-A π A^\pi A π right subspaces are identical by construction.
The discrepancy with One-Step FB is larger. One-Step FB factorizes an uncentered successor measure and therefore retains future information that is predictable from the current state alone. SUAF instead subtracts this state-predictable component and retains only the incremental effect of the current action. Accordingly, at k = 8 k = 8 k = 8 , the right-subspace RMS sine between SUAF and One-Step FB is 0.612, 0.707, and 1.000 in the three environments, respectively. These principal angles provide direct spectral evidence that SUAF does not merely learn a rotated version of the One-Step FB representation.
The right column evaluates how well each subspace reconstructs the delayed operator. For a method providing left and right subspaces, we report
E r r D m ( k ) = ∥ D π − P U k m D π P V k m ∥ F ∥ D π ∥ F . \mathrm{Err}_D^m(k) = \frac{\left\|D^\pi- P_{U_k^m}D^\pi P_{V_k^m}\right\|_F}{\left\|D^\pi\right\|_F}. Err D m ( k ) = ∥ D π ∥ F D π − P U k m D π P V k m F .
where P U = U U ⊤ P_U = UU^\top P U = U U ⊤ . For Ollivier, only the right subspace is prescribed, so we use the best unrestricted left readout,
E r r D O l l ( k ) = ∥ D π − D π P V k A ∥ F ∥ D π ∥ F . \mathrm{Err}_D^{\mathrm{Oll}}(k) = \frac{\left\|D^\pi- D^\pi P_{V_k^A}\right\|_F}{\left\|D^\pi\right\|_F}. Err D Oll ( k ) = ∥ D π ∥ F D π − D π P V k A F .
For SUAF, this error reduces to
E r r D S U A F ( k ) = ( ∑ i > k σ i ( D π ) 2 ∑ i σ i ( D π ) 2 ) 1 / 2 , \mathrm{Err}_D^{\mathrm{SUAF}}(k) = \left(\frac{\sum_{i>k}\sigma_i(D^\pi)^2}{\sum_i\sigma_i(D^\pi)^2}\right)^{1/2}, Err D SUAF ( k ) = ( ∑ i σ i ( D π ) 2 ∑ i > k σ i ( D π ) 2 ) 1/2 ,
which is the Eckart-Young optimal rank-k k k error. SUAF consequently achieves the lowest delayed-operator error among all rank-matched methods at every evaluated rank. For example, at k = 8 k = 8 k = 8 , the errors of SUAF, full-A π A^\pi A π , and One-Step FB are respectively 0.812/0.855/0.971 in GridWorld, 0.906/0.925/0.994 in Four Rooms, and 0.978/0.982/1.000 in Taxi.
The PSM curve is not a rank-matched baseline. It projects onto the complete policy-independent affine span, whose dimensions are 200, 416, and 2600 in the three environments. It is therefore shown only as a containment reference and should not be interpreted as outperforming a rank-k k k representation.
Properties of DCDM
Rank bound of the DCDM
For a finite MDP, the positive-lag future advantage operator satisfies R : = rank ( T + , π ) ≤ ∣ S ∣ − 1 R := \operatorname{rank}(T^{+,\pi}) \le|S| - 1 R := rank ( T + , π ) ≤ ∣ S ∣ − 1 , regardless of the number of actions. To see this, define the policy-averaged reward r ˉ π ( s ) : = ∑ a π ( a ∣ s ) r ( s , a ) \bar{r}_\pi(s) := \sum_a \pi(a \mid s)r(s, a) r ˉ π ( s ) := ∑ a π ( a ∣ s ) r ( s , a ) . Since all future actions are sampled from π \pi π , the future term depends on r r r only through r ˉ π \bar{r}_\pi r ˉ π . More explicitly, let ( T v ) ( s , a ) : = ∑ s ′ T ( s ′ ∣ s , a ) v ( s ′ ) (Tv)(s, a) := \sum_{s'} T(s' \mid s, a)v(s') ( T v ) ( s , a ) := ∑ s ′ T ( s ′ ∣ s , a ) v ( s ′ ) and let P S π P^\pi_S P S π be the state transition operator under π \pi π . Then
T + , π r = ( 1 − γ ) C π T ( I − γ P S π ) − 1 r ˉ π . T^{+,\pi}r = (1-\gamma)C_\pi T(I-\gamma P^\pi_S)^{-1}\bar{r}_\pi. T + , π r = ( 1 − γ ) C π T ( I − γ P S π ) − 1 r ˉ π .
Thus, T + , π T^{+,\pi} T + , π factors through the ∣ S ∣ |S| ∣ S ∣ -dimensional space of state functions. Moreover, a constant r ˉ π \bar{r}_\pi r ˉ π produces no action contrast, since ( I − γ P S π ) − 1 1 = ( 1 − γ ) − 1 1 (I-\gamma P^\pi_S)^{-1}\mathbf{1} = (1-\gamma)^{-1}\mathbf{1} ( I − γ P S π ) − 1 1 = ( 1 − γ ) − 1 1 and C π T 1 = 0 C_\pi T\mathbf{1} = 0 C π T 1 = 0 . Consequently, at most ∣ S ∣ − 1 |S| - 1 ∣ S ∣ − 1 nonzero SUAF pairs are needed to represent the future advantage term exactly for every reward.
Information Background of DCDM
We show that the property ∥ B ~ + , π ∥ F 2 ≈ 2 I ( A ; S + , A + ∣ S ) \lVert\widetilde{B}^{+,\pi}\rVert_F^2 \approx2I(A;S^+, A^+ \mid S) ∥ B + , π ∥ F 2 ≈ 2 I ( A ; S + , A + ∣ S ) holds under the weak dependency condition. For simplicity, denote δ ( s + , a + , s , a ) = M + , π ( s + , a + ∣ s , a ) ν + , π ( s + , a + ) − 1 \delta(s^+, a^+, s, a) = \frac{M^{+,\pi}(s^+,a^+ \mid s,a)}{\nu^{+,\pi}(s^+,a^+)} - 1 δ ( s + , a + , s , a ) = ν + , π ( s + , a + ) M + , π ( s + , a + ∣ s , a ) − 1 , i.e., M + , π ( s + , a + ∣ s , a ) = ν + , π ( s + , a + ) ( 1 + δ ( s + , a + , s , a ) ) M^{+,\pi}(s^+, a^+ \mid s, a) = \nu^{+,\pi}(s^+, a^+)(1+\delta(s^+, a^+, s, a)) M + , π ( s + , a + ∣ s , a ) = ν + , π ( s + , a + ) ( 1 + δ ( s + , a + , s , a )) . It follows that
M ˉ + , π ( s + , a + ∣ s ) = E a ′ ∼ π ( ⋅ ∣ s ) [ M + , π ( s + , a + ∣ s , a ′ ) ] = ν + , π ( s + , a + ) ( 1 + δ ˉ ( s + , a + , s ) ) , \bar{M}^{+,\pi}(s^+, a^+ \mid s) = \mathbb{E}_{a'\sim\pi(\cdot\mid s)}[M^{+,\pi}(s^+, a^+ \mid s, a')] = \nu^{+,\pi}(s^+, a^+)(1+\bar{\delta}(s^+, a^+, s)), M ˉ + , π ( s + , a + ∣ s ) = E a ′ ∼ π ( ⋅ ∣ s ) [ M + , π ( s + , a + ∣ s , a ′ )] = ν + , π ( s + , a + ) ( 1 + δ ˉ ( s + , a + , s )) ,
where δ ˉ ( s + , a + , s ) = ∑ a ′ π ( a ′ ∣ s ) δ ( s + , a + , s , a ′ ) \bar{\delta}(s^+, a^+, s) = \sum_{a'}\pi(a' \mid s)\delta(s^+, a^+, s, a') δ ˉ ( s + , a + , s ) = ∑ a ′ π ( a ′ ∣ s ) δ ( s + , a + , s , a ′ ) . We also have that
∑ s + , a + , s , a d π ( s , a ) ν + , π ( s + , a + ) δ ( s + , a + , s , a ) = 0 , (15) \sum_{s^+,a^+,s,a} d^\pi(s,a)\nu^{+,\pi}(s^+,a^+)\delta(s^+,a^+,s,a)=0, \tag*{(15)} s + , a + , s , a ∑ d π ( s , a ) ν + , π ( s + , a + ) δ ( s + , a + , s , a ) = 0 , (15)
∑ s + , a + , s d π ( s , a ) ν + , π ( s + , a + ) δ ( s + , a + , s ) = 0. (16) \sum_{s^+,a^+,s} d^\pi(s,a)\nu^{+,\pi}(s^+,a^+)\delta(s^+,a^+,s)=0. \tag*{(16)} s + , a + , s ∑ d π ( s , a ) ν + , π ( s + , a + ) δ ( s + , a + , s ) = 0. (16)
Assume that ∣ δ ( s + , a + , s , a ) ∣ < ϵ , ∀ s + , a + , s , a |\delta(s^+,a^+,s,a)| < \epsilon,\ \forall s^+,a^+,s,a ∣ δ ( s + , a + , s , a ) ∣ < ϵ , ∀ s + , a + , s , a follows from the weak dependency condition, then ∣ δ ˉ ( s + , a + , s ) ∣ < ϵ , ∀ s + , a + , s |\bar{\delta}(s^+,a^+,s)| < \epsilon,\ \forall s^+,a^+,s ∣ δ ˉ ( s + , a + , s ) ∣ < ϵ , ∀ s + , a + , s . Computation gives that I ( A ; S + , A + ∣ S ) = 1 2 ∥ B ~ + , π ∥ F 2 + O ( ϵ 3 ) I(A;S^{+},A^{+}\mid S)=\frac{1}{2}\left\|\widetilde{\mathbf{B}}^{+,\pi}\right\|_{F}^{2}+O(\epsilon^{3}) I ( A ; S + , A + ∣ S ) = 2 1 B + , π F 2 + O ( ϵ 3 ) as follows:
I ( A ; S + , A + ∣ S ) = ∑ s + , a + , s , a d π ( s , a ) M + , π ( s + , a + ∣ s , a ) ln M + , π ( s + , a + ∣ s , a ) M ‾ + , π ( s + , a + ∣ s ) (17) \begin{aligned}
I(A;S^{+},A^{+}\mid S)
&=\sum_{s^{+},a^{+},s,a}d^{\pi}(s,a)M^{+,\pi}(s^{+},a^{+}\mid s,a)\ln\frac{M^{+,\pi}(s^{+},a^{+}\mid s,a)}{\overline{M}^{+,\pi}(s^{+},a^{+}\mid s)} \tag*{(17)}
\end{aligned} I ( A ; S + , A + ∣ S ) = s + , a + , s , a ∑ d π ( s , a ) M + , π ( s + , a + ∣ s , a ) ln M + , π ( s + , a + ∣ s ) M + , π ( s + , a + ∣ s , a ) (17)
= ∑ s + , a + , s , a d π ( s , a ) ν + , π ( s + , a + ) ( 1 + δ ( s + , a + , s , a ) ) ln 1 + δ ( s + , a + , s , a ) 1 + δ ‾ ( s + , a + , s ) (18) \begin{aligned}
&=\sum_{s^{+},a^{+},s,a}d^{\pi}(s,a)\nu^{+,\pi}(s^{+},a^{+})(1+\delta(s^{+},a^{+},s,a))\ln\frac{1+\delta(s^{+},a^{+},s,a)}{1+\overline{\delta}(s^{+},a^{+},s)} \tag*{(18)}
\end{aligned} = s + , a + , s , a ∑ d π ( s , a ) ν + , π ( s + , a + ) ( 1 + δ ( s + , a + , s , a )) ln 1 + δ ( s + , a + , s ) 1 + δ ( s + , a + , s , a ) (18)
= ∑ s + , a + , s , a d π ( s , a ) ν + , π ( s + , a + ) ( δ ( s + , a + , s , a ) − δ ‾ ( s + , a + , s ) + 1 2 ( δ ( s + , a + , s , a ) − δ ‾ ( s + , a + , s ) ) 2 + O ( ϵ 3 ) ) (19) \begin{aligned}
&=\sum_{s^{+},a^{+},s,a}d^{\pi}(s,a)\nu^{+,\pi}(s^{+},a^{+})\left(\delta(s^{+},a^{+},s,a)-\overline{\delta}(s^{+},a^{+},s)+\frac{1}{2}\left(\delta(s^{+},a^{+},s,a)-\overline{\delta}(s^{+},a^{+},s)\right)^{2}+O(\epsilon^{3})\right) \tag*{(19)}
\end{aligned} = s + , a + , s , a ∑ d π ( s , a ) ν + , π ( s + , a + ) ( δ ( s + , a + , s , a ) − δ ( s + , a + , s ) + 2 1 ( δ ( s + , a + , s , a ) − δ ( s + , a + , s ) ) 2 + O ( ϵ 3 ) ) (19)
= ∑ s + , a + , s , a d π ( s , a ) ν + , π ( s + , a + ) ⋅ 1 2 ( δ ( s + , a + , s , a ) − δ ‾ ( s + , a + , s ) ) 2 + O ( ϵ 3 ) (20) \begin{aligned}
&=\sum_{s^{+},a^{+},s,a}d^{\pi}(s,a)\nu^{+,\pi}(s^{+},a^{+})\cdot\frac{1}{2}\left(\delta(s^{+},a^{+},s,a)-\overline{\delta}(s^{+},a^{+},s)\right)^{2}+O(\epsilon^{3}) \tag*{(20)}
\end{aligned} = s + , a + , s , a ∑ d π ( s , a ) ν + , π ( s + , a + ) ⋅ 2 1 ( δ ( s + , a + , s , a ) − δ ( s + , a + , s ) ) 2 + O ( ϵ 3 ) (20)
= 1 2 ∑ s + , a + , s , a d π ( s , a ) ( M + , π ( s + , a + ∣ s , a ) − M ‾ + , π ( s + , a + ∣ s ) ) 2 ν + , π ( s + , a + ) + O ( ϵ 3 ) (21) \begin{aligned}
&=\frac{1}{2}\sum_{s^{+},a^{+},s,a}d^{\pi}(s,a)\frac{\left(M^{+,\pi}(s^{+},a^{+}\mid s,a)-\overline{M}^{+,\pi}(s^{+},a^{+}\mid s)\right)^{2}}{\nu^{+,\pi}(s^{+},a^{+})}+O(\epsilon^{3}) \tag*{(21)}
\end{aligned} = 2 1 s + , a + , s , a ∑ d π ( s , a ) ν + , π ( s + , a + ) ( M + , π ( s + , a + ∣ s , a ) − M + , π ( s + , a + ∣ s ) ) 2 + O ( ϵ 3 ) (21)
= 1 2 ∥ B ~ + , π ∥ F 2 + O ( ϵ 3 ) , (22) =\frac{1}{2}\left\|\widetilde{\mathbf{B}}^{+,\pi}\right\|_{F}^{2}+O(\epsilon^{3}), \tag*{(22)} = 2 1 B + , π F 2 + O ( ϵ 3 ) , (22)
where from equation 19 to equation 20 we have used equation 15 and equation 16.
Properties of the proposed SUAF
The proposed SUAF satisfies the following properties: (1) Weighted orthonormality. For all i , j ≤ R i,j\le R i , j ≤ R , E d π [ f i f j ] = E ν + , π [ g i g j ] = 1 ( i = j ) \mathbb{E}_{d^{\pi}}[f_i f_j]=\mathbb{E}_{\nu^{+,\pi}}[g_i g_j]=\mathbf{1}(i=j) E d π [ f i f j ] = E ν + , π [ g i g j ] = 1 ( i = j ) ; (2) Centering. E π ( ⋅ ∣ s ) [ f i ] = E ν + , π [ g i ] = 0 \mathbb{E}_{\pi(\cdot\mid s)}[f_i]=\mathbb{E}_{\nu^{+,\pi}}[g_i]=0 E π ( ⋅ ∣ s ) [ f i ] = E ν + , π [ g i ] = 0 ; (3) Diagonal canonical dependence. E ( s , a ) ∼ d π , ( s + , a + ) ∼ M + , π ( ⋅ ∣ s , a ) [ f i ( s , a ) g j ( s + , a + ) ] = σ i + , π 1 ( i = j ) \mathbb{E}_{(s,a)\sim d^{\pi},(s^{+},a^{+})\sim M^{+,\pi}(\cdot\mid s,a)}[f_i(s,a)g_j(s^{+},a^{+})]=\sigma_i^{+,\pi}\mathbf{1}(i=j) E ( s , a ) ∼ d π , ( s + , a + ) ∼ M + , π ( ⋅ ∣ s , a ) [ f i ( s , a ) g j ( s + , a + )] = σ i + , π 1 ( i = j ) ; (4) Variational optimality. The first feature pair solves σ 1 + , π = max f , g E [ f ( s , a ) g ( s + , a + ) ] \sigma_1^{+,\pi}=\max_{f,g}\mathbb{E}[f(s,a)g(s^{+},a^{+})] σ 1 + , π = max f , g E [ f ( s , a ) g ( s + , a + )] , subject to E π [ f ( s , a ) ∣ s ] = E ν + , π [ g ] = 0 \mathbb{E}_{\pi}[f(s,a)\mid s]=\mathbb{E}_{\nu^{+,\pi}}[g]=0 E π [ f ( s , a ) ∣ s ] = E ν + , π [ g ] = 0 , ∥ f ∥ d π = ∥ g ∥ ν + , π = 1 \|f\|_{d^{\pi}}=\|g\|_{\nu^{+,\pi}}=1 ∥ f ∥ d π = ∥ g ∥ ν + , π = 1 . Each subsequent pair ( f i , g i ) (f_i,g_i) ( f i , g i ) solves the same problem subject additionally to weighted orthogonality with all preceding feature pairs. Furthermore, since both feature families are centered and normalized, σ i + , π \sigma_i^{+,\pi} σ i + , π is the correlation carried by the i i i -th feature pair, and hence 0 ≤ σ i + , π ≤ 1 0\le\sigma_i^{+,\pi}\le1 0 ≤ σ i + , π ≤ 1 .
Reward Shaping in the Sense of SUAF
The accuracy for an individual reward depends on the weighted spectral coefficients:
∥ A r π − A r , k π ∥ d π 2 = ( γ 1 − γ ) 2 ∑ i = k + 1 R ( σ i + , π ) 2 ∣ ⟨ g i , r ⟩ ν + , π ∣ 2 . (23) \left\|A_r^{\pi}-A_{r,k}^{\pi}\right\|_{d^{\pi}}^{2}
=\left(\frac{\gamma}{1-\gamma}\right)^{2}\sum_{i=k+1}^{R}\left(\sigma_i^{+,\pi}\right)^{2}\left|\langle g_i,r\rangle_{\nu^{+,\pi}}\right|^{2}. \tag*{(23)} A r π − A r , k π d π 2 = ( 1 − γ γ ) 2 i = k + 1 ∑ R ( σ i + , π ) 2 ∣ ⟨ g i , r ⟩ ν + , π ∣ 2 . (23)
Consequently, rewards with substantial energy in the discarded modes can be poorly approximated. To address this problem, we consider potential-based reward shaping that redistributes credit between the exact immediate term and the approximated future term to reduce this error while preserving the exact advantage function. For a bounded state potential Φ \Phi Φ , define
r Φ ( s , a , s ′ ) = r ( s , a ) + γ Φ ( s ′ ) − Φ ( s ) , (24) r_{\Phi}(s,a,s') = r(s,a) + \gamma\Phi(s') - \Phi(s), \tag*{(24)} r Φ ( s , a , s ′ ) = r ( s , a ) + γ Φ ( s ′ ) − Φ ( s ) , (24)
In the discounted infinite-horizon setting, this transformation gives Q r Φ π ( s , a ) = Q r π ( s , a ) − Φ ( s ) Q^{\pi}_{r_{\Phi}}(s,a) = Q^{\pi}_{r}(s,a)-\Phi(s) Q r Φ π ( s , a ) = Q r π ( s , a ) − Φ ( s ) and V r Φ π ( s ) = V r π ( s ) − Φ ( s ) V^{\pi}_{r_{\Phi}}(s) = V^{\pi}_{r}(s)-\Phi(s) V r Φ π ( s ) = V r π ( s ) − Φ ( s ) , hence A r Φ π = A r π A^{\pi}_{r_{\Phi}} = A^{\pi}_{r} A r Φ π = A r π . To apply the state-action reward representation, let r ˉ Φ = r + γ T Φ − Φ \bar{r}_{\Phi} = r+\gamma T\Phi-\Phi r ˉ Φ = r + γ T Φ − Φ , where ( T Φ ) ( s , a ) = E [ Φ ( s ′ ) ∣ s , a ] (T\Phi)(s,a) = \mathbb{E}[\Phi(s') \mid s,a] ( T Φ ) ( s , a ) = E [ Φ ( s ′ ) ∣ s , a ] . Let Π k \Pi_k Π k denote the L 2 ( d π ) L^2(d^{\pi}) L 2 ( d π ) -orthogonal projection onto span { f 1 , … , f k } \operatorname{span}\{f_1,\ldots,f_k\} span { f 1 , … , f k } .
Theorem A.1 (Potential-dependent approximation error). Let 0 < γ < 1 0 < \gamma< 1 0 < γ < 1 and let r r r be bounded. For i = k + 1 , … , R i = k+1,\ldots,R i = k + 1 , … , R , define the tail vectors b i = σ i ⟨ g i , r ⟩ ν b_i = \sigma_i\langle g_i,r\rangle_{\nu} b i = σ i ⟨ g i , r ⟩ ν , and z i ( Φ ) = σ i ⟨ g i , γ T Φ − Φ ⟩ ν z_i(\Phi) = \sigma_i\langle g_i,\gamma T\Phi-\Phi\rangle_{\nu} z i ( Φ ) = σ i ⟨ g i , γ T Φ − Φ ⟩ ν . Let c = γ / ( 1 − γ ) c = \gamma/(1-\gamma) c = γ / ( 1 − γ ) . The approximation A r ˉ Φ , k π = C r ˉ Φ π + c Π k T r ˉ Φ π , + A^{\pi}_{\bar{r}_{\Phi},k} = C^{\pi}_{\bar{r}_{\Phi}} + c\Pi_kT^{\pi,+}_{\bar{r}_{\Phi}} A r ˉ Φ , k π = C r ˉ Φ π + c Π k T r ˉ Φ π , + satisfies
E k ( Φ w ; r ) : = ∥ A r π − A r ˉ Φ , k π ∥ d π 2 = c 2 ∥ b + z ( Φ ) ∥ 2 2 = γ 2 ∥ ( I − Π k ) C π T ( V r π − Φ ) ∥ d π 2 . (25) E_k(\Phi_w;r) := \left\|A^{\pi}_{r} - A^{\pi}_{\bar{r}_{\Phi},k}\right\|_{d^{\pi}}^2 = c^2\left\|b+z(\Phi)\right\|_2^2 = \gamma^2\left\|(I-\Pi_k)C_{\pi}T(V^{\pi}_{r}-\Phi)\right\|_{d^{\pi}}^2. \tag*{(25)} E k ( Φ w ; r ) := A r π − A r ˉ Φ , k π d π 2 = c 2 ∥ b + z ( Φ ) ∥ 2 2 = γ 2 ∥ ( I − Π k ) C π T ( V r π − Φ ) ∥ d π 2 . (25)
Consequently, shaping does not increase the error if and only if 2 ⟨ b , z ( Φ ) ⟩ + ∥ z ( Φ ) ∥ 2 2 ≤ 0 2\langle b,z(\Phi)\rangle+ \|z(\Phi)\|_2^2 \le0 2 ⟨ b , z ( Φ )⟩ + ∥ z ( Φ ) ∥ 2 2 ≤ 0 .
Therefore, potential quality is determined by the unremained action-credit component of its value error, rather than by ordinary value prediction error alone.
Corollary A.2 (Optimal linear combination of potentials). Fix bounded state features h 1 , … , h p h_1,\ldots,h_p h 1 , … , h p and set Φ w = ∑ ℓ = 1 p w ℓ h ℓ \Phi_w = \sum_{\ell=1}^{p}w_{\ell}h_{\ell} Φ w = ∑ ℓ = 1 p w ℓ h ℓ . Let D = [ z ( h 1 ) , … , z ( h p ) ] D = [z(h_1),\ldots,z(h_p)] D = [ z ( h 1 ) , … , z ( h p )] . A minimum-norm optimal coefficient vector and the resulting error are
w ⋆ = − D † b , min w E k ( Φ w ; r ) = c 2 ∥ ( I − D D † ) b ∥ 2 2 . w^{\star} = -D^{\dagger}b,\qquad\min_{w} E_k(\Phi_w;r) = c^2\left\|(I-DD^{\dagger})b\right\|_2^2. w ⋆ = − D † b , w min E k ( Φ w ; r ) = c 2 ( I − D D † ) b 2 2 .
In particular, zero error is attainable within this class if and only if b ∈ col ( D ) b \in\operatorname{col}(D) b ∈ col ( D ) .
Without restricting the potential class, the oracle choice Φ = V r π \Phi= V^{\pi}_{r} Φ = V r π yields zero error, although obtaining this potential requires policy evaluation and will cancel out all the inner product terms ⟨ g i , r Φ ⟩ \langle g_i,r_{\Phi}\rangle ⟨ g i , r Φ ⟩ . In contrast, we propose that move the reward to the head of spectrum also help SUAF algorithms estimate advantage better. For a specific example, please refer to B.3.
Extra Experiments
Full result
In this subsection, we report our complete results, including the mean and statistical results (e.g., 95% confidence intervals) across all tasks in both discrete and continuous environments. The results are summarized in Table 5 and Table 6 .
Table 5. Zero-shot evaluation on finite state environments. The performance is measured using the improvement rate defined as J ( π ) − J ( π β ) J ( π ∗ ) − J ( π β ) \frac{J(\pi)-J(\pi_\beta)}{J(\pi^\ast)-J(\pi_\beta)} J ( π ∗ ) − J ( π β ) J ( π ) − J ( π β ) , where π ∗ \pi^\ast π ∗ is the optimal policy solved by linear program, π \pi π is the generated policy and π β \pi_\beta π β is the sample policy. Each result is measured as mean with 95% confidence interval and reports with 5 random sample policies with 5 seeds for each policy.
Table 6. Zero-shot evaluation on state-based ExORL and OGBench benchmarks. The full zero-shot evaluation results on 8 ExORL tasks and 10 OGBench tasks. The results are reported as mean over 8 seeds with std .
One-Step Policy Improvement with SUAF
For reward r r r and retained rank k k k , the learned SUAF critic is
A ^ r , k π 0 = C π 0 r + γ 1 − γ ∑ i = 1 k σ ^ i ⟨ f ^ ( g ^ i , r ) ⟩ ν . (26) \hat{A}^{\pi_0}_{r,k}=C_{\pi_0}r+\frac{\gamma}{1-\gamma}\sum_{i=1}^{k}\hat{\sigma}_{i}\langle\hat{f}(\hat{g}_{i},r)\rangle_{\nu}. \tag*{(26)} A ^ r , k π 0 = C π 0 r + 1 − γ γ i = 1 ∑ k σ ^ i ⟨ f ^ ( g ^ i , r ) ⟩ ν . (26)
The immediate contrast C π 0 r C_{\pi_0}r C π 0 r is therefore retained exactly at every rank, including k = 0 k=0 k = 0 . We perform exactly one policy update, without actor iteration or feature refresh. The Boltzmann policies are
π k , τ ( a ∣ s ) = π 0 ( a ∣ s ) exp { τ A ^ r , k π 0 ( s , a ) } ∑ b π 0 ( b ∣ s ) exp { τ A ^ r , k π 0 ( s , b ) } , τ ∈ { 4 , 32 , 256 } , (27) \pi_{k,\tau}(a\mid s)=\frac{\pi_0(a\mid s)\exp\{\tau\hat{A}^{\pi_0}_{r,k}(s,a)\}}{\sum_b\pi_0(b\mid s)\exp\{\tau\hat{A}^{\pi_0}_{r,k}(s,b)\}},\qquad\tau\in\{4,32,256\}, \tag*{(27)} π k , τ ( a ∣ s ) = ∑ b π 0 ( b ∣ s ) exp { τ A ^ r , k π 0 ( s , b )} π 0 ( a ∣ s ) exp { τ A ^ r , k π 0 ( s , a )} , τ ∈ { 4 , 32 , 256 } , (27)
and the greedy policy selects arg max a A ^ r , k π 0 ( s , a ) \arg\max_a\hat{A}^{\pi_0}_{r,k}(s,a) arg max a A ^ r , k π 0 ( s , a ) with deterministic tie breaking. Grid World is evaluated at k = 0 , 5 , … , 45 , 49 k=0,5,\ldots,45,49 k = 0 , 5 , … , 45 , 49 and Four-room at k = 0 , 10 , … , 100 , 103 k=0,10,\ldots,100,103 k = 0 , 10 , … , 100 , 103 .
All returns are computed exactly by solving the finite Bellman system from the same initial law μ \mu μ :
J r ( π ) = μ T ( I − γ P π ) − 1 r π . (28) J_r(\pi)=\mu^\mathsf{T}(I-\gamma P_\pi)^{-1}r_\pi. \tag*{(28)} J r ( π ) = μ T ( I − γ P π ) − 1 r π . (28)
The plotted quantity is the fraction of the available improvement achieved by the one-step policy,
AI ( π ; r ) = J r ( π ) − J r ( π 0 ) J r ( π ∗ ) − J r ( π 0 ) , (29) \operatorname{AI}(\pi; r) = \frac{J_r(\pi) - J_r(\pi_0)}{J_r(\pi^*) - J_r(\pi_0)}, \tag*{(29)} AI ( π ; r ) = J r ( π ∗ ) − J r ( π 0 ) J r ( π ) − J r ( π 0 ) , (29)
where π ∗ \pi^* π ∗ and J r ( π ∗ ) J_r(\pi^*) J r ( π ∗ ) are obtained by exact value iteration. Hence 0 denotes the reference-policy return and 1 denotes the optimal return and the score is not clipped.
Ablation: Learned representations used in the rank and Boltzmann temperature sweeps. The displayed learned-SUAF curves use the reward-free checkpoints selected by held-out operator error. Raw neural features are recalibrated on an independent positive-lag split using discounted feature-return calibration, separate left/right ridge penalties equal to 10 − 3 10^{-3} 1 0 − 3 times the mean eigenvalue of the corresponding feature covariance, and a small-matrix SVD. The validation sweep selected zero additional singular-value shrinkage for both checkpoints. Checkpoint selection and calibration are reward-free. Downstream rewards are first used only in the linear coefficients ⟨ g ^ i , r ⟩ V ^ \langle\hat{g}_i, r\rangle_{\hat{V}} ⟨ g ^ i , r ⟩ V ^ and the subsequent one-step update.
Spectral reward shaping in Taxi
Taxi as a sparse-reward stress test. We use the continuing Taxi environment as a deliberately difficult control problem. The state records the taxi position, passenger status, and destination, and the delivery reward is nonzero on only 4 of the 2400 reachable state-action pairs. Under the fixed behavior policy π 0 \pi_0 π 0 , the positive delivery event has discounted occupancy mass only 1.48 × 10 − 5 1.48 \times10^{-5} 1.48 × 1 0 − 5 .
Figure 3. One step policy update with exact SUAF in Grid World environment. The results is calculated with 5 full-coverage random policies with 95% CI. This also works as an ablation of Boltzmann update with different temperature.
Figure 4. One step policy update with learned SUAF in Grid World environment. The results is calculated with 5 full-coverage random policies with 5 seeds learned SUAF with 95% CI. This also works as an ablation of Boltzmann update with different temperature.
Figure 5. One step policy update with exact SUAF in Four-room environment. The results is calculated with 5 full-coverage random policies with 95% CI. This also works as an ablation of Boltzmann update with different temperature.
Figure 6. One step policy update with learned SUAF in Four-room environment. The results is calculated with 5 full-coverage random policies with 5 seeds learned SUAF with 95% CI. This also works as an ablation of Boltzmann update with different temperature.
Figure 7. One step policy update with exact SUAF in Taxi environment. The results is calculated with 5 full-coverage random policies with 95% CI. This also works as an ablation of Boltzmann update with different temperature. The Taxi model outputs 499 coordinates as an overparameterization diagnostic, while the population DCDM has rank 399. Coordinates beyond rank 399 do not correspond to additional nonzero population SUAF modes.
Figure 8. One step policy update with learned SUAF in Taxi environment. The results is calculated with 5 full-coverage random policies with 5 seeds with 95% CI. This also works as an ablation of Boltzmann update with different temperature.
Consequently, a reward-free representation must retain weak, long-horizon distinctions involving pickup, navigation, and drop-off in order to recover a useful delivery policy from a one-step readout.
This behavior is consistent with the discussion in Section A.5. Write the state reward averaged under the behavior policy as
r π 0 ( s ) : = ∑ a π 0 ( a ∣ s ) r ( s , a ) , (30) r^{\pi^0}(s) := \sum_a \pi_0(a \mid s)r(s,a), \tag*{(30)} r π 0 ( s ) := a ∑ π 0 ( a ∣ s ) r ( s , a ) , (30)
and let { ( f i , g i , σ i ) } i = 1 R \{(f_i,g_i,\sigma_i)\}_{i=1}^{R} {( f i , g i , σ i ) } i = 1 R denote the SUAF modes of π 0 \pi_0 π 0 , where the right modes are orthonormal in L 2 ( ν + , π 0 ) L^2(\nu^{+,\pi^0}) L 2 ( ν + , π 0 ) . Define
β i ( r ) : = ⟨ g i , r π 0 ⟩ ν + , π 0 . (31) \beta_i(r) := \langle g_i,r^{\pi^0}\rangle_{\nu^{+,\pi^0}}. \tag*{(31)} β i ( r ) := ⟨ g i , r π 0 ⟩ ν + , π 0 . (31)
For the unshaped delivery reward, only 0.88% of the delayed spectral energy ∑ i σ i 2 β i ( r ) 2 \sum_i \sigma_i^2\beta_i(r)^2 ∑ i σ i 2 β i ( r ) 2 lies in the first 64 modes, whereas 66.0% lies after mode 256. Thus, low-rank or imperfectly learned representations can miss most of the signal even though the downstream reward itself has a simple semantic description.
An oracle spectral potential. To isolate the effect of spectral reward allocation, define the weighted projector onto the complete right singular subspace as Π G = G G ⊤ W ν \Pi_G = GG^\top W_\nu Π G = G G ⊤ W ν , where W ν = diag ( ν + , π 0 ) W_\nu= \operatorname{diag}(\nu^{+,\pi^0}) W ν = diag ( ν + , π 0 ) , and let
r ⊥ π 0 : = ( I − Π G ) r π 0 . (32) r_{\perp}^{\pi^0} := (I-\Pi_G)r^{\pi^0}. \tag*{(32)} r ⊥ π 0 := ( I − Π G ) r π 0 . (32)
In continuing Taxi there are 400 reachable states and the population SUAF has rank R = 399 R=399 R = 399 . Because the right singular functions are centered and orthonormal under ν + , π 0 \nu^{+,\pi^0} ν + , π 0 , they span the complete subspace of ν + , π 0 \nu^{+,\pi^0} ν + , π 0 -centered state functions. The orthogonal complement is therefore only the constant direction, and
r ⊥ π 0 = E S ∼ ν + , π 0 [ r π 0 ( S ) ] 1. (33) r_{\perp}^{\pi^0} = \mathbb{E}_{S\sim\nu^{+,\pi^0}}[r^{\pi^0}(S)]\mathbf{1}. \tag*{(33)} r ⊥ π 0 = E S ∼ ν + , π 0 [ r π 0 ( S )] 1 . (33)
We can consequently define the head-m m m target reward as
r h e a d − m π 0 ( s ) : = E ν + , π 0 [ r π 0 ( S ) ] + ∑ i = 1 m g i ( s ) β i ( r ) . (34) r_{\mathrm{head}-m}^{\pi^0}(s) := \mathbb{E}_{\nu^{+,\pi^0}}[r^{\pi^0}(S)] + \sum_{i=1}^{m} g_i(s)\beta_i(r). \tag*{(34)} r head − m π 0 ( s ) := E ν + , π 0 [ r π 0 ( S )] + i = 1 ∑ m g i ( s ) β i ( r ) . (34)
Importantly, equation (34) requires neither the tail coefficients { β i } i > m \{\beta_i\}_{i>m} { β i } i > m nor the tail singular functions. Given the reward and π 0 \pi_0 π 0 , the state reward r π 0 r^{\pi^0} r π 0 is known and its weighted mean and the leading coefficients β i ( r ) = ⟨ g i , r π 0 ⟩ ν + , π 0 \beta_i(r)=\langle g_i,r^{\pi^0}\rangle_{\nu^{+,\pi^0}} β i ( r ) = ⟨ g i , r π 0 ⟩ ν + , π 0 can be estimated directly from samples of ν + , π 0 \nu^{+,\pi^0} ν + , π 0 . The constant orthogonal component is retained, while only the representable spectral tail is removed.
We then construct the state-only potential
Φ m = ( I − γ P π 0 ) − 1 ( r π 0 − r h e a d − m π 0 ) (35) \Phi_m = (I-\gamma P_{\pi_0})^{-1}(r^{\pi^0}-r_{\mathrm{head}-m}^{\pi^0}) \tag*{(35)} Φ m = ( I − γ P π 0 ) − 1 ( r π 0 − r head − m π 0 ) (35)
and the shaped transition reward
r Φ m ( s , a , s ′ ) = r ( s , a , s ′ ) + γ Φ m ( s ′ ) − Φ m ( s ) . (36) r_{\Phi_m}(s,a,s') = r(s,a,s')+\gamma\Phi_m(s')-\Phi_m(s). \tag*{(36)} r Φ m ( s , a , s ′ ) = r ( s , a , s ′ ) + γ Φ m ( s ′ ) − Φ m ( s ) . (36)
By construction,
r Φ m π 0 = r h e a d - m π 0 , ⟨ g ^ i , r π 0 ⟩ ν + , π 0 = 0 ( i > m ) . (37) r^{\pi_0}_{\Phi_m}=r^{\pi_0}_{\mathrm{head\text{-}m}}, \qquad\langle\hat{g}_i,r^{\pi_0}\rangle_{\nu_+,\pi_0}=0 \quad(i>m). \tag*{(37)} r Φ m π 0 = r head - m π 0 , ⟨ g ^ i , r π 0 ⟩ ν + , π 0 = 0 ( i > m ) . (37)
Potential shaping leaves the advantage and the set of optimal policies unchanged. Operationally, equation (35) does not move tail coefficients into head coefficients. Instead, it removes the tail from the delayed component and transfers its exact contribution to the immediate action-centered term.
Oracle-mode results. The population SUAF has rank 399. With the original sparse reward, oracle greedy one-step control remains near zero through rank 280 and reaches the optimal policy only at rank 399. The four learned full-rank SUAF models also obtain approximately zero improvement on the unshaped reward. In contrast, the oracle spectral potentials make the task accessible at the prescribed head rank for exact SUAF to recover the optimal policy, as is shown in Figure 9 . Furthermore, using the learned representations, head-4, head-16, and head-64 shaping obtains normalized improvements 0.466 ± \pm ± 0.047, 0.407 ± \pm ± 0.021, and 0.396 ± \pm ± 0.039, respectively (mean and 95% confidence interval), compared with approximately zero without shaping.
Figure 9. Oracle spectral reward shaping in Taxi. The left panel compares the spectral allocation of the sparse delivery reward and shaped variants for exact SUAF. The right panel reports one-step control on the original delivery objective. Curves or bars show the mean over four independently learned representations.
A learned spectral potential. We next replace the oracle right singular functions by the calibrated modes from each learned checkpoint and remove the constant component altogether:
r ^ h e a d - m π 0 ( s ) = ∑ i = 1 m g ^ i ( s ) β ^ i ( r ) , β ^ i ( r ) = ⟨ g ^ i , r π 0 ⟩ ν + , π 0 . (38) \hat{r}^{\pi_0}_{\mathrm{head\text{-}m}}(s)=\sum_{i=1}^{m}\hat{g}_i(s)\hat{\beta}_i(r), \qquad\hat{\beta}_i(r)=\langle\hat{g}_i,r^{\pi_0}\rangle_{\nu_+,\pi_0}. \tag*{(38)} r ^ head - m π 0 ( s ) = i = 1 ∑ m g ^ i ( s ) β ^ i ( r ) , β ^ i ( r ) = ⟨ g ^ i , r π 0 ⟩ ν + , π 0 . (38)
For this diagnostic we still use the known Taxi transition kernel to compute
Φ ^ m = ( I − γ P π 0 ) − 1 ( r π 0 − r ^ h e a d - m π 0 ) . (39) \hat{\Phi}_m=(I-\gamma P_{\pi_0})^{-1}\left(r^{\pi_0}-\hat{r}^{\pi_0}_{\mathrm{head\text{-}m}}\right). \tag*{(39)} Φ ^ m = ( I − γ P π 0 ) − 1 ( r π 0 − r ^ head - m π 0 ) . (39)
Figure 10. Oracle spectral reward shaping in Taxi. The left panel compares the spectral allocation of the sparse delivery reward and shaped variants for learned SUAF. The right panel reports one-step control on the original delivery objective. Curves or bars show the mean over four independently learned representations.
Thus, the construction uses no oracle singular functions and no tail coefficients, but it continues to use oracle dynamics. At the matched truncation rank k = m k = m k = m , learned head-4, head-16, head-64, and head-256 shaping obtains normalized delivery improvements 0.246± \pm ± 0.071, 0.169± \pm ± 0.109, 0.107± \pm ± 0.046, and 0.074± \pm ± 0.056, respectively. The unshaped learned SUAF remains near zero. The smallest learned head therefore provides a clear but partial recovery, although it remains below the corresponding oracle-mode construction. Using all 399 learned modes again gives approximately zero improvement, showing that the gain comes from removing unreliable learned directions rather than from potential shaping alone. Correcting the learned Gram matrix before projection produces nearly identical results, so the remaining gap is not explained solely by imperfect orthogonality of the calibrated g ^ i \hat{g}_i g ^ i .
A fully learned spectral potential. The preceding experiment still computes the potential with the population transition matrix. We remove this final oracle component using a fixed offline replay D = { ( S n , A n , S n ′ ) } n = 1 N D = \{(S_n, A_n, S'_n)\}_{n=1}^{N} D = {( S n , A n , S n ′ ) } n = 1 N . In the finite Taxi environment we first estimate
P ^ D ( s ′ ∣ s , a ) = ∑ n = 1 N 1 { S n = s , A n = a , S n ′ = s ′ } ∑ n = 1 N 1 { S n = s , A n = a } , \widehat{P}_D(s' \mid s,a) = \frac{\sum_{n=1}^{N} \mathbf{1}\{S_n=s, A_n=a, S'_n=s'\}}{\sum_{n=1}^{N} \mathbf{1}\{S_n=s, A_n=a\}}, P D ( s ′ ∣ s , a ) = ∑ n = 1 N 1 { S n = s , A n = a } ∑ n = 1 N 1 { S n = s , A n = a , S n ′ = s ′ } ,
P ^ π 0 , D ( s , s ′ ) = ∑ a π 0 ( a ∣ s ) P ^ D ( s ′ ∣ s , a ) . (40) \widehat{P}_{\pi_0,D}(s,s') = \sum_a \pi_0(a \mid s)\widehat{P}_D(s' \mid s,a). \tag*{(40)} P π 0 , D ( s , s ′ ) = a ∑ π 0 ( a ∣ s ) P D ( s ′ ∣ s , a ) . (40)
No population transition probabilities are used in this estimator. Since ( I − γ P ^ π 0 , D ) − 1 = I + γ P ^ π 0 , D + O ( γ 2 ) (I - \gamma\widehat{P}_{\pi_0,D})^{-1} = I + \gamma\widehat{P}_{\pi_0,D} + O(\gamma^2) ( I − γ P π 0 , D ) − 1 = I + γ P π 0 , D + O ( γ 2 ) , we then compute the fully learned potential
Φ ~ m , D = ( I + γ P ^ π 0 , D ) ( r π 0 − r ^ h e a d - m π 0 ) . (41) \widetilde{\Phi}_{m,D} = (I + \gamma\widehat{P}_{\pi_0,D})(r^{\pi_0} - \widehat{r}^{\pi_0}_{\mathrm{head}\text{-}m}). \tag*{(41)} Φ m , D = ( I + γ P π 0 , D ) ( r π 0 − r head - m π 0 ) . (41)
This operation is equivalent to tabular fitted policy evaluation of the residual reward. In large or continuous state spaces, equation 41 can therefore be replaced by an offline FQE or TD critic without explicitly materializing a transition matrix.
Figure 11. Learned spectral reward shaping in Taxi. The left panel compares the spectral allocation of the sparse delivery reward and shaped variants for learned SUAF. The right panel reports one-step control on the original delivery objective. Curves or bars show the mean over four independently learned representations.
As is shown in Figure 12 , we evaluate replay sizes N ∈ { 10 4 , 3 × 10 4 , 10 5 , 3 × 10 5 , 10 6 } N \in\{10^4, 3 \times10^4, 10^5, 3 \times10^5, 10^6\} N ∈ { 1 0 4 , 3 × 1 0 4 , 1 0 5 , 3 × 1 0 5 , 1 0 6 } and save the replay used for every seed. With 10 4 10^4 1 0 4 or 3 × 10 4 3 \times10^4 3 × 1 0 4 transitions, incomplete state-action coverage causes all variants to remain near zero. At 10 5 10^5 1 0 5 transitions, learned head-4 reaches 0.064 ± 0.128 0.064 \pm0.128 0.064 ± 0.128 normalized improvement, increasing to 0.198 ± 0.102 0.198 \pm0.102 0.198 ± 0.102 at 3 × 10 5 3 \times10^5 3 × 1 0 5 . With 10 6 10^6 1 0 6 transitions it reaches 0.246 ± 0.071 0.246 \pm0.071 0.246 ± 0.071 , numerically matching the learned-mode potential computed with the exact transition matrix. The same convergence occurs for head-16, head-64, and head-256, whose 10 6 10^6 1 0 6 -transition results are respectively 0.169 ± 0.109 0.169 \pm0.109 0.169 ± 0.109 , 0.107 ± 0.046 0.107 \pm0.046 0.107 ± 0.046 , and 0.074 ± 0.056 0.074 \pm0.056 0.074 ± 0.056 . At this sample size the dataset covers on average 2398.25 of the 2400 reachable state-action pairs, and the weighted potential error for head-4 decreases to 2.1 × 10 − 4 2.1 \times10^{-4} 2.1 × 1 0 − 4 . Thus the benefit of learned spectral shaping survives after both the singular functions and the potential are learned from data.
Figure 12. Estimation of P π P_\pi P π with dataset. Solid curves show means, and shaded regions indicate std across 5 independent runs.
Figure 13. Iterative multi-task policy improvement with SUAF in Grid World. A shared reward-conditioned actor is optimized using synchronous multi-task natural policy gradient (NPG), with SUAF critics reused between refreshes triggered by the trust-region criterion. Solid curves show means, and shaded regions indicate std across 3 independent runs. Left: Return normalized by the task-specific optimal return, J r ( π t ) / J r ( π r ∗ ) J_r(\pi_t)/J_r(\pi_r^*) J r ( π t ) / J r ( π r ∗ ) . Right: KL divergence from the initial task-conditioned policy, averaged uniformly over the 50 states. Colors indicate reward tasks.
Policy Update within Trust Region
After pretraining the SUAF features, we use the right features as a reward encoder. For a reward r r r , its task representation is
β ( r ) = ( ⟨ g 1 , r ⟩ ν + , π r e f , … , ⟨ g k , r ⟩ ν + , π r e f ) . \beta(r) = \left(\langle g_1, r\rangle_{\nu^+,\pi_{\mathrm{ref}}}, \ldots, \langle g_k, r\rangle_{\nu^+,\pi_{\mathrm{ref}}}\right). β ( r ) = ( ⟨ g 1 , r ⟩ ν + , π ref , … , ⟨ g k , r ⟩ ν + , π ref ) .
A single reward-conditioned actor is shared across all tasks:
π θ ( a ∣ s , r ) = π θ ( a ∣ s , β ( r ) ) . \pi_\theta(a \mid s,r) = \pi_\theta(a \mid s,\beta(r)). π θ ( a ∣ s , r ) = π θ ( a ∣ s , β ( r )) .
Thus, the actor receives both the current state and the SUAF reward representation, while all rewards are optimized jointly using the same parameter vector θ \theta θ . This allows policy knowledge to be shared across tasks rather than training a separate actor for each reward.
The SUAF critic is associated with a reference policy π r e f \pi_{\mathrm{ref}} π ref . During policy optimization, its features are reused while the current policy remains inside a trust region. We refresh the critic only when D K L ( π θ ∥ π r e f ) > δ D_{\mathrm{KL}}(\pi_\theta\Vert\pi_{\mathrm{ref}}) > \delta D KL ( π θ ∥ π ref ) > δ . At a refresh, new on-policy transitions are collected, the critic features f f f and g g g are warm-started from their previous parameters and recalibrated, and the current policy becomes the new reference policy. The reward coordinate supplied to the actor may remain defined in the original pretrained coordinate system, providing a stable task representation while the policy-specific critic is updated.
We evaluate whether SUAF supports repeated policy improvement with a shared reward-conditioned actor and periodic critic refreshes. In Grid World,
Figure 14. Iterative multi-task policy improvement with SUAF in Four-rooms. A shared reward-conditioned actor is optimized using synchronous multi-task natural policy gradient (NPG), with SUAF critics reused between refreshes triggered by the trust-region criterion. Solid curves show means, and shaded regions indicate std across 3 independent runs. Left: Return normalized by the task-specific optimal return, J r ( π t ) / J r ( π r ∗ ) J_r(\pi_t)/J_r(\pi_r^*) J r ( π t ) / J r ( π r ∗ ) . Right: KL divergence from the initial task-conditioned policy, averaged uniformly over the 104 states. Colors indicate reward tasks.
Figure 15. Iterative multi-task policy improvement with SUAF in Taxi. A shared reward-conditioned actor is optimized using synchronous multi-task natural policy gradient (NPG), with SUAF critics reused between refreshes triggered by the trust-region criterion. Solid curves show means, and shaded regions indicate std across 3 independent runs. Left: Return normalized by the task-specific optimal return, J r ( π t ) / J r ( π r ∗ ) J_r(\pi_t)/J_r(\pi_r^*) J r ( π t ) / J r ( π r ∗ ) . Right: KL divergence from the initial task-conditioned policy, averaged uniformly over the 104 states. Colors indicate reward tasks.
all five tasks achieve higher returns after optimization, although their learning trajectories differ. The top-left task reaches approximately the optimal return by iteration 80, while top-right and bottom-left reach approximately 83% of their respective optima by iteration 100. The center task reaches approximately 64%, whereas bottom-right improves more modestly to approximately 23% and exhibits a temporary decline during training. These results demonstrate that SUAF reward representations can support joint optimization of multiple tasks through a single actor, while also revealing substantial variation in the effectiveness of the updates across rewards.
In Four Rooms, all four tasks improve from their initial policies, reaching approximately 59%, 51%, 43%, and 39% of optimal return for top-left, bottom-left, bottom-right, and top-right, respectively. Most tasks improve rapidly during the early iterations and subsequently progress more slowly, with top-left showing additional gains late in training. The remaining optimality gaps indicate that repeated updates with a shared actor and refreshed SUAF critics do not uniformly recover optimal behavior within the evaluated budget.
The right panels show that the policies move progressively away from their initial task-conditioned policies, with the final mean KL divergence ranging from approximately 1.4 to 1.6 nats in Grid World and clustering around 1.5–1.6 nats in Four Rooms. Similar cumulative policy displacements can produce substantially different returns, emphasizing that update magnitude alone does not determine improvement. These plots measure divergence from the initial policy under a uniform state distribution. Local reuse is instead governed by the refresh criterion relative to the current reference policy. Together, the results demonstrate the feasibility of combining SUAF-based task conditioning with iterative policy optimization and critic refreshes, while exposing task-dependent limitations in the resulting performance.
Ablation Studies
Theorem 3.3 shows that directly compressing the full advantage operator must spend representation capacity on the immediate action contrast, whereas SUAF retains this known term exactly and uses its spectral modes only for delayed credit. We next examine whether this distinction matters for downstream control, rather than only for operator reconstruction error.
Compared operators. For a fixed reference policy π 0 \pi_0 π 0 , write the advantage operator as
A π 0 = C π 0 + D π 0 , D π 0 = γ 1 − γ T + , π 0 . (42) A^{\pi_0} = C_{\pi_0} + D^{\pi_0}, \qquad D^{\pi_0} = \frac{\gamma}{1-\gamma}\mathcal{T}^{+,\pi_0}. \tag*{(42)} A π 0 = C π 0 + D π 0 , D π 0 = 1 − γ γ T + , π 0 . (42)
We compare two population, reward-independent rank-k k k constructions. The SUAF approximation retains the immediate contrast exactly and truncates only
Figure 17. Comprasion between SUAF and SVD in one-step improvement in Four-room. The results are reported as mean with std of 5 independent runs.
Figure 18. Comprasion between SUAF and SVD in one-step improvement in Taxi. The results are reported as mean with std of 5 independent runs.
the delayed operator:
A ^ r , k S U A F = C π 0 r + D k π 0 r , (43) \widehat{A}^{\mathrm{SUAF}}_{r,k}=C_{\pi_0}r+\mathcal{D}^{\pi_0}_k r, \tag*{(43)} A r , k SUAF = C π 0 r + D k π 0 r , (43)
where D k π 0 \mathcal{D}^{\pi_0}_k D k π 0 is the leading rank-k k k weighted SVD approximation of D π 0 \mathcal{D}^{\pi_0} D π 0 . The ablation instead directly truncates the full advantage operator:
A ^ r , k F u l l = ( A π 0 ) k r , (44) \widehat{A}^{\mathrm{Full}}_{r,k}=(\mathcal{A}^{\pi_0})_k r, \tag*{(44)} A r , k Full = ( A π 0 ) k r , (44)
where ( A π 0 ) k (\mathcal{A}^{\pi_0})_k ( A π 0 ) k is the leading rank-k k k approximation of the full operator under the same weighted L 2 ( d π 0 ) L^2(d^{\pi_0}) L 2 ( d π 0 ) –L 2 ( ν π 0 ) L^2(\nu^{\pi_0}) L 2 ( ν π 0 ) geometry. Here, k k k denotes the number of retained spectral modes that must be represented. The exact term C π 0 r C_{\pi_0}r C π 0 r in SUAF introduces no learned parameters: it is computed directly from the downstream reward and the known reference policy. Thus, the comparison allocates the same learned spectral capacity to both methods.
Control protocol. To isolate the structural effect from representation-learning error, we compute both decompositions from the exact finite MDP. For every rank k k k and downstream reward r r r , we construct a one-step greedy policy
π k ( a ∣ s ) = 1 { a ∈ arg max a ′ A ^ r , k π 0 ( s , a ′ ) } , (45) \pi_k(a\mid s)=\mathbb{1}\left\{a\in\underset{a'}{\arg\max}\ \widehat{A}^{\pi_0}_{r,k}(s,a')\right\}, \tag*{(45)} π k ( a ∣ s ) = 1 { a ∈ a ′ arg max A r , k π 0 ( s , a ′ ) } , (45)
with fixed tie breaking. We measure its achievable improvement by
AI ( π k ) = J r ( π k ) − J r ( π 0 ) J r ( π r ∗ ) − J r ( π 0 ) . (46) \operatorname{AI}(\pi_k)=\frac{J_r(\pi_k)-J_r(\pi_0)}{J_r(\pi_r^*)-J_r(\pi_0)}. \tag*{(46)} AI ( π k ) = J r ( π r ∗ ) − J r ( π 0 ) J r ( π k ) − J r ( π 0 ) . (46)
An achievable improvement of one therefore indicates that the one-step policy reaches the optimal return, while zero corresponds to no improvement over the reference policy.
We repeat the population experiment over five independently sampled full-support reference policies and report the mean and Student-t t t 95% confidence interval. The uncertainty therefore measures sensitivity to the reference policy, rather than stochastic error in the exact SVD.
Results. Figure 16 , 17, 18 show that the operator-level spectral floor has a direct consequence for control. The delayed operators have ranks 49, 103, and 399 in GridWorld, Four-room, and Taxi, respectively. At these same rank budgets, SUAF has already recovered the exact advantage of the reference policy, whereas the rank-k k k decomposition of the full advantage operator still omits many immediate action-contrast directions.
Figure 16. Comprasion between SUAF and SVD in one-step improvement in GridWorld. The results are reported as mean with std of 5 independent runs.
Overall, these results complement Theorem 3.3 : the immediate-term spectral floor is not merely an operator-norm artifact, but can substantially reduce downstream policy improvement under a fixed representation budget.
Does other methods benefit from delayed advantage?
To test the source of performance improvement, we adapt FB and One-Step FB to the same delayed-operator target as SUAF, rather than training a full successor representation and subtracting an estimated identity component afterwards. Let X t = ( S t , A t ) X_t = (S_t, A_t) X t = ( S t , A t ) under a fixed reference policy π 0 \pi_0 π 0 , and sample a strictly positive geometric lag,
L ∼ Geom ( 1 − γ ) , L ∈ { 1 , 2 , … } , Y + = X t + L . (47) L \sim\operatorname{Geom}(1-\gamma), \qquad L \in\{1,2,\ldots\}, \qquad Y^{+} = X_{t+L}. \tag*{(47)} L ∼ Geom ( 1 − γ ) , L ∈ { 1 , 2 , … } , Y + = X t + L . (47)
Thus the positive pairs used by the FB-style representation losses are drawn from
M + , π 0 = ( 1 − γ ) P π 0 ( I − γ P π 0 ) − 1 , (48) M^{+,\pi_0} = (1-\gamma)P_{\pi_0}(I-\gamma P_{\pi_0})^{-1}, \tag*{(48)} M + , π 0 = ( 1 − γ ) P π 0 ( I − γ P π 0 ) − 1 , (48)
instead of from the usual full geometric successor kernel, which includes the lag-zero atom. We otherwise retain the original FB or One-Step FB network, optimizer, batch size, and orthonormalization/LSIF objective. In particular, the diagonal positive-pair term is evaluated on ( X , Y + ) (X,Y^{+}) ( X , Y + ) , while the factual one-step transition remains available for the bootstrap term. Consequently, the resulting reward-conditioned score is trained to represent the delayed action-dependent component, denoted by D ^ b a s e π 0 \hat{D}_{\mathrm{base}}^{\pi_0} D ^ base π 0 . At evaluation, we do not estimate the immediate term. We compute it exactly from the known reference policy,
( C π 0 r ) ( s , a ) = r ( s , a ) − ∑ a ~ π 0 ( a ~ ∣ s ) r ( s , a ~ ) , (49) (C_{\pi_0}r)(s,a)=r(s,a)-\sum_{\tilde{a}}\pi_0(\tilde{a}\mid s)r(s,\tilde{a}), \tag*{(49)} ( C π 0 r ) ( s , a ) = r ( s , a ) − a ~ ∑ π 0 ( a ~ ∣ s ) r ( s , a ~ ) , (49)
and use the critic
A ^ b a s e π 0 = C π 0 r + D ^ b a s e π 0 r . (50) \widehat{A}^{\pi_0}_{\mathrm{base}}=C_{\pi_0}r+\widehat{D}^{\pi_0}_{\mathrm{base}}r. \tag*{(50)} A base π 0 = C π 0 r + D base π 0 r . (50)
The equation (49) requires neither a transition model nor reward-specific representation training. It is exact for every test reward once π 0 \pi_0 π 0 is fixed. This intervention is non-vacuous only for an action-dependent reward: if r ( s , a ) = r ( s ) r(s,a)=r(s) r ( s , a ) = r ( s ) , then C π 0 r = 0 C_{\pi_0}r=0 C π 0 r = 0 and the delayed critic and equation (50) coincide identically.
Why the ablation is restricted to FB and One-Step FB. This experiment requires a baseline whose representation-learning objective can be modified in a controlled way by replacing its successor positive examples with the pairs in equation (47) . FB and One-Step FB have explicit forward–backward successor objectives with such a positive-pair/bootstrapping decomposition, so the change preserves their architecture and learning rule while changing only the operator being learned.
The remaining baselines do not admit an analogous one-line intervention. Laplacian and BYOL-γ \gamma γ learn state geometry rather than a specified successor operator; ICVF and HILP use task- or intention-conditioned value objectives; and TD-JEPA uses a representation-specific prediction objective. None exposes an explicit successor positive-pair term whose lag-zero mass can be removed while retaining the original objective. Adding a new reward-conditioned delayed TD or successor-feature head to each method would introduce an additional model, loss, and optimization budget. Such a comparison would measure that added head rather than the original baseline. We therefore apply the exact-C π 0 C_{\pi_0} C π 0 delayed-operator ablation only to FB and One-Step FB.
Delayed ablation. Table 7 isolates the effect of separating the immediate reward contrast C π r C_{\pi}r C π r from the delayed component. For state-only rewards, C π r = 0 C_{\pi}r=0 C π r = 0 , so adding an exact C π C_{\pi} C π term leaves performance unchanged, as expected. For state-action rewards, however, explicitly computing C π r C_{\pi}r C π r yields large gains for the baselines, confirming that direct low-rank compression of the full advantage operator suffers from the immediate-term spectral floor. Crucially, even when the baselines are given the same exact C π r C_{\pi}r C π r , SUAF still shows great advantage over them, showing that its learned delayed spectral representation is itself stronger. Overall, the ablation supports the core design: exact immediate contrast plus a low-rank spectral model of the delayed operator.
Table 7. Full-rank greedy one-step control with frozen FB representations. The exact-C π C_{\pi} C π variants (labeled delayed) use C ^ π r + D ^ π r \hat{C}_{\pi r} + \hat{D}_{\pi r} C ^ π r + D ^ π r and original ones use A ^ π r \hat{A}_{\pi r} A ^ π r . Values are normalized improvement from the reference policy. Result is reported with 5 independent runs.
How does the dataset size affect performance?
How does estimation of behavior policy affect the final results?
We use the cross-episode held-out action R 2 R^2 R 2 to measure the quality of the kNN estimate of the behavior policy π b ( a ∣ s ) \pi_b(a\mid s) π b ( a ∣ s ) , where higher values indicate that the
Figure 19. Effects of training dataset on feature learning in GridWorld. Results are reported with mean ± 95% CI with 3 independent runs.
Figure 20. Effects of training dataset on feature learning in Four-room. Results are reported with mean ± 95% CI with 3 independent runs.
Figure 21. Effects of training dataset on feature learning in Taxi. Results are reported with mean ± 95% CI with 3 independent runs.
Figure 22. Quality of kNN estimation measured by held-out action R 2 R^2 R 2 . The results are reported by 95% CI of 5 independent episode split.
Ablations on kNN action numbers k k k . The full zero-shot evaluation results on 8 ExORL tasks and 10 OGBench tasks. The results are reported as mean over 3 seeds with std while k = 16 k = 16 k = 16 using the original results.
Table 8. Ablations on kNN action numbers k k k . The full zero-shot evaluation results on 8 ExORL tasks and 10 OGBench tasks. The results are reported as mean over 3 seeds with std while k = 16 k = 16 k = 16 using the original results.
neighboring actions more accurately predict the behavior action at the current state. The R 2 R^2 R 2 is computed on held-out data from different episodes as
R 2 = 1 − ∑ i = 1 N ∥ a i − a ^ k ( s i ) ∥ 2 2 ∑ i = 1 N ∥ a i − a ‾ r e f ∥ 2 2 R^2 = 1 - \frac{\sum_{i=1}^{N} \lVert a_i - \widehat{a}_k(s_i) \rVert_2^2}{\sum_{i=1}^{N} \lVert a_i - \overline{a}_{\mathrm{ref}} \rVert_2^2} R 2 = 1 − ∑ i = 1 N ∥ a i − a ref ∥ 2 2 ∑ i = 1 N ∥ a i − a k ( s i ) ∥ 2 2
where
a ^ k ( s i ) = 1 k ∑ j ∈ N k ( s i ) a j \widehat{a}_k(s_i) = \frac{1}{k} \sum_{j \in\mathcal{N}_k(s_i)} a_j a k ( s i ) = k 1 j ∈ N k ( s i ) ∑ a j
is the average of the k k k nearest-neighbor actions for state s i s_i s i , and a ‾ r e f \overline{a}_{\mathrm{ref}} a ref is the average action over the entire reference set. Thus:
R 2 = 1 R^2 = 1 R 2 = 1 : perfect prediction of the held-out action;
R 2 = 0 R^2 = 0 R 2 = 0 : equivalent to always predicting the global mean action;
R 2 < 0 R^2 < 0 R 2 < 0 : worse than the global mean action.
The reference and held-out queries come from different episodes, which avoids leakage from adjacent trajectory samples and prevents inflated results.
All four environments exhibit a clear bias–variance trade-off: too few neighbors lead to high estimation variance, whereas too many neighbors mix in samples whose states differ substantially. Walker, AntMaze, and Cube perform best around k = 16 k = 16 k = 16 , while Cheetah achieves its best performance at k = 4 ∼ 8 k = 4 \sim8 k = 4 ∼ 8 . Overall, k = 16 k = 16 k = 16 is a reasonably robust unified choice across environments. Furthermore, we train with different number of kNN actions and found the result agree with the outcome.
Theory Proofs
Table 9 pairs each main-text theorem with its proof in this appendix. The assumptions used throughout are collected in Appendix § 13 .§ 1 .
Table 9. Main-text theorems and their corresponding proofs.
Assumptions
Assumptions
In this work, unless stated clearly, we consider a fixed discounted MDP with a known discount factor 0 < γ < 1 0 < \gamma< 1 0 < γ < 1 and a reference policy π \pi π . Our construction uses the following assumptions:
Access to the reference policy. We can evaluate π ( a ∣ s ) \pi(a \mid s) π ( a ∣ s ) and sample actions from π ( ⋅ ∣ s ) \pi(\cdot\mid s) π ( ⋅ ∣ s ) . This allows us to center functions across actions at a given state and to define the state–action transitions under π \pi π .
Access to transition data. We have trajectories under π \pi π , or appropriately weighted transition data, from which the discounted occupancy d π d^\pi d π , one-step pairs, and positive-lag pairs can be estimated. The transition probabilities need not be known explicitly.
Access to downstream rewards. Representation learning does not use task rewards. When adapting to a task, its bounded reward function r ( s , a ) r(s,a) r ( s , a ) can be evaluated at the state-action pairs needed to compute the immediate reward contrast and the reward-feature coefficients.
Well-defined feature distributions. The weighted feature construction is restricted to the supports of d π d^\pi d π and ν + , π \nu^{+,\pi} ν + , π , where the required expectations and second moments are finite.
The exact finite-MDP policy-recovery result additionally assumes the full-support and exact-representation conditions stated in Theorem D.5 .
Reason of exclude the immediate term and Proof of Theorem 3.3
The immediate reward contrast has a known high-rank structure that need not be learned from future transitions. The following result makes this precise in a common input-output geometry.
Lemma D.1 (Spectral floor induced by the immediate term). Throughout this lemma, both rewards and advantages belong to H = L 2 ( d π ) \mathcal{H} = L^2(d^\pi) H = L 2 ( d π ) , and all adjoints, singular values, and operator norms refer to this space. Consider a finite MDP with 0 < γ < 1 0 < \gamma< 1 0 < γ < 1 and d π ( s , a ) > 0 d^\pi(s,a) > 0 d π ( s , a ) > 0 for all state-action pairs. Let P π P_\pi P π be the state-action transition operator and define the unnormalized-return advantage operator and its delayed component by
A π = C π ( I − γ P π ) − 1 , D π = A π − C π = γ 1 − γ T + , π . A_\pi= C_\pi(I-\gamma P_\pi)^{-1}, \qquad D_\pi= A_\pi-C_\pi= \frac{\gamma}{1-\gamma}\mathcal{T}^{+,\pi}. A π = C π ( I − γ P π ) − 1 , D π = A π − C π = 1 − γ γ T + , π . Set q = rank ( C π ) = ∣ S ∣ ( ∣ A ∣ − 1 ) q = \operatorname{rank}(C_\pi) = |S|(|A|-1) q = rank ( C π ) = ∣ S ∣ ( ∣ A ∣ − 1 ) and let τ 1 ≥ ⋯ ≥ τ q ≥ 0 \tau_1 \ge\cdots\ge\tau_q \ge0 τ 1 ≥ ⋯ ≥ τ q ≥ 0 be the singular values of D π D_\pi D π , padded with zeros. Then A π A_\pi A π has exactly q q q nonzero singular values, given by
σ i ( A π ) = 1 + τ i 2 , i = 1 , … , q . (51) \sigma_i(A_\pi) = \sqrt{1+\tau_i^2}, \qquad i=1,\ldots,q. \tag*{(51)} σ i ( A π ) = 1 + τ i 2 , i = 1 , … , q . (51)
Consequently, for 0 ≤ k < q 0 \le k < q 0 ≤ k < q ,
inf rank ( K ) ≤ k ∥ A π − K ∥ o p 2 = 1 + τ k + 1 2 ≥ 1 , (52) \inf_{\operatorname{rank}(K)\le k} \lVert A_\pi- K\rVert_{\mathrm{op}}^2 = 1 + \tau_{k+1}^2 \ge1, \tag*{(52)} rank ( K ) ≤ k inf ∥ A π − K ∥ op 2 = 1 + τ k + 1 2 ≥ 1 , (52)
inf rank ( K ) ≤ k ∥ A π − ( C π + K ) ∥ o p 2 = τ k + 1 2 . (53) \inf_{\operatorname{rank}(K)\le k} \lVert A_\pi- (C_\pi+ K)\rVert_{\mathrm{op}}^2 = \tau_{k+1}^2. \tag*{(53)} rank ( K ) ≤ k inf ∥ A π − ( C π + K ) ∥ op 2 = τ k + 1 2 . (53)
Proof. Since d π ( s , a ) = d S π ( s ) π ( a ∣ s ) d^\pi(s,a) = d^\pi_S(s)\pi(a \mid s) d π ( s , a ) = d S π ( s ) π ( a ∣ s ) , the action-centering operator C π C_\pi C π is the orthogonal projection onto H C = { u : E a ∼ π ( ⋅ ∣ s ) u ( s , a ) = 0 for all s } \mathcal{H}_C = \{u : \mathbb{E}_{a\sim\pi(\cdot\mid s)}u(s,a) = 0 \text{ for all } s\} H C = { u : E a ∼ π ( ⋅ ∣ s ) u ( s , a ) = 0 for all s } . The next action is sampled from π \pi π , so P π C π = 0 P_\pi C_\pi= 0 P π C π = 0 . Hence ( I − γ P π ) − 1 C π = C π (I-\gamma P_\pi)^{-1}C_\pi= C_\pi ( I − γ P π ) − 1 C π = C π and
D π C π = 0 , C π D π = D π . D_\pi C_\pi= 0,\qquad C_\pi D_\pi= D_\pi. D π C π = 0 , C π D π = D π .
Using C π ∗ = C π = C π 2 C_\pi^* = C_\pi= C_\pi^2 C π ∗ = C π = C π 2 therefore gives
A π A π ∗ = ( C π + D π ) ( C π + D π ) ∗ = C π + D π D π ∗ . A_\pi A_\pi^* = (C_\pi+ D_\pi)(C_\pi+ D_\pi)^* = C_\pi+ D_\pi D_\pi^*. A π A π ∗ = ( C π + D π ) ( C π + D π ) ∗ = C π + D π D π ∗ .
On H C \mathcal{H}_C H C , this is I + D π D π ∗ I + D_\pi D_\pi^* I + D π D π ∗ . On H C ⊥ \mathcal{H}_C^\perp H C ⊥ , it is zero. This proves equation (51) . The two approximation identities follow from best rank-k k k approximation in operator norm, applying it to A π A_\pi A π and D π D_\pi D π , respectively.
Therefore, even when the delayed component is low rank, the full advantage operator remains a spectral floor of one on the q q q action-centered directions. Retaining C π r C_\pi r C π r exactly avoids spending learned representation capacity on this known immediate structure. The comparison allocates rank k k k to the learned component. C π + K C_\pi+ K C π + K itself need not have rank k k k . The unit floor concerns unnormalized returns in the common L 2 ( d π ) L^2(d^\pi) L 2 ( d π ) geometry: the immediate term in the normalized successor measure instead has coefficient 1 − γ 1-\gamma 1 − γ . Accordingly, the result motivates separating the immediate term without asserting a universal spectral-decay ordering between matrices normalized using different marginals. Note that Ollivier [15 ] uses the spectrum analysis of A π A_\pi A π , which introduce a non-zero error in the approximation of A π A_\pi A π .
Based on this, we here prove the Theorem 3.3 .
Theorem D.2 (Removing the immediate-term spectral floor). Consider a finite MDP with 0 < γ < 1 0 < \gamma< 1 0 < γ < 1 and strictly positive d π d^\pi d π and ν + , π \nu^{+,\pi} ν + , π . Let
α π = min s d S π ( s ) ν S + , π ( s ) , q = ∣ S ∣ ( ∣ A ∣ − 1 ) . \alpha_\pi= \min_s \frac{d^\pi_S(s)}{\nu^{+,\pi}_S(s)},\qquad q = |\mathcal{S}|(|\mathcal{A}|-1). α π = s min ν S + , π ( s ) d S π ( s ) , q = ∣ S ∣ ( ∣ A ∣ − 1 ) . For every 0 ≤ k < q 0 \le k < q 0 ≤ k < q ,
inf rank ( K ) ≤ k sup ∥ r ∥ ν + , π ≤ 1 ∥ A r π − K r ∥ d π 2 ≥ α π + ( γ 1 − γ ) 2 ( σ k + 1 + , π ) 2 , (54) \inf_{\operatorname{rank}(K)\le k}\ \sup_{\lVert r\rVert_{\nu^{+,\pi}}\le1} \lVert A^\pi_r - Kr\rVert_{d^\pi}^2 \ge\alpha_\pi+ \left(\frac{\gamma}{1-\gamma}\right)^2(\sigma_{k+1}^{+,\pi})^2, \tag*{(54)} rank ( K ) ≤ k inf ∥ r ∥ ν + , π ≤ 1 sup ∥ A r π − K r ∥ d π 2 ≥ α π + ( 1 − γ γ ) 2 ( σ k + 1 + , π ) 2 , (54) where singular values beyond the rank of T + , π T^{+,\pi} T + , π are defined to be zero. In contrast, retaining C π r C_\pi r C π r exactly and truncating only the future term incurs worst-case error without α π \alpha_\pi α π as shown in Theorem 3.2 . If ν + , π = d π \nu^{+,\pi} = d^\pi ν + , π = d π , then α π = 1 \alpha_\pi= 1 α π = 1 and equation (6) holds with equality.
Proof. All adjoints and singular values below are taken between L 2 ( ν + , π ) L^2(\nu^{+,\pi}) L 2 ( ν + , π ) and L 2 ( d π ) L^2(d^\pi) L 2 ( d π ) . Write
A π = C π + D π , D π = γ 1 − γ T + , π . A_\pi= C_\pi+ D_\pi,\qquad D_\pi= \frac{\gamma}{1-\gamma}T^{+,\pi}. A π = C π + D π , D π = 1 − γ γ T + , π .
Both d π d^\pi d π and ν + , π \nu^{+,\pi} ν + , π have conditional action distribution π \pi π . Consequently, the adjoint of C π : L 2 ( ν + , π ) → L 2 ( d π ) C_\pi:L^2(\nu^{+,\pi})\to L^2(d^\pi) C π : L 2 ( ν + , π ) → L 2 ( d π ) is
C π ∗ u ( s , a ) = d S π ( s ) ν S + , π ( s ) ( C π u ) ( s , a ) . C_\pi^*u(s,a)=\frac{d^\pi_S(s)}{\nu^{+,\pi}_S(s)}(C_\pi u)(s,a). C π ∗ u ( s , a ) = ν S + , π ( s ) d S π ( s ) ( C π u ) ( s , a ) .
Its range consists of functions with zero policy-conditional action mean. Since P π P_\pi P π annihilates every such function,
D π C π ∗ = 0 , C π D π ∗ = 0. D_\pi C_\pi^*=0,\qquad C_\pi D_\pi^*=0. D π C π ∗ = 0 , C π D π ∗ = 0.
Hence
A π A π ∗ = C π C π ∗ + D π D π ∗ . A_\pi A_\pi^*=C_\pi C_\pi^*+D_\pi D_\pi^*. A π A π ∗ = C π C π ∗ + D π D π ∗ .
Let H C = range ( C π ) \mathcal{H}_C=\operatorname{range}(C_\pi) H C = range ( C π ) , viewed as a subspace of L 2 ( d π ) L^2(d^\pi) L 2 ( d π ) . This space has dimension q q q , and on H C \mathcal{H}_C H C ,
C π C π ∗ = W π , ( W π u ) ( s , a ) = d S π ( s ) ν S + , π ( s ) u ( s , a ) . C_\pi C_\pi^*=W_\pi,\qquad(W_\pi u)(s,a)=\frac{d^\pi_S(s)}{\nu^{+,\pi}_S(s)}u(s,a). C π C π ∗ = W π , ( W π u ) ( s , a ) = ν S + , π ( s ) d S π ( s ) u ( s , a ) .
In particular, W π ⪰ α π I W_\pi\succeq\alpha_\pi I W π ⪰ α π I . Both summands vanish on H C ⊥ \mathcal{H}_C^\perp H C ⊥ . Eigenvalue monotonicity therefore gives, for i ≤ q i\le q i ≤ q ,
σ i ( A π ) 2 ≥ α π + σ i ( D π ) 2 = α π + ( γ 1 − γ ) 2 ( σ i + , π ) 2 . \sigma_i(A_\pi)^2\ge\alpha_\pi+\sigma_i(D_\pi)^2=\alpha_\pi+\left(\frac{\gamma}{1-\gamma}\right)^2(\sigma_i^{+,\pi})^2. σ i ( A π ) 2 ≥ α π + σ i ( D π ) 2 = α π + ( 1 − γ γ ) 2 ( σ i + , π ) 2 .
The best rank-k k k operator-norm approximation error is σ k + 1 ( A π ) 2 \sigma_{k+1}(A_\pi)^2 σ k + 1 ( A π ) 2 , proving the lower bound. The SUAF error follows from truncating the singular expansion of D π D_\pi D π .
When ν + , π = d π \nu^{+,\pi}=d^\pi ν + , π = d π , W π = I W_\pi=I W π = I on H C \mathcal{H}_C H C , so all the above eigenvalue inequalities become equalities.
Proof of Theorem 3.2
Theorem D.3 (Average-case optimality of the rank-k k k representations). Let reward function r r r be sampled from uniform distribution over the unit sphere of L 2 ( ν + , π ) L^2(\nu^{+,\pi}) L 2 ( ν + , π ) , and let m = ∣ supp ( ν + , π ) ∣ m=|\operatorname{supp}(\nu^{+,\pi})| m = ∣ supp ( ν + , π ) ∣ . Among all reward-independent rank-k k k approximations of the positive-lag future operator T + , π T^{+,\pi} T + , π in A π A_\pi A π , the top-k k k truncated representation
A r , k π = C π r + γ 1 − γ ∑ i = 1 k σ i + , π f i ⟨ g i , r ⟩ ν + , π A_{r,k}^\pi=C_\pi r+\frac{\gamma}{1-\gamma}\sum_{i=1}^{k}\sigma_i^{+,\pi}f_i\langle g_i,r\rangle_{\nu^{+,\pi}} A r , k π = C π r + 1 − γ γ i = 1 ∑ k σ i + , π f i ⟨ g i , r ⟩ ν + , π
minimizes the expected advantage approximation error, i.e.,
E r [ ∥ A r π − A r , k π ∥ d π 2 ] = inf rank ( T ^ + , π ) ≤ k E r [ ∥ A r π − A ^ r π ∥ d π 2 ] = 1 m ( γ 1 − γ ) 2 ∑ i > k ( σ i + , π ) 2 . \mathbb{E}_{r}\left[\left\|A_r^\pi-A_{r,k}^\pi\right\|_{d^\pi}^{2}\right]
=
\inf_{\operatorname{rank}(\widehat{T}^{+,\pi})\leq k}
\mathbb{E}_{r}\left[\left\|A_r^\pi-\widehat{A}_r^\pi\right\|_{d^\pi}^{2}\right]
=
\frac{1}{m}\left(\frac{\gamma}{1-\gamma}\right)^{2}\sum_{i>k}\left(\sigma_i^{+,\pi}\right)^{2}. E r [ A r π − A r , k π d π 2 ] = rank ( T + , π ) ≤ k inf E r [ A r π − A r π d π 2 ] = m 1 ( 1 − γ γ ) 2 i > k ∑ ( σ i + , π ) 2 .
and top-k k k truncation is also optimal under minimax case, i.e.,
sup ∥ r ∥ ν + , π ≤ 1 ∥ A r π − A r , k π ∥ d π 2 = inf rank ( T ^ + , π ) ≤ k sup ∥ r ∥ ν + , π ≤ 1 ∥ A r π − A ^ r π ∥ d π 2 = ( γ 1 − γ ) 2 ( σ k + 1 + , π ) 2 . \sup_{\|r\|_{\nu^{+,\pi}}\leq1}\left\|A_r^\pi-A_{r,k}^\pi\right\|_{d^\pi}^{2}
=
\inf_{\operatorname{rank}(\widehat{T}^{+,\pi})\leq k}
\sup_{\|r\|_{\nu^{+,\pi}}\leq1}\left\|A_r^\pi-\widehat{A}_r^\pi\right\|_{d^\pi}^{2}
=
\left(\frac{\gamma}{1-\gamma}\right)^{2}\left(\sigma_{k+1}^{+,\pi}\right)^{2}. ∥ r ∥ ν + , π ≤ 1 sup A r π − A r , k π d π 2 = rank ( T + , π ) ≤ k inf ∥ r ∥ ν + , π ≤ 1 sup A r π − A r π d π 2 = ( 1 − γ γ ) 2 ( σ k + 1 + , π ) 2 .
Proof. For brevity, let
H ν = L 2 ( ν + , π ) , H d = L 2 ( d π ) , \mathcal{H}_{\nu}=L^{2}(\nu^{+,\pi}),\qquad\mathcal{H}_{d}=L^{2}(d^\pi), H ν = L 2 ( ν + , π ) , H d = L 2 ( d π ) ,
where both spaces are restricted to the supports of their corresponding distributions. Define the coordinate maps
[ U ν r ] ( s + , a + ) = ν + , π ( s + , a + ) r ( s + , a + ) , [ U d h ] ( s , a ) = d π ( s , a ) h ( s , a ) . [U_{\nu}r](s^{+},a^{+})=\sqrt{\nu^{+,\pi}(s^{+},a^{+})}\,r(s^{+},a^{+}),\qquad[U_{d}h](s,a)=\sqrt{d^\pi(s,a)}\,h(s,a). [ U ν r ] ( s + , a + ) = ν + , π ( s + , a + ) r ( s + , a + ) , [ U d h ] ( s , a ) = d π ( s , a ) h ( s , a ) .
These maps are isometries because
∥ U ν r ∥ 2 = ∥ r ∥ ν + , π , ∥ U d h ∥ 2 = ∥ h ∥ d π . \|U_{\nu}r\|_{2}=\|r\|_{\nu^{+,\pi}},\qquad\|U_{d}h\|_{2}=\|h\|_{d^\pi}. ∥ U ν r ∥ 2 = ∥ r ∥ ν + , π , ∥ U d h ∥ 2 = ∥ h ∥ d π .
By the definitions of T + , π T^{+,\pi} T + , π and the positive-lag DCDM, for every r ∈ H ν r\in\mathcal{H}_{\nu} r ∈ H ν ,
[ U d T + , π r ] ( s , a ) = ∑ s + , a + B ~ + , π ( ( s , a ) , ( s + , a + ) ) [ U ν r ] ( s + , a + ) . [U_{d}T^{+,\pi}r](s,a)=\sum_{s^{+},a^{+}}\widetilde{B}^{+,\pi}\bigl((s,a),(s^{+},a^{+})\bigr)[U_{\nu}r](s^{+},a^{+}). [ U d T + , π r ] ( s , a ) = s + , a + ∑ B + , π ( ( s , a ) , ( s + , a + ) ) [ U ν r ] ( s + , a + ) .
Therefore, T + , π T^{+,\pi} T + , π and B ~ + , π \widetilde{B}^{+,\pi} B + , π have the same rank and singular values
U d T + , π U ν − 1 = B ~ + , π . U_{d}T^{+,\pi}U_{\nu}^{-1}=\widetilde{B}^{+,\pi}. U d T + , π U ν − 1 = B + , π .
In particular, the SVD of the DCDM implies
T + , π r = ∑ i = 1 R σ i + , π f i ⟨ g i , r ⟩ ν + , π . T^{+,\pi}r=\sum_{i=1}^{R}\sigma_i^{+,\pi}f_i\langle g_i,r\rangle_{\nu^{+,\pi}}. T + , π r = i = 1 ∑ R σ i + , π f i ⟨ g i , r ⟩ ν + , π .
Its rank-k k k truncation is
T k + , π r = ∑ i = 1 k σ i + , π f i ⟨ g i , r ⟩ ν + , π . T_k^{+,\pi}r=\sum_{i=1}^{k}\sigma_i^{+,\pi}f_i\langle g_i,r\rangle_{\nu^{+,\pi}}. T k + , π r = i = 1 ∑ k σ i + , π f i ⟨ g i , r ⟩ ν + , π .
Now let T ^ + , π \widehat{T}^{+,\pi} T + , π be any reward-independent operator with rank ( T ^ + , π ) ≤ k \operatorname{rank}(\widehat{T}^{+,\pi})\leq k rank ( T + , π ) ≤ k , and define
B ^ = U d T ^ + , π U ν − 1 . \widehat{B}=U_d\widehat{T}^{+,\pi}U_{\nu}^{-1}. B = U d T + , π U ν − 1 .
Since U d U_d U d and U ν U_{\nu} U ν are invertible isometries,
rank ( B ^ ) = rank ( T ^ + , π ) ≤ k . \operatorname{rank}(\widehat{B})=\operatorname{rank}(\widehat{T}^{+,\pi})\leq k. rank ( B ) = rank ( T + , π ) ≤ k .
Moreover, because the immediate term C π r C_{\pi}r C π r is retained exactly,
A r π − A ^ r π = γ 1 − γ ( T ~ + , π − T ^ + , π ) r . A_r^{\pi}-\widehat{A}_r^{\pi}=\frac{\gamma}{1-\gamma}\left(\widetilde{T}^{+,\pi}-\widehat{T}^{+,\pi}\right)r. A r π − A r π = 1 − γ γ ( T + , π − T + , π ) r .
For the average-case result, let
z r = U ν r . z_r=U_{\nu}r. z r = U ν r .
Since U ν U_{\nu} U ν is an isometry, if r r r is uniformly distributed over the unit sphere of H ν \mathcal{H}_{\nu} H ν , then z r z_r z r is uniformly distributed over the Euclidean unit sphere in R m \mathbb{R}^{m} R m . Hence,
E r [ z r z r T ] = 1 m I m . \mathbb{E}_r\left[z_rz_r^{\mathsf{T}}\right]=\frac{1}{m}I_m. E r [ z r z r T ] = m 1 I m .
It follows that
E r [ ∥ A r π − A ^ r π ∥ d π 2 ] = ( γ 1 − γ ) 2 E r [ ∥ ( B ~ + , π − B ^ ) z r ∥ 2 2 ] = ( γ 1 − γ ) 2 Tr [ ( B ~ + , π − B ^ ) T ( B ~ + , π − B ^ ) E r [ z r z r T ] ] = 1 m ( γ 1 − γ ) 2 ∥ B ~ + , π − B ^ ∥ F 2 . \begin{aligned}
\mathbb{E}_r\left[\left\|A_r^{\pi}-\widehat{A}_r^{\pi}\right\|_{d^{\pi}}^2\right]=\left(\frac{\gamma}{1-\gamma}\right)^2\mathbb{E}_r\left[\left\|\left(\widetilde{B}^{+,\pi}-\widehat{B}\right)z_r\right\|_2^2\right] \\
&=\left(\frac{\gamma}{1-\gamma}\right)^2\operatorname{Tr}\left[\left(\widetilde{B}^{+,\pi}-\widehat{B}\right)^{\mathsf{T}}\left(\widetilde{B}^{+,\pi}-\widehat{B}\right)\mathbb{E}_r\left[z_rz_r^{\mathsf{T}}\right]\right] \\
&=\frac{1}{m}\left(\frac{\gamma}{1-\gamma}\right)^2\left\|\widetilde{B}^{+,\pi}-\widehat{B}\right\|_{\mathrm{F}}^2.
\end{aligned} E r [ A r π − A r π d π 2 ] = ( 1 − γ γ ) 2 E r [ ( B + , π − B ) z r 2 2 ] = ( 1 − γ γ ) 2 Tr [ ( B + , π − B ) T ( B + , π − B ) E r [ z r z r T ] ] = m 1 ( 1 − γ γ ) 2 B + , π − B F 2 .
By the Eckart-Young-Mirsky theorem Eckart & Young [9 ] ,
inf rank ( B ^ ) ≤ k ∥ B ~ + , π − B ^ ∥ F 2 = ∑ i > k ( σ i + , π ) 2 , \inf_{\operatorname{rank}(\widehat{B})\leq k}\left\|\widetilde{B}^{+,\pi}-\widehat{B}\right\|_{\mathrm{F}}^2=\sum_{i>k}\left(\sigma_i^{+,\pi}\right)^2, rank ( B ) ≤ k inf B + , π − B F 2 = i > k ∑ ( σ i + , π ) 2 ,
and the infimum is attained by the truncated SVD
B ~ k + , π = ∑ i = 1 k σ i + , π ψ i , + S , A ( ψ i , + S , A ) T . \widetilde{B}^{+,\pi}_k=\sum_{i=1}^{k}\sigma_i^{+,\pi}\psi_{i,+}^{S,A}\left(\psi_{i,+}^{S,A}\right)^{\mathsf{T}}. B k + , π = i = 1 ∑ k σ i + , π ψ i , + S , A ( ψ i , + S , A ) T .
This matrix corresponds exactly to T k + , π T_k^{+,\pi} T k + , π and therefore to A r , k π A_{r,k}^{\pi} A r , k π . Consequently,
inf rank ( T ^ + , π ) ≤ k E r [ ∥ A r π − A ^ r π ∥ d π 2 ] = 1 m ( γ 1 − γ ) 2 ∑ i > k ( σ i + , π ) 2 . \inf_{\operatorname{rank}(\widehat{T}^{+,\pi})\leq k}\mathbb{E}_r\left[\left\|A_r^{\pi}-\widehat{A}_r^{\pi}\right\|_{d^{\pi}}^2\right]=\frac{1}{m}\left(\frac{\gamma}{1-\gamma}\right)^2\sum_{i>k}\left(\sigma_i^{+,\pi}\right)^2. rank ( T + , π ) ≤ k inf E r [ A r π − A r π d π 2 ] = m 1 ( 1 − γ γ ) 2 i > k ∑ ( σ i + , π ) 2 .
For the minimax result, for any T ^ + , π \widehat{T}^{+,\pi} T + , π with rank at most k k k ,
sup ∥ r ∥ H ν ≤ 1 ∥ A r π − A ^ r π ∥ d π 2 = ( γ 1 − γ ) 2 sup ∥ r ∥ H ν ≤ 1 ∥ ( T + , π − T ^ + , π ) r ∥ d π 2 = ( γ 1 − γ ) 2 ∥ T + , π − T ^ + , π ∥ o p 2 = ( γ 1 − γ ) 2 ∥ B + , π − B ^ ∥ 2 2 . \begin{aligned}
\sup_{\|r\|_{\mathcal{H}^{\nu}}\leq1}\left\|A_r^{\pi}-\widehat{A}_r^{\pi}\right\|_{d^{\pi}}^2=\left(\frac{\gamma}{1-\gamma}\right)^2\sup_{\|r\|_{\mathcal{H}^{\nu}}\leq1}\left\|\left(T^{+,\pi}-\widehat{T}^{+,\pi}\right)r\right\|_{d^{\pi}}^2 \\
&=\left(\frac{\gamma}{1-\gamma}\right)^2\left\|T^{+,\pi}-\widehat{T}^{+,\pi}\right\|_{\mathrm{op}}^2 \\
&=\left(\frac{\gamma}{1-\gamma}\right)^2\left\|B^{+,\pi}-\widehat{B}\right\|_2^2.
\end{aligned} ∥ r ∥ H ν ≤ 1 sup A r π − A r π d π 2 = ( 1 − γ γ ) 2 ∥ r ∥ H ν ≤ 1 sup ( T + , π − T + , π ) r d π 2 = ( 1 − γ γ ) 2 T + , π − T + , π op 2 = ( 1 − γ γ ) 2 B + , π − B 2 2 .
where ∥ ⋅ ∥ o p \lVert\cdot\rVert_{\mathrm{op}} ∥ ⋅ ∥ op and ∥ ⋅ ∥ 2 \lVert\cdot\rVert_{2} ∥ ⋅ ∥ 2 denote the induced operator norm and the matrix spectral norm, respectively. Applying the Eckart–Young–Mirsky theorem in the spectral norm gives
inf rank ( B ^ ) ≤ k ∥ B ~ + , π − B ^ ∥ 2 = σ k + 1 + , π . \inf_{\operatorname{rank}(\widehat{B})\leq k}\lVert\widetilde{B}^{+,\pi}-\widehat{B}\rVert_{2}=\sigma_{k+1}^{+,\pi}. rank ( B ) ≤ k inf ∥ B + , π − B ∥ 2 = σ k + 1 + , π .
The truncated matrix B ~ k + , π \widetilde{B}_{k}^{+,\pi} B k + , π attains this infimum. Hence,
sup ∥ r ∥ ν + , π ≤ 1 ∥ A r π − A r , k π ∥ d π 2 = inf rank ( T ^ + , π ) ≤ k sup ∥ r ∥ ν + , π ≤ 1 ∥ A r π − A ^ r π ∥ d π 2 = ( γ 1 − γ ) 2 ( σ k + 1 + , π ) 2 . \sup_{\lVert r\rVert_{\nu^{+,\pi}}\leq1}\lVert A_{r}^{\pi}-A_{r,k}^{\pi}\rVert_{d^{\pi}}^{2}
=
\inf_{\operatorname{rank}(\widehat{T}^{+,\pi})\leq k}\sup_{\lVert r\rVert_{\nu^{+,\pi}}\leq1}\lVert A_{r}^{\pi}-\widehat{A}_{r}^{\pi}\rVert_{d^{\pi}}^{2}
=
\left(\frac{\gamma}{1-\gamma}\right)^{2}\left(\sigma_{k+1}^{+,\pi}\right)^{2}. ∥ r ∥ ν + , π ≤ 1 sup ∥ A r π − A r , k π ∥ d π 2 = rank ( T + , π ) ≤ k inf ∥ r ∥ ν + , π ≤ 1 sup ∥ A r π − A r π ∥ d π 2 = ( 1 − γ γ ) 2 ( σ k + 1 + , π ) 2 .
When k < R k<R k < R , the worst-case error of the truncated representation is attained, for example, by r = g k + 1 r=g_{k+1} r = g k + 1 . If k ≥ R k\geq R k ≥ R , both the average-case and minimax errors are zero, with the convention σ k + 1 + , π = 0 \sigma_{k+1}^{+,\pi}=0 σ k + 1 + , π = 0 . □
Proof of Theorem 3.1
Theorem D.4 (Universal advantage function representation). For any reward function r : S × A → R r:S\times A\to\mathbb{R} r : S × A → R , and for every ( s , a ) (s,a) ( s , a ) in the support of d π d^{\pi} d π , the advantage function admits the exact representation
A r π ( s , a ) = C π r ( s , a ) + γ 1 − γ ∑ i = 1 R σ i + , π f i ( s , a ) ⟨ g i , r ⟩ ν + , π , A_{r}^{\pi}(s,a)=C_{\pi}r(s,a)+\frac{\gamma}{1-\gamma}\sum_{i=1}^{R}\sigma_{i}^{+,\pi}f_{i}(s,a)\langle g_{i},r\rangle_{\nu^{+,\pi}}, A r π ( s , a ) = C π r ( s , a ) + 1 − γ γ i = 1 ∑ R σ i + , π f i ( s , a ) ⟨ g i , r ⟩ ν + , π , where C π r ( s , a ) : = r ( s , a ) − E a ∼ π ( ⋅ ∣ s ) [ r ( s , a ) ] C_{\pi}r(s,a):=r(s,a)-\mathbb{E}_{a\sim\pi(\cdot\mid s)}[r(s,a)] C π r ( s , a ) := r ( s , a ) − E a ∼ π ( ⋅ ∣ s ) [ r ( s , a )] is the immediate action-centered reward and ⟨ g i , r ⟩ ν + , π = ∑ s , a ν + , π ( s , a ) g i ( s , a ) r ( s , a ) \langle g_{i},r\rangle_{\nu^{+,\pi}}=\sum_{s,a}\nu^{+,\pi}(s,a)g_{i}(s,a)r(s,a) ⟨ g i , r ⟩ ν + , π = ∑ s , a ν + , π ( s , a ) g i ( s , a ) r ( s , a ) is the inner product on Hilbert space L 2 ( ν + , π ) L^{2}(\nu^{+,\pi}) L 2 ( ν + , π ) . Moreover, for any k ≤ R k\leq R k ≤ R , define the rank- k k k approximation
A r , k π ( s , a ) : = C π r ( s , a ) + γ 1 − γ ∑ i = 1 k σ i + , π f i ( s , a ) β i + , π ( r ) . A_{r,k}^{\pi}(s,a):=C_{\pi}r(s,a)+\frac{\gamma}{1-\gamma}\sum_{i=1}^{k}\sigma_{i}^{+,\pi}f_{i}(s,a)\beta_{i}^{+,\pi}(r). A r , k π ( s , a ) := C π r ( s , a ) + 1 − γ γ i = 1 ∑ k σ i + , π f i ( s , a ) β i + , π ( r ) . Its approximation error is given exactly by
∥ A r π − A r , k π ∥ L 2 ( d π ) 2 = ( γ 1 − γ ) 2 ∑ i = k + 1 R ( σ i + , π ) 2 ( β i + , π ( r ) ) 2 . \lVert A_{r}^{\pi}-A_{r,k}^{\pi}\rVert_{L^{2}(d^{\pi})}^{2}
=
\left(\frac{\gamma}{1-\gamma}\right)^{2}
\sum_{i=k+1}^{R}\left(\sigma_{i}^{+,\pi}\right)^{2}\left(\beta_{i}^{+,\pi}(r)\right)^{2}. ∥ A r π − A r , k π ∥ L 2 ( d π ) 2 = ( 1 − γ γ ) 2 i = k + 1 ∑ R ( σ i + , π ) 2 ( β i + , π ( r ) ) 2 .
Proof. The SVD of B ~ + , π \widetilde{B}^{+,\pi} B + , π , together with the definitions of f i f_i f i and g i g_i g i , gives
M + , π ( s + , a + ∣ s , a ) − E a ′ ∼ π ( ⋅ ∣ s ) [ M + , π ( s + , a + ∣ s , a ′ ) ] = ν + , π ( s + , a + ) ∑ i = 1 R σ i + , π f i ( s , a ) g i ( s + , a + ) . (55) M^{+,\pi}(s^{+},a^{+}\mid s,a)-\mathbb{E}_{a'\sim\pi(\cdot\mid s)}\left[M^{+,\pi}(s^{+},a^{+}\mid s,a')\right]
=
\nu^{+,\pi}(s^{+},a^{+})\sum_{i=1}^{R}\sigma_{i}^{+,\pi}f_{i}(s,a)g_{i}(s^{+},a^{+}). \tag*{(55)} M + , π ( s + , a + ∣ s , a ) − E a ′ ∼ π ( ⋅ ∣ s ) [ M + , π ( s + , a + ∣ s , a ′ ) ] = ν + , π ( s + , a + ) i = 1 ∑ R σ i + , π f i ( s , a ) g i ( s + , a + ) . (55)
Multiplying both sides by r ( s + , a + ) r(s^{+},a^{+}) r ( s + , a + ) and summing over ( s + , a + ) (s^{+},a^{+}) ( s + , a + ) yields
∑ s + , a + ( M + , π ( s + , a + ∣ s , a ) − E a ′ ∼ π ( ⋅ ∣ s ) [ M + , π ( s + , a + ∣ s , a ′ ) ] ) r ( s + , a + ) = ∑ i = 1 R σ i + , π f i ( s , a ) β i + , π ( r ) . (56) \sum_{s^{+},a^{+}}\left(M^{+,\pi}(s^{+},a^{+}\mid s,a)-\mathbb{E}_{a'\sim\pi(\cdot\mid s)}\left[M^{+,\pi}(s^{+},a^{+}\mid s,a')\right]\right)r(s^{+},a^{+})
=
\sum_{i=1}^{R}\sigma_{i}^{+,\pi}f_{i}(s,a)\beta_{i}^{+,\pi}(r). \tag*{(56)} s + , a + ∑ ( M + , π ( s + , a + ∣ s , a ) − E a ′ ∼ π ( ⋅ ∣ s ) [ M + , π ( s + , a + ∣ s , a ′ ) ] ) r ( s + , a + ) = i = 1 ∑ R σ i + , π f i ( s , a ) β i + , π ( r ) . (56)
By the definition of the normalized positive-lag successor measure,
γ 1 − γ ∑ s + , a + M + , π ( s + , a + ∣ s , a ) r ( s + , a + ) = ∑ t = 1 ∞ γ t E π [ r ( S t , A t ) ∣ S 0 = s , A 0 = a ] . (57) \frac{\gamma}{1-\gamma}\sum_{s^{+},a^{+}}M^{+,\pi}(s^{+},a^{+}\mid s,a)r(s^{+},a^{+})=\sum_{t=1}^{\infty}\gamma^{t}\mathbb{E}_{\pi}\left[r(S_t,A_t)\mid S_0=s,A_0=a\right]. \tag*{(57)} 1 − γ γ s + , a + ∑ M + , π ( s + , a + ∣ s , a ) r ( s + , a + ) = t = 1 ∑ ∞ γ t E π [ r ( S t , A t ) ∣ S 0 = s , A 0 = a ] . (57)
Therefore,
Q r π ( s , a ) = r ( s , a ) + γ 1 − γ ∑ s + , a + M + , π ( s + , a + ∣ s , a ) r ( s + , a + ) . (58) Q^\pi_r(s,a)=r(s,a)+\frac{\gamma}{1-\gamma}\sum_{s^{+},a^{+}}M^{+,\pi}(s^{+},a^{+}\mid s,a)r(s^{+},a^{+}). \tag*{(58)} Q r π ( s , a ) = r ( s , a ) + 1 − γ γ s + , a + ∑ M + , π ( s + , a + ∣ s , a ) r ( s + , a + ) . (58)
Averaging this identity over a ′ ∼ π ( ⋅ ∣ s ) a' \sim\pi(\cdot\mid s) a ′ ∼ π ( ⋅ ∣ s ) gives V r π ( s ) V^\pi_r(s) V r π ( s ) . Subtracting V r π ( s ) V^\pi_r(s) V r π ( s ) from Q r π ( s , a ) Q^\pi_r(s,a) Q r π ( s , a ) and applying equation (56) proves equation (4) .
Finally, the functions { f i } i = 1 R \{f_i\}_{i=1}^{R} { f i } i = 1 R are orthonormal in L 2 ( d π ) L^2(d^\pi) L 2 ( d π ) :
E ( S , A ) ∼ d π [ f i ( S , A ) f j ( S , A ) ] = δ i j . (59) \mathbb{E}_{(S,A)\sim d^\pi}\left[f_i(S,A)f_j(S,A)\right]=\delta_{ij}. \tag*{(59)} E ( S , A ) ∼ d π [ f i ( S , A ) f j ( S , A ) ] = δ ij . (59)
Hence the omitted spectral components are mutually orthogonal, and Parseval’s identity gives
∥ A r π − A r , k π ∥ L 2 ( d π ) 2 = ( γ 1 − γ ) 2 ∑ i = k + 1 R ( σ i + , π ) 2 ( β i + , π ( r ) ) 2 . (60) \left\|A^\pi_r-A^\pi_{r,k}\right\|_{L^2(d^\pi)}^2=\left(\frac{\gamma}{1-\gamma}\right)^2\sum_{i=k+1}^{R}\left(\sigma_i^{+,\pi}\right)^2\left(\beta_i^{+,\pi}(r)\right)^2. \tag*{(60)} A r π − A r , k π L 2 ( d π ) 2 = ( 1 − γ γ ) 2 i = k + 1 ∑ R ( σ i + , π ) 2 ( β i + , π ( r ) ) 2 . (60)
SUAF will Find Optimal Policy in Zero-shot Manner
Conventions and assumptions. Let n = ∣ S ∣ ∣ A ∣ n=|\mathcal{S}||\mathcal{A}| n = ∣ S ∣∣ A ∣ , and represent rewards and normalized discounted occupancies as column vectors in R n \mathbb{R}^n R n . In particular,
d π ( s , a ) = ( 1 − γ ) ∑ t ≥ 0 γ t Pr μ , π ( s t = s , a t = a ) , J r ( π ) = r T d π 1 − γ . d^\pi(s,a)=(1-\gamma)\sum_{t\geq0}\gamma^t\Pr_{\mu,\pi}(s_t=s,a_t=a),\qquad J_r(\pi)=\frac{r^\mathsf{T}d^\pi}{1-\gamma}. d π ( s , a ) = ( 1 − γ ) t ≥ 0 ∑ γ t μ , π Pr ( s t = s , a t = a ) , J r ( π ) = 1 − γ r T d π .
Optimality throughout is with respect to the fixed initial distribution μ \mu μ . At states with zero occupancy, the recovered policy can be chosen arbitrarily. Full support of d 0 d_0 d 0 and ν \nu ν makes all weighted feature coordinates well-defined. The statements concern exact SUAF features, exact reference distributions, and exact optimization.
Define the state lifting matrix H ∈ R n × ∣ S ∣ H\in\mathbb{R}^{n\times|\mathcal{S}|} H ∈ R n × ∣ S ∣ , the reference-policy averaging matrix Π 0 ∈ R ∣ S ∣ × n \Pi_0\in\mathbb{R}^{|\mathcal{S}|\times n} Π 0 ∈ R ∣ S ∣ × n , and the environment transition matrix T ∈ R n × ∣ S ∣ T\in\mathbb{R}^{n\times|\mathcal{S}|} T ∈ R n × ∣ S ∣ by
( H w ) ( s , a ) = w ( s ) , (Hw)(s,a)=w(s), ( H w ) ( s , a ) = w ( s ) ,
( Π 0 x ) ( s ) = ∑ a π 0 ( a ∣ s ) x ( s , a ) , (\Pi_0x)(s)=\sum_a\pi_0(a\mid s)x(s,a), ( Π 0 x ) ( s ) = a ∑ π 0 ( a ∣ s ) x ( s , a ) ,
( T w ) ( s , a ) = ∑ s ′ T ( s ′ ∣ s , a ) w ( s ′ ) . (Tw)(s,a)=\sum_{s'}T(s'\mid s,a)w(s'). ( T w ) ( s , a ) = s ′ ∑ T ( s ′ ∣ s , a ) w ( s ′ ) .
Thus Π 0 H = I \Pi_0H = I Π 0 H = I , P 0 = T Π 0 P_0 = T\Pi_0 P 0 = T Π 0 , and C 0 = I − H Π 0 C_0 = I - H\Pi_0 C 0 = I − H Π 0 . The full advantage operator and its delayed component are
A 0 = C 0 ( I − γ P 0 ) − 1 , D 0 = A 0 − C 0 = c F Σ G ⊤ W ν . A_0 = C_0(I-\gamma P_0)^{-1}, \qquad D_0 = A_0 - C_0 = cF\Sigma G^{\top}W_\nu. A 0 = C 0 ( I − γ P 0 ) − 1 , D 0 = A 0 − C 0 = c F Σ G ⊤ W ν .
Here the positive-lag outcome distribution is ν ⊤ = d 0 ⊤ M + , π 0 \nu^{\top} = d_0^{\top}M^{+,\pi_0} ν ⊤ = d 0 ⊤ M + , π 0 , with M + , π 0 = ( 1 − γ ) P 0 ( I − γ P 0 ) − 1 M^{+,\pi_0} = (1-\gamma)P_0(I-\gamma P_0)^{-1} M + , π 0 = ( 1 − γ ) P 0 ( I − γ P 0 ) − 1 . The feature normalizations are
F ⊤ W d F = I R , G ⊤ W ν G = I R , C 0 F = F . F^{\top}W_dF = I_R, \qquad G^{\top}W_\nu G = I_R, \qquad C_0F = F. F ⊤ W d F = I R , G ⊤ W ν G = I R , C 0 F = F .
All transposes are ordinary coordinate transposes.
Flow constraints and policy recovery. Set B = H ⊤ − γ T ⊤ B = H^{\top} - \gamma T^{\top} B = H ⊤ − γ T ⊤ . The feasible occupancy set is
D μ = { d ≥ 0 : B d = ( 1 − γ ) μ } . (61) \mathcal{D}_\mu= \{d \ge0 : Bd = (1-\gamma)\mu\}. \tag*{(61)} D μ = { d ≥ 0 : B d = ( 1 − γ ) μ } . (61)
Necessity follows from the discounted occupancy identity. For sufficiency, given such a d d d , put d S ( s ) = ∑ a d ( s , a ) d_S(s) = \sum_a d(s,a) d S ( s ) = ∑ a d ( s , a ) and define π d ( a ∣ s ) = d ( s , a ) / d S ( s ) \pi_d(a \mid s) = d(s,a)/d_S(s) π d ( a ∣ s ) = d ( s , a ) / d S ( s ) whenever d S ( s ) > 0 d_S(s) > 0 d S ( s ) > 0 . At a zero-mass state choose any action distribution. Then d ( s , a ) = d S ( s ) π d ( a ∣ s ) d(s,a) = d_S(s)\pi_d(a \mid s) d ( s , a ) = d S ( s ) π d ( a ∣ s ) everywhere, and the flow constraint becomes
d S = ( 1 − γ ) μ + γ ( P S π d ) ⊤ d S . d_S = (1-\gamma)\mu+ \gamma(P_S^{\pi_d})^{\top}d_S. d S = ( 1 − γ ) μ + γ ( P S π d ) ⊤ d S .
Its unique solution is the normalized discounted state occupancy of π d \pi_d π d , since I − γ ( P S π d ) ⊤ I - \gamma(P_S^{\pi_d})^{\top} I − γ ( P S π d ) ⊤ is invertible. Thus d = d π d d = d^{\pi_d} d = d π d . Summing the flow constraints also gives 1 ⊤ d = 1 \mathbf{1}^{\top}d = 1 1 ⊤ d = 1 , so D μ \mathcal{D}_\mu D μ is compact.
A simple occupancy-flow identity makes SUAF sufficient for control. In a finite MDP with 0 < γ < 1 0 < \gamma< 1 0 < γ < 1 , fix μ \mu μ and π 0 \pi_0 π 0 with full-support d 0 = d π 0 d_0 = d^{\pi_0} d 0 = d π 0 and ν = ν + , π 0 \nu= \nu^{+,\pi_0} ν = ν + , π 0 . Let F F F , G G G , Σ \Sigma Σ collect all R R R SUAF modes, and write W d = diag ( d 0 ) W_d = \operatorname{diag}(d_0) W d = diag ( d 0 ) , W ν = diag ( ν ) W_\nu= \operatorname{diag}(\nu) W ν = diag ( ν ) , and c = γ / ( 1 − γ ) c = \gamma/(1-\gamma) c = γ / ( 1 − γ ) .
Theorem D.5 (Policy recovery). Let Z Z Z be a given basis matrix for the subspace with ∑ a z ( s , a ) = 0 \sum_a z(s,a) = 0 ∑ a z ( s , a ) = 0 for every s s s , with q = ∣ S ∣ ( ∣ A ∣ − 1 ) q = |S|(|A| - 1) q = ∣ S ∣ ( ∣ A ∣ − 1 ) columns. Define
Φ = Z + c W ν G Σ F ⊤ Z , D μ = { d 0 + Φ w : w ∈ R q , d 0 + Φ w ≥ 0 } , (62) \Phi= Z + cW_\nu G\Sigma F^{\top}Z,\qquad\mathcal{D}_\mu= \{d_0 + \Phi w : w \in\mathbb{R}^q,\ d_0 + \Phi w \ge0\}, \tag*{(62)} Φ = Z + c W ν G Σ F ⊤ Z , D μ = { d 0 + Φ w : w ∈ R q , d 0 + Φ w ≥ 0 } , (62) then D μ \mathcal{D}_\mu D μ is the set of all stationary-policy occupancies. For any reward r r r , maximizing r ⊤ ( d 0 + Φ w ) r^{\top}(d_0 + \Phi w) r ⊤ ( d 0 + Φ w ) over this set and normalizing the optimizer statewise recovers a μ \mu μ -optimal policy.
The matrix Z Z Z is prescribed, with correction having rank at most R ≤ ∣ S ∣ − 1 R \le|S| - 1 R ≤ ∣ S ∣ − 1 . SUAF requires no further environment interaction. With fewer modes, we restrict search to feasible directions.
Proof of Theorem D.5. The elementary identities needed for the construction are
B A 0 ⊤ = 0 , A 0 C 0 = C 0 . (63) BA_0^{\top} = 0,\qquad A_0C_0 = C_0. \tag*{(63)} B A 0 ⊤ = 0 , A 0 C 0 = C 0 . (63)
Indeed, P 0 H = T P_0H = T P 0 H = T , and hence B ⊤ = H − γ T = ( I − γ P 0 ) H B^{\top} = H - \gamma T = (I - \gamma P_0)H B ⊤ = H − γ T = ( I − γ P 0 ) H . Consequently, A 0 B ⊤ = C 0 H = 0 A_0B^{\top} = C_0H = 0 A 0 B ⊤ = C 0 H = 0 . Also, P 0 C 0 = T Π 0 C 0 = 0 P_0C_0 = T\Pi_0C_0 = 0 P 0 C 0 = T Π 0 C 0 = 0 , so ( I − γ P 0 ) − 1 C 0 = C 0 (I - \gamma P_0)^{-1}C_0 = C_0 ( I − γ P 0 ) − 1 C 0 = C 0 and A 0 C 0 = C 0 2 = C 0 A_0C_0 = C_0^2 = C_0 A 0 C 0 = C 0 2 = C 0 . Because H H H has full column rank and I − γ P 0 I-\gamma P_0 I − γ P 0 is invertible, B B B has rank ∣ S ∣ |S| ∣ S ∣ . Therefore dim ker B = q \dim\ker B=q dim ker B = q . The columns of Z Z Z span ker H ⊤ \ker H^\top ker H ⊤ , so C 0 ⊤ Z = ( I − Π 0 ⊤ H ⊤ ) Z = Z C_0^\top Z=(I-\Pi_0^\top H^\top)Z=Z C 0 ⊤ Z = ( I − Π 0 ⊤ H ⊤ ) Z = Z . It follows that
A 0 ⊤ Z = C 0 ⊤ Z + D 0 ⊤ Z = Z + c W ν G Σ F ⊤ Z = Φ . \mathcal{A}_0^\top Z=C_0^\top Z+D_0^\top Z=Z+cW_\nu G\Sigma F^\top Z=\Phi. A 0 ⊤ Z = C 0 ⊤ Z + D 0 ⊤ Z = Z + c W ν G Σ F ⊤ Z = Φ.
equation 63 yields B Φ = 0 B\Phi=0 B Φ = 0 . Moreover,
C 0 ⊤ Φ = C 0 ⊤ A 0 ⊤ Z = ( A 0 C 0 ) ⊤ Z = Z . C_0^\top\Phi=C_0^\top\mathcal{A}_0^\top Z=(\mathcal{A}_0C_0)^\top Z=Z. C 0 ⊤ Φ = C 0 ⊤ A 0 ⊤ Z = ( A 0 C 0 ) ⊤ Z = Z .
Thus rank ( Φ ) = q \operatorname{rank}(\Phi)=q rank ( Φ ) = q , since Z Z Z has rank q q q . We conclude that col ( Φ ) = ker B \operatorname{col}(\Phi)=\ker B col ( Φ ) = ker B . As B d 0 = ( 1 − γ ) μ Bd_0=(1-\gamma)\mu B d 0 = ( 1 − γ ) μ , every solution of the flow equalities is uniquely expressible as d 0 + Φ w d_0+\Phi w d 0 + Φ w . Intersecting with the nonnegative orthant proves equation 62.
The reward objective satisfies r ⊤ d = ( 1 − γ ) J r ( π d ) r^\top d=(1-\gamma)J_r(\pi_d) r ⊤ d = ( 1 − γ ) J r ( π d ) . Optimization over the displayed representation is therefore exactly optimization over all stationary-policy occupancies. The maximum is attained by compactness, and statewise normalization recovers a μ \mu μ -optimal stationary policy. In a finite discounted MDP, stationary policies suffice for optimality. □ \square □
Why the learned correction has rank at most ∣ S ∣ − 1 |S|-1 ∣ S ∣ − 1 . Using the resolvent identity,
D 0 = γ C 0 T ( I − γ Π 0 T ) − 1 Π 0 . D_0=\gamma C_0T(I-\gamma\Pi_0T)^{-1}\Pi_0. D 0 = γ C 0 T ( I − γ Π 0 T ) − 1 Π 0 .
Since T 1 ∣ S ∣ = 1 n T\mathbf{1}_{|S|}=\mathbf{1}_n T 1 ∣ S ∣ = 1 n and C 0 1 n = 0 C_0\mathbf{1}_n=0 C 0 1 n = 0 , the matrix C 0 T C_0T C 0 T has rank at most ∣ S ∣ − 1 |S|-1 ∣ S ∣ − 1 . Hence
R = rank ( D 0 ) ≤ ∣ S ∣ − 1 , rank ( Φ − Z ) ≤ R . R=\operatorname{rank}(D_0)\le|S|-1,\qquad\operatorname{rank}(\Phi-Z)\le R. R = rank ( D 0 ) ≤ ∣ S ∣ − 1 , rank ( Φ − Z ) ≤ R .
For example, Z Z Z can be constructed from columns e ( s , a ) − e ( s , a 0 ) e_{(s,a)}-e_{(s,a_0)} e ( s , a ) − e ( s , a 0 ) , one for each state and each nonreference action. Thus Z Z Z requires no transition-model estimation. This rank bound concerns the learned correction, not the q q q free coordinates of the full occupancy polytope.
Corollary D.6 (Nested feasible policy search). Under the same assumptions, define u i = W d f i + c σ i W ν g i u_i=W_df_i+c\sigma_iW_\nu g_i u i = W d f i + c σ i W ν g i and U k = [ u 1 , … , u k ] U_k=[u_1,\ldots,u_k] U k = [ u 1 , … , u k ] . Every nonnegative d 0 + U k α d_0+U_k\alpha d 0 + U k α is a valid occupancy. Let π r , k \pi_{r,k} π r , k be recovered from an exact solution of max α : d 0 + U k α ≥ 0 r ⊤ ( d 0 + U k α ) \max_{\alpha:d_0+U_k\alpha\ge0}r^\top(d_0+U_k\alpha) max α : d 0 + U k α ≥ 0 r ⊤ ( d 0 + U k α ) . Then, for 0 ≤ k < R 0\le k<R 0 ≤ k < R ,
J r ( π 0 ) ≤ J r ( π r , k ) ≤ J r ( π r , k + 1 ) ≤ max π J r ( π ) . (64) J_r(\pi_0)\le J_r(\pi_{r,k})\le J_r(\pi_{r,k+1})\le\max_\pi J_r(\pi). \tag*{(64)} J r ( π 0 ) ≤ J r ( π r , k ) ≤ J r ( π r , k + 1 ) ≤ π max J r ( π ) . (64) However, the improvement is non-strict and retaining all R R R directions alone need not span D μ D_\mu D μ .
Proof of Corollary D.6. Because d 0 ( s , a ) = d 0 , S ( s ) π 0 ( a ∣ s ) d_0(s,a)=d_{0,S}(s)\pi_0(a\mid s) d 0 ( s , a ) = d 0 , S ( s ) π 0 ( a ∣ s ) , action centering is self-adjoint in L 2 ( d 0 ) L^2(d_0) L 2 ( d 0 ) : C 0 ⊤ W d = W d C 0 C_0^\top W_d=W_dC_0 C 0 ⊤ W d = W d C 0 . For each exact SUAF mode, C 0 f i = f i C_0f_i=f_i C 0 f i = f i and F ⊤ W d f i = e i F^\top W_df_i=e_i F ⊤ W d f i = e i . Therefore
A 0 ⊤ W d f i = C 0 ⊤ W d f i + c W ν G Σ F ⊤ W d f i = W d f i + c σ i W ν g i = u i . \begin{aligned}
\mathcal{A}_0^\top W_df_i=C_0^\top W_df_i+cW_\nu G\Sigma F^\top W_df_i \\
&=W_df_i+c\sigma_iW_\nu g_i=u_i.
\end{aligned} A 0 ⊤ W d f i = C 0 ⊤ W d f i + c W ν G Σ F ⊤ W d f i = W d f i + c σ i W ν g i = u i .
equation 63 gives B u i = 0 Bu_i = 0 B u i = 0 . Consequently, d 0 + U k α d_0 + U_k\alpha d 0 + U k α always satisfies the exact flow equalities and is an occupancy if and only if it is nonnegative. Define
D k = ( d 0 + col ( U k ) ) ∩ R + n , D 0 = { d 0 } . \mathcal{D}_k = (d_0 + \operatorname{col}(U_k)) \cap\mathbb{R}_+^n,\qquad\mathcal{D}_0 = \{d_0\}. D k = ( d 0 + col ( U k )) ∩ R + n , D 0 = { d 0 } .
These are nonempty compact subsets of D μ \mathcal{D}_\mu D μ , and
{ d 0 } = D 0 ⊆ D 1 ⊆ ⋯ ⊆ D R ⊆ D μ . \{d_0\} = \mathcal{D}_0 \subseteq\mathcal{D}_1 \subseteq\cdots\subseteq\mathcal{D}_R \subseteq\mathcal{D}_\mu. { d 0 } = D 0 ⊆ D 1 ⊆ ⋯ ⊆ D R ⊆ D μ .
Maximizing the same linear reward objective over these nested sets, and then dividing by 1 − γ 1-\gamma 1 − γ , proves equation 64. No claim of strict improvement or of optimal mode selection for control is required.
Completion to a globally sufficient search space. The R R R nonzero future modes need not supply all q q q occupancy directions. Define
N = ker H ⊤ ∩ ker D 0 ⊤ . \mathcal{N} = \ker H^\top\cap\ker D_0^\top. N = ker H ⊤ ∩ ker D 0 ⊤ .
For z ∈ N z \in\mathcal{N} z ∈ N , C 0 ⊤ z = z C_0^\top z = z C 0 ⊤ z = z and A 0 ⊤ z = z A_0^\top z = z A 0 ⊤ z = z , so z ∈ ker B z \in\ker B z ∈ ker B . Since D 0 ⊤ = c W ν G Σ F ⊤ D_0^\top= cW_\nu G\Sigma F^\top D 0 ⊤ = c W ν G Σ F ⊤ has rank R R R and F ⊤ W d F = I R F^\top W_dF = I_R F ⊤ W d F = I R , its restriction to ker H ⊤ \ker H^\top ker H ⊤ also has rank R R R . Indeed, each W d f i W_df_i W d f i belongs to ker H ⊤ \ker H^\top ker H ⊤ . Consequently dim N = q − R \dim\mathcal{N} = q-R dim N = q − R and
ker H ⊤ = span { W d f i } i = 1 R ⊕ N . \ker H^\top= \operatorname{span}\{W_df_i\}_{i=1}^{R} \oplus\mathcal{N}. ker H ⊤ = span { W d f i } i = 1 R ⊕ N .
The map A 0 ⊤ A_0^\top A 0 ⊤ is a bijection from ker H ⊤ \ker H^\top ker H ⊤ to ker B \ker B ker B , as follows from the proof of the theorem. Applying it to the preceding decomposition gives
ker B = span { u i } i = 1 R ⊕ N . \ker B = \operatorname{span}\{u_i\}_{i=1}^{R} \oplus\mathcal{N}. ker B = span { u i } i = 1 R ⊕ N .
Thus adding a basis of N \mathcal{N} N makes the search globally sufficient at k = R k=R k = R . Identifying this completion generally requires the full exact representation. It is not implied by knowing only the first k < R k<R k < R pairs. Alternatively, the full construction with Z Z Z in Theorem D.5 supplies all directions directly.
Scope. These are exact SUAFs. With learned features, errors can break the identity B u i = 0 Bu_i = 0 B u i = 0 , and nonnegativity alone no longer certifies feasibility in the true MDP. Furthermore, monotonicity in k k k follows from nesting, not from a theorem that leading singular modes minimize control regret. The construction does not assert that R R R is the dimension of the entire policy space or that it is directly comparable to the number of basis matrices in a successor-measure representation.
One step update with SUAF
Lemma D.7 (Boltzmann update satisfies the improvement condition). Let π \pi π be a behavior policy, and let A r , k π A^\pi_{r,k} A r , k π be an advantage score satisfying the centering condition
E a ∼ π ( ⋅ ∣ s ) [ A r , k π ( s , a ) ] = 0 ∀ s . (65) \mathbb{E}_{a\sim\pi(\cdot\mid s)}\left[A^\pi_{r,k}(s,a)\right] = 0 \qquad\forall s. \tag*{(65)} E a ∼ π ( ⋅ ∣ s ) [ A r , k π ( s , a ) ] = 0 ∀ s . (65)
For any inverse temperature τ > 0 \tau> 0 τ > 0 , define the Boltzmann update
π r + ( a ∣ s ) = π ( a ∣ s ) exp ( τ A r , k π ( s , a ) ) Z π ( s ) , Z π ( s ) = ∫ π ( a ′ ∣ s ) exp ( τ A r , k π ( s , a ′ ) ) d a ′ . (66) \pi_r^+(a \mid s) = \frac{\pi(a \mid s)\exp\left(\tau A^\pi_{r,k}(s,a)\right)}{Z^\pi(s)}, \qquad Z^\pi(s) = \int\pi(a' \mid s)\exp\left(\tau A^\pi_{r,k}(s,a')\right)\, da'. \tag*{(66)} π r + ( a ∣ s ) = Z π ( s ) π ( a ∣ s ) exp ( τ A r , k π ( s , a ) ) , Z π ( s ) = ∫ π ( a ′ ∣ s ) exp ( τ A r , k π ( s , a ′ ) ) d a ′ . (66)
Then
E a ∼ π r + ( ⋅ ∣ s ) [ A r , k π ( s , a ) ] ≥ 0 ∀ s . (67) \mathbb{E}_{a\sim\pi_r^+(\cdot\mid s)}\left[A^\pi_{r,k}(s,a)\right] \ge0 \qquad\forall s. \tag*{(67)} E a ∼ π r + ( ⋅ ∣ s ) [ A r , k π ( s , a ) ] ≥ 0 ∀ s . (67)
Proof. Fix s s s . Write E π [ ⋅ ] = E a ∼ π ( ⋅ ∣ s ) [ ⋅ ] \mathbb{E}_{\pi}[\cdot] = \mathbb{E}_{a\sim\pi(\cdot\mid s)}[\cdot] E π [ ⋅ ] = E a ∼ π ( ⋅ ∣ s ) [ ⋅ ] and A = A r , k π ( s , a ) A = A^\pi_{r,k}(s,a) A = A r , k π ( s , a ) . From equation (66) ,
π r + ( a ∣ s ) = π ( a ∣ s ) e τ A Z π ( s ) , Z π ( s ) = E π [ e τ A ] . \pi_r^+(a \mid s) = \frac{\pi(a \mid s)e^{\tau A}}{Z^\pi(s)}, \qquad Z^\pi(s) = \mathbb{E}_{\pi}\left[e^{\tau A}\right]. π r + ( a ∣ s ) = Z π ( s ) π ( a ∣ s ) e τ A , Z π ( s ) = E π [ e τ A ] .
Thus
E π r + [ A ] = E π [ A e τ A ] E π [ e τ A ] . \mathbb{E}_{\pi_r^+}[A] = \frac{\mathbb{E}_{\pi}\left[Ae^{\tau A}\right]}{\mathbb{E}_{\pi}\left[e^{\tau A}\right]}. E π r + [ A ] = E π [ e τ A ] E π [ A e τ A ] .
Equivalently, using the KL identity,
τ E π r + [ A ] = KL ( π r + ( ⋅ ∣ s ) ∥ π ( ⋅ ∣ s ) ) + log E π [ e τ A ] . \tau\mathbb{E}_{\pi_r^+}[A] = \operatorname{KL}\left(\pi_r^+(\cdot\mid s)\mathbin{\|}\pi(\cdot\mid s)\right) + \log\mathbb{E}_{\pi}\left[e^{\tau A}\right]. τ E π r + [ A ] = KL ( π r + ( ⋅ ∣ s ) ∥ π ( ⋅ ∣ s ) ) + log E π [ e τ A ] .
Since log is concave, Jensen’s inequality gives
log E π [ e τ A ] ≥ τ E π [ A ] = 0 , \log\mathbb{E}_{\pi}\left[e^{\tau A}\right] \ge\tau\mathbb{E}_{\pi}[A] = 0, log E π [ e τ A ] ≥ τ E π [ A ] = 0 ,
where the last equality follows from equation (65) . Hence
τ E π r + [ A ] ≥ KL ( π r + ( ⋅ ∣ s ) ∥ π ( ⋅ ∣ s ) ) ≥ 0. \tau\mathbb{E}_{\pi_r^+}[A] \ge\operatorname{KL}\left(\pi_r^+(\cdot\mid s)\mathbin{\|}\pi(\cdot\mid s)\right) \ge0. τ E π r + [ A ] ≥ KL ( π r + ( ⋅ ∣ s ) ∥ π ( ⋅ ∣ s ) ) ≥ 0.
Dividing by τ > 0 \tau> 0 τ > 0 yields equation (67) . □
Remark (Automatic centering in the SUAF construction). In our construction,
A r , k π = C π r + γ 1 − γ ∑ i = 1 k σ i + , π f i ⟨ g i , r ⟩ ν + , π . A^\pi_{r,k} = C_{\pi}r + \frac{\gamma}{1-\gamma}\sum_{i=1}^{k}\sigma_i^{+,\pi} f_i\langle g_i,r\rangle_{\nu^+,\pi}. A r , k π = C π r + 1 − γ γ i = 1 ∑ k σ i + , π f i ⟨ g i , r ⟩ ν + , π .
By definition of C π C_{\pi} C π , the term C π r C_{\pi}r C π r is centered under π \pi π . Moreover, the property f i = C π f i f_i = C_{\pi}f_i f i = C π f i ensures that the remaining term is also centered under π \pi π . Therefore
E a ∼ π ( ⋅ ∣ s ) [ A r , k π ( s , a ) ] = 0 ∀ s . \mathbb{E}_{a\sim\pi(\cdot\mid s)}\left[A^\pi_{r,k}(s,a)\right] = 0 \qquad\forall s. E a ∼ π ( ⋅ ∣ s ) [ A r , k π ( s , a ) ] = 0 ∀ s .
Hence the centering condition equation (65) in Lemma D.7 is automatically satisfied, and the Boltzmann update equation (66) satisfies the improvement condition equation (67) .
Theorem D.8 (Policy improvement with truncated SUAF). Consider a policy π r + \pi_r^+ π r + using Boltzmann update and greedy update. Assume d π r + ≪ d π d^{\pi_r^+} \ll d^\pi d π r + ≪ d π and define
χ k 2 : = E d π [ ( d π r + d π − 1 ) 2 ] < ∞ \chi_k^2 := \mathbb{E}_{d^\pi}\left[\left(\frac{d^{\pi_r^+}}{d^\pi}-1\right)^2\right] < \infty χ k 2 := E d π ( d π d π r + − 1 ) 2 < ∞ and
I k ( r ) : = E d π r + [ A r , k π ] / ( 1 − γ ) . I_k(r) := \mathbb{E}_{d^{\pi_r^+}}\left[A^\pi_{r,k}\right]/(1-\gamma). I k ( r ) := E d π r + [ A r , k π ] / ( 1 − γ ) . Then I k ( r ) ≥ 0 I_k(r) \ge0 I k ( r ) ≥ 0 and
J r ( π r + ) − J r ( π ) ≥ I k ( r ) − γ χ k 2 ( 1 − γ ) 2 [ ∑ i > k ( σ i + , π ) 2 β i ( r ) 2 ] 1 / 2 . J_r(\pi_r^+) - J_r(\pi) \ge I_k(r) - \frac{\gamma\sqrt{\chi_k^2}}{(1-\gamma)^2}\left[\sum_{i>k}\left(\sigma_i^{+,\pi}\right)^2\beta_i(r)^2\right]^{1/2}. J r ( π r + ) − J r ( π ) ≥ I k ( r ) − ( 1 − γ ) 2 γ χ k 2 [ i > k ∑ ( σ i + , π ) 2 β i ( r ) 2 ] 1/2 . Consequently, policy improvement is guaranteed whenever the predicted gain exceeds the spectral-tail penalty. For k = R k = R k = R , the penalty vanishes.
Proof. By Lemma D.7, we have that E π r + [ A r , k π ( s , a ) ] ≥ 0 \mathbb{E}_{\pi^+_r}[A^\pi_{r,k}(s,a)] \ge0 E π r + [ A r , k π ( s , a )] ≥ 0 for every s s s . Write e r , k = A r π − A r , k π e_{r,k}=A^\pi_r-A^\pi_{r,k} e r , k = A r π − A r , k π . The performance difference identity gives
J r ( π r + ) − J r ( π ) = I k ( r ) + 1 1 − γ E d π r + [ e r , k ] . J_r(\pi^+_r)-J_r(\pi)=\mathcal{I}_k(r)+\frac{1}{1-\gamma}\mathbb{E}_{d^{\pi^+_r}}[e_{r,k}]. J r ( π r + ) − J r ( π ) = I k ( r ) + 1 − γ 1 E d π r + [ e r , k ] .
Both A r π A^\pi_r A r π and A r , k π A^\pi_{r,k} A r , k π are action-centered under π \pi π , so E d π [ e r , k ] = 0 \mathbb{E}_{d^\pi}[e_{r,k}]=0 E d π [ e r , k ] = 0 . Therefore, Cauchy–Schwarz yields
∣ E d π r + [ e r , k ] ∣ = ∣ E d π [ ( d π r + d π − 1 ) e r , k ] ∣ ≤ χ k 2 ∥ e r , k ∥ d π . \left|\mathbb{E}_{d^{\pi^+_r}}[e_{r,k}]\right|=\left|\mathbb{E}_{d^\pi}\left[\left(\frac{d^{\pi^+_r}}{d^\pi}-1\right)e_{r,k}\right]\right|\le\sqrt{\chi_k^2}\lVert e_{r,k}\rVert_{d^\pi}. E d π r + [ e r , k ] = E d π [ ( d π d π r + − 1 ) e r , k ] ≤ χ k 2 ∥ e r , k ∥ d π .
By orthonormality of the left singular functions,
∥ e r , k ∥ d π 2 = ( γ 1 − γ ) 2 ∑ i > k ( σ i + , π ) 2 β i ( r ) 2 . \lVert e_{r,k}\rVert_{d^\pi}^2=\left(\frac{\gamma}{1-\gamma}\right)^2\sum_{i>k}(\sigma_i^{+, \pi})^2\beta_i(r)^2. ∥ e r , k ∥ d π 2 = ( 1 − γ γ ) 2 i > k ∑ ( σ i + , π ) 2 β i ( r ) 2 .
Combining these identities proves the claim. □
Actually, we have a stronger version of this theorem as Theorem D.9. We write it formal as following:
Theorem D.9 (Policy improvement with truncated SUAF Formal). Let h = A r , k π h=A^\pi_{r,k} h = A r , k π and e = A r π − h e=A^\pi_r-h e = A r π − h . Let π r + \pi^+_r π r + be obtained either by a greedy update with respect to h h h , or by the Boltzmann update
π τ ( a ∣ s ) = π ( a ∣ s ) exp ( τ h ( s , a ) ) E a ′ ∼ π ( ⋅ ∣ s ) [ exp ( τ h ( s , a ′ ) ) ] , τ > 0. \pi_\tau(a\mid s)=\frac{\pi(a\mid s)\exp(\tau h(s,a))}{\mathbb{E}_{a'\sim\pi(\cdot\mid s)}[\exp(\tau h(s,a'))]},\qquad\tau>0. π τ ( a ∣ s ) = E a ′ ∼ π ( ⋅ ∣ s ) [ exp ( τ h ( s , a ′ ))] π ( a ∣ s ) exp ( τ h ( s , a )) , τ > 0. Assume d π r + ≪ d π d^{\pi^+_r}\ll d^\pi d π r + ≪ d π and w : = d π r + / d π ∈ L 2 ( d π ) w:=d^{\pi^+_r}/d^\pi\in L^2(d^\pi) w := d π r + / d π ∈ L 2 ( d π ) . Define
w ‾ ( s ) : = E a ∼ π ( ⋅ ∣ s ) [ w ( s , a ) ] , χ k , a c t 2 : = E d π [ ( w ( s , a ) − w ‾ ( s ) ) 2 ] , \overline{w}(s):=\mathbb{E}_{a\sim\pi(\cdot\mid s)}[w(s,a)],\qquad\chi^2_{k,\mathrm{act}}:=\mathbb{E}_{d^\pi}[(w(s,a)-\overline{w}(s))^2], w ( s ) := E a ∼ π ( ⋅ ∣ s ) [ w ( s , a )] , χ k , act 2 := E d π [( w ( s , a ) − w ( s ) ) 2 ] , and I k ( r ) : = E d π r + [ h ] / ( 1 − γ ) \mathcal{I}_k(r):=\mathbb{E}_{d^{\pi^+_r}}[h]/(1-\gamma) I k ( r ) := E d π r + [ h ] / ( 1 − γ ) . Then I k ( r ) ≥ 0 \mathcal{I}_k(r)\ge0 I k ( r ) ≥ 0 and
J r ( π r + ) − J r ( π ) ≥ I k ( r ) − γ χ k , a c t 2 ( 1 − γ ) 2 [ ∑ i > k ( σ i + , π ) 2 β i ( r ) 2 ] 1 / 2 . J_r(\pi^+_r)-J_r(\pi)\ge\mathcal{I}_k(r)-\frac{\gamma\sqrt{\chi^2_{k,\mathrm{act}}}}{(1-\gamma)^2}\left[\sum_{i>k}(\sigma_i^{+,\pi})^2\beta_i(r)^2\right]^{1/2}. J r ( π r + ) − J r ( π ) ≥ I k ( r ) − ( 1 − γ ) 2 γ χ k , act 2 [ i > k ∑ ( σ i + , π ) 2 β i ( r ) 2 ] 1/2 . Moreover, χ k , a c t 2 ≤ χ k 2 : = E d π [ ( w − 1 ) 2 ] \chi^2_{k,\mathrm{act}}\le\chi_k^2:=\mathbb{E}_{d^\pi}[(w-1)^2] χ k , act 2 ≤ χ k 2 := E d π [( w − 1 ) 2 ] . Thus the bound is at least as tight as the bound using χ k \chi_k χ k , and its penalty vanishes when k = R k=R k = R .
For the Boltzmann update, write π r + = π τ \pi^+_r=\pi_\tau π r + = π τ and suppose
B : = sup s , a , b ∣ h ( s , a ) − h ( s , b ) ∣ < ∞ , D : = sup s , a , b ∣ A r π ( s , a ) − A r π ( s , b ) ∣ < ∞ . B:=\sup_{s,a,b}|h(s,a)-h(s,b)|<\infty,\qquad D:=\sup_{s,a,b}|A^\pi_r(s,a)-A^\pi_r(s,b)|<\infty. B := s , a , b sup ∣ h ( s , a ) − h ( s , b ) ∣ < ∞ , D := s , a , b sup ∣ A r π ( s , a ) − A r π ( s , b ) ∣ < ∞. With m : = ⟨ h , A r π ⟩ d π m:=\langle h,A^\pi_r\rangle_{d^\pi} m := ⟨ h , A r π ⟩ d π , we additionally have
J r ( π τ ) − J r ( π ) ≥ τ 1 − γ ( m − D B 2 8 ( 1 − γ ) τ ) . J_r(\pi_\tau)-J_r(\pi)\ge\frac{\tau}{1-\gamma}\left(m-\frac{DB^2}{8(1-\gamma)}\tau\right). J r ( π τ ) − J r ( π ) ≥ 1 − γ τ ( m − 8 ( 1 − γ ) D B 2 τ ) .
Consequently, if m > 0 m>0 m > 0 , every
0 < τ < 8 ( 1 − γ ) m D B 2 0<\tau<\frac{8(1-\gamma)m}{DB^{2}} 0 < τ < D B 2 8 ( 1 − γ ) m
guarantees strict policy improvement. In particular,
m = ∥ h ∥ d π 2 + ⟨ C r π , e ⟩ d π ≥ ∥ h ∥ d π 2 − ∥ C r π ∥ d π ∥ e ∥ d π . m=\|h\|_{d^\pi}^{2}+\langle C_r^\pi,e\rangle_{d^\pi}\geq\|h\|_{d^\pi}^{2}-\|C_r^\pi\|_{d^\pi}\|e\|_{d^\pi}. m = ∥ h ∥ d π 2 + ⟨ C r π , e ⟩ d π ≥ ∥ h ∥ d π 2 − ∥ C r π ∥ d π ∥ e ∥ d π .
For state-only rewards, C r π = 0 C_r^\pi=0 C r π = 0 and hence m = ∥ h ∥ d π 2 > 0 m=\|h\|_{d^\pi}^{2}>0 m = ∥ h ∥ d π 2 > 0 whenever h ≠ 0 h\ne0 h = 0 .
Proof. Both h h h and A r π A_r^\pi A r π are action-centered under π \pi π , so E a ∼ π ( ⋅ ∣ s ) h ( s , a ) = E a ∼ π ( ⋅ ∣ s ) e ( s , a ) = 0 \mathbb{E}_{a\sim\pi(\cdot\mid s)}h(s,a)=\mathbb{E}_{a\sim\pi(\cdot\mid s)}e(s,a)=0 E a ∼ π ( ⋅ ∣ s ) h ( s , a ) = E a ∼ π ( ⋅ ∣ s ) e ( s , a ) = 0 . A greedy update satisfies E π + [ h ( s , a ) ∣ s ] = max a h ( s , a ) ≥ 0 \mathbb{E}_{\pi^+}[h(s,a)\mid s]=\max_a h(s,a)\geq0 E π + [ h ( s , a ) ∣ s ] = max a h ( s , a ) ≥ 0 . For the Boltzmann update, let Z τ ( s ) = E π [ exp ( τ h ( s , a ) ) ∣ s ] Z_\tau(s)=\mathbb{E}_{\pi}[\exp(\tau h(s,a))\mid s] Z τ ( s ) = E π [ exp ( τ h ( s , a )) ∣ s ] . Then
τ E π τ [ h ( s , a ) ∣ s ] = D K L ( π τ ( ⋅ ∣ s ) ∥ π ( ⋅ ∣ s ) ) + log Z τ ( s ) ≥ 0 , \tau\mathbb{E}_{\pi_\tau}[h(s,a)\mid s]=D_{\mathrm{KL}}(\pi_\tau(\cdot\mid s)\|\pi(\cdot\mid s))+\log Z_\tau(s)\geq0, τ E π τ [ h ( s , a ) ∣ s ] = D KL ( π τ ( ⋅ ∣ s ) ∥ π ( ⋅ ∣ s )) + log Z τ ( s ) ≥ 0 ,
where log Z τ ( s ) ≥ τ E π [ h ( s , a ) ∣ s ] = 0 \log Z_\tau(s)\geq\tau\mathbb{E}_{\pi}[h(s,a)\mid s]=0 log Z τ ( s ) ≥ τ E π [ h ( s , a ) ∣ s ] = 0 by Jensen’s inequality. Thus I k ( r ) ≥ 0 I_k(r)\geq0 I k ( r ) ≥ 0 in either case.
The performance-difference identity and the SUAF expansion give
J r ( π τ + ) − J r ( π ) = I k ( r ) + 1 1 − γ E d π τ + [ e ] , J_r(\pi_\tau^+)-J_r(\pi)=I_k(r)+\frac{1}{1-\gamma}\mathbb{E}_{d_{\pi_\tau^+}}[e], J r ( π τ + ) − J r ( π ) = I k ( r ) + 1 − γ 1 E d π τ + [ e ] ,
e = γ 1 − γ ∑ i > k σ i + , π β i ( r ) f i , e=\frac{\gamma}{1-\gamma}\sum_{i>k}\sigma_i^{+,\pi}\beta_i(r)f_i, e = 1 − γ γ i > k ∑ σ i + , π β i ( r ) f i ,
∥ e ∥ d π 2 = ( γ 1 − γ ) 2 ∑ i > k ( σ i + , π ) 2 β i ( r ) 2 . \|e\|_{d^\pi}^{2}=\left(\frac{\gamma}{1-\gamma}\right)^2\sum_{i>k}(\sigma_i^{+,\pi})^2\beta_i(r)^2. ∥ e ∥ d π 2 = ( 1 − γ γ ) 2 i > k ∑ ( σ i + , π ) 2 β i ( r ) 2 .
Since e e e is conditionally action-centered,
E d π τ + [ e ] = E d π [ w e ] = E d π [ ( w − w ˉ ) e ] . \mathbb{E}_{d_{\pi_\tau^+}}[e]=\mathbb{E}_{d_\pi}[we]=\mathbb{E}_{d_\pi}[(w-\bar w)e]. E d π τ + [ e ] = E d π [ w e ] = E d π [( w − w ˉ ) e ] .
Cauchy–Schwarz proves the first bound. Conditional orthogonality also gives
χ k 2 = E d π [ ( w − w ˉ ) 2 ] + E s ∼ d π [ ( w ˉ ( s ) − 1 ) 2 ] ≥ χ k , a c t 2 . \chi_k^2=\mathbb{E}_{d_\pi}[(w-\bar w)^2]+\mathbb{E}_{s\sim d_\pi}[(\bar w(s)-1)^2]\geq\chi_{k,\mathrm{act}}^2. χ k 2 = E d π [( w − w ˉ ) 2 ] + E s ∼ d π [( w ˉ ( s ) − 1 ) 2 ] ≥ χ k , act 2 .
It remains to prove the temperature bound. For each state, define F s ( t ) = E a ∼ π t ( ⋅ ∣ s ) [ A r π ( s , a ) ] F_s(t)=\mathbb{E}_{a\sim\pi_t(\cdot\mid s)}[A_r^\pi(s,a)] F s ( t ) = E a ∼ π t ( ⋅ ∣ s ) [ A r π ( s , a )] , so that F s ( 0 ) = 0 F_s(0)=0 F s ( 0 ) = 0 . Differentiating the Boltzmann distribution yields
F s ′ ( t ) = Cov π t ( A r π ( s , ⋅ ) , h ( s , ⋅ ) ) . F_s'(t)=\operatorname{Cov}_{\pi_t}(A_r^\pi(s,\cdot),h(s,\cdot)). F s ′ ( t ) = Cov π t ( A r π ( s , ⋅ ) , h ( s , ⋅ )) .
The covariance bound for bounded random variables implies ∣ F s ′ ( t ) ∣ ≤ D B / 4 |F_s'(t)|\leq DB/4 ∣ F s ′ ( t ) ∣ ≤ D B /4 . Differentiating once more gives
F s ′ ′ ( t ) = Cov π t ( A r π ( s , ⋅ ) , ( h ( s , ⋅ ) − E π t h ( s , ⋅ ) ) 2 ) , ∣ F s ′ ′ ( t ) ∣ ≤ D B 2 4 . F_s''(t)=\operatorname{Cov}_{\pi_t}\left(A_r^\pi(s,\cdot),\left(h(s,\cdot)-\mathbb{E}_{\pi_t}h(s,\cdot)\right)^2\right),\qquad|F_s''(t)|\leq\frac{DB^2}{4}. F s ′′ ( t ) = Cov π t ( A r π ( s , ⋅ ) , ( h ( s , ⋅ ) − E π t h ( s , ⋅ ) ) 2 ) , ∣ F s ′′ ( t ) ∣ ≤ 4 D B 2 .
Consequently,
F s ( τ ) ≥ τ F s ′ ( 0 ) − D B 2 8 τ 2 , ∣ F s ( τ ) ∣ ≤ D B 4 τ . F_s(\tau)\geq\tau F_s'(0)-\frac{DB^2}{8}\tau^2,\qquad|F_s(\tau)|\leq\frac{DB}{4}\tau. F s ( τ ) ≥ τ F s ′ ( 0 ) − 8 D B 2 τ 2 , ∣ F s ( τ ) ∣ ≤ 4 D B τ .
The same covariance bound applied to action-set indicators gives ∥ π τ ( ⋅ ∣ s ) − π ( ⋅ ∣ s ) ∥ 1 ≤ τ B / 2 \lVert\pi_\tau(\cdot\mid s)-\pi(\cdot\mid s)\rVert_1\le\tau B/2 ∥ π τ ( ⋅ ∣ s ) − π ( ⋅ ∣ s ) ∥ 1 ≤ τ B /2 . The discounted occupancy equations therefore imply
∥ d S π τ − d S π ∥ 1 ≤ γ τ B 2 ( 1 − γ ) . \lVert d_S^{\pi_\tau}-d_S^\pi\rVert_1\le\frac{\gamma\tau B}{2(1-\gamma)}. ∥ d S π τ − d S π ∥ 1 ≤ 2 ( 1 − γ ) γ τ B .
Since m = E s ∼ d S π τ [ F s ′ ( 0 ) ] m=\mathbb{E}_{s\sim d_S^{\pi_\tau}}[F_s'(0)] m = E s ∼ d S π τ [ F s ′ ( 0 )] , combining the preceding bounds yields
E s ∼ d S π τ [ F s ( τ ) ] ≥ E s ∼ d S π τ [ F s ( τ ) ] − ∥ d S π τ − d S π ∥ 1 sup s ∣ F s ( τ ) ∣ ≥ τ m − D B 2 8 ( 1 − γ ) τ 2 . \begin{aligned}
\mathbb{E}_{s\sim d_S^{\pi_\tau}}[F_s(\tau)]\ge\mathbb{E}_{s\sim d_S^{\pi_\tau}}[F_s(\tau)]-\lVert d_S^{\pi_\tau}-d_S^\pi\rVert_1\sup_s\lvert F_s(\tau)\rvert\\
&\ge\tau m-\frac{DB^2}{8(1-\gamma)}\tau^2.
\end{aligned} E s ∼ d S π τ [ F s ( τ )] ≥ E s ∼ d S π τ [ F s ( τ )] − ∥ d S π τ − d S π ∥ 1 s sup ∣ F s ( τ )∣ ≥ τ m − 8 ( 1 − γ ) D B 2 τ 2 .
The performance-difference identity now proves the stated temperature bound. Finally, the retained SUAF modes are orthogonal in L 2 ( d π ) L^2(d^\pi) L 2 ( d π ) to the discarded modes. Since h = C r π h=C_r^\pi h = C r π plus the retained modes and e e e consists of discarded modes, ⟨ h , e ⟩ d π = ⟨ C r π , e ⟩ d π \langle h,e\rangle_{d^\pi}=\langle C_r^\pi,e\rangle_{d^\pi} ⟨ h , e ⟩ d π = ⟨ C r π , e ⟩ d π . This proves the expression and lower bound for m m m .
Here, we are ready to prove Theorem 4.1.
Theorem D.10 (Boltzmann policy improvement with truncated SUAF). Let A r , k π A_{r,k}^\pi A r , k π be the exact rank-k k k SUAF advantage approximation, and let π τ ( a ∣ s ) ∝ π ( a ∣ s ) e τ h ( s , a ) \pi_\tau(a\mid s)\propto\pi(a\mid s)e^{\tau h(s,a)} π τ ( a ∣ s ) ∝ π ( a ∣ s ) e τ h ( s , a ) with τ > 0 \tau>0 τ > 0 . Define B k : = sup s , a , b ∣ A r , k π ( s , a ) − A r , k π ( s , b ) ∣ B_k:=\sup_{s,a,b}\lvert A_{r,k}^\pi(s,a)-A_{r,k}^\pi(s,b)\rvert B k := sup s , a , b ∣ A r , k π ( s , a ) − A r , k π ( s , b )∣ , ϵ k ( r ) = γ 1 − γ [ ∑ i > k ( σ i + , π ) 2 β i ( r ) 2 ] 1 / 2 \epsilon_k(r)=\frac{\gamma}{1-\gamma}\left[\sum_{i>k}(\sigma_i^{+,\pi})^2\beta_i(r)^2\right]^{1/2} ϵ k ( r ) = 1 − γ γ [ ∑ i > k ( σ i + , π ) 2 β i ( r ) 2 ] 1/2 and Δ k ( r ) : = ∥ A r , k π ∥ d π 2 − ∥ C r π ∥ d π ϵ k ( r ) \Delta_k(r):=\lVert A_{r,k}^\pi\rVert_{d^\pi}^2-\lVert C_r^\pi\rVert_{d^\pi}\epsilon_k(r) Δ k ( r ) := ∥ A r , k π ∥ d π 2 − ∥ C r π ∥ d π ϵ k ( r ) . If Δ k ( r ) > 0 \Delta_k(r)>0 Δ k ( r ) > 0 , then it guarantees J r ( π τ ) > J r ( π ) J_r(\pi_\tau)>J_r(\pi) J r ( π τ ) > J r ( π ) if temperature satisfies 0 < τ < 4 ( 1 − γ ) 2 Δ k ( r ) R max B k 2 0<\tau<\frac{4(1-\gamma)^2\Delta_k(r)}{R_{\max}B_k^2} 0 < τ < R m a x B k 2 4 ( 1 − γ ) 2 Δ k ( r ) .
For state-only rewards, C r π = 0 C_r^\pi=0 C r π = 0 and Δ k ( r ) = ( γ 1 − γ ) 2 ∑ i ≤ k ( σ i + , π ) 2 β i ( r ) 2 \Delta_k(r)=\left(\frac{\gamma}{1-\gamma}\right)^2\sum_{i\le k}(\sigma_i^{+,\pi})^2\beta_i(r)^2 Δ k ( r ) = ( 1 − γ γ ) 2 ∑ i ≤ k ( σ i + , π ) 2 β i ( r ) 2 . In this case, if Δ k ( r ) > 0 \Delta_k(r)>0 Δ k ( r ) > 0 , the larger sufficient range
0 < τ < 4 γ R max B k 2 ∑ i ≤ k ( σ i + , π ) 2 β i ( r ) 2 0<\tau<\frac{4\gamma}{R_{\max}B_k^2}\sum_{i\le k}(\sigma_i^{+,\pi})^2\beta_i(r)^2 0 < τ < R m a x B k 2 4 γ i ≤ k ∑ ( σ i + , π ) 2 β i ( r ) 2 also guarantees strict improvement.
Proof. Write h = A r , k π h=A_{r,k}^\pi h = A r , k π , e = A r π − h e=A_r^\pi-h e = A r π − h , and m = ⟨ h , A r π ⟩ d π m=\langle h,A_r^\pi\rangle_{d^\pi} m = ⟨ h , A r π ⟩ d π . By orthogonality of the retained and discarded SUAF modes,
m = ∥ h ∥ d π 2 + ⟨ C r π , e ⟩ d π ≥ ∥ h ∥ d π 2 − ∥ C r π ∥ d π ∥ e ∥ d π = Δ k ( r ) , m=\lVert h\rVert_{d^\pi}^2+\langle C_r^\pi,e\rangle_{d^\pi}\ge\lVert h\rVert_{d^\pi}^2-\lVert C_r^\pi\rVert_{d^\pi}\lVert e\rVert_{d^\pi}=\Delta_k(r), m = ∥ h ∥ d π 2 + ⟨ C r π , e ⟩ d π ≥ ∥ h ∥ d π 2 − ∥ C r π ∥ d π ∥ e ∥ d π = Δ k ( r ) ,
where ∥ e ∥ d π = ϵ k ( r ) \lVert e\rVert_{d^\pi}=\epsilon_k(r) ∥ e ∥ d π = ϵ k ( r ) . Let D = sup s , a , b ∣ A r π ( s , a ) − A r π ( s , b ) ∣ D=\sup_{s,a,b}\lvert A_r^\pi(s,a)-A_r^\pi(s,b)\rvert D = sup s , a , b ∣ A r π ( s , a ) − A r π ( s , b )∣ . Since ∣ r ( s , a ) ∣ ≤ R max \lvert r(s,a)\rvert\le R_{\max} ∣ r ( s , a )∣ ≤ R m a x , ∣ Q r π ( s , a ) ∣ ≤ R max / ( 1 − γ ) \lvert Q_r^\pi(s,a)\rvert\le R_{\max}/(1-\gamma) ∣ Q r π ( s , a )∣ ≤ R m a x / ( 1 − γ ) . Actions at the same state share the same value baseline; hence
D = sup s , a , b ∣ Q r π ( s , a ) − Q r π ( s , b ) ∣ ≤ 2 R max 1 − γ . D=\sup_{s,a,b}\lvert Q_r^\pi(s,a)-Q_r^\pi(s,b)\rvert\le\frac{2R_{\max}}{1-\gamma}. D = s , a , b sup ∣ Q r π ( s , a ) − Q r π ( s , b )∣ ≤ 1 − γ 2 R m a x .
Applying the previously established temperature bound gives
J r ( π τ ) − J r ( π ) ≥ τ 1 − γ ( m − D B k 2 8 ( 1 − γ ) τ ) ≥ τ 1 − γ ( Δ k ( r ) − R max B k 2 4 ( 1 − γ ) 2 τ ) . J_r(\pi_\tau)-J_r(\pi)\ge\frac{\tau}{1-\gamma}\left(m-\frac{D B_k^2}{8(1-\gamma)}\tau\right)
\ge\frac{\tau}{1-\gamma}\left(\Delta_k(r)-\frac{R_{\max}B_k^2}{4(1-\gamma)^2}\tau\right). J r ( π τ ) − J r ( π ) ≥ 1 − γ τ ( m − 8 ( 1 − γ ) D B k 2 τ ) ≥ 1 − γ τ ( Δ k ( r ) − 4 ( 1 − γ ) 2 R m a x B k 2 τ ) .
The right-hand side is strictly positive under the first stated condition on τ \tau τ . If r = r ( s ) r=r(s) r = r ( s ) , then C T r = 0 \mathcal{C}^T r=0 C T r = 0 . Orthonormality of the SUAF left features therefore gives
Δ k ( r ) = ∥ h ∥ d π 2 = ( γ 1 − γ ) 2 ∑ i ≤ k ( σ i + , π ) 2 β i ( r ) 2 . \Delta_k(r)=\lVert h\rVert_{d^\pi}^2=\left(\frac{\gamma}{1-\gamma}\right)^2\sum_{i\le k}(\sigma_i^{+,\pi})^2\beta_i(r)^2. Δ k ( r ) = ∥ h ∥ d π 2 = ( 1 − γ γ ) 2 i ≤ k ∑ ( σ i + , π ) 2 β i ( r ) 2 .
Furthermore, Q r π ( s , a ) = r ( s ) + γ E s ′ ∼ P ( ⋅ ∣ s , a ) [ V r π ( s ′ ) ] Q_r^\pi(s,a)=r(s)+\gamma\mathbb{E}_{s'\sim P(\cdot\mid s,a)}[V_r^\pi(s')] Q r π ( s , a ) = r ( s ) + γ E s ′ ∼ P ( ⋅ ∣ s , a ) [ V r π ( s ′ )] . The immediate reward cancels when comparing actions at the same state, so
D ≤ 2 γ R max 1 − γ . D\le\frac{2\gamma R_{\max}}{1-\gamma}. D ≤ 1 − γ 2 γ R m a x .
The temperature bound now yields
J r ( π τ ) − J r ( π ) ≥ τ 1 − γ ( Δ k ( r ) − γ R max B k 2 4 ( 1 − γ ) 2 τ ) . J_r(\pi_\tau)-J_r(\pi)\ge\frac{\tau}{1-\gamma}\left(\Delta_k(r)-\frac{\gamma R_{\max}B_k^2}{4(1-\gamma)^2}\tau\right). J r ( π τ ) − J r ( π ) ≥ 1 − γ τ ( Δ k ( r ) − 4 ( 1 − γ ) 2 γ R m a x B k 2 τ ) .
Substituting the expression for Δ k ( r ) \Delta_k(r) Δ k ( r ) shows that this quantity is strictly positive under the second stated condition on τ \tau τ .
Estimation Error of Advantage Function Under Trust Region
For the trust region algorithms, our estimation of advantage function can be bounded. Furthermore, we claim that trust-region-controlled SUAF reuse yields reward-uniform policy-gradient error bounds, with reliable ascent whenever the gradient signal exceeds the reuse error.
Lemma D.11 (Reward-independent transfer bound). Denote Δ A r π ′ = A r π ′ − A ^ r \Delta A_r^{\pi'}=A_r^{\pi'}-\widehat{A}_r Δ A r π ′ = A r π ′ − A r . Under the above setting, the approximation in equation 7 satisfies
sup ∥ r ∥ ν + , π ≤ 1 ∥ Δ A r π ′ ∥ d π ′ 2 ≤ γ L max 2 2 ( 1 − γ ) D K L ( π ′ ∥ π ) , \sup_{\lVert r\rVert_{\nu_+,\pi}\le1}\left\lVert\Delta A_r^{\pi'}\right\rVert_{d^{\pi'}}^2\le\frac{\gamma L_{\max}^2}{2(1-\gamma)}D_{\mathrm{KL}}(\pi'\Vert\pi), ∥ r ∥ ν + , π ≤ 1 sup Δ A r π ′ d π ′ 2 ≤ 2 ( 1 − γ ) γ L m a x 2 D KL ( π ′ ∥ π ) , sup ∥ r ∥ ν + , π ′ ≤ 1 ∥ Δ A r π ′ ∥ d π 2 ≤ ( 4 − 3 γ ) L max 2 2 ( 1 − γ ) D K L ( π ∥ π ′ ) . \sup_{\lVert r\rVert_{\nu_+,\pi'}\le1}\left\lVert\Delta A_r^{\pi'}\right\rVert_{d^\pi}^2\le\frac{(4-3\gamma)L_{\max}^2}{2(1-\gamma)}D_{\mathrm{KL}}(\pi\Vert\pi'). ∥ r ∥ ν + , π ′ ≤ 1 sup Δ A r π ′ d π 2 ≤ 2 ( 1 − γ ) ( 4 − 3 γ ) L m a x 2 D KL ( π ∥ π ′ ) .
Proof. Fix a reward r r r with ∥ r ∥ ν + , π ≤ 1 \lVert r\rVert_{\nu_+,\pi}\le1 ∥ r ∥ ν + , π ≤ 1 . Write d S = d S π ′ d_S=d_S^{\pi'} d S = d S π ′ , and define
Δ V r ( s ) : = V r π ′ ( s ) − V r π ( s ) , q r ( s ) : = E a ∼ π ′ ( ⋅ ∣ s ) [ A r π ( s , a ) ] . \Delta V_r(s):=V_r^{\pi'}(s)-V_r^\pi(s),\qquad q_r(s):=\mathbb{E}_{a\sim\pi'(\cdot\mid s)}[A_r^\pi(s,a)]. Δ V r ( s ) := V r π ′ ( s ) − V r π ( s ) , q r ( s ) := E a ∼ π ′ ( ⋅ ∣ s ) [ A r π ( s , a )] .
Throughout the proof, ∥ u ∥ d S 2 = ∑ s d S ( s ) u 2 ( s ) \lVert u\rVert_{d_S}^2 = \sum_s d_S(s)u^2(s) ∥ u ∥ d S 2 = ∑ s d S ( s ) u 2 ( s ) . Let P S π ′ P_S^{\pi'} P S π ′ denote the state transition operator:
( P S π ′ u ) ( s ) = ∑ a , s ′ π ′ ( a ∣ s ) T ( s ′ ∣ s , a ) u ( s ′ ) . (P_S^{\pi'}u)(s) = \sum_{a,s'}\pi'(a\mid s)T(s'\mid s,a)u(s'). ( P S π ′ u ) ( s ) = a , s ′ ∑ π ′ ( a ∣ s ) T ( s ′ ∣ s , a ) u ( s ′ ) .
Step 1: Expressing the transfer error. The Bellman equations imply
Δ V r = q r + γ P S π ′ Δ V r , (68) \Delta V_r = q_r + \gamma P_S^{\pi'}\Delta V_r, \tag*{(68)} Δ V r = q r + γ P S π ′ Δ V r , (68)
in that q r ( s ) = E a ∼ π ′ [ Q r π ( s , a ) ] − V r π ( s ) q_r(s) = \mathbb{E}_{a\sim\pi'}[Q_r^\pi(s,a)] - V_r^\pi(s) q r ( s ) = E a ∼ π ′ [ Q r π ( s , a )] − V r π ( s ) . Moreover, since A ^ r = C π ′ Q r π \widehat{A}_r = C_{\pi'}Q_r^\pi A r = C π ′ Q r π and A r π ′ = C π ′ Q r π ′ A_r^{\pi'} = C_{\pi'}Q_r^{\pi'} A r π ′ = C π ′ Q r π ′ , we have
A r π ′ − A ^ r = γ C π ′ h r , h r ( s , a ) : = ∑ s ′ T ( s ′ ∣ s , a ) Δ V r ( s ′ ) . A_r^{\pi'}-\widehat{A}_r = \gamma C_{\pi'}h_r,\qquad h_r(s,a):=\sum_{s'}T(s'\mid s,a)\Delta V_r(s'). A r π ′ − A r = γ C π ′ h r , h r ( s , a ) := s ′ ∑ T ( s ′ ∣ s , a ) Δ V r ( s ′ ) .
Therefore, using the conditional variance identity and Jensen’s inequality,
∥ A r π ′ − A ^ r ∥ d π ′ 2 = γ 2 ( E ( s , a ) ∼ d π ′ [ h r ( s , a ) 2 ] − ∥ P S π ′ Δ V r ∥ d S 2 ) ≤ γ 2 ( E s ∼ d S [ ( P S π ′ ( Δ V r 2 ) ) ( s ) ] − ∥ P S π ′ Δ V r ∥ d S 2 ) . (69) \begin{aligned}
\lVert A_r^{\pi'}-\widehat{A}_r\rVert_{d_{\pi'}}^2
&=\gamma^2\left(\mathbb{E}_{(s,a)\sim d_{\pi'}}[h_r(s,a)^2]-\lVert P_S^{\pi'}\Delta V_r\rVert_{d_S}^2\right)\\
&\le\gamma^2\left(\mathbb{E}_{s\sim d_S}[(P_S^{\pi'}(\Delta V_r^2))(s)]-\lVert P_S^{\pi'}\Delta V_r\rVert_{d_S}^2\right). \tag*{(69)}
\end{aligned} ∥ A r π ′ − A r ∥ d π ′ 2 = γ 2 ( E ( s , a ) ∼ d π ′ [ h r ( s , a ) 2 ] − ∥ P S π ′ Δ V r ∥ d S 2 ) ≤ γ 2 ( E s ∼ d S [( P S π ′ ( Δ V r 2 )) ( s )] − ∥ P S π ′ Δ V r ∥ d S 2 ) . (69)
Step 2: Using the discounted occupancy identity. The state occupancy satisfies
d S = ( 1 − γ ) μ + γ d S P S π ′ . d_S=(1-\gamma)\mu+\gamma d_SP_S^{\pi'}. d S = ( 1 − γ ) μ + γ d S P S π ′ .
Consequently,
γ E s ∼ d S [ P S π ′ ( Δ V r 2 ) ( s ) ] = ∥ Δ V r ∥ d S 2 − ( 1 − γ ) ∥ Δ V r ∥ μ 2 ≤ ∥ Δ V r ∥ d S 2 . \gamma\mathbb{E}_{s\sim d_S}[P_S^{\pi'}(\Delta V_r^2)(s)]
=\lVert\Delta V_r\rVert_{d_S}^2-(1-\gamma)\lVert\Delta V_r\rVert_\mu^2
\le\lVert\Delta V_r\rVert_{d_S}^2. γ E s ∼ d S [ P S π ′ ( Δ V r 2 ) ( s )] = ∥ Δ V r ∥ d S 2 − ( 1 − γ ) ∥ Δ V r ∥ μ 2 ≤ ∥ Δ V r ∥ d S 2 .
Combining this inequality with equation 69 and γ P S π ′ Δ V r = Δ V r − q r \gamma P_S^{\pi'}\Delta V_r=\Delta V_r-q_r γ P S π ′ Δ V r = Δ V r − q r yields
∥ A r π ′ − A ^ r ∥ d π ′ 2 ≤ γ ∥ Δ V r ∥ d S 2 − ∥ Δ V r − q r ∥ d S 2 = − ( 1 − γ ) ∥ Δ V r − q r 1 − γ ∥ d S 2 + γ 1 − γ ∥ q r ∥ d S 2 ≤ γ 1 − γ ∥ q r ∥ d S 2 . (70) \begin{aligned}
\lVert A_r^{\pi'}-\widehat{A}_r\rVert_{d_{\pi'}}^2
&\le\gamma\lVert\Delta V_r\rVert_{d_S}^2-\lVert\Delta V_r-q_r\rVert_{d_S}^2\\
&=-(1-\gamma)\left\lVert\Delta V_r-\frac{q_r}{1-\gamma}\right\rVert_{d_S}^2+\frac{\gamma}{1-\gamma}\lVert q_r\rVert_{d_S}^2\\
&\le\frac{\gamma}{1-\gamma}\lVert q_r\rVert_{d_S}^2. \tag*{(70)}
\end{aligned} ∥ A r π ′ − A r ∥ d π ′ 2 ≤ γ ∥ Δ V r ∥ d S 2 − ∥ Δ V r − q r ∥ d S 2 = − ( 1 − γ ) Δ V r − 1 − γ q r d S 2 + 1 − γ γ ∥ q r ∥ d S 2 ≤ 1 − γ γ ∥ q r ∥ d S 2 . (70)
Step 3: Bounding the policy perturbation by KL. Since E a ∼ π ( ⋅ ∣ s ) [ A r π ( s , a ) ] = 0 \mathbb{E}_{a\sim\pi(\cdot\mid s)}[A_r^\pi(s,a)]=0 E a ∼ π ( ⋅ ∣ s ) [ A r π ( s , a )] = 0 ,
q r ( s ) = ∑ a ( π ′ ( a ∣ s ) − π ( a ∣ s ) ) A r π ( s , a ) . q_r(s)=\sum_a(\pi'(a\mid s)-\pi(a\mid s))A_r^\pi(s,a). q r ( s ) = a ∑ ( π ′ ( a ∣ s ) − π ( a ∣ s )) A r π ( s , a ) .
For any two probability distributions, their difference in the expectation of a function is bounded by the function’s range times their total variation distance. Hence, by the definition of L max L_{\max} L m a x ,
∣ q r ( s ) ∣ ≤ L max TV ( π ′ ( ⋅ ∣ s ) , π ( ⋅ ∣ s ) ) , |q_r(s)|\le L_{\max}\operatorname{TV}(\pi'(\cdot\mid s),\pi(\cdot\mid s)), ∣ q r ( s ) ∣ ≤ L m a x TV ( π ′ ( ⋅ ∣ s ) , π ( ⋅ ∣ s )) ,
where TV ( p , q ) = 1 2 ∑ a ∣ p ( a ) − q ( a ) ∣ \operatorname{TV}(p,q)=\frac{1}{2}\sum_a |p(a)-q(a)| TV ( p , q ) = 2 1 ∑ a ∣ p ( a ) − q ( a ) ∣ . Pinsker’s inequality Pinsker [18 ] , with natural logarithms, therefore gives
∥ q ~ r ∥ d π ′ 2 ≤ L max 2 2 E s ∼ d π ′ [ D K L ( π ′ ( ⋅ ∣ s ) ∥ π ( ⋅ ∣ s ) ) ] . \|\tilde{q}_r\|_{d_{\pi'}}^2 \le\frac{L_{\max}^2}{2}\mathbb{E}_{s\sim d_{\pi'}}\left[D_{\mathrm{KL}}\left(\pi'(\cdot\mid s)\|\pi(\cdot\mid s)\right)\right]. ∥ q ~ r ∥ d π ′ 2 ≤ 2 L m a x 2 E s ∼ d π ′ [ D KL ( π ′ ( ⋅ ∣ s ) ∥ π ( ⋅ ∣ s ) ) ] .
Substituting into equation (70) and taking the supremum over ∥ r ∥ ν + , π ≤ 1 \|r\|_{\nu^+,\pi}\le1 ∥ r ∥ ν + , π ≤ 1 proves
sup ∥ r ∥ ν + , π ≤ 1 ∥ A r π ′ − A ^ r π ′ ∥ d π ′ 2 ≤ γ L max 2 2 ( 1 − γ ) E s ∼ d π ′ [ D K L ( π ′ ( ⋅ ∣ s ) ∥ π ( ⋅ ∣ s ) ) ] . \sup_{\|r\|_{\nu^+,\pi}\le1}\|A_r^{\pi'}-\widehat{A}_r^{\pi'}\|_{d_{\pi'} }^2\le\frac{\gamma L_{\max}^2}{2(1-\gamma)}\mathbb{E}_{s\sim d_{\pi'}}\left[D_{\mathrm{KL}}\left(\pi'(\cdot\mid s)\|\pi(\cdot\mid s)\right)\right]. ∥ r ∥ ν + , π ≤ 1 sup ∥ A r π ′ − A r π ′ ∥ d π ′ 2 ≤ 2 ( 1 − γ ) γ L m a x 2 E s ∼ d π ′ [ D KL ( π ′ ( ⋅ ∣ s ) ∥ π ( ⋅ ∣ s ) ) ] .
Step 4: Controlling the reference-centered error. We next establish the bound under d π d^\pi d π . Define
Δ Q r : = Q r π ′ − Q r π = γ h r , q ~ r ( s ) : = E a ∼ π ( ⋅ ∣ s ) [ A r π ′ ( s , a ) ] . \Delta Q_r:=Q_r^{\pi'}-Q_r^\pi=\gamma h_r,\qquad\widetilde{q}_r(s):=\mathbb{E}_{a\sim\pi(\cdot\mid s)}[A_r^{\pi'}(s,a)]. Δ Q r := Q r π ′ − Q r π = γ h r , q r ( s ) := E a ∼ π ( ⋅ ∣ s ) [ A r π ′ ( s , a )] .
The Bellman equations also give
Δ V r = − q ~ r + γ P S π Δ V r , \Delta V_r=-\widetilde{q}_r+\gamma P_S^\pi\Delta V_r, Δ V r = − q r + γ P S π Δ V r ,
where P S π P_S^\pi P S π is the state transition operator under π \pi π . Indeed,
q ~ r = E a ∼ π [ Q r π ′ ] − V r π ′ = γ P S π Δ V r − Δ V r . \widetilde{q}_r=\mathbb{E}_{a\sim\pi}[Q_r^{\pi'}]-V_r^{\pi'}=\gamma P_S^\pi\Delta V_r-\Delta V_r. q r = E a ∼ π [ Q r π ′ ] − V r π ′ = γ P S π Δ V r − Δ V r .
Applying the conditional variance identity and Jensen’s inequality under the reference policy yields
∥ C π Δ Q r ∥ d π 2 = γ 2 ( E d π [ h r 2 ] − ∥ P S π Δ V r ∥ d S π 2 ) ≤ γ 2 ( E d S π [ P S π ( Δ V r 2 ) ] − ∥ P S π Δ V r ∥ d S π 2 ) . \|C_\pi\Delta Q_r\|_{d^\pi}^2=\gamma^2\left(\mathbb{E}_{d^\pi}[h_r^2]-\|P_S^\pi\Delta V_r\|_{d_S^\pi}^2\right)\le\gamma^2\left(\mathbb{E}_{d_S^\pi}[P_S^\pi(\Delta V_r^2)]-\|P_S^\pi\Delta V_r\|_{d_S^\pi}^2\right). ∥ C π Δ Q r ∥ d π 2 = γ 2 ( E d π [ h r 2 ] − ∥ P S π Δ V r ∥ d S π 2 ) ≤ γ 2 ( E d S π [ P S π ( Δ V r 2 )] − ∥ P S π Δ V r ∥ d S π 2 ) .
Using d S π = ( 1 − γ ) μ + γ d S π P S π d_S^\pi=(1-\gamma)\mu+\gamma d_S^\pi P_S^\pi d S π = ( 1 − γ ) μ + γ d S π P S π and γ P S π Δ V r = Δ V r + q ~ r \gamma P_S^\pi\Delta V_r=\Delta V_r+\widetilde{q}_r γ P S π Δ V r = Δ V r + q r , we obtain
∥ C π Δ Q r ∥ d π 2 ≤ γ ∥ Δ V r ∥ d S π 2 − ∥ Δ V r + q ~ r ∥ d S π 2 = − ( 1 − γ ) ∥ Δ V r + q ~ r 1 − γ ∥ d S π 2 + γ 1 − γ ∥ q ~ r ∥ d S π 2 ≤ γ 1 − γ ∥ q ~ r ∥ d S π 2 . (71) \begin{aligned}
\|C_\pi\Delta Q_r\|_{d^\pi}^2\le\gamma\|\Delta V_r\|_{d_S^\pi}^2-\|\Delta V_r+\widetilde{q}_r\|_{d_S^\pi}^2 \\
&=-(1-\gamma)\left\|\Delta V_r+\frac{\widetilde{q}_r}{1-\gamma}\right\|_{d_S^\pi}^2+\frac{\gamma}{1-\gamma}\|\widetilde{q}_r\|_{d_S^\pi}^2 \\
&\le\frac{\gamma}{1-\gamma}\|\widetilde{q}_r\|_{d_S^\pi}^2. \tag*{(71)}
\end{aligned} ∥ C π Δ Q r ∥ d π 2 ≤ γ ∥Δ V r ∥ d S π 2 − ∥Δ V r + q r ∥ d S π 2 = − ( 1 − γ ) Δ V r + 1 − γ q r d S π 2 + 1 − γ γ ∥ q r ∥ d S π 2 ≤ 1 − γ γ ∥ q r ∥ d S π 2 . (71)
Since E a ∼ π ′ [ A r π ′ ( s , a ) ] = 0 \mathbb{E}_{a\sim\pi'}[A_r^{\pi'}(s,a)]=0 E a ∼ π ′ [ A r π ′ ( s , a )] = 0 ,
q ~ r ( s ) = ∑ a ( π ( a ∣ s ) − π ′ ( a ∣ s ) ) A r π ′ ( s , a ) . \widetilde{q}_r(s)=\sum_a\left(\pi(a\mid s)-\pi'(a\mid s)\right)A_r^{\pi'}(s,a). q r ( s ) = a ∑ ( π ( a ∣ s ) − π ′ ( a ∣ s ) ) A r π ′ ( s , a ) .
The definition of L max L_{\max} L m a x and Pinsker’s inequality imply
∥ q ~ r ∥ d S π 2 ≤ L max 2 2 E s ∼ d S π [ D K L ( π ( ⋅ ∣ s ) ∥ π ′ ( ⋅ ∣ s ) ) ] . \|\widetilde{q}_r\|_{d_S^\pi}^2\le\frac{L_{\max}^2}{2}\mathbb{E}_{s\sim d_S^\pi}\left[D_{\mathrm{KL}}\left(\pi(\cdot\mid s)\|\pi'(\cdot\mid s)\right)\right]. ∥ q r ∥ d S π 2 ≤ 2 L m a x 2 E s ∼ d S π [ D KL ( π ( ⋅ ∣ s ) ∥ π ′ ( ⋅ ∣ s ) ) ] .
Consequently,
∥ C π Δ Q r ∥ d π 2 ≤ γ L max 2 2 ( 1 − γ ) D K L ( π ∥ π ′ ) . (72) \|C_\pi\Delta Q_r\|_{d^\pi}^2\le\frac{\gamma L_{\max}^2}{2(1-\gamma)}D_{\mathrm{KL}}(\pi\|\pi'). \tag*{(72)} ∥ C π Δ Q r ∥ d π 2 ≤ 2 ( 1 − γ ) γ L m a x 2 D KL ( π ∥ π ′ ) . (72)
Step 5: Accounting for the change of centering. The actual transfer error is C π ′ Δ Q r C_{\pi^{\prime}}\Delta Q_r C π ′ Δ Q r . Define the state-dependent discrepancy
m r ( s ) : = E a ∼ π ( ⋅ ∣ s ) [ Δ Q r ( s , a ) ] − E a ∼ π ′ ( ⋅ ∣ s ) [ Δ Q r ( s , a ) ] . m_r(s) := \mathbb{E}_{a\sim\pi(\cdot\mid s)}[\Delta Q_r(s,a)]-\mathbb{E}_{a\sim\pi^{\prime}(\cdot\mid s)}[\Delta Q_r(s,a)]. m r ( s ) := E a ∼ π ( ⋅ ∣ s ) [ Δ Q r ( s , a )] − E a ∼ π ′ ( ⋅ ∣ s ) [ Δ Q r ( s , a )] .
Then
A r π ′ − A ^ r = C π Δ Q r + m r . A_r^{\pi^{\prime}}-\widehat{A}_r=C_{\pi}\Delta Q_r+m_r. A r π ′ − A r = C π Δ Q r + m r .
Since C π Δ Q r C_{\pi}\Delta Q_r C π Δ Q r has zero conditional action mean under π \pi π , it is orthogonal to m r m_r m r in L 2 ( d π T ) L^2(d_{\pi}^{\mathsf T}) L 2 ( d π T ) . Therefore,
∥ A r π ′ − A ^ r ∥ d π T 2 = ∥ C π Δ Q r ∥ d π T 2 + ∥ m r ∥ d π S 2 . (73) \left\|A_r^{\pi^{\prime}}-\widehat{A}_r\right\|_{d_{\pi}^{\mathsf T}}^2=\left\|C_{\pi}\Delta Q_r\right\|_{d_{\pi}^{\mathsf T}}^2+\left\|m_r\right\|_{d_{\pi}^{\mathsf S}}^2. \tag*{(73)} A r π ′ − A r d π T 2 = ∥ C π Δ Q r ∥ d π T 2 + ∥ m r ∥ d π S 2 . (73)
Subtracting a state-dependent baseline does not change the action span. Hence, for every s , a , b s,a,b s , a , b ,
∣ Δ Q r ( s , a ) − Δ Q r ( s , b ) ∣ ≤ ∣ A r π ′ ( s , a ) − A r π ′ ( s , b ) ∣ + ∣ A r π ( s , a ) − A r π ( s , b ) ∣ \left|\Delta Q_r(s,a)-\Delta Q_r(s,b)\right|\leq\left|A_r^{\pi^{\prime}}(s,a)-A_r^{\pi^{\prime}}(s,b)\right|+\left|A_r^{\pi}(s,a)-A_r^{\pi}(s,b)\right| ∣ Δ Q r ( s , a ) − Δ Q r ( s , b ) ∣ ≤ A r π ′ ( s , a ) − A r π ′ ( s , b ) + ∣ A r π ( s , a ) − A r π ( s , b ) ∣
≤ 2 L max . \leq2L_{\max}. ≤ 2 L m a x .
It follows that
∣ m r ( s ) ∣ ≤ 2 L max TV ( π ( ⋅ ∣ s ) , π ′ ( ⋅ ∣ s ) ) . \left|m_r(s)\right|\leq2L_{\max}\operatorname{TV}\bigl(\pi(\cdot\mid s),\pi^{\prime}(\cdot\mid s)\bigr). ∣ m r ( s ) ∣ ≤ 2 L m a x TV ( π ( ⋅ ∣ s ) , π ′ ( ⋅ ∣ s ) ) .
Applying Pinsker’s inequality gives
∥ m r ∥ d π S 2 ≤ 2 L max 2 D K L ( π ∥ π ′ ) . \left\|m_r\right\|_{d_{\pi}^{\mathsf S}}^2\leq2L_{\max}^2D_{\mathrm{KL}}(\pi\Vert\pi^{\prime}). ∥ m r ∥ d π S 2 ≤ 2 L m a x 2 D KL ( π ∥ π ′ ) .
Combining this inequality with equation 72 and equation 73 yields
∥ A r π ′ − A ^ r ∥ d π T 2 ≤ ( γ 2 ( 1 − γ ) + 2 ) L max 2 D K L ( π ∥ π ′ ) = ( 4 − 3 γ ) L max 2 2 ( 1 − γ ) D K L ( π ∥ π ′ ) . \begin{aligned}
\left\|A_r^{\pi^{\prime}}-\widehat{A}_r\right\|_{d_{\pi}^{\mathsf T}}^2\leq\left(\frac{\gamma}{2(1-\gamma)}+2\right)L_{\max}^2D_{\mathrm{KL}}(\pi\Vert\pi^{\prime}) \\
&=\frac{(4-3\gamma)L_{\max}^2}{2(1-\gamma)}D_{\mathrm{KL}}(\pi\Vert\pi^{\prime}).
\end{aligned} A r π ′ − A r d π T 2 ≤ ( 2 ( 1 − γ ) γ + 2 ) L m a x 2 D KL ( π ∥ π ′ ) = 2 ( 1 − γ ) ( 4 − 3 γ ) L m a x 2 D KL ( π ∥ π ′ ) .
Finally, taking the supremum over the same reward class gives
sup ∥ r ∥ ν + , π ≤ 1 ∥ A r π ′ − A ^ r ∥ d π T 2 ≤ ( 4 − 3 γ ) L max 2 2 ( 1 − γ ) D K L ( π ∥ π ′ ) . \sup_{\lVert r\rVert_{\nu^+,\pi}\leq1}\left\|A_r^{\pi^{\prime}}-\widehat{A}_r\right\|_{d_{\pi}^{\mathsf T}}^2\leq\frac{(4-3\gamma)L_{\max}^2}{2(1-\gamma)}D_{\mathrm{KL}}(\pi\Vert\pi^{\prime}). ∥ r ∥ ν + , π ≤ 1 sup A r π ′ − A r d π T 2 ≤ 2 ( 1 − γ ) ( 4 − 3 γ ) L m a x 2 D KL ( π ∥ π ′ ) .
Reward-independent policy gradient approximation error bound
In this section, we show that SUAF can be reused within the specified trust region, with reward-uniform bounds on advantage and policy-gradient approximation errors.
Lemma D.12 (Reward-independent policy gradient approximation error bound). Given the reference policy π θ \pi_\theta π θ in the trust region of π r e f \pi_{\mathrm{ref}} π ref , i.e., D ( π θ ∥ π r e f ) < δ \mathcal{D}(\pi_\theta\Vert\pi_{\mathrm{ref}})<\delta D ( π θ ∥ π ref ) < δ , the approximation error of using SUAF of π r e f \pi_{\mathrm{ref}} π ref for policy gradient satisfies that
sup ∥ r ∥ ν , π r e f ≤ 1 ∥ ∇ θ J r ( π θ ) − G ^ r ∥ F θ † 2 < γ L max 2 2 ( 1 − γ ) δ . \sup_{\lVert r\rVert_{\nu,\pi_{\mathrm{ref}}}\leq1}\left\lVert\nabla_\theta J_r(\pi_\theta)-\widehat{G}_r\right\rVert_{F_\theta^\dagger}^{2}<\frac{\gamma L_{\max}^{2}}{2(1-\gamma)}\delta. ∥ r ∥ ν , π ref ≤ 1 sup ∇ θ J r ( π θ ) − G r F θ † 2 < 2 ( 1 − γ ) γ L m a x 2 δ . where G ^ r = E ( s , a ) ∼ d π θ [ ∇ θ log π θ A ^ r ] \widehat{G}_r=\mathbb{E}_{(s,a)\sim d^{\pi_\theta}}\left[\nabla_\theta\log\pi_\theta\widehat{A}_r\right] G r = E ( s , a ) ∼ d π θ [ ∇ θ log π θ A r ] with A ^ r = C π θ π r e f A r π r e f \widehat{A}_r=C_{\pi_\theta}^{\pi_{\mathrm{ref}}}A_r^{\pi_{\mathrm{ref}}} A r = C π θ π ref A r π ref is the approximated policy gradient and F θ = E d π θ [ ∇ θ log π θ ( ∇ θ log π θ ) T ] F_\theta=\mathbb{E}_{d^{\pi_\theta}}\left[\nabla_\theta\log\pi_\theta(\nabla_\theta\log\pi_\theta)^{\mathsf T}\right] F θ = E d π θ [ ∇ θ log π θ ( ∇ θ log π θ ) T ] denotes the Fisher matrix according to policy π θ \pi_\theta π θ with † \dagger † denoting pseudo-inverse.
Proof. Fix a reward r r r with ∥ r ∥ ν ≤ 1 \lVert r\rVert_\nu\leq1 ∥ r ∥ ν ≤ 1 , and set
e r : = A r π r e f − A ^ r , G r ( θ ) = ∇ θ J r ( π θ ) , b r : = G r ( θ ) − G ^ r ( θ ) = E d π θ [ ∇ θ log π θ e r ] . e_r:=A_r^{\pi_{\mathrm{ref}}}-\widehat{A}_r,\quad G_r(\theta)=\nabla_\theta J_r(\pi_\theta),\quad b_r:=G_r(\theta)-\widehat{G}_r(\theta)=\mathbb{E}_{d^{\pi_\theta}}\left[\nabla_\theta\log\pi_\theta e_r\right]. e r := A r π ref − A r , G r ( θ ) = ∇ θ J r ( π θ ) , b r := G r ( θ ) − G r ( θ ) = E d π θ [ ∇ θ log π θ e r ] .
Write
ε δ : = ( γ L max 2 2 ( 1 − γ ) δ ) 1 / 2 . (74) \varepsilon_\delta:=\left(\frac{\gamma L_{\max}^{2}}{2(1-\gamma)}\delta\right)^{1/2}. \tag*{(74)} ε δ := ( 2 ( 1 − γ ) γ L m a x 2 δ ) 1/2 . (74)
By Theorem D.11, the advantage transfer bound yields
∥ e r ∥ d π θ 2 ≤ γ L max 2 2 ( 1 − γ ) D K L ( π θ ∥ π r e f ) < ε δ 2 . (75) \lVert e_r\rVert_{d^{\pi_\theta}}^{2}\leq\frac{\gamma L_{\max}^{2}}{2(1-\gamma)}D_{\mathrm{KL}}(\pi_\theta\Vert\pi_{\mathrm{ref}})<\varepsilon_\delta^{2}. \tag*{(75)} ∥ e r ∥ d π θ 2 ≤ 2 ( 1 − γ ) γ L m a x 2 D KL ( π θ ∥ π ref ) < ε δ 2 . (75)
For any vector u u u , Cauchy–Schwarz gives
∣ u T b r ∣ ≤ ( E d π θ [ ( u T ∇ θ log π θ ) 2 ] ) 1 / 2 ∥ e r ∥ d π θ = u T F θ u ∥ e r ∥ d π θ . (76) \left|u^{\mathsf T}b_r\right|\leq\left(\mathbb{E}_{d^{\pi_\theta}}\left[(u^{\mathsf T}\nabla_\theta\log\pi_\theta)^2\right]\right)^{1/2}\lVert e_r\rVert_{d^{\pi_\theta}}=\sqrt{u^{\mathsf T}F_\theta u}\lVert e_r\rVert_{d^{\pi_\theta}}. \tag*{(76)} u T b r ≤ ( E d π θ [ ( u T ∇ θ log π θ ) 2 ] ) 1/2 ∥ e r ∥ d π θ = u T F θ u ∥ e r ∥ d π θ . (76)
Taking u = F θ † b r u=F_\theta^\dagger b_r u = F θ † b r and using F θ † F θ F θ † = F θ † F_\theta^\dagger F_\theta F_\theta^\dagger=F_\theta^\dagger F θ † F θ F θ † = F θ † , we obtain ∥ b r ∥ F θ † 2 ≤ ∥ b r ∥ F θ † ∥ e r ∥ d π θ \lVert b_r\rVert_{F_\theta^\dagger}^{2}\leq\lVert b_r\rVert_{F_\theta^\dagger}\lVert e_r\rVert_{d^{\pi_\theta}} ∥ b r ∥ F θ † 2 ≤ ∥ b r ∥ F θ † ∥ e r ∥ d π θ , which further gives
∥ b r ∥ F θ † 2 ≤ ∥ e r ∥ d π θ 2 < ε δ 2 . \lVert b_r\rVert_{F_\theta^\dagger}^{2}\leq\lVert e_r\rVert_{d^{\pi_\theta}}^{2}<\varepsilon_\delta^{2}. ∥ b r ∥ F θ † 2 ≤ ∥ e r ∥ d π θ 2 < ε δ 2 .
Note that the above inequality holds for all reward function. Take the supremum and we prove the theorem.
Proof of Corollary D.12
Corollary D.13 (Policy improvement using transferred SUAF). Under the conditions of Theorem D.12, fix a reward r r r with ∥ r ∥ ν ≤ 1 \lVert r\rVert_\nu\leq1 ∥ r ∥ ν ≤ 1 and define u r : = F θ † G ^ r ( θ ) u_r:=F_\theta^\dagger\widehat{G}_r(\theta) u r := F θ † G r ( θ ) , s r : = ∥ G ^ r ( θ ) ∥ F θ † s_r:=\lVert\widehat{G}_r(\theta)\rVert_{F_\theta^\dagger} s r := ∥ G r ( θ ) ∥ F θ † , ε δ : = ( γ L max 2 2 ( 1 − γ ) δ ) 1 / 2 \varepsilon_\delta:=\left(\frac{\gamma L_{\max}^{2}}{2(1-\gamma)}\delta\right)^{1/2} ε δ := ( 2 ( 1 − γ ) γ L m a x 2 δ ) 1/2 . Then ∇ θ J r ( π θ ) T u r ≥ s r ( s r − ε δ ) \nabla_\theta J_r(\pi_\theta)^{\mathsf T}u_r\geq s_r(s_r-\varepsilon_\delta) ∇ θ J r ( π θ ) T u r ≥ s r ( s r − ε δ ) . In particular, if s r > ε δ s_r>\varepsilon_\delta s r > ε δ , then u r u_r u r is a strict ascent direction, and there exists η 0 > 0 \eta_0>0 η 0 > 0 such that
J r ( π θ + η u r ) > J r ( π θ ) , 0 < η < η 0 . (77) J_r(\pi_{\theta+\eta u_r})>J_r(\pi_\theta),\qquad0<\eta<\eta_0. \tag*{(77)} J r ( π θ + η u r ) > J r ( π θ ) , 0 < η < η 0 . (77) Moreover, if θ ↦ J r ( π θ ) \theta\mapsto J_r(\pi_\theta) θ ↦ J r ( π θ ) has an L L L -Lipschitz gradient on a convex neighborhood containing the update segment, strict improvement holds whenever
0 < η < 2 s r ( s r − ε δ ) L ∥ u r ∥ 2 2 . (78) 0<\eta<\frac{2s_r(s_r-\varepsilon_\delta)}{L\lVert u_r\rVert_2^{2}}. \tag*{(78)} 0 < η < L ∥ u r ∥ 2 2 2 s r ( s r − ε δ ) . (78)
Proof. Fix a reward r r r with ∥ r ∥ ν ≤ 1 \lVert r\rVert_{\nu} \le1 ∥ r ∥ ν ≤ 1 , by Theorem D.12, we have that
∥ G r − G ^ r ∥ F θ † ≤ ε δ . \lVert G_r-\widehat{G}_r\rVert_{F_\theta^\dagger} \le\varepsilon_\delta. ∥ G r − G r ∥ F θ † ≤ ε δ .
Therefore, Cauchy–Schwarz for the positive semi-definite form induced by F θ † F_\theta^\dagger F θ † gives
G r T u r = G ^ r T F θ † G ^ r + ( G r − G ^ r ) T F θ † G ^ r ≥ s r 2 − ∥ G r − G ^ r ∥ F θ † s r ≥ s r ( s r − ε δ ) . (79) \begin{aligned}
G_r^\mathsf{T}u_r &= \widehat{G}_r^\mathsf{T}F_\theta^\dagger\widehat{G}_r + (G_r-\widehat{G}_r)^\mathsf{T}F_\theta^\dagger\widehat{G}_r \\
&\ge s_r^2-\lVert G_r-\widehat{G}_r\rVert_{F_\theta^\dagger}s_r \\
&\ge s_r(s_r-\varepsilon_\delta). \tag*{(79)}
\end{aligned} G r T u r = G r T F θ † G r + ( G r − G r ) T F θ † G r ≥ s r 2 − ∥ G r − G r ∥ F θ † s r ≥ s r ( s r − ε δ ) . (79)
When s r > ε δ s_r>\varepsilon_\delta s r > ε δ , this directional derivative is strictly positive. Differentiability implies
J r ( π θ + η u r ) − J r ( π θ ) = η G r T u r + o ( η ) ≥ 0 J_r(\pi_{\theta+\eta u_r})-J_r(\pi_\theta)=\eta G_r^\mathsf{T}u_r+o(\eta)\ge0 J r ( π θ + η u r ) − J r ( π θ ) = η G r T u r + o ( η ) ≥ 0
for all sufficiently small η > 0 \eta>0 η > 0 . Under the additional smoothness assumption,
J r ( π θ + η u r ) − J r ( π θ ) ≥ η G r T u r − L η 2 2 ∥ u r ∥ 2 2 ≥ η s r ( s r − ε δ ) − L η 2 2 ∥ u r ∥ 2 2 . (80) \begin{aligned}
J_r(\pi_{\theta+\eta u_r})-J_r(\pi_\theta)\ge\eta G_r^\mathsf{T}u_r-\frac{L\eta^2}{2}\lVert u_r\rVert_2^2 \\
&\ge\eta s_r(s_r-\varepsilon_\delta)-\frac{L\eta^2}{2}\lVert u_r\rVert_2^2. \tag*{(80)}
\end{aligned} J r ( π θ + η u r ) − J r ( π θ ) ≥ η G r T u r − 2 L η 2 ∥ u r ∥ 2 2 ≥ η s r ( s r − ε δ ) − 2 L η 2 ∥ u r ∥ 2 2 . (80)
The stated step-size condition makes this lower bound strictly positive. □
Proof of Corollary 4.3
Corollary D.14 (Policy-gradient error with truncated SUAF). Let π = π r e f \pi=\pi_{\mathrm{ref}} π = π ref and π ′ = π θ \pi'=\pi_\theta π ′ = π θ . Suppose D K L ( π ′ ∥ π ) < δ D_{\mathrm{KL}}(\pi'\mathbin\Vert\pi)<\delta D KL ( π ′ ∥ π ) < δ . Define the transferred rank-k k k approximation by
A ^ π k ( s , a ) = C π ′ r + γ 1 − γ ∑ i = 1 k σ i + , π ( C π ′ f i π ) ⟨ g i π , r ⟩ ν + , π , \widehat{A}_{\pi}^{k}(s,a)=C_{\pi'\!}r+\frac{\gamma}{1-\gamma}\sum_{i=1}^{k}\sigma_i^{+,\pi}(C_{\pi'}f_i^\pi)\langle g_i^\pi,r\rangle_{\nu^{+,\pi}}, A π k ( s , a ) = C π ′ r + 1 − γ γ i = 1 ∑ k σ i + , π ( C π ′ f i π ) ⟨ g i π , r ⟩ ν + , π ,
and let G ^ θ k ( r ) = E d π ′ [ ∇ θ log π θ ( a ∣ s ) A ^ π k ( s , a ) ] \widehat{G}_\theta^k(r)=\mathbb{E}_{d_{\pi'}}[\nabla_\theta\log\pi_\theta(a\mid s)\widehat{A}_{\pi}^{k}(s,a)] G θ k ( r ) = E d π ′ [ ∇ θ log π θ ( a ∣ s ) A π k ( s , a )] . For η δ = min { 1 , δ / [ 2 ( 1 − γ ) ] } \eta_\delta=\min\left\{1,\sqrt{\delta/[2(1-\gamma)]}\right\} η δ = min { 1 , δ / [ 2 ( 1 − γ )] } , B ( δ ) = min { R max 2 , 1 + R max 2 C γ δ } B(\delta)=\min\left\{R_{\max}^2,1+R_{\max}^2C_\gamma\sqrt{\delta}\right\} B ( δ ) = min { R m a x 2 , 1 + R m a x 2 C γ δ } with C γ = ( 4 + γ − 1 ) / [ 2 ( 1 − γ ) 2 ] C_\gamma=\sqrt{(4+\gamma^{-1})/[2(1-\gamma)^2]} C γ = ( 4 + γ − 1 ) / [ 2 ( 1 − γ ) 2 ] ,
sup ∥ r ∥ ν + , π ′ ≤ 1 ∥ ∇ θ J ‾ r ( π θ ) − G ^ θ k ( r ) ∥ F θ † 2 ≤ B ( δ ) [ γ δ L max 2 2 ( 1 − γ ) + ( γ 1 − γ ) 2 ( σ k + 1 + , π ) 2 + L max 2 η δ ] 2 . \sup_{\lVert r\rVert_{\nu^{+,\pi'}\le1}}\left\lVert\nabla_\theta\overline{J}_r(\pi_\theta)-\widehat{G}_\theta^k(r)\right\rVert_{F_\theta^\dagger}^2
\le B(\delta)\left[\sqrt{\frac{\gamma\delta L_{\max}^2}{2(1-\gamma)}}+\sqrt{\left(\frac{\gamma}{1-\gamma}\right)^2(\sigma_{k+1}^{+,\pi})^2+L_{\max}^2\eta_\delta}\right]^2. ∥ r ∥ ν + , π ′ ≤ 1 sup ∇ θ J r ( π θ ) − G θ k ( r ) F θ † 2 ≤ B ( δ ) 2 ( 1 − γ ) γ δ L m a x 2 + ( 1 − γ γ ) 2 ( σ k + 1 + , π ) 2 + L m a x 2 η δ 2 .
Proof. Write
c = γ 1 − γ , ν = ν + , π , ν ′ = ν + , π ′ , c=\frac{\gamma}{1-\gamma},\qquad\nu=\nu^{+,\pi},\qquad\nu'=\nu^{+,\pi'}, c = 1 − γ γ , ν = ν + , π , ν ′ = ν + , π ′ ,
and let
D = E s ∼ d π ′ π ′ D K L ( π ′ ( ⋅ ∣ s ) ∥ π ( ⋅ ∣ s ) ) < δ . \mathcal{D}=\mathbb{E}_{s\sim d_{\pi'}^{\pi'}}D_{\mathrm{KL}}\bigl(\pi'(\cdot\mid s)\mathbin\Vert\pi(\cdot\mid s)\bigr)<\delta. D = E s ∼ d π ′ π ′ D KL ( π ′ ( ⋅ ∣ s ) ∥ π ( ⋅ ∣ s ) ) < δ .
Step 1: Controlling the changes in sampling distributions. Let T 0 T_0 T 0 be independent of the trajectory with Pr ( T 0 = t ) = ( 1 − γ ) γ t \Pr(T_0=t)=(1-\gamma)\gamma^t Pr ( T 0 = t ) = ( 1 − γ ) γ t for t ≥ 0 t\ge0 t ≥ 0 . The distribution of ( S T 0 , A T 0 ) (S_{T_0},A_{T_0}) ( S T 0 , A T 0 ) under a policy ρ \rho ρ is d ρ d^\rho d ρ . By the chain rule, the KL divergence between the laws of the trajectories stopped at T 0 T_0 T 0 , under π ′ \pi' π ′ and π \pi π , equals
∑ t = 0 ∞ γ t E π ′ [ D K L ( π ′ ( ⋅ ∣ S t ) ∥ π ( ⋅ ∣ S t ) ) ] = D 1 − γ . \sum_{t=0}^{\infty}\gamma^t\mathbb{E}_{\pi'}\left[\operatorname{D}_{\mathrm{KL}}\left(\pi'(\cdot\mid S_t)\Vert\pi(\cdot\mid S_t)\right)\right]=\frac{\mathcal{D}}{1-\gamma}. t = 0 ∑ ∞ γ t E π ′ [ D KL ( π ′ ( ⋅ ∣ S t ) ∥ π ( ⋅ ∣ S t ) ) ] = 1 − γ D .
Pinsker’s inequality therefore yield
TV ( d π ′ , d π ) ≤ min { 1 , D 2 ( 1 − γ ) } ≤ η δ . (81) \operatorname{TV}(d^{\pi'},d^\pi)\le\min\left\{1,\sqrt{\frac{\mathcal{D}}{2(1-\gamma)}}\right\}\le\eta_\delta. \tag*{(81)} TV ( d π ′ , d π ) ≤ min { 1 , 2 ( 1 − γ ) D } ≤ η δ . (81)
To control ν ′ \nu' ν ′ and ν \nu ν , independently draw L ≥ 1 L\ge1 L ≥ 1 with Pr ( L = ℓ ) = ( 1 − γ ) γ ℓ − 1 \Pr(L=\ell)=(1-\gamma)\gamma^{\ell-1} Pr ( L = ℓ ) = ( 1 − γ ) γ ℓ − 1 and set N = T 0 + L N=T_0+L N = T 0 + L . The distribution of ( S N , A N ) (S_N,A_N) ( S N , A N ) under ρ \rho ρ is ν + , ρ = d ρ M + , ρ \nu^{+,\rho}=d^\rho M^{+,\rho} ν + , ρ = d ρ M + , ρ . Define
ϵ t = E π ′ [ TV ( π ′ ( ⋅ ∣ S t ) , π ( ⋅ ∣ S t ) ) ] . \epsilon_t=\mathbb{E}_{\pi'}\left[\operatorname{TV}\left(\pi'(\cdot\mid S_t),\pi(\cdot\mid S_t)\right)\right]. ϵ t = E π ′ [ TV ( π ′ ( ⋅ ∣ S t ) , π ( ⋅ ∣ S t ) ) ] .
Jensen’s and Pinsker’s inequalities imply
∑ t = 0 ∞ ( 1 − γ ) γ t ϵ t 2 ≤ D 2 . \sum_{t=0}^{\infty}(1-\gamma)\gamma^t\epsilon_t^2\le\frac{\mathcal{D}}{2}. t = 0 ∑ ∞ ( 1 − γ ) γ t ϵ t 2 ≤ 2 D .
For each fixed horizon, replacing the action kernels one at a time bounds the total variation of the terminal distribution by the sum of the expected per-step action total variations under π ′ \pi' π ′ . Averaging over N N N consequently gives
TV ( ν ′ , ν ) ≤ ∑ t = 0 ∞ a t ϵ t , a t : = Pr ( N ≥ t ) . \operatorname{TV}(\nu',\nu)\le\sum_{t=0}^{\infty}a_t\epsilon_t,\qquad a_t:=\Pr(N\ge t). TV ( ν ′ , ν ) ≤ t = 0 ∑ ∞ a t ϵ t , a t := Pr ( N ≥ t ) .
Here
a 0 = 1 , a t = γ t + t ( 1 − γ ) γ t − 1 , t ≥ 1. a_0=1,\qquad a_t=\gamma^t+t(1-\gamma)\gamma^{t-1},\qquad t\ge1. a 0 = 1 , a t = γ t + t ( 1 − γ ) γ t − 1 , t ≥ 1.
Weighted Cauchy–Schwarz yields
TV ( ν ′ , ν ) 2 ≤ ( ∑ t = 0 ∞ a t 2 ( 1 − γ ) γ t ) ( ∑ t = 0 ∞ ( 1 − γ ) γ t ϵ t 2 ) ≤ 4 + γ − 1 ( 1 − γ ) 2 D 2 ≤ C γ 2 δ . \operatorname{TV}(\nu',\nu)^2\le\left(\sum_{t=0}^{\infty}\frac{a_t^2}{(1-\gamma)\gamma^t}\right)\left(\sum_{t=0}^{\infty}(1-\gamma)\gamma^t\epsilon_t^2\right)\le\frac{4+\gamma^{-1}}{(1-\gamma)^2}\frac{\mathcal{D}}{2}\le C_\gamma^2\delta. TV ( ν ′ , ν ) 2 ≤ ( t = 0 ∑ ∞ ( 1 − γ ) γ t a t 2 ) ( t = 0 ∑ ∞ ( 1 − γ ) γ t ϵ t 2 ) ≤ ( 1 − γ ) 2 4 + γ − 1 2 D ≤ C γ 2 δ .
Consequently, for every reward satisfying ∥ r ∥ ν ′ ≤ 1 \lVert r\rVert_{\nu'}\le1 ∥ r ∥ ν ′ ≤ 1 and ∥ r ∥ ∞ ≤ R max \lVert r\rVert_\infty\le R_{\max} ∥ r ∥ ∞ ≤ R m a x ,
∥ r ∥ ν 2 ≤ ∥ r ∥ ν ′ 2 + R max 2 TV ( ν , ν ′ ) ≤ 1 + R max 2 C γ δ . \lVert r\rVert_\nu^2\le\lVert r\rVert_{\nu'}^2+R_{\max}^2\operatorname{TV}(\nu,\nu')\le1+R_{\max}^2C_\gamma\sqrt{\delta}. ∥ r ∥ ν 2 ≤ ∥ r ∥ ν ′ 2 + R m a x 2 TV ( ν , ν ′ ) ≤ 1 + R m a x 2 C γ δ .
Since also ∥ r ∥ ν 2 ≤ R max 2 \lVert r\rVert_\nu^2\le R_{\max}^2 ∥ r ∥ ν 2 ≤ R m a x 2 , we obtain
∥ r ∥ ν 2 ≤ B ( δ ) . (82) \lVert r\rVert_\nu^2\le B(\delta). \tag*{(82)} ∥ r ∥ ν 2 ≤ B ( δ ) . (82)
Step 2: Bounding the spectral residual on the reference reward ball. Temporarily fix a reward u u u with ∥ u ∥ ν ≤ 1 \lVert u\rVert_{\nu} \le1 ∥ u ∥ ν ≤ 1 . Define its omitted reward component by
u > k = ∑ i = k + 1 R ⟨ g ˉ i π , u ⟩ ν g ˉ i π . u_{>k} = \sum_{i=k+1}^{R} \langle\bar{g}^{\pi}_{i},u\rangle_{\nu} \bar{g}^{\pi}_{i}. u > k = i = k + 1 ∑ R ⟨ g ˉ i π , u ⟩ ν g ˉ i π .
Orthonormality gives ∥ u > k ∥ ν ≤ 1 \lVert u_{>k}\rVert_{\nu} \le1 ∥ u > k ∥ ν ≤ 1 .
The state-action transition operator satisfies P π C π = 0 P_{\pi}C_{\pi}=0 P π C π = 0 , and hence T + , π C π = 0 T^{+,\pi}C_{\pi}=0 T + , π C π = 0 . Moreover, ν ( s , a ) = ν S ( s ) π ( a ∣ s ) \nu(s,a)=\nu_{S}(s)\pi(a\mid s) ν ( s , a ) = ν S ( s ) π ( a ∣ s ) , so C π C_{\pi} C π is an orthogonal projection in L 2 ( ν ) L^{2}(\nu) L 2 ( ν ) . Every right singular function corresponding to a nonzero singular value therefore satisfies
C π g ˉ i π = 0. C_{\pi}\bar{g}^{\pi}_{i}=0. C π g ˉ i π = 0.
Indeed, for every v ∈ L 2 ( ν ) v\in L^{2}(\nu) v ∈ L 2 ( ν ) ,
⟨ g ˉ i π , C π v ⟩ ν = 1 σ i + , π ⟨ f i π , T + , π C π v ⟩ d π = 0. \langle\bar{g}^{\pi}_{i},C_{\pi}v\rangle_{\nu}
=\frac{1}{\sigma^{+,\pi}_{i}}\langle f^{\pi}_{i},T^{+,\pi}C_{\pi}v\rangle_{d_{\pi}}=0. ⟨ g ˉ i π , C π v ⟩ ν = σ i + , π 1 ⟨ f i π , T + , π C π v ⟩ d π = 0.
It follows that C π u > k = 0 C_{\pi}u_{>k}=0 C π u > k = 0 and
e k , u : = A u π − A u , k π = c ∑ i = k + 1 R σ i + , π f i π ⟨ g ˉ i π , u ⟩ ν = A u > k π . (83) e_{k,u}:=A^{\pi}_{u}-A^{\pi}_{u,k}
=c\sum_{i=k+1}^{R}\sigma^{+,\pi}_{i}f^{\pi}_{i}\langle\bar{g}^{\pi}_{i},u\rangle_{\nu}
=A^{\pi}_{u_{>k}}. \tag*{(83)} e k , u := A u π − A u , k π = c i = k + 1 ∑ R σ i + , π f i π ⟨ g ˉ i π , u ⟩ ν = A u > k π . (83)
Because ∥ u > k ∥ ν ≤ 1 \lVert u_{>k}\rVert_{\nu}\le1 ∥ u > k ∥ ν ≤ 1 , the definition of L max L_{\max} L m a x bounds the action span of e k , u e_{k,u} e k , u by L max L_{\max} L m a x . Its conditional action mean under π \pi π is zero. Therefore
∣ e k , u ( s , a ) ∣ ≤ L max . \lvert e_{k,u}(s,a)\rvert\le L_{\max}. ∣ e k , u ( s , a )∣ ≤ L m a x .
The spectral approximation bound also gives
∥ e k , u ∥ d π 2 ≤ c 2 ( σ k + 1 + , π ) 2 . \lVert e_{k,u}\rVert_{d_{\pi}}^{2}\le c^{2}\left(\sigma^{+,\pi}_{k+1}\right)^{2}. ∥ e k , u ∥ d π 2 ≤ c 2 ( σ k + 1 + , π ) 2 .
Using equation 81, we conclude
∥ e k , u ∥ d π ′ 2 ≤ ∥ e k , u ∥ d π 2 + L max 2 TV ( d π ′ , d π ) ≤ c 2 ( σ k + 1 + , π ) 2 + L max 2 η δ . (84) \begin{aligned}
\lVert e_{k,u}\rVert_{d_{\pi'}}^{2}
&\le\lVert e_{k,u}\rVert_{d_{\pi}}^{2}+L_{\max}^{2}\operatorname{TV}(d^{\pi'},d^{\pi})\\
&\le c^{2}\left(\sigma^{+,\pi}_{k+1}\right)^{2}+L_{\max}^{2}\eta\delta. \tag*{(84)}
\end{aligned} ∥ e k , u ∥ d π ′ 2 ≤ ∥ e k , u ∥ d π 2 + L m a x 2 TV ( d π ′ , d π ) ≤ c 2 ( σ k + 1 + , π ) 2 + L m a x 2 η δ . (84)
Step 3: Combining transfer and truncation errors. Let A ^ u ∞ = C π ′ Q u π \widehat{A}^{\infty}_{u}=C_{\pi'}Q^{\pi}_{u} A u ∞ = C π ′ Q u π denote the transferred full-rank representation. Since C π ′ C_{\pi'} C π ′ annihilates state-dependent functions, the transferred truncated representation satisfies A ^ u k = C π ′ A u , k π \widehat{A}^{k}_{u}=C_{\pi'}A^{\pi}_{u,k} A u k = C π ′ A u , k π . Thus
A ^ u ∞ − A ^ u k = C π ′ e k , u . \widehat{A}^{\infty}_{u}-\widehat{A}^{k}_{u}=C_{\pi'}e_{k,u}. A u ∞ − A u k = C π ′ e k , u .
The operator C π ′ C_{\pi'} C π ′ is an orthogonal projection in L 2 ( d π ′ ) L^{2}(d^{\pi'}) L 2 ( d π ′ ) , so
∥ A ^ u ∞ − A ^ u k ∥ d π ′ ≤ ∥ e k , u ∥ d π ′ . \lVert\widehat{A}^{\infty}_{u}-\widehat{A}^{k}_{u}\rVert_{d^{\pi'}}
\le\lVert e_{k,u}\rVert_{d^{\pi'}}. ∥ A u ∞ − A u k ∥ d π ′ ≤ ∥ e k , u ∥ d π ′ .
Combining equation 84 with the full-rank transfer theorem and the triangle inequality gives
∥ A u π ′ − A ^ u k ∥ d π ′ ≤ ∥ A u π ′ − A ^ u ∞ ∥ d π ′ + ∥ A ^ u ∞ − A ^ u k ∥ d π ′ ≤ L max γ δ 2 ( 1 − γ ) + c 2 ( σ k + 1 + , π ) 2 + L max 2 η δ . \begin{aligned}
\left\|A_u^{\pi'}-\widehat{A}_u^k\right\|_{d^{\pi'}} \le\left\|A_u^{\pi'}-\widehat{A}_u^\infty\right\|_{d^{\pi'}}+\left\|\widehat{A}_u^\infty-\widehat{A}_u^k\right\|_{d^{\pi'}} \\
&\le L_{\max}\sqrt{\frac{\gamma\delta}{2(1-\gamma)}}+\sqrt{c^2\left(\sigma_{k+1}^{+,\pi}\right)^2+L_{\max}^2\eta\delta}.
\end{aligned} A u π ′ − A u k d π ′ ≤ A u π ′ − A u ∞ d π ′ + A u ∞ − A u k d π ′ ≤ L m a x 2 ( 1 − γ ) γ δ + c 2 ( σ k + 1 + , π ) 2 + L m a x 2 η δ .
For J ‾ u = ( 1 − γ ) J u \overline{J}_u=(1-\gamma)J_u J u = ( 1 − γ ) J u , the policy-gradient identity and Cauchy–Schwarz imply
∥ ∇ θ J ‾ u ( π θ ) − G ^ θ k ( u ) ∥ F θ ′ ≤ ∥ A u π ′ − A ^ u k ∥ d π ′ . \left\|\nabla_\theta\overline{J}_u(\pi_\theta)-\widehat{G}_\theta^k(u)\right\|_{F_\theta'}\le\left\|A_u^{\pi'}-\widehat{A}_u^k\right\|_{d^{\pi'}}. ∇ θ J u ( π θ ) − G θ k ( u ) F θ ′ ≤ A u π ′ − A u k d π ′ .
Indeed, writing s θ = ∇ θ log π θ ( a ∣ s ) s_\theta=\nabla_\theta\log\pi_\theta(a\mid s) s θ = ∇ θ log π θ ( a ∣ s ) , the gradient error is E d π ′ [ s θ ( A u π ′ − A ^ u k ) ] \mathbb{E}_{d^{\pi'}}[s_\theta(A_u^{\pi'}-\widehat{A}_u^k)] E d π ′ [ s θ ( A u π ′ − A u k )] , and F θ = E d π ′ [ s θ s θ ⊤ ] F_\theta=\mathbb{E}_{d^{\pi'}}[s_\theta s_\theta^\top] F θ = E d π ′ [ s θ s θ ⊤ ] .
Step 4: Returning to the target reward class. Now let ∥ r ∥ ν ′ ≤ 1 \|r\|_{\nu'}\le1 ∥ r ∥ ν ′ ≤ 1 and ∥ r ∥ ∞ ≤ R max \|r\|_\infty\le R_{\max} ∥ r ∥ ∞ ≤ R m a x . If t : = ∥ r ∥ ν > 0 t:=\|r\|_\nu>0 t := ∥ r ∥ ν > 0 , set u = r / t u=r/t u = r / t . Then ∥ u ∥ ν = 1 \|u\|_\nu=1 ∥ u ∥ ν = 1 . Both the exact policy gradient and its SUAF estimate are linear in the reward, so their error for r r r equals t t t times their error for u u u . Using equation 82, we obtain
∥ ∇ θ J ‾ r ( π θ ) − G ^ θ k ( r ) ∥ F θ ′ 2 ≤ B ( δ ) [ L max γ δ 2 ( 1 − γ ) + c 2 ( σ k + 1 + , π ) 2 + L max 2 η δ ] 2 . \left\|\nabla_\theta\overline{J}_r(\pi_\theta)-\widehat{G}_\theta^k(r)\right\|_{F_\theta'}^2\le B(\delta)\left[L_{\max}\sqrt{\frac{\gamma\delta}{2(1-\gamma)}}+\sqrt{c^2\left(\sigma_{k+1}^{+,\pi}\right)^2+L_{\max}^2\eta\delta}\right]^2. ∇ θ J r ( π θ ) − G θ k ( r ) F θ ′ 2 ≤ B ( δ ) [ L m a x 2 ( 1 − γ ) γ δ + c 2 ( σ k + 1 + , π ) 2 + L m a x 2 η δ ] 2 .
The case t = 0 t=0 t = 0 is immediate under the full-support assumption. Taking the supremum over { r : ∥ r ∥ ν ′ ≤ 1 , ∥ r ∥ ∞ ≤ R max } \{r:\|r\|_{\nu'}\le1,\ \|r\|_\infty\le R_{\max}\} { r : ∥ r ∥ ν ′ ≤ 1 , ∥ r ∥ ∞ ≤ R m a x } completes the proof. □ \square □
Algorithms
Algorithm to Estimate SUAF
We provide the derivations omitted from the main text.
Reverse conditional and marginal distributions. For one-step transitions ( s , a ) ∼ d π (s,a)\sim d^\pi ( s , a ) ∼ d π and ( s ′ , a ′ ) ∼ P π ( ⋅ ∣ s , a ) = π ( a ′ ∣ s ′ ) T ( s ′ ∣ s , a ) (s',a')\sim P_\pi(\cdot\mid s,a)=\pi(a'\mid s')T(s'\mid s,a) ( s ′ , a ′ ) ∼ P π ( ⋅ ∣ s , a ) = π ( a ′ ∣ s ′ ) T ( s ′ ∣ s , a ) , the reverse conditional is
p π ( s , a ∣ s ′ , a ′ ) = d π ( s , a ) P π ( s ′ , a ′ ∣ s , a ) ν 1 π ( s ′ , a ′ ) , p_\pi(s,a\mid s',a')=\frac{d^\pi(s,a)P_\pi(s',a'\mid s,a)}{\nu_1^\pi(s',a')}, p π ( s , a ∣ s ′ , a ′ ) = ν 1 π ( s ′ , a ′ ) d π ( s , a ) P π ( s ′ , a ′ ∣ s , a ) ,
with marginal
ν 1 π ( ⋅ , ⋅ ) : = ∑ s , a d π ( s , a ) P π ( ⋅ , ⋅ ∣ s , a ) . \nu_1^\pi(\cdot,\cdot):=\sum_{s,a}d^\pi(s,a)P_\pi(\cdot,\cdot\mid s,a). ν 1 π ( ⋅ , ⋅ ) := s , a ∑ d π ( s , a ) P π ( ⋅ , ⋅ ∣ s , a ) .
All density ratios reduce to one when d π d^\pi d π is stationary.
Adjoint interpretation. Denote by ( T + , π ) ∗ (T^{+,\pi})^* ( T + , π ) ∗ the adjoint of T + , π T^{+,\pi} T + , π . Then b = ( T + , π ) ∗ f θ b=(T^{+,\pi})^*f_\theta b = ( T + , π ) ∗ f θ and h − E π [ h ∣ s ] = T + , π g ω h-\mathbb{E}_\pi[h\mid s]=T^{+,\pi}g_\omega h − E π [ h ∣ s ] = T + , π g ω , which yields the two equivalent expressions in equation 12.
Backward prediction with marginal correction. When the sampling distribution is not stationary, we define
w 1 ( s ′ , a ′ ) = ν 1 π ( s ′ , a ′ ) d π ( s ′ , a ′ ) , w + ( s ′ , a ′ ) = d π ( s ′ , a ′ ) ν + , π ( s ′ , a ′ ) . w_1(s',a') = \frac{\nu_1^\pi(s',a')}{d^\pi(s',a')}, \qquad w_+(s',a') = \frac{d^\pi(s',a')}{\nu^{+,\pi}(s',a')}. w 1 ( s ′ , a ′ ) = d π ( s ′ , a ′ ) ν 1 π ( s ′ , a ′ ) , w + ( s ′ , a ′ ) = ν + , π ( s ′ , a ′ ) d π ( s ′ , a ′ ) .
Writing b = w + v b = w_+v b = w + v , the backward recursion becomes
v ( s ′ , a ′ ) = w 1 ( s ′ , a ′ ) E [ ( 1 − γ ) f θ ( s , a ) + γ v ( s , a ) ∣ s ′ , a ′ ] , v(s',a') = w_1(s',a')\mathbb{E}[(1-\gamma)f_\theta(s,a) + \gamma v(s,a) \mid s',a'], v ( s ′ , a ′ ) = w 1 ( s ′ , a ′ ) E [( 1 − γ ) f θ ( s , a ) + γ v ( s , a ) ∣ s ′ , a ′ ] ,
and b ^ θ = w + v η \hat b_\theta= w_+v_\eta b ^ θ = w + v η .
Surrogate backward loss. Below, we treat sg ( ⋅ ) \operatorname{sg}(\cdot) sg ( ⋅ ) as a stop-gradient constant. There are only two key identities:
E ν [ d π ν h ] = E d π [ h ] , E ν B [ w h ] = E P h . \mathbb{E}_{\nu}\left[\frac{d^\pi}{\nu}h\right] = \mathbb{E}_{d^\pi}[h], \qquad\mathbb{E}_{\nu_B}[wh] = \mathbb{E}_{P}h. E ν [ ν d π h ] = E d π [ h ] , E ν B [ w h ] = E P h .
where P P P is the joint distribution after one step starting from d π d^\pi d π .
Let
T ( s , a ) = ( 1 − γ ) f θ ( s , a ) + γ v η ˉ ( s , a ) . T(s,a) = (1-\gamma)f_\theta(s,a) + \gamma v_{\bar\eta}(s,a). T ( s , a ) = ( 1 − γ ) f θ ( s , a ) + γ v η ˉ ( s , a ) .
Taking one step from d π d^\pi d π yields
P ( s ′ , a ′ ) = ∑ s , a d π ( s , a ) P π ( s ′ , a ′ ∣ s , a ) . P(s',a') = \sum_{s,a} d^\pi(s,a)P_\pi(s',a'\mid s,a). P ( s ′ , a ′ ) = s , a ∑ d π ( s , a ) P π ( s ′ , a ′ ∣ s , a ) .
Define
ν B ( s ′ , a ′ ) = γ P ( s ′ , a ′ ) + ( 1 − γ ) d 0 ( s ′ , a ′ ) , w 1 ( s ′ , a ′ ) = P ( s ′ , a ′ ) ν B ( s ′ , a ′ ) . \nu_B(s',a') = \gamma P(s',a') + (1-\gamma)d_0(s',a'), \qquad w_1(s',a') = \frac{P(s',a')}{\nu_B(s',a')}. ν B ( s ′ , a ′ ) = γ P ( s ′ , a ′ ) + ( 1 − γ ) d 0 ( s ′ , a ′ ) , w 1 ( s ′ , a ′ ) = ν B ( s ′ , a ′ ) P ( s ′ , a ′ ) .
This is exactly the density ratio. The original backward loss with density ratio can be written in weighted least-squares form
L B ( η ) = 1 2 E ( s ′ , a ′ ) ∼ ν B [ ∥ v η ( s ′ , a ′ ) − w 1 ( s ′ , a ′ ) sg ( E P π [ T ( s , a ) ∣ s ′ , a ′ ] ) ∥ 2 ] + c o n s t . \mathcal{L}_B(\eta) = \frac{1}{2}\mathbb{E}_{(s',a')\sim\nu_B}\left[\left\|v_\eta(s',a') - w_1(s',a')\operatorname{sg}\left(\mathbb{E}_{P_\pi}[T(s,a)\mid s',a']\right)\right\|^2\right] + \mathrm{const.} L B ( η ) = 2 1 E ( s ′ , a ′ ) ∼ ν B [ ∥ v η ( s ′ , a ′ ) − w 1 ( s ′ , a ′ ) sg ( E P π [ T ( s , a ) ∣ s ′ , a ′ ] ) ∥ 2 ] + const.
where the constant is independent of v η v_\eta v η . Expanding the square:
L B = 1 2 E ν B ∥ v η ∥ 2 − E ν B [ v η ⊤ w 1 sg ( E P π [ T ∣ s ′ , a ′ ] ) ] + c o n s t . \mathcal{L}_B = \frac{1}{2}\mathbb{E}_{\nu_B}\|v_\eta\|^2 - \mathbb{E}_{\nu_B}\left[v_\eta^\top w_1\operatorname{sg}\left(\mathbb{E}_{P_\pi}[T\mid s',a']\right)\right] + \mathrm{const.} L B = 2 1 E ν B ∥ v η ∥ 2 − E ν B [ v η ⊤ w 1 sg ( E P π [ T ∣ s ′ , a ′ ] ) ] + const.
Using w 1 ν B = P w_1\nu_B = P w 1 ν B = P , the second term becomes
E ν B [ v η ⊤ w 1 sg ( E P π [ T ∣ s ′ , a ′ ] ) ] = E ( s , a ) ∼ d π , ( s ′ , a ′ ) ∼ P π [ v η ( s ′ , a ′ ) ⊤ sg ( T ( s , a ) ) ] . \mathbb{E}_{\nu_B}\left[v_\eta^\top w_1\operatorname{sg}\left(\mathbb{E}_{P_\pi}[T\mid s',a']\right)\right] = \mathbb{E}_{(s,a)\sim d^\pi,(s',a')\sim P_\pi}\left[v_\eta(s',a')^\top\operatorname{sg}(T(s,a))\right]. E ν B [ v η ⊤ w 1 sg ( E P π [ T ∣ s ′ , a ′ ] ) ] = E ( s , a ) ∼ d π , ( s ′ , a ′ ) ∼ P π [ v η ( s ′ , a ′ ) ⊤ sg ( T ( s , a )) ] .
The first term splits as:
E ν B ∥ v η ∥ 2 = γ E P ∥ v η ∥ 2 + ( 1 − γ ) E d 0 ∥ v η ∥ 2 . \mathbb{E}_{\nu_B}\|v_\eta\|^2 = \gamma\mathbb{E}_{P}\|v_\eta\|^2 + (1-\gamma)\mathbb{E}_{d_0}\|v_\eta\|^2. E ν B ∥ v η ∥ 2 = γ E P ∥ v η ∥ 2 + ( 1 − γ ) E d 0 ∥ v η ∥ 2 .
Therefore
L B = γ 2 E P ∥ v η ∥ 2 − E P [ v η ⊤ sg ( T ) ] + 1 − γ 2 E d 0 ∥ v η ∥ 2 + c o n s t . \mathcal{L}_B = \frac{\gamma}{2}\mathbb{E}_{P}\|v_\eta\|^2 - \mathbb{E}_{P}\left[v_\eta^\top\operatorname{sg}(T)\right] + \frac{1-\gamma}{2}\mathbb{E}_{d_0}\|v_\eta\|^2 + \mathrm{const.} L B = 2 γ E P ∥ v η ∥ 2 − E P [ v η ⊤ sg ( T ) ] + 2 1 − γ E d 0 ∥ v η ∥ 2 + const.
Now complete the square:
γ 2 E P ∥ v η − sg ( T ) γ ∥ 2 = γ 2 E P ∥ v η ∥ 2 − E P [ v η T sg ( T ) ] + 1 2 γ E P ∥ sg ( T ) ∥ 2 . \frac{\gamma}{2}\mathbb{E}_{P}\left\|v_{\eta}-\frac{\operatorname{sg}(T)}{\gamma}\right\|^{2}
=
\frac{\gamma}{2}\mathbb{E}_{P}\left\|v_{\eta}\right\|^{2}
-\mathbb{E}_{P}\left[v_{\eta}^{\mathsf{T}}\operatorname{sg}(T)\right]
+\frac{1}{2\gamma}\mathbb{E}_{P}\left\|\operatorname{sg}(T)\right\|^{2}. 2 γ E P v η − γ sg ( T ) 2 = 2 γ E P ∥ v η ∥ 2 − E P [ v η T sg ( T ) ] + 2 γ 1 E P ∥ sg ( T ) ∥ 2 .
The last term is independent of v η v_{\eta} v η , hence
L B = γ 2 E ( s , a ) ∼ d π , ( s ′ , a ′ ) ∼ P π ∥ v η ( s ′ , a ′ ) − sg ( ( 1 − γ ) f θ ( s , a ) + γ v η ˉ ( s , a ) ) γ ∥ 2 + 1 − γ 2 E d 0 ∥ v η ∥ 2 + c o n s t . \mathcal{L}_{B}
=
\frac{\gamma}{2}\mathbb{E}_{(s,a)\sim d^{\pi},(s',a')\sim P_{\pi}}
\left\|
v_{\eta}(s',a')
-
\frac{\operatorname{sg}\left((1-\gamma)f_{\theta}(s,a)+\gamma v_{\bar{\eta}}(s,a)\right)}{\gamma}
\right\|^{2}
+
\frac{1-\gamma}{2}\mathbb{E}_{d_{0}}\left\|v_{\eta}\right\|^{2}
+\mathrm{const.} L B = 2 γ E ( s , a ) ∼ d π , ( s ′ , a ′ ) ∼ P π v η ( s ′ , a ′ ) − γ sg ( ( 1 − γ ) f θ ( s , a ) + γ v η ˉ ( s , a ) ) 2 + 2 1 − γ E d 0 ∥ v η ∥ 2 + const.
This is exactly L ^ B ( η ) \widehat{\mathcal{L}}_{B}(\eta) L B ( η ) , up to a constant independent of v η v_{\eta} v η . Taking the stationary point with respect to v η ( s ′ , a ′ ) v_{\eta}(s',a') v η ( s ′ , a ′ ) :
γ P ( s ′ , a ′ ) ( v η − E [ T ∣ s ′ , a ′ ] γ ) + ( 1 − γ ) d 0 ( s ′ , a ′ ) v η = 0 , \gamma P(s',a')\left(v_{\eta}-\frac{\mathbb{E}[T\mid s',a']}{\gamma}\right)
+(1-\gamma)d_{0}(s',a')v_{\eta}=0, γ P ( s ′ , a ′ ) ( v η − γ E [ T ∣ s ′ , a ′ ] ) + ( 1 − γ ) d 0 ( s ′ , a ′ ) v η = 0 ,
i.e.,
( γ P + ( 1 − γ ) d 0 ) v η = P E [ T ∣ s ′ , a ′ ] . \left(\gamma P+(1-\gamma)d_{0}\right)v_{\eta}
=
P\mathbb{E}[T\mid s',a']. ( γ P + ( 1 − γ ) d 0 ) v η = P E [ T ∣ s ′ , a ′ ] .
Thus
v η ( s ′ , a ′ ) = P ( s ′ , a ′ ) γ P ( s ′ , a ′ ) + ( 1 − γ ) d 0 ( s ′ , a ′ ) E [ T ∣ s ′ , a ′ ] = w 1 ( s ′ , a ′ ) E [ T ∣ s ′ , a ′ ] . v_{\eta}(s',a')
=
\frac{P(s',a')}{\gamma P(s',a')+(1-\gamma)d_{0}(s',a')}
\mathbb{E}[T\mid s',a']
=
w_{1}(s',a')\mathbb{E}[T\mid s',a']. v η ( s ′ , a ′ ) = γ P ( s ′ , a ′ ) + ( 1 − γ ) d 0 ( s ′ , a ′ ) P ( s ′ , a ′ ) E [ T ∣ s ′ , a ′ ] = w 1 ( s ′ , a ′ ) E [ T ∣ s ′ , a ′ ] .
This is exactly the same fixed point as the original loss with density ratio. When d π d^{\pi} d π is stationary and d 0 = d π d_{0}=d^{\pi} d 0 = d π , P = d π P=d^{\pi} P = d π , ν B = d π \nu_{B}=d^{\pi} ν B = d π , so w 1 ≡ 1 w_{1}\equiv1 w 1 ≡ 1 .
Surrogate g g g -loss. Let ν = ν + , π \nu=\nu^{+,\pi} ν = ν + , π . The original g g g -loss with density ratio can be written as
L g ( ω ) = 1 2 E ν [ g ω T sg [ C f ] g ω ] − E ν [ d π ν g ω T sg ( v η ) ] + c o n s t . \mathcal{L}_{g}(\omega)
=
\frac{1}{2}\mathbb{E}_{\nu}\left[g_{\omega}^{\mathsf{T}}\operatorname{sg}[C_{f}]g_{\omega}\right]
-
\mathbb{E}_{\nu}\left[\frac{d^{\pi}}{\nu}g_{\omega}^{\mathsf{T}}\operatorname{sg}(v_{\eta})\right]
+\mathrm{const.} L g ( ω ) = 2 1 E ν [ g ω T sg [ C f ] g ω ] − E ν [ ν d π g ω T sg ( v η ) ] + const.
The second term directly uses the density ratio identity:
E ν [ d π ν g ω T sg ( v η ) ] = ∑ s , a ν ( s , a ) d π ( s , a ) ν ( s , a ) g ω T sg ( v η ( s , a ) ) = E d π [ g ω T sg ( v η ) ] . \mathbb{E}_{\nu}\left[\frac{d^{\pi}}{\nu}g_{\omega}^{\mathsf{T}}\operatorname{sg}(v_{\eta})\right]
=
\sum_{s,a}\nu(s,a)\frac{d^{\pi}(s,a)}{\nu(s,a)}
g_{\omega}^{\mathsf{T}}\operatorname{sg}(v_{\eta}(s,a))
=
\mathbb{E}_{d^{\pi}}\left[g_{\omega}^{\mathsf{T}}\operatorname{sg}(v_{\eta})\right]. E ν [ ν d π g ω T sg ( v η ) ] = s , a ∑ ν ( s , a ) ν ( s , a ) d π ( s , a ) g ω T sg ( v η ( s , a )) = E d π [ g ω T sg ( v η ) ] .
Therefore
L g ( ω ) = 1 2 E ν + , π [ g ω T sg [ C f ] g ω ] − E d π [ g ω T sg ( v η ) ] + c o n s t . \mathcal{L}_{g}(\omega)
=
\frac{1}{2}\mathbb{E}_{\nu^{+,\pi}}\left[g_{\omega}^{\mathsf{T}}\operatorname{sg}[C_{f}]g_{\omega}\right]
-
\mathbb{E}_{d^{\pi}}\left[g_{\omega}^{\mathsf{T}}\operatorname{sg}(v_{\eta})\right]
+\mathrm{const.} L g ( ω ) = 2 1 E ν + , π [ g ω T sg [ C f ] g ω ] − E d π [ g ω T sg ( v η ) ] + const.
This is exactly
L ^ g ( ω ) = − E ( s , a ) ∼ d π [ g ω T sg ( v η ( s , a ) ) ] + 1 2 E ν + , π [ g ω T sg [ C f ] g ω ] \widehat{\mathcal{L}}_{g}(\omega)
=
-\mathbb{E}_{(s,a)\sim d^{\pi}}\left[g_{\omega}^{\mathsf{T}}\operatorname{sg}(v_{\eta}(s,a))\right]
+
\frac{1}{2}\mathbb{E}_{\nu^{+,\pi}}\left[g_{\omega}^{\mathsf{T}}\operatorname{sg}[C_{f}]g_{\omega}\right] L g ( ω ) = − E ( s , a ) ∼ d π [ g ω T sg ( v η ( s , a )) ] + 2 1 E ν + , π [ g ω T sg [ C f ] g ω ]
up to a constant independent of g ω g_{\omega} g ω .
Equivalently, if the original g g g -loss is written in weighted least-squares form
L g ( ω ) = 1 2 E ν ∥ g ω − d π ν sg ( C f − 1 v η ) ∥ sg [ C f ] 2 + c o n s t . \mathcal{L}_{g}(\omega)=\frac{1}{2}\mathbb{E}_{\nu}\left\|g_{\omega}-\frac{d^{\pi}}{\nu}\operatorname{sg}\left(C_{f}^{-1}v_{\eta}\right)\right\|_{\operatorname{sg}[C_{f}]}^{2}+\mathrm{const}. L g ( ω ) = 2 1 E ν g ω − ν d π sg ( C f − 1 v η ) sg [ C f ] 2 + const .
expanding also gives the same result: the quadratic term remains under ν \nu ν , the density ratio in the cross term is cancelled by ν \nu ν , becoming an expectation under d π d^{\pi} d π .
Differentiating with respect to g ω g_{\omega} g ω , treating sg [ C f ] \operatorname{sg}[C_{f}] sg [ C f ] as a constant matrix, yields
E ν + , π [ sg [ C f ] g ω ] = E d π [ sg ( v η ) ] . \mathbb{E}_{\nu^{+},\pi}\left[\operatorname{sg}[C_{f}]g_{\omega}\right]=\mathbb{E}_{d^{\pi}}\left[\operatorname{sg}(v_{\eta})\right]. E ν + , π [ sg [ C f ] g ω ] = E d π [ sg ( v η ) ] .
This is the same stationary condition as the original loss with density ratio.
Main body of algorithm For simplicity, we denote X = ( S , A ) X=(S,A) X = ( S , A ) and Y 1 = ( S ′ , A ′ ) Y_{1}=(S^{\prime},A^{\prime}) Y 1 = ( S ′ , A ′ ) . Based on the new notations, we describe the algorithm of estimating SUAF with neural networks and bidirectional TD as follows:
Algorithm 1 Neural Bidirectional TD Soft-HGR
Require: Fixed reference policy π \pi π ; rank k k k ; 0 < γ < 1 0 < \gamma< 1 0 < γ < 1 ; outer iterations M M M ; first-step replay D σ 0 \mathcal{D}_{\sigma_0} D σ 0 , on-policy trajectory replay D t r \mathcal{D}_{\mathrm{tr}} D tr and independent calibration/diagnostic replay D v a l \mathcal{D}_{\mathrm{val}} D val ; TD steps H F , H B H_F,H_B H F , H B , feature steps H f , H g H_f,H_g H f , H g , learning rates, and target rates τ F , τ B \tau_F,\tau_B τ F , τ B .
Optimized networks: feature parameters θ , ω \theta,\omega θ , ω ; forward predictor h ξ : X → R k h_\xi:\mathcal{X}\to\mathbb{R}^k h ξ : X → R k and backward auxiliary predictor v η : X → R k v_\eta:\mathcal{X}\to\mathbb{R}^k v η : X → R k ; Polyak targets ξ ˉ , η ˉ \bar{\xi},\bar{\eta} ξ ˉ , η ˉ .
Derived objects: centered features f θ , g ω f_\theta,g_\omega f θ , g ω , sample moments, and final k × k k\times k k × k whitening/SVD transforms; no feature tables.
Prepare one-step pairs ( X , Y 1 ) (X,Y_1) ( X , Y 1 ) and positive-lag pairs ( X , Y + ) (X,Y^+) ( X , Y + ) using the sampling rule below.
Initialize nonzero feature networks and predictors; set ξ ˉ ← ξ \bar{\xi}\leftarrow\xi ξ ˉ ← ξ , η ˉ ← η \bar{\eta}\leftarrow\eta η ˉ ← η .
for m = 1 , … , M m=1,\ldots,M m = 1 , … , M do
Freeze ω \omega ω and its centering statistics.
for h = 1 , … , H F h=1,\ldots,H_F h = 1 , … , H F do
Sample a minibatch ( X , Y 1 ) (X,Y_1) ( X , Y 1 ) from the one-step replay.
Z F ← sg [ ( 1 − γ ) g ω ( Y 1 ) + γ h ξ ˉ ( Y 1 ) ] Z_F\leftarrow\operatorname{sg}[(1-\gamma)g_\omega(Y_1)+\gamma h_{\bar{\xi}}(Y_1)] Z F ← sg [( 1 − γ ) g ω ( Y 1 ) + γ h ξ ˉ ( Y 1 )] .
ξ ← ξ − α F ∇ ξ E ∥ h ξ ( X ) − Z F ∥ 2 \xi\leftarrow\xi-\alpha_F\nabla_\xi\mathbb{E}\lVert h_\xi(X)-Z_F\rVert^2 ξ ← ξ − α F ∇ ξ E ∥ h ξ ( X ) − Z F ∥ 2 .
ξ ˉ ← ( 1 − τ F ) ξ ˉ + τ F ξ \bar{\xi}\leftarrow(1-\tau_F)\bar{\xi}+\tau_F\xi ξ ˉ ← ( 1 − τ F ) ξ ˉ + τ F ξ .
end for
Estimate C g ← E ^ Y + [ g ω ( Y + ) g ω ( Y + ) T ] C_g\leftarrow\widehat{\mathbb{E}}_{Y^+}[g_\omega(Y^+)g_\omega(Y^+)^\mathsf{T}] C g ← E Y + [ g ω ( Y + ) g ω ( Y + ) T ] .
for j = 1 , … , H f j=1,\ldots,H_f j = 1 , … , H f do
Sample X ∼ d π X\sim d^\pi X ∼ d π ; evaluate the action-centered feature f θ ( X ) f_\theta(X) f θ ( X ) .
L f ← E ^ X [ − f θ ( X ) T sg [ h ξ ( X ) ] + 1 2 f θ ( X ) T sg [ C g ] f θ ( X ) ] \mathcal{L}_f\leftarrow\widehat{\mathbb{E}}_X\left[-f_\theta(X)^\mathsf{T}\operatorname{sg}[h_\xi(X)]+\frac{1}{2}f_\theta(X)^\mathsf{T}\operatorname{sg}[C_g]f_\theta(X)\right] L f ← E X [ − f θ ( X ) T sg [ h ξ ( X )] + 2 1 f θ ( X ) T sg [ C g ] f θ ( X ) ] .
θ ← θ − α f ∇ θ L f \theta\leftarrow\theta-\alpha_f\nabla_\theta\mathcal{L}_f θ ← θ − α f ∇ θ L f . ▷ Only the left feature network is updated
end for
Freeze the updated θ \theta θ .
for h = 1 , … , H B h=1,\ldots,H_B h = 1 , … , H B do
Sample a minibatch ( X , Y 1 ) (X,Y_1) ( X , Y 1 ) from the same one-step replay.
Z B ← sg ( ( 1 − γ ) f θ ( X ) + γ v η ˉ ( X ) ) Z_B\leftarrow\operatorname{sg}((1-\gamma)f_\theta(X)+\gamma v_{\bar{\eta}}(X)) Z B ← sg (( 1 − γ ) f θ ( X ) + γ v η ˉ ( X )) .
L ^ B ( η ) ← γ 2 E ^ ∥ v η ( Y 1 ) − Z B γ ∥ 2 + 1 − γ 2 E ^ D σ 0 ∥ v η ∥ 2 \widehat{\mathcal{L}}_B(\eta)\leftarrow\frac{\gamma}{2}\widehat{\mathbb{E}}\left\lVert v_\eta(Y_1)-\frac{Z_B}{\gamma}\right\rVert^2+\frac{1-\gamma}{2}\widehat{\mathbb{E}}_{\mathcal{D}_{\sigma_0}}\lVert v_\eta\rVert^2 L B ( η ) ← 2 γ E v η ( Y 1 ) − γ Z B 2 + 2 1 − γ E D σ 0 ∥ v η ∥ 2 .
η ← η − α B ∇ η L ^ B \eta\leftarrow\eta-\alpha_B\nabla_\eta\widehat{\mathcal{L}}_B η ← η − α B ∇ η L B .
η ˉ ← ( 1 − τ B ) η ˉ + τ B η \bar{\eta}\leftarrow(1-\tau_B)\bar{\eta}+\tau_B\eta η ˉ ← ( 1 − τ B ) η ˉ + τ B η .
end for
Estimate C f ← E ^ X [ f θ ( X ) f θ ( X ) T ] C_f\leftarrow\widehat{\mathbb{E}}_X[f_\theta(X)f_\theta(X)^\mathsf{T}] C f ← E X [ f θ ( X ) f θ ( X ) T ] .
for j = 1 , … , H g j=1,\ldots,H_g j = 1 , … , H g do
Sample Y + ∼ ν + , π Y^+\sim\nu^{+,\pi} Y + ∼ ν + , π ; evaluate the marginal-centered feature g ω ( Y + ) g_\omega(Y^+) g ω ( Y + ) .
L ^ g ← − E ^ X [ g ω T sg ( v η ( X ) ) ] + 1 2 E ^ Y + [ g ω T sg [ C f ] g ω ] \widehat{\mathcal{L}}_g\leftarrow-\widehat{\mathbb{E}}_X\left[g_\omega^\mathsf{T}\operatorname{sg}(v_\eta(X))\right]+\frac{1}{2}\widehat{\mathbb{E}}_{Y^+}\left[g_\omega^\mathsf{T}\operatorname{sg}[C_f]g_\omega\right] L g ← − E X [ g ω T sg ( v η ( X )) ] + 2 1 E Y + [ g ω T sg [ C f ] g ω ] .
ω ← ω − α g ∇ ω L ^ g \omega\leftarrow\omega-\alpha_g\nabla_\omega\widehat{\mathcal{L}}_g ω ← ω − α g ∇ ω L g . ▷ Only the right feature network is updated
end for
end for
Freeze all networks; estimate calibration moments using D v a l \mathcal{D}_{\mathrm{val}} D val .
Obtain ( f ^ , g ^ , Σ ^ ) (\widehat{f},\widehat{g},\widehat{\Sigma}) ( f , g , Σ ) by the small-matrix canonicalization below.
return Canonical feature functions f ^ , g ^ \widehat{f},\widehat{g} f , g , estimated singular values Σ ^ \widehat{\Sigma} Σ , and predictors h ξ , v η h_\xi,v_\eta h ξ , v η .
Sampling distributions. Write X t = ( S t , A t ) X_t = (S_t, A_t) X t = ( S t , A t ) and P π ( ( s ′ , a ′ ) ∣ ( s , a ) ) = T ( s ′ ∣ s , a ) π ( a ′ ∣ s ′ ) P_\pi((s', a') \mid(s, a)) = T(s' \mid s, a)\pi(a' \mid s') P π (( s ′ , a ′ ) ∣ ( s , a )) = T ( s ′ ∣ s , a ) π ( a ′ ∣ s ′ ) . All trajectories start from S 0 ∼ μ S_0 \sim\mu S 0 ∼ μ and follow the fixed policy π \pi π . Assume the conditional expectations and second moments below are finite. Draw independent times T 0 T_0 T 0 and L L L with
Pr ( T 0 = t ) = ( 1 − γ ) γ t ( t ≥ 0 ) , Pr ( L = ℓ ) = ( 1 − γ ) γ ℓ − 1 ( ℓ ≥ 1 ) . \Pr(T_0 = t) = (1-\gamma)\gamma^t \quad(t \ge0), \qquad\Pr(L = \ell) = (1-\gamma)\gamma^{\ell-1} \quad(\ell\ge1). Pr ( T 0 = t ) = ( 1 − γ ) γ t ( t ≥ 0 ) , Pr ( L = ℓ ) = ( 1 − γ ) γ ℓ − 1 ( ℓ ≥ 1 ) .
Set X = X T 0 X = X_{T_0} X = X T 0 , Y 1 = X T 0 + 1 Y_1 = X_{T_0+1} Y 1 = X T 0 + 1 , and Y + = X T 0 + L Y^+ = X_{T_0+L} Y + = X T 0 + L . Then
X ∼ d π , Y 1 ∼ ν 1 π = d π P π , Y + ∣ X ∼ M + , π ( ⋅ ∣ X ) , Y + ∼ ν + , π = d π M + , π . X \sim d^\pi,\qquad Y_1 \sim\nu_1^\pi= d^\pi P_\pi,\qquad Y^+ \mid X \sim M^{+,\pi}(\cdot\mid X),\qquad Y^+ \sim\nu^{+,\pi} = d^\pi M^{+,\pi}. X ∼ d π , Y 1 ∼ ν 1 π = d π P π , Y + ∣ X ∼ M + , π ( ⋅ ∣ X ) , Y + ∼ ν + , π = d π M + , π .
Replay sampling must implement these weights. Uniformly sampling all stored transitions does not generally do so. Finite trajectories require an explicit tail treatment. Rejecting unavailable lags or clipping them changes the target distribution. For episodic tasks, an absorbing-state convention must agree with the MDP definition. TD uses one-step pairs for the predictors. Positive-lag samples are still used for right-marginal moments, density-ratio estimation, and calibration.
Centering and the soft-HGR objective. Let f ~ θ , g ~ ω : X → R k \tilde{f}_\theta, \tilde{g}_\omega: \mathcal{X} \to\mathbb{R}^k f ~ θ , g ~ ω : X → R k be raw network outputs. The feature functions used throughout the algorithm are
f θ ( s , a ) = f ~ θ ( s , a ) − E a ~ ∼ π ( ⋅ ∣ s ) [ f ~ θ ( s , a ~ ) ] , f_\theta(s, a) = \tilde{f}_\theta(s, a) - \mathbb{E}_{\tilde{a}\sim\pi(\cdot\mid s)}[\tilde{f}_\theta(s,\tilde{a})], f θ ( s , a ) = f ~ θ ( s , a ) − E a ~ ∼ π ( ⋅ ∣ s ) [ f ~ θ ( s , a ~ )] ,
g ω ( y ) = g ~ ω ( y ) − E Y + ∼ ν + , π [ g ~ ω ( Y + ) ] . g_\omega(y) = \tilde{g}_\omega(y) - \mathbb{E}_{Y^+\sim\nu^{+,\pi}}[\tilde{g}_\omega(Y^+)]. g ω ( y ) = g ~ ω ( y ) − E Y + ∼ ν + , π [ g ~ ω ( Y + )] .
Action integrals are approximated with policy samples and marginal means with reference samples. During a feature update, gradients pass through the centering operation of that feature. Predictor targets and the opposite covariance are detached. The population objective is
J ( θ , ω ) = E X , Y + [ f θ ( X ) T g ω ( Y + ) ] − 1 2 tr ( C f C g ) , J(\theta,\omega) = \mathbb{E}_{X,Y^+}[f_\theta(X)^\mathsf{T}g_\omega(Y^+)] - \frac{1}{2}\operatorname{tr}(C_f C_g), J ( θ , ω ) = E X , Y + [ f θ ( X ) T g ω ( Y + )] − 2 1 tr ( C f C g ) ,
C f = E d π [ f θ f θ T ] , C_f = \mathbb{E}_{d^\pi}[f_\theta f_\theta^\mathsf{T}], C f = E d π [ f θ f θ T ] ,
C g = E ν + , π [ g ω g ω T ] . C_g = \mathbb{E}_{\nu^{+,\pi}}[g_\omega g_\omega^\mathsf{T}]. C g = E ν + , π [ g ω g ω T ] .
Conditional centering restricts the learned dependence to the additional effect of the action given the state. Empirical centering and covariance estimates introduce sampling error. In particular, a noisy action-average estimate also perturbs second moments. Increasing the action-sample budget or using independent replicas for moment estimation can address this issue.
Why the two TD predictors provide the feature gradients. For fixed feature networks, the intended predictor solutions are
h ( x ) = ∫ M + , π ( y ∣ x ) g ω ( y ) d y , v ( y ) = ∫ d π ( x ) M + , π ( y ∣ x ) f θ ( x ) d x d π ( y ) . h(x) = \int M^{+,\pi}(y \mid x)g_\omega(y)\,dy,\qquad v(y) = \frac{\int d^\pi(x)M^{+,\pi}(y \mid x)f_\theta(x)\,dx}{d^\pi(y)}. h ( x ) = ∫ M + , π ( y ∣ x ) g ω ( y ) d y , v ( y ) = d π ( y ) ∫ d π ( x ) M + , π ( y ∣ x ) f θ ( x ) d x .
Integrals denote sums in the tabular case. The positive-lag resolvent identity gives
h ( x ) = E [ ( 1 − γ ) g ω ( Y 1 ) + γ h ( Y 1 ) ∣ X = x ] , h(x) = \mathbb{E}[(1-\gamma)g_\omega(Y_1) + \gamma h(Y_1) \mid X = x], h ( x ) = E [( 1 − γ ) g ω ( Y 1 ) + γ h ( Y 1 ) ∣ X = x ] ,
v ( y ) = w 1 ( y ) E [ ( 1 − γ ) f θ ( X ) + γ v ( X ) ∣ Y 1 = y ] . v(y) = w_1(y)\mathbb{E}[(1-\gamma)f_\theta(X) + \gamma v(X) \mid Y_1 = y]. v ( y ) = w 1 ( y ) E [( 1 − γ ) f θ ( X ) + γ v ( X ) ∣ Y 1 = y ] .
Both conditional expectations here use the one-step joint law d π ( x ) P π ( y ∣ x ) d^{\pi}(x)P_{\pi}(y \mid x) d π ( x ) P π ( y ∣ x ) . The output correction, in contrast, yields the positive-lag backward conditional expectation:
w + ( y ) v ( y ) = E [ f θ ( X ) ∣ Y + = y ] . w_{+}(y)v(y) = \mathbb{E}[f_{\theta}(X) \mid Y^{+} = y]. w + ( y ) v ( y ) = E [ f θ ( X ) ∣ Y + = y ] .
Consequently,
E X , Y + [ f θ ( X ) T g ω ( Y + ) ] = E d π [ f θ T h ] = E ν + , π [ g ω T w + v ] . \mathbb{E}_{X,Y^{+}}[f_{\theta}(X)^{\mathsf{T}}g_{\omega}(Y^{+})] = \mathbb{E}_{d_{\pi}}[f_{\theta}^{\mathsf{T}}h] = \mathbb{E}_{\nu_{+,\pi}}[g_{\omega}^{\mathsf{T}}w_{+}v]. E X , Y + [ f θ ( X ) T g ω ( Y + )] = E d π [ f θ T h ] = E ν + , π [ g ω T w + v ] .
With exact predictors, ratios, centering, and moments, L f \mathcal{L}_{f} L f and L g \mathcal{L}_{g} L g therefore yield the negative block gradients of J \mathcal{J} J . While updating f θ f_{\theta} f θ , h h h depends only on the fixed g ω g_{\omega} g ω . While updating g ω g_{\omega} g ω , v v v depends only on the fixed f θ f_{\theta} f θ . Neither update requires differentiating through a TD solution. Finite TD fitting and statistical errors produce approximate block gradients. The construction alone does not establish convergence of nonlinear TD or global optimization of the neural objective.
Discounted-return post-calibration. After representation learning, we freeze the feature networks f θ f_{\theta} f θ and g ω g_{\omega} g ω and recalibrate their low-dimensional operator using an independent set of trajectory snippets. For each anchor X n = Z t n X_n = Z_{t_n} X n = Z t n , define the truncated discounted feature return
Y n , H g = ∑ ℓ = 1 H ( 1 − γ ) γ ℓ − 1 g ˉ ω ( Z t n + ℓ ) , (85) Y^{g}_{n,H} = \sum_{\ell=1}^{H}(1-\gamma)\gamma^{\ell-1}\bar{g}_{\omega}(Z_{t_n+\ell}), \tag*{(85)} Y n , H g = ℓ = 1 ∑ H ( 1 − γ ) γ ℓ − 1 g ˉ ω ( Z t n + ℓ ) , (85)
where g ˉ ω \bar{g}_{\omega} g ˉ ω is centered under the empirical positive-lag marginal. Equivalently, the trajectory snippets define the Rao–Blackwellized positive-lag joint estimator
J ^ H ( x , y ) = 1 N ∑ n = 1 N 1 { X n = x } ∑ ℓ = 1 H ( 1 − γ ) γ ℓ − 1 1 { Z t n + ℓ = y } . (86) \widehat{J}_{H}(x,y) = \frac{1}{N}\sum_{n=1}^{N}\mathbf{1}\{X_n=x\}\sum_{\ell=1}^{H}(1-\gamma)\gamma^{\ell-1}\mathbf{1}\{Z_{t_n+\ell}=y\}. \tag*{(86)} J H ( x , y ) = N 1 n = 1 ∑ N 1 { X n = x } ℓ = 1 ∑ H ( 1 − γ ) γ ℓ − 1 1 { Z t n + ℓ = y } . (86)
We normalize J ^ H \widehat{J}_{H} J H by ∑ ℓ = 1 H ( 1 − γ ) γ ℓ − 1 = 1 − γ H \sum_{\ell=1}^{H}(1-\gamma)\gamma^{\ell-1}=1-\gamma^{H} ∑ ℓ = 1 H ( 1 − γ ) γ ℓ − 1 = 1 − γ H . The omitted tail mass is therefore γ H \gamma^{H} γ H .
Let d ^ \widehat{d} d and ν ^ \widehat{\nu} ν denote the two marginals of J ^ H \widehat{J}_{H} J H . Using the action-centered left feature f ˉ θ \bar{f}_{\theta} f ˉ θ and marginal-centered right feature g ˉ ω \bar{g}_{\omega} g ˉ ω , we estimate
C ^ f = E d ^ [ f ˉ θ ( X ) f ˉ θ ( X ) T ] , (87) \widehat{C}_{f} = \mathbb{E}_{\widehat{d}}[\bar{f}_{\theta}(X)\bar{f}_{\theta}(X)^{\mathsf{T}}], \tag*{(87)} C f = E d [ f ˉ θ ( X ) f ˉ θ ( X ) T ] , (87)
C ^ g = E ν ^ [ g ˉ ω ( Y ) g ˉ ω ( Y ) T ] , (88) \widehat{C}_{g} = \mathbb{E}_{\widehat{\nu}}[\bar{g}_{\omega}(Y)\bar{g}_{\omega}(Y)^{\mathsf{T}}], \tag*{(88)} C g = E ν [ g ˉ ω ( Y ) g ˉ ω ( Y ) T ] , (88)
K ^ H = E J ^ H [ f ˉ θ ( X ) g ˉ ω ( Y ) T ] = 1 N ∑ n = 1 N f ˉ θ ( X n ) ( Y n , H g ) T . (89) \widehat{K}_{H} = \mathbb{E}_{\widehat{J}_{H}}[\bar{f}_{\theta}(X)\bar{g}_{\omega}(Y)^{\mathsf{T}}] = \frac{1}{N}\sum_{n=1}^{N}\bar{f}_{\theta}(X_n)(Y^{g}_{n,H})^{\mathsf{T}}. \tag*{(89)} K H = E J H [ f ˉ θ ( X ) g ˉ ω ( Y ) T ] = N 1 n = 1 ∑ N f ˉ θ ( X n ) ( Y n , H g ) T . (89)
Unlike a single geometric-lag endpoint, the discounted feature return integrates over all future lags in the snippet and removes the additional geometric-lag sampling variance.
We use ridge-regularized whitening maps
W f λ f = ( C ^ f + λ f I ) − 1 / 2 , W g λ g = ( C ^ g + λ g I ) − 1 / 2 , (90) W_{f}^{\lambda_f} = (\widehat{C}_{f}+\lambda_f I)^{-1/2}, \qquad W_{g}^{\lambda_g} = (\widehat{C}_{g}+\lambda_g I)^{-1/2}, \tag*{(90)} W f λ f = ( C f + λ f I ) − 1/2 , W g λ g = ( C g + λ g I ) − 1/2 , (90)
and compute the thin SVD
W f λ f K ^ H W g λ g = U Σ ^ V T . (91) W_f^{\lambda_f}\widehat{K}_H W_g^{\lambda_g}=U\widehat{\Sigma}V^{\mathsf{T}}. \tag*{(91)} W f λ f K H W g λ g = U Σ V T . (91)
The corresponding calibrated features are
f ^ ( x ) = U T W f λ f f ˉ θ ( x ) , g ^ ( y ) = V T W g λ g g ˉ ω ( y ) . (92) \widehat{f}(x)=U^{\mathsf{T}}W_f^{\lambda_f}\bar{f}_{\theta}(x),\qquad\widehat{g}(y)=V^{\mathsf{T}}W_g^{\lambda_g}\bar{g}_{\omega}(y). \tag*{(92)} f ( x ) = U T W f λ f f ˉ θ ( x ) , g ( y ) = V T W g λ g g ˉ ω ( y ) . (92)
Because of ridge regularization, these features satisfy
W f λ f ( C ^ f + λ f I ) ( W f λ f ) T = I , (93) W_f^{\lambda_f}(\widehat{C}_f+\lambda_f I)(W_f^{\lambda_f})^{\mathsf{T}}=I, \tag*{(93)} W f λ f ( C f + λ f I ) ( W f λ f ) T = I , (93)
and analogously for g g g . They are not exactly whitened with respect to C ^ f \widehat{C}_f C f and C ^ g \widehat{C}_g C g when the corresponding ridge parameters are nonzero.
Optionally, we continuously shrink the calibrated singular values:
σ ~ i = a i σ ^ i , a i = σ ^ i 2 σ ^ i 2 + τ 2 . (94) \widetilde{\sigma}_i=a_i\widehat{\sigma}_i,\qquad a_i=\frac{\widehat{\sigma}_i^2}{\widehat{\sigma}_i^2+\tau^2}. \tag*{(94)} σ i = a i σ i , a i = σ i 2 + τ 2 σ i 2 . (94)
The resulting rank-k k k operator is
T ^ r + , k = ∑ i = 1 k σ ~ i f ^ i ⟨ g ^ i , r ⟩ ν ^ . (95) \widehat{T}^{+,k}_r=\sum_{i=1}^{k}\widetilde{\sigma}_i\widehat{f}_i\langle\widehat{g}_i,r\rangle_{\widehat{\nu}}. \tag*{(95)} T r + , k = i = 1 ∑ k σ i f i ⟨ g i , r ⟩ ν . (95)
The ridge parameters ( λ f , λ g ) (\lambda_f,\lambda_g) ( λ f , λ g ) are selected on an independent calibration-validation split. After fixing them, the shrinkage parameter τ \tau τ is selected on the same validation criterion without using any downstream task reward. The reported advantage errors are evaluated only after all calibration hyperparameters have been fixed.
What is learned. The returned functions approximate the reward-independent positive-lag, action-centered operator through
( T + , π r ) ( s , a ) ≈ f ^ ( s , a ) T Σ ^ E Y + ∼ ν + , π [ g ^ ( Y + ) r ( Y + ) ] . (T^{+,\pi}r)(s,a)\approx\widehat{f}(s,a)^{\mathsf{T}}\widehat{\Sigma}\mathbb{E}_{Y^+\sim\nu^{+,\pi}}[\widehat{g}(Y^+)r(Y^+)]. ( T + , π r ) ( s , a ) ≈ f ( s , a ) T Σ E Y + ∼ ν + , π [ g ( Y + ) r ( Y + )] .
For a downstream reward, the corresponding advantage estimate is
A ^ r π ( s , a ) = C π r ( s , a ) + γ 1 − γ f ^ ( s , a ) T Σ ^ E ν + , π [ g ^ r ] , \operatorname{\widehat{A}}^{\pi}_r(s,a)=C_{\pi r}(s,a)+\frac{\gamma}{1-\gamma}\widehat{f}(s,a)^{\mathsf{T}}\widehat{\Sigma}\mathbb{E}_{\nu^{+,\pi}}[\widehat{g}r], A r π ( s , a ) = C π r ( s , a ) + 1 − γ γ f ( s , a ) T Σ E ν + , π [ g r ] ,
C π r ( s , a ) = r ( s , a ) − E a ′ ∼ π ( ⋅ ∣ s ) [ r ( s , a ′ ) ] . C_{\pi r}(s,a)=r(s,a)-\mathbb{E}_{a'\sim\pi(\cdot\mid s)}[r(s,a')]. C π r ( s , a ) = r ( s , a ) − E a ′ ∼ π ( ⋅ ∣ s ) [ r ( s , a ′ )] .
Training uses no downstream reward. The two predictor networks propagate feature information through one-step transitions. Soft-HGR updates the feature networks and canonicalization fixes their final coordinates. Sample-efficiency gains over direct positive-lag training require empirical validation.
Environment and Evaluation Details
This section specifies the finite-state environments used for the spectral diagnostics and one-step reward-transfer experiments. In every experiment, the transition kernel, initial distribution, and reference policy are fixed before the reward is selected. Consequently, changing a downstream reward does not change the data-generating process or the learned representation. Unless stated otherwise, we use γ = 0.9 \gamma= 0.9 γ = 0.9 .
Discrete Finite Environments
Navigation environments
Both navigation domains have the five actions {UP, RIGHT, DOWN, LEFT, STAY}. Transitions are deterministic. A movement into a wall or outside the map leaves the agent in its current cell. The STAY action also leaves the state unchanged. The initial distribution μ \mu μ is uniform over all free cells. Rewards do not terminate an episode: we evaluate the corresponding continuing discounted MDP exactly.
Table 10. Finite-state environments used in the reward-transfer experiments. The DCDM rank is computed for the fixed reference policy at γ = 0.9 \gamma= 0.9 γ = 0.9 .
Grid World. As is shown in Figure 23 , Grid World uses a 7 × 8 7 \times8 7 × 8 canvas. The six cells
Figure 23. Behavior policy, environment, in-distribution and out-of-distribution tasks for grid world.
{ ( i , j ) : i ∈ { 1 , 2 , 3 } , j ∈ { 3 , 4 } } \{(i,j): i \in\{1,2,3\},\ j \in\{3,4\}\} {( i , j ) : i ∈ { 1 , 2 , 3 } , j ∈ { 3 , 4 }}
are blocked, leaving 50 states and 250 state–action pairs. Coordinates are zero-indexed from the top-left corner. The four in-distribution (ID) goal locations are top-left (0, 0), top-right (0, 7), center (4, 4), and bottom-right (6, 7). The population positive-lag DCDM has nonzero rank 49 under the reference policy used below.
Four-room. As is shown in Figure 24 , Four-room uses an 11 × 11 11 \times11 11 × 11 canvas. An interior vertical wall lies at column 5 and an interior horizontal wall lies at row 5, with doorways at (1, 5), (8, 5), (5, 2), and (5, 8). Removing the wall cells leaves 104 states and 520 state–action pairs. The four ID goals are placed at (1, 1), (1, 9), (9, 1), and (9, 9). The corresponding population DCDM rank is 103.
Figure 24. Behavior policy, environment, in-distribution and out-of-distribution tasks for Four-room.
Reference policies and discounted distributions
The navigation rank-control figures use one reproducible, full-support fixed balanced policy for each environment. Let π s m \pi_{\mathrm{sm}} π sm be a smooth random policy obtained by applying a softmax to fixed-seed Fourier features of the cell coordinates. We use
π 0 ( a ∣ s ) = 0.2 × 1 5 + 0.8 π s m ( a ∣ s ) . \pi_0(a \mid s) = 0.2 \times\frac{1}{5} + 0.8\pi_{\mathrm{sm}}(a \mid s). π 0 ( a ∣ s ) = 0.2 × 5 1 + 0.8 π sm ( a ∣ s ) .
The uniform component guarantees π 0 ( a ∣ s ) ≥ 0.04 \pi_0(a \mid s) \ge0.04 π 0 ( a ∣ s ) ≥ 0.04 . The same realized policy is used to collect reward-free data, define the SUAF operator, and evaluate all rewards within an environment. It is not resampled per reward or per retained rank. Experiments explicitly described as the uniform reward-free baseline protocol instead use π 0 ( a ∣ s ) = 1 / 5 \pi_0(a \mid s) = 1/5 π 0 ( a ∣ s ) = 1/5 . Those results are not mixed with the fixed-balanced rank-control curves.
For a state–action pair X t = ( S t , A t ) X_t = (S_t, A_t) X t = ( S t , A t ) , the normalized discounted occupancy and positive-lag marginal are
d π 0 ( x ) = ( 1 − γ ) ∑ t ≥ 0 γ t Pr μ , π 0 ( X t = x ) , (96) d^{\pi_0}(x) = (1-\gamma)\sum_{t \ge0}\gamma^t\Pr_{\mu,\pi_0}(X_t=x), \tag*{(96)} d π 0 ( x ) = ( 1 − γ ) t ≥ 0 ∑ γ t μ , π 0 Pr ( X t = x ) , (96)
ν + , π 0 ( y ) = ∑ x d π 0 ( x ) M + , π 0 ( y ∣ x ) , (97) \nu^{+,\pi_0}(y) = \sum_x d^{\pi_0}(x)M^{+,\pi_0}(y \mid x), \tag*{(97)} ν + , π 0 ( y ) = x ∑ d π 0 ( x ) M + , π 0 ( y ∣ x ) , (97)
where M + , π 0 ( y ∣ x ) = ( 1 − γ ) ∑ ℓ ≥ 1 γ ℓ − 1 Pr π 0 ( X ℓ = y ∣ X 0 = x ) M^{+,\pi_0}(y \mid x) = (1-\gamma)\sum_{\ell\ge1}\gamma^{\ell-1}\Pr_{\pi_0}(X_\ell=y \mid X_0=x) M + , π 0 ( y ∣ x ) = ( 1 − γ ) ∑ ℓ ≥ 1 γ ℓ − 1 Pr π 0 ( X ℓ = y ∣ X 0 = x ) . All task rewards are normalized once using the reference-policy outcome marginal,
r ~ = r ∥ r ∥ ν + , π 0 , ∥ r ∥ ν + , π 0 2 = ∑ x ν + , π 0 ( x ) r ( x ) 2 . (98) \widetilde r = \frac{r}{\lVert r\rVert_{\nu^{+,\pi_0}}}, \qquad\lVert r\rVert_{\nu^{+,\pi_0}}^2 = \sum_x \nu^{+,\pi_0}(x)r(x)^2. \tag*{(98)} r = ∥ r ∥ ν + , π 0 r , ∥ r ∥ ν + , π 0 2 = x ∑ ν + , π 0 ( x ) r ( x ) 2 . (98)
The normalization is fixed before policy improvement and is not recomputed under the improved policy.
ID and OOD reward families
Sparse ID goals. For a goal cell g g g , the unnormalized reward is state-only,
r g ( s , a ) = 1 { s = g } , (99) r_g(s,a) = \mathbf{1}\{s=g\}, \tag*{(99)} r g ( s , a ) = 1 { s = g } , (99)
for every action. Grid World uses the four goal cells listed above. Four-room uses one goal inside each room. These sparse goals form the ID family used while selecting the representation protocol.
OOD state composition. This reward composes two diagonal ID goals and introduces a signed component that was absent from the ID family:
r c o m p ( s , a ) = r T L ( s , a ) + r B R ( s , a ) − 1 2 1 { s ∈ H } . (100) r_{\mathrm{comp}}(s,a) = r_{\mathrm{TL}}(s,a) + r_{\mathrm{BR}}(s,a) - \frac{1}{2}\mathbf{1}\{s\in\mathcal{H}\}. \tag*{(100)} r comp ( s , a ) = r TL ( s , a ) + r BR ( s , a ) − 2 1 1 { s ∈ H } . (100)
Here H \mathcal{H} H contains all valid cells whose Manhattan distance to the geometric map center is no larger than the fifth order statistic. Ties may therefore make ∣ H ∣ > 5 |\mathcal{H}| > 5 ∣ H ∣ > 5 . Thus this task tests a new signed combination of spatial events, rather than another single-goal readout.
OOD state–action circulation. Let c c c be the geometric map center, p s ∈ R 2 p_s \in\mathbb{R}^2 p s ∈ R 2 the row–column coordinate of state s s s , and
t s = ( p s , 2 − c 2 , − ( p s , 1 − c 1 ) ) max { ∥ p s − c ∥ 2 , 1 } t_s = \frac{(p_{s,2}-c_2,-(p_{s,1}-c_1))}{\max\{\lVert p_s-c\rVert_2,1\}} t s = max {∥ p s − c ∥ 2 , 1 } ( p s , 2 − c 2 , − ( p s , 1 − c 1 ))
the clockwise tangent direction. The circulation reward is
r c i r c ( s , a ) = t s T ( E [ S ′ ∣ s , a ] − p s ) . (101) r_{\mathrm{circ}}(s,a) = t_s^{\mathsf T}\left(\mathbb{E}[S' \mid s,a]-p_s\right). \tag*{(101)} r circ ( s , a ) = t s T ( E [ S ′ ∣ s , a ] − p s ) . (101)
Unlike all ID goals, this reward depends explicitly on the action and favors clockwise motion around the map center. The equation (100) and equation (101) are normalized using equation (98) before evaluation.
Continuing Taxi
Continuing Taxi
As is shown in Figure 25 , Taxi uses the Taxi-v3 5 × 5 5 \times5 5 × 5 road map with 500 encoded states and six actions: four movements, pickup, and dropoff. A state records the taxi position, one of four passenger landmarks (or that the passenger is inside the taxi), and one of four destinations. The initial law is uniform over taxi positions and over passenger–destination pairs with distinct landmarks, giving support on 25 × 4 × 3 = 300 25 \times4 \times3 = 300 25 × 4 × 3 = 300 encoded states. Successful delivery is followed by a draw from this same initial law, producing a continuing MDP without changing the Taxi-v3 within-task dynamics. The reference policy is uniform over the six actions, and the population DCDM rank is 399.
Figure 25. Environment, in-distribution and out-of-distribution tasks for taxi.
The four ID rewards are: successful delivery. Delivery with a 0.01 step cost. Delivery with a 0.10 illegal pickup/dropoff penalty, and delivery plus 0.25 for successful pickup. The three OOD rewards change the task structure: (i) pickup priority, 0.25 times delivery plus pickup; (ii) center hazard, delivery minus 0.08 whenever a passenger-carrying taxi is within Manhattan distance one of the map center; and (iii) action-dependent fuel cost, delivery minus 0.02 times the fixed action-cost vector (0.7, 1.0, 0.8, 1.1, 0.2, 0.2). As in the navigation domains, every Taxi reward is normalized under ν + , π 0 \nu^{+,\pi_0} ν + , π 0 , while dynamics, reset law, and reference policy remain unchanged.
Tasks We evaluate reward transfer while holding the MDP dynamics, state and action spaces, behavior policy, and offline replay distribution fixed. Thus, “OOD” refers exclusively to a shift in the reward family rather than to a dynamics or observation-distribution shift. In Grid World and Four-room, the ID tasks are four sparse single-goal rewards located in different regions of the environment. We construct two structurally distinct OOD tasks: a compositional reward that combines two distant goals with an unseen negative center hazard, and an action-dependent circulation reward that favors clockwise motion around the center of the map. In continuing Taxi, the ID tasks are four related service objectives: successful delivery, fast delivery with a step cost, safe delivery with an illegal-action penalty, and staged service with an intermediate pickup bonus. The Taxi OOD tasks alter the task structure more substantially by prioritizing pickup over delivery, penalizing carrying the passenger through the central region, or introducing action-dependent fuel costs. All rewards are normalized to unit ν + , π b \nu^{+,\pi_b} ν + , π b -weighted norm, and the OOD rewards are excluded from model selection and hyperparameter tuning.
Continuous Environments
We evaluate reward-independent representation learning and downstream reward transfer on continuous-control environments from ExORL and OGBench as shown in Figure 26 . Within each domain, all downstream tasks share the same observation space, action space, transition dynamics, and offline transition dataset. The representation is learned without access to task rewards. At evaluation time, different control problems are created by changing only the downstream reward or goal. This protocol tests whether a single representation of the dynamics can be reused across multiple tasks.
Figure 26. Environments of ExORL and OGBench.
ExORL locomotion environments. We use the walker and cheetah domains from ExORL. These environments evaluate transfer among locomotion objectives that share the same underlying physical system but favor different behaviors, velocities, or directions of motion.
For walker , we consider four tasks:
flip , which rewards completing a flipping motion;
run , which rewards fast forward locomotion;
stand , which rewards maintaining an upright stationary pose;
walk , which rewards forward locomotion at a walking speed.
The tasks therefore range from static stabilization to periodic locomotion and agile whole-body motion.
For cheetah , we consider four tasks:
run , which rewards fast forward locomotion;
run backward , which rewards fast locomotion in the reverse direction;
Experimental details
walk , which rewards slower forward locomotion;
walk backward , which rewards slower locomotion in the reverse direction.
The forward and backward tasks test whether the learned representation can be reused when the preferred direction of motion changes, while the walking and running tasks additionally vary the desired locomotion regime.
OGBench AntMaze Large Navigate. This domain requires a continuous-control agent to navigate between distant regions of a large maze. Each task is specified by a starting region and a target region. The maze geometry and transition dynamics remain fixed, but different start-goal pairs may require substantially different long-horizon routes. We consider five tasks:
bottom left → \to → top right;
center → \to → top left;
center → \to → bottom right;
bottom right → \to → center;
bottom left → \to → center.
These tasks evaluate whether the learned representation captures the long-horizon connectivity of the maze well enough to support transfer among different navigation objectives.
OGBench Cube Single Play. This domain is a continuous robotic manipulation problem in which the agent must pick up a cube and place it at a specified target location. The robot, object, and contact dynamics are shared by all tasks; only the desired placement target changes. We evaluate five tasks:
pick and place to the left;
pick and place to the front;
pick and place to the back;
pick and place along a diagonal direction;
pick and place along an off-diagonal direction.
Unlike the locomotion and navigation domains, successful transfer in this environment requires the representation to capture contact-rich manipulation dynamics, including both grasping and task-dependent object transport.
For every domain, overall denotes the arithmetic mean of the evaluation score over all downstream tasks in that domain.
Table 11. Environment, replay, and representation dimensions. A geometric positive lag has law Pr ( L = ℓ ) = ( 1 − γ ) γ ℓ − 1 \Pr(L=\ell)=(1-\gamma)\gamma^{\ell-1} Pr ( L = ℓ ) = ( 1 − γ ) γ ℓ − 1 for ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 . The Taxi model outputs 499 coordinates as an overparameterization diagnostic, while the population DCDM has rank 399. Coordinates beyond rank 399 do not correspond to additional nonzero population SUAF modes.
Data processing
Uncertainty estimation. For each experimental configuration, we repeat the experiment with N N N independent random seeds. Let x i x_i x i denote the evaluation metric from the i i i -th run at a given rank or training checkpoint. We compute the mean as x ˉ = N − 1 ∑ i = 1 N x i \bar{x}=N^{-1}\sum_{i=1}^{N}x_i x ˉ = N − 1 ∑ i = 1 N x i and the sample standard deviation (std) as s = ( N − 1 ) − 1 ∑ i = 1 N ( x i − x ˉ ) 2 s=\sqrt{(N-1)^{-1}\sum_{i=1}^{N}(x_i-\bar{x})^2} s = ( N − 1 ) − 1 ∑ i = 1 N ( x i − x ˉ ) 2 . The 95% confidence interval (CI) for the mean is x ˉ ± t 0.975 , N − 1 s / N \bar{x}\pm t_{0.975,N-1}s/\sqrt{N} x ˉ ± t 0.975 , N − 1 s / N , where t 0.975 , N − 1 t_{0.975,N-1} t 0.975 , N − 1 is the 97.5th percentile of Student’s t t t -distribution with N − 1 N-1 N − 1 degrees of freedom. Standard deviations describe variability across runs, whereas confidence intervals quantify uncertainty in the estimated mean. Intervals are computed separately at each plotted point on the original metric scale, before any axis transformation, and represent pointwise rather than simultaneous confidence intervals.
Implementation details and hyperparameters of discrete environments
Tables 11–14 report the resolved settings used to produce the learned-representation and one-step-control results. We distinguish an optimizer update from an outer bidirectional iteration: one outer iteration performs, in order, one update of the forward predictor h h h , the left feature f f f , the reverse predictor v v v , and the right feature g g g , and therefore contains four optimizer updates. Unless noted otherwise, training tensors use single precision and the small-matrix calibration is performed in double precision.
The reverse predictor uses the same paired one-step transition ( X , Y 1 ) (X,Y_1) ( X , Y 1 ) in its quadratic and cross terms. Its boundary minibatch is sampled independently from the known d 0 ( s , a ) = μ ( s ) π 0 ( a ∣ s ) d_0(s,a)=\mu(s)\pi_0(a\mid s) d 0 ( s , a ) = μ ( s ) π 0 ( a ∣ s ) . No population transition matrix or population SUAF mode is supplied to training. Target tables are updated as h ˉ ← ( 1 − τ ) h ˉ + τ h \bar{h} \leftarrow(1-\tau)\bar{h}+\tau h h ˉ ← ( 1 − τ ) h ˉ + τ h and analogously for v v v . The learning rate at optimizer update t t t is max { 3 × 10 − 5 , 3 × 10 − 3 0.5 t / 10 5 } \max\{3 \times10^{-5}, 3 \times10^{-3}\,0.5^{t/10^5}\} max { 3 × 1 0 − 5 , 3 × 1 0 − 3 0. 5 t /1 0 5 } .
Table 12. Bidirectional-TD SUAF optimization. The implementation uses trainable tables (embedding matrices), not hidden-layer MLPs. Thus the table dimensions below fully specify the representation architecture. Target copies of h h h and v v v have the same shapes but are not optimized directly.
The calibration split is never used to optimize the raw feature tables. GridWorld and Four-room share the same independently generated calibration and validation joint distributions across representation seeds. Taxi first draws 10 6 10^6 1 0 6 independent calibration pairs from each seed’s replay and uses a fixed half/half split. Taxi’s ridge scale is fixed rather than selected by the two-stage navigation-domain validation sweep. This difference is reported explicitly rather than treating the two procedures as identical.
For Laplacian, BYOL-γ \gamma γ , TD-JEPA, ICVF, HILP, FB, and One-Step FB, we start from the upstream configurations in the public One-Step-FB implementation (revision fea347e), replace every representation, predictor, value, and actor hidden-width tuple exposed by the configuration with (256, 256), set the latent dimension as in Table 14 , set γ = 0.9 \gamma= 0.9 γ = 0.9 , and disable the continuous-action tanh squash. Our adapter never optimizes or evaluates the continuous actor: every action maximization is an exact enumeration of the finite action set. Actor-only coefficients are therefore inactive and omitted. The remaining active method-specific settings are listed in Table 15 .
Table 14. Downstream one-step control and shared settings of the learned baseline adapter. “Exact” refers only to finite-MDP evaluation after reward-free representation training. It does not supply oracle quantities to SUAF training.
Table 15. Active method-specific baseline settings after applying the common discrete adapter. All methods use a two-hidden-layer MLP with widths (256, 256) and GELU activations, Optax Adam with learning rate 10 − 4 10^{-4} 1 0 − 4 , target-update coefficient 0.005, normalized latents, and no image encoder. Goal mixtures are ordered as current / geometric same-trajectory / random. Here d d d denotes the environment-specific latent dimension in Table 14 .
Table 13. Reward-free checkpoint selection and post-hoc calibration. For GridWorld and Four-room, λ f = s f tr ( C f ) / k \lambda_f = s_f \operatorname{tr}(C_f)/k λ f = s f tr ( C f ) / k and λ g = s g tr ( C g ) / k \lambda_g = s_g \operatorname{tr}(C_g)/k λ g = s g tr ( C g ) / k . Shrinkage uses σ ~ i = σ i 3 / ( σ i 2 + τ σ 2 ) \widetilde{\sigma}_i = \sigma_i^3/(\sigma_i^2+\tau_\sigma^2) σ i = σ i 3 / ( σ i 2 + τ σ 2 ) with τ σ = s σ σ 1 \tau_\sigma= s_\sigma\sigma_1 τ σ = s σ σ 1 .
Continuous-Control Environments and Implementation Details
This section specifies the implementation used for the state-based ExORL domains Walker and Cheetah, and the state-based OGBench domains AntMaze Large Navigate and Cube Single Play. We align the data protocol, net work widths, actor parameterization, optimization budget, zero-shot evaluation, and reporting convention with the public One-Step FB implementation. The deliberate SUAF-specific differences are the positive-lag operator, action-centering of the left feature, nested mode ordering, bidirectional TD predictors, and post-hoc canonicalization.
Reproducibility convention.
The resolved settings below follow the executable commands and defaults in the public One-Step FB repository rather than silently combining them with prose defaults. In particular, the released ExORL command uses a three-layer backward MLP of width 256 and the released agent enables LayerNorm in the forward and backward representations. Table 3 of the accompanying One-Step FB paper instead lists a two-layer backward MLP of width 512 and states that LayerNorm is disabled. We use the released command/code configuration and record this discrepancy here.
Datasets and evaluation protocol
Table 16. Dataset and evaluation protocol. These values reproduce the state-based protocol of One-Step FB. “Final score” denotes averaging the evaluations at the last three checkpoints, not selecting the best checkpoint.
The ExORL training and zero-shot splits are generated from disjoint portions of the same exploratory dataset. OGBench uses its official independent train and validation files. Downstream rewards are never used to optimize the reward-free representation. They are first introduced when computing the task coordinate and evaluating the resulting latent-conditioned actor.
Network architecture
Let d d d denote the learned representation dimension. Our left SUAF feature f ( s , a ) f(s, a) f ( s , a ) and forward TD predictor h ( s , a ) h(s, a) h ( s , a ) use the upstream forward-network architecture. The right outcome feature g ( s ) g(s) g ( s ) and reverse TD predictor v ( s , a ) v(s, a) v ( s , a ) use the upstream backward-network architecture. The actor consumes the concatenation of the observation and reward coordinate β ∈ R d \beta\in\mathbb{R}^{d} β ∈ R d . Two independently initialized left heads are used when computing the actor score. The right representation is shared.
Table 17. Resolved network architecture. A tuple lists hidden-layer widths. The output layer is not included. The twin count applies to the left feature and its target copy.
Empirical action-centering
The offline datasets do not provide a callable behavior policy. We therefore construct a nonparametric empirical conditional action distribution once from the reward-free training split. We draw a fixed reference pool of N r e f = 32,768 N_{\mathrm{ref}} = 32{,}768 N ref = 32 , 768 factual state–action rows. States are standardized coordinate-wise using training-set statistics. For a query state s s s , let N K ( s ) \mathcal{N}_{K}(s) N K ( s ) contain the K = 16 K = 16 K = 16 reference states with the smallest squared Euclidean distance, and let a j a_j a j be the factual action attached to reference state s j s_j s j . We define π b b ( d a ∣ s ) = 1 K ∑ j ∈ N K ( s ) δ a j ( d a ) \pi_{\mathrm{bb}}(\mathrm{d}a \mid s) = \frac{1}{K} \sum_{j \in\mathcal{N}_{K}(s)} \delta_{a_j}(\mathrm{d}a) π bb ( d a ∣ s ) = K 1 ∑ j ∈ N K ( s ) δ a j ( d a ) , with K = 16 K = 16 K = 16 and action-center every raw left feature as
f c ( s , a ) = f r a w ( s , a ) − 1 K ∑ j ∈ N K ( s ) f r a w ( s , a j ) . (102) f_{\mathrm{c}}(s,a) = f_{\mathrm{raw}}(s,a) - \frac{1}{K} \sum_{j \in\mathcal{N}_{K}(s)} f_{\mathrm{raw}}(s,a_j). \tag*{(102)} f c ( s , a ) = f raw ( s , a ) − K 1 j ∈ N K ( s ) ∑ f raw ( s , a j ) . (102)
For a training query originating from episode e e e , reference rows from the same original episode are masked before finding nearest neighbors. This cross-fitting rule prevents the factual action from being deterministically included in its own baseline and avoids the finite-K K K shrinkage caused by reusing the factual action. The neighbor search and the feature baseline are recomputed for the current query state, but the reference pool and its standardization statistics remain fixed throughout training. No behavior policy MLP is fitted.
Action-centering in equation 102 is used in the feature loss, reverse-TD target, calibration covariance, whitening/SVD, and all reported advantage errors. During actor differentiation the subtracted baseline is constant with respect to the proposed action at fixed s s s . Consequently it may be cached without changing the actor gradient. We still include it when logging numerical advantages, so the reported score is centered and not an arbitrary state-dependent offset.
Table 18. Hyperparameters of empirical action-centering, shared across the four continuous-control domains.
Figure 27. Reserved diagnostic for empirical action-centering of Walker. (a) standardized neighbor distance versus neighbor rank; (b) per-action-dimension conditional standard deviation; and (c) kNN action samples, their mean, and the factual action for representative query states.
Figure 28. Reserved diagnostic for empirical action-centering of Cheetah. (a) standardized neighbor distance versus neighbor rank; (b) per-action-dimension conditional standard deviation; and (c) kNN action samples, their mean, and the factual action for representative query states.
Figure 29. Reserved diagnostic for empirical action-centering of Antmaze large. (a) standardized neighbor distance versus neighbor rank; (b) per-action-dimension conditional standard deviation; and (c) kNN action samples, their mean, and the factual action for representative query states.
Figure 30. Reserved diagnostic for empirical action-centering of Cube Single Play. (a) standardized neighbor distance versus neighbor rank; (b) per-action-dimension conditional standard deviation; and (c) kNN action samples, their mean, and the factual action for representative query states.
Representation learning and calibration
For a positive-lag outcome Y Y Y and X = ( S , A ) X=(S,A) X = ( S , A ) , the learned delayed component uses the action-centered left feature and marginal-centered right feature. The forward and reverse vector predictors are trained with one-step TD and Polyak targets. After representation learning, an independent reward-free split is used to estimate feature means and covariance matrices, whiten both sides, and compute a d × d d \times d d × d SVD. The canonical modes are therefore
f ^ = f c T f , g ^ = ( g r a w − μ ^ g ) T g , Σ ^ = diag ( σ ^ 1 , … , σ ^ d ) . (103) \widehat{f}=f_cT_f,\qquad\widehat{g}=(g_{\mathrm{raw}}-\widehat{\mu}_g)T_g,\qquad\widehat{\Sigma}=\operatorname{diag}(\widehat{\sigma}_1,\ldots,\widehat{\sigma}_d). \tag*{(103)} f = f c T f , g = ( g raw − μ g ) T g , Σ = diag ( σ 1 , … , σ d ) . (103)
Table 19. Optimization and representation hyperparameters. Domain-specific regularization coefficients match the public One-Step FB settings.
The covariance ridges for the two sides are selected jointly from the stated grid by the reward-free held-out quadratic loss. The shrinkage multiplier is then selected from its stated grid using the same held-out criterion. Thus a selected value may differ across seeds, but the selection rule and candidate sets are fixed before inspecting downstream task performance. We store the complete sweep and selected values in each calibration artifact.
Reward encoding and actor update
During training, using a set of training rewards ( Y i , r i ) i = 1 N (Y_i, r_i)_{i=1}^{N} ( Y i , r i ) i = 1 N , reward embeddings follows,
β r = ∑ i = 1 N r i g ^ ( Y i ) . (104) \beta_r = \sum_{i=1}^{N} r_i \hat{g}(Y_i). \tag*{(104)} β r = i = 1 ∑ N r i g ^ ( Y i ) . (104)
Unlike the upstream implementation, our primary SUAF variant does not project β r \beta_r β r onto a fixed-radius sphere and does not multiply it by Σ ^ \hat{\Sigma} Σ ^ before passing it to the actor. Thus both its direction and magnitude are available to the policy.
Singular values enter only the SUAF advantage,
A ^ r ( s , a ) = C ^ π r ( s , a ) + γ 1 − γ f ^ ( s , a ) ⊤ Σ ^ β r . (105) \hat{A}_r(s,a)=\hat{C}_{\pi r}(s,a)+\frac{\gamma}{1-\gamma}\hat{f}(s,a)^\top\hat{\Sigma}\beta_r. \tag*{(105)} A ^ r ( s , a ) = C ^ π r ( s , a ) + 1 − γ γ f ^ ( s , a ) ⊤ Σ ^ β r . (105)
For rewards represented as functions of the stored current state, C ^ π r = 0 \hat{C}_{\pi r}=0 C ^ π r = 0 . For genuinely action-dependent or next-state rewards, the immediate contrast is estimated separately and retained. It is not folded into the positive-lag factorization.
The actor is trained by reparameterized policy-gradient plus behavioral cloning,
L a c t o r = − sg ( 1 E [ ∣ A ^ r ∣ ] ) E [ A ^ r ( S , π ϕ ( S , β r ) ) ] + λ B C E [ − log π ϕ ( A ∣ S , β r ) ] . (106) \mathcal{L}_{\mathrm{actor}}=-\operatorname{sg}\left(\frac{1}{\mathbb{E}[|\hat{A}_r|]}\right)\mathbb{E}\left[\hat{A}_r\left(S,\pi_\phi(S,\beta_r)\right)\right]+\lambda_{\mathrm{BC}}\mathbb{E}\left[-\log\pi_\phi(A\mid S,\beta_r)\right]. \tag*{(106)} L actor = − sg ( E [ ∣ A ^ r ∣ ] 1 ) E [ A ^ r ( S , π ϕ ( S , β r ) ) ] + λ BC E [ − log π ϕ ( A ∣ S , β r ) ] . (106)
At evaluation time, each action is produced by one actor forward pass. We do not enumerate action candidates. The upstream fixed-radius latent normalization is retained as a separately labeled ablation; it is not mixed with the raw-β \beta β main result.