Nerve network principles
See how each layer is calculated and how the gradient goes back.
- Readable articles
- 25
- System Chapters
- 2
Linking concepts with system chapters.
Read the whole thing first
- Inverse transmission: from local lead count to parameter update
Use a hidden neuron with ReLU to progressively calculate forward values, reverse gradients and update them simultaneously.
- Normalization, initialization and disability: how deep networks transmit signals
Compare BN with LN with a fixed matrix, and then explain the He initialization and residue path from the variance and the number of guides.
Start with definitions, symbols and minimum examples.
Introduction
- Chain rule: multiply along path and add at convergence
The same hidden expression can be used for both forecasting and auxiliary constraints.
- Hides the symmetry of the unit: why not start all with the same weight
Increases the number of hidden units to allow the network to indicate different patterns.
- Sigmoid Saturation: Which guide becomes smaller when probability approaches the boundary
Sigmoid maps the actual numbers between 0 and 1, often for probabilities or doors.
- ReLU Zero Gradient: Which path does the loss occur
ReLU is defined as max(0,z).
- Inverted Dropout : Why was the retention rate divided during training
Dropout activated random shielding during training.
See the difference between reasoning, realization and methodology.
Step
- VJP: Why does reverse transmission not have to save the whole aberrics
The model layer may produce tens of thousands of numbers, but training ultimately requires only a marker of the gradient of the loss to the parameters.
- JVP: View how output changes along an input direction
A minor change in the input may only want to know in which direction the forecast will move.
- Xavier Initialization: considering the size of connection to output
An output from the full connection layer will add many input items; In reverse, an input may also receive the lead contribution of many outputs.
- He Initialization: which scale should be retained after ReLU
ReLU Cuts negative input to zero so that the output average is usually no longer zero.
- GELU: Difference between smooth door controls and approximation realized
The exact GELU is xΦ(x), where Φ is the standard normal cumulative distribution function.
- 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).
- Normalizing epsilon: what proportion it changes
Normalization commonly uses (x−μ)/√(v+ε).
- LayerNorm Axis: Same shape can match different questions
Enter shape [B], T, D] often indicates batches, locations and characteristics.
- RMSNorm: what does the non-parity mean to keep
RMSNorm scales features by their root mean square, commonly xᵢ/√(mean(x²)+ε), then applies learned coefficients.
- BatchNorm running statistics: what's left over from the training batch
BatchNorm usually uses current batch statistics during the training phase and maintains the running mean value and variance for reasoning.
- GroupNorm: How to select a statistical group in a small batch
The detection and partition often uses a smaller batch because of the high resolution of the image.
- Fragmentation projection: confirmation of what both sides represent before adding
The fragments add the main branch to the bypass road.
- Pre-Norm and Post-Norm: Reposition is re-function
In the debris structure, Pre-Norm is often written as y = x+F(LN(x), and Post-Norm is written as y = LN(x+F(x).
- Label smooth: indicate to whom the probability is assigned
The labels for multiple categories are often one-hot.
Discuss assumptions, expiry conditions and systemic trade-offs.
Deep
- Orientation Curvature: The gradient is the same and the local bends are still different
The two directions may have a similar one-step slope in their current position, but they have a completely different bending level.
- Initialization of the active: what conditions are required to maintain the length
Random weights, even with the appropriate overall variance, may be subject to different divers densities in the direction of input.
- Weight decay with L2: Why not equal prices after adjustment to scaling
Put the target on the ground. w Two-two, which increases the gradient. w 。
- Distillation temperature: Soft target and gradient scale
Knowledge distillation is not only a new label for the highest categories of teachers, but also a soft distribution of teachers to monitor students.