Divergent Token Metrics: Measuring degradation to prune away LLM components -- and optimize quantization
Aleph Alpha;Technical University Darmstadt(达姆施塔特工业大学);Hessian Center for Artificial Intelligence(黑森人工智能中心);LMU Munich(慕尼黑大学);German Center for Artificial Intelligence(德国人工智能研究中心);Munich Center for Machine Learning(慕尼黑机器学习中心)
Björn Deiseroth, Max Meuer, Nikolas Gritsch, Constantin Eichenberg, Patrick Schramowski, Matthias Aßenmacher, Kristian Kersting
Large Language Models (LLMs) have reshaped natural language processing with their impressive capabilities. However, their ever-increasing size has raised concerns about their effective deployment and the need for LLM compression. This study introduces the Divergent Token Metrics (DTMs), a novel approach to assessing compressed LLMs, addressing the limitations of traditional perplexity or accuracy measures that fail to accurately reflect text generation quality. DTMs measure token divergences that allow deeper insights into the subtleties of model compression, in particular, when evaluating components' impacts individually. Utilizing the First Divergent Token Metric (FDTM) in model sparsification reveals that 25% of all attention components can be pruned beyond 90% on the Llama-2 model family, still keeping SOTA performance. For quantization, FDTM suggests that more than 80% of parameters can be naively transformed to int8 without special outlier management. These evaluations indicate the necessity of choosing appropriate compressions for parameters individually -- and that FDTM can identify those -- while standard metrics result in deteriorated outcomes.
Z-Pruner: Post-Training Pruning of Large Language Models for Efficiency without Retraining
Department of Electrical and Computer Engineering, North South University, Dhaka, 1229, Bangladesh(电气与计算机工程系,北南大学,达卡,孟加拉国);Data Science and AI, University of Doha for Science and Technology, Doha, Qatar(数据科学与人工智能,多哈科学技术大学,多哈,卡塔尔)
Condense, Don't Just Prune: Enhancing Efficiency and Performance in MoE Layer Pruning
University of Surrey(萨里大学);Clemson University(克莱姆森大学);Meituan(美团);University of Texas at Austin(德克萨斯大学奥斯汀分校);Sun Yat-sen University(中山大学);The University of Arizona(亚利桑那大学);ELLIS Institute(ELLIS研究所);Max Planck Institute for Intelligent Systems(智能系统马克斯·普朗克研究所);Tübingen AI Center(图宾根人工智能中心)
LLM-Barber: Block-Aware Rebuilder for Sparsity Mask in One-Shot for Large Language Models
School of Microelectronics, Southern University of Science and Technology(微电子学院,南方科技大学);Department of Electrical and Electronic Engineering, University of Hong Kong(电气与电子工程系,香港大学)
UltraLink: An Open-Source Knowledge-Enhanced Multilingual Supervised Fine-tuning Dataset
Tsinghua University(清华大学);Beijing Language and Culture University(北京语言大学);Northeastern University(东北大学);Beijing University of Posts and Telecommunications(北京邮电大学)