Online matrix-vector multiplication problem

From Wikipedia, the free encyclopedia
Unsolved problem in computer science:

Is there an algorithm for solving the OMv problem in time , for some constant ?

In computational complexity theory, the online matrix-vector multiplication problem (OMv) asks an online algorithm to return, at each round, the product of an matrix and a newly-arrived -dimensional vector. OMv is conjectured to require roughly cubic time. This conjectured hardness implies lower bounds on the time needed to solve various dynamic problems and is of particular interest in fine-grained complexity.[1][2][3]

Definition[edit]

In OMv, an algorithm is given an integer and an Boolean matrix . The algorithm then runs for rounds, and at each round receives an -dimensional Boolean vector and must return the product (before continuing to round ).[2]

An algorithm is said to solve OMv if, with probability at least over the randomness of the algorithm, it returns the product at every round .

Variants of OMv[edit]

The online vector-matrix-vector problem (OuMv) is a variant of OMv where the algorithm receives, at each round , two Boolean vectors and , and returns the product . This version has the benefit of returning a Boolean value at each round instead of a vector of an -dimensional Boolean vector. The hardness of OuMv is implied by the hardness of OMv.[2]

More heavily parameterized variants of OMv are also used, where the matrix is not necessarily square and where the dimension of each vector is not necessarily equal to the number of rounds.

Conjectured hardness[edit]

In 2015, Henzinger, Krinninger, Nanongkai, and Saranurak conjectured that OMv cannot be solved in "truly subcubic" time.[2] Formally, they presented the following conjecture:

For any constant , there is no -time algorithm that solves OMv with probability at least .

Algorithms for solving OMv[edit]

OMv can be solved in time by a naive algorithm that, in each of the rounds, multiplies the matrix and the new vector in time. The fastest known algorithm for OMv is implied by a result of Williams and runs in time .[4]

Implications of conjectured hardness[edit]

The OMv conjecture implies lower bounds on the time needed to solve a large class of dynamic graph problems, including reachability and connectivity, shortest path, and subgraph detection. For many of these problems, the implied lower bounds have matching upper bounds.[2] While some of these lower bounds also followed from previous conjectures (e.g., 3SUM),[5] many of the lower bounds that follow from OMv are stronger or new.

Later work showed that the OMv conjecture implies lower bounds on the time needed for subgraph counting in average-case graphs.[1]

Lower bounds from OMv[edit]

Several lower bounds for dynamic problems follow from the OMv conjecture. Examples of tight lower bounds include the following.

  • Pagh's problem on subsets from a size- universe requires linear time.[2]
  • Determining s-t reachability for a (worst-case) dynamic graph on a graph with nodes and edges requires time.[2]
  • Counting 4-cycles in average-case, dynamic graphs with nodes requires time.[1]
  • Counting length-5 paths in average-case, dynamic graphs with nodes requires time.[1]

References[edit]

  1. ^ a b c d Henzinger, Monika; Lincoln, Andrea; Saha, Barna (2022). "The Complexity of Average-Case Dynamic Subgraph Counting". ACM-SIAM Symposium on Discrete Algorithms (SODA). SODA '22: 459–498. doi:10.1137/1.9781611977073.23. ISBN 978-1-61197-707-3.
  2. ^ a b c d e f g Henzinger, Monika; Krinninger, Sebastian; Nanongkai, Danupon; Saranurak, Thatchaphol (2015). "Unifying and Strengthening Hardness for Dynamic Problems via the Online Matrix-Vector Multiplication Conjecture". Proceedings of the forty-seventh annual ACM symposium on Theory of Computing. STOC '15. Association for Computing Machinery. pp. 21–30. arXiv:1511.06773. doi:10.1145/2746539.2746609. ISBN 978-1-4503-3536-2.
  3. ^ Henzinger, Monika; Saha, Barna; Seybold, Martin P.; Ye, Christopher (2024). "On the Complexity of Algorithms with Predictions for Dynamic Graph Problems". Itcs '24. doi:10.4230/LIPIcs.ITCS.2024.62.
  4. ^ Williams, Ryan (2007-01-07). "Matrix-vector multiplication in sub-quadratic time: (some preprocessing required)". Proceedings of the ACM-SIAM Symposium on Discrete Algorithms. SODA '07. USA: 995–1001. ISBN 978-0-89871-624-5.
  5. ^ Abboud, Amir; Williams, Virginia Vassilevska (2014). "Popular Conjectures Imply Strong Lower Bounds for Dynamic Problems". 2014 IEEE 55th Annual Symposium on Foundations of Computer Science. pp. 434–443. arXiv:1402.0054. doi:10.1109/FOCS.2014.53. ISBN 978-1-4799-6517-5. {{cite book}}: |journal= ignored (help)