Share from 0:00
0:00
/

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

The podcast on this paper is generated with Google's Illuminate.

Making LLMs more reliable by bridging the training-inference gap

πŸ“š https://arxiv.org/abs/2410.14655

πŸ€– Original Problem:

LLMs face a critical gap between training and inference. During training, they use ground-truth tokens, but during inference, they rely on their own generated tokens, leading to unpredictable behavior and compounding errors.

-----

πŸ”§ Solution in this Paper:

β†’ Batch-Scheduled Sampling (BASH): Stochastically mixes ground-truth and model-generated tokens in offline batches during training

β†’ Reference-Answer-based Correction (RAC): Trains model to self-correct by comparing its generations with reference answers

β†’ Both methods require zero architectural changes to transformer models

β†’ Implementation involves initial SFT training followed by BASH/RAC fine-tuning

-----

πŸ’‘ Key Insights:

β†’ Training-inference discrepancy can be bridged without complex model modifications

β†’ Self-correction capability can be built directly into models during training

β†’ Offline batch processing makes scheduled sampling practical for LLM training

-----

πŸ“Š Results:

β†’ RAC achieves 10.37% win rate vs 8.03% for standard SFT on AlpacaEval 2.0

β†’ BASH improves accuracy on GSM8K math tasks to 60.22% from 56.76% baseline

β†’ RAC+DPO achieves 15.85% win rate vs 14.06% for SFT+DPO

Discussion about this video

User's avatar

Ready for more?