Abstract
Traditional Inverse Reinforcement Learning (IRL) focuses on recovering a reward function from the demonstrations of an expert agent acting optimally. However, real-world agents are often in a continuous state of learning. This paper introduces MA-LfL (Multi-Agent Learning from a Learner), a novel framework that infers the reward functions of interacting agents in a general-sum stochastic game by observing their progressively improving policies, completely bypassing the standard assumption that agents have reached a stable equilibrium.
The Problem: Blind Spots in Traditional IRL
In standard Reinforcement Learning (RL), the reward function is known, and the objective is to find the optimal policy. IRL flips this paradigm: the behavior is observed, and the goal is to infer the underlying reward. While powerful, traditional IRL suffers from two major limitations:
- The Expert Assumption: It assumes the demonstrator is an expert acting optimally. In reality, autonomous systems (like robots or self-driving cars) are often still learning and making mistakes.
- The Equilibrium Assumption: In multi-agent environments, existing models typically assume agents have reached a "Nash Equilibrium"—a state where no agent has an incentive to change their strategy. Real-world systems, however, are highly dynamic, with agents constantly updating behaviors based on peer interactions.
This paper addresses the "Learning from a Learner" (LfL) problem in a multi-agent context, asking: Can an agent deduce its peers' goals simply by observing how their behavior improves over time?
Methodology: MA-LfL
To solve this, the authors propose the MA-LfL algorithm, built upon the foundation of Multi-Agent Soft Policy Iteration (MA-SPI). The framework relies on several key technical innovations:
- Policy Observation Over Time: Instead of analyzing a single behavioral snapshot, the observer evaluates a sequence of policies as the "learner" agent improves.
- The Transition Equation: The core theoretical contribution (Theorem 5.1) demonstrates that by observing the transition between two consecutive policies ($\pi_t$ and $\pi_{t+1}$), an observer can mathematically recover the underlying reward function up to a standard shaping constant.
- Entropy Regularization: The agents employ "soft" policies, which incorporate a degree of randomness or exploration. This mathematical noise helps the observer distinguish between intentional goal-seeking behavior and random exploration.
- Maximum Likelihood Estimation (MLE): Because an observer cannot directly access an agent's internal policy, MA-LfL uses MLE to infer the policy from raw movement trajectories before attempting to estimate the rewards.
Key Insights
The most profound insight from MA-LfL is that improvement is the signal. The change in behavior is far more informative than the behavior itself. If an agent navigates an environment more efficiently in a subsequent round, that behavioral delta reveals their underlying incentives. Furthermore, because MA-LfL does not require the system to be in equilibrium, it is highly applicable to "messy," dynamic real-world deployments. The authors also provide rigorous theoretical error bounds, proving exactly how much a reward estimate might deviate based on the accuracy of predicting the agent's next policy improvement.
Experiments and Results
The researchers evaluated MA-LfL using a 3x3 Deterministic Grid World where two agents start at the top-left and attempt to reach the bottom-right. They tested two distinct reward structures:
- Homogeneous: Both agents want to reach the goal but prefer to stay far away from each other.
- Heterogeneous: Both want to reach the goal, but one agent wants to be near the other (the chaser), while the other wants to stay away (the fleer).
By evaluating the recovered rewards against the ground-truth programming using Pearson (PCC) and Spearman (SCC) correlation coefficients, the authors found:
- High Correlation: The algorithm achieved strong positive correlations in both scenarios, averaging between 0.42 and 0.60.
- Logarithmic Growth: The quality of the recovered rewards grows logarithmically as the agents improve their policies. Essentially, as the learner becomes more proficient, the observer receives a clearer signal.
- Robustness: MA-LfL successfully recovered rewards even when agents possessed different action spaces and conflicting goals.
Limitations and Future Work
While groundbreaking, the current iteration of MA-LfL has limitations. The experiments were conducted in a highly constrained 3x3 grid with only two agents; scalability to high-dimensional, continuous spaces remains untested. Additionally, the model assumes full observability, whereas real-world agents often operate with partial observability (blind spots). Finally, MA-LfL currently assumes agents learn via Soft Policy Iteration, though it may be adaptable to other frameworks like PPO or SAC.
Future research will investigate how this framework could promote fairness or collaboration in social dilemmas (e.g., the Prisoner's Dilemma) by making agents explicitly aware of each other's hidden incentives.
Summary updated