• Home
  • Search
  • GraphTwin: Cache-Centric Bit-Level Graph Representation for Fast and Exact Graph Queries
  • https://doi.org/10.1145/3769798Copy DOI Icon

GraphTwin: Cache-Centric Bit-Level Graph Representation for Fast and Exact Graph Queries

Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

Modern large-scale graph processing faces a critical challenge: conventional adjacency lists incur excessive L3 cache misses due to irregular memory access. We introduce GraphTwin, a hybrid graph representation system combining: (1) Cache-optimized k -bit vectors (termed GT-vectors, 64 bits per vertex), where each bit indicates vertex membership in a precomputed independent set; and (2) Memory-resident adjacency lists for exact verification of queries unresolved by GT-vectors. This dual-component design enables 95% of negative edge queries, which are dominant in sparse graphs, to be resolved in 1 CPU cycle via in-cache bitwise-AND operations, reducing latency from 54ns (adjacency list) to 18ns per query. Unresolved queries delegate to adjacency lists, guaranteeing zero false positives/negatives. Crucially, GT-vectors scales linearly with vertex count ( k|V| bits ), decoupling the space overhead from edge density and minimizing cache dependency. For example, GT-vectors for a graph with |V|=10 7 vertices occupy 80MB, fitting entirely within modern CPU caches (e.g., AMD Ryzen 7 9800X3D's 96MB L3). We formalize the GT-vectors construction as an NP-hard and submodular optimization problem and introduce GTWICE, a linear-time heuristic algorithm that iteratively extracts diversified maximal independent sets to maximize non-edge coverage. Experiments on 15 graphs show that GraphTwin reduces L3 cache misses by 63% on average, achieves 6.2× speedup for edge queries and accelerates triangle counting and set inclusion by 1.7× and 5.4×, respectively. By optimizing cache residency and accelerating foundational primitives, GraphTwin addresses cache inefficiencies in graph processing, enabling fast graph queries without sacrificing exactness.

Similar Papers
  • PDF
  • Conference Article
  • Citations5

CSR++: A Fast, Scalable, Update-Friendly Graph Data Structure

  • Dec 13, 2020
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Soukaina Firmli +7
  • Research Article
  • Citations2

A graph representation for search-based approaches to graph layout problems

  • Jan 01, 2019
  • International Journal of Computational Science and Engineering
  • Behrooz Koohestani
  • Research Article
  • Citations15

Learning to Count Isomorphisms with Graph Neural Networks

  • Jun 26, 2023
  • Proceedings of the AAAI Conference on Artificial Intelligence
  • Xingtong Yu +3
  • Research Article
  • Citations51

A bidirectional shortest-path algorithm with good average-case behavior

  • Jun 01, 1989
  • Algorithmica
  • Michael Luby +1
  • PDF
  • Research Article

Analysing Big Social Graphs Using a List-based Graph Folding Algorithm

  • Jan 01, 2019
  • ITM Web of Conferences
  • Eugenia Muntyan +2
  • Research Article

Competing all-pairs shortest paths algorithms for sparse / dense graphs: implementation and comparison

  • Dec 30, 2024
  • «System analysis and applied information science»
  • A A Prihozhy +1
  • Research Article
  • Citations32

All maximal independent sets and dynamic dominance for sparse graphs

  • Oct 01, 2009
  • ACM Transactions on Algorithms
  • David Eppstein
  • Conference Article
  • Citations3

Better Distributed Graph Query Planning With Scouting Queries

  • Jun 18, 2023
  • Tomáš Faltín +6
  • PDF
  • Research Article
  • Citations3

Representation of graphs for storing in relational databases

  • Jan 01, 2020
  • E3S Web of Conferences
  • Mikhail Urubkin +4
  • Research Article
  • Citations2

Erasure-Resilient Sublinear-Time Graph Algorithms

  • Dec 15, 2021
  • ACM Transactions on Computation Theory
  • Amit Levi +3
  • Conference Article
  • Citations7

Isoline-Enhanced Dynamic Graph Visualization

  • Jul 01, 2016
  • Michael Burch
  • Supplementary Content

Extremal and probabilistic results for regular graphs

  • Jan 01, 2017
  • London School of Economics and Political Science Research Online (London School of Economics and Political Science)
  • Ewan Davies
  • Conference Article
  • Citations12

A tool for fast indexing and querying of graphs

  • Mar 28, 2011
  • Dipali Pal +1
  • PDF
  • Research Article
  • Citations25

Kneser graphs are like Swiss cheese

  • Jan 01, 2018
  • Discrete Analysis
  • Ehud Friedgut +1
  • Conference Article
  • Citations3

Single depth image super-resolution and denoising based on sparse graphs via structure tensor

  • Sep 01, 2017
  • Yihui Feng +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.