CHAIR:利用逐层token logits检测大模型幻觉的分类器框架
CHAIR -- Classifier of Hallucination as Improver
CHAIR(Classifier of Hallucination As ImproveR)是一个监督式框架,通过分析每个token在各层内部的logits来检测幻觉,提取最大值、最小值、均值、标准差和斜率等紧凑特征,避免过拟合。
arXiv:2501.02518v3 Announce Type: replace Abstract: In this work, we introduce CHAIR (Classifier of Hallucination As ImproveR), a supervised framework for detecting hallucinations by analyzing internal logits from each layer of every token. Our method extracts a compact set of features such as maximum, minimum, mean, standard deviation, and slope-from the token logits across all layers, enabling effective hallucination detection without overfitting. Experiments on TruthfulQA and MMLU datasets demonstrate that CHAIR significantly improves detection accuracy, particularly in zero-shot scenarios, showcasing its robustness and generalizability. Beyond hallucination detection, CHAIR highlights the potential of using internal representations for designing advanced decoding strategies. By leveraging patterns in logits, we suggest that more sophisticated models and adaptive decoding methods could further reduce hallucinations and enhance text completion quality. CHAIR not only offers a practical solution for detecting hallucinations but also lays the groundwork for exploring richer representations in LLMs to improve their factuality and coherence.
来源:arXiv (AI + Vision + Imaging) · arxiv.org