The Role of $n$-gram Smoothing in the Age of Neural Networks

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Malagutti, Luca, Buinovskij, Andrius, Svete, Anej, Meister, Clara, Amini, Afra, Cotterell, Ryan
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913336858247168
author Malagutti, Luca
Buinovskij, Andrius
Svete, Anej
Meister, Clara
Amini, Afra
Cotterell, Ryan
author_facet Malagutti, Luca
Buinovskij, Andrius
Svete, Anej
Meister, Clara
Amini, Afra
Cotterell, Ryan
contents For nearly three decades, language models derived from the $n$-gram assumption held the state of the art on the task. The key to their success lay in the application of various smoothing techniques that served to combat overfitting. However, when neural language models toppled $n$-gram models as the best performers, $n$-gram smoothing techniques became less relevant. Indeed, it would hardly be an understatement to suggest that the line of inquiry into $n$-gram smoothing techniques became dormant. This paper re-opens the role classical $n$-gram smoothing techniques may play in the age of neural language models. First, we draw a formal equivalence between label smoothing, a popular regularization technique for neural language models, and add-$λ$ smoothing. Second, we derive a generalized framework for converting any $n$-gram smoothing technique into a regularizer compatible with neural language models. Our empirical results find that our novel regularizers are comparable to and, indeed, sometimes outperform label smoothing on language modeling and machine translation.
format Preprint
id arxiv_https___arxiv_org_abs_2403_17240
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle The Role of $n$-gram Smoothing in the Age of Neural Networks
Malagutti, Luca
Buinovskij, Andrius
Svete, Anej
Meister, Clara
Amini, Afra
Cotterell, Ryan
Computation and Language
For nearly three decades, language models derived from the $n$-gram assumption held the state of the art on the task. The key to their success lay in the application of various smoothing techniques that served to combat overfitting. However, when neural language models toppled $n$-gram models as the best performers, $n$-gram smoothing techniques became less relevant. Indeed, it would hardly be an understatement to suggest that the line of inquiry into $n$-gram smoothing techniques became dormant. This paper re-opens the role classical $n$-gram smoothing techniques may play in the age of neural language models. First, we draw a formal equivalence between label smoothing, a popular regularization technique for neural language models, and add-$λ$ smoothing. Second, we derive a generalized framework for converting any $n$-gram smoothing technique into a regularizer compatible with neural language models. Our empirical results find that our novel regularizers are comparable to and, indeed, sometimes outperform label smoothing on language modeling and machine translation.
title The Role of $n$-gram Smoothing in the Age of Neural Networks
topic Computation and Language
url https://arxiv.org/abs/2403.17240