The TechQA Dataset

Vittorio Castelli, Rishav Chakravarti, Saswati Dana, Anthony Ferritto, Radu Florian, Martin Franz, Dinesh Garg, Dinesh Khandelwal, J. Scott McCarley, Mike McCawley, Mohamed Nasr, Lin Pan, Cezar Pendus, John F. Pitrelli, Saurabh Pujar, Salim Roukos, Andrzej Sakrajda, Avirup Sil, Rosario Uceda-Sosa, Todd Ward, Rong Zhang · DOI

TL;DR

This paper introduces TechQA, a new question-answering dataset for the IT technical support domain, designed to bridge the gap between large-scale, general-domain QA systems and the complexities of real-world technical troubleshooting. TechQA features questions from actual users and answers from IBM Technotes, aiming to drive research in domain adaptation and handling longer, more detailed queries and answers.

What Problem Does This Paper Address?

Developing practical AI solutions often faces a tension between leveraging vast amounts of data and compute power in early research phases and the challenges of creating robust, efficient algorithms and curating appropriate training data for mature technologies. Specifically, existing question-answering (QA) datasets, while impressive, often suffer from "observation bias" where questions and answers are artificially generated or have strong lexical overlap with the source text. This makes them less representative of real-world scenarios where questions are complex, answers are lengthy, and domain-specific knowledge is crucial. The IT support domain, a massive industry, presents a prime example of such a challenge, requiring systems that can understand detailed technical queries and extract relevant information from extensive documentation.

Methods

The TechQA dataset was created through a multi-stage process:

  • Data Collection: Questions were sourced from IBM's public technical forums (developer.ibm.com/answers and IBM developerworks). Accepted answers were identified, and a crucial filtering step involved selecting questions where the accepted answer linked to an IBM Technote. Technotes are IBM's official technical documents addressing specific issues.
  • Automatic Filtering: Questions were initially filtered to ensure they had an accepted answer linking to a Technote and were no longer than 12 sentences to align with the trend of shorter questions in existing QA datasets.
  • Human Annotation: A team of professional annotators and a system administrator reviewed the filtered questions. They were trained to understand technical jargon and focus on matching the content of the accepted answer with the Technote, rather than answering the questions themselves.
  • Manual Filtering and Adjudication: Annotators flagged questions requiring manual modification, such as splitting multi-part questions or removing irrelevant information like stack traces. Disagreements between annotators were resolved through adjudication by the authors.
  • Answer Span Selection: Annotators were instructed to select the shortest possible text span within a Technote that would answer the question for an expert, avoiding extraneous information.

Datasets

  • TechQA: A newly introduced dataset for the IT technical support domain.
  • Training Set: 600 questions (450 answerable, 150 non-answerable).
  • Development Set: 310 questions (160 answerable, 150 non-answerable).
  • Test Set: 490 questions (similar answerable/non-answerable ratio to the development set).
  • Companion Resource: A collection of 801,998 IBM Technotes.
  • Existing Datasets for Comparison: SQuAD 2.0 and HOTPOTQA were used as baselines for comparison.

Key Insights and Ideas

  • Real-World Complexity: TechQA highlights that real-world technical support questions and answers are significantly longer and more detailed than those found in many existing QA datasets. This necessitates models that can handle longer contexts and extract information from more complex text structures.
  • Domain Adaptation is Crucial: The dataset is explicitly designed to stimulate research in domain adaptation. Simply fine-tuning models trained on general-domain datasets like SQuAD or NQ on TechQA yields poor results, underscoring the need for specialized approaches.
  • The Value of Technotes: IBM Technotes serve as a rich source of structured, expert-generated information that can be leveraged to answer user queries. The dataset's structure, linking forum questions to these Technotes, provides a unique opportunity to study how to effectively bridge user-generated content with official documentation.
  • Cost of Data Curation: The paper emphasizes the real-world cost and effort involved in creating large, labeled datasets using actual data, contrasting it with artificially generated datasets.

Key Results

  • Baseline Performance: Out-of-the-box performance of models trained on SQuAD 2.0 and NQ on TechQA was very low, often performing little better than a system that declares all questions unanswerable.
  • Fine-tuning Benefits: Fine-tuning these models on the TechQA training set led to notable improvements. For instance, SQuAD 2.0 + FT achieved an F1 score of 54.05, and NQ + FT reached 55.31.
  • TAP System: The TAP system, a document ranker followed by a BERT-based answer span selector, achieved a competitive HA_F1@5 of 57.49, suggesting the effectiveness of a hybrid approach.
  • Inter-Annotator Agreement: The inter-annotator agreement for answerable questions was 76.3% F1 and 61% exact match, indicating a reasonable level of consistency in annotation.

Limitations and Future Work

  • Initial Version Constraints: The initial version of TechQA has limitations, such as answers being restricted to single spans within a single Technote and questions being capped at 12 sentences.
  • Future Releases: The authors plan to relax these constraints in future releases, allowing for answers composed of multiple spans from one or more documents and including questions with richer details.
  • Broader Scope: Future work aims to expand the dataset to include documents with less formulaic structures than Technotes and to incorporate more diverse AI disciplines beyond MRC, such as reasoning, knowledge base acquisition, and causality detection.
  • Beyond Technotes: The paper acknowledges that future datasets might need to go beyond Technotes to capture the full spectrum of technical support challenges.

Summary updated

BibTeX
@inproceedings{castelli2020techqa,
  author = {Vittorio Castelli and Rishav Chakravarti and Saswati Dana and Anthony Ferritto and Radu Florian and Martin Franz and Dinesh Garg and Dinesh Khandelwal and J. Scott McCarley and Mike McCawley and Mohamed Nasr and Lin Pan and Cezar Pendus and John F. Pitrelli and Saurabh Pujar and Salim Roukos and Andrzej Sakrajda and Avirup Sil and Rosario Uceda-Sosa and Todd Ward and Rong Zhang},
  title = {{The TechQA Dataset}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.117},
}
Figure