Contractual Reinforcement Learning: Pulling Arms with Invisible Hands

Jibang Wu, Siyu Chen, Mengdi Wang, Huazheng Wang, Haifeng XuarXiv 2024 · OpenReview

Abstract

The agency problem is increasingly prevalent in modern large-scale machine learning, where platforms (principals) cannot directly control the actions of independent participants (agents). This paper introduces Contractual Reinforcement Learning (CRL), a framework that integrates economic contract theory with reinforcement learning. By modeling interactions as a Principal-Agent Markov Decision Process (PAMDP), the authors provide a theoretical foundation for aligning economic interests through payment rules contingent on observable outcomes. The work presents efficient dynamic programming for planning and no-regret learning algorithms that achieve $\tilde{O}(\sqrt{T})$ and $\tilde{O}(T^{2/3})$ regret bounds across various settings.

The Agency Problem in Modern AI

In standard reinforcement learning, a single agent interacts with an environment to maximize a reward. However, real-world systems like content platforms (YouTube) or gig-economy apps (Uber) involve a misalignment of incentives. The platform wants to optimize long-term growth or data quality, while the creators or drivers seek to minimize their own effort or costs. This creates two primary challenges:

  1. Moral Hazard: The principal cannot observe the agent's specific actions, only the resulting state transitions.
  2. Far-sighted Agency: Agents are strategic; they may sacrifice immediate gains to manipulate future payments.

The PAMDP Framework

To address these challenges, the authors propose the Principal-Agent Markov Decision Process (PAMDP). In this model, the principal offers a contract—a set of payment rules—that incentivizes the agent to adopt a policy beneficial to the principal.

The PAMDP framework illustrates the interaction between the Principal, Agent, and Environment, highlighting how contracts and payments influence agent actions.

As shown in the figure above, the principal observes the state $s_h$ and provides a contract $x_h$. The agent, considering their own cost $c_h$, selects an action $a_h$ that leads to a new state $s_{h+1}$ and a reward $r_h$ for the principal. The principal then pays the agent based on the realized state transition.

Algorithmic Contributions

Planning with Far-sighted Agents

The authors derive a new class of PAMDP Bellman Equations. These equations characterize the optimal contract by accounting for the agent's best-response policy. This allows the principal to solve the planning problem in polynomial time using dynamic programming, even when the agent is planning for future rewards.

Learning and Exploration

When the environment's transitions and the agent's costs are unknown, the principal must learn them online. The paper introduces a "decoupled" learning approach:

  • Standard RL Learning: Estimating rewards and transition probabilities.
  • Hyperplane Search: A novel search algorithm on probability simplexes to identify the agent's decision boundaries, effectively "learning" the agent's hidden cost function without requiring excessive suboptimal trials.

Key Results and Regret Analysis

The paper provides rigorous regret bounds that quantify the efficiency of the proposed learning algorithms. A significant finding is the "cost of moral hazard": while some settings allow for the standard $\tilde{O}(\sqrt{T})$ regret, the general case under moral hazard may require $\tilde{O}(T^{2/3})$ unless specific inducibility conditions are met.

Summary of regret bounds across different scenarios, including moral hazard, far-sighted agency, and cost knowledge.

Conclusion and Future Directions

This work bridges the gap between mechanism design and reinforcement learning, providing a formal way to perform "reward shaping" through monetary incentives. While the current model assumes perfectly rational agents and public state observability, it lays the groundwork for future research into bounded rationality and partially observable contractual environments (Contractual POMDPs).

Summary updated

BibTeX
@misc{wu2024contractual,
  author = {Jibang Wu and Siyu Chen and Mengdi Wang and Huazheng Wang and Haifeng Xu},
  title = {{Contractual Reinforcement Learning: Pulling Arms with Invisible Hands}},
  year = {2024},
  eprint = {2407.01458},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.01458},
}
Figure