Skip to content

Compressible Representations: Functional Spines in Deep Neural Networks

Niranjan Rajesh, Meenakshi Khosla

cs.AI

Abstract

Deep networks embed inputs in high-dimensional representations, but how much of this capacity actually drives behavior? We introduce a framework for identifying, at each layer, the subspace of the representation that is functionally sensitive to the task. Using a matrix analogous to the Fisher information but defined over the hidden representation, we rank directions by their influence on downstream computation and project onto the most task-sensitive subspace. Across pretrained vision networks, representations are remarkably compressible: a small fraction of the task-sensitive subspace preserves most performance, often requiring far fewer dimensions than geometric alternatives. We find that this compressed representation is also more robust to adversarial attacks generated on the full network. We additionally show that this decomposition recovers functionally distinct subspaces within the same representation: on cue-conflict stimuli, shape-sensitive and texture-sensitive directions are largely non-overlapping, and ablating one selectively impairs the corresponding task while leaving the other intact. Task-sensitive subspaces also provide a principled foundation for continual learning: constraining gradient updates to lie orthogonal to the task-sensitive subspaces of prior tasks outperforms standard variance-based gradient projection methods. Finally, restricting representational comparisons to task-sensitive subspaces reveals that inter-model alignment is higher in task-sensitive directions than in task-insensitive directions at later layers, and that conditioning on different tasks over the same stimuli uncovers asymmetries that full-space similarity measures cannot detect. Together, these results establish that deep networks compute through a low-dimensional functional spine embedded within a much larger representational space.

Create a lesson

Metadata

Categories
cs.AI, cs.CV
Comments
NeurIPS 2026