Skip to main navigation Skip to search Skip to main content

Efficiently Finding and Counting Patterns with Distance Constraints in Sparse Graphs

  • Daniel Lokshtanov
  • , Fahad Panolan
  • , Saket Saurabh
  • , Jie Xue
  • , Meirav Zehavi

    Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

    Abstract

    Graph classes of bounded expansion were introduced by NešetÅ™il and de Mendez as a general model of structurally sparse graphs, which have received considerable attention from both combinatorial and algorithmic perspectives. A celebrated result of DvoÅ™ák et al. [JACM'13] showed that any first-order model checking problem on bounded-expansion graph classes is fixed-parameter tractable. A main drawback of the FPT algorithms resulted from this result is the high dependency of their time complexity on the parameter k: the algorithms run in time at least doubly exponential in k, even when the graph class is of polynomial expansion. It is natural to ask whether there exist FPT algorithms for these problem that run in singly exponential time, i.e., 2kO(1) nO(1) time. In this paper, we give a new algorithmic framework for a broad family of first-order model checking problems on sparse graphs, which results in algorithms with running time 2kO(1) · n when the graph class is of exponential expansion (i.e., the expansion is bounded by a singly exponential function). This covers most well-studied instances of bounded-expansion graph classes, in particular, all polynomial-expansion graph classes. Our framework applies to all problems that can be formulated as finding k vertices in a host graph G with certain distance constraints. Furthermore, the framework can be generalized to give (1 ± ϵ)-approximation algorithms for the counting versions of these problems with running time 2kO(1) · n (logn/ϵ)O(1) on exponential-expansion graph classes. In terms of techniques, our framework differs entirely from the one of DvoÅ™ák et al. based on centered coloring. We develop various technical components based on the theory of sparse graphs and other tools such as representative sets/functions, tree decomposition, inclusion-exclusion, etc., which are of independent interest. Remarkably, some of our techniques can be applied to even more general graph classes, such as degenerate graph classes. Therefore, as a byproduct, we obtain a (1 ± ϵ)-approximation algorithm for approximately counting bounded-treewidth induced subgraphs in degenerate graphs with running time kO(k) · (n/ϵ)O(1). This resolves (in a much stronger form) an open problem of Bressan and Roth [FOCS'22], which asked whether such an algorithm exists for counting induced k-matching in degenerate graphs.

    Original languageEnglish
    Title of host publicationSTOC 2025 - Proceedings of the 57th Annual ACM Symposium on Theory of Computing
    EditorsMichal Koucky, Nikhil Bansal
    PublisherAssociation for Computing Machinery
    Pages1965-1974
    Number of pages10
    ISBN (Electronic)9798400715105
    DOIs
    StatePublished - 15 Jun 2025
    Event57th Annual ACM Symposium on Theory of Computing, STOC 2025 - Prague, Czech Republic
    Duration: 23 Jun 202527 Jun 2025

    Publication series

    NameProceedings of the Annual ACM Symposium on Theory of Computing
    ISSN (Print)0737-8017

    Conference

    Conference57th Annual ACM Symposium on Theory of Computing, STOC 2025
    Country/TerritoryCzech Republic
    CityPrague
    Period23/06/2527/06/25

    Keywords

    • Bounded expansion graphs
    • First-order model checking
    • Pattern finding and counting

    ASJC Scopus subject areas

    • Software

    Fingerprint

    Dive into the research topics of 'Efficiently Finding and Counting Patterns with Distance Constraints in Sparse Graphs'. Together they form a unique fingerprint.

    Cite this