DictFormer: Tiny Transformer with Shared Dictionary
Qian Lou, Ting Hua, Yen-Chang Hsu, Yilin Shen, Hongxia Jin
摘要
We introduce DictFormer with the efficient shared dictionary to provide a compact, fast, and accurate transformer model. DictFormer significantly reduces the redundancy in the transformer's parameters by replacing the prior transformer's parameters with a compact, shared dictionary, few unshared coefficients, and indices. Also, DictFormer enables faster computations since expensive weights multiplications are converted into cheap shared look-ups on dictionary and few linear projections. Training dictionary and coefficients are not trivial since indices used for looking up dictionary are not differentiable. We adopt a sparse-constraint training with relaxation to learn coefficients and indices in DictFormer. DictFormer is flexible to support different model sizes by dynamically changing dictionary size. Compared to existing lightweight Transformers, DictFormer consistently reduces model size over Transformer on multiple tasks, e.g., machine translation, abstractive summarization, and language modeling. Extensive experiments show that DictFormer reduces to model size with similar accuracy over multiple tasks, compared to Transformer.
问 Lune
几分钟看清这篇 Paper 的位置,不用再花一下午。
Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper6
- TrojText: Test-time Invisible Textual Trojan InsertionQian Lou, Yepeng Liu, Bo FengICLR 2023 · 5 次引用
- DictPFL: Efficient and Private Federated Learning on Encrypted GradientsJiaqi Xue, Mayank Kumar, Yuzhang Shang, Shangqian Gao 等NeurIPS 2025 · 4 次引用
- PRoLoRA: Partial Rotation Empowers More Parameter-Efficient LoRASheng Wang, Boyang Xue, Jiacheng Ye, Jiyue Jiang 等ACL 2024
- TrojViT: Trojan Insertion in Vision TransformersMengxin Zheng, Qian Lou, Lei JiangCVPR 2023
- MoS: Unleashing Parameter Efficiency of Low-Rank Adaptation with Mixture of ShardsSheng Wang, Liheng Chen, Pengan Chen, Jingwei Dong 等ICLR 2025
相关 Paper
- LightFormer: Light-weight Transformer Using SVD-based Weight Transfer and Parameter SharingXiuqing Lv, Peng Zhang, Sunzhu Li, Guobing Gan 等ACL Findings 2023 · 9 次引用
- PartialFormer: Modeling Part Instead of Whole for Machine TranslationTong Zheng, Bei Li, Huiwen Bao, Jiale Wang 等ACL Findings 2024 · 2 次引用
- DenseFormer: Enhancing Information Flow in Transformers via Depth Weighted AveragingMatteo Pagliardini, Amirkeivan Mohtashami, François Fleuret, Martin JaggiNeurIPS 2024 · 60 次引用
- Hypoformer: Hybrid Decomposition Transformer for Edge-friendly Neural Machine TranslationSunzhu Li, Peng Zhang, Guobing Gan, Xiuqing Lv 等EMNLP 2022 · 3 次引用
- Share Your Attention: Transformer Weight Sharing via Matrix-based Dictionary LearningMagauiya Zhussip, Dmitriy Shopkhoev, Ammar Ali, Stamatios LefkimmiatisAAAI 2026 · 5 次引用
