ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: Fully Dynamic Euclidean Bi-Chromatic Matching in Sublinear Update Time — Problem 2: The printed update pseudocode violates its excess invariant

Original paper: Gramoz Goranci; Peter Kiss; Neel Patel; Martin Seybold; Eva Szilagyi; Da Wei Zheng. Fully Dynamic Euclidean Bi-Chromatic Matching in Sublinear Update Time. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/goranci25a.html
Source version: Published ICML 2025 proceedings PDF (PMLR 267)
Source location: Pages 18-19 Algorithms 1 and 3 Page 23 Algorithm 5 lines 39-47

Question: What does the recorded analysis establish about “The printed update pseudocode violates its excess invariant”?
Bounded finding:
A leaf with one blue point receives one red; post-update eta=0 leads to excess containing both colors and no match. Line47 uses union instead of removal. Algorithm1 decrements eta after red insertion into blue-excess cell. Algorithm3 calls insertion during deletion. Version scope: Frozen PDF only for these literal errors. Changing to pre-update eta avoids the first branch failure but not the union error. The invariant prose and code _modify_recursive support a corrected endpoint-based procedure. Pseudocode transcription errors rather than the implemented matching logic.

Recorded check:
Algorithms 1, 3 and 5 on pages 18–19 and 23 require coordinated corrections, rather than literal implementation.
For Algorithm 5, take a non-marginal leaf containing one blue point and no red points. Insert one red point. Line 41 recomputes the imbalance as zero; the \(\eta\geq0\) branch then adds the red point to the old blue excess set without matching them. A balanced leaf is left with a bichromatic excess set and no match. This contradicts the invariant used in Appendix D.2. If the intended branch uses the old imbalance, the other branch still uses \(E_v\leftarrow E_v\cup\{b\}\) at line 47, where removal is needed after matching \(b\).
Algorithm 1 decreases the imbalance after inserting red into a blue-excess cell, although \(|A|-|B|\) increases by one. Algorithm 3 recursively calls Insert-Update during deletion. Its leaf case can add the deleted point itself to the excess set. These are explicit specification failures. The repair is to state pre/post-update imbalance consistently, remove points when they are consumed, forward only remaining endpoints, and recurse with the correct operation. The release’s `_modify_recursive`, lines 511–552, follows endpoint changes and calls removal functions instead; no identical implementation failure is inferred. The finding is Major for the published algorithm: the correctness proof of Theorem 1.1 on page 22 assumes precisely the post-update monochromatic-excess property violated by this trace. A local example can be embedded in a globally balanced pair update by placing the other new point in a separate cell. The invariant prose and later code are useful evidence for an intended repair, but they do not prove that the printed procedures preserve the claimed state. Corrected procedures and a case-complete invariant proof are required; this does not establish failure of the later implementation.

Case-wide limitations:
- 0346-F1 — Counterevidence: Claims E.1-E.2 provide the standard repair idea. Released C++ lines 313-350 uses directed residual transitions and exposed destinations, including direct pairing. Independent corrected-network checks pass on 100 enumerated small instances.
- 0346-F2 — Counterevidence: Changing to pre-update eta avoids the first branch failure but not the union error. The invariant prose and code _modify_recursive support a corrected endpoint-based procedure.
- 0346-F3 — Counterevidence: Equation5 uses the corrected multiplication. Corrected constants preserve expected O(1/epsilon) route.
- 0346-F4 — Counterevidence: Historical experiments may have used another revision or timer. Matching costs are maintained using actual distances.
- Counterevidence: Correct directed forward/reverse residual graph repairs standard extension; C++313-350 uses such transitions and exposed endpoints. p=n^(epsilon/10) gives exponent slack, so headline existence theorem is not disproved.
- Counterevidence: C++511-552 uses endpoint deltas/removals and intended prose states correct invariant; no same implementation failure established.
- Counterevidence: Equation5 uses the correct multiplication; derived same-bound inequality survives under original fixed-instance assumptions. A small-lambda example is not needed to claim the displayed Big-O statement false under all grid restrictions.
- Counterevidence: Historical benchmark may use another revision. Actual point-distance costs are maintained separately.
- Limits: No author code or benchmark executed, no universal release correctness or adaptive guarantee. Initial complete coverage and original figure inspections reused without claiming repeated full audit.
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.
Source problem ID: p2
Source report index: 2

