Hybrid Semantic Retrieval-Augmented Generation Using Dual Large Language Models for Domain-Specific Question Answering
DOI:
https://doi.org/10.52436/1.jutif.2026.7.5.5755Keywords:
BM25, Dual Large Language Models, Hybrid Retrieval, Question Answering, Reciprocal Rank Fusion, Retrieval-Augmented GenerationAbstract
The deployment of large language models (LLMs) in enterprise environments faces two fundamental challenges: single-search strategies are unable to effectively handle the structural heterogeneity of operational queries, and LLM generation without external grounding is prone to producing hallucinations on structured domain data. This research aims to design and evaluate a Hybrid Semantic Retrieval-Augmented Generation (Hybrid RAG) system that integrates a dual-LLM routing mechanism to address both issues simultaneously. The proposed system combines FAISS-based dense vector retrieval and sparse BM25 retrieval fused via Reciprocal Rank Fusion (RRF), accompanied by a routing module that directs domain-specific queries to a context-aware LLM (Grok) and general queries to a broadly knowledgeable parametric LLM (Gemini). Evaluation was conducted on 200 labeled queries using the RAGAS framework with an ablation study of six system configurations. The proposed system achieves a Faithfulness of 0.91, Answer Relevance of 0.87, Context Precision of 0.81, Context Recall of 0.86, Mean Reciprocal Rank of 0.84, and a routing accuracy of 93.5% meeting all seven set target thresholds. Ablation studies demonstrate that RRF fusion improves Context Recall by up to 30.3% compared to the dense-only baseline, while dual-LLM routing yields a 68.5% increase in Faithfulness relative to the baseline without RAG. These findings indicate that the combination of retrieval and dual-LLM routing produces a synergistic effect that cannot be achieved by either component alone, thereby providing a practical and scalable solution for structured operational data-based question-answering systems in enterprise environments.
Downloads
References
M. U. Hadi et al., “Large Language Models: A Comprehensive Survey of its Applications, Challenges, Limitations, and Future Prospects,” TechRxiv, vol. 2023, no. 0921, Apr. 2026, doi: 10.36227/techrxiv.23589741.v3.
L. M. Amugongo, P. Mascheroni, S. Brooks, S. Doering, and J. Seidel, “Retrieval augmented generation for large language models in healthcare: A systematic review,” PLOS Digit. Heal., vol. 4, no. 6, p. e0000877, 2025, doi: 10.1371/journal.pdig.0000877.
T. Brown et al., “Language Models are Few-Shot Learners,” in Advances in Neural Information Processing Systems, H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, Eds., Curran Associates, Inc., 2020, pp. 1877–1901. [Online]. Available: https://proceedings.neurips.cc/paper_files/paper/2020/file/1457c0d6bfcb4967418bfb8ac142f64a-Paper.pdf
Y. Chang et al., “A Survey on Evaluation of Large Language Models,” ACM Trans. Intell. Syst. Technol., vol. 15, no. 3, Mar. 2024, doi: 10.1145/3641289.
E. Karakurt and A. Akbulut, “Retrieval-Augmented Generation (RAG) and Large Language Models (LLMs) for Enterprise Knowledge Management and Document Automation: A Systematic Literature Review,” Appl. Sci., vol. 16, no. 1, 2026, doi: 10.3390/app16010368.
J. Kim, A. Podlasek, K. Shidara, F. Liu, A. Alaa, and D. Bernardo, “Limitations of large language models in clinical problem-solving arising from inflexible reasoning,” Sci. Rep., vol. 15, no. 1, p. 39426, 2025, doi: 10.1038/s41598-025-22940-0.
D. Anh-Hoang, V. Tran, and L.-M. Nguyen, “Survey and analysis of hallucinations in large language models: attribution to prompting strategies or model behavior,” Front. Artif. Intell., vol. Volume 8-2025, 2025, doi: 10.3389/frai.2025.1622292.
L. Huang et al., “A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questions,” ACM Trans. Inf. Syst., vol. 43, no. 2, Jan. 2025, doi: 10.1145/3703155.
M. Murtiyoso, I. Tahyudin, and B. Berlilana, “A Systematic Review of Retrieval-Augmented Generation for Enhancing Domain-Specific Knowledge in Large Language Models,” Sink. J. dan Penelit. Tek. Inform., vol. 9, no. 2, pp. 969–977, 2025.
S. Siriwardhana, R. Weerasekera, E. Wen, T. Kaluarachchi, R. Rana, and S. Nanayakkara, “Improving the Domain Adaptation of Retrieval Augmented Generation (RAG) Models for Open Domain Question Answering,” Trans. Assoc. Comput. Linguist., vol. 11, pp. 1–17, Jan. 2023, doi: 10.1162/tacl_a_00530.
A. James, M. Trovati, and S. Bolton, “Retrieval-Augmented Generation to Generate Knowledge Assets and Creation of Action Drivers,” Appl. Sci., vol. 15, no. 11, 2025, doi: 10.3390/app15116247.
D. Qianyan and Q. Yi, “Question-answering model based on multi-source heterogeneous data fusion and knowledge graph,” IET Conf. Proc., vol. 2025, no. 39, pp. 1090–1096, Apr. 2026, doi: 10.1049/icp.2025.4630.
Q. Zhai, W. Zhu, X. Zhang, and C. Liu, “Contrastive Refinement for Dense Retrieval Inference in the Open-Domain Question Answering Task,” Futur. Internet, vol. 15, no. 4, 2023, doi: 10.3390/fi15040137.
A. Askari, A. Abolghasemi, G. Pasi, W. Kraaij, and S. Verberne, “Injecting the score of the first-stage retriever as text improves BERT-based re-rankers,” Discov. Comput., vol. 27, no. 1, p. 15, 2024.
J. Lin, “A proposed conceptual framework for a representational approach to information retrieval,” SIGIR Forum, vol. 55, no. 2, Mar. 2022, doi: 10.1145/3527546.3527552.
Y. Wan, Z. Chen, Y. Liu, C. Chen, and M. Packianather, “Empowering LLMs by hybrid retrieval-augmented generation for domain-centric Q&A in smart manufacturing,” Adv. Eng. Informatics, vol. 65, p. 103212, 2025, doi: https://doi.org/10.1016/j.aei.2025.103212.
S. Xu, Z. Yan, C. Dai, and F. Wu, “MEGA-RAG: a retrieval-augmented generation framework with multi-evidence guided answer refinement for mitigating hallucinations of LLMs in public health,” Front. Public Heal., vol. 13, 2025, doi: 10.3389/fpubh.2025.1635381.
T. Dillan, S. M. Isa, A. S. Girsang, and D. Suhartono, “Adaptive Multimodal Fusion Architecture for Heterogeneous Embedding Spaces in Retrieval-Augmented Generation Systems,” IEEE Access, vol. 14, pp. 43304–43333, 2026, doi: 10.1109/ACCESS.2026.3675234.
S. Bruch, S. Gai, and A. Ingber, “An Analysis of Fusion Functions for Hybrid Retrieval,” ACM Trans. Inf. Syst., vol. 42, no. 1, Aug. 2023, doi: 10.1145/3596512.
W. Chen, X. Ma, J. Zeng, Y. Duan, and G. Zhong, “Hierarchical quantization for billion-scale similarity retrieval on GPUs,” Comput. Electr. Eng., vol. 90, p. 107002, 2021, doi: https://doi.org/10.1016/j.compeleceng.2021.107002.
Z. Liu, P. Guo, and P. Wang, “LLMSwitchBench: A New Edge-Cloud Routing Benchmark for Smart Home LLM Inference,” IEEE Access, vol. 5, p. 1, 2025, doi: 10.1109/ACCESS.2025.3632276.
A. Algherairy and M. Ahmed, “Prompting large language models for user simulation in task-oriented dialogue systems,” Comput. Speech Lang., vol. 89, p. 101697, 2025, doi: https://doi.org/10.1016/j.csl.2024.101697.
Y. Zheng et al., “A survey on large language models driven meta-optimizers for automated intelligent optimization,” Artif. Intell. Rev., vol. 59, no. 2, p. 72, 2026, doi: 10.1007/s10462-025-11470-w.
A. Oarga, M. Hart, A. M. Bran, M. Lederbauer, and P. Schwaller, “Scientific knowledge graph and ontology generation using open large language models,” Digit. Discov., vol. 5, no. 3, pp. 1269–1279, 2026.
M. S. M. Pozi and Y. Sato, “A data-augmented model routing framework for efficient LLM deployment in edge–cloud environments,” J. Supercomput., vol. 81, no. 17, p. 1573, 2025, doi: 10.1007/s11227-025-08034-8.
G. Ding, S. Yang, H. Lin, Z. Chen, and J. S. Yang, “LLM-Driven Adaptive Cloud Resource Scheduling: Bridging Reasoning Intelligence With Optimization Guarantees,” IEEE Open J. Comput. Soc., vol. 7, pp. 560–573, 2026, doi: 10.1109/OJCS.2026.3667549.
D. Ru et al., “RAGChecker: A Fine-grained Framework for Diagnosing Retrieval-Augmented Generation,” in Advances in Neural Information Processing Systems, A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang, Eds., Curran Associates, Inc., 2024, pp. 21999–22027. doi: 10.52202/079017-0692.
C. Ling et al., “Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Survey,” ACM Comput. Surv., vol. 58, no. 3, Oct. 2025, doi: 10.1145/3764579.
Additional Files
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Synthia Indira Prastica, Reza Mahendra Saputra, Wildan Suharso

This work is licensed under a Creative Commons Attribution 4.0 International License.

</a



