Motivo: fast motif counting via succinct color coding and adaptive sampling
Not on the map. Why?
Abstract (arXiv)
The randomized technique of color coding is behind state-of-the-art algorithms for estimating graph motif counts. Those algorithms, however, are not yet capable of scaling well to very large graphs with billions of edges. In this paper we develop novel tools for the `motif counting via color coding' framework. As a result, our new algorithm, Motivo, is able to scale well to larger graphs while at the same time provide more accurate graphlet counts than ever before. This is achieved thanks to two types of improvements. First, we design new succinct data structures that support fast common color coding operations, and a biased coloring trick that trades accuracy versus running time and memory usage. These adaptations drastically reduce the time and memory requirements of color coding. Second, we develop an adaptive graphlet sampling strategy, based on a fractional set cover problem, that breaks the additive approximation barrier of standard sampling. This strategy gives multiplicative approximations for all graphlets at once, allowing us to count not only the most frequent graphlets but also extremely rare ones. To give an idea of the improvements, in 40 minutes Motivo counts 7-nodes motifs on a graph with 65M nodes and 1.8B edges; this is 30 and 500 times larger than the state of the art, respectively in terms of nodes and edges. On the accuracy side, in one hour Motivo produces accurate counts of ≈ ! 10.000 distinct 8-node motifs on graphs where state-of-the-art algorithms fail even to find the second most frequent motif. Our method requires just a high-end desktop machine. These results show how color coding can bring motif mining to the realm of truly massive graphs using only ordinary hardware.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). First posted on arXiv 4 Jun 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 1; 2023: 1; 2024: 2; 2025: 2.
8 papers.
- 2021Graph Convolutional Networks with Dual Message Passing for Subgraph Isomorphism Counting and Matchingcited by 11
- 2024Representation Learning for Frequent Subgraph Miningcited by 5
- 2023DeSCo: Towards Generalizable and Scalable Deep Subgraph Countingcited by 4
- 2021odeN: Simultaneous Approximation of Multiple Motif Counts in Large Temporal Networkscited by 3
- 2022Reinforcement Learning Enhanced Weighted Sampling for Accurate Subgraph Counting on Fully Dynamic Graph Streamscited by 3
- 2024Towards Subgraph Isomorphism Counting with Graph Kernelscited by 0
- 2025BEACON: A Benchmark for Efficient and Accurate Counting of Subgraphscited by 0
- 2025Efficient Discovery of Motif Transition Process for Large-Scale Temporal Graphscited by 0
- 2025Efficient Discovery of Motif Transition Process for Large-Scale Temporal Graphs22 Apr 2025
- 2025BEACON: A Benchmark for Efficient and Accurate Counting of Subgraphs15 Apr 2025
- 2024Towards Subgraph Isomorphism Counting with Graph Kernels13 May 2024
- 2024Representation Learning for Frequent Subgraph Mining22 Feb 2024
- 2023DeSCo: Towards Generalizable and Scalable Deep Subgraph Counting16 Aug 2023
- 2022Reinforcement Learning Enhanced Weighted Sampling for Accurate Subgraph Counting on Fully Dynamic Graph Streams13 Nov 2022
- 2021Graph Convolutional Networks with Dual Message Passing for Subgraph Isomorphism Counting and Matching16 Dec 2021
- 2021odeN: Simultaneous Approximation of Multiple Motif Counts in Large Temporal Networks19 Aug 2021