Reproduce “Basis Sharing: Cross-Layer Parameter Sharing for Large Language Model Compression” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Jingcun Wang, Yu-Guang Chen, Ing-Chao Lin, Bing Li, Grace Li Zhang
A novel cross-layer parameter sharing strategy, BasisSharing, is introduced for compressing large language models by enabling weight matrices across different layers to share common basis vectors while retaining unique functionality via layer-specific coefficients. This method outperformed existing compression techniques, achieving up to 25% lower perplexity and 4% higher accuracy on downstream tasks, along with a 1.57x inference throughput improvement at 50% compression.
Key insights
- Weight matrices across different layers of LLMs exhibit structural similarities that can be exploited for compression.
- Sharing a common basis across layers while allowing layer-specific coefficients preserves unique functionality, unlike traditional direct parameter sharing.
- Specific weight matrices within transformer architectures (e.g., WK, WQ) are more amenable to cross-layer sharing than others, and adjacent layers typically yield lower sharing loss.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.