[Paper Review] DHI: Leveraging Diverse Hallucination Induction for Enhanced Contrastive Factuality Control in Large Language Models
DHI trains an Evil LLM to induce diverse hallucinations and uses adaptive contrastive decoding to improve factuality in LLM outputs without pre-annotated hallucination data.
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.
Motivation & Objective
- Motivate reducing hallucinations in LLMs and improve factual reliability.
- Eliminate reliance on pre-annotated hallucination data for training the Evil LLM.
- Enable the Evil LLM to generate diverse hallucinations at targeted positions while preserving coherence.
- Introduce adaptive contrastive decoding that applies penalties only when the Positive Model is uncertain.
Proposed method
- Train an Evil LLM with a modified loss that down-weights factually correct tokens to promote diverse hallucinations.
- Apply a causal attention masking adaptation to prevent hallucination-targeted tokens from unduly influencing subsequent tokens.
- Use an adaptive rationality constraint to apply contrastive decoding only at high-uncertainty steps of the Positive Model.
- Compute final output by subtracting a weighted Evil Model logits from Positive Model logits within a selected valid token set.
- Construct training data by expanding Hallucination datasets with GPT-4o to stable, full-sentence QA pairs and mark hallucination positions.
- Fine-tune using LoRA on 7B/13B-scale models with specific hyperparameters for alpha and beta settings.
Experimental results
Research questions
- RQ1Can diverse hallucination induction improve the generalization and effectiveness of contrastive decoding for factuality control?
- RQ2How do loss modifications, causal masking, and selective contrast decoding contribute to performance gains?
- RQ3What are the optimal alpha (induction strength) and beta (contrastive weight) settings for factual accuracy and coherence?
Key findings
- DHI achieves higher average TruthfulQA scores than ICD and other baselines (53.2 avg vs 50.5 for ICD).
- DHI improves MC1, MC2, and MC3 with best values: MC1 41.9, MC2 72.6, MC3 45.0 on TruthfulQA.
- On FactScore, DHI (7B-Chat vs 7B-Finetuned) attains 68.1 score, the highest among compared methods.
- Ablations show removing any component (loss modification, mask adaptation, selective contrast) reduces performance, confirming their complementary contributions.
- Hyperparameter alpha shows an inverted-U effect with best performance at alpha = 0.05, balancing hallucination induction and signal quality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.