Skip to main content
QUICK REVIEW

[논문 리뷰] FacTool: Factuality Detection in Generative AI -- A Tool Augmented Framework for Multi-Task and Multi-Domain Scenarios

I-Chun Chern, Steffi Chern|arXiv (Cornell University)|2023. 07. 25.
Natural Language Processing TechniquesComputer Science인용 수 25
한 줄 요약

FacTool은 지식 기반 QA, 코드 생성, 수학, 과학 논문 검토에 걸친 대형 언어 모델 출력의 사실 오류를 탐지하기 위한 도구-확장형, 작업 및 도메인에 구애받지 않는 프레임워크를 제시합니다. 주장 추출, 도구 조회, 증거 수집 및 합의 검증을 통해 수행됩니다.

ABSTRACT

The emergence of generative pre-trained models has facilitated the synthesis of high-quality text, but it has also posed challenges in identifying factual errors in the generated text. In particular: (1) A wider range of tasks now face an increasing risk of containing factual errors when handled by generative models. (2) Generated texts tend to be lengthy and lack a clearly defined granularity for individual facts. (3) There is a scarcity of explicit evidence available during the process of fact checking. With the above challenges in mind, in this paper, we propose FacTool, a task and domain agnostic framework for detecting factual errors of texts generated by large language models (e.g., ChatGPT). Experiments on four different tasks (knowledge-based QA, code generation, mathematical reasoning, and scientific literature review) show the efficacy of the proposed method. We release the code of FacTool associated with ChatGPT plugin interface at https://github.com/GAIR-NLP/factool .

연구 동기 및 목표

  • 사실성 탐지를 단일 작업 설정에서 다중 작업 및 다중 도메인 시나리오로 확장합니다.
  • 생성된 주장들을 뒷받침하거나 반박하는 증거를 모으기 위해 도구 사용(검색 엔진, 해석기, LLM)을 활용합니다.
  • 도메인 간 추출, 조회, 증거 수집 및 합의 검증을 위한统一 파이프라인을 개발합니다.
  • 지식 기반 QA, 코드 생성, 수학 문제 풀이, 과학 논문 검토 작성에 걸쳐 평가합니다.
  • 코드 및 GPT-4 기반의 사실성 탐지에서 벤치마크 대비 우월성을 입증하는 코드를 공개합니다.

제안 방법

  • 도구 사용과 사실성 검사를 연결하는 다목적 사실성 프레임워크를 정의합니다.
  • 작업별 정의에 guided된 생성 응답에서 미세한 수준의 주장(ACU)을 추출합니다.
  • 주장에서 외부 도구를 조회하고 증거를 모으기 위한 질의를 생성합니다.
  • 주장을 검증하기 위해 실행/증거(테스트 케이스, Google Scholar 결과 등)를 사용합니다.
  • LLM과의 합의 검증을 위해 제로샷 CoT 추론을 적용합니다.
  • 네 가지 작업을 사용해 평가하고 Self-Check 벤치마크와 비교합니다.
Figure 1: Tool-augmented framework for factuality detection.
Figure 1: Tool-augmented framework for factuality detection.

실험 결과

연구 질문

  • RQ1FacTool이 단일 프레임워크를 사용하여 다양한 작업(KB-QA, 코드, 수학, Sci-Lit)에서 사실 오류를 탐지할 수 있는가?
  • RQ2도구 보조 사실성 탐지가 LLM의 Self-Check 벤치마크와 어떻게 비교되는가?
  • RQ3GPT-4 구동 FacTool이 다중 도메인 사실성 탐지에서 ChatGPT 구동 버전을 능가하는가?
  • RQ4주장 추출 품질이 최종 사실성 판단에 어떤 영향을 미치는가?
  • RQ5외부 증거(웹 검색, 코드 실행, Google Scholar)가 도메인 간 사실성 판단을 지원하는 데 얼마나 효과적인가?

주요 결과

  • GPT-4로 구동된 FacTool은 KB-QA, 코드, 수학, Sci-Lit 작업 전반에서 주장 수준 F1이 가장 높고 응답 수준 F1이 벤치마크에 비해 경쟁력 있거나 우수합니다.
  • GPT-4 기반 FacTool은 대부분의 시나리오에서 ChatGPT 기반 FacTool 및 Self-check 벤치마크를 능가하며, 특히 과학 논문 검토 및 수학 문제 해결에서 두드러집니다.
  • Self-check 벤치마크는 재현성이 낮은 경향이 있어 사실성 판단에 대한 위양성 비율이 더 큽니다.
  • Google Scholar 기반 증거는 Sci-Lit에서 인용에 대해 강력하며, 증거 수집에서 LLM만 접근하는 방식보다 종종 우수합니다.
  • ChatGPT를 통한 주장 추출은 RoSE 기반 평가에서 인간 주석 내용의 원자적 ACU와 높은 유사성을 보입니다.
Figure 2: Our proposed framework for factuality detection in four domains: knowledge-based QA, code generation, math problem solving and scientific literature review writing.
Figure 2: Our proposed framework for factuality detection in four domains: knowledge-based QA, code generation, math problem solving and scientific literature review writing.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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