p-norms, Sparsity, Whitening
How do sparsity penalties and representation covariance shape modern models?
Vishnu Boddeti
Example 1
Hardware benefits when sparsity removes structured blocks rather than isolated weights that remain expensive to index.
Example 2
Diagonal terms encourage invariance while off-diagonal penalties discourage redundant coordinates.
Example 3
Controlling scale improves optimization while preserving mean information and avoiding the centering operation.
Example 4
Sparse selection reduces latency, prompt size, attack surface, and opportunities for an irrelevant action.
Each scenario hides a mathematical structure from this lecture. Identify the structure, justify it, and work through the resulting problem.
A tied-weight block reuses the same matrix one hundred times. Multiplying one hundred matrices is tedious and hides the simple story: in the right coordinates, each component only gets rescaled.
$A=\begin{bmatrix}3&1\\0&2\end{bmatrix}$ and the block output is $A^{100}x$.
A retrieval embedding has two coordinates that mostly move together, so distance is dominated by one common fluctuation. You want to rotate into meaningful directions and rescale them so that each has unit variance before retrieval.
The centered embedding covariance is $\Sigma=\begin{bmatrix}5&4\\4&5\end{bmatrix}$, and one centered embedding is $x=(3,1)^\top$.
An autoregressive feature mixer is triangular because later internal features may use earlier ones, but not vice versa. From that structure alone, you should be able to spot an unstable mode and solve the layer backward efficiently.
$T=\begin{bmatrix}0.9&2&-1\\0&0.5&3\\0&0&1.1\end{bmatrix}$.