Accelerating Graph Query Languages for Machine Learning and Retrieval Augmented Generation

Graph query languages are becoming increasingly popular across a variety of domains to specify complex queries, analytics, and traversals in a format familiar to users of traditional tabular query languages, such as SQL. While there are many options today for accelerating SQL queries, such as Spark, graph query languages are still behind in their support for massive-scale analytics. As large institutions increasingly deploy graph databases and use graph queries to build complex analytics pipelines, they quickly run into challenges scaling to a production system, where each query traverses billions, or even trillions of edges, and involves calculations depending on sparse graph features. This paper analyzes how graph query languages are used in conjunction with large scale tree-based, CNN, and GNN models for both standalone modeling and retrieval augmented generation (RAG), as well as the fundamental requirements and techniques needed to scale graph queries to support these applications. Using the Gremlin graph query language and BitGraph graph processing framework, this paper then illustrates how these techniques can be applied in practice and the performance yield of each.

Authors

Institutions

Publication Details

Published
2024-12-15
DOI
https://doi.org/10.1109/bigdata62323.2024.10825641
Citations
1
Primary Topic
Graph Theory and Algorithms
Type
article
Field-Weighted Citation Impact
0.25
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Accelerating Graph Query Languages for Machine Learning and Retrieval Augmented Generation

A. Rahnamai Barghi
1 citations
Graph Theory and Algorithms
0.25
article

Accelerating Graph Query Languages for Machine Learning and Retrieval Augmented Generation

A. Rahnamai Barghi
article en
1 citations

Abstract

Graph query languages are becoming increasingly popular across a variety of domains to specify complex queries, analytics, and traversals in a format familiar to users of traditional tabular query languages, such as SQL. While there are many options today for accelerating SQL queries, such as Spark, graph query languages are still behind in their support for massive-scale analytics. As large institutions increasingly deploy graph databases and use graph queries to build complex analytics pipelines, they quickly run into challenges scaling to a production system, where each query traverses billions, or even trillions of edges, and involves calculations depending on sparse graph features. This paper analyzes how graph query languages are used in conjunction with large scale tree-based, CNN, and GNN models for both standalone modeling and retrieval augmented generation (RAG), as well as the fundamental requirements and techniques needed to scale graph queries to support these applications. Using the Gremlin graph query language and BitGraph graph processing framework, this paper then illustrates how these techniques can be applied in practice and the performance yield of each.

University of Maryland, College Park (US)
Quality Education
Openalex Percentile: Top 42%
Graph Theory and Algorithms
0.25
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Accelerating Graph Query Languages for Machine Learning and Retrieval Augmented Generation — A. Rahnamai Barghi · (2024) | TGRS Research Map | TGRS