arXiv · 2412.07965
HalluCana: Fixing LLM Hallucination with A Canary Lookahead
Abstract
In this paper, we present HalluCana, a canary lookahead to detect and correct factuality hallucinations of Large Language Models (LLMs) in long-form generation. HalluCana detects and intervenes as soon as traces of hallucination emerge, during and even before generation. To support timely detection, we exploit the internal factuality representation in the LLM hidden space, where we investigate various proxies to the LLMs' factuality self-assessment, and discuss its relation to the models' context familiarity from their pre-training. On biography generation, our method improves generation quality by up to 2.5x, while consuming over 6 times less compute.
Explore related subjects
Keep this discovery
Tianyi Li, Erenay Dayanik, Shubhi Tyagi, Andrea Pierleoni. 2024-12-10. HalluCana: Fixing LLM Hallucination with A Canary Lookahead. https://arxiv.org/abs/2412.07965
Cite the original work for its findings. Save a collection to share your selection of sources.