The Complexity of Minimizing Subsidies in Envy-Free House Allocation

Sijia Dai, Minming Li, Xiaowei Wu, Yong ZhangarXiv 2026

TL;DR

When allocating items (like houses) fairly without market prices, achieving an "envy-free" state where nobody wants someone else's item isn't always possible. This paper tackles this challenge by introducing monetary subsidies to eliminate envy while minimizing the total payout. The authors map out the computational landscape, proving the problem is NP-hard even with simple binary preferences, but providing efficient polynomial-time solutions when agents can be grouped into a few distinct types.

What Problem Does This Paper Address?

The classic house allocation problem involves distributing $m$ indivisible items to $n$ agents based on their preferences, ensuring each agent gets exactly one item. A gold standard for fairness in this domain is envy-freeness (EF)—no agent should prefer another person's assigned house over their own. However, an envy-free allocation often flat-out doesn't exist (for instance, if everyone loves the same house and hates the rest).

To circumvent this, researchers use monetary subsidies: giving cash to agents who receive less desirable houses to balance out their perceived utility. While we know subsidies can always buy envy-freeness, cash is a finite resource. This paper addresses the challenge of finding an allocation that minimizes the total subsidy required to achieve envy-freeness, exploring the computational complexity of this optimization problem under various preference structures.

Methods

The authors dissect the problem using graph theory, combinatorial optimization, and parameterized complexity:

  1. Envy Graphs: Allocations are modeled as directed graphs where edge weights represent the amount of envy one agent has for another. Achieving envy-freeness with subsidies corresponds to eliminating positive-weight cycles in this graph.
  2. Bipartite Matching & EFM Decomposition: For binary utilities (where agents either like a house [1] or don't [0]), they leverage the Dulmage-Mendelsohn decomposition and Envy-Free Matching (EFM) partitions to break down the graph into structured components.
  3. Hardness Reductions: They prove NP-hardness for binary utilities via a reduction from the Minimum $k$-Union problem.
  4. Fixed-Parameter Tractability (FPT): For instances with a bounded number ($k$) of agent types with binary utilities, they reduce the problem to a bounded number of configurations handled via capacitated $b$-matching.
  5. Quadruple Nested Loop Search: For two types of agents with general utilities, they exploit a pairwise threshold property to design an exact polynomial-time algorithm using maximum-weight perfect matchings.

Datasets

Not discussed in the paper. This is a theoretical computer science and microeconomics paper focusing on algorithmic complexity and mathematical proofs; no empirical datasets or benchmarks were used.

Key Insights and Ideas

  • The Cost of Fairness: For binary preferences, the maximum total subsidy needed to guarantee envy-freeness is bounded by $n-1$, and this bound is tight (e.g., when everyone fights over a single house).
  • Pareto Optimality vs. Minimum Subsidy: Under binary utilities, minimizing subsidies is completely compatible with Pareto optimality (maximizing the number of people who get a house they actually like). The authors show that a minimum-subsidy allocation must correspond to a maximum-cardinality matching; if an augmenting path existed, you could shift assignments to reduce the total subsidy requirement.
Figure 1: Example of an augmenting path from agent j to house h∗, where orange nodes denote agents, green nodes denote houses, black edges denote assignments in A∗(solid if the agent values the house at 1, dashed if at 0), and blue edges denote assignments in A.
  • Type-Based Uniformity: Agents of the exact same type must behave identically in an optimal subsidy structure. They cannot play different roles (e.g., one getting a subsidy and another not while both get houses they dislike), which drastically reduces the search space for FPT algorithms.
  • Threshold Properties: For two agent types with general utilities, envy-freeness boils down to a simple threshold $\theta$ based on utility differences ($v_x(h) - v_y(h)$). If type-$x$ agents get houses above the threshold and type-$y$ get houses below it, the allocation can be made envy-free with appropriate subsidies.

Key Results

  • Tight Bound: Proved that a total subsidy of at most $n-1$ is always sufficient and sometimes necessary for binary instances.
  • Computational Hardness: Proved that minimizing total subsidy is NP-hard even for binary utilities, with an approximation hardness of $\Omega(n^{1/4})$.
  • FPT Algorithm: Developed an algorithm for $k$ types of binary agents running in $O((k \cdot 2^{2k})^{(1+o(1))}) + O(n + m)$ time, proving the problem is fixed-parameter tractable when parameterized by the number of agent types.
  • Polynomial-Time Exact Algorithm: Created an $O(m^7)$ time algorithm to find the absolute minimum subsidy allocation for two types of agents with general utilities.

Limitations and Future Work

The authors note that their threshold-based approach for two agent types relies heavily on pairwise relationships, which breaks down when moving to three or more agent types with general utilities. Extending exact polynomial-time algorithms to general utilities with more than two types remains an open challenge. Additionally, they suggest exploring how minimizing subsidies interacts with other fairness criteria, such as proportionality or maximin share guarantees.

Summary updated

BibTeX
@misc{dai2026complexity,
  author = {Sijia Dai and Minming Li and Xiaowei Wu and Yong Zhang},
  title = {{The Complexity of Minimizing Subsidies in Envy-Free House Allocation}},
  year = {2026},
  eprint = {2608.22216},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.22216},
}
Figure