TL;DR
Standard Reinforcement Learning from Human Feedback (RLHF) relies heavily on pairwise comparisons or binary goal indicators, which can be noisy, uninformative, or restrictive. This paper introduces K-UCBVI, an optimism-based algorithm that learns optimal policies from multi-level, episodic categorical feedback (scores from $0$ to $K-1$ given once per trajectory). The authors prove that the algorithm achieves provably sublinear cumulative regret—$\tilde{\mathcal{O}}(\sqrt{N})$ over $N$ episodes—and validate it empirically using policy gradients on grid-world navigation tasks.
What Problem Does This Paper Address?
In many real-world reinforcement learning (RL) domains—such as autonomous driving or robotic manipulation—specifying a dense, per-step reward function is notoriously difficult. While human feedback helps bridge this gap, existing formulations come with distinct tradeoffs:
- Pairwise preferences (e.g., standard RLHF) require humans to compare pairs or rankings of trajectories, which can be expensive and prone to inconsistent biases.
- Episodic binary feedback (success vs. failure) provides coarse once-per-episode evaluations, but discards partial success or varying degrees of task quality.
This paper targets the sweet spot: multi-level categorical ratings (e.g., a discrete rating from $0$ to $K-1$) provided only at the end of an entire episode. Evaluating complete trajectories naturally accommodates non-Markovian rewards (where reward depends on the history rather than just the current state-action pair). The central challenge is designing a sample-efficient algorithm that learns both the trajectory-level reward model and the optimal policy while maintaining rigorous theoretical regret guarantees.
Methods
The paper formulates the problem in an episodic Markov Decision Process (MDP) with known transition probabilities:
- Categorical Feedback Model: Trajectories $\tau$ are mapped to feature vectors $\phi(\tau) \in \mathbb{R}^d$. A human judge provides a rating $y_\tau \in \{0, \dots, K-1\}$ modeled via a softmax distribution parameterized by latent weights $\{w_i^*\}_{i=0}^{K-1} \subset \mathbb{R}^d$. The expected reward is $R(\tau) = \mathbb{E}[y_\tau]$.
- K-UCBVI Algorithm:
- Concatenates the weights and trajectory features into a higher-dimensional space ($\mathbb{R}^{Kd}$).
- Computes a Maximum Likelihood Estimate (MLE) $\hat{w}_n$ of the weight vector by minimizing the negative log-likelihood over observed trajectory-feedback pairs.
- Leverages strong convexity of the loss function to establish confidence ellipsoids around $\hat{w}_n$, defining an optimistic trajectory reward $\bar{R}(\hat{w}_n, \tau)$.
- Practical Approximation via REINFORCE: Although trajectory-dependent rewards can induce non-Markovian optimal policies, the authors restrict the practical policy search to stationary softmax policies $\pi_\theta(a|s)$. They maximize the optimistic trajectory value function using Monte Carlo policy gradients (REINFORCE) by sampling rollouts under the current policy.
Datasets
- Simulated Grid-World Benchmark: The authors evaluate their framework on a custom $8 \times 8$ grid-world with stochastic transitions (91% intended action, 3% per remaining direction), an absorbing danger state, walls, three collectible coins, and a target goal.
- No external real-world human dataset was used; feedback was synthetically generated via a ground-truth rule-based scoring function (penalizing danger states, rewarding coins collected, and giving maximum score for reaching the goal).
Key Insights and Ideas
- Generalizing Beyond Binary Feedback: Multi-class logistic modeling of episodic feedback captures gradations of performance (e.g., partial task completion) that binary feedback collapses into a single failure bit, providing richer gradient signals.
- Optimism with Non-Linear/Categorical Observations: By framing trajectory scoring as multinomial logistic regression, the authors derive tight parameter concentration bounds using the minimum eigenvalue of the trajectory covariance matrix $\Sigma_{D_n}$.
- Decoupling Planning from Non-Markovianity: Even though trajectory-level feedback is non-Markovian, empirical optimization remains tractable by employing policy gradient methods over stationary policy parameterizations, circumventing the need for computationally prohibitive history-tracking architectures.
Key Results
-
Theoretical Regret Bound: Under bounded feature and parameter assumptions, K-UCBVI achieves high-probability cumulative regret bounded by: $$\mathrm{CR}(N) \le \mathcal{O}\left(\sqrt{N \log \frac{N \log N}{\delta}}\right)$$ confirming sublinear regret in the number of episodes $N$ matching rates seen in binary bandit/RL settings.
-
Empirical Policy Convergence: On the $8 \times 8$ grid-world (averaged over 20 independent runs across 6,000 episodes), the REINFORCE implementation converged to the near-optimal policy for both $K = 4$ and $K = 6$ feedback levels.
- Robustness to Feedback Misspecification: Evaluating performance under uniform label noise (mixing 10%, 50%, and 80% uniform noise into true feedback) demonstrated that policies still reliably converge, albeit at slower rates as noise increases.
Limitations and Future Work
- Known Dynamics Assumption: The theoretical analysis and trajectory sampling assume the environment's transition distribution $\mathbb{P}$ is fully known.
- Exponential Parameter Dependence: Similar to prior work in logistic bandits, the regret bound scales exponentially with the parameter norm bound $B$ via an $\exp(4B)$ term.
- Invertibility Requirements: Bounds rely on the feature covariance matrix $\Sigma_{D_n}$ being invertible and well-conditioned.
- Future Directions: The authors aim to analyze continuous-reward quantization using information-theoretic tools, incorporate alternative human preference models, and test the framework on high-dimensional or continuous control environments.
Summary updated