Skip to content
NewA calmer, faster ZeroHour

Learning Functional Subspaces for Neural Network Compression

Hugging Face daily papersby Massimo Bini, Anders Christensen, Stephan Alaniz ()1 min read3 · 2 reads
AI summary · grok-4.7Summaries by Vani AI

Learnable Subspace Projections compress LLMs end-to-end, beating baselines at 70% compression on Llama-2-7B.

Learnable Subspace Projections (LSP) compress transformers by learning which weight subspaces to discard, instead of using local closed-form criteria that ignore how errors propagate with depth. Orthogonal projectors are optimized jointly against output KL or the original loss while pretrained weights stay frozen, then merged into standard low-rank factors. Across OPT-125M/1.3B, Qwen3-4B, Llama-2-7B, and ViT-B/16, LSP's advantage grows with compression. At 70% compression, Llama-2-7B reaches 10.9 WikiText-2 perplexity and 42.2% mean zero-shot accuracy versus 13.3 and 36.0% for the strongest baseline, with up to 1.6x faster decoding and 13.5x lower combined weight and KV-cache memory at a 128k context.

Key facts
  • LSP learns orthogonal projectors end-to-end while pretrained weights stay frozen.
  • At 70% compression, Llama-2-7B reaches 10.9 perplexity and 42.2% zero-shot accuracy.
  • Caching a shared latent shrinks weights plus KV cache 13.5x at 128k tokens.
  • Factorized models decode up to 1.6x faster than the dense model at small batches.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at huggingface.co

Modern transformers pair impressive capabilities with substantial memory and compute demands. Low-rank weight factorization reduces both while keeping the matrices dense, and thus efficient on standard hardware. Existing methods, however, choose the subspace to remove from each weight matrix with local closed-form criteria: activation energy, layer-wise reconstruction error, or a quadratic approximation of the loss.

Hugging Face daily papers

By Massimo Bini, Anders Christensen, Stephan Alaniz · huggingface.co

Read the full article at Hugging Face daily papers

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.