Question Answering systems, which integrate Large Language Models (LLMs) with Knowledge Graphs (KGs), aim to reduce hallucination and unsubstantiated answers by grounding responses in structured factual data. However, a limitation persists as knowledge graphs often do not contain all the necessary information to address every question This study aim to propose an approach that balances the advantages of expanded reasoning with the potential pitfalls of noise. Integrating a KG-completion model to strategically expand the knowledge graph, and then employ an iterative node pruning mechanism. This allows for a precise observation of the trade-offs between the advantages of expanded reasoning and the potential pitfalls of noise, ultimately aiming to optimize the KG for improved accuracy and robustness in question answering, moving beyond the limitations of relying solely on smaller, pre-defined subgraphs. This expansion notably influenced the QA-GNN model’s reasoning, leading to improvements in several instances and suggesting that further parameter tuning could yield even more optimal results.
Introduction
Large Language Models (LLMs) have achieved significant progress in natural language processing, particularly in question answering and text generation. However, they have limitations, including a lack of transparency in their decision-making and the generation of incorrect or hallucinated information. Knowledge Graphs (KGs) offer a potential solution by representing factual information as interconnected entities and relationships, enabling structured knowledge retrieval and more reliable reasoning.
The integration of LLMs with KGs can improve the accuracy, interpretability and reasoning capabilities of question-answering systems. While LLMs can extract and generate information from text, KGs provide structured facts that support logical connections and knowledge-based reasoning. This combination can also help identify errors and improve the transparency of generated answers.
The related work discusses three major approaches to KG-based question answering:
Prompt Engineering: Techniques such as KG-GPT, StructGPT, Think-on-Graph and DSLR use carefully designed prompts and retrieved knowledge to improve LLM reasoning. However, they may face limitations related to shallow reasoning, data quality and computational complexity.
Joint Reasoning: Models such as QA-GNN, JointLK, GreaseLM and UniKGQA combine language models with graph-based knowledge to improve question answering. However, challenges remain in handling noisy information, KG quality, architectural complexity and computational efficiency.
Knowledge Graph Completion: Methods such as KG-BERT and COMET predict missing entities and relationships to improve the completeness of knowledge graphs. These methods help expand the available knowledge but may introduce computational costs and factual inconsistencies.
The proposed research aims to improve KG-based question answering by dynamically adding predicted entities and relationships to an existing knowledge graph. Unlike conventional approaches that mainly focus on reasoning within an existing subgraph, the proposed method uses a KG completion model to identify missing connections and intermediate entities. This expands the reasoning space and helps bridge gaps between question entities and answer entities.
The methodology builds upon the QA-GNN architecture. Initially, a working graph is constructed by extracting entities from the question and answer choices and identifying their direct and indirect relationships through common neighbours. Since this graph may contain incomplete connections, a KG completion model predicts missing one-hop and multi-hop relationships. Each predicted entity or relationship is assigned a confidence score.
The completed working graph combines the original question entities, answer entities, other relevant entities and newly predicted entities. Joint reasoning is then performed through iterative message passing, which updates node representations and captures relationships between entities. Selective pruning removes low-conf
Conclusion
This study introduced a novel methodology for expanding the reasoning capabilities of a subgraph, aiming to extend beyond the confines of the initial knowledge graph. By establishing new connections between entities, the study approach successfully bridged existing reasoning gaps. The experimental results clearly indicate that this expansion significantly impacted the reasoning performance of the QA-GNN model. While some cases demonstrated notable improvements, others suggest the need for further parameter adjustments to achieve optimal outcomes.
References
[1] T. B. Brown et al., “Language Models are Few-Shot Learners.” [Online]. Available: https://arxiv.org/abs/2005.14165
[2] W. X. Zhao et al., “A Survey of Large Language Models.” [Online]. Available: https://arxiv.org/abs/2303.18223
[3] L. Ouyang et al., “Training language models to follow instructions with human feedback.” [Online]. Available:
https://arxiv.org/abs/2203.02155
[4] S. Zhang et al., “OPT: Open Pre-trained Transformer Language Models.” [Online]. Available: https://arxiv.org/abs/2205.01068
[5] C. Rudin, “Stop Explaining Black Box Machine Learning Models for High Stakes Decisions and Use Interpretable Models Instead.” Accessed: Dec. 23,
2024. [Online]. Available: https://arxiv.org/abs/2203.02155
[6] J. Li, X. Cheng, W. X. Zhao, J.-Y. Nie, and J.-R. Wen, “HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Models.” [Online]. Available: https://arxiv.org/abs/2305.11747
[7] A. Gunjal, J. Yin, and E. Bas, “Detecting and Preventing Hallucinations in Large Vision Language Models,” Proceedings of the AAAI Conference on
Artificial Intelligence, vol. 38, no. 16, pp. 18135–18143, Mar. 2024, doi: 10.1609/aaai.v38i16.29771.
[8] A. Talmor, J. Herzig, N. Lourie, and J. Berant, “CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledge,” in Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), J. Burstein, C. Doran, and T. Solorio, Eds., Minneapolis, Minnesota: Association for Computational Linguistics, June 2019, pp. 4149–4158. doi: 10.18653/v1/N19-1421.
[9] T. Mihaylov, P. Clark, T. Khot, and A. Sabharwal, “Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answering.” Accessed: Dec. 23, 2024. [Online]. Available: http://arxiv.org/abs/1809.02789
[10] C. E. Quintero-Narvaez and R. Monroy, “Integrating Knowledge Graph Data with Large Language Models for Explainable Inference,” in Proceedings of the 17th ACM International Conference on Web Search and Data Mining, in WSDM \'24. New York, NY, USA: Association for Computing Machinery, Mar. 2024, pp. 1198–1199. doi: 10.1145/3616855.3636507.
[11] X. Guan et al., “Mitigating Large Language Model Hallucinations via Autonomous Knowledge Graph-based Retrofitting.” Accessed: Dec. 23, 2024. [Online]. Available: http://arxiv.org/abs/2311.1331
[12] K. Bollacker, C. Evans, P. Paritosh, T. Sturge, and J. Taylor, “Freebase: a collaboratively created graph database for structuring human knowledge,” in Proceedings of the 2008 ACM SIGMOD international conference on Management of data, in SIGMOD \'08. New York, NY, USA: Association for Computing Machinery, June 2008, pp. 1247–1250. doi: 10.1145/1376616.1376746.
[13] R. Speer, J. Chin, and C. Havasi, “ConceptNet 5.5: An Open Multilingual Graph of General Knowledge.” Accessed: Dec. 23, 2024. [Online]. Available: http://arxiv.org/abs/1612.03975
[14] J. Kim, Y. Kwon, Y. Jo, and E. Choi, “KG-GPT: A General Framework for Reasoning on Knowledge Graphs Using Large Language Models.” Accessed: Dec. 23, 2024. [Online]. Available: http://arxiv.org/abs/2310.11220
[15] J. Jiang, K. Zhou, Z. Dong, K. Ye, W. X. Zhao, and J.-R. Wen, “StructGPT: A General Framework for Large Language Model to Reason over Structured Data.” Accessed: Dec. 23, 2024. [Online]. Available: http://arxiv.org/abs/2305.09645
[16] J. Sun et al., “Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph.” Accessed: July 30, 2024. [Online]. Available: http://arxiv.org/abs/2307.07697
[17] T. Hwang, S. Jeong, S. Cho, S. Han, and J. C. Park, “DSLR: Document Refinement with Sentence-Level Re-ranking and Reconstruction to Enhance Retrieval-Augmented Generation.” Accessed: July 16, 2024. [Online]. Available: http://arxiv.org/abs/2407.03627
[18] M. Yasunaga, H. Ren, A. Bosselut, P. Liang, and J. Leskovec, “QA-GNN: Reasoning with Language Models and Knowledge Graphs for Question Answering,” in Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Online: Association for Computational Linguistics, 2021, pp. 535–546. doi: 10.18653/v1/2021.naacl-main.45.
[19] Y. Sun, Q. Shi, L. Qi, and Y. Zhang, “JointLK: Joint Reasoning with Language Models and Knowledge Graphs for Commonsense Question Answering,” in Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, M. Carpuat, M.-C. de Marneffe, and I. V. Meza Ruiz, Eds., Seattle, United States: Association for Computational Linguistics, July 2022, pp. 5049–5060. doi: .
[20] X. Zhang et al., “GreaseLM: Graph REASoning Enhanced Language Models for Question Answering,” no. arXiv:2201.08860. arXiv, Jan. 2022. . doi: 10.48550/arXiv.2201.08860.
[21] J. Jiang, K. Zhou, X. Zhao, and J.-R. Wen, “UniKGQA: Unified Retrieval and Reasoning for Solving Multi-hop Question Answering Over Knowledge Graph,” presented at the The Eleventh International Conference on Learning Representations, Sept. 2022. Accessed: July 18, 2025. [Online]. Available: https://openreview.net/forum?id=Z63RvyAZ2Vh
[22] L. Yao, C. Mao, and Y. Luo, “KG-BERT: BERT for Knowledge Graph Completion.” Accessed: Dec. 23, 2024. [Online]. Available:
http://arxiv.org/abs/1909.03193
[23] D. Taunk, L. Khanna, P. Kandru, V. Varma, C. Sharma, and M. Tapaswi, “GrapeQA: GRaph Augmentation and Pruning to Enhance Question-Answering.” Accessed: Dec. 23, 2024. [Online]. Available: http://arxiv.org/abs/2303.12320
[24] P. Veli?kovi?, G. Cucurull, A. Casanova, A. Romero, P. Liò, and Y. Bengio, “Graph Attention Networks.” Accessed: Dec. 23, 2024. [Online]. Available: http://arxiv.org/abs/1710.10903
[25] A. Talmor, J. Herzig, N. Lourie, and J. Berant, “CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledge,” in Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), J. Burstein, C. Doran, and T. Solorio, Eds., Minneapolis, Minnesota: Association for Computational Linguistics, June 2019, pp. 4149–4158. . doi: 10.18653/v1/N19-1421.
[26] B. Y. Lin, X. Chen, J. Chen, and X. Ren, “KagNet: Knowledge-Aware Graph Networks for Commonsense Reasoning,” in Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), K. Inui, J. Jiang, V. Ng, and X. Wan, Eds., Hong Kong, China: Association for Computational Linguistics, Nov. 2019, pp. 2829–2839. doi: 10.18653/v1/D19-1282.
[27] A. Bosselut, H. Rashkin, M. Sap, C. Malaviya, A. Çelikyilmaz, and Y. Choi, “COMET: Commonsense Transformers for Automatic Knowledge Graph Construction,” in Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (ACL), 2019.