SwiGLU: Door control in front feed is not a probabilities switch
(b) A generic pre-dipheral layer indicating a first-enhanced, non-linear re-drawn dimension to a position; The front door feed adds another projection, allowing both outcomes to be multiplied by elements.
Learning objectives and first steps2 objectives . 1 first fix
Try to do it after reading
- Explanation SwiGLU: Door controls in front feed are not a mechanism and premise for probabilities switches
- Positioning the mechanism ' s fault limits with fixed examples
Suggested first
- Linear Layer-by-Element Multiplication
Issues and mechanisms
(b) A generic pre-dipheral layer indicating a first-enhanced, non-linear re-drawn dimension to a position; The front door feed adds another projection, allowing both outcomes to be multiplied by elements. SwiGLU uses a door control path with smooth activation to allow the relevant local reconciliation feature combination. The door here may be larger than one or negative and should not be interpreted as a binary choice probability or confused with a weighted mix of attention between positions.
A column vector writing is an output Wout multiplied by [SiLU(Wg x) by element (Wv x)]. The input and intermediate dimensions of the three arrays must correspond, and the output returns to the debris dimension. If you wish to compare parameters with the pre-mule feed, the intermediate dimension should be adjusted instead of claiming that there are no additional costs for door controls after all have the same width. The experimental findings of the paper also depend on its models, data and budget.
A concrete example
(a) A 1-dimensional synthesis input to the door handle: two projectiles of two and three, respectively, SiLU(2) = two times sigmoid(2), approximately 1.761594; The weight of the output is 0.5 and 2.642391. If the control is entered in negative two, SiLU is about negative 0.238406, the multiplier is negative and not simply remove the feature. This symbol change is important to explain the size of the door.
Borders and checks
The possible transfer of matrix names, storage directions or integrations from each library must be reconciled with the actual multiplication; It is not possible to use sigmoid as a presumption by calling gate according to the variable. In Quantification, two projection and multiplication methods may also produce different distributions of abnormal values, requiring separate checks of the active range. Individual cases only validate the formula and do not show that the mass increases after a model is activated.
A method of verification
When checking the door control structure, one of the projectile output can be set at zero, confirming that the multiplying path disappears and checking whether the residue remains the original input. The door control is then replaced by the same positive or negative value, and the observation of SiLU is not a strange function and cannot be expected to be the opposite of two output. Quantitative checks should also keep separate records of the activation of two paths: a smaller one does not indicate that the multiplying or output projection is equally safe. This sequence allows for the gradual separation of formulae, integration algorithms and numerical ranges.
Check understanding
Door control values are greater than one, is this an error?
No, it's not. The door control activation in SwiGLU is not restricted to the probability range and should be judged by the definition of SiLU. Changes the network function by reducing it to zero.
Is the same medium width that the parameters of the door control layer are the same as the normal two-storey forward feed?
It's not normal. (a) A new input projection is added to the door handle, which is compared with a clear array number and width of each; A hidden dimension of the same name does not automatically represent the same budget.
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.