Introduction
Retrieval-based chatbots aim to select the most appropriate response from a predefined candidate pool based on the current dialogue context. To enhance informativeness, these systems are often "grounded" in external documents, such as Wikipedia articles or user profiles. However, effectively utilizing this external knowledge presents two significant challenges: document noise and context evolution.
Document noise refers to the fact that grounding documents often contain vast amounts of information, only a small portion of which is relevant to a specific conversational turn. Standard "soft" attention mechanisms often fail to sufficiently suppress irrelevant information, leading to "cumulative noise" that can degrade response quality. Furthermore, as conversations evolve, the relevance of different document segments shifts, requiring the model to track the current topic dynamically.
The Content Selection Network (CSN)
To address these issues, we propose the Content Selection Network (CSN). The core innovation of CSN is an explicit gating mechanism that performs "hard selection" at both the sentence and word levels, effectively filtering out irrelevant data rather than just assigning it lower weights.
Explicit Gating and History Decay
Unlike traditional models that rely on soft attention, CSN employs a gate that filters out segments with relevance scores below a specific threshold ((\gamma)). This ensures the model focuses exclusively on pertinent data. To handle context evolution, a history decay factor ((\eta)) is applied to the conversation history. This mechanism prioritizes recent utterances, which are typically the strongest indicators of what information is needed next, while still maintaining long-term context.
Dually Interactive Matching
Once the relevant content is selected, the model utilizes a dual matching process. It independently matches the response candidate against the conversation context and the filtered document content. These interactions are captured via self-attention and cross-attention mechanisms, then aggregated through CNN and LSTM layers to produce a final ranking score. This separation allows the model to capture fine-grained semantic relationships between the document, the context, and the candidate response.
Experimental Evaluation
The CSN was evaluated on two benchmark datasets: PersonaChat and CMU Document Grounded Conversations (CMUDoG).
- PersonaChat: CSN achieved a state-of-the-art R@1 of 78.1 on the original version, significantly outperforming previous models like DIM (75.5).
- CMUDoG: On this more complex dataset featuring longer grounding documents, CSN reached an R@1 of 70.1, a substantial improvement over the previous best of 65.6 (DGMN).
Ablation studies confirmed that the explicit filtering mechanism is the primary driver of success; performance significantly degraded when the threshold (\gamma) was set to zero, effectively disabling the hard selection and allowing noise to accumulate.
Conclusion
The Content Selection Network demonstrates that in document-grounded dialogue, "filtering is better than weighting." By explicitly removing irrelevant document noise and accounting for context evolution through history decay, CSN provides a more robust framework for informative retrieval-based chatbots. Future work may explore higher-level semantic clustering for content selection and the application of these techniques to generative dialogue models.
Summary updated