Inverted Dropout : Why was the retention rate divided during training
Dropout activated random shielding during training.
Learning objectives and first steps2 objectives 2 first fixes
Try to do it after reading
- The expectation and the variance of calculating random masking
- Distinguishing training from reasoning
Suggested first
- Vector and Matrix Operations
- Counts and chain rules
After random disposal, the average scale needs to be set
Dropout activated random shielding during training. The common inverted format divides the value retained by the retention rate, leaving the expectation of individual activation under random masking unchanged. This reasoning can be applied directly to the original activation without the need to multiply the same compensation factor. Whether the probabilistic parameters represent the discard or retention rate needs to be clarified.
With activation x=2, drop probability 0.25 and keep probability 0.75, output is 0 with probability 0.25 and 2/0.75≈2.666667 otherwise. Its expectation is 2. Keeping output at 2 instead gives expectation 1.5, a different convention from inverted dropout.
The same active output variance is x 2 p/ (1-p), which is 4/3 here. The same expectations do not mean that each time the same forwards, nor do they mean that the expectation of a subsequent non-linear net output must be equal to the forecast to close dropout. For non-linear functions in general, expectations are different from expectations after functions before expectations.
Random masking usually works only in training models. Forget eval at validation, which will allow the forecast to continue to fluctuate; Use only no_grad does not automatically close dropout. On the contrary, the deliberate use of random sampling in reasoning is a separate definition, and the results of the train model cannot be used as a designed uncertainty estimate.
Different types may also share masks by element, channel or other structure. The image channel dropout is not comparable with the pixel-by-pixel dropout noise-related structure and cannot be compared to the same p. If the entire source is discarded, it will also need to be considered whether the complete absence of the source is consistent with the actual deployment and whether there are other reliable inputs into the model.
Expectations to maintain random scaling only for designated locations, after which the overall network output expectation does not have to be the same as to close the Dropout output. Local neutrality cannot be promoted as an arbitrary network equivalent. Recovering randomized experiment should record the torrent and the operating environment, but the same torrent does not represent a place-to-place cross-equipment.
If the same mask is shared for an entire sequence, the noise of each location is relevant; Independent sampling is different from location to location. Even if single-point expectations were the same, the cross-positioned gap would change and the circular or attention model should clarify the structure.
Does the single output of this case, 2.6666667, mean that the activation was wrongly magnified?
Not necessarily, it is a scaling of the branches of retention required to maintain expectations; It needs to be explained in conjunction with the probability of zeroing.
The drop rate's close to 1. What's the difference?
(b) The value of the reservation would also be significant, if the formula allowed it to increase rapidly; p =1 requires specialized processing and cannot be divided by zero.
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.