Unfamiliar Finetuning Examples Control How Language Models Hallucinate
This addresses the issue of hallucination in language models for users relying on factual outputs, though it appears incremental by building on existing finetuning methods.
The paper tackles the problem of language models hallucinating on unfamiliar queries by showing that unfamiliar examples in finetuning data shape these errors, and modifying supervision of such examples can influence responses (e.g., to say 'I don't know'). It validates this with experiments on TriviaQA and MMLU, and proposes an approach for more reliable reward models that improve RL factuality finetuning in long-form generation tasks.
Large language models are known to hallucinate when faced with unfamiliar queries, but the underlying mechanism that govern how models hallucinate are not yet fully understood. In this work, we find that unfamiliar examples in the models' finetuning data -- those that introduce concepts beyond the base model's scope of knowledge -- are crucial in shaping these errors. In particular, we find that an LLM's hallucinated predictions tend to mirror the responses associated with its unfamiliar finetuning examples. This suggests that by modifying how unfamiliar finetuning examples are supervised, we can influence a model's responses to unfamiliar queries (e.g., say ``I don't know''). We empirically validate this observation in a series of controlled experiments involving SFT, RL, and reward model finetuning on TriviaQA and MMLU. Our work further investigates RL finetuning strategies for improving the factuality of long-form model generations. We find that, while hallucinations from the reward model can significantly undermine the effectiveness of RL factuality finetuning, strategically controlling how reward models hallucinate can minimize these negative effects. Leveraging our previous observations on controlling hallucinations, we propose an approach for learning more reliable reward models, and show that they improve the efficacy of RL factuality finetuning in long-form biography and book/movie plot generation tasks.