Space Complexity Dichotomies for Subgraph Finding Problems in the Streaming Model
Abstract
We study the space complexity of four variants of the standard subgraph finding problem in the streaming model. Specifically, given an -vertex input graph and a fixed-size pattern graph, we consider two settings: undirected simple graphs, denoted by and , and oriented graphs, denoted by and . Depending on the setting, the task is to decide whether contains as a subgraph or as an induced subgraph, or whether contains as a subgraph or as an induced subgraph. Let Sub, IndSub, Sub, and IndSub denote these four variants, respectively. An oriented graph is well-oriented if it admits a bipartition in which every arc is oriented from one part to the other, and a vertex is non-well-oriented if both its in-degree and out-degree are non-zero. For each variant, we obtain a complete dichotomy theorem, briefly summarized as follows. (1) Sub can be solved by an -pass -space algorithm if and only if is bipartite. (2) IndSub can be solved by an -pass -space algorithm if and only if . (3) Sub can be solved by a single-pass -space algorithm if and only if every connected component of is either a well-oriented bipartite graph or a tree containing at most one non-well-oriented vertex. (4) IndSub can be solved by an -pass -space algorithm if and only if the underlying undirected simple graph is a .
Cite
@article{arxiv.2602.08002,
title = {Space Complexity Dichotomies for Subgraph Finding Problems in the Streaming Model},
author = {Yu-Sheng Shih and Meng-Tsung Tsai and Yen-Chu Tsai and Ying-Sian Wu},
journal= {arXiv preprint arXiv:2602.08002},
year = {2026}
}