Learning to Plan for Language Modeling from Unlabeled Data

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Cornille, Nathan, Moens, Marie-Francine, Mai, Florian
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866916340290289664
author Cornille, Nathan
Moens, Marie-Francine
Mai, Florian
author_facet Cornille, Nathan
Moens, Marie-Francine
Mai, Florian
contents By training to predict the next token in an unlabeled corpus, large language models learn to perform many tasks without any labeled data. However, their next-token-prediction objective arguably limits their performance in scenarios that require planning, such as writing a coherent article. In this paper, we train a module for planning the future writing process via a self-supervised learning objective. Given the textual context, this planning module learns to predict future abstract writing actions, which correspond to centroids in a clustered text embedding space. By conditioning on these actions, our model extends the successful language model formula to more abstract planning in an unsupervised way. Empirically, we demonstrate that our method improves language modeling performance in general, particularly with respect to the text structure. Because our framework uses a planner module that is unsupervised and external to the language model, new planner modules can be trained at large scale and easily be shared with the community.
format Preprint
id arxiv_https___arxiv_org_abs_2404_00614
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Learning to Plan for Language Modeling from Unlabeled Data
Cornille, Nathan
Moens, Marie-Francine
Mai, Florian
Computation and Language
Artificial Intelligence
By training to predict the next token in an unlabeled corpus, large language models learn to perform many tasks without any labeled data. However, their next-token-prediction objective arguably limits their performance in scenarios that require planning, such as writing a coherent article. In this paper, we train a module for planning the future writing process via a self-supervised learning objective. Given the textual context, this planning module learns to predict future abstract writing actions, which correspond to centroids in a clustered text embedding space. By conditioning on these actions, our model extends the successful language model formula to more abstract planning in an unsupervised way. Empirically, we demonstrate that our method improves language modeling performance in general, particularly with respect to the text structure. Because our framework uses a planner module that is unsupervised and external to the language model, new planner modules can be trained at large scale and easily be shared with the community.
title Learning to Plan for Language Modeling from Unlabeled Data
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2404.00614