Skip to main content
QUICK REVIEW

[Paper Review] FAQ Retrieval using Query-Question Similarity and BERT-Based Query-Answer Relevance

Wataru Sakata, Tomohide Shibata|arXiv (Cornell University)|May 8, 2019
Topic ModelingComputer Science14 references5 citations
TL;DR

This paper proposes a hybrid FAQ retrieval system that combines unsupervised query-question (q-Q) similarity using TSUBAKI with BERT-based query-answer (q-A) relevance scoring to improve retrieval performance. By leveraging similar FAQ datasets to augment limited training data, the method achieves state-of-the-art results on both Japanese local government and English StackExchange datasets, outperforming baselines in MAP, MRR, and P@5 metrics.

ABSTRACT

Frequently Asked Question (FAQ) retrieval is an important task where the objective is to retrieve an appropriate Question-Answer (QA) pair from a database based on a user's query. We propose a FAQ retrieval system that considers the similarity between a user's query and a question as well as the relevance between the query and an answer. Although a common approach to FAQ retrieval is to construct labeled data for training, it takes annotation costs. Therefore, we use a traditional unsupervised information retrieval system to calculate the similarity between the query and question. On the other hand, the relevance between the query and answer can be learned by using QA pairs in a FAQ database. The recently-proposed BERT model is used for the relevance calculation. Since the number of QA pairs in FAQ page is not enough to train a model, we cope with this issue by leveraging FAQ sets that are similar to the one in question. We evaluate our approach on two datasets. The first one is localgovFAQ, a dataset we construct in a Japanese administrative municipality domain. The second is StackExchange dataset, which is the public dataset in English. We demonstrate that our proposed method outperforms baseline methods on these datasets.

Motivation & Objective

  • To address the high annotation cost of labeling query-QA relevance in FAQ retrieval.
  • To improve FAQ retrieval performance by combining unsupervised q-Q similarity with BERT-based q-A relevance.
  • To overcome data scarcity in small FAQ datasets by collecting and leveraging similar FAQ sets for training.
  • To develop a robust, high-performance FAQ retrieval system applicable across domains and languages.

Proposed method

  • Uses TSUBAKI, an unsupervised retrieval system based on OKAPI BM25, to compute query-question (q-Q) similarity.
  • Applies BERT as a sentence-pair classifier to learn query-answer (q-A) relevance from QA pairs.
  • Constructs positive and negative training pairs by pairing correct QA pairs and randomly sampling negative answers.
  • Leverages multiple similar FAQ datasets to increase the size of training data for BERT, mitigating data scarcity.
  • Combines q-Q similarity and q-A relevance scores via early concatenation and late interaction for final ranking.
  • Employs a telescoping retrieval setting for scalability on larger FAQ collections.

Experimental results

Research questions

  • RQ1Can combining unsupervised q-Q similarity with BERT-based q-A relevance improve FAQ retrieval performance?
  • RQ2How effective is BERT for learning q-A relevance when training data is limited in size?
  • RQ3Can data augmentation via similar FAQ sets significantly improve model generalization and performance?
  • RQ4Does the hybrid approach outperform methods relying solely on q-Q similarity or q-A relevance?

Key findings

  • On the localgovFAQ dataset, the proposed method achieved a MAP of 0.897, MRR of 0.942, and P@5 of 0.776, outperforming all baselines.
  • On the StackExchange dataset, the proposed method achieved a MAP of 0.845, MRR of 0.892, and P@5 of 0.734, demonstrating strong generalization.
  • The BERT-based q-A relevance component alone achieved a MAP of 0.887 on localgovFAQ, showing its effectiveness even without q-Q similarity.
  • The system correctly retrieved the correct QA pair in 77.6% of cases at top-1 rank on localgovFAQ, outperforming TSUBAKI and BERT-only baselines.
  • The method successfully retrieved relevant QA pairs even when lexical gaps existed between query and question, due to BERT’s contextual understanding.
  • The system runs in approximately 2 seconds per query using 7 GPUs, demonstrating practical efficiency.

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.