本文探讨了当前人工智能领域中两项关键技术——视觉Transformer模型与大语言模型(Large Language Model, LLM)——面临的挑战与发展演进。视觉Transformer通过将图像分割为小切片并利用Transformer的多头注意力机制捕捉全局信息,但其较高的参数量与计算开销限制了在移动设备上的部署。与此同时,LLM的快速发展革新了自然语言处理领域,但也面临着巨大的部署挑战。为解决这些问题,本文研究了模型剪枝技术,重点关注如何在不损失精度的前提下减少冗余参数,以适配个性化数据与资源受限环境。本文提出了一种全新的分层剪枝策略,通过压缩感知与随机采样区分个性化层与通用层,从而显著减少模型参数量。实验结果表明,引入的步长缓冲机制进一步提升了剪枝后模型的精度,为未来在移动设备上部署高效、个性化的人工智能模型提供了新方向与可能性。
英文摘要:
In this article, we explore the challenges and evolution of two key technologies in the current field of AI: Vision Transformer model and Large Language Model (LLM). Vision Transformer captures global information by splitting images into small pieces and leveraging Transformer's multi-head attention mechanism, but its high reference count and compute overhead limit deployment on mobile devices. At the same time, the rapid development of LLM has revolutionized natural language processing, but it also faces huge deployment challenges. To address these issues, we investigate model pruning techniques, with a particular focus on how to reduce redundant parameters without losing accuracy to accommodate personalized data and resource-constrained environments. In this paper, a new layered pruning strategy is proposed to distinguish the personalized layer from the common layer by compressed sensing and random sampling, thus significantly reducing the model parameters. Our experimental results show that the introduced step buffering mechanism further improves the accuracy of the model after pruning, providing new directions and possibilities for the deployment of efficient and personalized AI models on mobile devices in the future.
SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compression
University of Washington(华盛顿大学);HSE University(高等经济大学);Yandex(扬德克斯);Skoltech(斯科尔科沃科学技术研究院);IST Austria(奥地利科学技术研究所);ETH Zurich(苏黎世联邦理工学院);NeuralMagic(神经魔法公司)