Explore What LLM Does Not Know in Complex Question Answering

Xin Lin, Zhenya Huang, Zhiqiang Zhang, Jun Zhou, Enhong Chen

Introduction

Large Language Models (LLMs) have demonstrated remarkable reasoning capabilities but continue to struggle with hallucinations and factual knowledge gaps. Retrieval-Augmented Generation (RAG) is a common solution, fetching external documents to ground the model's responses. However, standard RAG often retrieves information the LLM already knows or information that is relevant by keyword but useless for reasoning. This inefficiency leads to increased computational costs and potential distractions for the model.

An example of an LLM's knowledge boundary: it knows the person but not their specific birth date, necessitating targeted retrieval.

The Knowledge Boundary Problem

A primary challenge in RAG is defining the "knowledge boundary"—the precise limit of what an LLM knows. Existing methods often rely on internal token generation probabilities to trigger retrieval, which is unreliable and inaccessible for black-box APIs like GPT-4. Furthermore, retrievers typically prioritize relevance (keyword overlap) over utility (actual helpfulness for reasoning). Feeding an LLM relevant but unhelpful text can mislead its reasoning and bloat API costs.

The KEQA Framework

To address these issues, we introduce KEQA (Question Answering with Knowledge Evaluation). KEQA treats the LLM as a student, evaluating its knowledge through a two-step process: Quiz-Based Knowledge Evaluation (QKE) and Utility-Guided Knowledge Picking (UKP).

The KEQA architecture, illustrating the decomposition of complex questions into quizzes, consistency-based assessment, and utility-guided knowledge picking.

1. Quiz-Based Knowledge Evaluation (QKE)

Instead of inspecting model weights, KEQA decomposes complex questions into simple, single-fact sub-questions called "quizzes." The LLM is asked to answer each quiz multiple times (e.g., five iterations). A smaller, local model (such as LLaMA-7B) serves as a semantic judge. If the LLM provides semantically consistent answers across all attempts, it is deemed to "know" the fact. Inconsistency indicates the model has reached its knowledge boundary, triggering a targeted retrieval request.

2. Utility-Guided Knowledge Picking (UKP)

For quizzes where the LLM fails, candidate documents are retrieved. Rather than passing all top-K documents, KEQA evaluates their utility. Using a reference set derived from training data, a discriminator predicts whether a specific piece of retrieved text will actually assist the LLM in reaching the correct answer. Only high-utility documents are included in the final reasoning prompt.

Experimental Evaluation

KEQA was evaluated on four major QA benchmarks, using samples of 500 instances per dataset:

  • NaturalQuestions (NQ): One-hop QA.
  • StrategyQA: Multi-hop, yes/no reasoning.
  • HotpotQA & 2WikiMultihopQA (2WMQA): Complex, multi-hop open-ended QA.

Key Results

Superior Accuracy and Efficiency

KEQA consistently outperformed vanilla RAG and advanced baselines like ReAct, IRCoT, and Self-RAG. On the NaturalQuestions dataset, KEQA achieved an F1 score of 0.483, significantly higher than Vanilla RAG (0.385) and FLARE (0.455).

Massive Resource Savings

By only retrieving information for specific "failed quizzes," KEQA drastically reduces overhead:

  • Retrieval Calls: On NQ, KEQA averaged 0.138 calls per question, compared to IRCoT's 1.46.
  • Token Usage: KEQA used an average of 239 tokens per question on NQ, a massive reduction from IRCoT’s 2024 tokens and FLARE’s 1367 tokens.

Discussion and Limitations

While KEQA offers significant gains, it introduces some structural overhead. Asking the LLM the same quiz five times increases latency, though this can be mitigated through parallelization. Additionally, the performance of the semantic judge and the utility discriminator are critical; using larger models or fine-tuning these components could further enhance the framework's reliability.

Conclusion

KEQA demonstrates that semantic consistency is a powerful proxy for model knowledge. By focusing on utility over simple relevance and targeting only the specific knowledge gaps of an LLM, KEQA provides a more accurate, cost-effective, and robust approach to complex question answering in the RAG paradigm.

Summary updated

BibTeX
@inproceedings{lin2025explore,
  author = {Xin Lin and Zhenya Huang and Zhiqiang Zhang and Jun Zhou and Enhong Chen},
  title = {{Explore What LLM Does Not Know in Complex Question Answering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i23.34638},
}
Figure