Paper Reading AI Learner

QSLM: A Performance- and Memory-aware Quantization Framework with Tiered Search Strategy for Spike-driven Language Models

2026-01-02 13:05:33
Rachmad Vidya Wicaksana Putra, Pasindu Wickramasinghe, Muhammad Shafique

Abstract

Large Language Models (LLMs) have been emerging as prominent AI models for solving many natural language tasks due to their high performance (e.g., accuracy) and capabilities in generating high-quality responses to the given inputs. However, their large computational cost, huge memory footprints, and high processing power/energy make it challenging for their embedded deployments. Amid several tinyLLMs, recent works have proposed spike-driven language models (SLMs) for significantly reducing the processing power/energy of LLMs. However, their memory footprints still remain too large for low-cost and resource-constrained embedded devices. Manual quantization approach may effectively compress SLM memory footprints, but it requires a huge design time and compute power to find the quantization setting for each network, hence making this approach not-scalable for handling different networks, performance requirements, and memory budgets. To bridge this gap, we propose QSLM, a novel framework that performs automated quantization for compressing pre-trained SLMs, while meeting the performance and memory constraints. To achieve this, QSLM first identifies the hierarchy of the given network architecture and the sensitivity of network layers under quantization, then employs a tiered quantization strategy (e.g., global-, block-, and module-level quantization) while leveraging a multi-objective performance-and-memory trade-off function to select the final quantization setting. Experimental results indicate that our QSLM reduces memory footprint by up to 86.5%, reduces power consumption by up to 20%, maintains high performance across different tasks (i.e., by up to 84.4% accuracy of sentiment classification on the SST-2 dataset and perplexity score of 23.2 for text generation on the WikiText-2 dataset) close to the original non-quantized model while meeting the performance and memory constraints.

Abstract (translated)

大型语言模型(LLMs)由于其高性能和生成高质量响应的能力,已成为解决许多自然语言任务的突出AI模型。然而,它们巨大的计算成本、庞大的内存占用以及对处理能力和能源的巨大需求,使其在嵌入式设备上的部署变得具有挑战性。鉴于此,最近的研究提出了一种称为脉冲驱动语言模型(SLMs)的方法,以显著降低LLM的处理功率和能耗。尽管如此,这些模型仍然因内存占用过大而难以应用于低成本、资源受限的嵌入式设备中。 手动量化方法可以通过压缩SLM的内存足迹来有效解决问题,但这种方法需要大量的设计时间和计算能力来为每个网络找到合适的量化设置,因此对于不同网络、性能需求和内存预算而言并不具备可扩展性。为了弥合这一差距,我们提出了QSLM——一种新的框架,它能够自动执行预训练SLMs的量化以压缩其大小,同时满足性能和内存约束。 为了实现这个目标,QSLM首先识别给定网络架构的层次结构以及在量化过程中各层的敏感性,然后采用分层量化策略(例如全局、块级和模块级量化),并利用一个兼顾性能与内存双重优化的目标函数来选择最终的量化设置。实验结果显示,我们的QSLM可以在满足性能和内存约束的同时,将模型的内存占用减少多达86.5%,能耗降低最多达20%。同时,在不同的任务上保持高精度(例如SST-2数据集情感分类准确率为84.4%,WikiText-2数据集文本生成的困惑度得分为23.2),接近未量化模型的表现水平。

URL

https://arxiv.org/abs/2601.00679

PDF

https://arxiv.org/pdf/2601.00679.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot