mlsanityData to 14 Oct 2026

Semformer: Transformer Language Models with Semantic Planning

arXiv 2409.11143 ↗First posted 17 Sep 2024cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

Next-token prediction serves as the dominant component in current neural language models. During the training phase, the model employs teacher forcing, which predicts tokens based on all preceding ground truth tokens. However, this approach has been found to create shortcuts, utilizing the revealed prefix to spuriously fit future tokens, potentially compromising the accuracy of the next-token predictor. In this paper, we introduce Semformer, a novel method of training a Transformer language model that explicitly models the semantic planning of response. Specifically, we incorporate a sequence of planning tokens into the prefix, guiding the planning token representations to predict the latent semantic representations of the response, which are induced by an autoencoder. In a minimal planning task (i.e., graph path-finding), our model exhibits near-perfect performance and effectively mitigates shortcut learning, a feat that standard training methods and baseline models have been unable to accomplish. Furthermore, we pretrain Semformer from scratch with 125M parameters, demonstrating its efficacy through measures of perplexity, in-context learning, and fine-tuning on summarization tasks.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 34 of its 52 references that are in the map. First posted on arXiv 17 Sep 2024.

Builds on

34 of 52 references.

References · 34

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  6. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  7. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  8. 2016Pointer Sentinel Mixture Modelscited by 3,096
  9. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  10. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
  11. 2022Diffusion-LM Improves Controllable Text Generationcited by 1,027
  12. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
22 more
  1. 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 535
  2. 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 523
  3. 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
  4. 2017Non-Autoregressive Neural Machine Translationcited by 463
  5. 2023Learning to Compress Prompts with Gist Tokenscited by 390
  6. 2024Better & Faster Large Language Models via Multi-token Predictioncited by 360
  7. 2024Quiet-STaR: Language Models Can Teach Themselves to Think Before Speakingcited by 301
  8. 2023Think before you speak: Training Language Models With Pause Tokenscited by 264
  9. 2020ProphetNet: Predicting Future N-gram for Sequence-to-Sequence Pre-trainingcited by 222
  10. 2024Let's Think Dot by Dot: Hidden Computation in Transformer Language Modelscited by 191
  11. 2023Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solvecited by 178
  12. 2024The pitfalls of next-token predictioncited by 160
  13. 2020Optimus: Organizing Sentences via Pre-trained Modeling of a Latent Spacecited by 114
  14. 2019Augmenting Self-attention with Persistent Memorycited by 93
  15. 2020Memory Transformercited by 76
  16. 2023Auto-Regressive Next-Token Predictors are Universal Learnerscited by 67
  17. 2023PLANNER: Generating Diversified Paragraph via Latent Language Diffusion Modelcited by 58
  18. 2023PaSS: Parallel Speculative Samplingcited by 49
  19. 2023Discrete Prompt Compression with Reinforcement Learningcited by 42
  20. 2022Sub-Task Decomposition Enables Learning in Sequence to Sequence Taskscited by 41
  21. 2021Sentence Bottleneck Autoencoders from Transformer Language Modelscited by 19
  22. 2023Backpack Language Modelscited by 15

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 6; 2026: 2.

9 papers.