Space Complexity Dichotomies for Subgraph Finding Problems in the Streaming Model
@misc{shih2026space,
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},
year = {2026},
eprint = {2602.08002},
archivePrefix = {arXiv},
primaryClass = {cs.DS},
url = {https://arxiv.org/abs/2602.08002}
}
Shih, Y.-S., Tsai, M.-T., Tsai, Y.-C., & Wu, Y.-S. (2026). Space Complexity Dichotomies for Subgraph Finding Problems in the Streaming Model [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2602.08002
SHIH YS, TSAI MT, TSAI YC, et al. Space Complexity Dichotomies for Subgraph Finding Problems in the Streaming Model[EB/OL]. (2026-02-08)[2026-11-29]. https://arxiv.org/abs/2602.08002.
Abstract
We study the space complexity of four variants of the standard subgraph finding problem in the streaming model. Specifically, given an n-vertex input graph and a fixed pattern graph on at least three vertices, we consider two settings: undirected simple graphs, denoted by G and H, and oriented graphs, denoted by ěcG and ěcH. Depending on the setting, the task is to decide whether G contains H as a subgraph or as an induced subgraph, or whether ěcG contains ěcH as a subgraph or as an induced subgraph. Let Sub(H), IndSub(H), Sub(ěcH), and IndSub(ěcH) denote these four variants, respectively. An oriented graph is well-oriented if it admits a bipartition in which every arc is oriented from the same part to the other, and a vertex is internal if both its in-degree and out-degree are non-zero. For each variant, we obtain a complete dichotomy theorem, briefly summarized as follows. beginitemize item Sub(H) can be solved by an tildeO(1)-pass n^2-Omega(1)-space algorithm if and only if H is bipartite. item IndSub(H) can be solved by an tildeO(1)-pass n^2-Omega(1)-space algorithm if and only if H is P_3, P_4, or co-P_3. item Sub(ěcH) can be solved by a deterministic single-pass n^2-Omega(1)-space algorithm if and only if every connected component of ěc H is either a well-oriented bipartite graph or a tree containing at most one internal vertex. item IndSub(ěcH) can be solved by an tildeO(1)-pass n^2-Omega(1)-space algorithm if and only if the underlying undirected simple graph H is a co-P_3. enditemize All our upper bounds are attained by deterministic algorithms that find a copy, whereas all our lower bounds hold even for randomized algorithms that only detect one.S