FreshLLMs: Refreshing Large Language Models with Search Engine Augmentation

Tu Vu, Mohit Iyyer, Xuezhi Wang, Noah Constant, Jerry W. Wei, Jason Wei, Chris Tar, Yun-Hsuan Sung, Denny Zhou, Quoc V. Le, Thang Luong

Introduction

Large Language Models (LLMs) are typically "frozen in time" following their training phase. This static nature leads to significant performance degradation when models are queried about events occurring after their training cutoff. Furthermore, LLMs often struggle with "false-premise" questions, where they tend to hallucinate plausible but incorrect answers rather than debunking the underlying assumption. This paper introduces FRESHQA, a dynamic benchmark for up-to-date knowledge, and FRESHPROMPT, a few-shot prompting strategy designed to ground LLMs in real-time search engine results.

The FRESHQA Benchmark

To evaluate model performance on evolving information, the authors developed FRESHQA, a benchmark of 600 questions categorized by the volatility of their answers:

  • Never-changing: Static facts (e.g., historical events).
  • Slow-changing: Facts that evolve over years.
  • Fast-changing: Facts that change within months or weeks.
  • False-premise: Questions containing incorrect assumptions.

Unlike traditional static datasets, the ground truth for FRESHQA is updated weekly to reflect the current state of the world.

Methodology: FRESHPROMPT and FRESHEVAL

The primary intervention, FRESHPROMPT, is a few-shot prompting method that injects curated search engine data into the LLM's context.

The FRESHPROMPT metadata structure includes source, date, title, and highlighted snippets to provide rich context for the LLM.

Key features of FRESHPROMPT include:

  1. Rich Metadata: Context includes source URLs, publication dates, and highlighted snippets.
  2. Chronological Ordering: Evidence is presented from oldest to newest, placing the most recent information closest to the query to leverage the model's recency bias.
  3. Diverse Evidence: Data is pulled from organic results, "People Also Ask" sections, and knowledge graphs.

To evaluate responses at scale, the authors introduced FRESHEVAL, an automated rater powered by GPT-4. Validated against 50,000 human judgments, FRESHEVAL achieved a 96% agreement rate with human raters.

Experimental Results

The study evaluates models using two metrics: Relaxed (checking only the core answer) and Strict (penalizing any hallucination in the response).

Accuracy of various LLMs on the FRESHQA benchmark across Overall, Fast-changing, and False-premise categories.

Key Findings

  • Impact of Search Augmentation: For GPT-4, FRESHPROMPT increased accuracy by 32.6% (Relaxed) and 49.0% (Strict) over the base model.
  • The Fast-Changing Hurdle: Without search augmentation, models scored near 0% on fast-changing questions, highlighting the necessity of retrieval for temporal knowledge.
  • Debunking False Premises: Models struggled significantly with false premises unless explicitly prompted to verify the question's assumptions.
  • Open-Source Competitiveness: Mixtral 8x7B combined with FRESHPROMPT outperformed specialized commercial systems like Perplexity.ai by 11% in absolute accuracy.

Conclusion and Future Work

FreshLLMs demonstrate that search engine augmentation, when properly formatted and ordered, can significantly mitigate the limitations of static training data. Future work includes exploring "multi-hop" reasoning to generate multiple search queries for complex tasks and scaling these methods to long-form document generation.

Summary updated

BibTeX
@inproceedings{vu2024freshllms,
  author = {Tu Vu and Mohit Iyyer and Xuezhi Wang and Noah Constant and Jerry W. Wei and Jason Wei and Chris Tar and Yun-Hsuan Sung and Denny Zhou and Quoc V. Le and Thang Luong},
  title = {{FreshLLMs: Refreshing Large Language Models with Search Engine Augmentation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.813},
}
Figure