[Paper Review] Sentence Pair Scoring: Towards Unified Framework for Text Comprehension
This paper proposes a unified framework for sentence pair scoring across diverse NLP tasks such as answer selection, textual entailment, and dialogue response ranking. By evaluating diverse neural models—including RNN-CNN and attention-based architectures—on multiple datasets, including a new, more challenging Ubuntu Dialogue benchmark, the authors achieve state-of-the-art performance and demonstrate the feasibility of transfer learning for universal sentence comprehension.
We review the task of Sentence Pair Scoring, popular in the literature in various forms - viewed as Answer Sentence Selection, Semantic Text Scoring, Next Utterance Ranking, Recognizing Textual Entailment, Paraphrasing or e.g. a component of Memory Networks. We argue that all such tasks are similar from the model perspective and propose new baselines by comparing the performance of common IR metrics and popular convolutional, recurrent and attention-based neural models across many Sentence Pair Scoring tasks and datasets. We discuss the problem of evaluating randomized models, propose a statistically grounded methodology, and attempt to improve comparisons by releasing new datasets that are much harder than some of the currently used well explored benchmarks. We introduce a unified open source software framework with easily pluggable models and tasks, which enables us to experiment with multi-task reusability of trained sentence model. We set a new state-of-art in performance on the Ubuntu Dialogue dataset.
Motivation & Objective
- Unify diverse NLP tasks—such as answer sentence selection, textual entailment, and next utterance ranking—under a single sentence pair scoring framework.
- Address methodological flaws in model evaluation by introducing statistically grounded comparisons and stronger baselines, including non-neural IR metrics.
- Develop a new, more challenging dataset (yodaqa/large2470) to overcome limitations of existing benchmarks like wang and WikiQA.
- Enable multi-task reusability of trained sentence models through an open-source, pluggable software framework.
- Demonstrate that transfer learning across tasks can significantly improve performance, supporting the feasibility of universal sentence comprehension models.
Proposed method
- Design a unified software framework with modular components for easily swapping models and tasks, enabling consistent evaluation across datasets.
- Compare a range of models: traditional IR metrics (BM25, TF-IDF), convolutional (CNN), recurrent (RNN), and attention-based neural networks.
- Implement transfer learning by fine-tuning models pre-trained on one dataset (e.g., Ubuntu Dialogue) for performance on other tasks.
- Introduce a new, larger, and more complex dataset (yodaqa/large2470) derived from curated question-answer pairs with diverse, real-world sentence pairs.
- Use statistical significance testing to evaluate model performance, avoiding over-reliance on noisy rank-based metrics like MRR and MAP.
- Apply feature engineering such as token overlap and semantic features to enhance model generalization and performance.
Experimental results
Research questions
- RQ1Can a single, task-agnostic sentence representation model generalize across diverse sentence pair scoring tasks?
- RQ2How do neural models compare to strong non-neural IR baselines (e.g., BM25) in performance across multiple sentence pair tasks?
- RQ3To what extent does transfer learning from a large, diverse dataset (e.g., Ubuntu Dialogue) improve performance on downstream tasks?
- RQ4How do dataset characteristics—such as sentence diversity, label noise, and split instability—affect model evaluation and generalization?
- RQ5Can a unified framework with shared sentence encoders enable efficient multi-task learning and model reusability?
Key findings
- The RNN-CNN model achieves state-of-the-art performance on the Ubuntu Dialogue dataset, outperforming prior methods.
- Transfer learning from the Ubuntu Dialogue dataset significantly improves performance on other tasks, including SNLI and SICK, demonstrating cross-task generalization.
- The new yodaqa/large2470 dataset is substantially more challenging than existing benchmarks, with higher sentence variability and more complex semantic relationships.
- Non-neural IR baselines like BM25 remain competitive, especially on simpler tasks, highlighting the need for rigorous statistical evaluation.
- Performance on validation and test sets shows low correlation in existing benchmarks (e.g., wang), indicating unreliable hyperparameter tuning and early stopping.
- Attention-based models and RNNs with attention show promise but were not fully optimized in this study, suggesting room for improvement in future work.
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.