Improving Multi-turn Response Selection Models with Complementary Last-Utterance Selection by Instance Weighting

Kun Zhou, Wayne Xin Zhao, Yutao Zhu, Ji-Rong Wen, Jingsong Yu

Abstract

Training retrieval-based chatbots typically relies on negative sampling, where a real response is paired with a random "negative" one. However, random negatives often include valid responses (false negatives), introducing noise that degrades model performance. This paper proposes a novel instance weighting approach using a complementary task: last-utterance selection. By predicting the preceding utterance from a response, the model identifies high-quality training instances and down-weights noisy ones. Evaluated on Douban and E-commerce datasets, this model-agnostic method significantly improves state-of-the-art architectures like SMN and DAM.

Introduction

In retrieval-based dialogue systems, the objective is to select the optimal response from a pre-defined pool based on conversation history (context). To train these models, researchers typically employ "negative sampling," pairing a ground-truth response (positive) with a randomly selected sentence from the dataset (negative).

However, human conversation is inherently flexible. A randomly selected response—such as "Okay!" or "That sounds great"—might be a perfectly valid reply to the context, even if it was not the original one. When a model is penalized for selecting such "correct-looking" responses, it receives a noisy signal that degrades the performance of matching models. Since manual labeling of millions of true negatives is infeasible, an automated method for handling this noise is required.

Methodology: Complementary Task and Instance Weighting

The authors introduce a main-complementary task pair combined with an instance weighting mechanism:

  1. The Main Task: The standard response selection task—given a context and the last utterance, select the correct response.
  2. The Complementary Task: A "reverse" task—given the context and a response, select the correct last utterance that preceded it.
  3. The Logic: If a response is truly relevant and specific to a conversation, it should contain sufficient semantic information to help a model identify the specific last utterance that preceded it. Conversely, generic responses (e.g., "I don't know") or "false negatives" will perform poorly at predicting the last utterance.
  4. Instance Weighting: The system calculates a score based on the response's performance in the complementary task. This score is converted into a weight ($w_i$). During training for the main task, the model employs a Weighted Margin-based Loss. Instances identified as "confident" by the complementary task receive high weights, while noisy or generic instances are down-weighted, minimizing their impact on the learning process.
The overall architecture of the instance weight calculation and weighted loss optimization.

This approach is model-agnostic and can be integrated into various neural architectures, such as the Sequential Matching Network (SMN) or the Deep Attention Matching Network (DAM).

Experimental Setup

The method was evaluated on two major public benchmarks:

  • Douban Conversation Corpus: A multi-turn dataset from the Douban social group (Chinese), featuring 1 million training pairs and a human-annotated test set.
  • E-commerce Dialogue Corpus (ECD): Real-world customer service conversations from Taobao, also containing 1 million training pairs.

Training sets utilized a 1:1 ratio of positive to randomly sampled negative responses.

Results and Discussion

The weighting method (Model-WM) was tested against several baselines. The results demonstrated consistent improvements across all key metrics, including Mean Average Precision (MAP), Mean Reciprocal Rank (MRR), and Precision@1 (P@1).

Performance comparison of various models on the Douban and ECD datasets.

Key findings include:

  • Douban Dataset: Integrating the weighting mechanism into the DAM model (DAM-WM) improved P@1 from 0.423 to 0.459.
  • ECD Dataset: The MRR for the DAM model increased from 0.756 to 0.771.
  • Robustness: The method proved effective for both RNN-based (SMN) and Transformer-based (DAM) architectures.
  • Qualitative Success: Case studies revealed that the model successfully assigned a weight of 0.0 to "false negatives"—random responses that were contextually plausible—preventing them from introducing noise during training.

Conclusion

By leveraging the inherent symmetry of dialogue through a self-supervised complementary task, the authors provide a scalable solution to the problem of label noise in retrieval-based chatbots. This approach allows models to focus on high-quality, specific data while automatically muting the influence of generic or misleading training samples.

Summary updated

BibTeX
@inproceedings{zhou2020improving,
  author = {Kun Zhou and Wayne Xin Zhao and Yutao Zhu and Ji-Rong Wen and Jingsong Yu},
  title = {{Improving Multi-turn Response Selection Models with Complementary Last-Utterance Selection by Instance Weighting}},
  booktitle = {PAKDD},
  year = {2020},
  doi = {10.1007/978-3-030-47436-2\_36},
}
Figure