NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Degree of Fairness in Efficient House Allocation

Hadi Hosseini, Medha Kumar, Sanjukta Roy

Introduction

In the classic "house allocation" problem, the objective is to assign a set of items (houses) to a set of agents such that each agent receives at most one item. Traditionally, research has focused on two primary goals: efficiency and fairness. Efficiency is often measured through utilitarian welfare (maximizing total happiness) or egalitarian welfare (maximizing the utility of the least-well-off agent). Fairness is typically defined by envy-freeness (EF), where no agent prefers another's assigned house over their own.

However, a perfectly envy-free allocation is not always possible, particularly when multiple agents share a preference for the same limited resources. This paper investigates the "degree of fairness"—the computational challenge of finding the fairest possible allocation (minimizing envy) among those that already satisfy specific efficiency criteria.

Problem Formulation and Envy Metrics

When envy-freeness cannot be achieved, the researchers consider two metrics for minimizing envy:

  1. Number of Envious Agents (#Envy): Minimizing the count of individuals who desire another's house.
  2. Total Envy: Minimizing the sum of the envy felt across all agents, where envy is the difference between the value of the desired house and the value of the assigned house.
Two complete allocations with different total envy levels. The red allocation results in a total envy of two, while the green allocation results in one.

As illustrated in Figure 3, different allocations can lead to varying degrees of total envy even when the number of agents remains constant. The paper explores how these metrics interact with utilitarian and egalitarian constraints.

Methodology

The authors employ combinatorial optimization and graph theory to analyze these problems. Key techniques include:

  • Bipartite Matching & Hall’s Theorem: Adapting classical matching theory to identify maximum-size envy-free sets by identifying and removing "Hall violators."
  • Min-Cost Perfect Matching: Using weighted bipartite graphs to encode both agent valuations and the resulting envy costs. This allows the researchers to solve for fairness and utilitarian welfare simultaneously in polynomial time.
  • Complexity Analysis: Proving NP-hardness for certain egalitarian variants by reducing them to known hard problems like the Independent Set problem.
An example of weighted valuations in a bipartite graph, used to calculate welfare and envy paths.

Key Findings

The Utilitarian-Egalitarian Divide

A central insight of the paper is the stark difference in computational complexity between the two welfare models. Optimizing fairness alongside utilitarian welfare is generally tractable (Polynomial time). In contrast, doing so alongside egalitarian welfare—which focuses on the individual at the bottom—is frequently NP-hard. This suggests that broad group happiness is more computationally compatible with fairness than targeted individual support.

The Cost of Completeness

The difficulty of the problem often hinges on whether the allocation must be "complete" (everyone gets a house). In complete allocations, forcing an agent to accept a highly undesirable house can generate significant envy, complicating the optimization process. Interestingly, if an envy-free allocation exists, finding one that also maximizes welfare is computationally easy; the challenge only arises when some level of envy is unavoidable.

Conclusion

This research clarifies the boundaries of tractability in fair house allocation. While utilitarian-efficient fair allocations are easy to find, egalitarian-efficient ones present significant computational hurdles. Future work may explore approximation algorithms for these NP-hard cases or extend the analysis to ordinal preference models where agents rank items rather than assigning them cardinal values.

Summary updated

BibTeX
@inproceedings{hosseini2024degree,
  author = {Hadi Hosseini and Medha Kumar and Sanjukta Roy},
  title = {{The Degree of Fairness in Efficient House Allocation}},
  booktitle = {ECAI},
  year = {2024},
  doi = {10.3233/faia240920},
}
Figure