Skip to main content
QUICK REVIEW

[Paper Review] Identifying Semantically Duplicate Questions Using Data Science Approach: A Quora Case Study

Navedanjum Ansari, Rajesh Sharma|arXiv (Cornell University)|Apr 18, 2020
Topic ModelingComputer Science8 citations
TL;DR

This paper proposes a data science approach to detect semantically duplicate questions on Quora using machine learning and deep learning techniques. By combining feature engineering, XGBoost with character-level TF-IDF, and four deep neural network architectures, the best model achieves 85.82% accuracy—surpassing prior machine learning models and approaching Quora’s state-of-the-art performance.

ABSTRACT

Identifying semantically identical questions on, Question and Answering social media platforms like Quora is exceptionally significant to ensure that the quality and the quantity of content are presented to users, based on the intent of the question and thus enriching overall user experience. Detecting duplicate questions is a challenging problem because natural language is very expressive, and a unique intent can be conveyed using different words, phrases, and sentence structuring. Machine learning and deep learning methods are known to have accomplished superior results over traditional natural language processing techniques in identifying similar texts. In this paper, taking Quora for our case study, we explored and applied different machine learning and deep learning techniques on the task of identifying duplicate questions on Quora's dataset. By using feature engineering, feature importance techniques, and experimenting with seven selected machine learning classifiers, we demonstrated that our models outperformed previous studies on this task. Xgboost model with character level term frequency and inverse term frequency is our best machine learning model that has also outperformed a few of the Deep learning baseline models. We applied deep learning techniques to model four different deep neural networks of multiple layers consisting of Glove embeddings, Long Short Term Memory, Convolution, Max pooling, Dense, Batch Normalization, Activation functions, and model merge. Our deep learning models achieved better accuracy than machine learning models. Three out of four proposed architectures outperformed the accuracy from previous machine learning and deep learning research work, two out of four models outperformed accuracy from previous deep learning study on Quora's question pair dataset, and our best model achieved accuracy of 85.82% which is close to Quora state of the art accuracy.

Motivation & Objective

  • To improve the detection of semantically identical questions on Quora to enhance content quality and user experience.
  • To address the challenge of natural language variability, where identical intent is expressed through different wording and structures.
  • To evaluate and compare machine learning and deep learning models on the Quora question pair dataset.
  • To identify the most effective feature engineering and model architecture combinations for duplicate question detection.

Proposed method

  • Applied feature engineering using character-level term frequency and inverse term frequency (TF-IDF) features.
  • Evaluated seven machine learning classifiers, with XGBoost emerging as the best-performing model.
  • Designed four deep neural network architectures using GloVe word embeddings, LSTM, convolutional layers, max pooling, batch normalization, and ReLU activation.
  • Integrated multiple layers including dense, dropout, and batch normalization to improve generalization and training stability.
  • Used model merging techniques to combine predictions from multiple deep learning architectures for improved performance.
  • Trained and validated models on the Quora question pair dataset, using accuracy as the primary evaluation metric.

Experimental results

Research questions

  • RQ1Can machine learning models with engineered features outperform previous approaches in detecting semantically duplicate questions on Quora?
  • RQ2How do deep neural network architectures compare to traditional machine learning models in terms of accuracy for duplicate question detection?
  • RQ3What is the impact of character-level TF-IDF features on model performance in this task?
  • RQ4Can ensemble or merged deep learning models surpass state-of-the-art results on the Quora dataset?
  • RQ5What is the optimal combination of neural network components (e.g., LSTM, CNN, normalization) for this classification task?

Key findings

  • The XGBoost model with character-level TF-IDF features achieved the highest accuracy among all machine learning models tested.
  • The best deep learning model achieved an accuracy of 85.82%, which is close to Quora’s state-of-the-art performance.
  • Three out of four deep learning architectures outperformed previous machine learning and deep learning research on the Quora dataset.
  • Two of the four deep learning models surpassed the accuracy of prior deep learning studies on the same dataset.
  • Feature importance analysis confirmed that character-level features significantly contributed to model performance.
  • The integration of batch normalization and ReLU activation improved training convergence and model generalization across all deep learning architectures.

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.