arXiv:2610.24793cs.GTOct 2026

Manuscript Offprint

arXiv:2610.24793

Cooperation Without Shared Rewards via Reciprocal Q-Augmentation

Francesco Morri, Adel Abusitta, Quentin Cappart, Margarida Carvalho

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Francesco Morri

francesco.morri@polymtl.ca

Polytechnique Montréal

Montréal, Canada

Adel Abusitta

adel.abu-sitta@polymtl.ca

Polytechnique Montréal

Montréal, Canada

Quentin Cappart

quentin.cappart@polymtl.ca

Polytechnique Montréal, Mila

Montréal, Canada

UCLouvain

Louvain-la-Neuve, Belgium

Margarida Carvalho

carvalho@iro.umontreal.ca

Université de Montréal, Mila

Montréal, Canada

Abstract

General-sum games are more challenging than fully cooperative or adversarial settings because agents may deceive or exploit one another. Achieving high social welfare requires sustained cooperation, while a single defection can drive agents toward a welfare suboptimal Nash equilibrium. Moreover, assuming access to other agents' rewards or internal states is often unrealistic and implicitly introduces additional cooperation into the setting. To address this issue, we introduce Reciprocal Q-Augmentation (RQA), a method that uses a latent-variable opponent model to augment the Q-function with estimates of how one's actions affects other agents. RQA allows agents to learn both cooperative and defective policies using only their own Q-function. We show that, in social dilemmas, agents that all follow the cooperative policy of RQA learn to cooperate faster and reach higher levels of cooperation than fully cooperative algorithms. Moreover, a single RQA agent that switches appropriately between its cooperative and defecting policies can induce cooperation in agents trained with standard RL algorithms, which would otherwise end up defecting. We evaluate our approach on the Iterated Prisoner's Dilemma, Iterated Traveler's Dilemma, Iterated Stag Hunt, and CleanUp-Lite. Our experiments show that the algorithms implementing RQA outperforms fully cooperative methods with shared rewards and enables cooperation with algorithms that otherwise fail to reach high social welfare.

1 Introduction

Cooperation between multi-agent reinforcement learning agents is a critical problem, especially if the end goal is to deploy such agents in realistic and complex settings (Dafoe et al., 2020). This problem becomes particularly challenging when full cooperation is not necessarily unilaterally optimal from the perspective of each individual agent, despite Pareto dominating the Nash equilibrium the agents would otherwise reach, and thus making every player better off. These settings fall into the category of general-sum games, which generalize both common-reward (fully cooperative) games, where objectives are fully aligned, and two-player zero-sum games, where they are strictly opposed. Falling at neither extreme introduces an additional difficulty: an agent must account not only for how its actions affect its own return, but also for whether the behavior of the other agents makes cooperation beneficial or exploitable.

The specific settings under which we study this problem are sequential social dilemmas (Leibo et al., 2017). Social dilemmas capture situations in which individually rational behavior can lead to collectively inefficient outcomes: exploiting a cooperative player can be more rewarding than mutual cooperation, while mutual defection can be preferable to being exploited. At the same time, mutual cooperation yields the highest collective welfare. Sequential social dilemmas extend this tension to temporally extended interactions, where cooperation and defection correspond to policies or behavioral patterns rather than isolated one-shot actions (Leibo et al., 2017). An agent must therefore reason about whether the behavior of the other player warrants cooperation over an extended interaction, while remaining able to react when that cooperation is not reciprocated.

The tension between cooperation and exploitation is then at the core of the problem we consider: How can an agent learning only from its own reward sustain cooperation, resist exploitation, and induce cooperation in a co-player that would otherwise defect? Limiting our agents to observe only their own reward makes this question particularly challenging and relevant to realistic applications.

Mechanisms for Cooperation Several mechanisms have been proposed to support the emergence of cooperation in social dilemmas. One possibility is to allow agents to select whom they interact with (Anastassacos et al., 2020; Leung et al., 2026). In Anastassacos et al. (2020), agents can observe the recent actions of other players and select partners based on their interaction history, while Leung et al. (2026) studies a setting in which direct experience is supplemented by more limited third-party observations. In both cases, partner selection allows agents to preferentially interact with cooperative players and avoid or retaliate against defectors, effectively learning a tit-for-tat strategy (Axelrod & Hamilton, 1981). A different direction modifies the incentives under which agents learn. For example, Wang et al. (2019) uses an evolutionary process to learn intrinsic motivations that encourage altruistic behavior, modifying the reward signal on which individual agents learn. More recently, Demir et al. (2026) studies cooperation under asymmetric incentives and adapts fairness-based intrinsic motivations to account for differences between agents. For a broader review of methods for promoting cooperation in multi-agent reinforcement learning and social dilemmas, we refer to Du et al. (2023). In this work, we are interested in a complementary setting in which cooperation must emerge without selecting interaction partners or explicitly modifying the agents' rewards, and to do so, we have our agent model its opponent. We restrict ourselves to two-player games, the setting of the classical social dilemmas we consider and the one in which reciprocity is unambiguous, since a defection can be attributed to a single opponent and the punishment directed at it.

