Papers
Topics
Authors
Recent
Search
2000 character limit reached

Cheapest-Feasible Matching (CFM) Overview

Updated 23 November 2025
  • Cheapest-Feasible Matching (CFM) is a real-time minimal-cost matching rule that pairs agents in bipartite markets under strict feasibility constraints.
  • The algorithm greedily selects the cheapest available provider for each demand, ensuring a unique stable matching with provable cost and regret bounds.
  • CFM exhibits robust performance with analytical guarantees in random graph settings and dynamic perishable-resource markets, demonstrating incentive alignment and efficiency.

Cheapest-Feasible Matching (CFM) is a real-time allocation rule, central to market design and matching theory, that determines the unique minimal-cost, feasible matching between agents on opposite sides of a bipartite interaction—such as compute providers and computational jobs, or vertices of a graph with random costs. CFM appears both in mean-field stable matchings for random bipartite graphs and as a mechanism design primitive in perishable-resource markets, with robust performance and incentive alignment guarantees in each domain (Ahlberg et al., 2024, Zang et al., 20 Nov 2025).

1. Formal Problem Structure

The core problem considers two sets: a supply side §\S (e.g., compute providers, vertices) and a demand side $\D$ (e.g., jobs, opposing vertices). Each provider or vertex ss has an availability τs\tau_s and a cost c^s\hat c_s, while each job or vertex dd demands wdw_d units of service or matches, subject to deadlines and budgets when formulated as a perishable utility market. The matching must be partial—each provider matches at most once, and each job at most once—with feasibility constraints (e.g., sufficient remaining provider time, or match-respecting blocking-pair avoidance) (Zang et al., 20 Nov 2025, Ahlberg et al., 2024).

In the canonical random matching case, the bipartite graph Kn,nK_{n,n} is weighted by i.i.d. Exp(1)\mathrm{Exp}(1) edge costs. A matching is stable (or cheapest-feasible) if it contains no blocking-pair: an unmatched edge whose cost is less than the minimum cost of either endpoint’s current match (Ahlberg et al., 2024).

2. CFM: Mathematical Rule and Algorithm

CFM proceeds greedily, selecting for each arriving job the cheapest available provider capable of fulfilling the required service, resorting to a maximal-availability fallback if no eligible provider remains. Formally, with providers §={s1,…,sm}\S=\{s_1,\ldots,s_m\} and jobs $\D$0 each with demand $\D$1, the matching $\D$2 is built by iterating over jobs:

  1. For job $\D$3, define the feasible provider set $\D$4.
  2. If $\D$5, pick $\D$6 (cheapest feasible provider).
  3. Otherwise, pick $\D$7 as the remaining provider with $\D$8.
  4. Update the matching: $\D$9, remove ss0 from the set of eligible providers.

Each tie is broken by a fixed ordering over ss1 to guarantee uniqueness (Zang et al., 20 Nov 2025).

In the exponential edge-weighted setting, this rule is equivalent to sequentially pairing the two unmatched vertices connected by the minimal remaining edge, removing all incident edges after each step—yielding the unique stable (cheapest-feasible) matching (Ahlberg et al., 2024).

3. Theoretical Guarantees and Limit Laws

Existence and Uniqueness

For arbitrary arrival sequences and availability/cost vectors, CFM always produces a well-defined matching, never gets stuck, and is unique once tie-breaking is fixed (Zang et al., 20 Nov 2025). In the mean-field random graph setting, the greedy-edge algorithm gives the solitary stable matching (Ahlberg et al., 2024).

Cost and Regret Bounds

Define two offline optima: GCM (greedy-cheapest-ever, ignoring feasibility) and GSM (greedy-shortest-ever, maximizing completed jobs). Supply-regret and demand-regret are given by

  • ss2,
  • ss3.

CFM is ss4-competitive in size:

  • For ss5 jobs and providers, ss6.
  • When ss7 (ss8 a floor price), supply regret satisfies ss9 (Zang et al., 20 Nov 2025).

Distributional Results in Random Setting

