Witness-Sensitive Detection of Induced Diamonds

Abstract

We provide a fast witness-sensitive algorithm for detecting an induced diamond (a K4 minus an edge) in an n-vertex graph containing t induced diamonds. Our algorithm runs in time O((n2.425/t0.25+n2, nω)) with high probability, improving upon the prior state of the art (witness-oblivious) algorithm that runs in time O(nωn) [Vassilevska Williams, Wang, Williams, Yu, SODA 2014] whenever t ≥ n(3-ω)/3, where ω < 2.372 is the matrix multiplication exponent. Our key insight is that the size of a clique containing one of the triangles of an induced diamond plays a crucial role in detecting such a diamond. We say that a diamond is r-heavy if this size is at least r, and we provide a fast detection algorithm for r-heavy diamonds in O(r · (n/r)ω + (n/r)3+ nr) time. When there are no r-heavy diamonds, we provide a different fast detection algorithm in O(MM(n,n,nr/t)) time, where MM(a,b,c) denotes the time to multiply an a × b matrix by a b × c matrix, which is conditionally optimal for r=O(1). Our main technical contribution is in designing a refinement framework for sampling vectors, which allows sampling vertices for detecting diamonds in a manner that is adaptive to the structure of graphs with no r-heavy diamonds. We establish that our technique is of a wide applicability, by showing how it also allows for faster witness-sensitive algorithms for 4-SUM and for a special case of 4-cycles.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…