Collision detection needs only O(log n) overhead even with structural backdoors
An algorithm can find collisions with at most O(q log n) queries whenever a structure-aware algorithm needs q ≤ O(√(n/ log n)) queries
Crypto & theory arXiv 29 Sep 2026 Method Theory
Published as “Collision Detection is Instance $\widetilde{O}$ptimal Under the Birthday Threshold”
Why it matters
In the query model, purely structural knowledge cannot serve as a backdoor for faster collision finding; any advantage is limited to a logarithmic factor.
Summary
The paper shows that any structure-aware algorithm that can find a collision with q ≤ O(p n / log n) queries can be matched by a single public algorithm that finds a collision with at most O(q log n) queries, i.e., only a logarithmic overhead. This overhead is provably optimal, matching a known Ω(log n) lower bound. The result holds for functions where the structure-aware query complexity is below the birthday threshold, and the proof is purely theoretical with no empirical data.
What they found 2
- A public algorithm A finds a collision with O(q log n) queries whenever a structure-aware algorithm can do it with q ≤ O(p n/ log n) queries.
“Specifically, we prove the existence of a single algorithm A that, for any input f in which a structure-aware algorithm can find a collision using q ≤O( p n/ log n) queries in expectation, A can find a collision in at most O(q log n) queries.”
- The O(log n) multiplicative overhead is tight, matching a known lower bound.
“The O(log n) multiplicative overhead is tight, matching a lower bound of Ben-Eliezer, Grossman, and Naor [ICALP’25]”
Caveats 3
- The result concerns query complexity only; it does not address trapdoor knowledge tied to the labeling.
- It applies only below the birthday threshold (i.e., when the structure-aware query complexity ≤ c p n/ log n).
- The proof relies on a no-merging condition for walks, which holds only in the sub-√n regime.
What’s new here 3
- Provides an (almost) instance-optimal algorithm for collision detection in the sub-√n query regime.
- Shows the O(log n) overhead is tight, matching a prior lower bound.
- Introduces a refined probabilistic coupling and a “oldest-first” normal form to handle the unlabeled instance-optimality model.