In τs\tau_s0 with i.i.d. τs\tau_s1 edge costs, the total CFM matching cost τs\tau_s2 satisfies

  • Ï„s\tau_s3 (harmonic sum; Ï„s\tau_s4 Euler–Mascheroni constant),
  • Ï„s\tau_s5,
  • Ï„s\tau_s6 converges to GumbelÏ„s\tau_s7,
  • Typical edge costs are Ï„s\tau_s8 with explicit density Ï„s\tau_s9 for c^s\hat c_s0 (Ahlberg et al., 2024).

The rank of a typical edge (its position among candidate edge costs) exhibits a power-law tail with infinite mean: c^s\hat c_s1 as c^s\hat c_s2.

4. Computational Aspects

A practical implementation of CFM maintains a balanced data structure (segment tree or BST) keyed by remaining availability c^s\hat c_s3 and a min-heap at each node by c^s\hat c_s4, supporting:

  • Range-minimum queries in c^s\hat c_s5 time for providers with sufficient availability,
  • Popping minimum-cost feasible providers and updating availability in c^s\hat c_s6,
  • Per-period CFM execution in c^s\hat c_s7 time with c^s\hat c_s8 space for c^s\hat c_s9 jobs and dd0 providers (Zang et al., 20 Nov 2025).

In random exponential cost settings, the entire matching process can be represented as a sum of independent exponential increments, enabling exact analysis of matching cost distributions (Ahlberg et al., 2024).

5. Incentive Properties and Market Mechanism Design

CFM alone prioritizes lower-cost providers, but truthful cost reporting and early availability staking are only achieved when paired with a suitable surplus-sharing payment mechanism. The premium-sharing pool aggregates the surplus (market price minus reported costs) and distributes it equally among contemporaneously matched providers whose jobs started at or after a reference time:

  • Providers' payoff per hour is dd1.
  • Under mild conditions, this structure ensures (i) earlier staking increases total pool participation and (ii) reporting lower dd2 increases matching probability, with exactly offsetting marginal incentives, yielding truthful cost revelation (Zang et al., 20 Nov 2025).

By combining CFM with the premium-sharing pool, the mechanism is incentive compatible: providers optimally report true costs and stake full available capacity immediately.

6. Robustness and Sensitivity

Overlap Robustness

CFM exhibits structural robustness to small perturbations in underlying cost data. In dd3 with i.i.d. exponential edge costs, resampling an dd4 fraction of costs preserves the majority of the matching: the expected fraction of unchanged edges converges to dd5 as dd6 and dd7 (Ahlberg et al., 2024). This is attributed to the local nature of greedy matching, which depends on descending chains of edge weights that, for bounded-length sequences, remain typically unaffected by small random perturbations.

Cost and Tail Noise Sensitivity

Despite this overlap robustness, the total CFM cost is highly sensitive to noise: resampling an dd8-fraction of costs causes the most expensive dd9 edge assignments (for wdw_d0) to be completely reshuffled with high probability. Consequently, nearly all variance in total cost derives from these tail edges, and their independence under resampling drives the cost correlation wdw_d1 for wdw_d2 (Ahlberg et al., 2024).

Multi-period Regret

In multi-period regimes with a finite number of providers, CFM demonstrates vanishing long-run regret compared to the feasible optimum as total service capacities increase, reflecting robustness in dynamic, adversarially structured demand scenarios (Zang et al., 20 Nov 2025).

7. Applications and Broader Connections

CFM serves as (i) the basis for large-scale, realistically implementable market platforms for perishable utility resources such as compute (where it enables near real-time matching, robust incentive alignment, and provable regret bounds) (Zang et al., 20 Nov 2025), and (ii) as an analytically tractable model of stable matching in mean-field random graph settings, yielding new limit theorems and robust matching algorithms (Ahlberg et al., 2024). The explicit links between CFM and classic stable matching concepts, their uniquely greedy realization, and the connection to Gumbel fluctuation limits and power-law edge ranks offer a rich foundation for both theoretical investigation and market infrastructure design.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Cheapest-Feasible Matching (CFM).