2013SIAM Journal on Discrete MathematicsRequires access

Counting and Detecting Small Subgraphs via Equations

Mirosław Kowaluk, Andrzej Lingas, Eva-Marta Lundell

Open publisher page 43 citations

Abstract

We present a general technique for detecting and counting small subgraphs. It consists of forming special linear combinations of the numbers of occurrences of different induced subgraphs of fixed size in a graph. These combinations can be efficiently computed by rectangular matrix multiplication. Our two main results utilizing the technique are as follows. Let $H$ be a fixed graph with $k$ vertices and an independent set of size $s.$ 1. Detecting if an $n$-vertex graph contains a (not necessarily induced) subgraph isomorphic to $H$ can be done in time $O(n^{\omega(\lceil (k-s)/2 \rceil, 1, \lfloor (k-s)/2 \rfloor )})$, where $\omega (p,q,r)$ is the exponent of fast arithmetic matrix multiplication of an $n^p\times n^q$ matrix by an $n^q\times n^r$ matrix. 2. When $s=2,$ counting the number of (not necessarily induced) subgraphs isomorphic to $H$ can be done in the same time, i.e., in time $O(n^{\omega(\lceil (k-2)/2 \rceil, 1, \lfloor (k-2)/2 \rfloor )}).$ It follows in particular that we can count the number of subgraphs isomorphic to any $H$ on four vertices that is not $K_4$ in time $O(n^{\omega})$, where $\omega =\omega (1,1,1)$ is known to be smaller than 2.373. Similarly, we can count the number of subgraphs isomorphic to any $H$ on five vertices that is not $K_5$ in time $O(n^{\omega(2,1,1)}),$ where $\omega(2,1,1)$ is known to be smaller than 3.257. Finally, we derive input-sensitive variants of our time upper bounds. They are partially expressed in terms of the number $m$ of edges of the input graph and do not rely on fast matrix multiplication.

About this research paper

What this paper is about

We present a general technique for detecting and counting small subgraphs. It consists of forming special linear combinations of the numbers of occurrences of different induced subgraphs of fixed size in a graph. These combinations can be efficiently computed by rectangular matrix multiplication. Our two main results utilizing the technique are as follows. Let $H$ be a fixed graph with $k$ vertices and an independent set of size $s.$ 1. Detecting if an $n$-vertex graph contains a (not necessarily induced) subgraph isomorphic to $H$ can be done in time $O(n^{\omega(\lceil (k-s)/2 \rceil, 1, \lfloor (k-s)/2 \rfloor )})$, where $\omega (p,q,r)$ is the exponent of fast arithmetic matrix multiplication of an $n^p\times n^q$ matrix by an $n^q\times n^r$ matrix. 2. When $s=2,$ counting the number of (not necessarily induced) subgraphs isomorphic to $H$ can be done in the same time, i.e., in time $O(n^{\omega(\lceil (k-2)/2 \rceil, 1, \lfloor (k-2)/2 \rfloor )}).$ It follows in particular that we can count the number of subgraphs isomorphic to any $H$ on four vertices that is not $K_4$ in time $O(n^{\omega})$, where $\omega =\omega (1,1,1)$ is known to be smaller than 2.373. Similarly, we can count the number of subgraphs isomorphic to any $H$ on five vertices that is not $K_5$ in time $O(n^{\omega(2,1,1)}),$ where $\omega(2,1,1)$ is known to be smaller than 3.257. Finally, we derive input-sensitive variants of our time upper bounds. They are partially expressed in terms of the number $m$ of edges of the input graph and do not rely on fast matrix multiplication.

Why it matters

OpenAlex reports 43 citations for this work. Citation counts describe recorded attention and do not establish research quality.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

We present a general technique for detecting and counting small subgraphs. It consists of forming special linear combinations of the numbers of occurrences of different induced subgraphs of fixed size in a graph. These combinations can be efficiently computed by rectangular matrix multiplication. Our two main results utilizing the technique are as follows. Let $H$ be a fixed graph with $k$ vertices and an independent set of size $s.$ 1. Detecting if an $n$-vertex graph contains a (not necessarily induced) subgraph isomorphic to $H$ can be done in time $O(n^{\omega(\lceil (k-s)/2 \rceil, 1, \lfloor (k-s)/2 \rfloor )})$, where $\omega (p,q,r)$ is the exponent of fast arithmetic matrix multiplication of an $n^p\times n^q$ matrix by an $n^q\times n^r$ matrix. 2. When $s=2,$ counting the number of (not necessarily induced) subgraphs isomorphic to $H$ can be done in the same time, i.e., in time $O(n^{\omega(\lceil (k-2)/2 \rceil, 1, \lfloor (k-2)/2 \rfloor )}).$ It follows in particular that we can count the number of subgraphs isomorphic to any $H$ on four vertices that is not $K_4$ in time $O(n^{\omega})$, where $\omega =\omega (1,1,1)$ is known to be smaller than 2.373. Similarly, we can count the number of subgraphs isomorphic to any $H$ on five vertices that is not $K_5$ in time $O(n^{\omega(2,1,1)}),$ where $\omega(2,1,1)$ is known to be smaller than 3.257. Finally, we derive input-sensitive variants of our time upper bounds. They are partially expressed in terms of the number $m$ of edges of the input graph and do not rely on fast matrix multiplication.

Key concepts: Combinatorics, Omega, Mathematics, Exponent, Vertex (graph theory), Matrix multiplication, Matrix (chemical analysis), Graph

Related papers

Back to paper searchBrowse research topicsOriginal source
Counting and Detecting Small Subgraphs via Equations — Research Paper | ScholarLens