Exposure deviation: model generation history is different from training history

Understanding the accumulation of errors and the need to re-evaluate the prefixing of the blending model.

Thematic shorts • In-depthCollate in 2 self-measured2 First-hand sources
Start Body
Learning objectives and first steps2 objectives 2 first fixes

Try to do it after reading

  • Understanding the accumulation of errors and the need to re-evaluate the prefixing of the blending model.
  • Check the input, label and evaluation conditions in the example

Suggested first

  • Text Tasks and Language Expressions
  • Conditional probability and vector calculations

From familiar with history to its own history

The self-regression model is used in a common training exercise based on real historical predictions. When actually generated, history is produced by the model itself. In the event of prior deviations, subsequent exposures may be encountered in a context that is rare in training, often referred to as exposure deviations. It explains a category of errors accumulation, but it cannot summarize all the errors generated.

If the probability of the model itself is uncertain, the data is ambiguous or decoding targets are inappropriate, it may be wrong even if history is correct. The diagnosis should therefore be coupled with a comparison of predictions and free generation under the true prefix, rather than a direct attribution of the cause to the exposure bias by seeing a variation in the long text.

Put an error back in context

Assuming the target sequence is "I / like / photo" and training step 3 sees the true prefix "I / like". If the second step is generated as "is " , the third step is "I/ is " , it may not be necessary to continue the output of the original target " Photo" to match the original condition distribution. Historical changes may change not only the difficulty, but also the reasonable answer.

Scheduled sampling In some form of schedule, a true prefix is used in training to create a prefix to the model, hoping that the model will come into contact with its own history. The key issue is whether the original label is still valid after mixing with the wrong history and how to handle the gradient in sampling decisions. It cannot be understood simply as a free extension of the training sample, let alone as an implicit attempt to optimize the original precise conditions.

How to judge how a change really helps

The fixed data and models record the losses, free generation quality, length and repetition of the true prefix, respectively. If only the quality of the probability of free generation is improved but significant damage is achieved, trade-offs need to be judged against mission objectives. Multiple random seeds and different generation lengths can help to identify incidental gains and cannot simply provide a smoother example.

It is also possible to add controlled errors artificially to the forward stubble, to see whether the model can be restored and whether the recovery depends on the wrong type. Spelling disturbances, semantic changes and factual conflicts are not the same. For machine translation, the source sentence may provide a basis for correcting errors; For open continuation, multiple follow-up may be reasonable and the evaluation of a single reference answer itself is limited.

Longer context, stronger models or better data may reduce some errors but do not automatically eliminate the difference between training and extrapolation. Any mitigation approach should clarify whether the training distribution, targets or decoding strategy changes and retain a baseline under the same budget. This would allow a distinction to be made between institutional gains and improvements resulting from extra calculations.

Check understanding

Is it necessary to cause a late-generation error due to exposure deviations?

Not necessarily. Model capacity, probability estimates, decoding rules, data and evaluation protocols may all influence the results. The diagnosis is to be compared with the controlled prefix of the model.

Why could new questions arise by matching the wrong prefix with the original answer?

After the prefix changes, the original answer does not necessarily remain a reasonable next step. Mixed training needs to take into account such inconsistencies and re-evaluate objectives and generating behaviours.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. Scheduled Sampling for Sequence Prediction
  2. Sequence to Sequence Learning with Neural Networks

Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.

← Back to the knowledge directory
Ask Max Ask about this site
Ask Max ↗

Opening the assistant…

Paper figure

Photo comments

LEAVE A NOTE

About this photograph

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    MAX WANG / INDEX

    Find something

    Enter a keyword, or explore the directory below.