Review status: Independent review pending
Case: icml2025-0346-fully-dynamic-euclidean-bi-chromatic-matching-in-sublinear-update
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0346-fully-dynamic-euclidean-bi-chromatic-matching-in-sublinear-update.html#problem-2
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0346-fully-dynamic-euclidean-bi-chromatic-matching-in-sublinear-update/records/icml2025-0346-fully-dynamic-euclidean-bi-chromatic-matching-in-sublinear-update.r1.json
Canonical record SHA-256: 1a1ffb693117eef4af63cdbc4d28d7723094d6f56cac6549a5386e908e7c51f4
The page follows the latest revision; the versioned record identifies this snapshot.

Analysis citation:
Minhao Liu. ELVIA analysis of: Fully Dynamic Euclidean Bi-Chromatic Matching in Sublinear Update Time — Problem 2: The printed update pseudocode violates its excess invariant. ELVIA, 2026. https://elvia-atlas.org/atlas/cases/icml2025-0346-fully-dynamic-euclidean-bi-chromatic-matching-in-sublinear-update.html#problem-2
Case icml2025-0346-fully-dynamic-euclidean-bi-chromatic-matching-in-sublinear-update; revision 1; Independent review pending. Assessment is limited to the inspected claims. Versioned record: https://elvia-atlas.org/atlas/evidence/icml2025-0346-fully-dynamic-euclidean-bi-chromatic-matching-in-sublinear-update/records/icml2025-0346-fully-dynamic-euclidean-bi-chromatic-matching-in-sublinear-update.r1.json

Claim in the source (paraphrase):
Printed insertion and deletion pseudocode preserves monochromatic excess.
Non-marginal leaf and literal post-update imbalance as line41 specifies.

Full finding analysis:
Algorithms 1, 3 and 5 on pages 18–19 and 23 require coordinated corrections, rather than literal implementation.
For Algorithm 5, take a non-marginal leaf containing one blue point and no red points. Insert one red point. Line 41 recomputes the imbalance as zero; the \(\eta\geq0\) branch then adds the red point to the old blue excess set without matching them. A balanced leaf is left with a bichromatic excess set and no match. This contradicts the invariant used in Appendix D.2. If the intended branch uses the old imbalance, the other branch still uses \(E_v\leftarrow E_v\cup\{b\}\) at line 47, where removal is needed after matching \(b\).
Algorithm 1 decreases the imbalance after inserting red into a blue-excess cell, although \(|A|-|B|\) increases by one. Algorithm 3 recursively calls Insert-Update during deletion. Its leaf case can add the deleted point itself to the excess set. These are explicit specification failures. The repair is to state pre/post-update imbalance consistently, remove points when they are consumed, forward only remaining endpoints, and recurse with the correct operation. The release’s `_modify_recursive`, lines 511–552, follows endpoint changes and calls removal functions instead; no identical implementation failure is inferred. The finding is Major for the published algorithm: the correctness proof of Theorem 1.1 on page 22 assumes precisely the post-update monochromatic-excess property violated by this trace. A local example can be embedded in a globally balanced pair update by placing the other new point in a separate cell. The invariant prose and later code are useful evidence for an intended repair, but they do not prove that the printed procedures preserve the claimed state. Corrected procedures and a case-complete invariant proof are required; this does not establish failure of the later implementation.

Finding and scope:
A leaf with one blue point receives one red; post-update eta=0 leads to excess containing both colors and no match. Line47 uses union instead of removal. Algorithm1 decrements eta after red insertion into blue-excess cell. Algorithm3 calls insertion during deletion. Version scope: Frozen PDF only for these literal errors. Changing to pre-update eta avoids the first branch failure but not the union error. The invariant prose and code _modify_recursive support a corrected endpoint-based procedure. Pseudocode transcription errors rather than the implemented matching logic.

Recorded correction and verification scope:
Reconcile pre/post imbalance, matching consumption and deletion recursion.

Displayed problem statement:
Printed insertion and deletion pseudocode preserves monochromatic excess.
Non-marginal leaf and literal post-update imbalance as line41 specifies.

Complete retained report:

