Graph-Based RAG for Manuscript Collections: A LangGraph Approach

Read full text Summarise with VIRAT
Authors: Yahya Momtaz, Guido Russo, M. Brescia, Luisa Di Landa
Cited by: 0

Summary

No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.

Summarise with VIRAT Free to try with your Science Catalogs account.

Abstract

This paper introduces a conversational agent designed for querying digitized historical manuscript collections, developed as part of the MAGIC project. The system incorporates hybrid sparse and dense retrieval, a Neo4j knowledge graph, ALTO XML-based visual grounding, and a multi-step LangGraph ReAct agent powered by a Llama-3.3-70B backend. To identify the most effective retrieval strategy, a benchmark of 100 hand-annotated queries was constructed, covering six query types across two 15th-century incunabula. Multiple retrieval methods were evaluated, including BM25, dense retrieval, hybrid Reciprocal Rank Fusion (RRF), cross-encoder reranking, graph-augmented retrieval, and Hypothetical Document Embeddings (HyDE), using standard information retrieval metrics and latency measurements. The results indicate that Hybrid RRF achieves the most favorable precision–latency trade-off and is positioned on the Pareto frontier for interactive applications. However, no single method demonstrates optimal performance across all query types. Graph-based expansion substantially enhances catalog and complex queries that require relational reasoning, but reduces effectiveness for semantic and entity queries. This outcome supports the adoption of a query-adaptive retrieval strategy within the agent. Furthermore, HyDE consistently underperforms on historical text due to temporal distribution mismatch, resulting in increased latency without corresponding improvements in retrieval quality. A Retrieval-Augmented Generation (RAG) evaluation across three generation backends demonstrates near-perfect faithfulness, indicating reliable grounding. However, answer relevance remains constrained by retrieval precision. These findings identify retrieval, rather than generation, as the primary bottleneck in historical manuscript question answering. All benchmark data, annotations, and system components are made available to support reproducibility and future research.

Fields of Study & Subjects

Information Retrieval and Search Behavior Topic Modeling Digital Humanities and Scholarship

Publication details

Journal / source
Research Square
Publication date
3 April 2026
Language
EN
Document type
Preprint