Extending TriRAG for Advancing Retrieval-Augmented Generation Method with Triple-Based Knowledge Graphs for Improved Question Answering

While large language models exhibit broad capabilities, they often require supplementation for optimal performance on domain-specific tasks. To address this, we built TriRAG, an innovative enhancement to traditional Retrieval-Augmented Generation. This paper presents an extended version of our earlier TriRAG work. TriRAG integrates a structured knowledge graph composed of semantic triples derived from text, significantly improving the performance of LLMs on multiple-choice question-answering tasks. Our method dynamically converts relevant text into triples, embeds them into vectors, and retrieves the most useful triples for a given question by calculating vector similarities. By having the triple-based approach instead of the conventional text-based retrieval approach, TriRAG enables more precise and efficient information retrieval. This directly enhances the accuracy of LLM-generated responses in multiple-choice question-answering tasks. We evaluate TriRAG using the Textbook Question Answering dataset, demonstrating consistent improvements over traditional RAG methods across leading LLMs, including Gemma, Llama, and ChatGPT variants. Experimental results and ablation studies confirm that our triple-based system enhances both retrieval accuracy and processing efficiency, leading to better overall model performance.

Authors

Institutions

Publication Details

Journal
International Journal of Semantic Computing
Published
2025-10-11
DOI
https://doi.org/10.1142/s1793351x25450023
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

Extending TriRAG for Advancing Retrieval-Augmented Generation Method with Triple-Based Knowledge Graphs for Improved Question Answering

M. Omair Shafiq, Hongzhi Zhang
International Journal of Semantic Computing
Topic Modeling
article

Extending TriRAG for Advancing Retrieval-Augmented Generation Method with Triple-Based Knowledge Graphs for Improved Question Answering

M. Omair Shafiq, Hongzhi Zhang
article en

Abstract

While large language models exhibit broad capabilities, they often require supplementation for optimal performance on domain-specific tasks. To address this, we built TriRAG, an innovative enhancement to traditional Retrieval-Augmented Generation. This paper presents an extended version of our earlier TriRAG work. TriRAG integrates a structured knowledge graph composed of semantic triples derived from text, significantly improving the performance of LLMs on multiple-choice question-answering tasks. Our method dynamically converts relevant text into triples, embeds them into vectors, and retrieves the most useful triples for a given question by calculating vector similarities. By having the triple-based approach instead of the conventional text-based retrieval approach, TriRAG enables more precise and efficient information retrieval. This directly enhances the accuracy of LLM-generated responses in multiple-choice question-answering tasks. We evaluate TriRAG using the Textbook Question Answering dataset, demonstrating consistent improvements over traditional RAG methods across leading LLMs, including Gemma, Llama, and ChatGPT variants. Experimental results and ablation studies confirm that our triple-based system enhances both retrieval accuracy and processing efficiency, leading to better overall model performance.

International Journal of Semantic ComputingVol. 19(04)
Carleton University (CA)
Openalex Percentile: Top 85%
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.

Extending TriRAG for Advancing Retrieval-Augmented Generation Method with Triple-Based Knowledge Graphs for Improved Question Answering — M. Omair Shafiq, Hongzhi Zhang · International Journal of Semantic Computing (2025) | TGRS Research Map | TGRS