# OA-RAG: Ontology-based Agentic RAG for Faithful LLM Reasoning

DevFeed: [OA-RAG: Ontology-based Agentic RAG for Faithful LLM Reasoning](<https://devfeed.tech/articles/oa-rag-ontology-based-agentic-rag-for-faithful-llm-reasoning-103118.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.36335>)

Author: Hui Yang, Jiaoyan Chen, Yongsheng Gao

Published: 2026-10-28T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [formal](<https://devfeed.tech/tags/formal.md>), [grounding](<https://devfeed.tech/tags/grounding.md>), [healthcare](<https://devfeed.tech/tags/healthcare.md>), [knowledge](<https://devfeed.tech/tags/knowledge.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-reasoning](<https://devfeed.tech/tags/llm-reasoning.md>), [medical](<https://devfeed.tech/tags/medical.md>), [ontologies](<https://devfeed.tech/tags/ontologies.md>), [ontology](<https://devfeed.tech/tags/ontology.md>), [performance](<https://devfeed.tech/tags/performance.md>), [rag](<https://devfeed.tech/tags/rag.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [retrieval-augmented-generation](<https://devfeed.tech/tags/retrieval-augmented-generation.md>), [retrieval-augmented-generation-rag](<https://devfeed.tech/tags/retrieval-augmented-generation-rag.md>), [sources](<https://devfeed.tech/tags/sources.md>)

## AI overview

OA-RAG combines formal reasoning over domain ontologies with LLM reasoning, using both ontology relationships and informal annotations. For each answer, it reports the ontology observations used as evidence and assigns a model-assessed grounding level: entailed, supported, related, or unrelated. Across benchmarks from three large ontologies and six medical question-answering tasks, the abstract reports the best overall performance among evaluated ontology-fine-tuned and popular RAG methods, especially on reasoning-intensive tasks. Stronger grounding generally aligns with higher accuracy, though the levels are described as an indication of reliability. OA-RAG is also reported as competitive with, and sometimes better than, domain-specific RAG systems using sources such as textbooks.

## Source excerpt

arXiv:2610.36335v1 Announce Type: new Abstract: Large language models (LLMs) perform well across many real-world tasks but remain prone to hallucination, limiting their reliability in domains such as biomedicine and healthcare, where answers must be grounded in established knowledge. Retrieval-augmented generation (RAG) mitigates this problem by incorporating external information, but often overlooks logical relationships and relies heavily on the LLM's own reasoning, which can compromise answer faithfulness. We propose OA-RAG, an agent that integrates formal reasoning with LLM reasoning, drawing on both the logical structure and informal annotations of domain ontologies. For each answer, OA-RAG reports the ontology observations used as evidence and a model-assessed grounding level (entailed, supported, related, or unrelated) that characterises the strength of that evidence. Across benchmarks derived from three large-scale ontologies and six real-world medical question-answering tasks, OA-RAG achieves the best overall performance among the evaluated ontology-fine-tuned and popular RAG methods, with particularly strong results on reasoning-intensive tasks. The reported grounding levels also offer a useful indication of answer reliability, with stronger grounding generally associated with higher accuracy. Finally, our results demonstrate the value of ontologies as knowledge sources: OA-RAG is competitive with, and sometimes outperforms, domain-specific RAG systems that draw on sources such as textbooks.