Paper commentary
WebGPT: Browser-assisted question-answering with human feedback
- Problem Long-form question-answering systems still lag behind human performance, and long answers are hard to check for factual accuracy without sources.
- Method GPT-3 is fine-tuned to browse a text-based web environment and quote references, then trained with behavior cloning, a reward model and rejection sampling.
- Results On held-out ELI5 questions, the best model was preferred to human demonstrator answers 56% of the time, and to the highest-voted ELI5 answers 69% of the time.
Long-form answers and where the gap lies
Long-form question-answering asks for a paragraph-length answer to an open-ended question, and current systems still trail human performance. Prior work usually splits the problem into retrieving documents and synthesizing an answer from the retrieved text. The study keeps both parts as existing components instead of rebuilding them: a Microsoft search API handles retrieval, and GPT-3, pre-trained on unlabelled text, handles synthesis.
What changes is the training objective. Human feedback is used to optimize answer quality directly, following Stiennon et al., rather than relying on the quality of each component alone. Judging a long answer is hard for a labeller who does not research the topic independently. The study's response is to have the model keep references from the pages it reads, so a judgment about accuracy can be checked against those sources.
Two questions organize the work. One asks whether a browsing model can answer with supporting references at a level comparable to human demonstrators. The other asks whether optimizing against human preference judgments improves answers beyond imitating demonstrations.
A browsing environment the model drives
Building the browser as text lets a fine-tuned language model use it end to end, which the study frames as a way to improve retrieval and synthesis together through imitation learning and reinforcement learning.
At every step the model returns one command from a fixed set, such as a search, a link click, scrolling, a page find, a quote, or ending browsing. Any other text counts as an invalid action. Invalid actions still count toward the action maximum but are otherwise ignored.
Search commands are sent to the Bing Web Search API, so document retrieval is outsourced rather than handled by a retriever the study trains.
Each action is taken with a fresh context, so the running summary is the only record of earlier steps. Browsing ends when the model ends it, when the maximum number of actions is reached, or when the maximum total length of references is reached. If there is at least one reference, the model then receives the question and the references and writes the final answer.
Human data and the four training methods
Two kinds of human data are collected. Demonstrations record humans using the browser to answer questions. Comparisons record which of two model answers to the same question a human prefers.
Most of the data is from ELI5: around 6,000 demonstrations, 92% of them on ELI5 questions, and around 21,500 comparisons, 98% of them on ELI5 questions. The remaining questions come from other sources, such as TriviaQA, which were mixed in to add diversity.
Demonstrations alone do not optimize answer quality directly and are unlikely to go far beyond human performance, which is why comparisons are collected as well.
Training uses four methods: behavior cloning on the demonstrations, reward modeling on the comparisons, reinforcement learning against the reward model, and rejection sampling against the reward model. Rejection sampling draws several candidate answers and keeps the one the reward model ranks highest. It needs no extra training but spends more compute at inference time.
The best model combines behavior cloning with rejection sampling. The authors find that reinforcement learning gives some benefit when less inference-time compute is available.
Preference against demonstrators and ELI5 answers
Evaluation uses a held-out set of questions.
Against answers written by human demonstrators who used the same browser, its answers were preferred 56% of the time. The authors read this as human-level use of the text-based browser, which is the first of the two comparisons.
Against the highest-voted ELI5 answer for each question, with references stripped from the model's answer for fairness, its answers were preferred 69% of the time.
Table 2 gives one answer from the 175B best-of-64 model to a randomly chosen ELI5 test question, which was not cherry-picked. The full text of the references is in an appendix, so the citations in the answer can be traced.
Truthfulness on TruthfulQA
TruthfulQA is an adversarially constructed set of short-form questions, where some humans answer falsely because of a misconception.
The best model's answers were true in 75% of cases and both true and informative in 54%. This outperforms base GPT-3 but falls short of human performance.
The two figures are read together, since truthfulness and informativeness trade off against one another.
Limitations
Most data and the main reference comparison are on ELI5, so the 56% and 69% results describe ELI5-style long-form questions. The 69% comparison uses answers with references stripped, so the citation feature is not part of that comparison.
On TruthfulQA the best model still falls short of human performance. Answers are judged on factual accuracy, coherence and overall usefulness, so the preference percentages are judgments over those criteria rather than a separate accuracy score.
Paper info
- Authors
- Reiichiro Nakano, Jacob Hilton, Suchir Balaji, Jeff Wu, Long Ouyang, Christina Kim, Christopher Hesse, Shantanu Jain, Vineet Kosaraju, William Saunders, Xu Jiang, Karl Cobbe, Tyna Eloundou, Gretchen Krueger, Kevin Button, Matthew Knight, Benjamin Chess, John Schulman
- Venue
- arXiv · Preprint
- First published
- 2021-12-17
- Added
- 2026-10-20
- Updated
- 2022-6-1
- Version
- v3
- arXiv
- 2112.09332
- Category
- cs.CL · cs.AI · cs.LG
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Reiichiro Nakano, Jacob Hilton, Suchir Balaji, Jeff Wu, Long Ouyang, Christina Kim, Christopher Hesse, Shantanu Jain, Vineet Kosaraju, William Saunders, Xu Jiang, Karl Cobbe, Tyna Eloundou, Gretchen Krueger, Kevin Button, Matthew Knight, Benjamin Chess, John Schulman (2021). WebGPT: Browser-assisted question-answering with human feedback. arXiv:2112.09332v3. https://arxiv.org/abs/2112.09332v3
BibTeX
@misc{nakano2021webgpt,
title = {{WebGPT: Browser-assisted question-answering with human feedback}},
author = {Reiichiro Nakano and Jacob Hilton and Suchir Balaji and Jeff Wu and Long Ouyang and Christina Kim and Christopher Hesse and Shantanu Jain and Vineet Kosaraju and William Saunders and Xu Jiang and Karl Cobbe and Tyna Eloundou and Gretchen Krueger and Kevin Button and Matthew Knight and Benjamin Chess and John Schulman},
year = {2021},
eprint = {2112.09332},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2112.09332v3}
}