L2 Regularization:
Lλ(w)=L(w)+λ∥w∥22L_\lambda(\mathbf{w}) = L(\mathbf{w}) + \lambda \|\mathbf{w}\|_2^2Lλ(w)=L(w)+λ∥w∥22
Also known as weight decay or Ridge regression
L1 Regularization:
Lλ(w)=L(w)+λ∣w∣L_\lambda(\mathbf{w}) = L(\mathbf{w}) + \lambda |\mathbf{w}|Lλ(w)=L(w)+λ∣w∣
https://commons.wikimedia.org/wiki/File:Regularization.jpg
"Vanishing Gradients" are a problem when training deep neural networks...
Logistic function:
ReLU:
nice visualizations
Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift, Ioffe and Szegedy, 2015.
(Around 70,000 citations on Google Scholar.)
At each layer, each input is adjusted according to:
x^(k)=x(k)−E[x(k)]Var[x(k)]\hat{x}^{(k)} = \frac{x^{(k)} - \text{E}[x^{(k)}]}{\sqrt{\text{Var}[x^{(k)}]}} x^(k)=Var[x(k)]x(k)−E[x(k)]
E[x(k)]\text{E}[x^{(k)}]E[x(k)] - The mean of x(k)x^{(k)}x(k) for the batch.
Var[x(k)]\text{Var}[x^{(k)}]Var[x(k)] - The variance of x(k)x^{(k)}x(k) for the batch.
Each normalized input is then adjusted as:
y(k)=γ(k)x^(k)+β(k)y^{(k)} = \gamma^{(k)}\hat{x}^{(k)} + \beta^{(k)} y(k)=γ(k)x^(k)+β(k)
to restore representational power.
Marp version of regularization_old.md (pandoc format).