The Factorization Curse: Which Tokens You Predict Underlie the Reversal Curse and More

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Kitouni, Ouail, Nolte, Niklas, Bouchacourt, Diane, Williams, Adina, Rabbat, Mike, Ibrahim, Mark
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916280045404160
author Kitouni, Ouail
Nolte, Niklas
Bouchacourt, Diane
Williams, Adina
Rabbat, Mike
Ibrahim, Mark
author_facet Kitouni, Ouail
Nolte, Niklas
Bouchacourt, Diane
Williams, Adina
Rabbat, Mike
Ibrahim, Mark
contents Today's best language models still struggle with hallucinations: factually incorrect generations, which impede their ability to reliably retrieve information seen during training. The reversal curse, where models cannot recall information when probed in a different order than was encountered during training, exemplifies this in information retrieval. We reframe the reversal curse as a factorization curse - a failure of models to learn the same joint distribution under different factorizations. Through a series of controlled experiments with increasing levels of realism including WikiReversal, a setting we introduce to closely simulate a knowledge intensive finetuning task, we find that the factorization curse is an inherent failure of the next-token prediction objective used in popular large language models. Moreover, we demonstrate reliable information retrieval cannot be solved with scale, reversed tokens, or even naive bidirectional-attention training. Consequently, various approaches to finetuning on specialized data would necessarily provide mixed results on downstream tasks, unless the model has already seen the right sequence of tokens. Across five tasks of varying levels of complexity, our results uncover a promising path forward: factorization-agnostic objectives can significantly mitigate the reversal curse and hint at improved knowledge storage and planning capabilities.
format Preprint
id arxiv_https___arxiv_org_abs_2406_05183
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle The Factorization Curse: Which Tokens You Predict Underlie the Reversal Curse and More
Kitouni, Ouail
Nolte, Niklas
Bouchacourt, Diane
Williams, Adina
Rabbat, Mike
Ibrahim, Mark
Machine Learning
Artificial Intelligence
Computation and Language
Today's best language models still struggle with hallucinations: factually incorrect generations, which impede their ability to reliably retrieve information seen during training. The reversal curse, where models cannot recall information when probed in a different order than was encountered during training, exemplifies this in information retrieval. We reframe the reversal curse as a factorization curse - a failure of models to learn the same joint distribution under different factorizations. Through a series of controlled experiments with increasing levels of realism including WikiReversal, a setting we introduce to closely simulate a knowledge intensive finetuning task, we find that the factorization curse is an inherent failure of the next-token prediction objective used in popular large language models. Moreover, we demonstrate reliable information retrieval cannot be solved with scale, reversed tokens, or even naive bidirectional-attention training. Consequently, various approaches to finetuning on specialized data would necessarily provide mixed results on downstream tasks, unless the model has already seen the right sequence of tokens. Across five tasks of varying levels of complexity, our results uncover a promising path forward: factorization-agnostic objectives can significantly mitigate the reversal curse and hint at improved knowledge storage and planning capabilities.
title The Factorization Curse: Which Tokens You Predict Underlie the Reversal Curse and More
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2406.05183