Response Retrieval
Response retrieval/selection aims to rank/select a proper response from a dialog repository. Automatic conversation (AC) aims to create an automatic human-computer dialog process for the purpose of question answering, task completion, and social chat (i.e., chit-chat). In general, AC could be formulated either as an IR problem that aims to rank/select a proper response from a dialog repository or a generation problem that aims to generate an appropriate response with respect to the input utterance. Here, we refer response retrieval as the IR-based way to do AC. Example:
Classic Datasets
Dataset | Partition | #Context Response pair | #Candidate per Context | Positive:Negative | Avg #turns per context |
---|---|---|---|---|---|
UDC | train | 1M | 2 | 1:1 | 10.13 |
UDC | validation | 500k | 10 | 1:9 | 10.11 |
UDC | test | 500k | 10 | 1:9 | 10.11 |
Douban | train | 1M | 2 | 1:1 | 6.69 |
Douban | validation | 50k | 2 | 1:1 | 6.75 |
Douban | test | 10k | 10 | 1.18:8.82 | 6.45 |
MSDialog | train | 173k | 10 | 1:9 | 5.0 |
MSDialog | validation | 37k | 10 | 1:9 | 4.9 |
MSDialog | test | 35k | 10 | 1:9 | 4.4 |
EDC | train | 1M | 2 | 1:1 | 5.51 |
EDC | validation | 10k | 2 | 1:1 | 5.48 |
EDC | test | 10k | 10 | 1:9 | 5.64 |
- Ubuntu Dialog Corpus (UDC) contains multi-turn dialogues collected from chat logs of the Ubuntu Forum. The data set consists of 1 million context-response pairs for training, 0.5 million pairs for validation, and 0.5 million pairs for testing. Positive responses are true responses from humans, and negative ones are randomly sampled. The ratio of the positive and the negative is 1:1 in training, and 1:9 in validation and testing.
- Douban Conversation Corpus is an open domain dataset constructed from Douban group (a popular social networking service in China). The data set consists of 1 million context-response pairs for training, 50k pairs for validation, and 10k pairs for testing, corresponding to 2, 2, and 10 response candidates per context respectively. Response candidates on the test set, retrieved from Sina Weibo (the largest microblogging service in China), are labeled by human judges.
- MSDialog is a labeled dialog dataset of question answering (QA) interactions between information seekers and answer providers from an online forum on Microsoft products (Microsoft Community). The dataset contains more than 2,000 multi-turn information-seeking conversations with 10,000 utterances that are annotated with user intent on the utterance level.
- E-commerce Dialogue Corpus contains over 5 types of conversations (e.g. commodity consultation, logistics express, recommendation, negotiation and chitchat) based on over 20 commodities. The ratio of the positive and the negative is 1:1 in training and validation, and 1:9 in testing.
$R_n@k$: recall at position $k$ in $n$ candidates.
Performance
Ubuntu Corpus
Douban Conversation Corpus
MSDialog
Model | Code | MAP | Recall@5 | Recall@1 | Recall@2 | Paper | type |
---|---|---|---|---|---|---|---|
DMN (Yang et al. 2018) | 0.6792 | 0.9356 | 0.5021 | 0.7122 | Response Ranking with Deep Matching Networks and External Knowledge in Information-seeking Conversation Systems | multi-turn |