Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Text mining›Question Answering (QA)
Process / pipeline

Question Answering (QA)

Also known as: QA, machine reading comprehension, Soru Cevaplama (Question Answering)

Question answering is a natural-language-processing task that automatically answers natural-language questions grounded in a given context passage, using either extractive or generative approaches. The task was crystallised by the SQuAD benchmark of Rajpurkar et al. (2016), and later models such as XLNet (Yang et al., 2019) pushed reading-comprehension accuracy higher.

ScholarGate
  1. Process / pipeline
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Question Answering
Machine TranslationNamed Entity RecognitionSentiment AnalysisText ClassificationCommonsense ReasoningCoreference ResolutionHallucination DetectionRetrieval-Augmented Gene…Semantic Role Labeling

When to use it

Question answering fits when you have text questions to answer and a context passage that is expected to contain those answers. It suits exploratory and descriptive work over textual data, and benefits from a modest set of examples to test against. A domain-specific model is worth using when the text is specialised. Without a context passage the method has nothing to read, and a general model on niche terminology will underperform.

Strengths & limitations

Strengths
  • Grounds answers in a supplied context passage rather than free-floating generation, keeping responses traceable to source text.
  • Supports both extractive answers — exact spans copied from the text — and generative answers written in natural language.
  • Domain-specific models can be slotted in to raise accuracy on specialised material without changing the overall pipeline.
Limitations
  • Requires a relevant context passage; with no context to read, the method cannot answer reliably.
  • A general-purpose model gives lower accuracy on domain-specific text than a model tuned for that domain.
  • Quality depends on how well the answer is actually contained in, and phrased within, the provided passage.

Frequently asked

What is the difference between extractive and generative question answering?

An extractive approach finds and returns the exact span of text in the context that answers the question. A generative approach writes an answer in its own words, conditioned on the question and context. Extractive answers stay verbatim and are easy to score against the source; generative answers read more naturally but can drift from the passage.

Do I always need a context passage?

In this method, yes. The system answers based on a supplied context that is assumed to contain the answer. Without a relevant passage to read, the model has nothing to ground its answer in and reliability drops sharply.

Should I use a domain-specific model?

If your text is specialised, a domain-specific model gives higher accuracy than a general-purpose one, because it encodes the terminology more faithfully. For general text, a general model is usually adequate.

How is question-answering accuracy measured?

Predicted answers are compared with reference answers using measures such as exact match and F1, typically on a benchmark like SQuAD. Inspecting failure cases alongside these scores reveals systematic weaknesses before deployment.

Sources

  1. Rajpurkar, P. et al. (2016). SQuAD: 100,000+ Questions for Machine Comprehension of Text. EMNLP. DOI: 10.18653/v1/D16-1264 ↗
  2. Yang, Z. et al. (2019). XLNet: Generalized Autoregressive Pretraining for Language Understanding. NeurIPS. link ↗

How to cite this page

ScholarGate. (2026, June 1). Question Answering (QA). ScholarGate. https://scholargate.app/en/text-mining/question-answering

Related methods

Machine TranslationNamed Entity RecognitionSentiment AnalysisText Classification

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Machine TranslationText mining↔ compare
  • Named Entity RecognitionText mining↔ compare
  • Sentiment AnalysisText mining↔ compare
  • Text ClassificationText mining↔ compare
Compare side by side →

Referenced by

Commonsense ReasoningCoreference ResolutionHallucination DetectionRetrieval-Augmented GenerationSemantic Role Labeling

Similar methods

Machine Reading ComprehensionFine-Tuned Question AnsweringMultilingual question answeringExplainable Question AnsweringDomain-adaptive Question AnsweringText SummarizationNatural Language GenerationSelf-supervised Question Answering

Related reference concepts

Question Answering and Dialogue SystemsInformation ExtractionInformation ExtractionNatural Language ProcessingMachine TranslationNatural Language Processing in Clinical Documentation

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Question Answering (Question Answering (QA)). Retrieved 2026-07-21 from https://scholargate.app/en/text-mining/question-answering · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Type
NLP text-comprehension task
Approaches
Extractive / generative
Input
A natural-language question plus a context passage
Output
An answer in natural language
Benchmark
SQuAD (Rajpurkar et al., 2016)
Related methods
Machine TranslationNamed Entity RecognitionSentiment AnalysisText Classification
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account