Opponent Modeling Deciding whether cooperation should be maintained naturally requires reasoning about the behavior of the other agent. Opponent modeling provides a general framework for incorporating such information into an agent's decision making. Previous work has, for example, learned latent representations of other agents from behavioral observations (Rabinowitz et al., 2018), explicitly incorporated learned opponent models into reinforcement learning (Tian et al., 2019), and used variational latent-variable models to represent different opponent behaviors (Papoudakis & Albrecht, 2020). Related approaches use latent opponent representations to adapt online to unknown or non-stationary opponents (Fu et al., 2022). Opponent modeling is a means rather than an end in our work: we do not introduce a new general opponent-modeling methodology. Instead, we use a latent-variable model to learn cooperative and adversarial strategies, which can then be used to induce cooperation. Given the current state, a latent variable encoding information about the other player, and a candidate action of the controlled agent, the model predicts the action of the other player. This differs from simply identifying a fixed opponent policy: the conjecture is intended to model how the other player's behavior responds to our own actions.

Reciprocity and learning-aware adaptation Most closely related to our approach are methods that use reciprocity or learning-aware behavior to cooperate while limiting vulnerability to exploitation. Lerer & Peysakhovich (2018) generalize ideas from tit-for-tat to sequential social dilemmas by learning cooperative and defective behaviors and switching between them according to the behavior of the other player. We introduce a switching mechanism inspired by this idea, but that does not require learning policies for both players in advance. Instead, we train the cooperative and adversarial policies concurrently, and choose between them based on the predicted response of the other agent. Moreover, our alternative to cooperation is an explicitly adversarial policy, rather than a standard self-interested policy trained independently.

Eccles et al. (2019) build on reciprocity, with learning agents that adapt their social behavior to that of their co-players. Their approach does so through an intrinsic motivation mechanism that modifies the learner's effective reward according to an estimate of the other player's sociality. In contrast, our approach does not modify the reward function, but explicitly chooses between cooperative and adversarial behaviors based on a model of the opponent.

Another closely related objective is that of “foolproof” cooperation (Jacq et al., 2020), which seeks cooperative strategies that cannot profitably be exploited by selfish agents. Agents can fully communicate and access each other’s actions and rewards, while using a jointly obtained cooperative Q-function to assess the level of cooperation. The resulting algorithm mostly prevents exploitation when used against a standard RL algorithm, being able to induce cooperation only when multiple instances are deployed in the same game.

Finally, Meulemans et al. (2025) study how learning-aware agents can achieve cooperation by accounting for and shaping the learning dynamics of other agents, including in sequential social dilemmas. This provides a complementary mechanism for adapting cooperation to other learners. Our approach does not explicitly model the opponent's learning rule or its parameter updates; instead, it uses the opponent's observed behavior to infer a latent behavioral state and predict its response to the agent's own actions.

Contributions Taken together, these approaches demonstrate that cooperation can be supported through reciprocity, incentive modification, opponent adaptation, or reasoning about other learners. Our goal is to retain the ability to cooperate conditionally, cooperating when cooperation is reciprocated and responding adversarially otherwise, while requiring neither shared nor modified rewards, explicit communication, nor privileged access to the other agent's reward or policy. At the same time, both behaviors and the mechanism used to select between them can be learned during interaction. To achieve these goals, we introduce the following contribution: (1) An innovative method for learning cooperative behavior in general-sum games using only individual rewards, without requiring shared rewards, explicit communication, or access to the other agents' policies. (2) We show that an agent trained with our method can be frozen and used as a cooperation teacher, inducing cooperative behavior in independently learning agents that would otherwise converge to non-cooperative behavior; (3) We further show that this teaching effect does not require a separately converged self-play phase: cooperation can be induced while the proposed agent and its co-player are still learning concurrently. In the considered sequential social dilemmas, the resulting agents achieve social welfare and cooperation levels comparable to, and in some settings better than, fully cooperative baselines.

References (29)