CARAG: Context-Aware Retrieval-Augmented Generation for Railway Operation and Maintenance Question Answering over Spatial Knowledge Graph

General-purpose large language models excel at open-domain question answering, but in railway operation and maintenance (O&M) scenarios they still suffer from hallucinated knowledge and poor domain adaptation. In practice, railway O&M knowledge mainly arises from two heterogeneous sources: spatio-temporal data such as train trajectories, which are organized along the spatial layout of railway lines, and domain documents such as operating rules, which exhibit varying degrees of structural regularity. Traditional retrieval-augmented generation (RAG) systems usually flatten these multi-source data into a single unstructured text space and perform global retrieval in one embedding space, which easily introduces noisy context and makes it difficult to precisely target knowledge for specific lines, sections, or equipment states. To overcome these limitations, we propose CARAG, a context-aware RAG framework tailored to railway O&M data. CARAG treats domain documents and spatial data as a unified knowledge substrate and builds a spatial knowledge graph with concept and instance levels. On top of this knowledge graph, a GraphReAct-based multi-turn interaction mechanism guides the LLM to reason and act over the concept knowledge graph, dynamically navigating to spatially and semantically relevant candidate regions, within which vector retrieval and instance-level graph retrieval are performed. Experiments show that CARAG significantly outperforms baseline RAG methods on RAGAS metrics, confirming the effectiveness of structure-guided multi-step reasoning for question answering over multi-source heterogeneous railway O&M data.

Authors

Institutions

Publication Details

Journal
ISPRS International Journal of Geo-Information
Published
2026-02-14
DOI
https://doi.org/10.3390/ijgi15020078
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

CARAG: Context-Aware Retrieval-Augmented Generation for Railway Operation and Maintenance Question Answering over Spatial Knowledge Graph

Wenkui Zheng, Mengxue Yang, Yong Zhang, Chun Zeng et al.
ISPRS International Journal of Geo-Information
Topic Modeling
article

CARAG: Context-Aware Retrieval-Augmented Generation for Railway Operation and Maintenance Question Answering over Spatial Knowledge Graph

Wenkui Zheng, Mengxue Yang, Yong Zhang, Chun Zeng, Haoyu Wang, Yanfei Ren
article en

Abstract

General-purpose large language models excel at open-domain question answering, but in railway operation and maintenance (O&M) scenarios they still suffer from hallucinated knowledge and poor domain adaptation. In practice, railway O&M knowledge mainly arises from two heterogeneous sources: spatio-temporal data such as train trajectories, which are organized along the spatial layout of railway lines, and domain documents such as operating rules, which exhibit varying degrees of structural regularity. Traditional retrieval-augmented generation (RAG) systems usually flatten these multi-source data into a single unstructured text space and perform global retrieval in one embedding space, which easily introduces noisy context and makes it difficult to precisely target knowledge for specific lines, sections, or equipment states. To overcome these limitations, we propose CARAG, a context-aware RAG framework tailored to railway O&M data. CARAG treats domain documents and spatial data as a unified knowledge substrate and builds a spatial knowledge graph with concept and instance levels. On top of this knowledge graph, a GraphReAct-based multi-turn interaction mechanism guides the LLM to reason and act over the concept knowledge graph, dynamically navigating to spatially and semantically relevant candidate regions, within which vector retrieval and instance-level graph retrieval are performed. Experiments show that CARAG significantly outperforms baseline RAG methods on RAGAS metrics, confirming the effectiveness of structure-guided multi-step reasoning for question answering over multi-source heterogeneous railway O&M data.

ISPRS International Journal of Geo-InformationVol. 15(2)
Henan University (CN), Tsinghua University (CN)
No poverty
Openalex Percentile: Top 57%
Topic Modeling
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.