ickma.dev

Welcome to ickma.dev

My learning notes and thoughts on math and machine learning.

Currently reading the Deep Learning book.

Deep Learning Book

Chapter 6.1: XOR Problem & ReLU Networks

How ReLU solves problems that linear models cannot handle.

Chapter 6.2: Likelihood-Based Loss Functions

The mathematical connection between probabilistic models and loss functions.

Chapter 6.3: Hidden Units and Activation Functions

Exploring activation functions and their impact on neural network learning.

Chapter 6.4: Architecture Design - Depth vs Width

How depth enables hierarchical feature reuse and exponential expressiveness with fewer parameters.

Chapter 6.5: Back-Propagation and Other Differentiation Algorithms

The algorithm that makes training deep networks computationally feasible through efficient gradient computation.

Chapter 7 Prerequisites: Hessian Matrix, Definiteness, and Curvature

Essential second-order calculus concepts needed before Chapter 7 on optimization algorithms.

Chapter 7.1.1: L2 Regularization (Parameter Norm Penalty)

How L2 regularization shrinks weights based on Hessian eigenvalues, preserving important directions while penalizing less sensitive ones.

Chapter 7.1.2: L1 Regularization

L1 regularization uses soft thresholding to push small weights to exactly zero, creating sparse solutions that perform feature selection.

Chapter 7.2: Constrained Optimization View of Regularization

Regularization as constrained optimization: penalty form vs Lagrangian with KKT conditions and min-max dual training.

Chapter 7.3: Regularization and Under-Constrained Problems

Why regularization is mathematically necessary when solving under-constrained linear systems, and how it ensures invertibility.

Chapter 7.4: Dataset Augmentation

How transforming existing data can improve generalization and combat overfitting when training data is limited.

Chapter 7.5: Noise Robustness

Mathematical derivation showing how adding Gaussian noise to weights is equivalent to penalizing large gradients.

Mathematics

Reflections & Synthesis

MIT 18.06SC Linear Algebra

More

Machine Learning

Algorithms