HIGGS: HIerarchy-Guided Graph Stream Summarization

Xuan Zhao, Xike Xie, Christian S. Jensen

TL;DR

HIGGS is a novel, bottom-up hierarchical framework designed to summarize massive graph streams while supporting highly accurate temporal queries. By moving away from traditional top-down "fixed-grid" time splitting and adopting an item-based approach similar to a B-tree, HIGGS localizes hash conflicts and adapts to irregular data bursts, outperforming state-of-the-art methods by three orders of magnitude in accuracy and two orders of magnitude in query speed.

What Problem Does This Paper Address?

Graph streams—continuous sequences of edges (like social media interactions, financial transactions, or network traffic)—are too large to store in their entirety. To query them, researchers use "summaries" or "sketches" (like the Count-Min Sketch) that compress the data while allowing for approximate answers.

The specific challenge here is Temporal Range Queries (TRQ): asking questions about a specific time window (e.g., "How many messages did User A send to User B between 2:00 PM and 4:00 PM last Tuesday?"). Existing state-of-the-art tools like Horae and PGSS use a top-down approach, recursively splitting time into uniform layers. This leads to three major headaches:

  1. Global Hashing Conflicts: A collision in a large, global matrix ruins accuracy across the board.
  2. Inadaptivity: They struggle with "bursty" data or "head vertices" (nodes with massive amounts of connections), leading to wasted space or poor performance.
  3. Efficiency: Querying a specific range requires accessing many large, non-hierarchical matrices, which is slow.

Methods

The authors introduce HIGGS (HIerarchy-Guided Graph Stream summarization), which flips the script with a bottom-up, item-based hierarchy.

  • B-Tree Inspired Structure: Instead of pre-defining time slots, HIGGS builds a tree as data arrives. New edges are inserted into leaf nodes. When a leaf's compressed matrix fills up, it triggers the creation of parent nodes, propagating timestamps upward.
  • Localized Storage: Because the structure is hierarchical, hash conflicts are confined to small subtrees. A "hot" time interval with many edges won't degrade the query accuracy of a "quiet" interval.
  • Error-Free Aggregation: As data moves from children to parents, HIGGS uses a clever bit-shifting mechanism. It shifts bits from the edge's "fingerprint" (its ID) into its "address" (its location in the matrix). This allows parent matrices to be larger and more precise without introducing new hashing errors during the merge.
  • Optimizations:
    • Multiple Mapping Buckets (MMB): Uses multiple hash functions to find the best spot for an edge, maximizing matrix utilization.
  • Overflow Blocks (OB): Handles bursts of edges with identical timestamps that would otherwise cause insertion failures.
  • Parallelization: Assigns different threads to different layers of the tree to keep throughput high.

Datasets

The researchers evaluated HIGGS using three massive, real-world graph datasets:

  1. Lkml: A communication network of the Linux kernel mailing list (63k nodes, 1M edges).
  2. Wikipedia talk (WT): Users editing each other's talk pages (2.9M nodes, 24M edges).
  3. Stackoverflow (SO): Interactions between users on the platform (2.6M nodes, 63M edges).
  4. Synthetic Datasets: Created specifically to test how the system handles varying degrees of "skewness" (uneven node connections) and "variance" (irregular arrival times).

Key Insights and Ideas

  • The Power of Bottom-Up: The most significant "aha moment" is that a bottom-up approach naturally adapts to the data's density. In top-down systems, you might have empty matrices for quiet periods and overflowing ones for busy periods. HIGGS only creates nodes when there is actually data to fill them.
  • Confining the Noise: By localizing storage, the authors proved that query error doesn't accumulate across layers. In previous systems, a query spanning multiple time granularities would collect errors from every layer it touched.
  • Fingerprint-to-Address Shifting: The idea of using bit-shifts to expand matrices during aggregation is a mathematically elegant way to increase summary capacity as you move up the hierarchy without needing to re-hash the original data.

Key Results

HIGGS demonstrates a "clean sweep" across performance metrics compared to baselines like Horae, PGSS, and Auxo:

  • Accuracy: Improved query accuracy (measured by Average Absolute Error) by over 3 orders of magnitude. On the Lkml dataset, it achieved nearly 100% accuracy (zero error).
  • Latency: Query response times were nearly 2 orders of magnitude (100x) faster than the next best competitor.
  • Throughput: Insertion speed increased by more than 5x, thanks to its parallelized architecture.
  • Space Efficiency: Reduced memory overhead by an average of 30%, and up to 64% in specific comparisons, by utilizing its matrices more effectively.

Limitations and Future Work

While HIGGS is a powerhouse for standard directed graph streams, the authors note a few areas for expansion:

  • Heterogeneous Graphs: Currently, the model treats all nodes and edges as the same type. Future versions could support graphs with diverse node/edge types (e.g., a graph containing both "purchases" and "likes").
  • Advanced Attributes: The current model focuses on topological and temporal data. Integrating spatial information (where an event happened) or complex edge attributes remains a future goal.
  • Graph Variants: Extending the hierarchy to support more complex structures like hypergraphs or multi-graphs.

Summary updated

BibTeX
@inproceedings{zhao2025higgs,
  author = {Xuan Zhao and Xike Xie and Christian S. Jensen},
  title = {{HIGGS: HIerarchy-Guided Graph Stream Summarization}},
  booktitle = {ICDE},
  year = {2025},
  doi = {10.1109/icde65448.2025.00114},
}
Figure