DialSim: A Real-Time Simulator for Evaluating Long-Term Dialogue Understanding of Conversational Agents

Jiho Kim, Woosog Chay, Hyeonji Hwang, Daeun Kyung, Hyunseung Chung, Eunbyeol Cho, Yohan Jo, Edward Choi · DOI

Abstract

DialSim introduces a real-time simulation framework designed to evaluate how conversational agents handle long-term, multi-party interactions. By leveraging the LongDialQA dataset—derived from extensive TV scripts—the framework tests agents on their ability to recall distant events, reason across multiple turns, and manage uncertainty. Experimental results indicate that current Large Language Models (LLMs), despite possessing massive context windows, fail to surpass 60% accuracy. This highlights a significant gap between raw memory capacity and the complex relational reasoning required for sustained dialogue comprehension.

Introduction

While Large Language Models (LLMs) have become impressive conversationalists, evaluation benchmarks have largely remained static, focusing on single-turn instructions or short, two-party exchanges. Real-world applications, such as digital assistants or non-player characters (NPCs) in gaming, require agents to navigate years of history, track multi-party dynamics, and perform multi-hop reasoning across disparate sessions.

Existing datasets often lack the continuity and complexity of these long-term interactions. DialSim addresses this by simulating a realistic environment where an agent must "live" through a long-term script and answer spontaneous questions based solely on the dialogue history they have observed.

Figure 1: Examples of dialogue sessions in DialSim featuring unanswerable, long-term recall, and multi-hop questions.

The DialSim Framework and LongDialQA

In the DialSim setup, an agent is assigned a specific character role (e.g., "Robert"). As the dialogue script progresses turn-by-turn, the agent is randomly interrupted by other characters asking questions. To support this, the researchers introduced LongDialQA, a massive dataset derived from five seasons of Friends, The Big Bang Theory, and The Office. The dataset spans over 1,300 sessions and 352,000 tokens, featuring a high average of 3.4 speakers per session.

Data Engineering and Safeguards

To ensure agents rely on reasoning rather than memorizing popular culture from their training data, the authors implemented several rigorous safeguards:

  1. Character Anonymization & Swapping: Names are replaced with generic placeholders or swapped entirely to create an adversarial environment where prior knowledge is neutralized.
  2. Temporal Knowledge Graphs (TKG): The team extracted triples (head, relation, tail, date) to generate complex, time-sensitive questions regarding character relationships and events.
  3. Style Transfer: Using GPT-4, questions were rephrased to match the unique speaking style of the character asking them, enhancing the realism of the simulation.
Figure 5: The data processing pipeline for LongDialQA, including filtering, revision, scene mapping, and character style transfer.

Key Insights and Results

Context Window vs. Comprehension

A primary finding of the study is that a large context window is not a "silver bullet" for dialogue understanding. Models like Gemini 2.0 Flash and GPT-4o-mini struggled to track long-term multi-party threads even when the relevant information was within their context window. This suggests that the current bottleneck in agent performance is relational reasoning rather than memory capacity.

The "Cheating" Factor and RAG Granularity

Models performed significantly better when original character names were used, confirming that LLMs often rely on prior knowledge embedded in their weights. Furthermore, when using Retrieval-Augmented Generation (RAG), storing the entire session as a chunk consistently outperformed individual utterance retrieval, as single utterances often lack the context necessary for accurate retrieval.

Performance Benchmarks

  • Overall Accuracy: No agent scored above 60% accuracy. Gemini 2.5 Flash was the top performer with ~54% accuracy in the Base LLM setting.
  • The Oracle Gap: When provided with the exact scene containing the answer (the "Oracle" setting), performance jumped to ~75%. This 20%+ gap highlights that current retrieval and long-term memory management techniques are major points of failure.
  • Relational Reasoning: While models were competent at one-hop questions, performance plummeted on two-hop questions (e.g., "Who is the roommate of X's boyfriend?"). Additionally, models frequently hallucinated answers to "unanswerable" questions rather than admitting uncertainty.

Conclusion

DialSim reveals that long-term dialogue understanding remains a significant challenge for even the most advanced LLMs. While TV scripts provide a rich foundation for multi-party data, future work will focus on expanding simulations to include agent-generated responses and more sophisticated memory management architectures. Bridging the gap between current RAG performance and the "Oracle" baseline remains the primary hurdle for creating truly capable long-term conversational agents.

Summary updated

BibTeX
@misc{kim2024dialsim,
  author = {Jiho Kim and Woosog Chay and Hyeonji Hwang and Daeun Kyung and Hyunseung Chung and Eunbyeol Cho and Yohan Jo and Edward Choi},
  title = {{DialSim: A Real-Time Simulator for Evaluating Long-Term Dialogue Understanding of Conversational Agents}},
  year = {2024},
  eprint = {2406.13144},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.13144},
}
Figure