[Paper Review] Support-BERT: Predicting Quality of Question-Answer Pairs in MSDN using Deep Bidirectional Transformer
This paper proposes Support-BERT, a fine-tuned BERT model pre-trained on Microsoft Developer Network (MSDN) Q&A data to predict the quality of question-answer pairs in community support forums. By leveraging transfer learning and domain-specific fine-tuning, the model achieves over 80% accuracy in classifying high-quality Q&A pairs and is deployed in real-time via AzureML with under 110ms inference latency.
Quality of questions and answers from community support websites (e.g. Microsoft Developers Network, Stackoverflow, Github, etc.) is difficult to define and a prediction model of quality questions and answers is even more challenging to implement. Previous works have addressed the question quality models and answer quality models separately using meta-features like number of up-votes, trustworthiness of the person posting the questions or answers, titles of the post, and context naive natural language processing features. However, there is a lack of an integrated question-answer quality model for community question answering websites in the literature. In this brief paper, we tackle the quality Q&A modeling problems from the community support websites using a recently developed deep learning model using bidirectional transformers. We investigate the applicability of transfer learning on Q&A quality modeling using Bidirectional Encoder Representations from Transformers (BERT) trained on a separate tasks originally using Wikipedia. It is found that a further pre-training of BERT model along with finetuning on the Q&As extracted from Microsoft Developer Network (MSDN) can boost the performance of automated quality prediction to more than 80%. Furthermore, the implementations are carried out for deploying the finetuned model in real-time scenario using AzureML in Azure knowledge base system.
Motivation & Objective
- Address the lack of integrated models for predicting combined question-answer quality in technical community forums like MSDN.
- Investigate whether transfer learning with BERT improves quality prediction for technical Q&A content beyond traditional meta-features.
- Develop a high-performance, low-latency model suitable for real-time deployment in production systems such as Azure knowledge base.
- Demonstrate that end-to-end modeling of Q&A pairs outperforms separate modeling of questions and answers.
- Enable automated, expert-like quality assessment of Q&A pairs without requiring explicit definition of 'quality'.
Proposed method
- Fine-tune a pre-trained BERT model on MSDN Q&A data using transfer learning to adapt to technical community support language.
- Perform domain-specific pre-training on MSDN data using masked language modeling and next sentence prediction objectives for 10 epochs.
- Use end-to-end fine-tuning on paired question-answer instances, treating each Q&A pair as a sequence input to the BERT model.
- Deploy the final model using Azure Machine Learning (AzureML) services, registering the model and deploying it as an Azure Container Instance (ACI) on Azure Kubernetes Service (AKS).
- Optimize inference latency by leveraging GPU-enabled Azure NC-6 VMs and validate performance on test sets with varying acceptance ratios.
- Utilize TensorFlow API within AzureML for training and ensure model reproducibility and interoperability with open-source tools.
Experimental results
Research questions
- RQ1Can a BERT-based model effectively predict the quality of combined question-answer pairs in technical community forums like MSDN?
- RQ2Does domain-specific pre-training on MSDN Q&A data improve the performance of quality prediction compared to using a general-purpose BERT model?
- RQ3Can a deep learning model achieve high accuracy in Q&A quality prediction while maintaining low inference latency suitable for real-time deployment?
- RQ4How does the model’s performance vary across different ratios of accepted to unaccepted answers in the test data?
- RQ5To what extent can NLP-based features outperform traditional meta-features (e.g., upvotes, user trust) in quality prediction?
Key findings
- The Support-BERT model achieved 82% accuracy in identifying high-quality Q&A pairs on a 1:1 acceptance-to-unaccepted ratio test set.
- On a more realistic 1:3 acceptance-to-unaccepted ratio test set, the model maintained 77.41% accuracy, demonstrating robustness to class imbalance.
- The model's inference latency was measured at an average of 110 ms, confirming its suitability for real-time deployment in production systems.
- Domain-specific pre-training on MSDN data followed by fine-tuning significantly improved performance, surpassing baseline BERT models.
- The model outperformed existing Azure knowledge base systems that rely solely on meta-features like upvotes, demonstrating the value of NLP-based content modeling.
- The deployment pipeline using AzureML and AKS enabled scalable, low-latency inference and model versioning, supporting integration into enterprise knowledge systems.
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.