Contracting with a Learning Agent

Guru Guruganesh, Yoav Kolumbus, Jon Schneider, Inbal Talgam-Cohen, Emmanouil-Vasileios Vlatakis-Gkaragkounis, Joshua Ruizhi Wang, S. Matthew Weinberg

In traditional economic theory, the Principal-Agent model assumes a perfectly rational agent who optimally responds to every incentive. However, modern interactions—from gig economy platforms to AI systems—often involve agents that learn from experience rather than calculating optimal responses from scratch. This paper investigates how a principal should design repeated contracts for an agent using "no-regret" learning strategies.

The Problem: Incentivizing a Learner

The core challenge lies in the agent's behavior. Instead of a "best-responder," the agent is a "mean-based learner" (e.g., using Multiplicative Weights). Such learners prioritize actions based on their cumulative past payoffs. For a principal, this creates a dynamic optimization problem: how to sequence contracts over time to maximize revenue when the agent's current action depends on the entire history of payments.

The Optimal Solution: The Free-Fall Contract

The researchers identify a surprisingly simple optimal strategy termed the Free-Fall Contract. This strategy consists of two distinct phases:

  1. The Accumulation Phase: The principal offers a generous, fixed contract to incentivize high-effort actions. This builds a "buffer" of cumulative utility for the agent.
  2. The Free-Fall Phase: The principal abruptly stops all payments. Because the agent is a learner looking at historical averages, they do not immediately cease working. Instead, they "drift" through their learned actions, continuing to provide value at zero cost until the historical average payoff for those actions finally decays.
The Free-Fall strategy visualized through cumulative (a) and average (b) contract values over time.

Theoretical Framework and Methodology

To prove the optimality of this strategy, the authors employ a discrete-to-continuous time reduction, treating the interaction as occurring over a continuous interval $[0, T]$. They introduce "Rewriting Rules" to demonstrate that any complex sequence of contracts can be mathematically transformed into the free-fall structure without loss of revenue.

The study utilizes canonical synthetic settings to test these theories. For instance, an agent might choose between actions with varying costs and success probabilities, as shown in the table below.

A canonical success/failure model with three actions and associated costs.

Key Insights and Paradoxes

  • Pareto Improvements: Contrary to intuition, the principal's exploitation of the learner's memory can be a "win-win." A dynamic free-fall contract can leave both the principal and the agent better off compared to the best static contract.
  • The "Smarter is Poorer" Paradox: If an agent employs a more sophisticated "swap-regret" learning algorithm, the principal can no longer utilize the efficient dynamic strategy. Consequently, the principal reverts to a less efficient static contract, leaving the "smarter" agent with lower total utility.
  • Fragility of the Horizon: The optimality of the free-fall strategy is highly sensitive to the principal's knowledge of the time horizon $T$. If the end date is uncertain, the principal's advantage over static contracting diminishes rapidly.

Conclusion

This work bridges a significant gap between contract theory and machine learning. While the free-fall strategy is optimal for linear, single-dimensional contracts, the authors note that multi-dimensional contract spaces (where the "shape" of the contract changes) present new, unsolved challenges. Furthermore, the sensitivity to the time horizon suggests that robustness remains a critical area for future research in algorithmic mechanism design.

Summary updated

BibTeX
@inproceedings{guruganesh2024contracting,
  author = {Guru Guruganesh and Yoav Kolumbus and Jon Schneider and Inbal Talgam-Cohen and Emmanouil-Vasileios Vlatakis-Gkaragkounis and Joshua Ruizhi Wang and S. Matthew Weinberg},
  title = {{Contracting with a Learning Agent}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=Bh0LLUp8OA},
}
Figure