TruthFlow: Truthful LLM Generation via Representation Flow Correction
원문 초록
Large language models (LLMs) are known to struggle with consistently generating truthful responses. While various representation intervention techniques have been proposed, these methods typically apply a universal representation correction vector to all input queries, limiting their effectiveness against diverse queries in practice. In this study, we introduce TruthFlow, a novel method that leverages the Flow Matching technique for query-specific truthful representation correction. Specifically, TruthFlow first uses a flow model to learn query-specific correction vectors that transition representations from hallucinated to truthful states. Then, during inference, the trained flow model generates these correction vectors to enhance the truthfulness of LLM outputs. Experimental results demonstrate that TruthFlow significantly improves performance on open-ended generation tasks across various advanced LLMs evaluated on TruthfulQA. Moreover, the trained TruthFlow model exhibits strong transferability, performing effectively on other unseen hallucination benchmarks.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Shadows in the Attention: Contextual Perturbation and Representation Drift in the Dynamics of Hallucination in LLMs
Mitigating Object Hallucinations via Sentence-Level Early Intervention
UQLM: A Python Package for Uncertainty Quantification in Large Language Models
Mitigating Hallucination of Large Vision-Language Models via Dynamic Logits Calibration
KnowRL: Exploring Knowledgeable Reinforcement Learning for Factuality
DiscoSG: Towards Discourse-Level Text Scene Graph Parsing through Iterative Graph Refinement
토론
이 논문과 연결된 포럼 글이 아직 없습니다.