From Superficial to Deep: Integrating External Knowledge for Follow-up Question Generation Using Knowledge Graph and LLM

Jianyu Liu, Yi Huang, Sheng Bi, Junlan Feng, Guilin Qi

Abstract

In conversational systems, dynamically generating follow-up questions based on context can help users explore information and provide a better user experience. Humans are usually able to ask questions that involve some general life knowledge and demonstrate higher-order cognitive skills. However, the questions generated by existing methods are often limited to shallow contextual questions that are uninspiring and have a large gap to the human level. In this paper, we propose a three-stage external knowledge-enhanced follow-up question generation method, which generates questions by identifying contextual topics, constructing a knowledge graph (KG) online, and finally combining these with a large language model to generate the final question. The model generates information-rich and exploratory follow-up questions by introducing external common sense knowledge and performing a knowledge fusion operation. Experiments show that compared to baseline models, our method generates questions that are more informative and closer to human questioning levels while maintaining contextual relevance.

Introduction

Most current conversational systems are primarily reactive, excelling at answering queries but struggling to lead a dialogue. When these systems attempt to ask follow-up questions, the results are often "superficial"—they rephrase existing context rather than introducing new, relevant concepts. This paper, presented at COLING 2025, introduces a novel framework to bridge this gap by teaching AI to ask "deep" follow-up questions using external knowledge.

The Challenge: Superficiality in Conversational AI

Humans utilize higher-order cognitive skills to make associative leaps during conversation. For instance, if discussing eye color, a human might associate the topic with biological pigments like melanin to ask a deep question about color warmth. Existing models lack this ability because they rely solely on the immediate dialogue context.

Figure 1: Comparison between human-like informative follow-up questions and superficial machine-generated ones.

As shown in Figure 1, standard machine-generated questions tend to be slightly related but superficial, whereas human questions are informative and strongly related to the underlying concepts of the topic.

The Proposed Framework: Recognition, Selection, and Fusion

The researchers developed a three-stage pipeline designed to move beyond surface-level repetitions by integrating structured reasoning from Knowledge Graphs (KGs) with the creative synthesis of Large Language Models (LLMs).

Figure 2: The three-stage external knowledge-enhanced follow-up question generation pipeline.

1. Recognition

The system first extracts a "Topic" and "Keywords" from the dialogue using an LLM. It then queries Wikipedia to retrieve relevant pages. A T5-based re-ranker is employed to select the single most relevant "topic entity" page, ensuring the external knowledge source is grounded in the conversation's core subject.

2. Selection

Using the llmgraph tool, the system constructs a real-time Knowledge Graph centered on the selected Wikipedia entity. To find the most effective piece of external knowledge, the model evaluates graph nodes based on two dimensions:

  • Node Importance (Î): Calculated using PageRank and Random Walks to determine global significance.
  • Semantic Similarity (Ŝ): Measured using BERT embeddings to ensure contextual relevance.

3. Fusion

Rather than simple concatenation, the framework uses a "text continuation" task. The LLM is prompted to "continue writing" a paragraph that bridges the current dialogue with the retrieved Wikipedia knowledge. This process forces the model to internalize the relationship between the context and the new information before generating the final follow-up question.

Experimental Setup and Datasets

The study utilizes the FOLLOWUPQG dataset, derived from the Reddit sub-forum Explain Like I’m Five (ELI5). This dataset contains 3,790 samples, each featuring an initial question, a self-contained answer, and a human-written follow-up. ELI5 is an ideal benchmark because it requires a blend of common sense and causal reasoning to generate meaningful follow-ups.

Key Results and Insights

The proposed method was benchmarked against several baselines, including fine-tuned models (BART, T5) and state-of-the-art LLMs (LLaMA3, Qwen2, GPT-3.5-turbo).

  • Quantitative Performance: The model achieved superior scores in Distinct-1 and Type-Token Ratio (TTR), indicating more diverse and less repetitive output. Notably, it achieved the lowest Mutual Information (MI) score; in this context, lower MI signifies that the follow-up question contains more "new" information relative to the prompt.
  • Human Evaluation: In human trials, the method showed an 18% improvement in Complexity over top baselines. In head-to-head preference tests, users preferred the proposed method's questions 42.8% of the time, significantly outperforming the next best model (Qwen2 at 25.2%).
  • Balancing Knowledge: The researchers found that a 1:1 balance between node importance and semantic similarity produced the most fluent and relevant results.

Conclusion and Future Work

By integrating online Knowledge Graph construction with LLM-based fusion, this framework successfully generates follow-up questions that mimic human curiosity. While currently dependent on Wikipedia and computationally intensive, future work aims to optimize the pipeline for real-time applications and expand the knowledge sources to more specialized domains.

Summary updated

BibTeX
@inproceedings{liu2025from,
  author = {Jianyu Liu and Yi Huang and Sheng Bi and Junlan Feng and Guilin Qi},
  title = {{From Superficial to Deep: Integrating External Knowledge for Follow-up Question Generation Using Knowledge Graph and LLM}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=Va2Dvl0LvU},
}
Figure