Saved in:
Bibliographic Details
Main Authors: Li, Johnny, Consul, Saksham, Zhou, Eda, Wong, James, Farooqui, Naila, Ye, Yuxin, Manohar, Nithyashree, Wei, Zhuxiaona, Wu, Tian, Echols, Ben, Zhou, Sharon, Diamos, Gregory
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.17642
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915475659685888
author Li, Johnny
Consul, Saksham
Zhou, Eda
Wong, James
Farooqui, Naila
Ye, Yuxin
Manohar, Nithyashree
Wei, Zhuxiaona
Wu, Tian
Echols, Ben
Zhou, Sharon
Diamos, Gregory
author_facet Li, Johnny
Consul, Saksham
Zhou, Eda
Wong, James
Farooqui, Naila
Ye, Yuxin
Manohar, Nithyashree
Wei, Zhuxiaona
Wu, Tian
Echols, Ben
Zhou, Sharon
Diamos, Gregory
contents Despite their powerful chat, coding, and reasoning abilities, Large Language Models (LLMs) frequently hallucinate. Conventional wisdom suggests that hallucinations are a consequence of a balance between creativity and factuality, which can be mitigated, but not eliminated, by grounding the LLM in external knowledge sources. Through extensive systematic experiments, we show that these traditional approaches fail to explain why LLMs hallucinate in practice. Specifically, we show that LLMs augmented with a massive Mixture of Memory Experts (MoME) can easily memorize large datasets of random numbers. We corroborate these experimental findings with a theoretical construction showing that simple neural networks trained to predict the next token hallucinate when the training loss is above a threshold as it usually does in practice when training on internet scale data. We interpret our findings by comparing against traditional retrieval methods for mitigating hallucinations. We use our findings to design a first generation model for removing hallucinations -- Lamini-1 -- that stores facts in a massive mixture of millions of memory experts that are retrieved dynamically.
format Preprint
id arxiv_https___arxiv_org_abs_2406_17642
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Banishing LLM Hallucinations Requires Rethinking Generalization
Li, Johnny
Consul, Saksham
Zhou, Eda
Wong, James
Farooqui, Naila
Ye, Yuxin
Manohar, Nithyashree
Wei, Zhuxiaona
Wu, Tian
Echols, Ben
Zhou, Sharon
Diamos, Gregory
Computation and Language
Artificial Intelligence
Despite their powerful chat, coding, and reasoning abilities, Large Language Models (LLMs) frequently hallucinate. Conventional wisdom suggests that hallucinations are a consequence of a balance between creativity and factuality, which can be mitigated, but not eliminated, by grounding the LLM in external knowledge sources. Through extensive systematic experiments, we show that these traditional approaches fail to explain why LLMs hallucinate in practice. Specifically, we show that LLMs augmented with a massive Mixture of Memory Experts (MoME) can easily memorize large datasets of random numbers. We corroborate these experimental findings with a theoretical construction showing that simple neural networks trained to predict the next token hallucinate when the training loss is above a threshold as it usually does in practice when training on internet scale data. We interpret our findings by comparing against traditional retrieval methods for mitigating hallucinations. We use our findings to design a first generation model for removing hallucinations -- Lamini-1 -- that stores facts in a massive mixture of millions of memory experts that are retrieved dynamically.
title Banishing LLM Hallucinations Requires Rethinking Generalization
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2406.17642