Abstract: The hierarchical matching approach has a plausible repair path preserving its headline asymptotic tradeoff, but the published augmentation construction, its local complexity, and several update instructions require correction. The released implementation supplies useful counterevidence to a claim of a broken matching engine: it uses directed residual transitions and records actual point distances. Its deletion timing, however, is stale. The augmentation specification and the update invariant are Major defects in the published proof of the main dynamic theorem. The crossing calculation and released timing instrumentation remain bounded Minor findings. A repair may preserve the headline theorem, but it is not supplied by the published argument. The lower bound must state the representation and recourse model it needs. All 25 physical PDF pages and all five original figures were inspected, together with the complete small source release. Only reviewer-written finite checks were executed. Scientific adjudication remains pending.
Author: AI-assisted technical review
Title: Technical Verification of Fully Dynamic Euclidean Bi-Chromatic Matching in Sublinear Update Time
# Identity, sources, and coverage
The reviewed paper is Gramoz Goranci, Peter Kiss, Neel Patel, Martin P. Seybold, Eva Szilagyi, and David Zheng, Fully Dynamic Euclidean Bi-Chromatic Matching in Sublinear Update Time, ICML 2025, I25-43715 (0346) [paper]. The source is the frozen PDF.
The complete 25-page paper, including appendices A–F, was read. Locations below are physical PDF pages. Figures 1–5 and the relevant proof and pseudocode pages were actually viewed. All 14 acquired packet files passed their frozen manifest hashes.
The author repository [code] was read at commit `6fa0ce9e2eaac5187a513f165c2959cc0b6a288a`, dated 21 November 2025: all 747 lines of `src/dyneucmat.cpp`, the three input-generator scripts, README, build script and CMake file. This later public snapshot is not assumed to be the version that produced the paper’s experiments. No author program, build, benchmark, or data generator was run.
# The algorithmic argument and checks that survive
Each cell matches a balanced subset of the points forwarded by its children and forwards a monochromatic excess set. At leaves the matching is exact. Internal cells aggregate excess points to at most \(p^2\) child centers, solve transportation there, and expand the assignment to actual points. The random-shift analysis charges cross-cell edges of an optimal matching at each level; \(\log_p U=O(1/\epsilon)\) for polynomial spread and the chosen \(p\).
The static theorem’s high-probability wording is not, by itself, an error. Appendix C, page 14, explicitly repeats independent shifts \(O(\log n)\) times and selects a minimum-cost solution. The exponent slack in \(p=n^{\epsilon/10}\) can absorb this amplification for fixed \(\epsilon\). The dynamic theorem states an expectation. A guarantee against an adaptive adversary that observes the shift or output is not established by the fixed-instance crossing calculation; this scope should be explicit.
Claims E.1–E.2 contain the standard optimal-matching extension idea. For an optimal old matching, a shortest alternating augmenting path produces an optimal extension: the other components of the symmetric difference are nonnegative-cost alternating cycles. Deleting matched pairs leaves an optimal restriction on the remaining endpoints, so the proposed removal-and-reinsertion reduction is reasonable when its distinct-endpoint cases are handled. Independent enumeration of 100 instances with zero to four old pairs confirmed the cost identity for the corrected directed residual network, to numerical error below \(10^{-9}\). These small tests support that repair; they do not prove all dynamic invariants or runtime bounds.
# Confirmed corrections
Problem 1 (The written augmentation graph and its complexity are incorrect).  Appendix E.1, page 21 (the lemma heading prints A.4, while the surrounding text and page 22 refer to E.4), does not specify a valid residual network as written, and its \(O(p^3)\) bound in Lemma E.4 does not follow from the graph it constructs.
First, the new vertices \(x',y'\) are connected only to old opposite-color centers. Their direct edge is missing. With an empty old matching, two newly inserted opposite-color points must be matched to each other, but the specified graph has no \(x'\)–\(y'\) path. This case is allowed by the lemma and arises naturally when a cell first obtains both colors.
Second, a single undirected signed edge per pair of centers does not enforce alternating paths. A transportation residual network needs forward red-to-blue arcs of positive distance and reverse blue-to-red arcs, of negative distance, wherever positive flow can be removed. The forward capacity is not lost merely because the same center pair already carries some flow. The text instead assigns either a positive or negative weight according to whether the pair is used. Interpreting an undirected negative edge as two directed arcs also creates a negative two-cycle. The endpoint paragraph additionally copies \(x'\) where \(y'\) is intended.
Third, with \(k=p^2\) centers and half of each color, the constructed complete bipartite graph has \[|V|=\Theta(p^2),\qquad |E|=\Theta(p^4).\] Explicit construction alone can take \(\Theta(p^4)\), and the quoted Bellman–Ford bound is \(O(p^6)\), not \(O(p^3)\). For example, \(p=16\) gives 256 centers and 16,384 old bipartite edges, already exceeding \(p^3=4096\).
These defects are Major because the proof of Theorem 1.1 on physical page 22 explicitly invokes this augmentation routine for its update time and correctness. The empty-state example invalidates the specified subroutine on an admitted state, and the stated graph counts invalidate its cited runtime derivation. The intended directed residual algorithm is a credible repair, and the headline exponent might survive: \(p^6=n^{0.6\epsilon}\) for the stated \(p\), while even an \(O(p^2)\)-node rebuild has exponent below the reserved \(p^{10}\) scale. That slack does not validate the present lemma. A replacement network, proof of its augmentation property, and complete update/rebuild accounting are required. Neither the existence of an algorithm with the headline tradeoff nor the inspected implementation is refuted by this finding.
The inspected C++ is counterevidence to a broader accusation. Lines 313–350 use directed positive forward transitions and negative backward transitions along matched edges. An opposite-color exposed point is a candidate destination, including the direct new-pair case. Lines 357–408 recover the alternating path. Thus the literal missing-edge/direction defect in the paper is not established in this implementation.
Problem 2 (The printed update pseudocode violates its excess invariant).  Algorithms 1, 3 and 5 on pages 18–19 and 23 require coordinated corrections, rather than literal implementation.
For Algorithm 5, take a non-marginal leaf containing one blue point and no red points. Insert one red point. Line 41 recomputes the imbalance as zero; the \(\eta\geq0\) branch then adds the red point to the old blue excess set without matching them. A balanced leaf is left with a bichromatic excess set and no match. This contradicts the invariant used in Appendix D.2. If the intended branch uses the old imbalance, the other branch still uses \(E_v\leftarrow E_v\cup\{b\}\) at line 47, where removal is needed after matching \(b\).
Algorithm 1 decreases the imbalance after inserting red into a blue-excess cell, although \(|A|-|B|\) increases by one. Algorithm 3 recursively calls Insert-Update during deletion. Its leaf case can add the deleted point itself to the excess set. These are explicit specification failures. The repair is to state pre/post-update imbalance consistently, remove points when they are consumed, forward only remaining endpoints, and recurse with the correct operation. The release’s `_modify_recursive`, lines 511–552, follows endpoint changes and calls removal functions instead; no identical implementation failure is inferred. The finding is Major for the published algorithm: the correctness proof of Theorem 1.1 on page 22 assumes precisely the post-update monochromatic-excess property violated by this trace. A local example can be embedded in a globally balanced pair update by placing the other new point in a separate cell. The invariant prose and later code are useful evidence for an intended repair, but they do not prove that the printed procedures preserve the claimed state. Corrected procedures and a case-complete invariant proof are required; this does not establish failure of the later implementation.
Problem 3 (The crossing estimate has the wrong scale factor).  Claim C.6, page 16, divides expected crossings by cell width; the subsequent cost proof needs multiplication.
For a fixed horizontal edge of length \(L\leq\lambda\) under a uniform grid shift of width \(\lambda\), the crossing probability is exactly \(L/\lambda\). Thus its contribution satisfies \[\lambda\,\mathbb E[\operatorname{Cross}]=L,
 \qquad \mathbb E[\operatorname{Cross}]/\lambda=L/\lambda^2.\] The correct upper bound is \(\lambda_\ell\mathbb E[\operatorname{Cross}(\mu^*,\ell)]=O(c(\mu^*))\), using an upper crossing-probability bound. The printed proof instead writes an \(\Omega(L/\lambda)\) probability and says it contributes \(L\). Long edges also require truncating a probability bound at one. Equation (5), page 17, is consistent with the corrected identity.
