arXiv:2610.29237cs.LGOct 2026

Manuscript Offprint

arXiv:2610.29237

MA-UITD: Offline Multi-Agent Reward Inference for Characterizing Continuous Social Behavior

Zeyuan Zhang, Yiyun Yang, Yuan Cheng, Herbert Zheng Wu, Yusi Chen

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

Zeyuan Zhang

Institute of Neuroscience, Chinese Academy of Sciences

zhangzeyuan@ion.ac.cn

Yiyun Yang

Nankai University

1120210035@mail.nankai.edu.cn

Yuan Cheng

Icahn School of Medicine at Mount Sinai

yuan.cheng@mssm.edu

Herbert Zheng Wu

Icahn School of Medicine at Mount Sinai

zheng.wu@mssm.edu

Yusi Chen

Institute of Neuroscience, Chinese Academy of Sciences

chenyusi@ion.ac.cn

ABSTRACT

Multi-agent inverse reinforcement learning offers a powerful framework not only for imitation learning but also for understanding the neural computations supporting social interactions and decision-making. Inferring rewards from interacting agents is challenging because observed choices reflect both personal preferences and expectations about others. Existing methods often require additional environment interaction, repeated policy optimization as an inner loop, or restrictive assumptions about environment dynamics and action spaces, limiting their applicability to fixed behavioral datasets. We introduce Multi-Agent Unilateral Inverse Temporal Difference Learning (MA-UITD), an offline method for inferring explicit agent-specific rewards from joint demonstrations in continuous-state environments with either discrete or bounded continuous actions. Its core idea is to represent the long-term consequences of each agent's own actions through belief-conditioned successor features that average over other agents' behavior. Shared reward features and agent-specific preference vectors connect these unilateral values to the target reward function, while inverse temporal-difference consistency and noise-contrastive behavioral learning enable inference without known dynamics or an inner policy-optimization loop. Across simulated cooperative, competitive, and general-sum tasks, MA-UITD outperforms baselines in discrete-action settings and infers behaviorally compatible reward profiles in continuous-action settings. When applied to experimentally collected social-foraging trajectories, MA-UITD inferred distinct spatial and interaction-dependent reward structures for leaders and followers, providing a quantitative characterization of latent behavioral objectives that may be relevant for understanding the neural computations underlying social behavior. We make our code available at https://github.com/ZaynZh/MA-UITD

1 INTRODUCTION

A central goal of behavioral science and neuroscience is to understand the objectives that organize individual behavior. Although accurate action prediction is an important benchmark, an explicit reward function provides a more interpretable computational account by specifying which outcomes an animal values, how it trades off competing outcomes, and how these valuations change with experience. Subjective-value signals have been identified in orbitofrontal cortex and across a broader valuation network involving ventromedial prefrontal cortex and ventral striatum (Padoa-Schioppa & Assad, 2006; Bartra et al., 2013), whereas phasic activity of midbrain dopamine neurons has been linked to quantitative reward-prediction errors and corresponding distribution (Schultz et al., 1997; Bayer & Glimcher, 2005; Dabney et al., 2020). Consequently, inferred rewards—and the values and prediction errors they imply—can serve as trial-by-trial computational variables for model-based analyses of neural recordings, enabling tests of latent-computation hypotheses beyond action prediction alone (O'Doherty et al., 2007).

Inverse reinforcement learning (IRL) provides a principled framework for recovering such latent objectives by inferring reward functions under which observed behavior is likely. In single-agent settings, IRL has been used to recover both stable and dynamically evolving goals from behavior (Ziebart et al., 2008; Ashwood et al., 2022; Wu et al., 2025; Ke et al., 2025; Wang et al., 2025). Model-derived reward and value representations have also begun to provide computational variables for characterizing neural activity and examining how valuation-related computations may be altered in neuropsychiatric disorders (Bromberg-Martin et al., 2024; Moneta et al., 2024). However, conventional IRL was developed primarily for single-agent settings and treated each individual as an isolated decision-maker, making it difficult to distinguish intrinsic preferences from socially contingent choices that depend on other individuals.

Inferring these objectives becomes substantially more challenging when individuals interact. In social settings, an animal's choice depends on both its own preferences and its expectations about others. Approaching a shared resource, for example, may reflect one's own resource preference and anticipated interaction with other agents such as cooperation and competition. Similar observed actions can consequently arise from different incentives. Computational models have framed such social inference as IRL in a partially observable Markov decision process (POMDP), where a focal agent acts according to beliefs about an incompletely observed environment (Jara-Ettinger, 2019; Baker et al., 2017; Velez-Ginorio et al., 2017). Although this formulation captures uncertainty and false beliefs, other individuals are typically incorporated into the focal agent's environment rather than represented as autonomous decision-makers with their own actions, policies, and rewards. By contrast, a multi-agent MDP, or Markov game, explicitly represents multiple decision-makers whose joint actions determine state transitions and whose policies are mutually interdependent. Multi-agent inverse reinforcement learning (MAIRL) builds on this formulation to infer agent-specific rewards while accounting for how each agent anticipates and responds to the behavior of others (Yu et al., 2019; Tian et al., 2021; Neumeyer et al., 2021; Chen et al., 2026). MAIRL thus offers a systematic framework for separating what each individual values from what it expects others to do, providing interpretable computational variables for studying cooperation, competition, and general-sum interactions.

Applying MAIRL to animal behavior imposes several practical constraints: experiments typically yield a fixed dataset of joint trajectories without reward labels, known transition dynamics, or opportunities to collect additional behavior under a learned policy, and the recorded states and actions are often continuous. Existing methods address parts of this setting: Multi-Agent Adversarial Inverse Reinforcement Learning(MA-AIRL) combines reward estimation with adversarial policy optimization, requiring repeated policy updates and environment interaction during training (Yu et al., 2019). Multi-Agent Marginal Q-Learning(MAMQL) avoids adversarial training by learning through opponent-marginalized values, using discrete actions and additional policy rollouts in its reported training procedure (Haynam et al., 2025). These constraints motivate a fully offline approach that infers explicit agent-specific rewards directly from fixed joint demonstrations, without known dynamics or an inner policy-optimization loop, while supporting continuous behavior.

We introduce Multi-Agent Unilateral Inverse Temporal Difference Learning (MA-UITD), an offline method for inferring explicit agent-specific rewards from joint demonstrations. We focus on arrival-state rewards that describe the value individuals assign to attained environmental and social states. The inferred rewards provide interpretable explanations of behavior while supporting expert-level behavioral imitation. Building on successor features and inverse temporal-difference learning (Filos et al., 2021), our main contributions are:

• We introduce belief-conditioned successor features (BCSF), which marginalize over other agents’ anticipated behavior to represent unilateral long-term values and recover interpretable agent-specific rewards.

• We develop an offline learning procedure that combines inverse temporal-difference consistency with noise-contrastive behavioral learning, requires no known dynamics or policy-optimization loop, and supports continuous states with either discrete or continuous actions.

• Across cooperative, competitive, and general-sum simulations, MA-UITD outperforms discrete-action baselines and captures task-relevant reward structure in continuous-action settings.

• Applied to animal social-interaction data, MA-UITD reveals distinct spatial and interaction-dependent incentives underlying leader–follower dynamics.

References (37)