Query-Aware Graph Neural Networks for Enhanced Retrieval-Augmented Generation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Agrawal, Vibhor, Wang, Fay, Puri, Rishi
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913979733901312
author Agrawal, Vibhor
Wang, Fay
Puri, Rishi
author_facet Agrawal, Vibhor
Wang, Fay
Puri, Rishi
contents We present a novel graph neural network (GNN) architecture for retrieval-augmented generation (RAG) that leverages query-aware attention mechanisms and learned scoring heads to improve retrieval accuracy on complex, multi-hop questions. Unlike traditional dense retrieval methods that treat documents as independent entities, our approach constructs per-episode knowledge graphs that capture both sequential and semantic relationships between text chunks. We introduce an Enhanced Graph Attention Network with query-guided pooling that dynamically focuses on relevant parts of the graph based on user queries. Experimental results demonstrate that our approach significantly outperforms standard dense retrievers on complex question answering tasks, particularly for questions requiring multi-document reasoning. Our implementation leverages PyTorch Geometric for efficient processing of graph-structured data, enabling scalable deployment in production retrieval systems
format Preprint
id arxiv_https___arxiv_org_abs_2508_05647
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Query-Aware Graph Neural Networks for Enhanced Retrieval-Augmented Generation
Agrawal, Vibhor
Wang, Fay
Puri, Rishi
Information Retrieval
Artificial Intelligence
We present a novel graph neural network (GNN) architecture for retrieval-augmented generation (RAG) that leverages query-aware attention mechanisms and learned scoring heads to improve retrieval accuracy on complex, multi-hop questions. Unlike traditional dense retrieval methods that treat documents as independent entities, our approach constructs per-episode knowledge graphs that capture both sequential and semantic relationships between text chunks. We introduce an Enhanced Graph Attention Network with query-guided pooling that dynamically focuses on relevant parts of the graph based on user queries. Experimental results demonstrate that our approach significantly outperforms standard dense retrievers on complex question answering tasks, particularly for questions requiring multi-document reasoning. Our implementation leverages PyTorch Geometric for efficient processing of graph-structured data, enabling scalable deployment in production retrieval systems
title Query-Aware Graph Neural Networks for Enhanced Retrieval-Augmented Generation
topic Information Retrieval
Artificial Intelligence
url https://arxiv.org/abs/2508.05647