Near-Optimal Regret in Linear MDPs with Aggregate Bandit Feedback

Asaf B. Cassel, Haipeng Luo, Aviv Rosenberg, Dmitry Sotnikov

Abstract

In many real-world Reinforcement Learning (RL) applications, providing a reward signal at every step is impractical. Instead, feedback is often only available as a sum of rewards at the end of an episode. This paper investigates the model of RL with Aggregate Bandit Feedback (RL-ABF) within the context of linear function approximation. We introduce two novel algorithms: RE-LSVI, a value-based optimistic algorithm, and REPO, a policy optimization algorithm. Both leverage a new ensemble randomization technique to achieve near-optimal regret guarantees, extending the feasibility of ABF from simple tabular settings to complex, high-dimensional environments.

Introduction

Standard Reinforcement Learning assumes that an agent receives an immediate reward $r_h$ after every action $a_h$ taken in state $s_h$. However, in domains like training Large Language Models (LLMs) or complex robotics, we often only observe the final outcome. For instance, a robot might only receive a success/failure signal after completing a multi-step assembly task, or an LLM might be evaluated on the overall quality of a generated paragraph rather than individual tokens.

This setting is known as Aggregate Bandit Feedback (ABF). While prior research addressed ABF in tabular MDPs, these methods do not scale to the massive state spaces encountered in modern AI. To bridge this gap, we study ABF in Linear MDPs, where the transition dynamics and reward functions are linear combinations of known feature mappings. This allows for efficient generalization across states but introduces significant challenges in credit assignment and maintaining optimism during exploration.

The Challenge of Aggregate Feedback

In ABF, the agent only observes $G = \sum_{h=1}^H r_h(s_h, a_h) + \epsilon$, where $\epsilon$ is noise. This creates two primary hurdles:

  1. Credit Assignment: Without per-step rewards, the agent must infer which specific actions contributed to the final sum.
  2. Optimism and Bias: Standard RL algorithms often "clip" value estimates to a known range (e.g., $[0, H]$). In ABF, traditional clipping introduces a bias that destroys the correlation between rewards across the episode, making it difficult to maintain the "optimism in the face of uncertainty" required for efficient exploration.

Proposed Algorithms

1. Ensemble Randomization

Central to our approach is a novel ensemble randomization technique. Traditional Thompson Sampling involves sampling a single model from a posterior distribution. In contrast, our algorithms maintain an ensemble of $m \approx \log(K/\delta)$ different Q-functions. By adding independent Gaussian noise to the aggregate reward estimates for each ensemble member, we ensure that at least one member is optimistic with high probability. This "ensemble trick" simplifies the mathematical analysis and provides a robust mechanism for exploration.

2. RE-LSVI (Randomized Ensemble Least Squares Value Iteration)

RE-LSVI is a value-based algorithm that maintains an ensemble of Q-function candidates. At each step, the agent follows the policy of the most optimistic member in the ensemble. To handle the bias issue, we introduce Loose Truncation—a symmetric clipping mechanism that keeps estimates bounded while preserving the unbiasedness of the reward estimates.

3. REPO (Randomized Ensemble Policy Optimization)

REPO represents the first policy optimization algorithm for the ABF setting. It utilizes a "hedging" scheme based on Multiplicative Weights to arbitrate between different policy copies within the ensemble. This allows the agent to effectively explore the policy space even when the reward signal is delayed and aggregated.

Theoretical Results

We prove that both RE-LSVI and REPO achieve near-optimal regret bounds of $\tilde{O}(\text{poly}(dH)\sqrt{K})$, where $d$ is the feature dimension, $H$ is the horizon, and $K$ is the number of episodes. The $\sqrt{K}$ dependence is the theoretical gold standard for regret in these settings, indicating that the algorithms learn efficiently as they gather more data.

While the dependence on $K$ is optimal, the current polynomial dependencies on dimension and horizon (specifically $d^5 H^7$ for RE-LSVI) reflect the inherent difficulty of the ABF setting compared to standard MDPs. Nevertheless, RE-LSVI provides a tighter regret bound with respect to $H$ than previous attempts at similar linear bandit-style problems.

Conclusion and Future Work

This work provides a theoretical foundation for applying Reinforcement Learning to environments where only aggregate feedback is available. By combining linear function approximation with ensemble-based optimism, we demonstrate that it is possible to achieve near-optimal learning rates in large-scale environments.

Future research may focus on sharpening the polynomial dependencies on $d$ and $H$, extending the analysis to stochastic initial states, and conducting empirical evaluations to see how these ensemble methods perform on practical deep RL benchmarks.

Summary updated

Abstract

In many real-world applications, it is hard to provide a reward signal in each step of a Reinforcement Learning (RL) process and more natural to give feedback when an episode ends. To this end, we study the recently proposed model of RL with Aggregate Bandit Feedback (RL-ABF), where the agent only observes the sum of rewards at the end of an episode instead of each reward individually. Prior work studied RL-ABF only in tabular settings, where the number of states is assumed to be small. In this paper, we extend ABF to linear function approximation and develop two efficient algorithms with near-optimal regret guarantees: a value-based optimistic algorithm built on a new randomization technique with a Q-functions ensemble, and a policy optimization algorithm that uses a novel hedging scheme over the ensemble.
BibTeX
@inproceedings{cassel2024near,
  author = {Asaf B. Cassel and Haipeng Luo and Aviv Rosenberg and Dmitry Sotnikov},
  title = {{Near-Optimal Regret in Linear MDPs with Aggregate Bandit Feedback}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=b5K45TcCvx},
}
Figure