Posts

NeuPL: Neural Population Learning

Learning a population of diverse policies within a single network through self-play.

Running-with-Scissors

In this section we visualize gameplays between 8 distinct policies, represented and executed by a single conditional network in a game of running-with-scissors1.

Running-with-Scissors environment illustration

To do well in this case, players must learn to infer opponent behaviours based on its limited field-of-view (a 4x4 square in front of the player). For example, if rocks are missing from its usual location, then the opponent must have picked up rocks!

Training Progression through Time

We show the training progression of a neural population of policies through time, starting from a fixed initial policy that always pick up all the rocks. Starting from the initial policy, we show that a single conditional network Πθ(⋅∣o<,σ)\Pi_\theta(\cdot \mid o_{<}, \sigma) discovered and represented a set of 8 distinct policies, each best-responding to combinations of others.

Visualisation of Learned Policies

If you click on a cell in the payoff matrix, an example episode between the pair of policies would be shown. You can step through the episode and observe how the two players’ inventories change over time as well as their respective, partial view of the environment.

Loading interactive payoff matrix…

Payoff matrix and interaction graph across the 8 learned policies. Click any cell to load that matchup episode.
Home Policy 1 vs Away Policy 0
Frame 1 / —

2-vs-2 MuJoCo Football

2-vs-2 MuJoCo Football environment with 3 DoF BoxHead walkers

We investigate NeuPL in the physically simulated multi-agent environment of 2-vs-2 MuJoCo Football2, using the 3 DoF BoxHead walkers.

Training Progression through Time

NeuPL training progression results on 2-vs-2 MuJoCo Football

Through time, a sequence of best-responses emerged with policy Πθ(⋅∣o<,σ2)\Pi_\theta(\cdot \mid o_{<}, \sigma_2) mastering rapid long-range shots and Πθ(⋅∣o<,σ3)\Pi_\theta(\cdot \mid o_{<}, \sigma_3) developing coordinated team play. Checkout the game-play below (blue (3) - vs red (2)) in action!

Example Games

We note that beyond policy (3), it becomes difficult to tell different policies apart as they all are highly skilled and perform coordinated team-play. This is not surprising. MuJoCo Football is a fully-observed environment that affords prominent transitive skill dimensions but comparatively muted strategic cycles. In this case, NeuPL automatically reduces to a learning regime similar to that of self-play, which is optimal in purely transitive games3.

Match-UpVisuals
blue (2) - vs red (1)
blue (3) - vs red (2)
blue (4) - vs red (3)
blue (5) - vs red (4)

Footnotes

  1. Vezhnevets, A., Wu, Y., Eckstein, M., Leblond, R. & Leibo, J.Z. (2020). OPtions as REsponses: Grounding behavioural hierarchies in multi-agent reinforcement learning. Proceedings of the 37th International Conference on Machine Learning, in Proceedings of Machine Learning Research 119:9733–9742. Available from https://proceedings.mlr.press/v119/vezhnevets20a.html. ↩

  2. Liu, S., Lever, G., Merel, J., Tunyasuvunakool, S., Heess, N., & Graepel, T. (2018, September). Emergent Coordination Through Competition. In International Conference on Learning Representations. ↩

  3. Balduzzi, D., Garnelo, M., Bachrach, Y., Czarnecki, W., Perolat, J., Jaderberg, M., & Graepel, T. (2019, May). Open-ended learning in symmetric zero-sum games. In International Conference on Machine Learning (pp. 434-443). PMLR. ↩