Introduction
Reinforcement learning (RL) typically assumes that an agent receives immediate feedback—a reward or loss—after every action. However, many practical applications only provide feedback at the end of a sequence of actions. This "aggregate bandit feedback" model is common in fields like healthcare (patient outcome after a treatment course) and education (final exam score after a curriculum).
A significant challenge in these environments is the "Best-of-Both-Worlds" (BOBW) problem: designing an algorithm that performs optimally in stable, stochastic environments (achieving $O(\log T)$ regret) while remaining robust against malicious, adversarial changes (achieving $\tilde{O}(\sqrt{T})$ regret), without knowing the environment type in advance. This paper presents the first BOBW algorithms for episodic Markov Decision Processes (MDPs) under aggregate bandit feedback, covering both known and unknown transition dynamics.
Problem Formulation: Aggregate Bandit Feedback
In an episodic MDP with aggregate feedback, an agent interacts with the environment over $T$ episodes. In each episode, the agent follows a policy, traversing a sequence of states and actions. Unlike standard bandit models, the agent does not observe the loss $l_t(s, a)$ for each state-action pair visited. Instead, it only observes the total loss of the episode: $L_t = \sum_{(s,a) \in \text{path}} l_t(s, a)$.
This feedback structure introduces a severe credit assignment problem. The agent must deduce which specific actions contributed to the final outcome. Furthermore, the agent must balance exploration and exploitation while adapting to the underlying nature of the loss sequence (stochastic vs. adversarial).
Methodology
The proposed approach leverages the Follow-the-Regularized-Leader (FTRL) framework, operating within the space of occupancy measures. Occupancy measures represent the expected number of times a state-action pair is visited under a given policy.
Novel Loss Estimators
To address the lack of step-by-step feedback, the authors developed a new loss estimator inspired by online shortest path problems. This estimator reconstructs individual state-action losses from the aggregate signal. A critical feature of this estimator is its well-controlled second moment, which is essential for establishing tight regret bounds in both stochastic and adversarial regimes.
Regularization and Instance-Dependence
The choice of regularizer in FTRL significantly impacts performance. The study analyzes two primary types:
- Tsallis Entropy: Effective for achieving optimal worst-case (adversarial) bounds.
- Log-barrier: Superior for achieving "gap-dependent" bounds in stochastic settings. The Log-barrier regularizer allows the regret to scale with the specific difficulty of the MDP, specifically the "gaps" between the optimal and sub-optimal actions.
Handling Unknown Transitions
When transition dynamics are unknown, the agent must estimate them while minimizing regret. The authors incorporate confidence-based techniques, using a novel "optimistic loss estimator." This construction ensures that the agent remains exploratory by maintaining optimism in expectation, even when using upper bounds for occupancy measures. Notably, this design bypasses the complex "loss-shifting" techniques required by previous BOBW MDP algorithms, simplifying the overall analysis.
Theoretical Results
The primary contribution of this work is the establishment of near-optimal regret bounds for both known and unknown transition settings.
For known transitions, the Log-barrier-based algorithm achieves $O(\log T)$ regret in stochastic environments and $\tilde{O}(\sqrt{T})$ in adversarial ones. As shown in the comparison above, these bounds are nearly tight against the established lower bounds.
In the more challenging setting of unknown transitions, the paper provides the first BOBW algorithm. It maintains $\tilde{O}(\sqrt{T})$ adversarial robustness while achieving polylogarithmic regret in stochastic environments, filling a significant gap in the literature.
Conclusion
This research provides a robust theoretical foundation for reinforcement learning with aggregate feedback. By combining FTRL with specialized loss estimators and regularizers, the authors demonstrate that it is possible to achieve "Best-of-Both-Worlds" performance even when feedback is sparse and transition dynamics are hidden. While currently focused on tabular MDPs, these insights into loss estimation and regularization pave the way for future extensions into large-scale problems using function approximation and more computationally efficient policy optimization methods.
Summary updated