July 20, 2026
Stable matching mechanisms are fundamental to market design but face an inherent tension between stability and social welfare optimality. We study a natural relaxation of stability, termed \(\alpha\)-stability, which models agents as willing to deviate only when the potential improvement is sufficiently large. Under \(\alpha\)-stability, no pair of agents can deviate and improve their valuations by more than a factor of \(1/\alpha\), with \(\alpha \in (0,1]\). We provide a complete characterization of the stability–efficiency tradeoff under asymmetric valuations. This tradeoff depends on the degree of asymmetry \(\mu \in (0,1]\), which bounds the ratio between agents’ valuations for any pair. Our results show that relaxing stability can substantially improve achievable efficiency guarantees. We further present a polynomial-time algorithm that computes an \(\alpha\)-stable matching attaining the best possible efficiency guarantee. For \(\alpha \le \mu/(\mu+1)\), our algorithm achieves \(1\)-efficiency; for larger \(\alpha\), it computes an \(\alpha\)-stable matching achieving at least \((1/\alpha)\cdot \mu/(\mu+1)\) of the optimal social welfare. Remarkably, our algorithm inflates the values of an optimal matching and then applies the Gale–Shapley algorithm to the modified instance. Finally, we show that computing an optimal \(\alpha\)-stable matching is NP-hard, even under slight relaxations of stability, i.e., for \(\alpha\) close to 1.
Matching theory studies how to assign agents to each other based on their preferences in a way that satisfies certain desirable properties. One of the most extensively studied problems in this field is the stable marriage problem [1]–[4], which involves two sets of agents \(L\) and \(R\) of size \(n \ge 1\) each, where each agent ranks all members of the opposite set in a strict order of preference. A matching is said to be stable if there is no pair of agents who would both prefer to be matched with each other over their current matches. Stable matchings have been a cornerstone of market design with wide-ranging applications in assigning students to schools, medical graduates to residency programs, employees to projects, or students to courses and seminars.
In this work, we study a more general variant of the classical stable matching problem, where agents have cardinal preferences over the members of the opposite group, rather than ordinal ones. Such cardinal preferences do not only capture who is preferred over whom, but also quantify by how much. Additionally, we consider cardinal preferences that can encode indifferences and incompatibilities among the agents. Each agent’s cardinal preferences are defined by numerical values (called valuations) specifying how much the agent would like to be matched to another agent. More specifically, we use \(v_{ij}\) to denote the (positive) valuation that an agent \(i \in L\) assigns to \(j \in R\), and \(w_{ji}\) to denote the (positive) valuation that agent \(j \in R\) assigns to \(i \in L\). This variant of the stable matching problem is also known as the stable matching problem with cardinal preferences, ties allowed, and incomplete preference lists (or, SMCTI for short). Stable matchings are guaranteed to exist for SMCTI (see, e.g., [2]).
We are interested in the tradeoff between stability and the social welfare efficiency. Given a matching \(M\), the social welfare refers to the total valuations of all matched pairs, i.e., \(SW(M) = \sum_{(i,j) \in M} (v_{ij} + w_{ji})\). A stable matching \(M\) is said to be \(\gamma\)-efficient with \(\gamma \in (0,1]\) if it recovers a \(\gamma\)-fraction of the optimal social welfare (i.e., the maximum social welfare over all matchings). Ideally, we would like to ensure that a stable matching provides a strong efficiency guarantee. However, imposing stability inevitably leads to a significant loss in social welfare efficiency (see the example below). As it turns out, this loss depends on the degree of asymmetry in the agents’ valuations. We capture this by introducing an asymmetry parameter \(\mu \in (0,1]\): the valuations are \(\mu\)-bounded if \(\frac{v_{ij}}{w_{ji}} \in [\mu, \frac{1}{\mu}]\) for every pair \((i,j)\) with \(v_{ij} > 0\) and \(w_{ji} > 0\). Note that the valuations are symmetric for \(\mu = 1\), and become increasingly asymmetric as \(\mu\) decreases.
Consider the example in Figure 1 and note that the valuations are \(\mu\)-bounded. It is easy to verify that, for \(\epsilon > 0\), the instance has a unique stable matching \(M = \{(i_2, j_1)\}\). On the other hand, the social welfare optimal matching is \(M^* = \{(i_1, j_1), (i_2, j_2)\}\). In terms of social welfare, we have \(SW(M) = 1+\epsilon\) and \(SW(M^*) = \frac{(\mu+1)}{\mu}\). Thus, the efficiency of the (unique) stable matching is \(\frac{(1+\epsilon)\mu}{(\mu+1)}\). As a consequence, for this instance we cannot guarantee that any stable matching recovers (strictly) more than a fraction of \(\frac{\mu}{(\mu+1)}\) of the optimal social welfare. In particular, the efficiency of a stable matching becomes unbounded as \(\mu\) approaches \(0\), or, said differently, as the valuations become increasingly asymmetric. In fact, this tradeoff has been observed before by [5] for the two limiting cases \(\mu = 1\) and \(\mu \rightarrow 0\); but, here, we get a smooth interpolation for any \(\mu\) between these extreme points—which we show is tight also (see our contributions below).
A further drawback of the classical notion of stability is that it assumes agents will always deviate, even if the respective gain is vanishingly small. This is an overly strong assumption in settings where agents may be reluctant to deviate. As an example, consider the situation of deciding on money transfers between different accounts, where a commission discourages moves unless the gain justifies the expense. Another example are housing markets, where the decision to move to a better home must also account for the financial and personal costs of relocating. In this context, an approach that has been pursued in the literature is to relax the stability notion by incorporating a fixed, additive switching cost [5]. While an additive switching cost may be appropriate in some scenarios, in others a cost that scales proportionally with the valuations may be more realistic.
In this work, we build on a relaxed stability notion, termed \(\alpha\)-stability, introduced by [5]. The key idea is to model agents as willing to deviate only when the improvement is sufficiently large, with the required threshold being determined by a parameter \(\alpha\). Formally, a matching \(M\) is \(\alpha\)-stable with \(\alpha \in (0,1]\) if there is no pair \((i,j)\) such that \(v_{iM(i)}<\alpha v_{ij}\) and \(w_{jM(j)}<\alpha w_{ji}\), where \(M(i)\) and \(M(j)\) denote the matches of \(i\) and \(j\) under \(M\), respectively. As \(\alpha\) decreases, agents require a larger improvement to switch, making the stability condition less restrictive.
As mentioned above, \(\alpha\)-stability was first introduced in [5], where they restrict attention to the case of symmetric valuations (i.e., \(\mu = 1\)). To the best of our knowledge, we are the first to study the more complex case of asymmetric valuations that are \(\mu\)-bounded. The idea of studying relaxation of fundamental solution concepts has also been explored in adjacent fields, such as approximate Nash equilibria by [6] and relaxed fairness notions such as envy-freeness up to one good (EF1) by [7].
We study how the relaxed notion of \(\alpha\)-stability influences social welfare efficiency under asymmetric (\(\mu\)-bounded) valuations, which we term the stability–efficiency tradeoff.
Our main results are as follows:
Characterization of Stability–Efficiency Tradoff: We provide a complete characterization of the stability–efficiency tradeoff (Section 3); see Figure 2 for an illustration. We prove that any \(\alpha\)-stable matching is at least \((\alpha \cdot \frac{\mu}{(\mu+1)})\)-efficient (Proposition 2). Thus, the worst-case efficiency of \(\alpha\)-stable matchings becomes worse as \(\alpha\) decreases. On the other hand, we prove an upper bound of \(\frac{1}{\alpha}\cdot \frac{\mu}{(\mu+1)}\) on the best-case efficiency of \(\alpha\)-stable matchings. In particular, for smaller values of \(\alpha\), \(\alpha\)-stable matchings can achieve a (significantly) better efficiency guarantee than stable matchings, with the magnitude of improvement depending on the ratio \(\frac{\mu}{(\mu+1)}\). Also, for \(\alpha \le \frac{\mu}{(\mu+1)}\), any optimal matching is \(\alpha\)-stable, implying that \(\alpha\)-stable matchings can be \(1\)-efficient. At the same time, our result shows that it is impossible to surpass the bound of \(\min(1, \frac{1}{\alpha}\cdot \frac{\mu}{(\mu+1)})\). This provides a complete characterization of the stability–efficiency tradeoff for \(\alpha\)-stable matchings under \(\mu\)-bounded valuations; previously, only the case \(\mu = 1\) was understood [5].
Computing \(\alpha\)-Stable Matchings: We present a polynomial-time algorithm, termed \(\alpha\)-Boosting, that computes an \(\alpha\)-stable matching achieving the best-possible worst-case efficiency guarantee (Section 4, Theorem 1). For \(\alpha \leq \frac{\mu}{(\mu + 1)}\), the algorithm simply returns a social welfare optimal matching, which is \(\alpha\)-stable and achieves a 1-approximation. For \(\alpha > \frac{\mu}{(\mu + 1)}\), \(\alpha\)-Boosting uses a more sophisticated approach inspired by [8]: it first computes a social welfare optimal matching, inflates the values of its edges by a factor \(\frac{1}{\alpha}\), and then applies the Gale–Shapley algorithm to the modified instance. Remarkably, we can show that this algorithm has an approximation guarantee of \(\frac{1}{\alpha} \cdot \frac{\mu}{(\mu+1)}\), which is best possible.
Hardness of Optimal \(\alpha\)-Stable Matchings: We consider the problem of computing an \(\alpha\)-stable matching of maximum social welfare (Section 5). We derive two integer linear programming formulations that characterize the set of \(\alpha\)-stable matchings. For the stable matching problem with strict preference orders, [9] and [10] showed that the corresponding linear programming relaxations are integral. However, such a result seems elusive for \(\alpha\)-SMCTI. We prove that for any \(\alpha \in (\frac{n-1}{n}, 1)\), deciding whether an instance of \(\alpha\)-SMCTI admits an \(\alpha\)-stable matching achieving at least a given social welfare is NP-complete (Theorem 2). In particular, this implies that computing an optimal \(\alpha\)-stable matching is NP-hard for this range of \(\alpha\).
The stable matching problem was first introduced by [1], together with an algorithm that computes a stable matching which is optimal in terms of social welfare for the proposing side. Their model assumes that (i) preference lists are complete, and (ii) there are no ties in the preferences. [11] considered the case of incomplete preferences and studied how changing the length on an agent’s preference list affects their welfare in the final matching.
Later work has explored generalizations of the problem that drop both of the assumptions described above. [12] showed that when both assumptions are removed, the problem of determining whether a (perfect) stable matching exists is NP-hard. When only (ii) is dropped, [13] proved that finding an optimal stable matching is NP-hard, and [14] showed that the matching resulting from the Gale–Shapley algorithm may not be optimal for either side. More recently, [15] proposed heuristic methods to improve the social welfare of these matchings when ties occur.
A different way to generalize the stable marriage problem is to consider weighted preferences. [5] do this and define the (multiplicative) notion of \(\alpha\)-stability, which we consider in this paper. They consider three scenarios: vertex-labeled graphs, symmetric edge-labeled graphs, and asymmetric edge-labeled graphs.3 In the latter case, they showed that the social welfare of an \(\alpha\)-stable matching can be arbitrarily worse than that of an optimal matching, but did not explore this setting further. For symmetric edge-labeled graphs, however, they proved that there always exists an \(\alpha\)-stable matching with social welfare at least \(\frac{1}{2\alpha}\) times that of an optimal matching.4 They also provided an algorithm that finds such a matching in \(O(n^2)\) time.
\(\alpha\)-Stability was also analyzed in the context of fractional matchings by [16]. They propose a polynomial time algorithm that computes an \(\alpha\)-stable fractional matching which guarantees an \(\alpha\)-approximation. They also prove that the problem of finding an optimal \(\alpha\)-stable fractional matching is hard to approximate. Different notions of stability have also been considered in the literature (e.g., [17]–[21]).
The linear programming approach to the stable matching problem has been widely studied. [9] was the first to show that the polytope defined by the stable matching constraints has integral extreme points, thereby proving that an optimal stable matching can be found in polynomial time. [10] later expanded on these results and offered simplified proofs. However, they do not easily generalize to the \(\alpha\)-stability setting. On the other hand, [13] considered a series of harder variants of the problem, which they showed to be NP-hard.
Finally, the stable marriage problem can be seen as a special case of the Generalized Assignment Problem for unit sizes and capacities. [8] study different variants of this problem when one group is strategic in a learning-augmented environment. In particular, they introduce a mechanism, called Boost, which increases the values of edges in the predicted matching such that these edges are more likely to be matched during a modified run of the Gale–Shapley algorithm. Our \(\alpha\)-Boosting algorithm builds upon this procedure.
An instance of the stable matching problem with cardinal preferences is defined as follows: We are given two sets \(L\) and \(R\), each consisting of \(n\) agents.5 We use \(i\) and \(j\) to refer to agents from the sets \(L\) and \(R\), respectively. Each agent has cardinal preferences (allowing for indifferences and incompatibilities) over the agents in the other set. More specifically, each agent \(i \in L\) has a non-negative valuation \(v_{ij}\) for every \(j \in R\), and each agent \(j \in R\) has a non-negative valuation \(w_{ji}\) for every \(i \in L\). The valuations of an agent comprise their preference list. The interpretation of the valuations \((v_{ij})\) for agent \(i \in L\) is as follows: agent \(i\) prefers to be matched to \(j_1\) rather than \(j_2\) if \(v_{ij_1} > v_{ij_2}\), \(i\) is indifferent between \(j_1\) and \(j_2\) if \(v_{ij_1} = v_{ij_2}\), and \(i\) does not want to be matched to \(j\) if \(v_{ij} = 0\). The interpretation of the valuations \((w_{ji})\) for an agent \(j \in R\) follows analogously. We define \((i,j)\) as a pair if \(i \in L\) and \(j \in R\). We say that \((i,j)\) is a compatible pair if \(v_{ij}\neq 0\) and \(w_{ji}\neq 0\). The preference graph \(\mathop{\mathrm{PG}}(L\cup R, (v_{ij}), (w_{ji}))\) (or simply \(\mathop{\mathrm{PG}}\), when clear from context) is the bipartite graph that represents these relational preferences: the vertex set is \(L\cup R\), the edge set consists of all compatible pairs, i.e., \(E(\mathop{\mathrm{PG}}) =\{(i,j)\in L\times R:v_{ij}\neq 0 \text{ and } w_{ji}\neq 0\},\) and each edge \((i,j) \in E(\mathop{\mathrm{PG}})\) is associated with two (positive) weights \(v_{ij}\) and \(w_{ji}\). We assume w.l.o.g. that the preference graph \(\mathop{\mathrm{PG}}\) is non-empty.
Given a preference graph \(\mathop{\mathrm{PG}}\), a matching \(M_{\mathop{\mathrm{PG}}}\) (or simply \(M\), when clear from context) for \(\mathop{\mathrm{PG}}\) is a set of edges such that each vertex is incident to at most one edge. Unless specified otherwise, a matching refers to a non-empty matching. We will abuse notation and also denote by \(M\) the mapping \(L\cup R \rightarrow L \cup R \cup \emptyset\) such that \(M(i)=j\) and \(M(j)=i\) whenever \((i,j)\in M\). Otherwise, if there is no \(j \in R\) such that \((i,j) \in M\), we set \(M(i)= \emptyset\), in which case we will say that \(i\) is lonely under \(M\) and define \(v_{iM(i)}=0\). For \(j \in R\), \(M(j)=\emptyset\) and \(w_{j M(j)}\) are defined similarly. We use \(\text{Mat}(\mathop{\mathrm{PG}})\) to refer to the set of matchings for \(\mathop{\mathrm{PG}}\). A matching \(M\) is said to be (inclusion-wise) maximal if there is no edge \(e\in E(\mathop{\mathrm{PG}}) \setminus M\) such that \(M\cup \{e\}\) is also a matching. A matching is said to be stable if no pair strictly prefers each other to their current matches if any, or to being lonely.6 In this paper we consider a relaxed stability notion, called \(\alpha\)-stability (see also [5]).
Definition 1 (\(\alpha\)-Stability). Let \(M\) be a matching for a preference graph \(\mathop{\mathrm{PG}}\), and let \(\alpha\in (0,1]\). A pair \((i,j) \in E(\mathop{\mathrm{PG}})\) is \(\alpha\)-blocking* if \(v_{iM(i)} < \alpha v_{ij}\) and \(w_{jM(j)}< \alpha w_{ji}\). \(M\) is \(\alpha\)-stable if there is no \(\alpha\)-blocking pair. 7*
Note that the original stability notion is equivalent to \(1\)-stability. By definition, an \(\alpha\)-stable matching \(M\) is also \(\alpha'\)-stable for every \(\alpha' \le \alpha\). In particular, a stable matching is \(\alpha\)-stable for every \(\alpha\in(0,1]\). This observation also implies that, for any preference graph \(\mathop{\mathrm{PG}}\), an \(\alpha\)-stable matching is guaranteed to exist for every \(\alpha \in (0, 1]\) as a stable matching always exists (see [2]). Observe that any \(\alpha\)-stable matching must be (inclusion-wise) maximal.
We are interested in how the quality of \(\alpha\)-stable matchings changes depending on \(\alpha\). To this end, we define the social welfare of a matching \(M\) as \(SW(M)=\sum_{(i,j)\in M}(v_{ij}+w_{ji})\). That is, the social welfare \(SW(M)\) accounts for the sum of the valuations of all pairs in the matching \(M\). Given a preference graph \(\mathop{\mathrm{PG}}\), an optimal matching is a matching of maximum social welfare and will be denoted by \(M^*\), i.e., \(M^*\in \text{Mat}(\mathop{\mathrm{PG}})\) and \(SW(M^*) \ge SW(M)\) for every matching \(M\in \text{Mat}(\mathop{\mathrm{PG}})\). Throughout this work, we use the optimal social welfare as a benchmark when evaluating the quality of a matching.
Definition 2 (\(\gamma\)-Efficiency). Let \(M\) be a matching and \(M^*\) be an optimal matching for a preference graph \(\mathop{\mathrm{PG}}\). \(M\) is said to be \(\gamma\)-efficient* with \(\gamma \in (0,1]\) if \(SW(M)=\gamma SW(M^*)\).*
As it turns out, the efficiency of \(\alpha\)-stable matchings does not only depend on the stability parameter \(\alpha\), but also on the “degree of asymmetry” of the underlying valuations. The following notion formalizes this. Given a preference graph \(\mathop{\mathrm{PG}}\), the valuations of the agents are \(\mu\)-bounded with \(\mu \in (0,1]\) if \(\mu w_{ji}\leq v_{ij}\leq w_{ji}/\mu\) for all \((i,j)\in E(\mathop{\mathrm{PG}})\). Intuitively, for \(\mu = 1\) the valuations are symmetric (i.e., \(v_{ij} = w_{ji}\) for all \((i,j) \in E(\mathop{\mathrm{PG}})\)), and they become increasingly asymmetric as \(\mu\) decreases.
We refer to our stable matching problem introduced above as \(\alpha\)-SMCTI for short, which stands for \(\alpha\)-Stable Matching with Cardinal preferences, Ties allowed, and Incomplete preference lists. An instance of \(\alpha\)-SMCTI is given by a preference graph \(\mathop{\mathrm{PG}}\) and the parameter \(\alpha\). Given the preference graph \(\mathop{\mathrm{PG}}\), we let \(\mu\) refer to the (largest) \(\mu\) parameter for which the valuations are \(\mu\)-bounded (as defined above). We are interested in deriving algorithms that compute \(\alpha\)-stable matchings with good efficiency guarantees. In this context, a \(\rho\)-approximation algorithm with \(\rho \in (0,1]\) is an algorithm that, for any given instance of \(\alpha\)-SMCTI, computes in polynomial time an \(\alpha\)-stable matching \(M\) for \(\mathop{\mathrm{PG}}\) that is at least \(\rho\)-efficient, i.e., \(SW(M) \ge \rho \cdot SW(M^*)\); \(\rho\) is also called the approximation guarantee. We also consider the problem of computing an optimal \(\alpha\)-stable matching, i.e., an \(\alpha\)-stable matching of maximum social welfare among all \(\alpha\)-stable matchings.
Given an instance of \(\alpha\)-SMCTI, our ultimate goal is to compute an \(\alpha\)-stable matching with a good (large) efficiency. We begin by analyzing the worst-case and best-case efficiency guarantees achievable by \(\alpha\)-stable matchings.
Proposition 1. Consider an instance of \(\alpha\)-SMCTI with preference graph \(\mathop{\mathrm{PG}}\) and \(\mu\)-bounded valuations. Then
if \(\alpha\in(0,\frac{\mu}{\mu+1}]\), there is always a 1-efficient \(\alpha\)-stable matching, and
if \(\alpha\in (\frac{\mu}{\mu+1}, 1]\), then for every \(\delta>0\) there exists a preference graph \(\mathop{\mathrm{PG}}\) such that there is no \((\frac{1}{\alpha}\cdot \frac{\mu}{\mu+1}+\delta)\)-efficient \(\alpha\)-stable matching.
Proof. Let \(\alpha\in(0,\frac{\mu}{\mu+1}]\). We will show that any optimal matching is \(\alpha\)-stable. Towards a contradiction, let \(M^*\) be an optimal matching that is not \(\alpha\)-stable for some \(\alpha\in (0, \frac{\mu}{\mu+1}]\). Then there exists an \(\alpha\)-blocking pair \((i,j)\), i.e., \(v_{iM^*(i)}<\alpha v_{ij}\) and \(w_{jM^*(j)}<\alpha w_{ji}\). As the valuations are \(\mu\)-bounded we obtain \[v_{iM^*(i)}+w_{M^*(i)i} \leq \tfrac{\mu + 1}{\mu} v_{iM^*(i)}<\alpha\cdot\tfrac{\mu+1}{\mu}v_{ij}\] and \[v_{M^*(j)j}+w_{jM^*(j)}\leq \tfrac{\mu + 1}{\mu} w_{jM^*(j)}<\alpha\cdot\tfrac{\mu+1}{\mu}w_{ji}.\] As \(\alpha\cdot\frac{\mu+1}{\mu}\leq 1\), adding the above equations leads to \[\label{eq:comparison-values-1} v_{iM^*(i)}+w_{M^*(i)i}+ v_{M^*(j)j}+w_{jM^*(j)} < v_{ij}+w_{ji}.\tag{1}\] The matching \(\hat{M}:=M^*\setminus \{(i,M^*(i)),(M^*(j),j)\} \cup \{(i,j)\}\) therefore satisfies \(SW(\hat{M})>SW(M^*)\), contradicting optimality of \(M^*\). Observe that the argument also holds if either \(i\) or \(j\) is lonely under \(M^*\), as 1 remains true, and if \(i\) and \(j\) are both lonely under \(M^*\) then this immediately contradicts optimality of \(M^*\).
Now let \(\alpha\in (\frac{\mu}{\mu+1},1]\). For each value of \(\delta>0\), we will construct a preference graph such that there is no \((\frac{1}{\alpha}\cdot\frac{\mu}{\mu+1}+\delta)\)-efficient \(\alpha\)-stable matching. Consider the instance shown in Figure 1, where \(\epsilon=\frac{1}{\alpha}-1+\epsilon'\) for some \(0<\epsilon'<(1+\frac{1}{\mu})\delta\) such that \(\epsilon\in (\frac{1}{\alpha}-1,\frac{1}{\mu})\).8 The only \(\alpha\)-stable matching is given by \(M=\{(i_2,j_1)\}\), while the optimal matching is \(M^*=\{(i_1,j_1), (i_2,j_2)\}\), leading to9 \[\frac{SW(M)}{SW(M^*)}=\frac{1+\epsilon}{1 + \frac{1}{\mu}}=\frac{1}{\alpha}\cdot \frac{\mu}{\mu+1}+\frac{\epsilon'}{1+\frac{1}{\mu}}<\frac{1}{\alpha}\cdot \frac{\mu}{\mu+1}+\delta.\] ◻
Proposition 2. Given an instance of \(\alpha\)-SMCTI with preference graph \(\mathop{\mathrm{PG}}\) and \(\mu\)-bounded valuations, any \(\alpha\)-stable matching is at least \((\alpha\cdot \frac{\mu}{\mu+1})\)-efficient.
Proof. Let \(M\) be an \(\alpha\)-stable matching, and fix an optimal matching \(M^*\). Due to \(\alpha\)-stability, for every \((i,j)\in M^*\), it holds that \(v_{iM(i)}\geq \alpha v_{ij}\) or \(w_{jM(j)}\geq \alpha w_{ji}\). Thus we can write \(M^*= E_1\cup E_2\), where \(E_1 := \{(i,j)\in M^*\: : \: v_{iM(i)}\geq \alpha v_{ij}\}\) and \(E_2 := \{(i,j)\in M^*\: : \: w_{jM(j)}\geq \alpha w_{ji}\}.\) In particular, \[\label{eq:sum95e1e2alpha} SW(M^*)\leq \sum_{(i,j)\in E_1}(v_{ij}+w_{ji})+\sum_{(i,j)\in E_2}(v_{ij}+w_{ji}).\tag{2}\] Consider the first summation in 2 . It holds that \(w_{ji} \leq \frac{1}{\mu} v_{ij} \le \frac{1}{\alpha \mu}v_{iM(i)}\), as the valuations are \(\mu\)-bounded and by definition of \(E_1\). Therefore, \[\begin{align} \label{eq:sum95e1alpha} \sum_{(i,j)\in E_1}( v_{ij}+w_{ji})& \leq \sum_{(i,j)\in M}\tfrac{1}{\alpha}\left(1 + \tfrac{1}{\mu} \right)v_{ij}. \end{align}\tag{3}\] We can upper bound the second summation in 2 analogously, and therefore upper bound 2 by \(SW(M^*)\leq \tfrac{1}{\alpha}( 1+\tfrac{1}{\mu}) SW(M)\), proving the claim. ◻
Note that when \(\alpha = 1\), the bounds in Propositions 1 and 2 coincide. Also note that by relaxing the stability requirement to \(\alpha\)-stability, the lower bound on the efficiency guarantee decreases whereas the upper bound on the efficiency guarantee increases. We refer to Figure 2 for an illustration of these bounds.
Our aim for this section is to design an algorithm which, given any instance of \(\alpha\)-SMCTI with \(\mu\)-bounded valuations, achieves an approximation guarantee of 1 whenever \(\alpha\leq \frac{\mu}{\mu+1}\), and of \(\frac{1}{\alpha}\cdot \frac{\mu}{\mu+1}\) otherwise. Note that in light of Proposition 2, this is best possible. We start by introducing our algorithm, called \(\alpha\)-Boosting, which builds upon [1] and [8].
Given a preference graph \(\mathop{\mathrm{PG}}\) and a parameter \(\alpha \in (0,1]\) as input, \(\alpha\)-Boosting first computes an optimal matching \(M^*\) for \(\mathop{\mathrm{PG}}\). If \(M^*\) is \(\alpha\)-stable, then \(M^*\) is returned. Otherwise, \(\alpha\)-Boosting defines an instance \(\mathop{\mathrm{PG}}^{\alpha}\) with the same underlying bipartite graph as \(\mathop{\mathrm{PG}}\) and valuations \((v'_{ij}, w'_{ji})\) with \[v'_{ij}=\begin{cases} \frac{1}{\alpha} v_{ij}, & \text{if }(i,j)\in M^*, \\ v_{ij}, & \text{otherwise,} \end{cases}\] and \(w'_{ji}\) defined analogously. It then returns the matching \(M\) that is obtained by running the version of the Gale-Shapley algorithm that handles incomplete preferences (see [2]) on \(\mathop{\mathrm{PG}}^{\alpha}\), with ties broken arbitrarily.10
Denote \(m = |E(\mathop{\mathrm{PG}})|\). Since an optimal matching for \(\mathop{\mathrm{PG}}\) can be computed in time \(O(m^{1+o(1)})\) [22], \(\mathop{\mathrm{PG}}^{\alpha}\) can be constructed in time \(O(m)\), and the Gale-Shapley algorithm on \(\mathop{\mathrm{PG}}^{\alpha}\) runs in time \(O(m \log n)\), the complexity of \(\alpha\)-Boosting is \(O(m \log n)\). In the special case of \(\mu = 1\), an algorithm with runtime of \(O(n^2)\) has already been proposed by [5]. However, it is not trivial whether this algorithm can be generalized for \(\mu \in (0,1)\).
Note that \(M\) is a matching for \(\mathop{\mathrm{PG}}\) if and only if it is a matching for \(\mathop{\mathrm{PG}}^{\alpha}\). Throughout this section, we will specify the preference graph (\(\mathop{\mathrm{PG}}\) or \(\mathop{\mathrm{PG}}^{\alpha}\)) in the subscript when relevant, and omit it otherwise. The main result of this section is the following theorem:
Theorem 1. Let \(\alpha \in (0,1]\). Then, for any instance of \(\alpha\)-SMCTI, \(\alpha\)-Boosting returns an \(\alpha\)-stable matching and achieves an approximation guarantee of \(f(\alpha, \mu)\) with \[\label{eq:guarantee-alpha-boosting} f(\alpha, \mu) = \begin{cases} 1, & \text{if } \alpha \le \frac{\mu}{\mu+1}, \\ \frac{1}{\alpha}\cdot \frac{\mu}{\mu+1}, & \text{otherwise,} \end{cases}\qquad{(1)}\] which is best possible.
Proof. Consider an instance \(\mathop{\mathrm{PG}}\) of \(\alpha\)-SMCTI. If \(\alpha\leq \frac{\mu}{\mu+1}\), then \(\alpha\)-Boosting returns \(M^*\) of \(\mathop{\mathrm{PG}}\) which is \(\alpha\)-stable (Proposition 1), thus achieving an approximation guarantee of 1 in this case. Therefore, assume that \(\alpha>\frac{\mu}{\mu+1}\) and let \(M\) be the matching returned by \(\alpha\)-Boosting. We start by showing that \(M\) is \(\alpha\)-stable. Let \((i,j)\) be a pair which is not in \(M\). We distinguish two cases:
If \(i\) did not propose to \(j\) during the execution of the Gale-Shapley algorithm, then we must have that \(v'_{iM(i)}\geq v'_{ij}\). By definition, it holds that \(\frac{1}{\alpha}v_{iM(i)}\geq v'_{iM(i)}\geq v'_{ij}\geq v_{ij},\) so in particular, \(v_{iM(i)}\geq \alpha v_{ij}\). Therefore, \((i,j)\) cannot be \(\alpha\)-blocking.
Otherwise, \(i\) proposed to \(j\) but \(j\) rejected \(i\), so it must hold that \(w'_{jM(j)}\geq w'_{ji}\). Again by definition, it holds that \(\frac{1}{\alpha}w_{jM(j)}\geq w'_{jM(j)}\geq w'_{ji}\geq w_{ji},\) so \(w_{jM(i)}\geq \alpha w_{ji}\) and \((i,j)\) cannot be \(\alpha\)-blocking.
Next, we establish the approximation guarantee by fixing an optimal matching \(M^*\) for \(\mathop{\mathrm{PG}}\) and constructing a mapping \(g: M^*\to M\). The main idea is that \(g\) maps each edge in the optimal matching either to itself or to an adjacent edge of comparable value.
Let \((i,j) \in M^*\). If \((i,j) \in M\), we set \(g(i,j) = (i,j)\). Otherwise, \(v'_{iM(i)}\geq v'_{ij}\) or \(w'_{jM(j)}\geq w'_{ji}\). If the first condition holds, we set \(g(i,j)=(i,M(i))\). Since \((i,M(i))\notin M^*\), it follows that \(v_{iM(i)}=v'_{iM(i)}\geq v'_{ij}=\frac{1}{\alpha}v_{ij}\), and combining with the definition of \(\mu\)-bounded valuations leads to \[\frac{v_{iM(i)}+w_{M(i)i}}{v_{ij}+w_{ji}} \geq \frac{(1+\mu)v_{iM(i)}}{( 1+\frac{1}{\mu} ) v_{ij}} \geq \frac{\frac{1}{\alpha}(1+\mu)v_{ij}}{( 1+\frac{1}{\mu} ) v_{ij}} = \frac{\mu}{\alpha}.\] If only the second condition holds, we set \(g(i,j)=(M(j), j)\), which yields an analogous bound. Now, if \((i,j) \in M\) and \((i,j) \notin M^*\), it could be that two edges \((i,j') \in M^*\) and \((i',j) \in M^*\) are mapped to \((i,j)\). In this case we have that \(\alpha v_{ij}\geq v_{ij'}\) and \(\alpha w_{ji}\geq w_{ji'}\), so \[\begin{align} \frac{v_{ij}+w_{ji}}{v_{ij'}+w_{j'i}+v_{i'j}+w_{ji'}} & \geq \frac{\frac{1}{\alpha}v_{ij'}+\frac{1}{\alpha}w_{ji'}}{v_{ij'}+w_{j'i}+v_{i'j}+w_{ji'}} \geq \frac{\frac{1}{\alpha}v_{ij'}+\frac{1}{\alpha}w_{ji'}}{( 1+\frac{1}{\mu}) ( v_{ij'}+w_{ji'})} = \frac{1}{\alpha}\cdot \frac{\mu}{\mu+1}. \end{align}\]
Since \(1>\frac{1}{\alpha}\cdot\frac{\mu}{\mu+1}\), \(\frac{\mu}{\alpha}>\frac{1}{\alpha}\cdot\frac{\mu}{\mu+1}\) and edges in \(M^*\) are mapped to adjacent edges in \(M\) or itself (if in \(M\)), we obtain \[\begin{align} \tfrac{1}{\alpha}\cdot \tfrac{\mu}{\mu+1}SW(M^*) &= \tfrac{1}{\alpha}\cdot\tfrac{\mu}{\mu+1}\sum_{(i,j)\in M^*}(v_{ij}+w_{ji}) \le \sum_{(i,j)\in M}(v_{ij}+w_{ji}) = SW(M), \end{align}\] proving that \(\alpha\)-Boosting is \(f(\alpha, \mu)\)-approximate as in ?? . Furthermore, this is best possible by Proposition 1. ◻
As shown in the previous section, \(\alpha\)-Boosting always returns an \(\alpha\)-stable matching that recovers at least \(\frac{1}{\alpha}\cdot \frac{\mu}{(\mu+1)}\) of the optimal social welfare. However, it need not be an optimal \(\alpha\)-stable matching. In this section, we consider the problem of finding an optimal \(\alpha\)-stable matching.
Given a matching \(M\) for a preference graph \(\mathop{\mathrm{PG}}(L\cup R, (v_{ij}), (w_{ji}))\), we define its assignment matrix as \(x(M)=(x_{ij})_{i\in L, j\in R}\), where \(x_{ij}=1\) if the pair \((i,j)\in M\), and \(x_{ij}=0\) otherwise. The set of all matchings can be described by the following system of inequalities: \[\begin{align} \textstyle\sum_{j\in R}x_{ij}&\leq 1 \qquad\;\;\; \forall i\in L \tag{4} \\ \textstyle\sum_{i\in L}x_{ij}&\leq 1 \qquad\;\;\; \forall j\in R \tag{5}\\ x_{ij}& \in \{0, 1\} \quad \forall (i,j)\in E(\mathop{\mathrm{PG}}).\tag{6} \end{align}\]
Below, we show that the \(\alpha\)-stability property can be described by two different linear constraints.
Proposition 3. Let \(M\) be a matching for \(\mathop{\mathrm{PG}}(L\cup R, (v_{ij}), (w_{ji}))\) and let \(\alpha \in (0,1]\). Then, \(M\) is \(\alpha\)-stable if and only if \(x(M)\) satisfies \[\label{eq:LP95alpha95stab2} \sum_{l:v_{il}\geq \alpha v_{ij}}x_{il}+\sum_{k:w_{jk}\geq \alpha w_{ji}}x_{kj}\geq 1 \quad \forall (i,j)\in E(\mathop{\mathrm{PG}}).\qquad{(2)}\]
Proof. Towards a contradiction, suppose that \(M\) is an \(\alpha\)-stable matching and there exists \((i,j) \in E(\mathop{\mathrm{PG}})\) such that ?? does not hold. In this case it must be that both summations in ?? are equal to 0, and so \(v_{iM(i)}<\alpha v_{ij}\) and \(w_{jM(j)}<\alpha w_{ji}\). This implies that \((i,j)\) is an \(\alpha\)-blocking pair which contradicts that \(M\) is \(\alpha\)-stable. For the other direction note that if ?? is satisfied for a matching \(M\), this implies that there is no \(\alpha\)-blocking pair \((i,j)\in E(\mathop{\mathrm{PG}})\) as \((i,j)\) would otherwise not satisfy ?? , implying that \(M\) is \(\alpha\)-stable. ◻
Proposition 4. Let \(M\) be a matching for \(\mathop{\mathrm{PG}}(L\cup R, (v_{ij}), (w_{ji}))\) and let \(\alpha\in(0,1]\). Then, \(M\) is \(\alpha\)-stable if and only if \(x(M)\) satisfies \[\label{eq:LP95alpha95stab1} \sum_{k:\alpha w_{ji}>w_{jk}}x_{kj}-\sum_{l:v_{il}\geq\alpha v_{ij}}x_{il} \leq 0 \quad \forall (i,j)\in E(\mathop{\mathrm{PG}}).\qquad{(3)}\]
Proof. Let \(M\) be an \(\alpha\)-stable matching, and suppose that for a certain \((i,j)\in E(\mathop{\mathrm{PG}})\) we have that \(\sum_{k:\alpha w_{ji}>w_{jk}}x_{kj}=1\). This means that \(j\) is paired with an agent they find less desirable than \(i\) by a factor of \(\alpha\). Since \(M\) is \(\alpha\)-stable, we must have \(v_{iM(i)}\geq \alpha v_{ij}\). In particular, \(\sum_{l:v_{il}\geq\alpha v_{ij}}x_{il}=1\). This settles one direction. For the other direction, we proceed by contrapositive. Suppose that \(M\) is not \(\alpha\)-stable, and let \((i,j)\) be an \(\alpha\)-blocking pair, so \(v_{iM(i)}<\alpha v_{ij}\) and \(w_{jM(j)}<\alpha w_{ji}\). The first implies that \(M(i)\notin \{l:v_{il}\geq \alpha v_{ij}\}\), and therefore \(\sum_{l:v_{il}\geq\alpha v_{ij}}x_{il}=0\). The second implies that \(M(j)\in \{k:\alpha w_{ji}>w_{jk}\}\), so \(\sum_{k:\alpha w_{ji}>w_{jk}}x_{kj}=1\) and ?? does not hold for \((i,j)\) which concludes the proof. ◻
Using Propositions 3 and 4, we can describe the set of all \(\alpha\)-stable matchings via constraints (4 )–(6 ), together with either (?? ) or (?? ). Thus, computing an \(\alpha\)-stable matching is equivalent to solving the integer program that maximizes the objective \(\sum_{(i,j) \in E(\mathop{\mathrm{PG}})} (v_{ij}+ w_{ji}) x_{ij}\) subject to these constraints. The crux, however, is that integer programs are not known to be solvable in polynomial time.
Notably, for the special case of stable matchings (i.e., \(\alpha = 1\)) with strict preference orders, [10] and [9] showed that the extreme points of the polytope defined by 4 , 5 and \[x_{ij} \ge 0 \quad \forall (i,j)\in E(\mathop{\mathrm{PG}}),\label{eq:relaxation}\tag{7}\] together with (?? ) or (?? ), are integral.11 Consequently, in this case, solving the corresponding linear program (which can be done in polynomial time) yields an integral optimal solution. That is, for \(\alpha = 1\) we can find an optimal \(\alpha\)-stable matching by solving the respective linear program. This naturally raises the question of whether the same holds for \(\alpha < 1\). We answer this question in the negative by showing that the problem is NP-hard, even when \(\alpha\) is arbitrarily close to 1.
To prove our hardness results, we consider certain special cases of our \(\alpha\)-SMCTI problem. We denote these more restrictive variants by omitting the respective letters from the acronym. In particular, SMCT (SMT) refers to the stable matching variant with cardinal (ordinal) preferences, ties allowed, and complete preference lists. Given a weak order relation \(\succeq_i\) for \(i \in L\), we write \(j_1 \succeq_i j_2\) to indicate that \(i\) (weakly) prefers \(j_1\) over \(j_2\); the relation \(\succeq_j\) for \(j \in R\) is defined analogously.
Given an instance \(I\) of SMT and \((i,j)\in L\times R\), we define the cost \(c_{ij}\) of agent \(i\) for \(j\) as the position \(j\) occupies in \(i\)’s preference list (the cost \(c_{ji}\) of agent \(j\) for \(i\) is defined analogously). Agents in the same tie group share the same cost, which will be equal to the number of agents ranked strictly above them plus one. We define the weight of \(M\) as \(w(M):=\sum_{u\in L\cup R}c_{uM(u)}\), where \(c_{uM(u)}=\infty\) whenever \(u\) is lonely under \(M\). We say that a matching is egalitarian if its weight is minimum among all stable matchings of \(I\).
Let Egalitarian-SMT-OPT denote the optimization problem of finding an egalitarian stable matching given an instance of SMT. [13] proved that Egalitarian-SMT-OPT is hard to approximate. In particular, this means that the following decision problem is also NP-hard:
Min-Cost-SMT: Given an instance of SMT and \(K\in \mathbb{R}^+\), is there a stable matching \(M\) such that \(w(M)\leq K\)?
The decision problem we are interested in here is:
Max-Weight-\(\alpha\)-SMCT: Given an instance of \(\alpha\)-SMCT and \(\omega\in \mathbb{R}^+\), is there an \(\alpha\)-stable matching \(M\) such that \(SW(M) \geq \omega\)?
Theorem 2. Given \(\alpha\in (\frac{n-1}{n},1)\), Max-Weight-\(\alpha\)-SMCT is NP-complete.
Proof. It can easily be verified that Max-Weight-\(\alpha\)-SMCT is in NP. Let \(\alpha\in \left(\frac{n-1}{n}, 1\right)\). We define a polynomial-time reduction from SMT to \(\alpha\)-SMCT.
Given an instance \(I\) of SMT, let \(P_i = \{j_1^i, \ldots, j_n^i\}\) denote the preference list of \(i\), which potentially includes ties. Let \(\mathop{\mathrm{PG}}\) be an instance of \(\alpha\)-SMCT with the same underlying graph as \(I\). For each \((i, j)\in L\times R\), we define the cardinal preferences as \(v_{ij} = -c_{ij}+n+1\) and \(w_{ji} = -c_{ji}+n+1\). Note that as the costs are in the range \([1,n]\), so are the valuations by construction.
It trivially holds that \(M\) is a matching for \(\mathop{\mathrm{PG}}\) if and only if \(M\) is a matching for \(I\). We will prove that a matching \(M\) is \(\alpha\)-stable for \(\mathop{\mathrm{PG}}\) if and only if \(M\) is stable for \(I\) by showing that a pair \((i,j)\) is \(\alpha\)-blocking for \(\mathop{\mathrm{PG}}\) if and only if it is blocking for \(I\). Note that one direction holds by construction: take \((i,j)\) to be \(\alpha\)-blocking for \(\mathop{\mathrm{PG}}\), i.e. \(v_{iM(i)} < \alpha v_{ij} < v_{ij}\) and \(w_{jM(j)} < \alpha w_{ji} < w_{ji}\). This can only be the case if \(c_{ij} < c_{iM(i)}\) and \(c_{ji} < c_{jM(j)}\), so \((i,j)\) is blocking for \(I\). For the other direction, suppose that \((i,j)\) is blocking for \(I\), i.e. \(c_{ij}<c_{iM(i)}\) and \(c_{ji}<c_{jM(j)}\). This implies that \(M(i)\) and \(j\) belong to different tie groups in \(i\)’s preference list, and \(i\) and \(M(j)\) belong to different tie groups in \(j\)’s. We want to show that \(v_{iM(i)}<\alpha v_{ij}\) and \(w_{jM(j)}<\alpha w_{ji}\), thus it is enough to show that the valuation of an element in a tie group times \(\alpha\) is greater than the valuation of any element in a following tie group. The most restrictive case happens when each tie group contains exactly one agent, in which case the largest ratio arises between the first and second agent in the preference list. More formally, let \(2\le x \le n\), then \(\frac{v_{iM(i)}}{v_{ij}} \leq \frac{x-1}{x} \leq \frac{n-1}{n} < \alpha\), which indeed gives \(v_{iM(i)}<\alpha v_{ij}\). The case of \(w_{jM(j)}<\alpha w_{ji}\) follows analogously.
Take \(K\in \left(1, 2n(n+1)\right)\), and set \(\omega=2n(n+1)-K\). We now show that there exists an \(\alpha\)-stable matching \(M\) for \(\mathop{\mathrm{PG}}\) with \(SW(M)\geq \omega\) if and only if there exists a stable matching \(M'\) for \(I\) with \(w(M')\leq K\). Suppose that \(M\) is an \(\alpha\)-stable matching for \(\mathop{\mathrm{PG}}\) with \(SW(M)\geq \omega\). It holds that \[\begin{align} SW(M) &= \! \! \sum_{(i,j)\in M} \! \! (v_{ij}+w_{ji}) = \! \! \sum_{(i,j)\in M} \! \! (-c_{ij}-c_{ji}+2n+2) =-w(M)+2n(n+1), \end{align}\] where the last equality is due to \(M\) being perfect (since preference orders are complete). Thus, \(w(M)\leq 2n(n+1)-\omega=K\). In particular, \(M\) is a stable matching for \(I\) with \(w(M)\leq K\). Analogously, suppose that \(M\) is a stable matching for \(I\) with \(w(M) \le K\). It holds that \[\begin{align} w(M) &= \! \! \sum_{(i,j)\in M} \! \! (c_{ij} + c_{ji}) = \! \! \sum_{(i,j)\in M} \! \! (-v_{ij}-w_{ji}+2n+2) = - SW(M) +2n(n+1), \end{align}\] and so \(SW(M) \geq 2n(n+1) - K = \omega\). Thus \(M\) is an \(\alpha\)-stable matching for \(\mathop{\mathrm{PG}}\) with \(SW(M) \geq \omega\). ◻
Note that we prove that Max-Weight-\(\alpha\)-SMCT is NP-complete for \(\alpha \in (\frac{n-1}{n},1)\). As mentioned above, the problem is solvable in polynomial time when \(\alpha = 1\), and when \(\alpha \le \frac{\mu}{\mu+1}\) by Theorem 1. This reveals an interesting threshold phenomenon. Note that \(\mu\) is determined by the valuations defined in the reduction and can be as small as \(\frac{1}{n}\); the proof can be adapted to larger values of \(\mu < 1\) by altering the way the valuations are defined. Clearly, Theorem 2 implies NP-hardness for more general optimization versions such as \(\alpha\)-SMCTI.
We study the interplay between stability and social welfare in two-sided matching markets with cardinal preferences, ties, and incomplete preference lists. By adopting the relaxed notion of \(\alpha\)-stability, we provide a complete characterization of the stability–efficiency tradeoff under asymmetric valuations and show that relaxing stability can substantially improve achievable efficiency guarantees. We derive a polynomial-time algorithm that computes an \(\alpha\)-stable matching attaining the best possible efficiency guarantee. Finally, our hardness results show that computing optimal \(\alpha\)-stable matchings becomes intractable even under slight relaxations of stability, i.e., for \(\alpha < 1\).
Our work leaves several interesting questions for future research. A natural direction is to further refine the complexity landscape of \(\alpha\)-stable matchings. In particular, it would be interesting to determine whether computing an optimal \(\alpha\)-stable matching is NP-hard for all \(\alpha \in \bigl(\frac{\mu}{\mu+1}, 1\bigr)\), and to understand the approximability of optimal \(\alpha\)-stable matchings within this range. Depending on these hardness results, a natural next step is to leverage predictions to guide the computation of near-optimal \(\alpha\)-stable matchings; notably, our algorithm already draws inspiration from this paradigm. Other promising directions include extending the framework to many-to-one matching markets and exploring hybrid notions of stability that incorporate different behavioral assumptions.
Centrum Wiskunde & Informatica (CWI), Amsterdam, The Netherlands↩︎
Centrum Wiskunde & Informatica (CWI) and University of Amsterdam, The Netherlands↩︎
Our \(\mu\) parameter interpolates between symmetric edge-labeled (\(\mu=1\)) and asymmetric edge-labeled graphs (\(\mu\rightarrow 0\)).↩︎
Note that in [5], the approximation ratios are presented inversely compared to our notation.↩︎
It is w.l.o.g. that \(|L|=|R|\), i.e., an instance with \(|L| > |R|\) can be reduced to an instance with \(|L|=|R'|\) by adding agents to \(R\) and defining that \(\forall j \in R' \setminus R\) it holds that \(v_{ij} = w_{ji} = 0\), \(\forall i \in L\).↩︎
This is sometimes referred to as weak stability.↩︎
We impose \(\alpha > 0\) as every matching is trivially \(0\)-stable.↩︎
This interval is well defined as \(\frac{1}{\alpha}-1<\frac{1}{\mu}\) since \(\alpha>\frac{\mu}{\mu+1}\).↩︎
Note that \(SW(M^*) > 0\), as \(E(\mathop{\mathrm{PG}}) \neq \emptyset\).↩︎
The Gale–Shapley algorithm operates on ordinal preferences, but any set of cardinal preferences can be uniquely converted into this form.↩︎
In these papers, preference lists are given as order relations, but the generalization to cardinal preferences is almost immediate.↩︎