Mixed LayerNorm derivatives #
We differentiate the actual row differential, allowing both the input and its left direction to vary. The latter variation supplies the upstream mixed derivative in the chain rule. Centered input and direction bounds then enclose the result using only positive epsilon. The affine scale is fixed; its absolute value multiplies the final radius.
Variance differential written entirely in centered coordinates.
Instances For
Mixed variance differential, including the upstream mixed direction C.
Instances For
Inverse-standard-deviation differential in centered coordinates.
Instances For
Mixed inverse-standard-deviation differential.
Instances For
The mixed row chain rule: the Hessian term and the input's mixed differential.
Instances For
The variance differential, written in centered coordinates.
The inverse-standard-deviation differential, written in centered coordinates.
The existing Fréchet differential agrees with the centered product-rule formula.
Differentiating the actual row differential gives the full mixed chain formula.
The Hessian of a normalized row entry is the mixed formula with zero upstream term.
The actual affine row output has the same mixed derivative, multiplied by its fixed scale.
Mixed chain rule for an actual composed row, with fixed left direction u: the case
gamma = 1, beta = 0 of fderiv_fderiv_affine_nrm_comp.
Centered bounds on the input and one direction enclose the variance differential.
Centered bounds enclose the mixed variance differential.
Centered bounds enclose the inverse-standard-deviation differential, using only ε for the
standard deviation.
Centered bounds enclose the mixed inverse-standard-deviation differential.
The first differential is bounded from centered data, without a derivative-bound premise.
Centered magnitudes enclose all four terms of the analytic mixed chain formula.
Enclosure of the actual mixed derivative of a composed row with fixed affine scale.