Improving Large-Scale Conversational Assistants using Model Interpretation based Training Sample Selection

Stefan Schroedl, Manoj Kumar, Kiana Hajebi, Morteza Ziyadi, Sriram Venkatapathy, Anil Ramakrishna, Rahul Gupta, Pradeep NatarajanEMNLP 2022

TL;DR

This paper tackles the challenge of efficiently improving large-scale conversational assistants by proposing a novel method to select valuable training data. Instead of manually labeling new data or using all available user interactions, they leverage model interpretability techniques (specifically Integrated Gradients) to identify utterances that, if added to the training set, would most effectively improve model performance, leading to significant error reductions with minimal data augmentation.

What Problem Does This Paper Address?

Building and maintaining robust Natural Language Understanding (NLU) models for conversational assistants like Alexa or Google Assistant requires vast amounts of labeled training data. Manually annotating this data is a slow, expensive, and often unscalable process, hindering rapid model improvement. While existing methods try to address this by identifying problematic user interactions or using implicit signals of user satisfaction, they often face challenges: a massive volume of potentially noisy data, and the difficulty of distinguishing truly informative examples from the sheer quantity of successful interactions. This paper aims to bridge this gap by proposing a more intelligent and efficient way to select data for retraining NLU models, focusing on utterances that are already processed successfully but could still benefit the model's understanding of less frequent or "tail" utterances.

Methods

The core of the paper's contribution lies in its three-stage approach for selecting training samples:

  1. Candidate Identification: They first identify a large pool of utterances from live traffic where users implicitly signaled satisfaction (e.g., by not interrupting or reformulating their query). The existing model's output for these utterances serves as a candidate annotation.
  2. Importance Scoring with Interpretability: This is the novel part. They use Integrated Gradients (IG), a model interpretability technique, to compute "feature importance scores" for words within these candidate utterances. IG helps understand which words contributed most to the model's prediction for a given utterance. They then aggregate these word scores to create a "sample importance score" for each utterance. This score quantifies how much an utterance might help the model learn, particularly for cases where the model might be making mistakes on similar, less frequent examples.
  3. Training Set Augmentation: A small fraction of the top-scoring utterances (based on the sample importance score) are then added to the training set to retrain the NLU models. They also introduce a "diversity method" to prevent the selection from becoming too narrowly focused on a few high-scoring words, ensuring a more balanced augmentation.

Datasets

The authors evaluate their approach on several datasets:

  • Proprietary Live Traffic Data: This is the primary dataset, representing billions of utterances processed weekly by a large-scale conversational assistant. They specifically focus on "tail" utterances, which are less frequent and more challenging.
  • Public Benchmark Datasets:
    • Snips: A natural language understanding benchmark dataset with 16,000+ queries across 7 NLU intents.
  • AGNews: A news topic classification dataset with 4 classes, containing a large number of training and testing samples.

For experiments, they often use a "base set" (a down-sampled portion of the training data) and an "augmentation set" (the remaining data from which samples are selected). The validation set is used for computing feature attributions.

Key Insights and Ideas

  • Implicit Positive Feedback is Valuable, But Noisy: Simply adding all successful user interactions to the training set can actually degrade performance due to noise. The key is to intelligently select which successful interactions are most beneficial.
  • Model Interpretability as a Data Selector: Using techniques like Integrated Gradients to understand why a model makes a prediction can be repurposed to identify data that will most effectively improve the model, especially for challenging cases.
  • Focus on "Tail" Utterances: The approach shows particular promise for improving performance on infrequent "tail" utterances, which are often overlooked but crucial for a comprehensive conversational assistant.
  • Minimal Augmentation, Maximum Impact: The paper demonstrates that even augmenting the training set by a very small percentage (e.g., 0.05%) can lead to statistically significant improvements.

Key Results

  • Offline Experiments:
    • A 0.45% reduction in semantic error rate (SemER) on infrequent "tail" utterances.
  • A 0.27% overall SemER reduction.
  • On public datasets (Snips and AGNews), they achieved small but consistent accuracy gains (e.g., 0.21% on Snips, 0.65% on AGNews) even without label noise.
  • Online A/B Tests:
    • A 1.23% reduction in defect rates for all utterances and 0.96% for tail utterances in a live conversational assistant.
  • Contrast with Naive Augmentation: Simply adding all candidate utterances (without interpretability-based selection) led to performance degradation, highlighting the importance of their filtering method.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that the "weak signal labeled (WSL)" data, derived from implicit user feedback, can be noisy.
  • The greedy method for scoring can become too narrowly focused.
  • Hyper-parameter tuning for the WSL models was deferred for future work.
  • Future Work:
    • Applying the approach to other challenging public datasets with significant label noise and ambiguity.
  • Investigating other types of data set modifications, such as removal and replacement of examples.
  • Exploring different interpretability techniques beyond Integrated Gradients.

Summary updated

BibTeX
@inproceedings{schroedl2022improving,
  author = {Stefan Schroedl and Manoj Kumar and Kiana Hajebi and Morteza Ziyadi and Sriram Venkatapathy and Anil Ramakrishna and Rahul Gupta and Pradeep Natarajan},
  title = {{Improving Large-Scale Conversational Assistants using Model Interpretation based Training Sample Selection}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  url = {https://openreview.net/forum?id=IdjGEPdYy90},
}
Figure