Interactive Teaching for Conversational AI

Qing Ping, Feiyang Niu, Govind Thattai, Joel Chengottusseriyil, Qiaozi Gao, Aishwarya N. Reganti, Prashanth Rajagopal, Gökhan Tür, Dilek Hakkani-Tür, Prem NatarajanarXiv 2020

Abstract

Current conversational AI systems aim to understand a set of pre-designed requests and execute related actions, which limits them to evolve naturally and adapt based on human interactions. Motivated by how children learn their first language interacting with adults, this paper describes a new Teachable AI system that is capable of learning new language nuggets called concepts, directly from end users using live interactive teaching sessions. The proposed setup uses three models to: a) Identify gaps in understanding automatically during live conversational interactions, b) Learn the respective interpretations of such unknown concepts from live interactions with users, and c) Manage a classroom sub-dialogue specifically tailored for interactive teaching sessions. We propose state-of-the-art transformer based neural architectures of models, fine-tuned on top of pre-trained models, and show accuracy improvements on the respective components. We demonstrate that this method is very promising in leading way to build more adaptive and personalized language understanding models.

Introduction

Most modern conversational AI systems, such as Alexa or Siri, operate as "closed-loop" systems. They are trained on static datasets to recognize a fixed set of intents and entities (slots). When a user introduces a personal concept—for example, "Set an alarm for my baseball practice"—the AI often fails because "baseball practice" is not in its pre-defined vocabulary.

To address this, researchers at Alexa AI have developed a Teachable AI system. This system moves beyond static responses by identifying gaps in its own understanding and initiating a specialized "classroom" sub-dialogue. This allows the AI to ask the user for clarification and learn new concepts in real-time, creating a more adaptive and personalized experience.

System Architecture

The proposed architecture decouples the teachable components from the core NLU engine. This allows the system to learn user-specific definitions without the need to retrain massive core models, which is computationally prohibitive in real-time.

The high-level architecture of the Teachable AI system, showing the flow from user interaction to the classroom sub-dialogue.

As shown in the figure above, the system consists of three primary neural components:

  1. Concept Parser: Identifies the "unknown" concept in a user's utterance and determines if it is teachable.
  2. Definition Understanding Model: Parses the user's explanation (e.g., "baseball practice is at 4pm") to extract the core meaning.
  3. Dialogue Policy: Manages the flow of the teaching session, ensuring the AI asks the right questions and correctly grounds the new information.

Key Innovations: Multi-Task Learning

A major insight of this research is the use of multi-task learning within the Concept Parser. Beyond standard slot tagging, the model performs "semantic chunking." This auxiliary task helps the model recognize the boundaries of long, complex phrases (e.g., "where we go camping every year") that traditional models often fragment.

Additionally, the parser includes a "relevance head." This component generates a score to decide if a concept is actually a valid target for teaching or merely a user error or out-of-domain request, preventing the AI from initiating unnecessary teaching sessions.

Experimental Results

The researchers evaluated the system using both a public benchmark (Jia et al.) and a challenging internal crowdsourced dataset featuring realistic, multi-turn interactions.

Performance comparison showing the significant gains achieved by the Multi-Task BERT model over baselines.

As illustrated in the table above, the Multi-Task BERT model achieved a significant performance boost. In supervised settings, it reached an F1-score of 76.6%, compared to just 40.3% for previous baselines. Even in zero-shot settings—where the model encounters a concept it has never seen before—the multi-task approach provided a 15% F1-score improvement over single-task models.

Other components also showed high accuracy:

  • Definition Understanding: Utilizing a RoBERTa backbone, this model achieved a 96.36% F1-score in extracting definitions from natural conversation.
  • Dialogue Policy: The policy model reached a 98.24% F1-score, indicating near-human accuracy in managing the classroom dialogue.

Conclusion and Future Work

This work demonstrates that interactive teaching is a viable path toward truly personalized conversational agents. By allowing users to define their own "language nuggets," the AI becomes a dynamic partner rather than a static tool.

Future research will focus on expanding this capability to Intent Teaching—allowing users to teach the AI brand-new actions—and incorporating multi-modal inputs, such as visual demonstrations, to make the teaching process even more intuitive.

Summary updated

BibTeX
@misc{ping2020interactive,
  author = {Qing Ping and Feiyang Niu and Govind Thattai and Joel Chengottusseriyil and Qiaozi Gao and Aishwarya N. Reganti and Prashanth Rajagopal and Gökhan Tür and Dilek Hakkani-Tür and Prem Natarajan},
  title = {{Interactive Teaching for Conversational AI}},
  year = {2020},
  eprint = {2012.00958},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.00958},
}
Figure