#039 - Lena Voita - NLP

Topics covered
Popular Clips
Episode Highlights
Hallucination
In neural machine translation (NMT), hallucination occurs when models produce grammatically correct sentences that are disconnected from the source text. This happens because the model starts ignoring the input and relies on previously translated tokens, leading to errors. explains that exposure bias, where the distribution differs between training and inference, exacerbates this issue. During training, models use perfect tokens, but at inference, they rely on their own predictions, which can lead to unexpected situations 1.
Hallucination is when you just ignore the source because you want to produce something that's grammatically correct based on what you've already produced.
---
Voita suggests that while some methods can mitigate exposure bias, hallucinations still occur, indicating a complex relationship between these phenomena 2.
  Â
Exposure Bias
Exposure bias in NMT models arises from the mismatch between training and testing inputs, known as teacher forcing. During training, models use the correct token, but during testing, they rely on their own predictions, leading to potential errors 3. This bias causes models to over-rely on target history, increasing the likelihood of hallucinations. discusses how beam search can help reduce hallucinations by providing simpler prefixes that make models more confident about the source 4.
Beam search translations are usually simpler than references, and indeed, when she compares them using the beam search prefixes, the model is more confident about the source, so it's hallucinating less as time goes on.
---
This approach highlights the importance of balancing source and target contributions to improve translation accuracy.
  Â
Source-Target
Balancing source and target contributions in NMT is crucial for accurate translations. notes that models often fail to properly use source information, leading to reliance on target history and increased hallucinations 5. Beam search offers a solution by simplifying prefixes, which helps models maintain focus on the source text. This method reduces entropy and enhances model confidence, minimizing hallucinations 4.
Models trained with more data rely on the source more confidently, and the training process is non-monotonic.
---
Understanding the dynamics of source-target contributions can lead to more effective NMT systems.
Related Episodes


NLP is not NLU and GPT-3 - Walid Saba
Answers 383 questions

#53 Quantum Natural Language Processing - Prof. Bob Coecke (Oxford)
Answers 383 questions

Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer
Answers 383 questions

Explainability, Reasoning, Priors and GPT-3
Answers 383 questions

OpenAI GPT-3: Language Models are Few-Shot Learners
Answers 383 questions

MLST #78 - Prof. NOAM CHOMSKY (Special Edition)
Answers 383 questions

#70 - LETITIA PARCALABESCU - Symbolics, Linguistics [UNPLUGGED]
Answers 383 questions

#029 GPT-3, Prompt Engineering, Trading, AI Alignment, Intelligence
Answers 383 questions

#92 - SARA HOOKER - Fairness, Interpretability, Language Models
Answers 383 questions

Jürgen Schmidhuber - Neural and Non-Neural AI, Reasoning, Transformers, and LSTMs
Answers 383 questions

#038 - Professor Kenneth Stanley - Why Greatness Cannot Be Planned
Answers 383 questions

Capsule Networks and Education Targets
Answers 383 questions

#114 - Secrets of Deep Reinforcement Learning (Minqi Jiang)
Answers 383 questions

#035 Christmas Community Edition!
Answers 383 questions

Kernels!
Answers 383 questions
