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

Abstract

We introduce TechQA, a domain-adaptation question answering dataset for the technical support domain. The TechQA corpus highlights two real-world issues from the automated customer support domain. First, it contains actual questions posed by users on a technical forum, rather than questions generated specifically for a competition or a task. Second, it has a real-world size -- 600 training, 310 dev, and 490 evaluation question/answer pairs -- thus reflecting the cost of creating large labeled datasets with actual data. Consequently, TechQA is meant to stimulate research in domain adaptation rather than being a resource to build QA systems from scratch. The dataset was obtained by crawling the IBM Developer and IBM DeveloperWorks forums for questions with accepted answers that appear in a published IBM Technote---a technical document that addresses a specific technical issue. We also release a collection of the 801,998 publicly available Technotes as of April 4, 2019 as a companion resource that might be used for pretraining, to learn representations of the IT domain language.

Introduction

The TechQA dataset introduces a challenging new benchmark for domain-adaptation in question answering, specifically targeting the technical support industry. Unlike popular datasets derived from Wikipedia, TechQA uses real-world user questions from IBM forums and requires systems to find answers within complex technical documents, highlighting the massive performance gap between general-purpose AI and domain-specific expert needs.

The Challenge of Technical Support QA

Most modern Machine Reading Comprehension (MRC) datasets, like SQuAD or Natural Questions (NQ), suffer from two main issues when applied to industry settings. First, they are often "biased" because annotators write questions after seeing the answer, leading to high lexical overlap. Second, they focus on "open-domain" knowledge (like Wikipedia), where questions and answers are typically short and simple.

In the trillion-dollar IT support industry, the reality is much messier. Users post long, rambling questions filled with stack traces and version numbers. The answers aren't found in a single sentence on a trivia page; they are buried in "Technotes"—dense, technical documents written by engineers. The authors address the lack of a realistic, small-scale (yet high-quality) dataset that forces researchers to move beyond simple fine-tuning and toward true domain adaptation.

Dataset Construction and Methodology

The researchers built TechQA by crawling IBM Developer and DeveloperWorks forums, specifically targeting "accepted answers" that contained links to official IBM Technotes.

The construction pipeline involved:

  1. Automatic Filtering: Selecting questions with accepted answers that linked to currently available Technotes and were at most 12 sentences long.
  2. Human Filtering: Six annotators (including a Linux system administrator) reviewed the questions to split multiple queries, remove irrelevant "sign-offs", and clean up messy stack traces.
  3. Annotation: Annotators identified the shortest possible span in the linked Technote that answered the forum user's question. If the Technote did not contain the answer, the question was discarded or marked as unanswerable.
  4. Leaderboard Setup: To simulate a real search task, for every question, the system is provided with a candidate list of 50 Technotes (retrieved via Elasticsearch) and must identify the correct answer span within them.
Examples of TechQA questions paired with official IBM Technotes and extracted answers.

Dataset Characteristics

  • TechQA: A curated set of 1,400 question-answer pairs (600 training, 310 development, and 490 for a blind test set).
  • Technote Corpus: A massive collection of 801,998 publicly available IBM Technotes provided as a companion resource for pre-training language models on IT-specific vocabulary.
  • Baseline Comparisons: The paper evaluates models previously trained on SQuAD 2.0, Natural Questions (NQ), and HOTPOTQA.

Analysis: The "Length Gap" and Domain Expertise

TechQA is structurally different from its predecessors. While an NQ question averages 9 tokens, a TechQA question averages 53. Similarly, TechQA answers are roughly 15 times longer than SQuAD answers. This reflects the complexity of technical troubleshooting where answers often involve multi-step procedures.

Distribution of question and answer lengths in the TechQA training set, highlighting the complexity compared to general-domain datasets.

The authors intentionally kept the training set small (600 pairs) to reflect real-world constraints: hiring subject matter experts to label data is prohibitively expensive. This forces AI models to learn from a "real-world size" sample rather than millions of examples. Furthermore, technical support is rife with jargon and product names that don't appear in standard training sets, making the 800k+ Technote corpus essential for enlarging the vocabulary of models like BERT.

Experimental Results

The results show that out-of-the-box "state-of-the-art" models fail significantly on technical data:

  • Zero-Shot Failure: A model trained on SQuAD 2.0 achieved a nearly useless 1.67 F1 score on TechQA without fine-tuning.
  • Fine-Tuning Impact: After fine-tuning on the 600 TechQA examples, the NQ-based model jumped to a 55.31 F1.
  • Human-Machine Gap: Even the best fine-tuned model (55.31 F1) lags significantly behind the human inter-annotator agreement score of 76.3 F1, proving that TechQA remains a difficult benchmark for current NLP.

Conclusion and Future Work

The authors acknowledge that this initial release is constrained to single-span answers in single documents. Future iterations of TechQA aim to include multi-hop questions where the answer is distributed across multiple documents, incorporate complex reasoning steps, and move toward more diverse, less structured technical documentation.

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