CURing makes LLMs smaller by keeping only the important parts of weight matrices
CURing introduces a fast matrix decomposition technique that shrinks LLMs by keeping only important rows and columns while maintaining performance.
-----
https://arxiv.org/abs/2501.04211
π§ Technique in this Paper:
β CURing decomposes weight matrices into products of selected columns (C), rows (R), and a small linking matrix (U)
β It identifies important weights using both magnitude and activation patterns through WANDA
β The method preserves original matrix characteristics by retaining actual rows and columns
β Built-in healing capability through U matrix fine-tuning avoids extensive retraining
β Updates are constrained to beneficial subspaces defined by C and R matrices
-----
π‘ Key Insights:
β Layers causing minimal output changes can be effectively compressed
β Combining activation patterns with weight magnitudes improves selection
β Constraining updates to original subspaces prevents catastrophic forgetting
β Knowledge distillation on C4 dataset provides task-agnostic healing
-----
π Results:
β Reduces Llama3.1-8B by 9% (to 7.32B parameters) in just 129 seconds
β 20x faster than prior methods like SliceGPT
β Maintains or improves performance on C4, WikiText2, BoolQ, and MMLU
β Quick healing in ~100 fine-tuning steps










