TL;DR
Large language models (LLMs) often produce inaccurate or nonsensical outputs, a phenomenon known as hallucination. This study investigates the structural origins of hallucination in LLMs, particularly focusing on the role of model architecture and training data.
✦ Why It Matters
Engineers can enhance LLM reliability by optimizing model architecture and carefully curating training data.
Key Takeaways
How It Works
The paper explains that self-attention mechanisms in LLMs learn co-occurrences of words based on their statistical proximity, which can lead to confusion between similar entities. MLE training focuses on maximizing the likelihood of the next token, often at the expense of factual correctness.
Autoregressive decoding processes tokens sequentially, meaning that once an incorrect token is generated, it can affect all subsequent tokens, leading to a cascade of errors.
Related