Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Small Agent Can Also Rock! Empowering Small Language Models as Hallucination Detector (2406.11277v1)

Published 17 Jun 2024 in cs.CL

Abstract: Hallucination detection is a challenging task for LLMs, and existing studies heavily rely on powerful closed-source LLMs such as GPT-4. In this paper, we propose an autonomous LLM-based agent framework, called HaluAgent, which enables relatively smaller LLMs (e.g. Baichuan2-Chat 7B) to actively select suitable tools for detecting multiple hallucination types such as text, code, and mathematical expression. In HaluAgent, we integrate the LLM, multi-functional toolbox, and design a fine-grained three-stage detection framework along with memory mechanism. To facilitate the effectiveness of HaluAgent, we leverage existing Chinese and English datasets to synthesize detection trajectories for fine-tuning, which endows HaluAgent with the capability for bilingual hallucination detection. Extensive experiments demonstrate that only using 2K samples for tuning LLMs, HaluAgent can perform hallucination detection on various types of tasks and datasets, achieving performance comparable to or even higher than GPT-4 without tool enhancements on both in-domain and out-of-domain datasets. We release our dataset and code at https://github.com/RUCAIBox/HaluAgent.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Xiaoxue Cheng (12 papers)
  2. Junyi Li (92 papers)
  3. Wayne Xin Zhao (196 papers)
  4. Hongzhi Zhang (33 papers)
  5. Fuzheng Zhang (60 papers)
  6. Di Zhang (230 papers)
  7. Kun Gai (125 papers)
  8. Ji-Rong Wen (299 papers)
Citations (4)
Github Logo Streamline Icon: https://streamlinehq.com

GitHub