Mechanistic Understanding and Mitigation of Language Model Non-Factual Hallucinations. Yu, L., Cao, M., Cheung, J. C., & Dong, Y. In Al-Onaizan, Y., Bansal, M., & Chen, Y., editors, Findings of the Association for Computational Linguistics: EMNLP 2024, pages 7943–7956, Miami, Florida, USA, November, 2024. Association for Computational Linguistics.
Mechanistic Understanding and Mitigation of Language Model Non-Factual Hallucinations [link]Paper  doi  abstract   bibtex   
State-of-the-art language models (LMs) sometimes generate that misalign with world knowledge. To explore the mechanistic causes of these hallucinations, we create diagnostic datasets with subject-relation queries and adapt interpretability methods to trace hallucinations through internal model representations. We discover two general and distinct mechanistic causes of hallucinations shared across LMs (Llama-2, Pythia, GPT-J): 1) : insufficient subject attribute knowledge in lower layer MLPs, and 2) : failure to select the correct object attribute in upper layer attention heads. We also found these two internal mechanistic causes of hallucinations are reflected in external manifestations. Based on insights from our mechanistic analysis, we propose a novel hallucination mitigation method through targeted restoration of the LM's internal fact recall pipeline, demonstrating superior performance compared to baselines.
@inproceedings{yu_mechanistic_2024,
	address = {Miami, Florida, USA},
	title = {Mechanistic {Understanding} and {Mitigation} of {Language} {Model} {Non}-{Factual} {Hallucinations}},
	url = {https://aclanthology.org/2024.findings-emnlp.466},
	doi = {10.18653/v1/2024.findings-emnlp.466},
	abstract = {State-of-the-art language models (LMs) sometimes generate that misalign with world knowledge. To explore the mechanistic causes of these hallucinations, we create diagnostic datasets with subject-relation queries and adapt interpretability methods to trace hallucinations through internal model representations. We discover two general and distinct mechanistic causes of hallucinations shared across LMs (Llama-2, Pythia, GPT-J): 1) : insufficient subject attribute knowledge in lower layer MLPs, and 2) : failure to select the correct object attribute in upper layer attention heads. We also found these two internal mechanistic causes of hallucinations are reflected in external manifestations. Based on insights from our mechanistic analysis, we propose a novel hallucination mitigation method through targeted restoration of the LM's internal fact recall pipeline, demonstrating superior performance compared to baselines.},
	urldate = {2024-12-09},
	booktitle = {Findings of the {Association} for {Computational} {Linguistics}: {EMNLP} 2024},
	publisher = {Association for Computational Linguistics},
	author = {Yu, Lei and Cao, Meng and Cheung, Jackie CK and Dong, Yue},
	editor = {Al-Onaizan, Yaser and Bansal, Mohit and Chen, Yun-Nung},
	month = nov,
	year = {2024},
	pages = {7943--7956},
}

Downloads: 0