Verifying the Product of Generalized Boolean Matrix Multiplication and Its Applications to Detect Small Subgraphs

Wing Kai Hon*, Meng Tsung Tsai, Hung Lung Wang

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Given three n by n integer matrices A, B, and P, determining whether the product AB equals P can be done in randomized O(n2) time by Freivalds’ algorithm. In this paper, we consider some generalized Boolean matrix multiplication AB= Pf, which is defined to be setting the entry pij of Pf for i, j∈ [ n] as the value of a given function f of the entries on the ith row of A and jth column of B. We show that, for a family of functions f, it takes deterministic O(n2) time to verify whether the generalized product Pf contains only False entries. Then, we present how to apply such a result to detect small subgraphs efficiently, including: Detect any designated colored 4-cycle in randomized O(n2) time for n-node k-edge-colored (for k= O(1 ) ) complete graphs with maximum color degree at most 2 (including 1-edge-colored general graphs), which unifies several independently discovered algorithms each corresponding to a customized Ramsey-type theorem. As a complementary result, we show that if the maximum color degree is at least 3, any combinatorial algorithm that solves this problem requires Ω (n3 - ε) time for any constant ε> 0, assuming the hardness of triangle detecting.Detect any designated 4-node induced subgraph in randomized O(n2) time for n-node triangle-free graphs. In contrast, the known best algorithm for this problem on general graphs needs triangle time.

Original languageEnglish
Title of host publicationAlgorithms and Data Structures - 18th International Symposium, WADS 2023, Proceedings
EditorsPat Morin, Subhash Suri
PublisherSpringer Science and Business Media Deutschland GmbH
Pages507-520
Number of pages14
ISBN (Print)9783031389054
DOIs
Publication statusPublished - 2023
Event18th International Symposium on Algorithms and Data Structures, WADS 2023 - Montreal, Canada
Duration: 2023 Jul 312023 Aug 2

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14079 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference18th International Symposium on Algorithms and Data Structures, WADS 2023
Country/TerritoryCanada
CityMontreal
Period2023/07/312023/08/02

Keywords

  • Colored 4-cycles
  • Ramsey-type Theorems
  • Small Induced Subgraphs

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Verifying the Product of Generalized Boolean Matrix Multiplication and Its Applications to Detect Small Subgraphs'. Together they form a unique fingerprint.

Cite this