Self-regression: How the probability of union becomes a condition forecast
The language model describes the combined probability of the entire sequence as a multiplier of the probability of location-by-position conditions.
Learning objectives and first steps2 objectives . 1 first fix
Try to do it after reading
- Explaining mechanisms and prerequisites for self-regression: how the probability of association becomes a set of conditions to predict
- Positioning the mechanism ' s fault limits with fixed examples
Suggested first
- Conditional probability is the same as negative logarithm
Issues and mechanisms
The language model describes the combined probability of the entire sequence as a multiplier of the probability of location-by-position conditions. Each step is given the prefix that has already appeared and the next one is projected; Decomposition is the theory of the chain of probability, and it is learning that the models used approximate the distribution of these conditions. The training allows the calculation of multiple locations at the same time, but must limit the visible input of each location and cannot misinterpret the parallel calculation to read the full answer.
For sequence x one to xT, negative logarithms appear to be the sum of the negative logarithm conditions for each position. The average time of using token divided by the number of valid targets; If you include a terminal, you also have to count it to the same caliber. The generation takes as a new prefix token, which is usually used for training, and the input difference may accumulate errors, but does not mean that the maximum apparent target is miswritten in mathematics.
A concrete example
There are three composite sequences with a model-based probabilities of 0.5, 0.4 and 0.2 for the true item, a joint probability of 0.04, a negative logarithm sum of approximately 3.218876, with an average of about 1.072959. The three probabilities cannot be added to the combined probabilities, nor can they be taken first on average before the negative logarithm claims equivalents. If the last probability drops to 0.1, the total loss increases to log II, and it is clear which portion of the projection changes.
Borders and checks
Probability decomposition requires defining the beginning, end and text boundary. A document combination that allows cross-document prefixing will change the joint distribution of learning; The length cut also changes which targets are seen. The comparison model must be fixed by tokenizer and the evaluation text, and the average loss of different hyphen units cannot be compared horizontally without explanation. Nor is the reduction in the single series of loss evidence generalized.
A method of verification
It is possible to check whether the probability chain contains an end event: if the model gives a high probability for all three elements but continues not to export the ender, the full sequence probability and the generation behaviour may still be unsatisfactory. The rating shall be made clear whether the end date is included in the target and whether the length of the cut-off makes the last step invisible. The same tokenizer fixed, with a negative logarithm position to locate the loss of a rare word, punctuation or template boundary; Only the entire reporting period averaged the different types of errors in one number.
Check understanding
Are all positions still self-retroactive when training is done?
Yes. The model calculates the distribution of prefix conditions in parallel with the causal range, and the statistical target remains self-regressed; Serial is the follow token, which was not known at the time of actual generation.
Is the average probability negative log [NOR] the same as the average negative log [NOR]?
It's generally different. logarithmic is a non-linear function, and the case should first be negative logarithms per item and then averaged as agreed; The order of exchange will define another indicator.
Sources and reconciliations
Definitions, methods and interfaces are available.
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.