Abstract
Conversational Question Answering (CQA) over heterogeneous sources presents significant challenges, including the need to aggregate information from text, tables, and knowledge graphs while maintaining context across multiple turns. This paper introduces a novel framework that enhances Large Language Models (LLMs) by injecting structured graph embeddings directly into the input layer. By utilizing a Graph Attention Network (GAT) to process a dynamic evidence graph and incorporating an "evidence memory" module, the system effectively handles "topic inertia" and multi-source reasoning. Evaluation on the ConvMix benchmark shows that our Mistral-7B based architecture achieves a Precision at 1 (H@1) of 0.445, substantially outperforming standard fine-tuned LLMs and state-of-the-art encoder-decoder models.
Introduction
Modern conversational systems often struggle with the complexity of real-world human dialogue. Unlike standard QA, CQA requires navigating "topic inertia"—where follow-up questions are often underspecified or dependent on previous context—and integrating information from diverse, non-uniform data sources. For instance, a user might ask about a music album's release date (found in a Knowledge Graph), its chart performance (found in a table), and then follow up with a question about the magazine's editor (found in an infobox).
Current LLMs, while proficient at natural language generation, often fail to maintain structural coherence when reasoning across these heterogeneous sources. They typically treat evidence as a flat sequence of text, which can lead to the loss of relational information. This research aims to bridge the gap between the flexible generation of LLMs and the structured reasoning capabilities of graph neural networks (GNNs).
Methodology
The proposed architecture integrates a Mistral-7B model with a Graph Attention Network (GAT) through a multi-stage pipeline designed for robust evidence processing and context retention.
Evidence Retrieval and Memory
The system first retrieves relevant facts from Wikidata and Wikipedia using the CLOCQ tool. To combat context loss in long conversations, the authors implement an Evidence Memory module. This module stores evidence from previous turns and re-ranks it against the current query. This ensures that if a user asks a follow-up question that refers back to an earlier topic, the necessary context is readily available even if the primary retrieval step fails for the current turn.
Dynamic Graph Construction and Embedding Injection
Instead of linearizing evidence into a text prompt, the system constructs a dynamic graph. Local linear chains represent tokens within individual evidence snippets, while global edges connect identical entities across different sources (e.g., linking "Radiohead" in a text paragraph to "Radiohead" in a table row).
The core innovation lies in the Graph Embedding Injection. A GAT processes the constructed graph to produce embeddings that capture the structural relationships between entities. These embeddings are then directly injected into the LLM’s input sequence, bypassing the standard token embedding layer. This approach allows the LLM to "see" the structured relationships without the potential noise or length constraints of a natural language description of the graph.
Training
The model is fine-tuned using Low-Rank Adaptation (LoRA). This allows the LLM to learn how to interpret the injected graph embeddings and generate accurate natural language answers while keeping the computational overhead manageable.
Experimental Evaluation
The system was evaluated using the ConvMix benchmark, which features conversations requiring reasoning across Wikipedia text, tables, infoboxes, and Wikidata triples. The study utilized two subsets: ConvMix-5T (5-turn conversations) and ConvMix-10T (10-turn conversations) to test long-term context handling.
Results and Discussion
The integrated model (Mistral-7B + Graph + Memory) achieved a significant performance boost, reaching a H@1 of 0.445. This represents a ~7% absolute improvement over a standard fine-tuned Mistral-7B (0.350) and a ~15% improvement over zero-shot performance (0.292).
Impact of Graph Structure and Memory
The results indicate that explicit graph representation is superior to flat-text prompts for multi-source reasoning. Furthermore, the memory module proved crucial for maintaining performance in extended dialogues.
As shown in the performance analysis, the model with both graph and memory components maintains higher accuracy across increasing turn positions compared to the base Mistral model. While all models experience some degradation as the conversation length increases, the proposed architecture exhibits greater resilience to context shifts.
The Table Difficulty Gap
An interesting insight from the study is the persistent difficulty models face with tabular data compared to Knowledge Graphs. Even with graph integration, performance on table-based questions remained lower (H@1 of 0.33) than on KB-based questions (H@1 of 0.49). This suggests that the 2D nature of tables presents unique structural challenges that require further specialized reasoning modules.
Conclusion
This work demonstrates that direct injection of structured graph embeddings is a powerful technique for enhancing LLMs in conversational settings. By combining dynamic graph construction with an evidence memory module, the system achieves state-of-the-art results on complex, multi-source CQA tasks. Future work will focus on improving retrieval quality—as retrieval errors accounted for half of the system's failures—and extending the architecture to support multi-lingual data and more advanced numerical reasoning.
Summary updated