Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Graph Pattern Detection: : Hardness for all Induced Patterns and Faster Noninduced Cycles

Published: 01 January 2021 Publication History
  • Get Citation Alerts
  • Abstract

    We consider the pattern detection problem in graphs: given a constant size pattern graph $H$ and a host graph $G$, determine whether $G$ contains a subgraph isomorphic to $H$. We present the following new improved upper and lower bounds: We prove that if a pattern $H$ contains a $k$-clique subgraph, then detecting whether an $n$ node host graph contains a not necessarily induced copy of $H$ requires at least the time for detecting whether an $n$ node graph contains a $k$-clique. The previous result of this nature required that $H$ contains a $k$-clique which is disjoint from all other $k$-cliques of $H$. We show that if the famous Hadwiger conjecture from graph theory is true, then detecting whether an $n$ node host graph contains a not necessarily induced copy of a pattern with chromatic number $t$ requires at least the time for detecting whether an $n$ node graph contains a $t$-clique. This implies that (1) under Hadwiger's conjecture for every $k$-node pattern $H$, finding an induced copy of $H$ requires at least the time of $\sqrt k$-clique detection and size $\omega(n^{\sqrt{k}/4})$ for any constant depth circuit, and (2) unconditionally, detecting an induced copy of a random $G(k,p)$ pattern with high probability requires at least the time of $\Theta(k/\log k)$-clique detection, and hence also at least size $n^{\Omega(k/\log k)}$ for circuits of constant depth. We show that for every $k$, there exists a $k$-node pattern that contains a $k-1$-clique and that can be detected as an induced subgraph in $n$ node graphs in the best known running time for $k-1$-clique detection. Previously such a result was only known for infinitely many $k$. Finally, we consider the case when the pattern is a directed cycle on $k$ nodes, and we would like to detect whether a directed $m$-edge graph $G$ contains a $k$-cycle as a not necessarily induced subgraph. We resolve a 14-year-old conjecture of [Yuster and Zwick, Proceedings of SODA, 2004, pp. 247--253] on the complexity of $k$-cycle detection by giving a tight analysis of their $k$-cycle algorithm. Our analysis improves the best bounds for $k$-cycle detection in directed graphs for all $k>5$.

    References

    [1]
    A. Abboud, A. Backurs, and V. Vassilevska Williams, If the current clique algorithms are optimal, so is valiant's parser, in Proceedings of the IEEE 56th Annual Symposium on Foundations of Computer Science, FOCS 2015, Berkeley, CA, 2015, pp. 98--117.
    [2]
    N. Alon, P. Dao, I. Hajirasouliha, F. Hormozdiari, and S. Cenk Sahinalp, Biomolecular network motif counting and discovery by color coding, Bioinformatics, 24 (2008), pp. i241--i249.
    [3]
    N. Alon, R. Yuster, and U. Zwick, Color-coding, J. ACM, 42 (1995), pp. 844--856.
    [4]
    N. Alon, R. Yuster, and U. Zwick, Finding and counting given length cycles, Algorithmica, 17 (1997), pp. 209--223.
    [5]
    M. Bläser, B. Komarath, and K. Sreenivasaiah, Graph Pattern Polynomials, CoRR, abs/1809.08858, 2018.
    [6]
    B. Bollobás, The chromatic number of random graphs, Combinatorica, 8 (1988), pp. 49--55.
    [7]
    B. Bollobás, P.A. Catlin, and P. Erdös, Hadwiger's conjecture is true for almost every graph, European J. Combin., 1 (1980), pp. 195--199.
    [8]
    A. Bondy and M. Simonovits, Cycles of even length in graphs, J. Combin. Theory, 16 (1974), pp. 97--105.
    [9]
    K. Bringmann and P. Wellnitz, Clique-based lower bounds for parsing tree-adjoining grammars, in Proceedings of the 28th Annual Symposium on Combinatorial Pattern Matching, CPM 2017, Warsaw, Poland, 2017, pp. 12:1--12:14.
    [10]
    J. Chen, B. Chor, M. Fellows, X. Huang, D. W. Juedes, I. A. Kanj, and G. Xia, Tight lower bounds for certain parameterized np-hard problems, Inf. Comput., 201 (2005), pp. 216--231.
    [11]
    D. Corneil, Y. Perl, and L. Stewart, A linear recognition algorithm for cographs, SIAM J. Comput., 14 (1985), pp. 926--934.
    [12]
    R. Curticapean, H. Dell, and D. Marx, Homomorphisms are a good basis for counting small subgraphs, in Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2017, Montreal, QC, Canada, 2017, pp. 210--223.
    [13]
    S. Dahlgaard, M. B\aek Tejs Knudsen, and M. Stöckel, Finding even cycles faster via capped k-walks, in Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2017, Montreal, QC, Canada, 2017, pp. 112--120.
    [14]
    F. Eisenbrand and F. Grandoni, On the complexity of fixed parameter clique and dominating set, Theoret. Comp. Sci., 326 (2004), pp. 57--67.
    [15]
    P. Floderus, M. Kowaluk, A. Lingas, and E.-M. Lundell, Detecting and counting small pattern graphs, in Proceedings of the 24th International Symposium on Algorithms and Computation, ISAAC 2013, Hong Kong, China, 2013, pp. 547--557.
    [16]
    P. Floderus, M. Kowaluk, A. Lingas, and E.-M. Lundell, Induced subgraph isomorphism: Are some patterns substantially easier than others?, Theoret. Comput. Sci., 605 (2015), pp. 119--128.
    [17]
    F. V. Fomin, D. Lokshtanov, V. Raman, S. Saurabh, and B. V. Raghavendra Rao, Faster algorithms for finding and counting subgraphs, J. Comput. System Sci., 78 (2012), pp. 698--706.
    [18]
    F. Le Gall and F. Urrutia, Improved rectangular matrix multiplication using powers of the Coppersmith--Winograd tensor, in Proceedings of the 29th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2018, New Orleans, LA, 2018, pp. 1029--1046.
    [19]
    H. Hadwiger, Ungelöste probleme, Elem. Math., 12 (1957), p. 121.
    [20]
    R. Impagliazzo and R. Paturi, On the complexity of k-sat, J. Comput. Syst. Sci., 62 (2001), pp. 367--375.
    [21]
    A. Itai and M. Rodeh, Finding a minimum circuit in a graph, SIAM J. Comput., 7 (1978), pp. 413--423.
    [22]
    K.-i. Kawarabayashi and B. Toft, Any 7-chromatic graphs has $k_7$ or $K_{4,4}$ as a minor, Combinatorica, 25 (2005), pp. 327--353.
    [23]
    T. Kloks, D. Kratsch, and H. Müller, Finding and counting small induced subgraphs efficiently, Inf. Proc. Lett., 74 (2000), pp. 115--121.
    [24]
    M. Kowaluk and A. Lingas, A fast deterministic detection of small pattern graphs in graphs without large cliques, in Proceedings of WALCOM: Algorithms and Computation, 11th International Conference and Workshops, WALCOM 2017, Hsinchu, Taiwan, 2017, pp. 217--227.
    [25]
    M. Kowaluk, A. Lingas, and E.-M. Lundell, Counting and detecting small subgraphs via equations, SIAM J. Discrete Math., 27 (2013), pp. 892--909.
    [26]
    F. Le Gall, Faster algorithms for rectangular matrix multiplication, in Proceedings of the 53rd Annual IEEE Symposium on Foundations of Computer Science, FOCS 2012, New Brunswick, NJ, 2012, pp. 514--523.
    [27]
    F. Le Gall, Powers of tensors and fast matrix multiplication, in Proceedings of the International Symposium on Symbolic and Algebraic Computation, ISSAC '14, Kobe, Japan, 2014, pp. 296--303.
    [28]
    A. Lincoln, V. Vassilevska Williams, and R. Williams, Tight hardness for shortest cycles and paths in sparse graphs, in Proceedings of the 29th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA '18, 2018, pp. 1236--1252.
    [29]
    A. Loo, On the Primes in the Interval [3n, 4n], preprint, arXiv:1110.2377, 2011.
    [30]
    D. Marx, Can you beat treewidth?, in Proceedings of the 48th Annual IEEE Symposium on Foundations of Computer Science (FOCS'07), 2007, pp. 169--179.
    [31]
    B. Monien, How to find long paths efficiently, Ann. Discrete Math., 25 (1985), pp. 239--254.
    [32]
    J. Nagura, On the interval containing at least one prime number, Proc. Japan Acad., 28 (1952), pp. 177--181.
    [33]
    J. Nešetřil and S. Poljak, On the complexity of the subgraph problem, Comment. Math. Univ. Carolin., 26 (1985), pp. 415--419.
    [34]
    S. Olariu, A simple linear-time algorithm for computing the center of an interval graph, Int. J. Comput. Math., 34 (1990), pp. 121--128.
    [35]
    N. Przulj, D. G. Corneil, and I. Jurisica, Efficient estimation of graphlet frequency distributions in protein--protein interaction networks, Bioinformatics, 22 (2006), pp. 974--980.
    [36]
    N. Robertson, D. Sanders, P. Seymour, and R. Thomas, The four-colour theorem, J. Combin. Theory, Ser. B, 70 (1997), pp. 2--44.
    [37]
    N. Robertson, P. Seymour, and R. Thomas, Hadwiger's conjecture for $k6$-free graphs, Combinatorica, 13 (1993), pp. 279--361.
    [38]
    B. Rossman, On the constant-depth complexity of k-clique, in Proceedings of the 40th Annual ACM Symposium on Theory of Computing, STOC '08, 2008, pp. 721--730.
    [39]
    V. Vassilevska and R. Williams, Finding, minimizing, and counting weighted subgraphs, in Proceedings of STOC, 2009, pp. 455--464.
    [40]
    V. Vassilevska, Efficient algorithms for clique problems, Inform. Process. Lett., 109 (2009), pp. 254--257.
    [41]
    V. Vassilevska Williams and R. Williams, Subcubic equivalences between path, matrix and triangle problems, in Proceedings of the FOCS, 2010, pp. 645--654.
    [42]
    V. Vassilevska Williams, Efficient Algorithms for Path Problems in Weighted Graphs, Ph.D. thesis, Carnegie Mellon University, 2008.
    [43]
    V. Vassilevska Williams, Multiplying matrices faster than Coppersmith-Winograd, in Proceedings of the 44th Symposium on Theory of Computing Conference, STOC 2012, New York, 2012, pp. 887--898.
    [44]
    K. Wagner, ber eine eigenschaft der ebenen komplexe, Math. Ann., 114 (1937), pp. 570--590.
    [45]
    V. Vassilevska Williams, J. R. Wang, R. R. Williams, and H. Yu, Finding four-node subgraphs in triangle time, in Proceedings of the 26th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2015, San Diego, CA, 2015, pp. 1671--1680.
    [46]
    R. Yuster and U. Zwick, Finding even cycles even faster, in Proceedings of ICALP, 1994, pp. 532--543.
    [47]
    R. Yuster and U. Zwick, Detecting short directed cycles using rectangular matrix multiplication and dynamic programming, in Proceedings of SODA, 2004, pp. 247--253.

    Cited By

    View all
    • (2024)New Graph Decompositions and Combinatorial Boolean Matrix Multiplication AlgorithmsProceedings of the 56th Annual ACM Symposium on Theory of Computing10.1145/3618260.3649696(935-943)Online publication date: 10-Jun-2024
    • (2023)Streaming deletion problems parameterized by vertex coverTheoretical Computer Science10.1016/j.tcs.2023.114178979:COnline publication date: 10-Nov-2023

    Index Terms

    1. Graph Pattern Detection: Hardness for all Induced Patterns and Faster Noninduced Cycles
        Index terms have been assigned to the content through auto-classification.

        Recommendations

        Comments

        Information & Contributors

        Information

        Published In

        cover image SIAM Journal on Computing
        SIAM Journal on Computing  Volume 50, Issue 5
        ISSN:0097-5397
        DOI:10.1137/smjcat.50.5
        Issue’s Table of Contents

        Publisher

        Society for Industrial and Applied Mathematics

        United States

        Publication History

        Published: 01 January 2021

        Author Tags

        1. fine-grained complexity
        2. subgraph isomorphism
        3. cliques
        4. cycle detection

        Author Tags

        1. 05C60
        2. 05C38
        3. 03D15
        4. 05C85

        Qualifiers

        • Research-article

        Contributors

        Other Metrics

        Bibliometrics & Citations

        Bibliometrics

        Article Metrics

        • Downloads (Last 12 months)0
        • Downloads (Last 6 weeks)0

        Other Metrics

        Citations

        Cited By

        View all
        • (2024)New Graph Decompositions and Combinatorial Boolean Matrix Multiplication AlgorithmsProceedings of the 56th Annual ACM Symposium on Theory of Computing10.1145/3618260.3649696(935-943)Online publication date: 10-Jun-2024
        • (2023)Streaming deletion problems parameterized by vertex coverTheoretical Computer Science10.1016/j.tcs.2023.114178979:COnline publication date: 10-Nov-2023

        View Options

        View options

        Get Access

        Login options

        Media

        Figures

        Other

        Tables

        Share

        Share

        Share this Publication link

        Share on social media