Abstract
Traditional open-domain dialogue systems are primarily reactive, responding only when prompted by a user query. This "ping-pong" interaction style lacks the fluidity of human conversation, where participants autonomously decide when to speak or remain silent. This paper introduces the When to Talk (W2T) framework, a novel approach that treats response timing as a deliberate decision. By representing dialogue as a Directed Acyclic Graph (DAG) and utilizing a Double-Gated Graph Recurrent Neural Network (DGGNN), the model captures complex temporal and role-based dependencies. Evaluations on the Ubuntu and DailyDialog datasets show that W2T significantly improves timing accuracy and dialogue naturalness compared to standard baselines.
Introduction
Current chatbot architectures are often trained on paired (query, response) samples, leading to a rigid interaction pattern. In real-world scenarios, human dialogue is more dynamic; a speaker might send multiple messages to clarify a point or wait for the interlocutor to finish a thought. Existing systems often appear "boring" because they lack the autonomy to manage these transitions.
The authors argue that the "timing of talking" is a critical component of natural dialogue. To address this, they propose a system that jointly learns to decide if it should speak and what it should say based on the evolving conversation context.
Methodology: The W2T Framework
The core of the W2T framework is its ability to perceive dialogue structure beyond simple text sequences.
Graph-Based Context Representation
The conversation history is modeled as a Directed Acyclic Graph (DAG). Each node in the graph represents an individual utterance. The relationships between these utterances are captured through two types of edges:
- Temporal Edges: These connect adjacent sentences to track the chronological evolution of topics.
- Role-based Edges: These connect utterances made by the same speaker, allowing the model to maintain consistency in its own "voice" and track the user's history separately.
Double-Gated Graph Recurrent Neural Network (DGGNN)
To process this graph, the authors developed the DGGNN, which addresses the noise inherent in multi-turn dialogues through two gating mechanisms:
- GatedEdge: This mechanism uses a GRU-like reset gate to control the flow of information from neighboring nodes, effectively filtering out irrelevant context.
- GatedNode: This component uses another GRU to update node features, enabling the model to adaptively capture dependencies across different time scales.
Decision and Generation
The processed context is fed into a three-layer Multi-Layer Perceptron (MLP) that acts as a decision module. This module outputs a binary decision: whether to speak now or remain silent. Simultaneously, a generation module produces the textual response if the decision to speak is made.
Experiments and Datasets
Evaluating timing requires datasets that preserve the natural flow of conversation. The researchers utilized the Ubuntu Dialogue Corpus, which contains technical support logs with consecutive messages, and a Modified DailyDialog dataset, manually adapted to include scenarios where a speaker provides two consecutive responses.
Results and Discussion
The W2T-DGGNN model demonstrated superior performance across several metrics:
- Timing Accuracy: On the modified DailyDialog dataset, the model achieved 83.69% accuracy in timing decisions, outperforming the HRED-CF baseline.
- Linguistic Quality: While the model faced a slight "negative transfer" effect—where the timing task slightly impacted traditional perplexity (PPL) scores—it significantly improved the diversity of responses (measured by Distinct-1 and Distinct-2).
- Human Evaluation: In blind tests, humans preferred the W2T model's interactions in over 87% of cases, citing higher naturalness and engagement.
Conclusion
The W2T framework represents a significant step toward more autonomous and human-like chatbots. By explicitly modeling the timing of responses through a double-gated graph structure, the system moves beyond reactive "ping-pong" interactions. Future work will explore the use of Reinforcement Learning to optimize long-term conversation rewards and extend the model to multi-party dialogue settings.
Summary updated