Retrieval-augmented LLMs hallucinate in long-form question answering (LFQA).
This work introduces Retrieval Heads-Induced Optimization (RHIO) to improve contextual faithfulness. RHIO uses retrieval heads to generate realistic unfaithful training examples and teaches LLMs to distinguish between faithful and unfaithful generations.
-----
Paper - https://arxiv.org/abs/2501.13573
Original Problem π:
β Retrieval-augmented large language models (LLMs) often generate unfaithful responses in LFQA, eroding user trust.
-----
Solution in this Paper π‘:
β RHIO augments unfaithful training data by masking retrieval heads, which are attention heads key for retrieving information from context.
β RHIO utilizes special control tokens ([POS], [NEG]) to fine-tune LLMs, teaching them to discriminate between faithful and unfaithful responses.
β RHIO uses contrastive decoding to amplify the difference between outputs induced by these control tokens, further enhancing faithfulness.
-----
Key Insights from this Paper π€:
β Retrieval heads in LLMs are crucial for maintaining contextual faithfulness in LFQA.
β Masking retrieval heads produces realistic unfaithful examples, mimicking model-intrinsic errors.
β Explicitly teaching LLMs to distinguish faithful and unfaithful generations enhances contextual faithfulness.
Results β :
β RHIO improves faithfulness on GroundBench, with gains of 12.84% and 12.59% in 7B and 13B models, respectively.
β RHIO even outperforms GPT-40.










