Constructing a Retrieval-Augmented Generation Knowledge Base for Urban Rail Transit Large Language Models: A Knowledge Graph-Based Approach
Article
Figures
Metrics
Preview PDF
Reference
Related
Cited by
Materials
Abstract:
Data plays a crucial role in the successful deployment of urban rail transit large language models (LLMs). Retrieval- Augmented Generation (RAG) technology emerges as a promising approach for developing industry-specific LLMs and mitigating hallucination issues. However, the lack of comprehensive industry knowledge bases hinders its effectiveness. This study proposes a novel framework for constructing a knowledge graph-based RAG knowledge base for urban rail transit LLMs. This framework consists of four key dimensions: classification skeleton, semantic benchmark, feature rules, and logical relationships. These dimensions are implemented through entity classification systems, terminology dictionaries, attribute libraries, and entity relationship tables, respectively. By incorporating industry-specific attributes for entities, this approach goes beyond the traditional subject-predicate-object triple structure of knowledge graphs, resulting in a comprehensive and multi-faceted representation of industry knowledge. This knowledge base serves as the core component of the RAG system, providing standardized, reliable, and traceable domain knowledge through a systematic pipeline of data collection, structuring, vectorization, and knowledge representation. This process significantly enhances the reliability and domain expertise of the content generated by urban rail transit LLMs, paving the way for a new era driven by both data and knowledge.