Abstract
Reinforcement learning (RL) for continuous control under delayed rewards is an under-explored problem despite its significance in real-world applications. Many complex skills are based on intermediate ones as prerequisites. For instance, a humanoid locomotor must learn how to stand before it can learn to walk. To cope with delayed reward, an agent must perform deep exploration. However, existing deep exploration methods are designed for small discrete action spaces, and their generalization to state-of-the-art continuous control remains unproven. We address the deep exploration problem for the first time from a PAC-Bayesian perspective in the context of actor-critic learning. To do this, we quantify the error of the Bellman operator through a PAC-Bayes bound, where a bootstrapped ensemble of critic networks represents the posterior distribution, and their targets serve as a data-informed function-space prior. We derive an objective function from this bound and use it to train the critic ensemble. Each critic trains an individual soft actor network, implemented as a shared trunk and critic-specific heads. The agent performs deep exploration by acting epsilon-softly on a randomly chosen actor head. Our proposed algorithm, named PAC-Bayesian Actor-Critic (PBAC), is the only algorithm to consistently discover delayed rewards on continuous control tasks with varying difficulty.
The Challenge of Delayed Rewards
In many real-world scenarios, rewards are not immediate. A robot might need to perform a long sequence of actions—like standing, balancing, and then stepping—before receiving any positive feedback. This is known as the delayed reward problem.
Standard reinforcement learning (RL) algorithms like Soft Actor-Critic (SAC) or TD3 rely on "undirected" exploration, such as adding Gaussian noise to actions. In delayed reward environments, this is like trying to find a needle in a haystack by stumbling around blindly; the agent rarely discovers the reward signal before giving up. "Deep exploration" aims to solve this by directing the agent toward areas of the environment where its uncertainty is highest. However, quantifying uncertainty in high-capacity neural networks (the "critics" in RL) is notoriously difficult. Existing methods often struggle with "bootstrapping," which can lead to runaway overconfidence or miscalibrated uncertainty.
PAC-Bayesian Actor-Critic (PBAC)
The authors bridge the gap between PAC-Bayesian theory and deep RL. PAC-Bayes provides a framework for "Probably Approximately Correct" bounds on how well a model will generalize.
The PBAC Approach:
- PAC-Bayes Bound for Policy Evaluation: The authors derive a new bound for the Bellman operator error. Unlike traditional Bayesian methods that require a fixed prior, they use a data-informed function-space prior based on the agent's own target networks.
- The Critic Ensemble: Instead of one critic, PBAC trains an ensemble of $K$ networks. The objective function derived from the PAC-Bayes bound consists of three interpretable terms: Diversity (learning from individual bootstrapped targets), Coherence (anchoring to a shared, stable target), and Propagation (preventing ensemble collapse).
- Posterior Sampling for the Actor: The actor network has a shared trunk with multiple "heads." During training, the agent performs "posterior sampling"—randomly picking one actor head to follow for a period. This allows the agent to commit to a specific "hypothesis" about how to get a reward, leading to deeper exploration of the state space.
Experimental Evaluation
The authors evaluated PBAC against state-of-the-art baselines (like BEN, DRND, and BootDQN-P) across several benchmarks, including the DeepMind Control (DMC) Suite, Meta-World robotic manipulation tasks, and custom "Delayed" and "Very Delayed" versions of MuJoCo locomotion tasks.
Key Results
PBAC was the only algorithm to consistently solve the most difficult delayed reward tasks:
- Very Delayed Ant: PBAC achieved an InterQuartile Mean (IQM) reward of 3905, while all other baselines failed completely, scoring near zero.
- Delayed Humanoid: PBAC successfully discovered the reward signal (IQM 281), whereas baselines remained stuck at the starting line.
- Meta-World: PBAC outperformed or matched the best baselines in 6 out of 7 sparse reward tasks.
- Exploration Patterns: Visualizations of state space exploration showed that while other methods got "stuck" in safe regions, PBAC quickly and systematically explored the entire space to find the target region.
Conclusion
PBAC represents a significant step forward in principled uncertainty quantification for RL. By deriving its objective function directly from generalization bounds, it provides a more objective notion of uncertainty than handcrafted heuristics. While challenges remain regarding hyperparameter sensitivity in dense reward environments, PBAC's ability to solve complex locomotion tasks with highly delayed feedback demonstrates the power of theoretically grounded deep exploration.
Summary updated