OnionEval: An Unified Evaluation of Fact-conflicting Hallucination for Small-Large Language Models
Chongren Sun, Yuran Li, Di Wu, Benoit Boulet
TL;DR
OnionEval introduces a unified framework to evaluate fact-conflicting hallucination in Small LLMs across layered contexts using the Context Influence Score (CI). It combines atomic fact extraction from knowledge graphs, hallucination generation via GPT-4, and two-layer context wrapping to assess how context modulates hallucination propensity. Results show SLLMs excel at atomic fact detection but struggle with context-heavy tasks, with CI revealing greater sensitivity to contextual complexity than larger models. The study demonstrates that structured reasoning approaches, notably Chain-of-Thought, can substantially improve context-based hallucination detection in SLLMs, offering practical guidance for deploying efficient models in real-world settings.
Abstract
Large Language Models (LLMs) are highly capable but require significant computational resources for both training and inference. Within the LLM family, smaller models (those with fewer than 10 billion parameters) also perform well across various tasks. However, these smaller models share similar limitations to their larger counterparts, including the tendency to hallucinate. Despite the existence of many benchmarks to evaluate hallucination in LLMs, few have specifically focused on small LLMs (SLLMs). Additionally, SLLMs show widely varying performance across different benchmarks. In this paper, we introduce OnionEval, a multi-layer structured framework with a specific metric called the context-influence score (CI), designed to effectively assess the fact-conflicting hallucination tendencies of small LLMs across different contextual levels. Our experimental results reveal a key feature of SLLMs: they excel in factual analysis but face challenges with context reasoning. Further investigation shows that a simple Chain-of-Thought strategy can significantly reduce these limitations, improving the practical usefulness of SLLMs in real-world applications.
