Introduction
Traditional reinforcement learning (RL) relies heavily on dense, step-by-step rewards. Like breadcrumbs guiding an agent toward a goal, these "Markovian" signals provide immediate feedback after every action. However, in real-world applications—such as a robot folding a pile of laundry or a self-driving car navigating a complex intersection—designing a precise reward for every micro-movement is incredibly difficult. Instead, it is much easier to evaluate the final outcome: either the laundry is folded, or it is not.
This paper tackles the challenge of RL in scenarios where a reward signal is only available as a single binary "success/failure" label at the end of an episode. The authors provide the first rigorous theoretical framework for RL with binary, trajectory-level feedback, proving that learning is still possible in this sparse setting and offering both statistically optimal and computationally efficient algorithms.
The Challenge of Once-per-Episode Feedback
Once-per-episode feedback is inherently non-Markovian and significantly harder to learn from than traditional step-by-step rewards. Because the agent only receives a single binary signal at the end of a long sequence of actions, it faces a severe credit assignment problem: it does not know which specific actions led to the final outcome. While empirical work has previously explored this sparse reward setting, theoretical guarantees have been lacking. This paper bridges that gap by modeling rewards through Generalized Linear Models (GLMs).
Theoretical Framework and Methodology
To formalize the problem, the authors model the probability of a "success" ($y_\tau = 1$) at the end of a trajectory $\tau$ using a logistic model:
$$P(\text{success} | \tau) = \mu(w_*^\top \phi(\tau))$$
Here, $\phi(\tau)$ represents a feature map of the entire trajectory, and $w_*$ is an unknown reward parameter. To navigate this environment, the authors propose two primary algorithms:
1. UCBVI with Trajectory Labels (Algorithm 1)
This approach relies on the principle of "Optimism in the Face of Uncertainty." It estimates the reward parameters using regularized cross-entropy loss to construct a confidence set. The agent then selects the policy that performs best under the most optimistic reward within that set. While statistically powerful, finding the optimal policy for a non-linear trajectory reward is computationally heavy.
2. UCBVI with Added Exploration (Algorithm 3)
To address the computational burden of Algorithm 1, the authors introduce a dedicated exploration phase to ensure the agent visits a diverse set of features. This exploration allows the algorithm to utilize a sum-decomposable reward structure, making the optimization solvable in polynomial time via dynamic programming.
Key Findings and Trade-offs
Through rigorous mathematical proofs and synthetic Markov Decision Process (MDP) experiments, the paper reveals several critical insights into learning from sparse feedback:
- Binary Feedback is Sufficient: The most significant takeaway is that binary, end-of-episode feedback is sufficient to achieve sublinear regret. This guarantees that the agent's performance will converge to the optimal strategy over time, despite the extreme sparsity of the reward signal.
- The Curvature of Success: The difficulty of the learning problem is closely tied to the curvature of the logistic function (denoted as $\kappa$). If the reward parameters are very large, the logistic function flattens out (resembling a step function), making it much harder for the agent to distinguish which features are actually driving success.
- Statistical vs. Computational Efficiency: There is a fundamental trade-off between statistical efficiency and computational speed. Algorithm 1 achieves the "gold standard" regret bound of $\tilde{O}(\sqrt{N})$ (where $N$ is the number of episodes), matching the rate of standard RL. However, it is computationally intractable. Conversely, Algorithm 3 remains computationally efficient but incurs a slightly worse regret bound of $\tilde{O}(N^{2/3})$ because it must spend additional time exploring to simplify the underlying math.
Limitations and Future Directions
While this work establishes a strong theoretical foundation, it comes with certain limitations that pave the way for future research:
- The Logistic Assumption: The theoretical guarantees rely on the assumption that rewards follow a specific parametric (logistic) model. If real-world success criteria are more complex and do not fit this GLM structure, the performance guarantees may not hold.
- Explorability Requirement: The computationally efficient algorithm (Algorithm 3) requires an "explorability assumption"—meaning it must be possible to reach all parts of the feature space. In highly constrained environments, satisfying this requirement might be difficult.
- Closing the Regret Gap: A clear next step for the field is to develop an algorithm that achieves both computational efficiency and the optimal $\tilde{O}(\sqrt{N})$ regret bound.
- Beyond Binary Feedback: The authors suggest that extending this framework to accommodate "ranked" feedback (e.g., "Trajectory A was better than Trajectory B") represents a highly promising direction for future work, potentially bridging the gap between binary labels and complex human preferences.
Summary updated