HCMD-zero: Learning Value Aligned Mechanisms from Data

Jan Balaguer, Raphael Koster, Ari Weinstein, Lucy Campbell-Gillingham, Christopher Summerfield, Matthew Botvinick, Andrea Tacchetti

TL;DR

HCMD-zero is a new framework from DeepMind that uses machine learning to design economic mechanisms (the "rules of the game") that humans actually prefer. By combining imitation learning of human behavior with a self-play optimization loop driven by democratic voting, it creates value-aligned systems without needing to assume human rationality or pre-define complex social welfare goals.

What Problem Does This Paper Address?

Artificial agents are increasingly mediating our social and economic lives—think of traffic routing, ad auctions, or resource allocation. Traditionally, Mechanism Design (MD) is the field of economics used to create the rules for these interactions. However, classical MD has three major "blind spots":

  1. The Rationality Trap: It assumes participants are perfectly rational agents, whereas real humans are messy, emotional, and driven by diverse values like fairness.
  2. The Goal Dilemma: Designers usually have to pick a goal a priori, such as maximizing total wealth (efficiency) or minimizing the gap between rich and poor (equality). But what if we don't know what the participants themselves value?
  3. The Knowledge Gap: Many modern ML approaches to MD require access to strong baseline mechanisms or massive amounts of human data to start.

The authors propose HCMD-zero (Human-Centered Mechanism Design from zero) to bridge these gaps, creating a "general-purpose method" to build mechanisms that are shaped by—and preferred by—the people using them.

Methods

HCMD-zero operates through an iterative loop that treats mechanism design as a competitive game where the "reward" is a human vote.

Figure 1: Illustration of HCMD-zero training and evaluation. HCMD-zero starts by acquiring human game play trajectories. The data is then used to model human participants behavior. The mechanism network is then trained in self-play using the most recent human participants mod- els in the environment loop. After HCMD-zero has converged the mechanism is evaluated with new human participants and against a baseline mechanism.

The process follows four main steps:

  • ACQUIRE: Gather data from real humans playing a game under the current mechanism.
  • MODEL: Use imitation learning (LSTMs and linear layers) to build a "digital twin" of the human participants—predicting both how they will play and how they will vote.
  • OPTIMIZE: The mechanism (a Graph Network) is trained via self-play. It competes against copies of itself in a simulated environment populated by the human models. The objective is simple: maximize the probability of being voted for by the models.
  • CONVERGENCE: This loop repeats. As the mechanism improves, human behavior shifts in response, and the models are updated to reflect these new strategies.

Datasets

The researchers tested HCMD-zero on the Public Investment Game (PIG), a classic social dilemma involving inequality.

  • The Setup: Groups of four humans (one "Head" player with a large endowment and three "Tail" players with smaller ones) decide how much to contribute to a public fund. The fund is multiplied and then redistributed by the mechanism.
  • Human Data: The study recruited 1,656 human participants via a crowd-sourcing platform.
  • Evaluation: The final HCMD-zero mechanism was tested against a "Liberal Egalitarian" baseline—a strong, human-designed rule that redistributes funds based on the proportion of endowment contributed.

Key Insights and Ideas

  • Democratic AI: Instead of a designer deciding that "equality is good," the system learns what is good by observing what humans vote for. This aligns the AI's "values" with the constituents it serves.
  • Handling Behavioral Shifts: One of the hardest parts of mechanism design is that if you change the rules, people change their behavior. By iteratively modeling and optimizing, HCMD-zero treats this "moving target" as a feature of the training process rather than a bug.
  • Data Efficiency: Remarkably, HCMD-zero reached a high level of performance using only about a quarter of the data required by previous "non-zero" methods, thanks to the efficiency of the self-play curriculum.
  • Emergent Interpretability: Even though the mechanism is a complex neural network, it learned an intuitive "ReLU-like" policy. It effectively created a threshold: if you contribute below a certain amount, you are "punished" with zero returns, but if you contribute above it, you are rewarded.

Key Results

The results demonstrate that HCMD-zero successfully "learned" a popular social contract from scratch:

  • Human Preference: In head-to-head evaluations, human participants preferred the HCMD-zero mechanism over the strong Liberal Egalitarian baseline, winning 54.3% of the votes.
  • Performance Trade-offs: The learned mechanism successfully balanced the tension between productivity (keeping the "Head" player incentivized to contribute) and equality (redistributing wealth to the "Tail" players).
  • Evolution of Policy: As seen in Figure 5, the mechanism started as a random redistributor and evolved into a sophisticated policy that punishes free-riders more harshly in later iterations.
Figure 5: Evolution of the learnt mechanism policy across training iterations.

Limitations and Future Work

While promising, the authors highlight several critical caveats:

  • Tyranny of the Majority: Since the mechanism optimizes for votes, it could theoretically learn to exploit a minority (e.g., the "Head" player) if that's what the majority wants.
  • Safety in Exploration: HCMD-zero requires gathering data under "unfinished" (and potentially bad) policies. In real-world high-stakes scenarios (like national tax policy), you can't just "experiment" on people. Future work might require "warm-starting" with simulated data.
  • Strategic Voting: The current model assumes humans vote sincerely for what they prefer, but in the real world, people often vote strategically. Integrating more complex game-theoretic voting models is a logical next step.

Summary updated

Abstract

Artificial learning agents are mediating a larger and larger number of interactions among humans, firms, and organizations, and the intersection between mechanism design and machine learning has been heavily investigated in recent years. However, mechanism design methods often make strong assumptions on how participants behave (e.g. rationality), on the kind of knowledge designers have access to a priori (e.g. access to strong baseline mechanisms), or on what the goal of the mechanism should be (e.g. total welfare). Here we introduce HCMD-zero, a general purpose method to construct mechanisms making none of these three assumptions. HCMD-zero learns to mediate interactions among participants and adjusts the mechanism parameters to make itself more likely to be preferred by participants. It does so by remaining engaged in an electoral contest with copies of itself, thereby accessing direct feedback from participants. We test our method on a stylized resource allocation game that highlights the tension between productivity, equality and the temptation to free ride. HCMD-zero produces a mechanism that is preferred by human participants over a strong baseline, it does so automatically, without requiring prior knowledge, and using human behavioral trajectories sparingly and effectively. Our analysis shows HCMD-zero consistently makes the mechanism policy more and more likely to be preferred by human participants over the course of training, and that it results in a mechanism with an interpretable and intuitive policy.
BibTeX
@misc{balaguer2022hcmd,
  author = {Jan Balaguer and Raphael Koster and Ari Weinstein and Lucy Campbell-Gillingham and Christopher Summerfield and Matthew Botvinick and Andrea Tacchetti},
  title = {{HCMD-zero: Learning Value Aligned Mechanisms from Data}},
  year = {2022},
  eprint = {2202.10122},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.10122},
}
Figure