Chen Chen, Jian Chen, Ming Li, Xiangyu Wang, Ruoling Qi, Yirui Liu, Xuaner Wu, Yin Chen, Qizhen Weng
We lifted 1 functions out of this paper's own repositories and ran 1 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| hiahei/Swift-SVD | — | 1 of 1 |
| Function | Status | Where it lives |
|---|---|---|
| dynamic_allocation_original | Ran | hiahei/Swift-SVD/dynamic_rank_allocation.py code served (permissive licence) · get_code("a16da12a7f1b263a") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
The deployment of Large Language Models is constrained by the memory and bandwidth demands of static weights and dynamic Key-Value cache. SVD-based compression provides a hardware-friendly solution to reduce these costs. However, existing methods suffer from two key limitations: some are suboptimal in reconstruction error, while others are theoretically optimal but practically inefficient. In this paper, we propose Swift-SVD, an activation-aware, closedform compression framework that simultaneously guarantees theoretical optimum, practical efficiency and numerical stability. Swift-SVD incrementally aggregates covariance of output activations given a batch of inputs and performs a single eigenvalue decomposition after aggregation, enabling training-free, fast, and optimal layer-wise low-rank approximation. We employ effective rank to analyze local layer-wise compressibility and design a dynamic rank allocation strategy that jointly accounts for local reconstruction loss and end-to-end layer importance. Extensive experiments across six LLMs and eight datasets demonstrate that Swift-SVD outperforms state-of-the-art baselines, achieving optimal compression accuracy while delivering 3-70× speedups in end-toend compression time. Our code is available at https://github.com/hiahei/Swift-SVD.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2604.01609")
get_code_for_paper("2604.01609")
have("2604.01609")
Connect an agent — have() is free.