Regularity Lemmas and Combinatorial Algorithms
Authors:
- Nikhil BansalNBNikhil Bansal
- Ryan WilliamsRWRyan Williams
Open Access
- 1 October 2009
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 745-754
Abstract
We present new combinatorial algorithms for Boolean matrix multiplication (BMM) and preprocessing a graph to answer independent set queries. We give the first asymptotic improvements on combinatorial algorithms for dense BMM in many years, improving on the "Four Russians'' O(n3/(w log n)) bound for machine models with word size w. (For a pointer machine, we can set w = log n.) The algorithms utilize notions from Regularity Lemmas for graphs in a novel way. 1) We give two randomized combinatorial algorithms for BMM. The first algorithm is essentially a reduction from BMM to the Triangle Removal Lemma}. The best known bounds for the Triangle Removal Lemma only imply an O((n3 log ?)/(?w log n)\right) time algorithm for BMM where ? = (log*n)? for some ? > 0, but improvements on the Triangle Removal Lemma would yield corresponding runtime improvements. The second algorithm applies the Weak Regularity Lemma of Frieze and Kannan along with several information compression ideas, running in O(n3 (log log n)2/(log n)9/4) time with probability exponentially close to 1. When w ? log n, it can be implemented in O(n3 (log log n)2/(w log n)7/6)) time. Our results immediately imply improved combinatorial methods for CFG parsing, detecting triangle-freeness, and transitive closure. 2)Using Weak Regularity, we also give an algorithm for answering queries of the form is S ? V an independent set? in a graph. Improving on prior work, we show how to randomly preprocess a graph in O(n2+?}) time (for all ? > 0) so that with high probability, all subsequent batches of log n independent set queries can be answered deterministically in O(n2 (log log n)2/((log n)5/4)) time. When w ? log n, w queries can be answered in O(n2 (log log n)2/((log n)7/6))\right) time. In addition to its nice applications, this problem is interesting in that it is not known how to do better than O(n2) using "algebraic'' methods.Keywords
This publication has 38 references indexed in Scilit:
- Recursive array layouts and fast matrix multiplicationIEEE Transactions on Parallel and Distributed Systems, 2002
- Fast context-free grammar parsing requires fast boolean matrix multiplicationJournal of the ACM, 2002
- Quick Approximation to Matrices and ApplicationsCombinatorica, 1999
- On a class of O(n2) problems in computational geometryComputational Geometry, 1995
- Clique Partitions, Graph Compression and Speeding-Up AlgorithmsJournal of Computer and System Sciences, 1995
- The Algorithmic Aspects of the Regularity LemmaJournal of Algorithms, 1994
- Matrix multiplication via arithmetic progressionsJournal of Symbolic Computation, 1990
- A practical algorithm for boolean matrix multiplicationInformation Processing Letters, 1988
- The four Russians' algorithm for boolean matrix multiplication is optimal in its classACM SIGACT News, 1976
- A matrix reduction problemMathematics of Computation, 1966