NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

WebBrain: Learning to Generate Factually Correct Articles for Queries by Grounding on Large Web Corpus

Hongjing Qian, Yutao Zhu, Zhicheng Dou, Haoqi Gu, Xinyu Zhang, Zheng Liu, Ruofei Lai, Zhao Cao, Jian-Yun Nie, Ji-Rong Wen

TL;DR

This paper introduces WEBBRAIN, a new NLP task focused on generating short, factually correct articles with inline citations for open-domain queries by mining the web. To support this task, the authors release WebBrain-Raw, a massive dataset ten times larger than previous benchmarks, along with ReGen, a novel retrieval-augmented generation framework that significantly reduces hallucinations and outperforms massive models like GPT-3 in factual accuracy.

What Problem Does This Paper Address?

While large language models (LLMs) excel at generating fluent text, they suffer from "hallucinations"—generating factually incorrect statements because they rely solely on implicit knowledge stored in their parameters. Wikipedia is the gold standard for factual information on the web because its claims are backed by reputable sources, but its growth is bottlenecked by the need for manual editing and crowd-sourcing.

The authors tackle the challenge of automatically generating comprehensive, factually accurate short articles (similar to the lead section of a Wikipedia page) for queries not yet covered in Wikipedia. This requires a system to dynamically mine supporting evidence from a massive web corpus and synthesize it into a coherent narrative with accurate inline citations.

Figure 1: Comparison between text generation task and WEBBRAIN.

Methods

The authors propose ReGen, an end-to-end framework designed to optimize both the retrieval of evidence and the factual correctness of the generated text:

  1. Advanced Sparse Retriever: Instead of using standard dense retrievers (like DPR), which often struggle with highly specific, entity-centric, or out-of-domain queries, ReGen builds on SPLADE (a sparse lexical model). It introduces asymmetric sparsity constraints (L1 regularization for queries to keep them semantically rich, and FLOPS regularization for documents to maximize indexing efficiency). It also utilizes a Topic Consistency and Diversity filtering mechanism to eliminate topically irrelevant or redundant web pages before they reach the generator.
  2. Fusion-in-Decoder (FiD) Generator: ReGen employs an FiD architecture backed by BART to fuse information from multiple retrieved sources.
  3. Curriculum-Based Warm-Up: To help the model map specific claims to specific references, the authors design a pre-training warm-up task. The model is first trained on simpler, single-sentence-to-single-reference pairs before moving on to full multi-document generation.
  4. Reference Mark-Enhanced Decoding (RED): A decoding strategy that dynamically matches generated sentences with their most overlapping source reference to ensure citation marks are accurate.

Datasets

The authors constructed a new dataset from scratch to serve as the foundation for this task:

  • WebBrain-Raw: Created by extracting English Wikipedia articles and crawling all of their external references. At 2.8TB, it is roughly 10 times larger than the previous largest peer dataset, WikiSum.

From WebBrain-Raw, they generated two task-specific datasets:

  • WebBrain-R: Optimized for training and evaluating the retriever, containing 2.74M queries and 3.20M reference passages.
  • WebBrain-G: Optimized for training the generator, containing 12.32M queries and 12.61M reference passages.
Table 1: Datasets built on Wikipedia. WEBBRAIN-Raw is significantly larger than existing datasets.
Table 2: Statistics of data for experiments.

Key Insights and Ideas

  • Scale Alone Doesn't Fix Hallucinations: The authors observe that simply increasing model size (e.g., moving from base to large models, or prompting GPT-3) drastically improves language fluency metrics like BLEU and ROUGE, but does not inherently improve factual accuracy metrics like QAGS. Grounding generation in explicit web evidence is mandatory for factual correctness.
  • Sparse Lexical Retrieval Beats Dense for Open-Domain: Dense retrievers tend to generalize poorly on niche, entity-centric queries. Sparse retrievers like SPLADE preserve exact-entity matching while benefiting from contextualized query expansion, making them much better suited for mining the open web.
  • The Power of Curriculum Learning for Citations: Expecting a generator to synthesize an article from five disparate web sources immediately is too difficult. Warming up the model on isolated sentence-reference pairs acts as an effective stepping stone.

Key Results

ReGen achieved state-of-the-art performance across all automated and human evaluations on the WebBrain-G dataset:

  • Automated Metrics: ReGen (Large) achieved a BLEU-1 of 17.97 and a TripleScore of 19.43, comfortably outperforming vanilla FiD+BART (Large) (BLEU-1: 15.90, TripleScore: 17.36) and standard BART/GPT-2 baselines.
  • Factuality: On QAGS and TripleScore (which measure factual consistency and relation precision), ReGen consistently outperformed all baselines, proving that its retrieval and warm-up strategies successfully anchor the model to real-world facts.
  • vs. GPT-3: When compared to zero-shot GPT-3 (using the prompt "Introduce [X] in Wikipedia-style"), ReGen outperformed the 175-billion-parameter model by a wide margin in both text similarity and factual accuracy, highlighting the limitations of purely parametric knowledge.
Table 3: Performance of different models on WebBrain-G. The best results are in bold.

Limitations and Future Work

The authors identify three primary areas for future exploration:

  1. The Retrieval Bottleneck: Generator performance drops significantly when using automatically retrieved web passages compared to using "oracle" (ground-truth) references. Improving web-scale retrieval precision remains a major challenge.
  2. Citation Granularity: Because the FiD architecture attends to all tokens across multiple references simultaneously, perfectly isolating and assigning a citation mark to the exact source reference during generation is still imperfect.
  3. Long-Form Generation: This work focuses primarily on short articles (the lead section of a page). Scaling the framework to generate full-length, multi-section Wikipedia pages with complex taxonomies is the ultimate, unachieved goal.

Summary updated

BibTeX
@misc{qian2023webbrain,
  author = {Hongjing Qian and Yutao Zhu and Zhicheng Dou and Haoqi Gu and Xinyu Zhang and Zheng Liu and Ruofei Lai and Zhao Cao and Jian-Yun Nie and Ji-Rong Wen},
  title = {{WebBrain: Learning to Generate Factually Correct Articles for Queries by Grounding on Large Web Corpus}},
  year = {2023},
  eprint = {2304.04358},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.04358},
}
Figure