Mitigating Retaliatory Algorithmic Collusion in Repeated Games
Abstract
Reinforcement learning agents trained to maximize their own reward in repeated interactions can converge to supra-competitive outcomes resembling explicit collusion, without communication or shared design. Existing mitigation approaches are largely tied to specific economic settings, like two-sided platforms and auctions, leaving open how to design interventions for general repeated games. We address this gap by formalizing the connection between empirical observations from prior work on Q-learning collusion and classical theory of Simple Penal Codes (SPCs). We show that an SPC with a collusive path and a distinct punishment path induces a quantifiable conditional dependence in agents’ policies, detectable via the total variation distance between an agent’s action distributions across cooperation and defection histories. Building on this connection, we propose CURB (Collusion Unwinding via Reward shaping and Belief injection), a reward-shaping framework that penalizes this Total Variation (TV) distance signal during Q-learning. For two-player games, we prove that, for sufficiently strong penalization, every equilibrium of the penalized objective that implements an SPC must have a stage-game Nash cooperative path. Thus, punishment threats cannot sustain a non-Nash collusive path at such equilibria. Empirically, CURB substantially reduces collusion by Q-learning agents in both Bertrand and Cournot Competition Repeated Games. We further demonstrate that CURB extends to deep Q-network agents in Bertrand competition, suggesting the mechanism has promise in generalizing beyond tabular Q-learning.