# Poster 29701

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/29701

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello, my name is Juan Duque. I'm a PhD student at the University of Montreal and MILA, and today I'll be presenting my work Advantage Alignment Algorithms. This is a collaboration with Milad Agaguijari, Tim Coimans, Razvan Siuka, Tianyu Zhang, Gautier Guidel, and Aaron Kurbel. In order to understand the motivation for this work, first we have to talk about social dilemmas.
And social dilemmas are the subset of general some games that try to describe scenarios in which you have many agents. And these agents can act greedily. But in doing so, they achieve worse outcomes than the outcome that they could have achieved if they had cooperated instead. An important question that we should ask is why should we study social dilemmas? And the answer is because they show up everywhere in society.
From the moment you emerge lanes of the intersection? For instance the climate change problem where nations try to cooperate on mitigating climate emissions. But also things as worrisome as nuclear arms proliferation. They're all instances of social dilemmas. The most famous instance of a social dilemma is the iterated prisoners dilemma.
This is a two-player general sum game where each player has two actions. They can either cooperate or defect. Then this game is repeated infinitely many times. The interesting thing about the iterated prisoner's dilemma is that in the single instance defecting is a dominating strategy, meaning that no matter what your opponent does, you get a better utility by defecting. This leads to a pareto of optimal Nash equilibrium.
And despite it a suboptimal because both players could benefit from cooperating, but they don't do so because defecting is a dominating strategy. So the history of reinforcement learning on the iterated prisoner's dilemma is not very encouraging. Sunholm and Kreutz were able to demonstrate that two Q-learning agents playing IPD converge always to mutual defection.
And later in 2018, Jacob Forster was able to show that the same is true for policy gradient methods. So we get this very interesting model performance on games, where reinforcement learning agents are able to beat professional players in zero-sum games. Similarly, they're able to cooperate with professional players in fully cooperative games like Dota 2.
But they fail miserably in these very simple matrix-form games like the iterated prisoner dilemma, meaning that there's a whole room for exploration in developing algorithms that work for general sum games. In this paper, we work with the opponent shaping framework. Opponent shaping was introduced by Jacob Forster in Learning with Opponent Learning Awareness, and it's essentially a paradigm that assumes that the learning dynamics of other players in the game can be controlled by incentivization mechanisms.
So it has been extremely successful at finding policies that are able to solve simple social dilemmas like the iterated prisoner dilemma. In particular, it's able to discover the tit-for-tats strategy. In this paper, we introduce a novel framework for doing opponent shaping, advantage alignment. Advantage alignment makes two assumptions about the agents in the game. First, that each agent is trying to maximize their value function.
Second, that each agent is acting proportionally to its value function. Under these two assumptions, we can show that the opponent shaping term simplifies to a sum of the past advantages of the agent, multiplied by the advantage at the current time step of the opponent. The advantage alignment formula depends only on the log probabilities of the agent. This allows to create a proximal surrogate objective that closely follows the PPO formulation.
Essentially, what we're able to do is to plug in this extra term into PPO, allowing for a scalable algorithm that is able to do opponent shaping efficiently. Using advantage alignment, we're able to recover the TIT for TIT strategy in the iterated prisoner's dilemma. But more interestingly, we're able to scale to games that in the past seemed unthinkable.
that's due to the computational complexities of previous opponent shaping methods. So now we have an algorithm that shows the promise of scaling to general sum games at a scale that was never seen before. So hopefully I've been able to convince you that a world with advantage alignment is much better than a world without it.
