Leaky-ReLU Bounds #
Interval, affine, and derivative transfer rules for
leakyRelu negSlope x = if x > 0 then x else negSlope * x.
The formulas cover positive, zero, and negative branch slopes. In particular, when a non-positive slope crosses zero, the interval rule includes the value at the kink instead of considering only the two endpoints.
Reference: Zhang et al., "Efficient Neural Network Robustness Certification with General Activation Functions", NeurIPS 2018, arXiv:1811.00866.
Leaky ReLU with slope negSlope on the non-positive branch.
Instances For
Minimum of two values using the executable scalar order.
Instances For
Maximum of two values using the executable scalar order.
Instances For
Exact endpoint-and-kink interval propagation for scalar Leaky ReLU.
Instances For
Apply ibpLeakyReluScalar coordinatewise to a vector box.
Instances For
Lower and upper affine forms for Leaky ReLU on [lo, hi], returned as
(lowerSlope, lowerBias, upperSlope, upperBias).
For a crossing interval the function is convex when negSlope ≤ 1 and concave when
negSlope > 1; the secant and branch support exchange roles accordingly.
Instances For
Range of the two branch derivatives over an interval.