Graphs cannot be indexed in polynomial time for sub-quadratic time string matching, unless SETH fails

被引:1
|
作者
Equi, Massimo [1 ]
Makinen, Veli [1 ]
Tomescu, Alexandru I. [1 ]
机构
[1] Univ Helsinki, Dept Comp Sci, Pieteri Kalmin Katu 5, Helsinki 00560, Finland
基金
欧盟地平线“2020”; 芬兰科学院; 欧洲研究理事会;
关键词
Exact pattern matching; Indexing; Orthogonal vectors; Complexity theory; Reductions; Lower bounds; Edit distance; Graph query; Frechet distance; Subtree isomorphism; DISTANCE; ALGORITHM;
D O I
10.1016/j.tcs.2023.114128
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The string matching problem on a node-labeled graph G = (V, E) asks whether a given pattern string P equals the concatenation of node labels of some path in G. This is a basic primitive in various problems in bioinformatics, graph databases, or networks, and it was recently proven that solving it in time O(|E|(1-epsilon)|P|) or O(|E||P|(1-epsilon)) is hard under OVH, the Orthogonal Vectors Hypothesis, and thus under SETH, the Strong Exponential Time Hypothesis (Equi et al., 2019 [11]). We consider its indexed version, where the graph is indexed to support string queries. We show that, under OVH, no polynomial-time index of the graph performed in time O(|E|(alpha)) can support querying P in time O(|P| + |E|(delta)|P|(beta)), with either delta < 1 or beta < 1. We present our techniques as a general framework, introducing the notion of linear independent-components (lic) reduction, from which we derive our result. This allows us to also translate the quadratic conditional lower bound of Backurs and Indyk (2015) [48] for the problem of matching a query string inside a text, under edit distance, into an analogous tight quadratic lower bound for its indexed version. This improves the recent result of Cohen-Addad, Feuilloley and Starikovskaya (2019) [49], with a slightly different boundary condition. We also apply our technique to obtain the first quadratic indexing lower bounds for Frechet distance and rooted unlabeled subtree-isomorphism queries. (c) 2023 The Author(s). Published by Elsevier B.V. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).
引用
收藏
页数:14
相关论文
共 29 条
  • [21] A Sub-quadratic Time and Space Complexity Solution for the Dated Tree Reconciliation Problem for Select Tree Topologies
    Drinkwater, Benjamin
    Charleston, Michael A.
    ALGORITHMS IN BIOINFORMATICS (WABI 2015), 2015, 9289 : 93 - 107
  • [22] Existence, uniqueness and comparison theorem on unbounded solutions of general time-interval BSDEs with sub-quadratic generators
    Gu, Chuang
    Wang, Yan
    Fan, Shengjun
    PROBABILITY UNCERTAINTY AND QUANTITATIVE RISK, 2025, 10 (01): : 31 - 58
  • [23] Existence, uniqueness and comparison theorem on unbounded solutions of general time-interval BSDEs with sub-quadratic generators
    Gu, Chuang
    Wang, Yan
    Fan, Shengjun
    PROBABILITY UNCERTAINTY AND QUANTITATIVE RISK, 2025,
  • [24] Graphs can be succinctly indexed for pattern matching in O(|E|2 + |V|5/2) time
    Cotumaccio, Nicola
    DCC 2022: 2022 DATA COMPRESSION CONFERENCE (DCC), 2022, : 272 - 281
  • [25] Polynomial Time Recognition of Essential Graphs Having Stability Number Equal to Matching Number
    Mosca, Raffaele
    Nobili, Paolo
    GRAPHS AND COMBINATORICS, 2015, 31 (05) : 1649 - 1658
  • [26] Polynomial Time Recognition of Essential Graphs Having Stability Number Equal to Matching Number
    Raffaele Mosca
    Paolo Nobili
    Graphs and Combinatorics, 2015, 31 : 1649 - 1658
  • [27] Solution of Skip Distance Constraint on Sub-linear Time String-matching Architecture
    Huang, Nai-Lun
    Lee, Tsern-Huei
    Tseng, Kuo-Kun
    2013 IEEE INTERNATIONAL CONFERENCE OF IEEE REGION 10 (TENCON), 2013,
  • [28] Sub-Exponential Time Lower Bounds for #VC and #Matching on 3-Regular Graphs
    Liu, Ying
    Chen, Shiteng
    41ST INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE, STACS 2024, 2024, 289
  • [29] Realizing a Sub-Linear Time String-Matching Algorithm With a Hardware Accelerator Using Bloom Filters
    Lin, Po-Ching
    Lin, Yin-Dar
    Lai, Yuan-Cheng
    Zheng, Yi-Jun
    Lee, Tsern-Huei
    IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2009, 17 (08) : 1008 - 1020