[Paper Review] Mining Frequent Patterns in Evolving Graphs
This paper proposes a streaming algorithm for mining frequent connected subgraphs in evolving graphs using reservoir sampling and neighborhood-based pattern expansion. It efficiently maintains a representative sample of frequent subgraphs under space constraints, achieving high accuracy with probabilistic guarantees via concentration bounds.
Given a labeled graph, the frequent-subgraph mining (FSM) problem asks to find all the $k$-vertex subgraphs that appear with frequency greater than a given threshold. FSM has numerous applications ranging from biology to network science, as it provides a compact summary of the characteristics of the graph. However, the task is challenging, even more so for evolving graphs due to the streaming nature of the input and the exponential time complexity of the problem. In this paper, we initiate the study of the approximate FSM problem in both incremental and fully-dynamic streaming settings, where arbitrary edges can be added or removed from the graph. For each streaming setting, we propose algorithms that can extract a high-quality approximation of the frequent $k$-vertex subgraphs for a given threshold, at any given time instance, with high probability. In contrast to the existing state-of-the-art solutions that require iterating over the entire set of subgraphs for any update, our algorithms operate by maintaining a uniform sample of $k$-vertex subgraphs with optimized neighborhood-exploration procedures local to the updates. We provide theoretical analysis of the proposed algorithms and empirically demonstrate that the proposed algorithms generate high-quality results compared to baselines.
Motivation & Objective
- To address the challenge of mining frequent connected subgraphs in dynamic, evolving graphs where edges are added incrementally.
- To design a space-efficient algorithm that maintains a representative sample of frequent patterns without storing all subgraphs.
- To ensure high accuracy in pattern frequency estimation using probabilistic sampling with bounded error.
- To enable real-time analysis of evolving graph structures in large-scale networks.
- To provide theoretical guarantees on the quality of the sampled frequent patterns using concentration inequalities.
Proposed method
- The algorithm maintains a reservoir sample of frequent subgraphs using a fixed-size buffer, updated via reservoir sampling as new edges arrive.
- For each new edge (u,v), it explores all possible connected subgraphs H that can be extended by (u,v) using neighborhoods of u and v at different depths.
- It computes H ⊆ Nu,h^{t-1} ∪ Nv,j^{t-1} for h ∈ [0,k-2] and j = k-2-h, ensuring H is connected in G^{t-1}.
- The algorithm checks if H is already in the sample set S; if so, it replaces H with H′ = H ∪ {(u,v)} in S using reservoir sampling.
- It applies reservoir sampling with parameters M = log(T_k / δ) · (4+ε)/ε² to control sample size and error bounds.
- The method ensures H′ is connected in G^t and maintains probabilistic accuracy guarantees via concentration bounds.
Experimental results
Research questions
- RQ1How can frequent connected subgraphs be efficiently maintained in a dynamic graph with incremental edge updates?
- RQ2What is the minimal space overhead required to maintain a representative sample of frequent subgraphs in evolving graphs?
- RQ3How can probabilistic error bounds be enforced on the frequency estimation of subgraphs in a streaming setting?
- RQ4What is the impact of neighborhood depth and subgraph size on the accuracy and efficiency of pattern mining?
- RQ5Can a reservoir sampling strategy be effectively combined with neighborhood expansion to maintain high-accuracy frequent pattern detection?
Key findings
- The algorithm maintains a sample of frequent subgraphs with size bounded by M = log(T_k / δ) · (4+ε)/ε², ensuring space efficiency.
- The method achieves (1±ε)-approximation of true subgraph frequencies with probability at least 1−δ, as guaranteed by concentration inequalities.
- The reservoir sampling mechanism ensures that each valid subgraph H′ = H ∪ {(u,v)} has a uniform probability of being retained in the sample set S.
- The algorithm efficiently prunes non-connected or non-frequent subgraphs by checking connectivity in G^{t-1} and membership in S.
- The use of depth-based neighborhood indexing (h and j) enables scalable exploration of potential extensions without exhaustive enumeration.
- The approach supports real-time mining by processing each edge in near-constant time per candidate subgraph, assuming bounded neighborhood size.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.