[Paper Review] Learning Semantic Textual Similarity from Conversations
This paper proposes a novel unsupervised method to learn sentence-level semantic textual similarity by training a model to predict conversational responses from input utterances. Using conversational data from Reddit and fine-tuning with SNLI natural language inference data, the model achieves state-of-the-art performance on the STS benchmark and competitive results on the SemEval CQA question similarity task, demonstrating that response prediction implicitly captures rich semantic representations.
We present a novel approach to learn representations for sentence-level semantic similarity using conversational data. Our method trains an unsupervised model to predict conversational input-response pairs. The resulting sentence embeddings perform well on the semantic textual similarity (STS) benchmark and SemEval 2017's Community Question Answering (CQA) question similarity subtask. Performance is further improved by introducing multitask training combining the conversational input-response prediction task and a natural language inference task. Extensive experiments show the proposed model achieves the best performance among all neural models on the STS benchmark and is competitive with the state-of-the-art feature engineered and mixed systems in both tasks.
Motivation & Objective
- To develop a method for learning general-purpose sentence embeddings that capture semantic similarity without relying on supervised STS annotations.
- To investigate whether conversational data can serve as a pretraining objective for learning robust sentence representations.
- To evaluate the effectiveness of these representations on zero-shot transfer to semantic textual similarity and question similarity tasks.
- To improve performance through multitask learning combining conversational response prediction with natural language inference.
Proposed method
- The model uses a shared encoder to embed both input and response sentences into fixed-length vectors, with a dot product scoring mechanism to predict the correct response from a set of candidates.
- A feed-forward network is applied to response embeddings to model semantic differences between inputs and responses, improving prediction accuracy.
- Two encoder architectures are evaluated: Deep Averaging Networks (DAN) and Transformer models, with the latter showing superior performance in experiments.
- The model is pre-trained on Reddit conversation data using a contrastive learning objective with batch negatives, where each response is positive for its input and negative for others in the batch.
- Multitask training combines the conversational response prediction task with supervised Natural Language Inference (NLI) on the SNLI dataset to enhance generalization.
- Sentence embeddings are evaluated via cosine similarity on STS and CQA tasks, without additional interaction or contextual features.
Experimental results
Research questions
- RQ1Can conversational data be used as a pretraining objective to learn sentence embeddings that generalize to semantic textual similarity?
- RQ2How does performance on STS and CQA tasks compare between models trained solely on conversational data versus those fine-tuned with NLI data?
- RQ3To what extent do representations learned from unsupervised conversational data transfer to zero-shot semantic similarity tasks?
- RQ4Does multitask learning with conversational and NLI data improve performance over either objective alone?
Key findings
- The Reddit-only model achieves a Pearson correlation of 0.85 on the STS benchmark, demonstrating strong zero-shot performance on semantic similarity.
- The Reddit+SNLI multitask model achieves state-of-the-art performance among neural models on the STS benchmark, surpassing models trained only on NLI data.
- On the SemEval 2017 CQA subtask B, the Reddit+SNLI model achieves a MAP of 47.42, outperforming the official first-place system (SimBow-primary, MAP 47.22) without any task-specific tuning.
- Performance on STS stabilizes after using only 40% of the Reddit training data, indicating efficient adaptation to domain-specific tasks with minimal in-domain data.
- The Transformer encoder outperforms DAN and LSTM-based models in all experiments, confirming its effectiveness for this task.
- The model shows that unsupervised response prediction in conversations implicitly captures semantic similarity, as evidenced by high correlation between predicted responses and semantically similar inputs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.