Skip to main content
QUICK REVIEW

[Paper Review] Experiments on Paraphrase Identification Using Quora Question Pairs Dataset

Andreas Chandra, Ruben Stefanus|arXiv (Cornell University)|Jun 4, 2020
Topic ModelingComputer Science27 references10 citations
TL;DR

This paper investigates paraphrase identification using the Quora question pairs dataset through multiple machine learning approaches. It employs Bag of Words, TF-IDF, and WordPiece tokenization with XGBoost and CatBoost, achieving up to 97% accuracy, demonstrating that subword tokenization significantly improves performance over traditional methods.

ABSTRACT

We modeled the Quora question pairs dataset to identify a similar question. The dataset that we use is provided by Quora. The task is a binary classification. We tried several methods and algorithms and different approach from previous works. For feature extraction, we used Bag of Words including Count Vectorizer, and Term Frequency-Inverse Document Frequency with unigram for XGBoost and CatBoost. Furthermore, we also experimented with WordPiece tokenizer which improves the model performance significantly. We achieved up to 97 percent accuracy. Code and Dataset.

Motivation & Objective

  • To improve paraphrase identification performance on the Quora question pairs dataset using diverse feature extraction and modeling techniques.
  • To evaluate the effectiveness of traditional NLP methods like Count Vectorizer and TF-IDF against modern subword tokenization (WordPiece) in a binary classification setup.
  • To compare the performance of XGBoost and CatBoost in identifying semantically similar questions.
  • To determine whether advanced tokenization improves model generalization and accuracy in paraphrase detection.

Proposed method

  • Feature extraction using Count Vectorizer and TF-IDF with unigram features for input representation.
  • Application of WordPiece tokenization to better capture morphological variations and rare words.
  • Training of XGBoost and CatBoost classifiers on the engineered features for binary classification of question pairs.
  • Model evaluation using accuracy as the primary metric on the Quora question pairs dataset.
  • Hyperparameter tuning and cross-validation to optimize model performance across different configurations.
  • Use of standard preprocessing steps including lowercasing, punctuation removal, and stopword filtering prior to feature extraction.

Experimental results

Research questions

  • RQ1Does WordPiece tokenization lead to higher accuracy in paraphrase identification compared to traditional Bag-of-Words and TF-IDF methods?
  • RQ2How do XGBoost and CatBoost compare in performance on the Quora paraphrase detection task?
  • RQ3Can TF-IDF with unigram features achieve competitive results when combined with gradient-boosted trees?
  • RQ4To what extent does subword-level tokenization improve model generalization on out-of-vocabulary words in question pairs?

Key findings

  • The model achieved a maximum accuracy of 97% on the Quora question pairs dataset, representing a strong performance for the task.
  • WordPiece tokenization significantly improved model performance compared to standard Bag-of-Words and TF-IDF approaches.
  • XGBoost and CatBoost both performed well, with the best results obtained when combined with WordPiece tokenization.
  • TF-IDF with unigram features provided a solid baseline, but underperformed when compared to models using subword-level representations.
  • The integration of subword features reduced the impact of out-of-vocabulary words, enhancing robustness in real-world question pairs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.