Question answering starts with the evidence boundary
Extracting an answer from a passage is different from answering from general knowledge.

Define where the answer lives
Question-answering systems can be designed to select an answer span from supplied text or to generate an answer using broader context. In extractive tasks, the evidence boundary is comparatively explicit: the answer should come from the passage. That does not make the task trivial. The system must identify the relevant span and recognize when the passage does not actually answer the question.
A museum visitor service
Imagine asking when a temporary exhibition closes. The supplied page includes dates for the exhibition, a members’ preview and a related lecture. A system may select a valid date from the page while answering the wrong question. Exact extraction is therefore necessary but not sufficient; the relationship between the question and the selected information must also be correct.
Absence should remain possible
If the page lacks closing information, forcing the system to choose a span creates a misleading answer. Evaluation should include unanswerable and ambiguous questions, not only cases with obvious matches. Documents may also be outdated or internally inconsistent. The model’s ability to point at text does not establish that the text itself is current or authoritative.
Return the supporting context
For the visitor service, show the relevant sentence and link to the page rather than returning a bare date. Keep event types distinct and offer a contact path when evidence is missing. Test near-identical questions about different events. A useful question-answering system makes its evidential limits visible, helping readers judge whether the retrieved passage truly resolves their question instead of treating any plausible-looking answer as success. The service should avoid substituting the date of a related lecture when the exhibition date is absent, even if that produces a more complete-looking response.
Sources & further reading
huggingface.co — question answering ↗
AI-assisted editorial explainer. Sources are provided for verification.
Continue reading
The quiet power of a straight line ↗
Probability is not a verdict ↗