EXPLAIN: Enhancing Retrieval-Augmented Generation with Entity Summary

Yu‐Chiao Liang, Xiao Liu, Jiajun Yu, Zhenhao Fang, Qunsheng Zou, Linghan Zheng, Yong Li, Zhiwei Liu, Haishuai Wang2025

Abstract

EXPLAIN (Extracting, Pre-summarizing, Linking, and Enhancing RAG) is a novel framework designed to improve the accuracy and efficiency of Retrieval-Augmented Generation (RAG). By replacing irrelevant document noise with concise, entity-centric summaries, the system achieves performance comparable to expensive long-context models while maintaining the low token costs of standard RAG. Evaluated across multiple benchmarks, including HotpotQA and QuALITY, EXPLAIN demonstrates significant gains in F1 scores and comprehensiveness, particularly in complex multi-hop reasoning tasks.

Introduction

Large Language Models (LLMs) currently face a significant trade-off in document-based question answering. Standard RAG systems are computationally efficient because they retrieve only the most relevant snippets, yet they often fail to capture the broader context necessary for accurate reasoning. Conversely, Long-Context (LC) models ingest entire documents to ensure accuracy, but at a high cost in terms of latency and token usage. The EXPLAIN framework addresses this "Goldilocks" problem by identifying and summarizing key entities, providing the model with high-density information without the overhead of full-document processing.

Methodology

The EXPLAIN framework consists of a four-stage pipeline designed to transform raw document chunks into structured, information-rich context for the LLM.

The EXPLAIN framework architecture showing the stages of entity extraction, summarization, and enhanced retrieval.
  1. Entity Extraction: The system identifies significant entities within document chunks using a hybrid approach. It utilizes the spaCy library for high-speed processing and LLMs for high-precision extraction when necessary.
  2. Entity Linking: To resolve coreferences and variations (e.g., mapping "AI" to "Artificial Intelligence"), the framework employs an algorithm based on n-gram Jaccard Similarity and a Union-Find data structure to group related terms.
  3. Pre-summarization: For each identified entity, an LLM generates a concise summary describing its role and significance based on its various mentions throughout the document. This creates a "profile" that acts as a global information anchor.
  4. Enhanced Retrieval: During the inference phase, the system retrieves both standard document chunks and entity summaries. It then performs a strategic "swap," replacing low-relevance document chunks with high-scoring entity summaries. This ensures the final prompt contains both specific local details and essential global context.

Experimental Results

The researchers evaluated EXPLAIN against several baselines, including Standard RAG and Long-Context models, across four major benchmarks: HotpotQA, 2WikiMQA, QuALITY, and a large-scale internal QA dataset from Ant Group.

Comparative performance of EXPLAIN against standard RAG and long-context baselines across multiple benchmarks.

Key Findings

  • Accuracy Improvements: EXPLAIN consistently outperformed standard RAG. On HotpotQA, it achieved an F1 score of 60.33% (vs. 56.70% for standard RAG). On 2WikiMQA, the improvement was even more pronounced, jumping from 56.38% to 62.78%.
  • Token Efficiency: In the QuALITY benchmark, EXPLAIN matched the accuracy of long-context approaches while using significantly fewer tokens. Notably, it used approximately 200 fewer tokens than standard RAG while delivering superior results.
  • Real-World Performance: Following a production deployment at Ant Group, human evaluators reported that EXPLAIN was nearly twice as comprehensive as the baseline RAG system, with a 30.04% win rate compared to the baseline's 16.26%.
  • Reliability: The inclusion of entity summaries did not lead to increased hallucinations, with the system maintaining a low hallucination rate of approximately 2.5%.

Discussion and Conclusion

The success of EXPLAIN highlights the value of using summaries as "information anchors." By providing a high-level map of entities, the model can better navigate specific document details. The "replacement" strategy is a key innovation, allowing the system to increase the signal-to-noise ratio without increasing the total token count.

While highly effective, the authors note that the additional context can sometimes lead to less direct answers in human evaluations. Future work will focus on refining the entity extraction pipeline to reduce noise and optimizing the computational costs associated with the initial indexing and summarization phase. Overall, EXPLAIN represents a significant step toward making high-precision document QA both affordable and scalable.

Summary updated

BibTeX
@misc{liang2025explain,
  author = {Yu‐Chiao Liang and Xiao Liu and Jiajun Yu and Zhenhao Fang and Qunsheng Zou and Linghan Zheng and Yong Li and Zhiwei Liu and Haishuai Wang},
  title = {{EXPLAIN: Enhancing Retrieval-Augmented Generation with Entity Summary}},
  year = {2025},
  doi = {10.18653/v1/2025.acl-industry.108},
}
Figure