Learning to Plan for Language Modeling from Unlabeled Data

Nathan Cornille, Marie-Francine Moens, Florian Mai
3/31/2024
cs.CLcs.AI

No official code found. Best implementation: Natithan/learning-to-plan-for-language-modeling-from-unlabeled-data (3 stars, last commit 2024-07-31).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Code for https://arxiv.org/pdf/2404.00614

30PythonJul 29, 20242 years ago

Similar Papers

Cite this paper

@article{cornille2024learning,
  title  = {Learning to Plan for Language Modeling from Unlabeled Data},
  author = {Nathan Cornille and Marie-Francine Moens and Florian Mai},
  year   = {2024},
  eprint = {2404.00614},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.00614v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.00614.svg)](https://codeofpaper.com/paper/2404.00614)

Discussion