LOQA: Learning with Opponent Q-Learning Awareness
Milad Aghajohari, Juan Agustin Duque, Tim Cooijmans, Aaron Courville
TL;DR
LOQA tackles reciprocal cooperation in general-sum MARL with a scalable, decentralized approach. By modeling the opponent's policy as proportional to its action-value and differentiating through the opponent's Q-function, LOQA shapes learning without expensive optimization graphs or second-order gradients. Empirically, LOQA achieves state-of-the-art results on the Iterated Prisoner's Dilemma and the Coin Game, while substantially reducing training time compared to prior methods. The method demonstrates robust, reciprocity-based cooperation and scalability to larger grid environments, suggesting broad applicability to real-world multi-agent systems.
Abstract
In various real-world scenarios, interactions among agents often resemble the dynamics of general-sum games, where each agent strives to optimize its own utility. Despite the ubiquitous relevance of such settings, decentralized machine learning algorithms have struggled to find equilibria that maximize individual utility while preserving social welfare. In this paper we introduce Learning with Opponent Q-Learning Awareness (LOQA), a novel, decentralized reinforcement learning algorithm tailored to optimizing an agent's individual utility while fostering cooperation among adversaries in partially competitive environments. LOQA assumes the opponent samples actions proportionally to their action-value function Q. Experimental results demonstrate the effectiveness of LOQA at achieving state-of-the-art performance in benchmark scenarios such as the Iterated Prisoner's Dilemma and the Coin Game. LOQA achieves these outcomes with a significantly reduced computational footprint, making it a promising approach for practical multi-agent applications.
