NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Prefix Likelihood-Ratio Control: Tail-Stable Training for Long-Horizon Language Generation

Yangyang Liu

NeurIPS page · Open on the map

Category: LLM Post-Training: RL & Distillation › Off-Policy LLM Reinforcement Learning · Type: new method · Keywords: long-horizon language generation, prefix likelihood ratio, training stability, noise-contrastive discrimination, tail-sensitive regularizer

Summary

Prefix Likelihood-Ratio Control (PLRC) stabilizes long-horizon language generation by training on prefix log-likelihood ratios and using noise-contrastive discrimination and tail-sensitive regularizers to bound sequence-level distortion.

Explained to a 5-year-old

Computers that write text are usually trained to minimize the average loss per word. However, when they generate very long texts, they often start making many mistakes near the end. The average loss doesn't catch these late mistakes because it only looks at the overall average. Sometimes a single early mistake can cause a cascade of errors later on. The paper creates a new way to train the computer that looks at the beginning of the story and checks how likely each part is, using a trick to compare good and bad parts and adding extra checks to stop big mistakes. This helps the computer write longer, more reliable stories.

Explained to a 5-year-old, longer

Computers that write text are usually trained to minimize the average loss per word. However, when they generate very long texts, they often start making many mistakes near the end. The average loss doesn't catch these late mistakes because it only looks at the overall average. Sometimes a single early mistake can cause a cascade of errors later on. The paper points out that these problems happen because the loss doesn't scale with the length of the text and because rare big mistakes are hidden. To fix this, the authors propose a training method that focuses on the beginning parts of the text and measures how likely each part is compared to others. They use a technique that compares good and bad parts without needing to know the true probability. They also add extra safety checks that limit how big the mistakes can be. This approach keeps the usual training method unchanged but adds these new checks. As a result, the model is better at keeping the story consistent over long sequences. The method also provides theoretical guarantees that the mistakes will stay small. Overall, the new training helps computers write longer, more reliable text.

For a technical reader

The paper observes that standard language model training, which minimizes average token loss, often leads to degraded performance on long sequences because small per-token errors accumulate and rare large deviations go unnoticed. It proposes a training scheme that works on prefix log-likelihood ratios, learning a critic via noise-contrastive discrimination and adding regularizers that penalize extreme ratio values. This approach retains the usual teacher-forcing pipeline while explicitly targeting the failure modes that average loss misses. Theoretical analysis shows the method bounds both overall sequence distortion and the probability of the first large deviation. The result is a more stable long-horizon generation without changing the model architecture.

Problem

Long-horizon language generation suffers from late-stage degradation despite improvements in mean token loss, because small per-token divergences can amplify into large sequence-level distribution shifts and rare prefix deviations cause spikes that are invisible to average objectives.

Method

The approach centers training on the prefix log-likelihood ratio process and its increments, learns a prefix ratio critic via noise-contrastive discrimination, and adds tail-sensitive regularizers on the terminal ratio and its increments to bound long-horizon distortion and spike probability, all while preserving standard teacher-forcing training.

Contributions

It identifies scale-non-free mean loss and spike-dominated failures as root causes, proposes a prefix-ratio training framework with noise-contrastive discrimination and tail-sensitive regularizers, and provides theoretical guarantees bounding long-horizon distortion and spike probability.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction