Activate sensor quantification: why input distributions are viewed for weight error
The output error of the linear layer is determined not only by the error in re-establishment of weights, but also by input activation.
Learning objectives and first steps2 objectives . 1 first fix
Try to do it after reading
- Explains the activation perception quantification: why weight errors look at the mechanisms and prerequisites of input distribution
- Positioning the mechanism ' s fault limits with fixed examples
Suggested first
- Linear Layer and Quantification Errors
Issues and mechanisms
The output error of the linear layer is determined not only by the error in re-establishment of weights, but also by input activation. (a) A small change in weight, and output changes may still be significant if the corresponding channel is activated; In turn, a larger weight error may have a less significant impact if the input is often close to zero. Perception methods are activated and therefore use calibrated data to describe the direction that is actually visited by the model, rather than simply sorting by the absolute size of the weight.
When you look at the output by weight by input, the quantified change is the weight error by input. The protection of important corridors can be done by equivalent scaling, but there is a need to maintain a corresponding shift in adjacent calculations, which cannot be magnified by claiming that the model remains unchanged. Specific algorithms are determined by how scales, grouping and quantification are to be determined by their formulations, and the sensitivity analysis of teaching cannot be assumed to be complete.
A concrete example
The synthesis weight error is [0.001.1], entered [100,0.1], the two channels contribute one and 0.01, respectively, and the first, although the weight error is smaller, dominates the output error. Replace the input with [0.1,100], which is in the lead direction. The calibration of the sample may not protect the second distribution if it only covers the first input. The original input, the error vector and each multiplier shall be retained and a check shall be made as to whether the total error is from a few channels.
Borders and checks
The calibration data should be relevant to the target range of use, and changes in distribution need to be independently validated. The average output error does not mean that all issues are safe, and rare but key inputs are listed separately. The equivalents are scaled by comparing the output before and after the output with a high degree of accuracy and then introducing quantification, distinguishing between algebra conversion errors and rounding errors. The actual speed also relies on weighting and hardware kernels, and the acceleration multipliers cannot be extrapolated from the bit width without measurement.
A method of verification
(a) The weight error can be fixed first, two sets of active directions can be scanned, and the output error can be shown to change; Re-fixing activates a change of direction of error, distinguishing the value from the direction. If the equivalent channel is scaled, both sides of the front and back should be checked to offset with high accuracy. The additional error was then added to the quantification as a discrete expression. This avoids miscounting of a variable algebra modification as a quantified loss or using partial improvements in the calibration set as a cross-cutting guarantee.
Check understanding
Must the absolute weight be the most protected passage?
Not necessarily. The activation frequency and range, follow-up sensitivity combined influence the output, and this example already indicates that small weight errors may also be enlarged by large input.
A small input error for one set of calibrations would make sure that all areas were good?
Can't. The calibration distribution may leave out other directions and should be checked on target areas, rare input and different lengths to report coverage.
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.