Skip to main content
QUICK REVIEW

[논문 리뷰] Long-form factuality in large language models

Jerry Wei, Chengrun Yang|arXiv (Cornell University)|2024. 03. 27.
Topic ModelingComputer Science인용 수 8
한 줄 요약

논문은 긴 형식의 사실성 벤치마크를 위한 LongFact, Google 검색을 이용한 자동 사실 확인자 SAFE, 긴 형식 사실성의 F1 기반 지표 F1@K를 소개하고 4개 가족의 13개 모델을 38개 주제로 벤치마크한다.

ABSTRACT

Large language models (LLMs) often generate content that contains factual errors when responding to fact-seeking prompts on open-ended topics. To benchmark a model's long-form factuality in open domains, we first use GPT-4 to generate LongFact, a prompt set comprising thousands of questions spanning 38 topics. We then propose that LLM agents can be used as automated evaluators for long-form factuality through a method which we call Search-Augmented Factuality Evaluator (SAFE). SAFE utilizes an LLM to break down a long-form response into a set of individual facts and to evaluate the accuracy of each fact using a multi-step reasoning process comprising sending search queries to Google Search and determining whether a fact is supported by the search results. Furthermore, we propose extending F1 score as an aggregated metric for long-form factuality. To do so, we balance the percentage of supported facts in a response (precision) with the percentage of provided facts relative to a hyperparameter representing a user's preferred response length (recall). Empirically, we demonstrate that LLM agents can outperform crowdsourced human annotators - on a set of ~16k individual facts, SAFE agrees with crowdsourced human annotators 72% of the time, and on a random subset of 100 disagreement cases, SAFE wins 76% of the time. At the same time, SAFE is more than 20 times cheaper than human annotators. We also benchmark thirteen language models on LongFact across four model families (Gemini, GPT, Claude, and PaLM-2), finding that larger language models generally achieve better long-form factuality. LongFact, SAFE, and all experimental code are available at https://github.com/google-deepmind/long-form-factuality.

연구 동기 및 목표

  • LongFact, 38개 주제를 포괄하는 대규모의 긴 형식 사실성 프롬프트 집합 제안
  • RESPONSES를 자가분해하고 Google 검색으로 사실을 검증하는 LLM 기반 자동 평가자 SAFE 도입
  • 긴 형식 사실성을 위한 재현성 중심 집계 지표로서 F1@K 정의( Recall에 초점을 둔 하이브리드 지표 )
  • 4개 가족의 13개 모델을 SAFE로 벤치마크하여 사실성의 규모 효과를 평가

제안 방법

  • GPT-4를 통해 38개 주제에 걸친 긴 형식 사실 탐색 질문을 다루는 LongFact 프롬프트 생성(LongFact-Concepts 및 LongFact-Objects)
  • SAFE 개발: 응답을 자체 포함된 사실로 분할하고 관련성 평가를 수행하며 다단계 Google 검색 추론을 사용하여 사실을 지지/비지지/무관으로 라벨링하는 LLM 에이전트
  • Long-form 사실성의 정밀도-재현성 하이브리드로서 재현성은 사용자가 지정한 이상 길이 K에 연결된 F1@K로 측정되는 방식의 합산
  • 고정 프롬프트 세트에 대해 SAFE를 사용하여 13개 모델(Gemini, GPT, Claude, PaLM-2)을 벤치마크하고 K=64 및 K=178에서 F1@K를 보고
Figure 1: Our automatic factuality evaluator, SAFE, uses a large language model to rate the factuality of a long-form response to a given prompt using Google Search. We empirically demonstrate that SAFE outperforms human annotators while being more than 20 times cheaper ( Section 4 ).
Figure 1: Our automatic factuality evaluator, SAFE, uses a large language model to rate the factuality of a long-form response to a given prompt using Google Search. We empirically demonstrate that SAFE outperforms human annotators while being more than 20 times cheaper ( Section 4 ).

실험 결과

연구 질문

  • RQ1대규모 프롬프트 세트(LongFact)가 다양한 주제에 걸쳐 긴 형식 사실성을 얼마나 잘 탐지하는가?
  • RQ2LLM 기반 자동 평가자(SAFE)가 인간 주석자와 비교했을 때 긴 형식 응답의 사실성을 신뢰성 있게 평가할 수 있는가?
  • RQ3모델 규모/아키텍처가 Gemini, GPT, Claude, PaLM-2의 주요 가족에서 긴 형식 사실성에 어떤 영향을 미치는가?
  • RQ4재현성 요소를 하이퍼파라미터 K를 통해 도입하는 것이 긴 형식 응답의 사실성 지표의 유용성을 향상시키는가?

주요 결과

  • LongFact는 38개 주제에 걸친 2,280개의 프롬프트로 광범위한 장문 사실성 벤치마크를 제공합니다.
  • SAFE는 개별 사실의 인간 주석과 72% 일치하며, 샘플링된 하위 집합의 불일치 사례에서 인간 평가자보다 더 나은 성과를 보입니다(정확도 76%).
  • SAFE는 응답당 약 $0.19의 비용이 들며, 크라우드 소싱 인간 주석보다 20배 이상 저렴합니다.
  • 13개 모델 전반에 걸쳐 더 큰 모델일수록 일반적으로 긴 형식 사실성이 높아지며, 고정된 K 값에서 GPT-4-Turbo, Gemini-Ultra, PaLM-2-L-IT-RLHF가 순위 상위를 차지합니다.
  • F1@K 지표는 긴 형식 사실성을 평가하는 데 필요한 정밀도와 재현성을 포착합니다(재현성은 인간이 선호하는 길이 K를 통해).
Figure 3: SAFE is able to accurately rate factual claims that require multi-step evaluation by leveraging an LLM to iteratively issue Google Search queries and reason with search results.
Figure 3: SAFE is able to accurately rate factual claims that require multi-step evaluation by leveraging an LLM to iteratively issue Google Search queries and reason with search results.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.