Rank, Determinant, LoRA Intuition
How much information does a matrix actually carry?
Vishnu Boddeti
Example 1
Low rank reduces trainable parameters and memory while retaining useful adaptation capacity.
Example 2
Exact likelihood requires accounting for local expansion and contraction; flow matching can train the velocity field without that full computation.
Example 3
The rotation has determinant one and inverse equal to its transpose, so it preserves norms and area while relative position changes attention.
Example 4
A rank-deficient evaluator cannot observe every independent failure direction. Collision-pair tests expose blind spots hidden by aggregate success rates.
Each scenario hides a mathematical structure from this lecture. Identify the structure, justify it, and work through the resulting problem.
During adapter training, a frozen projection turns a large activation into a smaller feature vector. The backward pass supplies a gradient in the smaller space, and now you must send it back to the original activation without mixing up the direction of the map.
$z=Wx$, with $W=\begin{bmatrix}1&2&0\\-1&0&3\end{bmatrix}$, and the downstream gradient is $g_z=(4,-2)^\top$.
Two labs trained decoders on the same latent plane but named its coordinates differently. A checkpoint from Lab A therefore looks wrong when loaded by Lab B, even though both labs represent the same underlying vector.
In ambient coordinates, $P=\begin{bmatrix}1&1\\0&1\end{bmatrix}$ contains Team A's basis vectors and $Q=\begin{bmatrix}1&0\\1&1\end{bmatrix}$ contains Team B's. The checkpoint coordinate is $c_A=(2,-1)^\top$.
A feature-mixing layer has a knob $\alpha$. Most settings merely remix information, but one unlucky setting makes an entire latent direction disappear. Where is that failure hiding?
$A_\alpha=\begin{bmatrix}1&0&1\\0&1&1\\1&1&\alpha\end{bmatrix}$.