Online Fractional Matching Hits Optimal 1/2+Θ(1/n)

Fractional online matching under edge arrivals is pinned down: the optimal competitive ratio is 1/2 + Θ(1/n). Learn what fractional decisions mean, why edge arrivals matter, and the exact asymptotic gap that’s now closed.
The finding Fractional online matching under edge arrivals has an asymptotically tight optimal competitive ratio of 1/2 + Θ(1/n).
The setting Edges arrive over time, and the algorithm assigns fractional values immediately while keeping every node’s incident total within capacity.
The takeaway The result closes the known upper–lower bound gap, so the best possible asymptotic performance is now pinned down.
1st MONTH FREE Basic or Pro • code FREE
Claim Offer

The Short Answer

The optimal competitive ratio for fractional online matching under edge arrivals is 1/2 + Θ(1/n) (asymptotically tight), closing the gap between prior upper and lower bounds. That means you can’t do better than this scale against adversarial arrivals, and there is a matching strategy that achieves it.

For practitioners, this turns performance expectations into a precise benchmark: as the problem size n grows, the best achievable improvement over 1/2 shrinks at the Θ(1/n) rate (within this model).

This guarantee is model-specific to edge arrivals and fractional matching with per-node capacity constraints, so different online models or integer (non-fractional) settings may yield different limits.

Online Fractional Matching Hits Optimal 1/2+Θ(1/n)

Introduction: Fractional online matching finally gets its exact asymptotic “gap”

If you’ve ever tried to make decisions immediately without knowing the future—like approving transactions as they arrive, assigning tasks under uncertainty, or routing calls—you’ve basically touched the core of online matching. The catch is always the same: you must commit on the spot, and then the adversary (or the unknown future) picks what happens next.

This new blog-style explanation is based on fresh research from David Wajc in the paper “Asymptotically Tight Fractional Online Matching Under Edge Arrivals”. The main breakthrough is that it closes an asymptotic gap between the best-known upper and lower bounds for fractional online matching in the “edge-arrival” model. In plain terms: the paper pins down the optimal competitive ratio almost exactly, proving it is
(1/2 + \Theta(1/\sqrt{n}) + \Theta(1/n)).
So the “how close can we get to half of OPT?” question is answered up to the exact asymptotic scale.

Even more interesting: this result was reportedly suggested and analyzed with help from an OpenAI ChatGPT Sol prompt, then streamlined through back-and-forth discussion. Regardless of how it was generated, what matters is the math lands cleanly: combined with earlier impossibility results, the community now knows the optimal asymptotic behavior for this setting.


Why This Matters: The edge-arrival model matches how many systems actually behave

A lot of online algorithms in literature assume nodes show up one-by-one (or some convenient order). But real systems often reveal relationships first: an opportunity, compatibility, or interaction appears as a candidate edge between two entities. Think of:

  • Ads/marketplaces: a user arrives and immediately you see eligible placements (edges) to multiple advertisers.
  • Fraud detection: signals connect accounts; you decide what fraction of risk budget to allocate without waiting for future edges.
  • Network scheduling: links become available as requests/flows arrive; you allocate capacity without knowing future requests.

That’s why the edge-arrival model is practically relevant: edges arrive over time, and you must assign values instantly.

What’s “right now” significant about this research is that it doesn’t just improve a constant factor—it resolves the asymptotic optimality picture. In the era of faster AI-assisted proof exploration, that kind of “closing the gap” result is especially valuable: it tells system designers (and researchers) what the real theoretical limit is, not just a band of possibilities. It also contrasts with some earlier AI-heavy work that tends to optimize performance empirically; here, the contribution is crisp and theoretical—exactly the kind of thing you want when deploying decisions under adversarial uncertainty.


What “fractional online matching” really means (and why it beats standard matching)

In the classic matching problem on a graph, you want a set of disjoint edges (no shared endpoints). But online matching is harder: you don’t know edges in advance.

In fractional online matching, you’re allowed to split the “decision” across edges gradually. When an edge (e) arrives, you assign it a nonnegative value (x_e). The assignments must always stay within node capacity constraints:

  • For each node (v), the total assigned mass touching it must stay at most 1:
    [
    \sum{e \ni v} xe \le 1.
    ]
  • Your algorithm’s total “value” is just
    [
    ALG = \sume xe.
    ]

The performance metric is the competitive ratio: your online value should be at least a constant fraction of the hindsight-optimal value OPT.

A quick sanity check: if you just do the simplest greedy thing (commit half-heartedly in a way that respects capacities), you get a baseline competitive ratio of 1/2. The research question becomes: can we do better than 1/2, and by how much?

