RMSNorm vs. LayerNorm: What Normalization Actually Does
Deep transformers need normalization to train stably. LayerNorm was the original choice. Many modern models use RMSNorm, which […]
Deep transformers need normalization to train stably. LayerNorm was the original choice. Many modern models use RMSNorm, which […]
Perplexity is the standard intrinsic metric for language models. It is a simple transformation of cross-entropy, and it […]
Attention by itself has no sense of word order. Rotary position embeddings, or RoPE, add order by rotating […]
Reinforcement learning formalizes sequential decision-making under uncertainty as a Markov Decision Process (MDP): a tuple (S, A, P, […]
Deep networks suffer from internal covariate shift: as earlier layers' weights update, the distribution of inputs to later […]
Plain gradient descent updates w ← w - η∇J(w) using the full dataset's gradient at every step — […]
Principal Component Analysis (PCA) finds a lower-dimensional linear subspace that preserves as much variance in the data as […]
Clustering groups observations according to a chosen notion of similarity. The distance measure, representation, and cluster model determine […]
The minimax value of a state assumes both players play optimally: the maximizing player (MAX) picks the action […]
The Variational Autoencoder (VAE) fixes this by making the latent space explicitly probabilistic and regularized toward a known […]