Recent work explored the potential of large-scale Transformer-based pre-trained models, especially Pre-trained Language Models (PLMs) in natural language processing. This raises many concerns from various perspectives, e.g., financial costs and carbon emissions. Compressing PLMs like BERT with negligible performance loss for faster inference and cheaper deployment has attracted much attention. In this work, we aim to explore larger compression ratios for PLMs, among which tensor decomposition is a potential but under-investigated one. Two decomposition and reconstruction protocols are further proposed to improve the effectiveness and efficiency during compression. Our compressed BERT with ${1}/{7}$ parameters in Transformer layers performs on-par with, sometimes slightly better than the original BERT in GLUE benchmark. A tiny version achieves $96.7\%$ performance of BERT-base with $ {1}/{48} $ encoder parameters (i.e., less than 2M parameters excluding the embedding layer) and $2.7 \times$ faster on inference. To show that the proposed method is orthogonal to existing compression methods like knowledge distillation, we also explore the benefit of the proposed method on a distilled BERT.
Exploring the Limits of Model Compression in LLMs: A Knowledge Distillation Study on QA Tasks
Fraunhofer Institute for Intelligent Analysis and Information Systems(弗劳恩霍夫智能分析与信息系统研究所);University of Southern Denmark(南丹麦大学);Fraunhofer Institute for Applied Information Technology(弗劳恩霍夫应用信息科技研究所);University Hospital of Cologne(科隆大学医院)
Training with Quantization Noise for Extreme Model Compression
Facebook AI Research(Facebook人工智能研究院);LORIA(洛里亚计算机科学实验室);Univ Lyon(里昂大学);Inria(法国国家信息与自动化研究所);CNRS(法国国家科学研究中心);ENS de Lyon(里昂高等师范学校);UCB Lyon 1(里昂第一大学);LIP UMR 5668(里昂第一大学计算机科学实验室)
Retrieval-based Knowledge Transfer: An Effective Approach for Extreme Large Language Model Compression
Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);Center for Data Science, AAIS, Peking University(北京大学人工智能研究院数据科学中心);Meituan(美团);Meta AI;National Key Laboratory of General Artificial Intelligence(通用人工智能全国重点实验室);BIGAI, Beijing, China(北京通用人工智能研究院);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院)
CompactifAI: Extreme Compression of Large Language Models using Quantum-Inspired Tensor Networks
Multiverse Computing(多维计算公司);Catalan Institute of Nanoscience and Nanotechnology (ICN2)(加泰罗尼亚纳米科学与纳米技术研究所);The Barcelona Institute of Science and Technology(巴塞罗那科学技术研究院);Donostia International Physics Center(多斯蒂亚国际物理中心);Centre for Social Innovation(社会创新中心)
On Multilingual Encoder Language Model Compression for Low-Resource Languages
Saarland University(萨尔兰州大学);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);Kempelen Institute of Intelligent Technologies (KInIT)(Kempelen智能技术研究所);Centre for European Research in Trusted AI (CERTAIN)(可信人工智能欧洲研究中心)