Compressible Representations: Functional Spines in Deep Neural Networks
Rajesh & Khosla in Interpretability
Which of ViT-B/16's 768 directions actually matter?
Compressible Representations: Functional Spines in Deep Neural Networks
Variance is not the same as function
PCA keeps high-variance directions; local-neighborhood and geotopology criteria preserve local or intermediate-range relationships.
The authors rank hidden-state directions by how strongly a small perturbation locally changes the remaining network's outputs.
They also test adversarial robustness, task separation, representational comparison and continual learning; this edition omits robustness.
How they identify task-sensitive directions
- 1
Start at one layer
Call its hidden activation z; treat all later layers as a mapping from z to an output, such as class logits.
- 2
Measure output sensitivity
For each calibration image, compute downstream Jacobian J with respect to z; average JᵀJ across images to form F.
- 3
Keep the top directions
Project z onto F's top eigenvectors; they maximize mean-squared output change for unit perturbations. Accuracy tests rescale projected activations to the original norm.
At 10% rank, variance can miss what matters

ImageNet, original activation norm restored: per-layer test, ViT-B/16 layer 6 at 10% rank: task-sensitive 93.8% top-5 accuracy; PCA 27.9%, local geometry 29.8%, geotopology 30.4%. Layer 0: PCA 93.5%, task-sensitive 90.1%.
The gap survives a whole-network rank budget

Global ViT-B/16 test; projected activations regain their original norms. At 30% global retention, task-sensitive compression reaches 89.5% ImageNet top-5 accuracy versus PCA's 15.3%; curves compare dynamic and uniform allocation.
The compression pattern generalizes across ViT sizes

Cells show top-5 change by layer/rank with activation norms restored; columns: ViT-B/16, ViT-S/16, ViT-Ti/16; rows: task-sensitive, PCA, random. Plus marks above baseline; task-sensitive advantage generalizes across sizes.
Five models reveal mostly distinct shape/texture directions

Cue-conflict probes: A-B selectively hurt the matched task after shape/texture ablation; C-D show matched predictions flip first under top-eigenvector perturbations. Solid=shape, dashed=texture; overlap is low but nonzero.
Alignment changes with layer and chosen task

A-B: in four pretrained ViTs, equal-rank task-sensitive vs null CKA is similar early, then task-sensitive alignment leads. C: texture-conditioned CKA exceeds shape-conditioned CKA for all six pairs on cue-conflict images.
Task-sensitive protection helps, but not every network
Task-incremental Split CIFAR-10, 5 tasks; 3-seed mean ± sample SD, base ε=0.97, +0.003/task. FGPM wins 7/8; ResNet-18 is the exception.
Where the method's claims stop
Local Jacobian
F tracks local output sensitivity; it does not capture nonlinear interactions across layers.
Task and estimate dependence
The ranking depends on the selected task and calibration data; estimation may weaken for layers far from the output.
Vision benchmark scope
Main compression benchmarks use pretrained ViTs on ImageNet; transfer to other domains remains untested.
Why it matters
- Middle layers can rely on low-variance directions, so geometry alone may discard behaviorally useful signal.
- For compression or continual learning, choose directions by the task they affect, not activation variance alone.
- The open question is whether task-insensitive dimensions are expendable or support future transfer and plasticity.
11 slides, 3 min
6 days ago