Skip to main content
QUICK REVIEW

[Paper Review] AGIS: Fast Approximate Graph Pattern Mining with Structure-Informed Sampling

Seoyong Lee, Jinho Lee|arXiv (Cornell University)|Jan 4, 2026
Graph Theory and AlgorithmsComputer Science0 citations
TL;DR

AGIS introduces structure-informed neighbor sampling for approximate graph pattern mining, achieving large speedups and scalability on huge graphs by approximating an ideal sampling distribution and controlling convergence. It outperforms baselines and scales to graphs with billions of edges.

ABSTRACT

Approximate Graph Pattern Mining (AGPM) is essential for analyzing large-scale graphs where exact counting is computationally prohibitive. While there exist numerous sampling-based AGPM systems, they all rely on uniform sampling and overlook the underlying probability distribution. This limitation restricts their scalability to a broader range of patterns. In this paper, we introduce AGIS, an extremely fast AGPM system capable of counting arbitrary patterns from huge graphs. AGIS employs structure-informed neighbor sampling, a novel sampling technique that deviates from uniformness but allocates specific sampling probabilities based on the pattern structure. We first derive the ideal sampling distribution for AGPM and then present a practical method to approximate it. Furthermore, we develop a method that balances convergence speed and computational overhead, determining when to use the approximated distribution. Experimental results demonstrate that AGIS significantly outperforms the state-of-the-art AGPM system, achieving 28.5x geometric mean speedup and more than 100,000x speedup in specific cases. Furthermore, AGIS is the only AGPM system that scales to graphs with tens of billions of edges and robustly handles diverse patterns, successfully providing accurate estimates within seconds. We will open-source AGIS to encourage further research in this field.

Motivation & Objective

  • Motivate AGPM scalability challenges on real-world, large-scale graphs and complex patterns.
  • Develop a non-uniform, structure-informed sampling distribution to reduce estimator variance and accelerate convergence.
  • Derive and approximate the ideal sampling distribution for general patterns, ensuring unbiased counts.
  • Balance convergence speed with computational overhead through heuristic application of the approximated distribution.
  • Provide an open-source AGIS system and demonstrate strong empirical gains over state-of-the-art baselines.

Proposed method

  • Define structure-informed neighbor sampling that assigns sampling probabilities proportional to potential embeddings rather than uniformity.
  • Derive the ideal sampling distribution f_ideal(v | τ) that yields zero-variance C(G,P) estimates and prove unbiasedness under general conditions.
  • Develop an unbiased approximation f_approx(v | τ) using connectivity, k-hop pattern decomposition, and auxiliary arrays to estimate n_{ τ∘v}.
  • Decompose n_{τ∘v} into forward and internal components with T[F_k], T[I_k], and T[F_2] terms to compute f_approx.
  • Provide a convergence-detection mechanism to decide when sampling has achieved the desired error bounds (unbiased framework).
  • Embed a matching-order-based heuristic and preprocessing to maximize gains from structure-informed sampling.

Experimental results

Research questions

  • RQ1How can sampling probabilities be designed to reduce variance and accelerate convergence in AGPM for large-scale graphs?
  • RQ2Can we construct an approximate sampling distribution that closely matches the ideal distribution without knowing the true embedding count C(G,P)?
  • RQ3Does the proposed f_approx preserve unbiasedness and provide practical convergence guarantees?
  • RQ4What impact do structure-informed sampling and preprocessing have on performance across diverse patterns and graph scales?

Key findings

  • AGIS achieves up to 28.5x geometric-mean speedup over state-of-the-art AGPM systems.
  • In some cases, AGIS attains more than 100,000x speedup, dramatically reducing runtime for large patterns.
  • AGIS scales to graphs with tens of billions of edges and robustly handles diverse patterns while providing accurate estimates within seconds.
  • The method significantly improves convergence speed by moving from uniform to structure-informed sampling based on pattern and graph structure.
  • AGIS combines an approximate sampling distribution with a convergence-detection mechanism to balance accuracy, speed, and overhead.
  • The authors provide open-source code and artifacts to facilitate further research (GitHub link given).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.