Extracting Reasoning Patterns from Knowledge Graph to Enhance LLMs' Reasoning Capability
Abstract
Large language models (LLMs) have demonstrated great potential across diverse fields. However, their reasoning capabilities face challenges, especially when dealing with complex tasks. Existing work on enhancing LLMs' reasoning abilities mostly focuses on fields like mathematics and coding. Due to the specificity of domain data, these methods have poor generalization in specific areas such as medicine and materials. In this work, we propose an approach to enhance LLMs' reasoning capabilities in these fields lacking reasoning datasets. We construct reasoning datasets based on the logical relationships contained in their knowledge graphs. First, we clean the metadata, focus on a specific sub-field, and optimize data quality to construct a specialized knowledge graph. Then, we design seven knowledge graph patterns to extract instances, transform them into natural-language questions, and sample using the Deepseek-R1 model to build a reasoning dataset. We fine-tune the Qwen2.5-32B model with this dataset. Experimental results show that in the Relevance dimension, the score of Qwen2.5-32B improves from 45 to 98.57, with a remarkable increase of about 119.04%. In the Logic dimension, the score rises from 76.87 to 87.2, representing an increase of approximately 13.44%. This validates the effectiveness of our method. In these two aspects, the fine-tuned model reaches or approaches the level of advanced LLMs such as Deepseek-R1 and OpenAI 01, indicating that our approach can effectively enhance LLMs' reasoning ability.
BibTeX
@misc{yang2025extracting,
author = {Tao Yang and Yuanzhao Zhai and Huanxi Liu and Dawei Feng and Huaimin Wang},
title = {{Extracting Reasoning Patterns from Knowledge Graph to Enhance LLMs' Reasoning Capability}},
year = {2025},
doi = {10.1109/jcc67032.2025.00010},
}Ask Althea to put this paper to the test.
Loading related content...