Harnessing Large Language Models for Knowledge Graph Question Answering via Adaptive Multi-Aspect Retrieval-Augmentation

Derong Xu, Xinhang Li, Ziheng Zhang, Zhenxi Lin, Zhihong Zhu, Zhi Zheng, Xian Wu, Tong Xu, Enhong Chen

Abstract

Knowledge Graph Question Answering (KGQA) systems often struggle with "context bloat" and noise when Large Language Models (LLMs) are augmented with retrieved data. We introduce AMAR (Adaptive Multi-Aspect Retrieval-augmented), a framework designed to selectively integrate retrieved knowledge. By aligning information across three distinct aspects—entities, relations, and subgraphs—and utilizing a "soft gate" mechanism to filter irrelevant data, AMAR achieves new state-of-the-art results on complex reasoning benchmarks, including WebQSP and CWQ.

Introduction

While Large Language Models (LLMs) demonstrate remarkable reasoning capabilities, they are prone to hallucinations and rely on static training data. Retrieval-Augmented Generation (RAG) addresses these issues by providing models with external facts from Knowledge Graphs (KGs). However, current KG-RAG methods often suffer from a "noise" problem. Retrieving a vast array of entities, relations, and structural data can lead to context bloat, where irrelevant information misleads the LLM and causes it to lose focus on the original query. The central challenge lies in providing comprehensive multi-aspect knowledge without overwhelming the model with noise.

The AMAR Framework

The AMAR framework moves beyond simple text-based prompting by processing knowledge through several specialized modules designed for alignment and relevance.

The AMAR framework architecture, highlighting the Multi-Aspect Knowledge retrieval, Self-Alignment, and Relevance Gating modules.

1. Multi-Aspect Retrieval

AMAR retrieves three types of information to provide a holistic view of the KG:

  • Entities: Specific objects mentioned in the query (e.g., "Oceania").
  • Relations: The semantic links between objects (e.g., "location.contains").
  • Subgraphs: Local neighborhood structures that provide essential context.

2. Self-Alignment Module

This module identifies consistencies across the retrieved aspects. For instance, if both an entity and a subgraph reference "Oceania," the system flags this as high-confidence information. Using self-attention and cross-attention mechanisms, the module generates consistency tokens that represent these aligned facts.

3. Relevance Gating Module

To ensure that consistent information is also pertinent to the specific question, AMAR employs a Siamese network architecture. This "twin-tower" setup calculates a relevance score between the question and the consistency tokens, acting as a soft gate. This weights useful information more heavily while effectively filtering out irrelevant noise.

4. Prompt Embedding Integration

Rather than appending raw text to a prompt, AMAR feeds these weighted consistency tokens into the LLM as specialized prompt embeddings. This allows the model to process retrieved knowledge more efficiently than reading lengthy, noisy paragraphs.

Experimental Evaluation

The framework was evaluated on two primary KGQA benchmarks:

  • WebQuestionsSP (WebQSP): Focuses on 1-hop and 2-hop reasoning on Freebase.
  • ComplexWebQuestions (CWQ): Requires multi-hop reasoning, superlatives, and comparisons.

Key Results

AMAR demonstrated superior performance across all metrics, outperforming 22 baseline models.

Performance comparison of AMAR against 22 baseline models on WebQSP and CWQ datasets.

As shown in the results table, AMAR achieved a 1.9% improvement in accuracy over the previous state-of-the-art (ChatKBQA) on WebQSP. Furthermore, it showed a 6.6% improvement in generating correct logical forms (S-expressions) compared to standard text-appending methods.

Discussion and Insights

The authors identified several key phenomena during their analysis:

  • The "More is Less" Paradox: Standard RAG performance typically drops as the volume of retrieved items increases due to noise. AMAR mitigates this, maintaining high performance even with over 100 retrieved items.
  • The Primacy of Relations: Ablation studies revealed that "Relations" are the most critical aspect of retrieval. Removing relation data resulted in a more significant performance drop than removing entities or subgraphs, as relations define the logical paths for reasoning.
  • Hallucination Reduction: By requiring agreement between different data types (e.g., text entities vs. graph structures), the system filters out erroneous retrieval results that lack cross-aspect support.

Conclusion and Future Work

AMAR represents a significant step forward in robust KG-RAG. However, limitations remain. Currently, the framework focuses on 1-hop subgraphs to manage computational costs; expanding to multi-hop subgraphs could further enhance complex reasoning. Additionally, while the system handles common entity variations well, it still faces challenges with "long-tail" or extremely rare entities. Future research will explore better regularization for larger model backbones and more efficient multi-hop graph processing.

Summary updated

BibTeX
@inproceedings{xu2025harnessing,
  author = {Derong Xu and Xinhang Li and Ziheng Zhang and Zhenxi Lin and Zhihong Zhu and Zhi Zheng and Xian Wu and Xiangyu Zhao and Tong Xu and Enhong Chen},
  title = {{Harnessing Large Language Models for Knowledge Graph Question Answering via Adaptive Multi-Aspect Retrieval-Augmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i24.34747},
}
Figure