The bad-point counting in Claim C.3 also needs care: if half of \(B_\ell\) bad points are incident to crossing edges, an edge may have two such endpoints, giving \(B_\ell\leq4\operatorname{Cross}\) from that argument. Each swap eliminates at least two bad points and costs at most \(4\lambda_\ell\), which recovers the stated constant 8. The displayed \(B_\ell\leq\operatorname{Cross}/2\) on page 16 has its relationship reversed. These are Minor local proof errors: the exact uniform-shift upper bound and endpoint accounting above establish the inequality actually used in equation (5), under the same fixed-instance assumptions, with the same expected \(O(1/\epsilon)\) approximation bound. The classification rests on this verified surviving argument, not on the ease of editing the formulas.
Problem 4 (Deletion rows in the released logger reuse an old runtime).  The public snapshot does not measure deletion update time in its reported `timeNS` column.
Insertion assigns `statsUpdate.time` inside lines 561–565. Deletion, lines 570–576, never assigns it. The per-operation reset at lines 64–67 resets only changed-edge and iteration counters, and each operation then prints the statistics at line 723. Symbolically, an insertion assigning time 123 followed by any deletion produces another row with time 123, regardless of the deletion duration. If no insertion has set it, the initial value is \(-1\). Also, insertion’s timer starts after point storage and tree traversal in `insert`, which is called at line 557 before the timer at line 561, so it measures the recursive matching modification, not the complete exposed insertion operation.
This is a confirmed Minor measurement defect in the release, relevant to reconstructing the fully dynamic benchmark of Figure 5. It does not establish that the historical figure used this logger or has a particular error size. Full-operation timing should bracket both insertion and deletion consistently, and the historical experimental version and raw logs should be supplied. The exact-baseline branch at lines 711–713 is only a TODO in this snapshot; that is a reproduction limit, not evidence that the paper’s separately reported exact baseline was never computed.
# Scope questions and empirical limits
The lower bound in Theorem F.1, pages 24–25, converts \(o(n)\) update time into \(o(n)\) changed edges on some update. That conversion needs an explicit-maintenance or charged-recourse model. On its alternating-line construction, the exact matching can instead be represented by the left endpoint, right endpoint, and the rule “pair consecutive positions from the left.” Each insertion changes two stored endpoints; the exact cost is \(n+i\), and enumerating the full matching later costs \(O(n+i)\). The independent check confirms this rule for the displayed sequence. This does not disprove a general two-dimensional lower bound. It shows why the given proof does not cover unrestricted implicit representations or cost-only queries. Under explicit edge maintenance, the recourse argument is persuasive; the theorem and introductory claim should state that restriction. This is recorded as a model-scope question rather than an unconditional refutation.
Figures 2–5 were checked against their captions and prose. Figure 3 includes exact comparisons only through roughly 2000 samples; Figure 4 extends approximate curves to one million but has no exact comparator. Consequently the less-than-two empirical approximation claim is directly supported only where an exact comparator is available, not certified by visual convergence at a million points. Figure 5 depicts distribution drift and update times, but no repeated-run uncertainty is supplied. The source packet lacks the historical taxi preprocessing, raw benchmark outputs, complete exact-baseline implementation and plotting pipeline. These numerical results were not independently reproduced.
The program’s point manager adds and subtracts actual point distances when matching and unmatching (138–156). Thus the basic algorithm’s center-cost estimate should not be confused with the implementation’s reported total matching cost. The basic prose explicitly describes an estimate on page 6; equality between center cost and expanded matching cost is not assumed in this review.
# Disposition and evidence
Recommendation: Major revision, driven by the invalid augmentation specification and post-update invariant on which the main dynamic theorem relies. The crossing calculation, timing instrumentation, and theorem-scope qualifications also require the bounded corrections stated above. No quota was applied. No conclusion about historical experiment contamination, universal correctness of the implementation, or an adaptive-adversary guarantee is made.
Task , token ; selected model , effort . The predecessor is preserved. Focused independent AI verification corrected severity using the actual theorem dependencies and checked the counterevidence; it does not certify a replacement algorithm or historical experiments. Scientific adjudication is pending and human reviews are empty.
2 G. Goranci et al., Fully Dynamic Euclidean Bi-Chromatic Matching in Sublinear Update Time, ICML 2025. https://proceedings.mlr.press/v267/goranci25a.html. Author repository, pinned source snapshot. https://github.com/Zhengdw/dyn-euc-match/tree/6fa0ce9e2eaac5187a513f165c2959cc0b6a288a.

Source PDF SHA-256: cccfe262ad15b8bff45b91f628fff6d3b2ab43a3b432612eda7440c3819de3c5
Repair verification: pending
Author adoption: not_requested