Abstract
State-of-the-art dialogue systems often generate fluent but inconsistent or "dull" responses because they only consider dialogue context implicitly. This paper introduces a framework that explicitly tracks "topicality"—the focus on specific entities (nouns)—to anchor response generation. We propose two architectures: a Two-Stage model and an End-to-End model. To address the challenge of omitted words in natural Japanese speech, we utilize Zero Anaphora Resolution (ZAR) to enrich training data. Our results demonstrate that explicit topicality estimation, particularly when combined with ZAR and a two-stage approach, significantly improves both topic-following and naturalness in generated responses.
Introduction
Current AI chatbots, while fluent, frequently lose the thread of conversation. This often results in generic responses that fail to engage with the specific focus of the user's input. The authors argue that this stems from an implicit treatment of dialogue context. In human communication, participants maintain a high degree of awareness toward specific entities, a concept known as topicality. Without explicitly tracking these entities, models are prone to drifting off-topic. This research explores whether explicitly identifying and utilizing a "topic entity" can lead to more coherent and contextually relevant dialogue.
Methodology
The researchers developed two primary architectures to integrate explicit topicality into the response generation pipeline:
- Two-Stage Model: This approach decouples the task into two steps. First, a Topicality Estimation stage uses a BERT-based model to analyze the context and select the entity with the highest topicality from a set of candidates. Second, a Response Generation stage (encoder-decoder) uses both the context and the selected topic word to generate a reply.
- End-to-End Model: This architecture attempts to learn topicality estimation and response generation simultaneously within a single pass.
Zero Anaphora Resolution (ZAR)
A significant hurdle in training these models is the frequent omission of subjects or objects in natural speech, particularly in Japanese. To overcome this, the authors employed a Cohesion Analysis model to perform Zero Anaphora Resolution (ZAR), restoring omitted words in the training data. This allowed for more accurate labeling of the "true" topic entity even when it was not explicitly mentioned in a specific turn. Furthermore, a rewarding mechanism was added to the decoder to incentivize the inclusion of the predicted topic entity in the final output.
Datasets
The models were pre-trained on a massive Twitter corpus containing 250 million dialogues. Fine-tuning was conducted on three specialized Japanese datasets:
- JPersonaChat: Persona-based dialogues.
- JEmpatheticDialogues: Emotionally centered conversations.
- KUHCC (Kyoto University Hobby Chat Corpus): A novel dataset of crowdsourced conversations regarding hobbies.
Results and Analysis
The proposed "Two-Stage w/ ZAR + reward" model was evaluated against a context-only baseline using both automatic metrics and human evaluation on a 5-point Likert scale.
Key Findings
- Explicit Topicality is Superior: Models instructed to focus on a specific word produced more coherent dialogue than those relying on implicit context alone.
- Impact of ZAR: The inclusion of Zero Anaphora Resolution was critical. Models trained with ZAR-restored labels showed significantly higher accuracy in predicting the next topic.
- Architecture Preference: The Two-Stage model outperformed the End-to-End version. This suggests that separating the concerns of topic selection and language generation allows for better optimization of the topicality estimation task.
- Quantitative Gains: The Two-Stage w/ ZAR model achieved a Top-1 Precision (P@1) of 0.658 for topicality. In human evaluations, the proposed system improved the "Topic-Following" score from 2.52 (baseline) to 2.82 and "Naturalness" from 2.46 to 2.71.
Conclusion
Explicitly modeling topicality provides a clear path toward more engaging and consistent dialogue agents. While the proposed system shows marked improvements in topic adherence and fluency, human evaluation scores for naturalness remain below 3.0, indicating room for improvement. Future work will focus on leveraging more advanced pre-trained language models to enhance the human-like quality of the generated responses and addressing the challenge of training on data where a clear topic entity is not present.
Summary updated