mlsanityData to 7 Oct 2026

Bridging the Training-Inference Gap in LLMs by Leveraging Self-Generated Tokens

arXiv 2410.14655 ↗First posted 18 Oct 2024cs.LGcited by 7

On the map: Synthetic data and self-improvement for LLMs → Synthetic reasoning data and bootstrapping

Abstract (arXiv)

Language models are often trained to maximize the likelihood of the next token given past tokens in the training dataset. However, during inference time, they are utilized differently, generating text sequentially and auto-regressively by using previously generated tokens as input to predict the next one. Marginal differences in predictions at each step can cascade over successive steps, resulting in different distributions from what the models were trained for and potentially leading to unpredictable behavior. This paper proposes two simple approaches based on model own generation to address this discrepancy between the training and inference time. Our first approach is Batch-Scheduled Sampling, where, during training, we stochastically choose between the ground-truth token from the dataset and the model's own generated token as input to predict the next token. This is done in an offline manner, modifying the context window by interleaving ground-truth tokens with those generated by the model. Our second approach is Reference-Answer-based Correction, where we explicitly incorporate a self-correction capability into the model during training. This enables the model to effectively self-correct the gaps between the generated sequences and the ground truth data without relying on an external oracle model. By incorporating our proposed strategies during training, we have observed an overall improvement in performance compared to baseline methods, as demonstrated by our extensive experiments using summarization, general question-answering, and math question-answering tasks.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Synthetic reasoning data and bootstrapping, one of 13 directions in Synthetic data and self-improvement for LLMs. Builds on 38 of its 45 references that are in the map. First posted on arXiv 18 Oct 2024.

Builds on

38 of 45 references.

References · 38

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  6. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  7. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  8. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  9. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  10. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  11. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
  12. 2020Learning to summarize from human feedbackcited by 2,562
26 more
  1. 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
  2. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
  3. 2022MaskGIT: Masked Generative Image Transformercited by 1,082
  4. 2014Show and Tell: A Neural Image Caption Generatorcited by 877
  5. 2024Length-Controlled AlpacaEval: A Simple Way to Debias Automatic Evaluatorscited by 865
  6. 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 825
  7. 2015Scheduled Sampling for Sequence Prediction with Recurrent Neural Networkscited by 779
  8. 2023AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedbackcited by 738
  9. 2015Sequence Level Training with Recurrent Neural Networkscited by 568
  10. 2024Self-Play Fine-Tuning Converts Weak Language Models to Strong Language Modelscited by 552
  11. 2023Zephyr: Direct Distillation of LM Alignmentcited by 498
  12. 2023UltraFeedback: Boosting Language Models with Scaled AI Feedbackcited by 394
  13. 2016Professor Forcing: A New Algorithm for Training Recurrent Networkscited by 214
  14. 2024The pitfalls of next-token predictioncited by 156
  15. 2019Generalization in Generation: A closer look at Exposure Biascited by 123
  16. 2023NEFTune: Noisy Embeddings Improve Instruction Finetuningcited by 99
  17. 2015How (not) to Train your Generative Model: Scheduled Sampling, Likelihood, Adversary?cited by 76
  18. 2013Deep AutoRegressive Networkscited by 60
  19. 2023TAIL: Task-specific Adapters for Imitation Learning with Large Pretrained Modelscited by 48
  20. 2019Scheduled Sampling for Transformerscited by 46
  21. 2020TraDE: Transformers for Density Estimationcited by 18
  22. 2017Differentiable Scheduled Sampling for Credit Assignmentcited by 13
  23. 2020Improving Text Generation with Student-Forcing Optimal Transportcited by 8
  24. 2022Time-Varying Propensity Score to Bridge the Gap between the Past and Presentcited by 5
  25. 2016Memory-augmented Attention Modelling for Videoscited by 3
  26. 2018Constrained Convolutional-Recurrent Networks to Improve Speech Quality with Low Impact on Recognition Accuracycited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 5; 2026: 2.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Adaptive Inference-Time Compute: LLMs Can Predict if They Can Do Better, Even Mid-Generation
  2. 2025Evolving LLMs' Self-Refinement Capability via Synergistic Training-Inference Optimization
  3. 2023Automatically Correcting Large Language Models: Surveying the landscape of diverse self-correction strategies
  4. 2025High Accuracy, Less Talk (HALT): Reliable LLMs through Capability-Aligned Finetuning
  5. 2024Confidence v.s. Critique: A Decomposition of Self-Correction Capability for LLMs
  6. 2023Batch Prompting: Efficient Inference with Large Language Model APIs
  7. 2024Smaller, Weaker, Yet Better: Training LLM Reasoners via Compute-Optimal Sampling
  8. 2024Mind the Gap: Examining the Self-Improvement Capabilities of Large Language Models