liveBook · Manning

Closed-book generative question answering

As explained in Introduction to Generative AI, Second Edition

Closed-book question answering produces an answer without supplied context, relying on information represented in the model.

Closed-book generative question answering produces a natural-language answer from a question alone. Unlike extractive question answering, it does not copy an answer from supplied text; unlike open-book generative question answering, it receives no supporting context. section 1.6

The model generates the answer it considers most likely from information represented during pretraining. It must interpret the question, identify what is being asked, and retrieve or construct an answer from its internal representation rather than from a visible passage. section 1.6 section 2.2

Typical questions

Questions such as “Which politician won the Nobel Peace Prize in 2009?” or “What music did Beethoven compose?” require the model to answer without supplied context. It may answer an obscure question incorrectly or make up an answer when its learned information provides weak support. section 1.6 section 2.2

Strict closed-book evaluation tests knowledge without external context and prevents training on the evaluation datasets. This setting measures what a model can produce from learned information, but answers may reflect gaps or geographic and linguistic imbalances in web data. section 1.6 section 2.2

How Introduction to Generative AI, Second Edition covers it

How deep it goes
Explains the input-output distinction, learned-information mechanism, evaluation setting, and risks, but stops short of implementation details.
Examples
Uses Nobel Prize, Beethoven, and first-president questions alongside trivia and search-query evaluations.
What it assumes
Assumes no technical background and distinguishes supplied context from information learned during pretraining.
What you can do after
Evaluate/understand when a model answers from learned information and recognize why obscure or ambiguous questions can produce unreliable results.
How it connects
Contrasts extractive question answering and open-book generative question answering, while connecting answers to pretraining and reading comprehension.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Introduction to Generative AI, Second Edition. The section links point to the parts of the book it draws on.