techlist.io

Webgpt

1 posts

OpenAI2021-12-153 min readCurated summary

WebGPT: Improving the factual accuracy of language models through web browsing

# WebGPT: Teaching GPT-3 to Answer Questions by Browsing the Web OpenAI fine-tuned GPT-3 to answer open-ended questions by operating a text-based web browser, so the model can search, follow links, and cite sources. Training combines human demonstrations with reward modeling, and the best model's answers are preferred 56% of the time over human-written answers on ELI5, with comparable factual accuracy. The system still lags humans on out-of-distribution questions, and the authors argue that citation alone will not be enough to verify factuality as models become more capable. ## Browsing as a Way to Reduce Hallucination - Language models tend to "hallucinate" when questions require obscure real-world knowledge. - The model receives an open-ended question and a summary of the browser state, then issues commands such as "Search ...", "Find in page: ...", or "Quote: ...". - It collects passages from web pages and composes an answer from them, mirroring how humans research online. ## Training Method - The model is fine-tuned from GPT-3 with the same general methods used in earlier work. - Step one is behavioral cloning: the model learns to copy human demonstrations of browser use. - Step two improves helpfulness and accuracy by training a reward model on human preferences, then optimizing against it with reinforcement learning or rejection sampling. ## Results on ELI5 and TruthfulQA - **ELI5:** Three models were trained for different inference-time compute budgets. The best one's answers were preferred 56% of the time to those of human demonstrators, with similar factual accuracy. Human feedback let the model outperform the demonstrators whose data it was trained on. - **TruthfulQA:** On training-distribution questions, the best model is about as accurate as human demonstrators on average. On the adversarially built TruthfulQA, it beats GPT-3 and scales more favorably, but still trails humans, partly because it sometimes quotes unreliable sources. ## Evaluating Factuality Through Citations - Humans can only give useful feedback if they can check claims, which is hard when claims are technical, subjective, or vague. - Requiring citations makes verification more tractable and less ambiguous, which reduces label noise. - Open questions include what counts as a reliable source, which claims need no support, and how to weigh factuality against coherence. The model does not appear to grasp this nuance fully, since it still makes basic errors. - Citations will eventually fail as a verification method, because a capable model could cherry-pick sources that look convincing even when they misrepresent the evidence. The authors suggest debate as one possible mitigation. ## Deployment and Training Risks - The model is more truthful than GPT-3 but still makes basic errors, and cited answers can seem authoritative, which masks those errors. - The model tends to reinforce users' existing beliefs. - At training time, web access creates side-effect risks. The environment allows Bing Web Search API queries and link-following but not unrestricted browsing. The authors judge GPT-3 far too weak to exploit these side effects, but expect the risk to grow with capability, and they are building internal safeguards. ## Conclusion Human feedback combined with tools like web browsers is a promising route toward robustly truthful, general-purpose AI. The current system struggles with unfamiliar or challenging questions, but it marks significant progress.