While research on dialogue response generation has primarily focused on generating coherent responses conditioning on textual context, the critical question of when to respond grounded on the temporal context remains underexplored. To bridge this gap, we propose the task of timely dialogue response generation and introduce the TimelyChat benchmark to evaluate two key aspects: response timing and time-conditioned responses. Additionally, we construct a large-scale training dataset by leveraging unlabeled event knowledge from a temporal commonsense knowledge graph and using a Large Language Model (LLM) to synthesize 55K event-driven dialogues. We then train Timer, a dialogue agent designed to proactively predict time intervals and generate timely responses that align with those intervals. Experimental results show that Timer outperforms instruction-tuned LLMs and other time-aware baselines on response timing and time-specificity in both turn-level and dialogue-level evaluations. We publicly release our data, model, and code.
翻译:暂无翻译