And there’s a key nuance: the impossibility story for this model is subtle. Previously known results show you can’t beat 1/2 by more than about O(1/n) in general (even fractional). Meanwhile, best achievable algorithms had smaller—but non-matching—gains (exponentially small). So the gap was asymptotic: the “shape” of the improvement wasn’t pinned down.


The model the paper closes: edge arrivals with an adversary’s ordering

Let’s frame the setting carefully, because it determines the bounds.

In the edge-arrival online model, the graph has (n) nodes, but edges don’t all show up at once. Instead, an adversary picks an order of edges, and the algorithm learns edges sequentially. For each arriving edge ((u,v)), it must decide instantly how much fractional mass (x_e) to assign.

How does this compare to other reveal orders? Here’s the landscape the paper describes (qualitatively):

Reveal model What was known about achievable competitive ratio
Standard greedy baseline (any setting like this) 1/2 (via a trivial guarantee)
Node-arrival model (nodes revealed sequentially) Achievable (1/2 + \Omega(1)) improvements
Edge-arrival model (edges revealed sequentially) Previously known upper/lower indicated improvements over 1/2 are tiny; prior work achieved (1/2 + \exp(-\Theta(n))), and impossibility rules out anything above (1/2 + O(1/n))
This new paper’s conclusion (fractional) (1/2 + \Theta(1/\sqrt{n}) + \Theta(1/n)) is optimal

The point of the new result is: it proves the exact asymptotic order of the best improvement beyond 1/2 under edge arrivals for fractional algorithms.


Algorithm idea: keep loads feasible, then force “slack” to move

The algorithm in the paper is conceptually clean, even if the algebra looks scary.

The basic bookkeeping: loads and residual capacities

For each node (v), define:

  • Load after processing up to the current time:
    (\ell_v), the total mass assigned to edges incident to (v).
  • Residual capacity:
    (rv = 1 - \ellv).

Initially, ( \ellv = 0) and (rv = 1). When an edge (e=(u,v)) arrives, the algorithm chooses (x_e), which decreases residual capacity of both endpoints.

A key property for the algorithm’s correctness is feasibility: residual capacities must never go negative.

The actual assignment rule (high-level intuition)

When edge (e=(u,v)) arrives, the algorithm defines (x_e) as the minimum of three quantities, but the important part is the intuition the paper uses:

After processing an edge, either one endpoint becomes saturated (load reaches 1), or the combined “structure” of the two endpoints ensures you already have at least 3/2 worth of something like combined load slack.

This dichotomy—“saturated vs. enough combined load”—is what drives the competitive ratio analysis.

Why this structure matters

If you always behave like a naive online algorithm, you tend to waste opportunities. Fractional matching gives you flexibility, but without a careful rule you might still “lock yourself out” of future edges.

The analysis uses a crucial lemma: whenever the algorithm assigns positive mass to an edge, it leaves behind at least 1/2 residual capacity total across the endpoints immediately afterward (in a precise sense). That “residual slack” is what prevents the algorithm from over-saturating too early and allows mass to shift later in a controlled way.

This is the heart of the improvement over the plain 1/2 baseline: not huge by itself, but enough to force an asymptotic gain.


The proof’s engine: comparing against a maximum matching via saturated nodes

To bound competitiveness, the paper compares the online fractional solution against a maximum (integral) matching (M) of size (|M| = OPT). The integral matching is used as a yardstick, because:

  • each matched edge ((u,v)\in M) consumes “one unit” of hindsight value per edge,
  • while the fractional algorithm’s value can be related to node loads.

A useful identity: turning edge mass into node load mass

A recurring trick is:
[
\sum{v} \ellv = 2\sum{e} xe.
]
Since each edge’s mass (x_e) contributes to both endpoints’ loads, node loads double-count edge value. This is how the paper translates the competitive ratio into a statement about the sum of loads.

The pivotal structural step: “edges in OPT must touch saturated nodes”

Define the set of saturated nodes:
[
S = {v : \ell_v = 1}.
]

The proof shows you can’t have an OPT-edge whose both endpoints are unsaturated “too often.” If an edge ((u,v)\in M) has both endpoints unsaturated, then the algorithm’s mechanism forces a strong lower bound on (\ellu + \ellv), enough to guarantee an additive improvement of at least 1/2 somewhere in the load accounting.

So the proof mostly reduces to the alternative case:

  • each edge in the maximum matching touches at least one saturated endpoint.

That implies (|S|) is large—on the order of (OPT)—because the matching edges are node-disjoint.

