mlsanityData to 14 Oct 2026

End-to-end Planner Training for Language Modeling

arXiv 2410.12492 ↗First posted 16 Oct 2024cs.CL cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Through end-to-end training to predict the next token, LLMs have become valuable tools for various tasks. Enhancing their core training in language modeling can improve numerous downstream applications. A successful approach to enhance language modeling uses a separate planning module to predict abstract labels of future sentences and conditions the LM on these predictions. However, this method is non-differentiable, preventing joint end-to-end tuning of the planner with the LM. We propose an effective method to improve this approach by enabling joint fine-tuning of the planner and the LM. We show that a naive way of approximating the gradient of selecting a label via the straight-through estimator is not effective. Instead, we propose to use the predicted label probabilities as mixing weights to condition the LM on a weighted average of label embeddings in a differentiable manner. This not only enables joint fine-tuning of the planner and the LM, but also allows the LM to draw on the full label distribution predicted by the planner, retaining more information. Our experimental results show consistent improvements in perplexity.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 23 of its 42 references that are in the map. First posted on arXiv 16 Oct 2024.

Builds on

23 of 42 references.

References · 23

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2017Proximal Policy Optimization Algorithmscited by 15,215
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  4. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
  5. 2016Understanding intermediate layers using linear classifier probescited by 1,353
  6. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,148
  7. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
  8. 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 876
  9. 2015Scheduled Sampling for Sequence Prediction with Recurrent Neural Networkscited by 803
  10. 2024OLMo: Accelerating the Science of Language Modelscited by 613
  11. 2015Sequence Level Training with Recurrent Neural Networkscited by 576
  12. 2021Datasets: A Community Library for Natural Language Processingcited by 530
11 more
  1. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 470
  2. 2024Quiet-STaR: Language Models Can Teach Themselves to Think Before Speakingcited by 301
  3. 2016Professor Forcing: A New Algorithm for Training Recurrent Networkscited by 216
  4. 2022A Survey of Controllable Text Generation using Transformer-based Pre-trained Language Modelscited by 129
  5. 2016Hierarchical Multiscale Recurrent Neural Networkscited by 104
  6. 2020Gradient Estimation with Stochastic Softmax Trickscited by 67
  7. 2023Guiding Language Model Reasoning with Planning Tokenscited by 58
  8. 2022Model Criticism for Long-Form Text Generationcited by 21
  9. 2020Narrative Text Generation with a Latent Discrete Plancited by 12
  10. 2024Learning to Plan for Language Modeling from Unlabeled Datacited by 12
  11. 2022Learning Multiscale Transformer Models for Sequence Generationcited by 7

Built on by

Not cited yet.