---
title: Popular Matchings
url: https://www.emergentmind.com/topics/popular-matchings
type: topic
---

# Popular Matchings

Popular matchings are a voting-based solution concept for matching problems: a matching is popular if no alternative matching defeats it in a head-to-head election in which vertices compare the partners they receive under the two outcomes. In this sense, popularity replaces the local blocking-pair logic of stability with a global majority criterion. The notion has been studied in one-sided house allocation, two-sided marriage markets, and non-bipartite roommates models, and has since been extended to weighted voters, robust multi-instance comparisons, capacitated many-to-many settings, and committee-style “popular winning sets” when no single popular matching exists [1811.06897], [2509.25150].

## 1. Formal model and voting semantics

In the basic bipartite setting, one is given a graph \(G=(A\cup B,E)\), where acceptable pairs are edges and each vertex has a strict preference order over its neighbors. For a matching \(M\), \(M(v)\) denotes the partner of \(v\), with \(M(v)=\bot\) if \(v\) is unmatched. A vertex \(v\) prefers matching \(M\) to matching \(M'\) if \(M(v)\) is preferred to \(M'(v)\), with being matched preferred to being unmatched. Writing
\[
V^+(M,M')=\{v: M\succ_v M'\},
\]
the unweighted popularity margin is
\[
\Delta(M,M')=|V^+(M,M')|-|V^+(M',M)|.
\]
A matching \(M\) is more popular than \(M'\) if \(\Delta(M,M')>0\), and \(M\) is popular if \(\Delta(M,M')\ge 0\) for every matching \(M'\). In the weighted-voter generalization, each vertex has weight \(w(v)\ge 0\), and the margin becomes
\[
\Delta_w(M,M')=\sum_{v:M\succ_v M'} w(v)-\sum_{v:M'\succ_v M} w(v).
\]
The resulting decision problem asks whether there exists a matching \(M\) such that \(\Delta_w(M,M')\ge 0\) for all matchings \(M'\) [2110.05901].

This framework subsumes several classical models. In one-sided house allocation, only agents vote and houses can be modeled as weight-0 vertices. In two-sided marriage-style models, both sides vote. In roommates settings the graph is non-bipartite, but the same pairwise-election interpretation applies. The common core is that popularity is a Condorcet-style property over the space of matchings rather than a local feasibility condition on individual edges [2110.05901].

## 2. Foundational characterizations

The first complete structural characterization arose in one-sided house allocation. For each agent \(a\), let \(f(a)\) be its first choice and let \(s(a)\) be its best-ranked neighbor that is not anyone’s first choice, or \(\bot\) if none exists. In the Abraham–Irving–Kavitha–Mehlhorn characterization, a matching is popular if and only if every house that is some \(f(a)\) is matched to an agent whose first choice is that house, and every agent is matched either to \(f(a)\) or to \(s(a)\). This yields an \(O(n+m)\)-time algorithm for maximum-size popular matchings or a proof of non-existence in the one-sided setting [2110.05901].

A more general line of work expresses popularity through linear programming duality. For a fixed matching \(M\), one augments the graph by adding a loop \(\{v,v\}\) at each vertex, interprets loops as being unmatched, and defines edge weights from local vote comparisons against \(M\). In the unweighted bipartite case, \(M\) is popular if and only if there exists a witness vector \(y\in\{0,\pm 1\}^V\) such that \(\sum_v y_v=0\), every edge constraint satisfies \(y_u+y_v\ge \operatorname{vote}^M(\{u,v\})\), and every loop constraint is satisfied. In the weighted setting, the same construction leads to a rational witness \(y\in\mathbb{Q}^V\) with \(\sum_v y_v=0\), edge inequalities \(y_u+y_v\ge \hat v^M(\{u,v\})\), lower bounds \(y_v\ge 0\) on unmatched vertices, and \(y_v\ge -w(v)\) in general. These witness theorems are the main polyhedral certificates used in both algorithms and hardness reductions [2110.05901].

In one-sided object allocation, popularity also admits a fairness interpretation. A minimal envy matching is one that first minimizes the total number of envying agents and then minimizes envy in the reduced problem obtained after removing non-envying agents and their houses. This is equivalent to requiring that each first house be allocated to a first agent and, among such matchings, maximizing the number of agents who receive either their first or their second house. Whenever a popular matching exists, the set of minimal envy matchings coincides with the set of popular matchings. In the same model, global popularity is equivalent to local popularity against exchanges by coalitions of size at most 3, and arbitrary matchings are path-connected to popular matchings through sequences of such local majority-improving exchanges [1902.08003].

## 3. Stable, dominant, and related subclasses

Stable matchings occupy one extreme of the popular-matching landscape. In the classical strict-preference settings, every stable matching is popular, and stable matchings are minimum-size popular matchings. At the other extreme are dominant matchings: a popular matching \(M\) is dominant if it strictly defeats every larger matching. In bipartite graphs, a popular matching is dominant if and only if the graph \(G_M\), obtained by deleting all \((-,-)\)-labeled edges relative to \(M\), contains no \(M\)-augmenting path. Dominant matchings therefore form a max-size subclass of popular matchings, while stable matchings form the min-size subclass [1811.06897].

Between these two extremes lies the notion of a popular max-matching. Here the comparison is restricted to maximum-cardinality matchings: a maximum matching \(M\) is a popular max-matching if no other maximum matching is more popular. Such matchings always exist in bipartite graphs with strict preferences. Their polyhedral structure is unusually clean: the popular max-matching polytope admits a compact extended formulation obtained by projecting the stable matching polytope of an auxiliary instance \(G^*\), and this yields a polynomial-time algorithm for computing a minimum-cost popular max-matching [2011.03434].

For general, possibly non-bipartite graphs, a stricter class called strongly dominant matchings isolates the tractable part of dominance. A matching \(M\) is strongly dominant if there exists a partition \((L,R)\) of the vertices such that \(M\subseteq L\times R\), all vertices in \(R\) are matched, every \((+,+)\) edge lies inside \(R\times R\), and every edge inside \(L\times L\) is \((-,-)\). This is equivalent to the existence of a witness vector \(\alpha\) with \(\alpha_u=\pm 1\) on matched vertices and \(\alpha_u=0\) on unmatched vertices. Strongly dominant matchings can be recognized in linear time via a reduction to a stable matching problem in an auxiliary graph [1805.11473].

## 4. Complexity landscape and tractability boundaries

The existence and optimization complexity of popular matchings is highly sensitive to the model. In two-sided bipartite graphs with all vertex weights equal to 1, popular matchings always exist because every stable matching is popular. As soon as vertex weights vary, however, existence can fail and the decision problem becomes hard. Popular Matching with Weighted Voters is NP-complete even when all but 14 vertices have weight 1 and the remaining weights belong to \(\{1,2,4\}\). For the asymmetric regime \(w(a)=c\) for all \(a\in A\) and \(w(b)=1\) for all \(b\in B\), existence is NP-complete for every constant \(1<c\le 2\), while for \(c>3\) one can compute a maximum-cardinality popular matching, or prove non-existence, in \(O(n+m)\) time; the interval \(2<c\le 3\) remains open [2110.05901].

In roommates-style complete graphs, parity alone changes the picture. For a complete graph on an odd number of vertices, every popular matching is stable, so existence reduces to the stable roommates problem and is polynomial-time decidable. For a complete graph on an even number of vertices, deciding whether a popular matching exists is NP-complete [1807.01112].

One-sided ties on one side of a bipartite graph define another sharp boundary. If applicants in \(A\) have strict preferences and every \(b\in B\) places all its neighbors in a single tie, then the popular matching problem is solvable in \(O(n^2)\) time. If vertices in \(B\) are allowed either strict lists or a single tie over all neighbors, the problem becomes NP-complete even under strong degree restrictions [1603.07168].

These results align with a broader tractability thesis for bipartite popular matchings: stable and dominant matchings are the tractable extremal subclasses, while intermediate popular matchings are hard to detect. In particular, deciding whether a bipartite instance admits a popular matching that is neither stable nor dominant is NP-complete. In non-bipartite graphs the situation is harsher: deciding whether a popular matching exists is NP-hard, and the same is true for dominant matching existence [1805.11473].

## 5. Algorithmic paradigms

A central algorithmic tool in one-sided systems is the switching graph. Starting from a popular matching \(M\) in the pruned graph \(G''\), one builds a directed graph \(G_M\) on posts: for each applicant \(a\) and each alternative popular edge \((a,p_j)\), there is an arc from \(M(a)\) to \(p_j\), weighted by whether \(a\) prefers the move, dislikes it, or is indifferent. Weight-0 directed cycles and weight-0 paths ending at sinks are switching cycles and switching paths; applying them transforms one popular matching into another. In the presence of ties, every popular matching can be obtained from a fixed popular matching by applying vertex-disjoint switching cycles and switching paths componentwise. This yields an \(O(\sqrt{n}m)\)-time algorithm to compute all popular pairs when ties are allowed and an \(O(m+n)\)-time version for strict lists. The same framework also supports single-agent manipulation algorithms that compute optimal cheating strategies with the same asymptotic bounds, and counting popular matchings with ties is \(\#P\)-complete [1301.0902].

The strict one-sided model also admits efficient parallel algorithms. The first NC algorithm for popular matchings without ties constructs the reduced graph containing only \(f(a)\)- and \(s(a)\)-edges, exploits the fact that each applicant has degree 2 there, and finds an applicant-complete matching via repeated degree-1 eliminations and cycle handling. A second NC algorithm uses the switching graph of a popular matching to compute a maximum-cardinality popular matching. In contrast, for lists with ties, maximum-cardinality bipartite matching is NC-reducible to popular matching, indicating that the parallel complexity of the ties case is at least as difficult as the longstanding NC status of general bipartite matching [1910.13386].

Popularity also extends beyond one-to-one matchings. In the many-to-many capacitated model \(G=(A\cup B,E)\), where each vertex \(u\) has capacity \(\mathsf{cap}(u)\ge 1\), one compares the sets \(M_0(u)\) and \(M_1(u)\) by an adversarial bijection between their symmetric differences and defines a robust vote \(\delta_u\) as the minimum over all such pairings. Under this definition, a max-size popular matching can be computed in linear time by the 2-level Gale–Shapley algorithm, which generalizes the classical deferred-acceptance scheme and is justified by an LP-based analysis [1609.07531].

## 6. Robustness, random models, and committee generalizations

Robust popularity asks for a matching that is popular in more than one instance. For pairs of instances that differ only in the preference list of a single agent, robust popular matching is polynomial-time solvable via hybrid instances and the POPULAREDGE primitive. The same approach extends to any fixed number of instances if all changes are confined to the same agent. Hardness emerges quickly beyond that regime: ROBUSTPOPULARMATCHING is NP-complete even when the second instance is obtained by a downward shift of one alternative for exactly four agents. Under altered availability, the problem has a completeness dichotomy: if one instance is complete, robustness under edge deletions is polynomial-time solvable through a maximum-weight popular matching formulation, whereas without completeness the problem is NP-complete even when only two edges are removed [2401.12653].

In random one-sided house allocation, popularity exhibits phase transitions. With complete strict lists and \(\alpha=m/n\), Mahdian’s threshold occurs at the unique positive root \(\alpha_*\approx 1.42\) of
\[
x^2=e^{1/x}.
\]
If \(\alpha>\alpha_*\), a popular matching exists with probability \(1-o(1)\); if \(\alpha<\alpha_*\), it exists with probability \(o(1)\). For incomplete strict lists of constant length \(k\ge 4\), the threshold becomes \(\alpha_k\), the root of
\[
x e^{-1/(2x)} = 1-(1-e^{-1/x})^{k-1}.
\]
For \(k\le 3\), no threshold arises: popular matchings exist with probability \(1-o(1)\) for all \(\alpha\ge 1\) [1609.07288].

When no single popular matching exists, the notion of a popular winning set replaces one matching by a small committee of matchings that collectively do not lose to any single matching. The popular dimension of a problem class is the minimum committee size needed in the worst case. This parameter is exactly 2 for house allocation, even with weighted agents and ties; exactly 1 for the unweighted strict marriage problem; exactly 2 for the unweighted strict roommates problem; and between 2 and 3 for marriage and roommates when weights and/or ties are allowed [2509.25150]. This committee view reframes non-existence not as a failure of majority comparison itself, but as a failure of singleton representation.

Taken together, these lines of work portray popular matchings as a broad family of majority-based equilibrium notions with unusually sharp structural dichotomies. In some regimes—one-sided house allocation, strict one-sided systems, or heavily asymmetric weighted bipartite markets—they admit precise combinatorial characterizations and fast algorithms. In others—weighted two-sided matching, mixed ties, robust multi-instance settings, or non-bipartite existence—they delineate some of the clearest current limits to tractability in algorithmic matching theory [2110.05901], [1805.11473].

Source: https://www.emergentmind.com/topics/popular-matchings