Why this forces extra mass to cross the cut (S \times (V\setminus S))

Once many nodes are saturated, the algorithm has a limited ability to keep sending mass inside (S) without violating capacities. The analysis tracks the “last” time an edge from (S) to within (S) gets positive mass and uses the earlier residual-slack lemmas to show something unavoidable:

A noticeable amount of mass must be assigned to edges crossing from saturated nodes to their complement.

This “mass crossing” is what yields the improved competitive ratio. The paper’s accounting ultimately leads to:
[
ALG \ge \frac{OPT}{2} + \frac{1}{4}
]
for graphs where (OPT \ge 1) (then scaling arguments handle general (OPT), producing the asymptotic form).

This is where the asymptotic tightness comes from: earlier work already showed no algorithm (fractional included) can beat 1/2 by more than about O(1/n). Meanwhile this algorithm gets exactly the missing scale, culminating in the final:
[
\textbf{Optimal competitive ratio } = \frac{1}{2} + \Theta!\left(\frac{1}{\sqrt{n}}\right) + \Theta!\left(\frac{1}{n}\right).
]


Where the asymptotic “tightness” lands—and what’s still open

The paper’s conclusion is strongest when you combine it with prior impossibility results (specifically the result from [2] mentioned in the paper). Previous work had shown you can’t achieve a competitive ratio above:
[
\frac{1}{2} + O(1/n)
]
even with fractional algorithms.

At the same time, the best known achievable improvements were previously far smaller (on the order of (\exp(-\Theta(n)))), leaving a big asymptotic gap. This note closes that gap by providing an algorithm with improvement matching the known lower-order barriers, giving the exact asymptotic order.

The remaining subtlety: constant factors in the (\Theta(1/n)) term

The paper also admits an open question: the precise constant hidden in the (\Theta(1/n)) term might not yet be fully resolved.

In their discussion, they compare:
- the algorithm’s implied constant-scale improvement of the form (1/(2n)) times a factor (appearing as 1/4n-style behavior after normalization),
- versus the impossibility bound giving something like (1/(n+2)) scale.

They leave it open whether the constant gap between those two exact expressions can be closed.

That’s a fairly technical-but-interesting “last mile” problem: it’s not about the order of magnitude anymore (that’s solved), but about the precise coefficient.


Key Takeaways

  • The optimal fractional competitive ratio for online matching under edge arrivals is now pinned down asymptotically as:
    [
    \frac{1}{2} + \Theta!\left(\frac{1}{\sqrt{n}}\right) + \Theta!\left(\frac{1}{n}\right).
    ]
  • The paper builds a simple fractional assignment rule based on tracking node loads and residual capacities, with a key structural dichotomy: after each edge, either an endpoint saturates or there’s enough combined structure to force future slack.
  • A crucial analytical mechanism is that whenever the algorithm assigns positive mass to an edge, it leaves behind residual slack across endpoints. This prevents the algorithm from getting “stuck” and is what drives the improvement over the trivial 1/2 baseline.
  • The competitive analysis compares against a maximum integral matching and uses the set of saturated nodes to show that mass must “cross” from saturated nodes to unsaturated nodes in a way that yields the additive advantage.
  • In practice, the result is relevant to systems where “relationship edges” arrive over time (marketplace opportunities, network links, compatibility edges), and you want provable guarantees under adversarial or worst-case ordering.
  • There’s still an open question about closing the constant gap inside the (\Theta(1/n)) term, but the asymptotic order is fully resolved.

If you want, I can also rewrite the core algorithm’s rule in a more intuitive “if-this-then-that” format (keeping it non-technical) so it’s easier to see how the choices prevent early over-saturation.

Sources Used

This article is a plain-English breakdown of the following peer-reviewed preprint. Read the original for full methodology and results:

Where To Go Next

Nearly Optimal Lower Bounds for ℓp Embeddings (p<2)

Bridge, Not Replacing: How Community-Enriched AI Connects with Online Coding Communities

BizFinBench.v2: Real-World Online Benchmark for Expert Finance AI

Browse the free Prompt Database or tune your own prompts with the Prompt Optimizer.

Frequently Asked Questions

Limited Time Offer

Unlock the full power of AI.

Ship better work in less time. No limits, no ads, no roadblocks.

1ST MONTH FREE Basic or Pro Plan
Code: FREE
Full AI Labs access
Unlimited Prompt Builder*
500+ Writing Assistant uses
Unlimited Humanizer
Unlimited private folders
Priority support & early releases
Cancel anytime 10,000+ members
*Fair usage applies on unlimited features to prevent abuse.