TECHNOLOGY

WebQuestions: preserve entity answer sets when evaluating a language model

In this article
THE QUICK TAKE

A list of entity answers is not necessarily one canonical answer string; preserving the set is essential to a meaningful WebQuestions conversion.

WebQuestions originates in question answering over Freebase, with many questions centered on a named entity. It is useful for examining whether a system identifies the intended relation and returns the right answer collection. Converting it to a text-generation benchmark requires preserving that collection rather than treating every example as an arbitrary single-string response.

Keep the original task visible

The source research studies semantic parsing from question-answer supervision. A language model answering directly from its weights or retrieved text follows a different execution path from a parser querying a knowledge base. State the permitted knowledge source and evaluation protocol. Similar question wording does not make these systems equivalent experiments.

Preserve collection-valued answers

A relation can return several entities. Keep all annotated answers and distinguish a true answer set from alternative spellings of one entity. For an illustrative question about an organization’s founders, returning one correct person can still omit another required member. A single exact-match string cannot express this coverage issue without an explicitly designed serialization and scoring rule.

Inspect the exported schema

TensorFlow Datasets exposes question, answers and URL fields, with answers represented as a sequence. Preserve the source association during conversion. Do not concatenate answers into a sentence and later split on punctuation without checking names that themselves contain punctuation. Inspect actual partition counts rather than relying only on a catalogue’s descriptive headline.

Treat historical facts as release-specific

The knowledge-base and question collection reflect their construction period. A current answer can differ from a historical relation value. Separate temporal disagreement from entity-linking or generation errors. If the experiment updates facts, label the revised dataset and retain the original answer record so a score change can be traced to the changed target.

Evaluate the intended unit

Define entity matching, aliases, partial coverage and duplicate predictions before running the model. Keep official splits for a comparable benchmark result, with any local filtering documented. The SEMPRE implementation supplies original execution context, while a maintained loader supplies another concrete data representation. WebQuestions is valuable when the answer unit and knowledge-access policy remain explicit throughout conversion, retrieval and final scoring.

Primary references

WebQuestions original research.

SEMPRE author implementation.

TensorFlow WebQuestions schema.

Related explanations: label and output identity; sources of model knowledge.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles