Adversarially Guided Actor-Critic

Yannis Flet-Berliac, Johan Ferret, Olivier Pietquin, Philippe Preux, Matthieu Geist

Adversarially Guided Actor-Critic

Introduction

Standard reinforcement learning (RL) algorithms frequently struggle in environments characterized by sparse rewards or high variability due to procedural generation. In such settings, agents often fail to explore effectively, leading to sample inefficiency and poor generalization. Adversarially Guided Actor-Critic (AGAC) addresses these challenges by introducing an "adversary" that incentivizes the agent to pursue novel behaviors, driving deep exploration in complex tasks.

The AGAC Framework

AGAC extends the traditional Actor-Critic architecture by adding a third component: the Adversary. While the Actor selects actions and the Critic evaluates states, the Adversary's sole objective is to predict the Actor's next move.

  1. Adversarial Objective: The Adversary observes the current state and attempts to minimize the KL-divergence between its predicted action distribution and the Actor's actual policy.
  2. Adversarial Bonus: The Actor is rewarded not only for achieving external goals but also for "surprising" the Adversary. It receives an intrinsic bonus proportional to the Adversary's prediction error.
  3. Conservative Diversification: Because the Adversary is updated at a slower rate than the Actor, it serves as a moving memory of the agent's recent strategies. To maximize the bonus, the Actor must constantly innovate, exploring strategies it has not recently employed.

Experimental Setup

The effectiveness of AGAC was evaluated on two benchmarks known for their exploration difficulty: VizDoom (3D navigation) and MiniGrid (procedurally generated 2D gridworlds).

Visualizations of the experimental environments: (a, b) VizDoom navigation tasks and (c, d) MiniGrid procedurally generated gridworlds.

In MiniGrid, the agent faces tasks like MultiRoom (sequential navigation), KeyCorridor (object retrieval), and ObstructedMaze (complex interaction with obstacles). These environments are particularly challenging because the layout changes with every episode, preventing simple memorization.

Results and Discussion

AGAC demonstrates significant performance gains over existing state-of-the-art (SOTA) methods such as ICM, RIDE, and RND.

Performance comparison of AGAC against state-of-the-art methods (RIDE, AMIGo, Count, RND, ICM) across three challenging MiniGrid tasks.

Key Findings:

  • Superior Exploration: In VizDoom, AGAC reached near-optimal performance in roughly half the training steps required by competing methods (3M vs 6M steps).
  • Solving Sparse Reward Tasks: In the most difficult MiniGrid variants, such as ObstructedMaze, AGAC was often the only algorithm capable of discovering the reward, while baselines remained at a 0% success rate.
  • Robustness to Noise: Unlike "curiosity" methods that predict environment dynamics (which can be distracted by stochasticity), AGAC focuses on the agent's own policy, providing a more stable and reliable exploration signal.
  • Zero-Reward Performance: Even in the absence of external rewards, AGAC agents exhibit purposeful exploration, successfully navigating deep into complex mazes simply to satisfy the internal drive for novelty.

Conclusion and Future Work

AGAC provides a robust mechanism for exploration by framing diversity as a game against an internal adversary. While highly effective, the method requires careful tuning of the adversarial bonus coefficient and learning rate ratios. Future research will explore extending this framework to continuous action spaces and optimizing the computational overhead associated with the additional network.

Summary updated

BibTeX
@inproceedings{fletberliac2021adversarially,
  author = {Yannis Flet-Berliac and Johan Ferret and Olivier Pietquin and Philippe Preux and Matthieu Geist},
  title = {{Adversarially Guided Actor-Critic}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=_mQp5cr_iNy},
}
Figure