Papers
Topics
Authors
Recent
Search
2000 character limit reached

Direct Reward Optimization (DRO)

Updated 11 January 2026
  • DRO is a framework in reinforcement learning where policies are optimized using cumulative trajectory rewards instead of per-step signals.
  • It employs regularized least squares to estimate rewards from occupancy measures, addressing the reduced statistical resolution of episodic feedback.
  • The approach supports both known and unknown transition settings, providing regret guarantees and linking trajectory feedback to practical RLHF applications.

Direct Reward Optimization (DRO) in reinforcement learning refers to policy optimization in settings where the agent does not have access to per-step rewards, but only observes a scalar signal representing the cumulative reward (trajectory feedback) over an entire episode. This setup, motivated by practical constraints on reward annotation, fundamentally impacts algorithm design and theoretical guarantees, distinguishing DRO from standard RL protocols that rely on granular, stepwise reward feedback (Efroni et al., 2020).

1. Formalization: Trajectory Feedback and Problem Definition

Direct Reward Optimization within the trajectory feedback paradigm is instantiated on an episodic Markov Decision Process (MDP) M=(S,A,P,r,H)M = (\mathcal{S}, \mathcal{A}, P, r, H), where:

  • S,A\mathcal{S}, \mathcal{A} denote finite state and action sets, with cardinalities SS and AA.
  • P(s′∣s,a)P(s'|s,a) is the transition probability, which may be unknown.
  • r(s,a)∈[0,1]r(s,a) \in [0,1] is the unknown expected per-step reward function.
  • HH is the known episodic horizon.

In each episode kk, the agent selects a policy πk\pi_k, samples a trajectory τk={(shk,ahk)}h=1H\tau_k = \{(s_h^k, a_h^k)\}_{h=1}^H under S,A\mathcal{S}, \mathcal{A}0, and observes only the total reward S,A\mathcal{S}, \mathcal{A}1, in contrast to the standard RL feedback model that reveals S,A\mathcal{S}, \mathcal{A}2 at each timestep. The regret over S,A\mathcal{S}, \mathcal{A}3 episodes is

S,A\mathcal{S}, \mathcal{A}4

where S,A\mathcal{S}, \mathcal{A}5.

This framework compels algorithms to reconstruct per-step rewards and optimize policies based on coarse, trajectory-level feedback (Efroni et al., 2020).

2. Reward Estimation: Regularized Least Squares

Given direct reward signals only at the episode level, reward estimation is addressed by exploiting the linear relation between trajectory returns and occupancy measures. After S,A\mathcal{S}, \mathcal{A}6 episodes, for each episode S,A\mathcal{S}, \mathcal{A}7, the empirical visitation frequencies S,A\mathcal{S}, \mathcal{A}8 and observed trajectory return S,A\mathcal{S}, \mathcal{A}9 are collected. These form the data matrix SS0 (with rows SS1) and return vector SS2.

The regularized least-squares estimator for the unknown reward vector SS3 is

SS4

where SS5 is the regularization parameter. This estimator benefits from concentration results ensuring, with high probability, the estimation error SS6 is bounded by a sequence SS7 (Efroni et al., 2020).

3. Policy Optimization Algorithms: Known and Unknown Transitions

Known Transitions (OFUL-type Algorithm):

If SS8 is known, policy selection can be framed as an optimism-in-the-face-of-uncertainty linear bandit over the occupancy measure set SS9: AA0 After executing AA1 and observing AA2, data matrices are updated. The regret over AA3 episodes has the bound

AA4

Unknown Transitions (UCBVI-TS Hybrid Algorithm):

When AA5 is unknown, the policy is chosen by constructing plug-in transition estimates AA6, adding Gaussian (Thompson-Sampling style) perturbation AA7 to the reward estimator, as well as an optimistic transition bonus AA8. The perturbed reward is

AA9

The policy is selected by solving the MDP with reward P(s′∣s,a)P(s'|s,a)0 and empirical transitions P(s′∣s,a)P(s'|s,a)1 via dynamic programming. Regret in this setting scales as P(s′∣s,a)P(s'|s,a)2 (Efroni et al., 2020).

4. Theoretical Guarantees and Comparative Regret Bounds

Direct Reward Optimization under trajectory feedback leads to provable increases in regret compared to standard per-step RL, reflecting the loss of statistical resolution in reward signals:

  • Per-step RL (minimax): P(s′∣s,a)P(s'|s,a)3
  • Trajectory feedback with known P(s′∣s,a)P(s'|s,a)4: P(s′∣s,a)P(s'|s,a)5 (matched by OFUL-type algorithms up to logs)
  • Trajectory feedback with unknown P(s′∣s,a)P(s'|s,a)6: P(s′∣s,a)P(s'|s,a)7

A key driver of this degradation is the reduction to a single scalar feedback per episode, which inflates the effective noise scale by P(s′∣s,a)P(s'|s,a)8 in linear bandit analysis. When transitions are unknown, an extra P(s′∣s,a)P(s'|s,a)9 term arises from transition estimation.

A plausible implication is that DRO via trajectory feedback should be preferred in circumstances where per-step reward annotation is not feasible, but practitioners must accept increased regret scaling—particularly in high-dimensional (r(s,a)∈[0,1]r(s,a) \in [0,1]0) regimes (Efroni et al., 2020).

5. Practical Implementation and Guidelines

Instantiating DRO with trajectory feedback requires:

  • Initializing statistics: r(s,a)∈[0,1]r(s,a) \in [0,1]1, counts r(s,a)∈[0,1]r(s,a) \in [0,1]2, r(s,a)∈[0,1]r(s,a) \in [0,1]3, r(s,a)∈[0,1]r(s,a) \in [0,1]4.
  • For each episode r(s,a)∈[0,1]r(s,a) \in [0,1]5:

    1. Estimate r(s,a)∈[0,1]r(s,a) \in [0,1]6 empirically from the visited trajectory.
    2. Update r(s,a)∈[0,1]r(s,a) \in [0,1]7, r(s,a)∈[0,1]r(s,a) \in [0,1]8.
    3. Compute r(s,a)∈[0,1]r(s,a) \in [0,1]9.
    4. If HH0 is unknown, build HH1 from empirical counts.
    5. For policy selection: compute bonus HH2, draw perturbation HH3, define optimistic/perturbed HH4, and solve the empirical MDP by dynamic programming to obtain HH5.
  • Key assumptions: Known horizon HH6, sub-Gaussian or bounded reward noise, stationary transitions, positive regularization parameter HH7, and access to an exact dynamic programming solver.

Rarely-switching variants, which reduce the frequency of covariance updates, can lower per-episode computational cost with minor regret penalties (Efroni et al., 2020).

6. Contextual Significance and Relationship to RLHF

Direct Reward Optimization using trajectory feedback is especially relevant for settings where granular expert reward annotation is unavailable, such as single-trajectory RL with human feedback. The methodology links the sequential RLHF paradigm to a linear bandit perspective, where the action space's dimension is HH8 and learning is based on aggregate signals per trajectory.

This suggests that, despite statistical inefficiency, DRO with trajectory feedback is essential for domains where only episodic, scalar annotations are available. The established regret bounds and algorithmic frameworks provide a foundation for RLHF procedures constrained by limited feedback fidelity (Efroni et al., 2020).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Direct Reward Optimization (DRO).