Krony-PT: 基于克罗内克积压缩的GPT2
Krony-PT: GPT2 compressed with Kronecker Products
AI总结:
本研究提出基于克罗内克积的GPT-2压缩技术Krony-PT,通过改进Van Loan分解与剪枝初始化方法压缩前馈层,将124M参数的GPT-2压缩至80-96M,其中81M版本性能优于DistilGPT2且可媲美更大规模的同类压缩模型。
摘要:
我们提出Krony-PT,一种基于克罗内克积(Kronecker products)的GPT-2压缩技术。我们专门针对每个Transformer块的前馈权重,系统性地将前馈层矩阵压缩至不同程度。我们引入改进的Van Loan分解来初始化新的克罗内克因子,还提出了一种新的基于剪枝的初始化技术。我们的方法将原始124M参数的GPT-2压缩为80M到96M不等的更小模型。我们的81M模型变体在所有标准语言建模数据集的下一词元预测任务上表现优于DistilGPT2,且与参数规模大得多的基于克罗内克的GPT-2压缩模型相比,性能具有竞争力或相当。
英文摘要:
We introduce Krony-PT, a compression technique for GPT-2 based on Kronecker products. We specifically target the feed-forward weights of each transformer block, and systematically compress the feed-forward layer matrices to various degrees. We introduce a modified Van Loan decomposition to initialize new Kronecker factors, and also propose a new pruning-based initialization technique. Our method compresses the original 124M-parameter GPT-2 to various smaller models, ranging from 80M to 96M. Our 81M model variant outperforms DistilGPT2 on next-token prediction across all standard language modeling datasets, and shows competitive or comparable performance with significantly larger Kronecker-based compressions of GPT-2.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。