the.ai

Compression / Methods

verified

Low-Rank Factorization

Replace a big weight matrix with the product of two thin ones. If the original matrix is close to low rank, almost nothing is lost and the parameter count falls sharply. Whether that condition holds is an empirical question about the layer, and the answer differs between attention projections and feed-forward matrices.

Viz primitive · update-spectrumrank-truncation = 0.2 · bars = 16

16 values. The left group decays steeply; the right group is 36% of the way to flat, and reads flatter than the left.

The matrix's singular values, full and truncated. Drag the truncation up to watch the spectrum flatten — a matrix whose spectrum was already flat has nothing to discard, which is when this method fails.

0.2

Reviewed by opendroid · 2026-08-18