Abstract
Retrieval-based chatbots often struggle to effectively integrate external background knowledge into conversation history. This paper introduces FIRE (Filtering before Iteratively REferring), a framework designed to enhance response selection by first filtering irrelevant knowledge and then performing deep, iterative matching between context, knowledge, and response candidates. FIRE achieves state-of-the-art results on major benchmarks, demonstrating the importance of precise knowledge grounding and multi-pass reasoning.
Introduction: The Challenge of Knowledge-Grounded Dialogue
In retrieval-based dialogue systems, the goal is to select the most appropriate response from a predefined set. While standard models rely on conversation history (context), knowledge-grounded systems must also leverage external facts, such as user personas or document-based information.
The authors identify two primary limitations in existing approaches:
- Poor Grounding: Models often encode context and knowledge independently, failing to distinguish which specific facts are relevant to the current turn. This introduces noise from irrelevant background data.
- Shallow Matching: Most models use a single-pass matching mechanism, which is insufficient for capturing the complex, multi-layered relationships between dialogue history and external knowledge.
The FIRE Framework
To address these gaps, the FIRE model introduces a two-stage process: filtering followed by iterative referral.
1. Context and Knowledge Filters
Before the matching phase, FIRE "cleans" its inputs to ensure focus on relevant information:
- Context Filter: Employs global attention to make the conversation history "knowledge-aware," identifying which parts of the dialogue refer to specific background facts.
- Knowledge Filter: This component makes the knowledge "context-aware" and includes a critical selection operation. It calculates relevance scores for knowledge entries; those falling below a threshold ($\gamma$) are discarded. This prevents the model from being distracted by irrelevant facts (e.g., ignoring a movie's director when the conversation is about the cast).
2. Iteratively Referring Network
Rather than a single comparison, FIRE uses an iterative process ($L$ iterations) to refine its understanding:
- In each step, the response "refers" to the filtered context and knowledge, and vice versa.
- The outputs of one iteration serve as inputs for the next, allowing the model to extract "deep matching features" that a single pass would overlook.
- Finally, features from all iterations are aggregated and processed through a Multi-Layer Perceptron (MLP) to score response candidates.
Experimental Evaluation
The model was evaluated on two prominent benchmarks:
- PERSONA-CHAT: Conversations where participants have specific persona traits. Tests were conducted on both original and revised (paraphrased) versions.
- CMU_DoG (Document Grounded): Knowledge-intensive conversations about movies based on Wikipedia articles.
Performance Comparison
FIRE achieved new state-of-the-art (SOTA) performance across all tested datasets, particularly in the R@1 (Recall at 1) metric.
As shown in the results table, FIRE consistently outperforms previous models like DIM and DGMN. Specifically, it achieved:
- 81.6% R@1 on PERSONA-CHAT (Original), a 2.8% improvement over DIM.
- 74.8% R@1 on PERSONA-CHAT (Revised), a 4.1% improvement.
- 81.8% R@1 on CMU_DoG, a 3.1% improvement.
Analysis and Insights
- The Power of Filtering: Ablation studies confirmed that removing the filters leads to a significant performance drop. Discarding irrelevant knowledge is not just an optimization but a core mechanism for effective attention.
- Iterative Depth: Setting the number of iterations to $L=3$ consistently yielded the best results. This suggests that the relationship between a response and its grounding facts is too complex for shallow networks.
- Efficiency: Despite its iterative nature, FIRE is more time-efficient than some predecessors (like DIM) because it replaces heavy recurrent units in the aggregation stage with lighter non-linear transformations.
Conclusion and Future Directions
The FIRE framework demonstrates that "filtering before referring" is a highly effective strategy for knowledge-grounded dialogue. While the current model uses BiLSTMs, future work could involve integrating large-scale pre-trained language models like BERT or GPT. Additionally, extending these filtering and iterative matching concepts to generative dialogue models remains a promising area for research.
Summary updated