NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Through Dialogue Interactions

Jiwei Li, Alexander H. Miller, Sumit Chopra, Marc'Aurelio Ranzato, Jason WestonarXiv 2016

Abstract

A good dialogue agent should have the ability to interact with users by both responding to questions and by asking questions, and importantly to learn from both types of interaction. In this work, we explore this direction by designing a simulator and a set of synthetic tasks in the movie domain that allow such interactions between a learner and a teacher. We investigate how a learner can benefit from asking questions in both offline and online reinforcement learning settings, and demonstrate that the learner improves when asking questions. Finally, real experiments with Mechanical Turk validate the approach. Our work represents a first step in developing such end-to-end learned interactive dialogue agents.

Introduction

Most conversational AI models are trained on static datasets where the "correct" answer is always provided. In the real world, however, dialogue is messy. A bot might encounter a typo it doesn't recognize, a reasoning step it can't complete, or a gap in its internal database. Usually, when a bot hits these walls, it either makes a poor guess or gives a generic "I don't know" response. Humans, by contrast, adapt by asking questions: "What do you mean by 'movvie'?" or "Can you give me a hint?" This paper aims to bridge that gap by teaching agents to "learn how to learn" through interaction.

Methods

The researchers used End-to-End Memory Networks (MemN2N) as their architectural backbone. These models are designed to store and retrieve facts (long-term memory) and conversation history (short-term memory) to answer questions.

They introduced two primary training regimes:

  1. Offline Supervised Learning: The agent is trained on fixed dialogues where it either never asks questions (QA), always asks questions (AQ), or a mix of both.
  2. Online Reinforcement Learning (RL): Using the REINFORCE algorithm, the agent learns a policy to decide whether to ask a question or attempt an answer. Crucially, they introduced a cost ($cost_{AQ}$) for asking. This simulates human "patience"—if a bot asks too many trivial questions, it is penalized. The agent must balance the reward of getting the answer right against the cost of being inquisitive.
The reinforcement learning policy decides between asking a question (AQ) or providing an answer (QA) based on uncertainty and cost.

To handle linguistic noise (like typos), they proposed Context-MemN2N, which represents words based on their neighbors, allowing the model to "guess" the meaning of an unknown word from its usage.

Experimental Setup

The study utilizes the WikiMovies dataset, which contains roughly 100k questions about movie entities (actors, directors, etc.) derived from the Open Movie Database (OMDb). The authors designed 9 synthetic tasks categorized into Question Clarification, Knowledge Operation, and Knowledge Acquisition.

Examples of synthetic tasks where the agent asks for relevant knowledge or verifies its understanding.

Finally, they validated their findings using Mechanical Turk, collecting 10,000 real human-bot dialogues to see if the strategies held up against the lexical variety and noise of actual human speech.

Key Insights and Results

  • The "Lazy Student" Trap: Agents trained in a setting where they always ask questions (TrainAQ) but are then tested in a setting where they cannot ask (TestQA) perform the worst. They become "dependent" on the teacher's help and fail to develop their own internal reasoning.
  • Judiciousness is Learned: In the RL setting, "Good Students" (those with full knowledge) naturally learn to stop asking questions as the cost increases. "Poor Students" (those with missing data) continue to ask questions even at higher costs because the information gain is vital for their survival (getting the reward).
  • Interaction Boosts Accuracy: In "Knowledge Acquisition" tasks (where the bot is missing a key fact), accuracy was near 0% without asking questions. By asking for the missing info, accuracy jumped to over 80-90%.
  • Real-World Validation: While performance on human data (MTurk) was lower than on the simulator, the core conclusion remained: AQ (Asking Questions) consistently outperformed QA (Only Answering). For example, on the "Missing Triple" task, the AQ model achieved roughly 4x the accuracy of the QA model.

Conclusion

This paper demonstrates that dialogue agents perform significantly better when they have the agency to ask clarification or knowledge-seeking questions. By treating dialogue as a two-way street for learning, this work lays the groundwork for more resilient and "human-like" interactive AI. Future work includes moving beyond the movie domain to more complex knowledge bases and exploring multi-hop questioning strategies.

Summary updated

BibTeX
@misc{li2016learning,
  author = {Jiwei Li and Alexander H. Miller and Sumit Chopra and Marc'Aurelio Ranzato and Jason Weston},
  title = {{Learning Through Dialogue Interactions}},
  year = {2016},
  eprint = {1612.04936},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1612.04936},
}
Figure