SiLU: Enter your own door controls
SiLU commonly writes f(x) = x (x) and in the broad sense Swish attributable factor β to x Q (Bether x).
Learning objectives and first steps2 objectives 2 first fixes
Try to do it after reading
- Deducts x by sigmoid
- Compare door value with overall slope
Suggested first
- Vector and Matrix Operations
- Counts and chain rules
Door value is not the final output, nor is it the overall lead
SiLU commonly writes f(x) = x (x) and in the broad sense Swish attributable factor β to x Q (Beta x). Here fix beta = 1. It sends input into both the numerical branch and the door branch, and then multiplys it; Both dependencies are involved in the calculation when it is reversed. Ignore one of them and get what appears to be a reasonable but wrong gradient.
Remove x = 1, sigmoid 0.7310586 and output 0.7310586. First direct numeric path contribution x ), branch contribution x σ( x )(1−σ( x (ii) The additional number is approximately 0.9276705. Using the door only as a constant will wrongly get 0.7310586, a deviation that can be tested directly by the central difference.
Take x = −1, output approximately -0.2689414 and lead approximately 0.0723295. Continues to some of the more negative compartments, the overall lead may become a negative number, indicating that the function cannot be reduced to a single-line threshold value. It provides a smooth response to GELU, but does not exchange values for distribution functions.
The beta changes the door with the input. At beta = 0, sigmoid has a constant 0.5 and the function is degraded to 0.5 x; Bethium is steeper when it increases, but the full equivalent ReLU should not be claimed without the symbol and threshold conditions. If beta itself can be trained, it will be increased with guidance on beta, and it will be clear whether it is a shared metric or a channel setting.
In the actual model, the activation input scale is influenced by the weighting of regionalization and the front layer. If most of the input is close to zero, SiLU appears to be a less linear response; When distribution moves to extremes, so does the behaviour of the door. So compares the activation to the pre-activated distribution instead of just looking at the maps of the functions at several standard points.
The negative semiaxis of SiLU is not fully cut to zero, and therefore does not have the complete negative zone zero lead of ReLU. It still has a non-single area and the local lead symbol should be calculated by specific input. Values may be reviewed by a normal index function; No training, export or performance tests were performed in the framework. Deployments should be made in such a way as to check the integration and approximate accuracy of the algorithms and not to translate the theoretical calculations directly into actual delays.
When both branches share input, replace the original door with a door value that already exists at detach, keeping the same forward result while deleting the branch guide. This example can be used to compare the resolution gradient with the difference at a fixed point so that the change is not masked by a normally declining training curve.
Why do you have to have two?
Enter both to the outside and to the sigmoid gate; Multiplication rules require that each of these two reliances be combined.
Does the beta = 0 turn all the output into zero?
No, the door is 0.5 and the output is 0.5 x. The zero-value branch of the door disappears.
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.