Introduction
Standard Reinforcement Learning (RL) paradigms rely on the assumption that an agent receives an immediate reward signal $r(s, a)$ after every action. In many real-world applications, such as autonomous driving or user interface (UI) design, providing such granular feedback is often impractical or impossible. This paper introduces a more realistic framework: RL with Trajectory Feedback. In this setting, the agent only observes the cumulative sum of rewards at the end of an entire episode, obscuring the specific contribution of individual actions.
The Challenge of Credit Assignment
In traditional RL, the reward function is explicit at each step. However, for human supervisors, assigning a numerical value to every micro-adjustment of a steering wheel or every click in a multi-step UI task is a "Sisyphean task." It is far more natural to provide a single aggregate score for the entire trajectory (e.g., "the trip was safe" or "the task was completed successfully").
The fundamental challenge is credit assignment: how can an agent determine which specific state-action pairs were beneficial when it only receives a single, noisy aggregate score for a long sequence of actions? This problem effectively bridges the gap between RL and Linear Bandits, where the total trajectory reward is treated as a linear combination of the rewards of visited state-action pairs.
Methodology
The authors propose several algorithmic approaches to solve this problem, focusing on both theoretical optimality and computational tractability.
1. Reward Estimation via Least-Squares
The core mechanism for handling trajectory feedback is a regularized Least-Squares (LS) estimator. By tracking the occupancy measure—the frequency with which each state-action pair is visited—across multiple trajectories, the agent can solve a system of linear equations to estimate the underlying reward for each individual state-action pair.
2. OFUL-based Exploration
The first approach adapts the "Optimism in the Face of Uncertainty" (OFUL) principle. While this provides strong theoretical regret guarantees, it is computationally NP-hard as it requires solving a complex convex maximization problem at each step.
3. UCBVI-TS: A Tractable Hybrid
To achieve computational efficiency, the authors introduce UCBVI-TS. This hybrid algorithm utilizes Thompson Sampling (TS) for reward learning—adding Gaussian noise to reward estimates to drive exploration—and Optimistic Value Iteration (UCB) to manage unknown environment transitions. This allows the problem to be solved using standard Dynamic Programming techniques.
4. The Rarely-Switching Variant
To further optimize performance, a "doubling trick" is employed. Heavy matrix computations, such as inversions for the LS estimator, are only performed when the agent has gathered a significant amount of new information. This reduces the per-episode average time complexity without compromising the learning rate.
Key Results and Comparison
The paper establishes the first computationally tractable algorithms for RL with trajectory feedback that achieve near-optimal regret. The authors prove that all proposed algorithms achieve a regret scaling with $\sqrt{K}$ (where $K$ is the number of episodes), ensuring that the agent's performance converges toward the optimal policy over time.
As shown in the table above, there is a clear trade-off between computational complexity and the tightness of the regret bound. While the OFUL approach (Theorem 3) offers the best regret, it is computationally intractable. The TS-based methods (Theorems 4, 5, and 7) provide polynomial-time alternatives, with Theorem 7 offering a significantly improved time complexity through the rarely-switching mechanism.
Theoretical Contributions
A major technical hurdle addressed in this work is the "Expected Elliptical Potential Lemma." In standard linear bandits, the agent knows its exact action; in this setting, the agent only knows the empirical visitation of states, which is a random variable. The authors' new version of this lemma is critical for proving convergence in environments with unknown transitions.
Conclusion and Future Work
This work provides a rigorous foundation for RL in environments where feedback is sparse and aggregate. While it demonstrates that learning is possible with trajectory feedback, it also highlights the "price of weak feedback"—the regret bounds are higher than standard RL by factors related to the state-action space size ($SA$).
Future research directions include extending this framework to Generalized Linear Models (GLMs) for non-linear trajectory feedback and investigating scenarios where state visitation itself is noisy or partially observed.
Summary updated