[논문 리뷰] DHI: Leveraging Diverse Hallucination Induction for Enhanced Contrastive Factuality Control in Large Language Models
DHI는 Evil LLM을 훈련시켜 다양한 환각을 유도하고, 사전 주석이 없는 환각 데이터 없이도 LLM 출력의 사실성을 개선하기 위해 적응적 대조 해독을 사용한다.
Large language models (LLMs) frequently produce inaccurate or fabricated information, known as "hallucinations," which compromises their reliability. Existing approaches often train an "Evil LLM" to deliberately generate hallucinations on curated datasets, using these induced hallucinations to guide contrastive decoding against a reliable "positive model" for hallucination mitigation. However, this strategy is limited by the narrow diversity of hallucinations induced, as Evil LLMs trained on specific error types tend to reproduce only these particular patterns, thereby restricting their overall effectiveness. To address these limitations, we propose DHI (Diverse Hallucination Induction), a novel training framework that enables the Evil LLM to generate a broader range of hallucination types without relying on pre-annotated hallucination data. DHI employs a modified loss function that down-weights the generation of specific factually correct tokens, encouraging the Evil LLM to produce diverse hallucinations at targeted positions while maintaining overall factual content. Additionally, we introduce a causal attention masking adaptation to reduce the impact of this penalization on the generation of subsequent tokens. During inference, we apply an adaptive rationality constraint that restricts contrastive decoding to tokens where the positive model exhibits high confidence, thereby avoiding unnecessary penalties on factually correct tokens. Extensive empirical results show that DHI achieves significant performance gains over other contrastive decoding-based approaches across multiple hallucination benchmarks.
연구 동기 및 목표
- LLM의 환각 감소를 촉진하고 사실성 신뢰성을 향상시키는 것을 목표로 한다.
- Evil LLM 훈련에 필요한 사전 주석이 달린 환각 데이터에의 의존성을 제거한다.
- 일관성을 유지하면서 특정 위치에서 다양한 환각을 생성하도록 Evil LLM을 가능하게 한다.
- Positive Model이 불확실할 때만 페널티를 적용하는 적응적 대조 해독을 도입한다.
제안 방법
- 다양한 환각을 촉진하기 위해 사실적으로 옳은 토큰의 가중치를 낮추는 수정된 손실로 Evil LLM을 훈련시킨다.
- 환각 대상 토큰이 이후 토큰에 지나치게 영향을 주지 못하도록 인과적 주의 마스킹 적응을 적용한다.
- Positive Model의 높은 불확실성 단계에서만 대조 해독을 적용하도록 적응적 합리성 제약을 사용한다.
- 선택된 유효 토큰 집합 내에서 Weighted Evil Model 로그확률을 Positive Model 로그확률에서 빼서 최종 출력을 계산한다.
- Hallucination 데이터세트를 GPT-4o로 확장하여 안정적이고 전체 문장 QA 쌍으로 만들고 환각 위치를 표시하여 학습 데이터를 구성한다.
- alpha와 beta 설정에 대한 특정 하이퍼파라미터를 사용하여 7B/13B 규모 모델에서 LoRA로 미세조정한다.
실험 결과
연구 질문
- RQ1다양한 환각 유도가 사실성 제어를 위한 대조 해독의 일반화 및 효과성을 향상시킬 수 있는가?
- RQ2손실 수정, 인과 마스킹 및 선택적 대조 해독이 성능 향상에 어떻게 기여하는가?
- RQ3사실 정확도와 일관성을 위한 최적의 alpha(유도 강도)와 beta(대조 가중치) 설정은 무엇인가?
주요 결과
- DHI는 ICD 및 기타 기준선보다 더 높은 평균 TruthfulQA 점수를 달성한다(평균 53.2 대 ICD의 50.5).
- DHI는 TruthfulQA에서 MC1 41.9, MC2 72.6, MC3 45.0으로 최적 값을 달성하며 MC1, MC2, MC3를 개선한다.
- FactScore에서 DHI(7B-Chat 대 7B-Finetuned)는 68.1 점을 달성하여 비교 방법 중 최고이다.
- 각 구성요소(loss modification, mask adaptation, selective contrast)를 제거하면 성능이 감소한다는 것은 이들 상호 보완적 기여를 확인시켜준다.
- 하이퍼파라미터 알파는 역 U형 효과를 보이며 알파 = 0.05에서 최상의 성능을 나타내어 환각 유도와 신호 품질의 균형을 이룬다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.