원시데이터 수집 시스템
선정목록으로

ELO-Mask: Effective and Layerwise Optimization of Mask for Sparse LLMs

관련 필름·전자재료 · (15) 디스플레이 패널재료

기본 정보

저자
  1. Bingjie Xiang — Information Center, China Tobacco Fujian Industrial Company Ltd., Xiamen, Fujian, China|||Information Center, China Tobacco Fujian Industrial Co., Ltd, Xiamen, Fujian, China
  2. Junwen Wu — Institute of Artificial Intelligence, Xiamen University, Xiamen, China|||Institute of Artificial Intelligence, Xiamen University, China
  3. Xiaoying Han — Information Center, China Tobacco Fujian Industrial Company Ltd., Xiamen, Fujian, China|||Information Center, China Tobacco Fujian Industrial Co., Ltd, Xiamen, Fujian, China
  4. Qian Gu — Information Center, China Tobacco Fujian Industrial Company Ltd., Xiamen, Fujian, China|||Information Center, China Tobacco Fujian Industrial Co., Ltd, Xiamen, Fujian, China
  5. Fei Chao — Institute of Artificial Intelligence, Xiamen University, Xiamen, China|||Institute of Artificial Intelligence, Xiamen University, China
  6. Xiao Yang — School of Informatics, Xiamen University, Xiamen, China|||School of Informatics, Xiamen University, China
  7. Fan Wu — School of Informatics, Xiamen University, Xiamen, China|||School of Informatics, Xiamen University, China
  8. X Fu — Management School, Xiamen University, Xiamen, China|||Xiamen University, China
DOI
10.1109/access.2024.3498904
저널
IEEE Access
발행년도
2024
발행기관
Institute of Electrical and Electronics Engineers
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2024.3498904
토픽
Advancements in Photolithography Techniques
OpenAlex ID
W4404411121

평가 내용

관련도
관련
사업분야
필름·전자재료 · (15) 디스플레이 패널재료
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 디스플레이 패널재료' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

To address the issue of the substantial computational resource consumption during the inference phase of large language models due to their vast number of parameters, model sparsification is an effective solution. However, current sparsification methods for large models are costly. We propose a comprehensive two-stage approach called ELO-Mask for the rapid sparsification of large language models using a small calibration dataset. The approach consists of two steps: 1) Mask Reordering Step, this step involves initializing the mask using predefined parameter importance metrics, followed by reordering the model masks in blocks using the Straight-Through Estimator method with a small sample dataset. 2) Mask Fine-Tuning Step, this step involves further fine-tuning the masks obtained from the first step in blocks, using the same small sample dataset. Our experiments demonstrate the effectiveness of this approach. When sparsifying the Llama-7B model, our method shows significant superiority over the standard sparsification plus LoRA fine-tuning approach. It achieves comparable performance in the final sparse model while consuming less computational power, using a smaller dataset, occupying less GPU memory, and not affecting the inference speed of the sparse model.

본문 55,486자

본문 펼치기
Received 14 October 2024, accepted 6 November 2024, date of publication 15 November 2024, date of current version 26 November 2024. _Digital Object Identifier 10.1109/ACCESS.2024.3498904_ # ELO-Mask: Effective and Layerwise Optimization of Mask for Sparse LLMs BINGJIE XIANG <sup>1</sup>, JIARUI WU <sup>2,3</sup>, XIAOYING HAN <sup>1</sup>, QIAN GU <sup>1</sup>, FEI CHAO 2,3,4, (Senior Member, IEEE), XIAO YANG3, FAN WU3, AND XIN FU 5 1Information Center, China Tobacco Fujian Industrial Company Ltd., Xiamen, Fujian 361012, China 2Institute of Artificial Intelligence, Xiamen University, Xiamen 361005, China 3School of Informatics, Xiamen University, Xiamen 361005, China 4Department of Computer Science, Aberystwyth University, SY23 3DB Aberystwyth, U.K. 5Management School, Xiamen University, Xiamen 361005, China Corresponding author: Qian Gu (gq32520@fjtic.cn) This work was supported in part by the National Natural Science Foundation of China under Grant 72471203 and in part by the Humanities and Social Sciences Foundation of the Ministry of Education of China under Grant 22YJA630020. ABSTRACT To address the issue of the substantial computational resource consumption during the inference phase of large language models due to their vast number of parameters, model sparsification is an effective solution. However, current sparsification methods for large models are costly. We propose a comprehensive two-stage approach called ELO-Mask for the rapid sparsification of large language models using a small calibration dataset. The approach consists of two steps: 1) Mask Reordering Step, this step involves initializing the mask using predefined parameter importance metrics, followed by reordering the model masks in blocks using the Straight-Through Estimator method with a small sample dataset. 2) Mask Fine-Tuning Step, this step involves further fine-tuning the masks obtained from the first step in blocks, using the same small sample dataset. Our experiments demonstrate the effectiveness of this approach. When sparsifying the Llama-7B model, our method shows significant superiority over the standard sparsification plus LoRA fine-tuning approach. It achieves comparable performance in the final sparse model while consuming less computational power, using a smaller dataset, occupying less GPU memory, and not affecting the inference speed of the sparse model. INDEX TERMS Model sparsification, large language model, mask rearrangement, accuracy recovery, small samples. I. INTRODUCTION Recently, research on large language models based on the Transformer architecture has become a hotspot in the field of deep learning. In 2020, the scaling laws proposed by Kaplan et al. [1] revealed a power-law relationship between the number of model parameters or the amount of training data and the final performance of the model. This relationship can be simply explained as: all else being equal, the larger the number of parameters or the scale of training data, the better the model performance. Through the relentless efforts of researchers, ChatGPT was successfully launched on November 30, 2022. Its outstanding performance, attributed to its massive parameter scale, even gained recognition The associate editor coordinating the review of this manuscript and approving it for publication was Jolanta Mizera-Pietraszko . beyond the field of artificial intelligence. Subsequently, more and more large model-related works and results have entered the public eye, with GPT [2], [3], [4], [5], OPT [6], Llama [7], [8], and GLM [9], [10] being highly representative model families in the large model domain. Despite the excellent performance of these large language models, they bring numerous practical issues, such as the high inference costs resulting from the enormous number of parameters and computational scale. How to reduce these inference costs is a matter of concern, leading to two major challenges. First, the lack of efficient compression methods for large language models. A prominent algorithm in the model sparsification field uses the second-order term of the Taylor expansion of the loss function, specifically the Hessian matrix of the loss with respect to the model parameters, as a measure of parameter importance. This information guides the sparsification process. While this algorithm achieves superior compression results for smaller models, solving for the Hessian matrix is computationally intensive. For smaller models, this process is manageable, but for large language models, it becomes exceedingly difficult, rendering the algorithm impractical for compressing such models. Similar to this algorithm, many traditional model compression methods are prohibitively costly, making them unfeasible for large language models. Therefore, identifying low-cost sparsification methods or metrics is a crucial objective in the sparsification of large language models [11], [12], [13], [14], [15]. Second, the lack of cost-effective fine-tuning for accuracy restoration. In the sparsification process of smaller models, the entire training set is typically used for full parameter fine-tuning to restore the model’s accuracy post-compression. However, for large language models, utilizing the entire training set or performing full parameter fine-tuning would result in enormous cost increases. Thus, finding a cost-effective method for accuracy restoration is also essential in the sparsification of large language models [16], [17], [18], [19], [20]. A common optimization objective for sparsifying large models is blockwise error minimization, which has demonstrated better performance compared to per-operator and end-to-end optimization methods. However, blockwise error minimization alone does not directly address the two major challenges mentioned above. Traditional sparsification approaches often rely on heuristic metrics to determine the sensitivity of each weight. These methods, while commonly used, may not achieve optimal solutions due to their heuristic nature. This necessitates further optimization to explore better model performance. Our work aims to address the issues in the aforementioned two steps, specifically focusing on sparsification methods for large language models at unstructured and semi-structured granularities. Based on these constraints, our contributions are as follows: 1) We propose a mask reordering method based on block-wise error minimization. This method uses a small calibration set to minimize the reconstruction error within individual sparse blocks, optimizing the mask arrangement within each block using a straightthrough estimator, resulting in superior sparse masks. Additionally, we introduce a special mask initialization strategy and an intra-block mask sorting scheme to enhance the performance of the re-ordered sparse model. 2) We present a simple mask fine-tuning method based on block-wise error minimization. Through straightforward small-sample block-level distillation, this method significantly improves the performance of the sparse model. These two methods correspond to the model sparsification and model fine-tuning steps in the sparsification process, together forming a standard approach for the sparsification of large language models. FIGURE 1. LoRA technology reduces the cost of model inference by adding low-rank adapters to some linear operators in the model. 3) We conduct extensive experiments to demonstrate the effectiveness of our proposed methods, providing new insights into the field of large model sparsification. The remainder of this paper is organized as follows. Section II describes related studies of Sparsifying Large Language Models and fine-tuning methods. Section IV specified the proposed comprehensive sparsification scheme for large language models. Section V presents experimental results of the proposed method with current state-of-theart methods. Finally, the conclusion and future work are presented in Section VI. II. BACKGROUND _A._ _SPARSIFYING LARGE LANGUAGE MODELS_ Methods for sparsifying large language models can be mainly divided into two categories: structured granularity sparsification methods and unstructured (or semi-structured) granularity sparsification methods. LLM-Pruner [21] is a pioneering work in structured sparsification for large models, considering both first-order and second-order gradient information of the parameters to determine their importance, achieving excellent results. Compresso [22] proposes a structural sparsification algorithm that synergizes prompts with the sparsification algorithm, significantly improving performance over LLM-Pruner. FLAP [23] adopts a bias correction approach similar to DFQ [24] for ultra-lowcost fine-tuning of sparse networks, also achieving good performance. Compared to structured sparsification, unstructured or semi-structured granularity sparsification often yields better accuracy in the final model within the large model sparsification domain. SparseGPT [25] can be seen as the application of the OBC [26] algorithm in large language model sparsification. It uses the second-order derivative information of parameters to determine their importance for sparsification, followed by least-squares adjustment of the remaining weights to restore accuracy. Some researchers have accelerated this process using the alternating direction method of multipliers [27]. Wanda [28] employs a very simple rule, calculating the product of the _ℓ_ - 1 norm of parameters and the norm of the corresponding input activations to assess parameter sensitivity, achieving good results even at low sparsity rates. DSnoT [29] replaces parameters in a sparse network with those that were pruned, minimizing layer-wise error to maximize the accuracy of the sparse network. GBLM [30] considers the first-order gradient information of parameters and combines it with other parameter importance metrics to form a new parameter importance assessment metric, demonstrating good performance. RIA [31] achieves results similar to Wanda by comprehensively considering the importance of current parameters in both input and output dimensions of the parameter matrix, even without calibration data. _B._ _FINE-TUNING AFTER SPARSIFICATION_ After sparsifying large language models, it is common to use LoRA [32] to fine-tune the sparse model. As shown in Figure 1, this method adds a trainable low-rank adapter to some of the model’s operators. The low-rank adapter is composed of two fully connected operators, A and B, connected in series, and then placed in parallel with the main operator of the sparse model. In this low-rank adapter, operator A has dimensions (input dimension of the main operator, _r_ ), and operator B has dimensions ( _r_, output dimension of the main operator). Because rank( _AB_ ) ≤ min(rank( _A_ ) _,_ rank( _B_ )), this adapter is referred to as a lowrank adapter. Additionally, to maintain output invariance, the parameters of operator A are typically initialized with a Gaussian distribution, while the parameters of operator B are all set to zero. Compared to full model fine-tuning, LoRA only trains the parameters of the operators in the low-rank adapter while freezing the parameters of the main operators in the sparse model, thereby effectively reducing the fine-tuning cost. After the fine-tuning phase, the two operators of the low-rank adapter can be multiplied together to obtain a parameter matrix with the same dimensions as the main operator. This parameter matrix is then added to the main operator’s parameter matrix to achieve operator fusion without affecting the structure of the sparse model. In existing sparsification methods [21], [22], [25], [28], [33], [34], [35], after obtaining the sparse model, a lowrank adapter is typically added and trained to restore model accuracy. For structured sparsification, training masks can be introduced to operators A or B during training to keep some rows or columns of the resulting parameter matrix zero, facilitating subsequent parameter fusion operations. However, for unstructured and semi-structured sparsification, the low-rank nature of the adapter often makes it difficult to fuse with the parameter matrix of the original network’s operators, leading to an increase in the actual inference cost of the sparse model. III. PRELIMINARIES For a certain operator in a neural network, if its parameter matrix needs to be sparsified, a corresponding mask matrix is required to indicate which elements in the parameter matrix should be set to zero. In structured sparsity granularity, the mask matrix is typically a one-dimensional vector - Parameter importance metric based on the product of parameters and activation values [28] (Wanda): Wanda is a highly effective importance metric in the field of large language model sparsification. This metric’s calculation is relatively simple, using the product of the _ℓ_ - 1 norm of the parameters and the _ℓ_ - 2 norm of the corresponding activation values (activation) as the measure of the parameter’s importance. Similarly, the higher this value, the more important the parameter. This with dimensions corresponding to the rows or columns of the parameter matrix. In unstructured and semi-structured sparsity granularity, the mask matrix is a matrix with the same shape as the parameter matrix. It can be seen that the mask matrix for structured sparsity can be losslessly represented by the mask matrix for unstructured or semi-structured sparsity (by setting all elements in a row or column of the mask matrix to 0). For simplicity of notation, we will use _Mop_ <sup>_i,j_</sup> <sup>to denote the</sup> mask for the ( _i, j_ )-th parameter of the _op_ -th operator in the model. Here, _M_ is the general symbol for the mask matrix, consisting of elements 0 and 1, where _Mop_ <sup>_i,j_</sup> <sup>= 0 indicates that</sup> the corresponding element in the parameter matrix should be pruned, and _Mop_ <sup>_i,j_</sup> <sup>=</sup> <sup>1</sup> <sup>indicates</sup> <sup>that</sup> <sup>the</sup> <sup>corresponding</sup> element should be retained. The sparsification process of an operator can be expressed mathematically as _Mop_ <sup>_i,j_</sup> <sup>⊙</sup> <sup>_W_</sup> _op_ <sup>_i,j_</sup> <sup>,</sup> where ⊙ denotes the Hadamard product between matrices, and _Wop_ <sup>_i,j_</sup> <sup>represents</sup> <sup>the</sup> <sup>element</sup> <sup>in</sup> <sup>the</sup> <sup>(</sup> <sup>_i, j_</sup> <sup>)-th</sup> <sup>position</sup> <sup>of</sup> _op_ <sup>_i,j_</sup> <sup>⊙</sup> <sup>_W_</sup> _op_ <sup>_i,j_</sup> <sup>,</sup> and _Wop_ <sup>_i,j_</sup> <sup>represents</sup> <sup>the</sup> <sup>element</sup> <sup>in</sup> <sup>the</sup> <sup>(</sup> <sup>_i, j_</sup> <sup>)-th</sup> <sup>position</sup> <sup>of</sup> the parameter matrix for the _op_ -th operator in the model. Before starting the mask rearrangement step, we preinitialize a mask matrix with all elements set to 1 for each operator to be sparsified and subsequently process this matrix. Mask initialization is the first step in the entire mask rearrangement process. We will introduce several typical model parameter importance metrics and detail how to generate the initial mask required for the mask rearrangement method based on these metrics. Below are the importance metrics we use. Each parameter in the operator’s parameter matrix is quantified by these metrics to generate the initial mask to be optimized through subsequent processing: - Magnitude of parameter values [36] (magnitude): The magnitude of parameters is a commonly used metric for evaluating parameter importance in the field of model sparsification. This metric, also known as the _ℓ_ −1 norm of the parameters, can be defined mathematically as: (1) ���1 <sup>_,_</sup> S <sup>_i_</sup> _op_ <sup>_,j_</sup> <sup>=</sup> ��� _Wop i,j_ where, S represents the importance of the parameter; the higher this value, the more important the parameter. After generating the importance of all parameters using this metric, the relative importance values within the operator are compared according to the predefined sparsity granularity _P_ or sparsity ratio _r_ . Parameters in less important positions are assigned a mask of _Mop_ <sup>_i,j_</sup> <sup>= 0,</sup> thereby sparsifying those less important parameters. FIGURE 2. Illustration of our ELO-Mask. From left to right: given calibration datasets, original model and initialized masks; the masks is rearranged; the masks is fine-tuned; the masks are multiplied with the model weights to get the final sparse model. metric can be defined mathematically as: ��� - ��� X _opj_ (2) ���2 <sup>_,_</sup> S <sup>_i_</sup> _op_ <sup>_,j_</sup> <sup>=</sup> ��� _Wop i,j_ where, X represents the input activation values of the current operator. This importance metric differs from traditional metrics based solely on the magnitude of parameters, as it considers not only the information contained in the parameters themselves but also their role in actual inference. - Parameter importance metric based on secondorder information [37] (Hessian): Using second-order gradient information of parameters to evaluate their importance in the network is a very effective method. Compared to the magnitude and Wanda metrics, the second-order gradient information of parameters also considers the interactions between parameters, i.e., the influence of a single parameter on the global network. This metric can be defined mathematically as: _jj_ <sup>_i_</sup> _op_ <sup>_,j_</sup> <sup>=</sup> <sup><u>1</u></sup> ( _Wop_ <sup>_i,j_</sup> <sup>)2</sup> <u>�</u> H <sup>−1�</sup> S <sup>_i_</sup> _op_ <sup>_,j_</sup> <sup><u>1</u></sup> 2 <u>�(</u> H _W_ <sup>−</sup> _<u>op</u>_ <sup>_i,_</sup> <sup>1</sup> <sup>_j_</sup> _._ (3) Due to the involvement of Hessian matrix computations, this process usually requires high computational cost. Recent research focuses on reducing the computational cost of the parameter second-order gradient matrix [25], enabling approximate calculation of the second-order gradient matrix at a lower cost. For example, this metric can be approximated as: �� X <sup>_T_</sup> _op_ <sup>X</sup> <sup>_op_</sup> <sup>+</sup> <sup>_λ_</sup> <sup>I</sup> �−1 <sup>��</sup> _,_ (4) S <sup>_i_</sup> _op_ <sup>_,j_</sup> <sup>=</sup> | _Wop_ | <sup>2</sup> _/_ diag IV. METHOD In the following subsections, we will present a comprehensive sparsification scheme for large language models, called ELO-Mask. This scheme consists of two main steps: mask rearrangement and mask fine-tuning, and the process of our method is illustrated in Fig. 2. We will first provide a detailed introduction to the mask rearrangement step. _A._ _LOW-COST BLOCK-WISE MASK REORDERING METHOD_ Our mask reordering method based on block-wise error minimization. ‘‘Mask reordering’’ refers to the process of adjusting the initial mask by reordering it—specifically, selecting certain weights that are more important but were incorrectly masked under the current criteria, and unmasking them. Conversely, weights that should be masked but were not under the current criteria are set to 0. ‘‘Block-wise error minimization’’ refers to the sequential sparsification of layers, such as the 32 layers in LLAMA-7B, where each layer is sparsified in order. This process is similar to the macro-level approach used in existing methods like SparseGPT and Wanda. Given a block _Q_ to be sparsified, a sparsity rate _r_, and the mask matrix _Mop_ obtained by applying the aforementioned specific mask initialization method to each operator _op_ within the block, the reordering operation begins by taking the sparse activations from the previous block as the input for the current block. Throughout this method, a small calibration set is used. First, all parameters within the model are frozen, and the sparse activations _X_ <sup>′</sup> output by the shallow sparse block are fed into the unsparsified block _Q_ to obtain the dense output activations _Ydense_ . Then, a sparsification operation is performed on block _Q_ to obtain the intermediate sparse block _Q_ <sup>′</sup> . This pseudo-sparsification process involves gathering all mask values _M_ <sup>¯</sup> _op_ from the mask matrices of all operators within the block, sorting them by value, and setting the lower _r_ ∗∥ _M_ <sup>¯</sup> _op_ ∥0 mask values to 0, while the remaining masks are set to 1. We refer to this operation as mask binarization. Subsequently, the sparse activations _X_ <sup>′</sup> are input into the _ij_ where, _λ_ I ensures the matrix remains positive definite, avoiding intermediate calculation errors. The essence of this importance metric is similar to the Wanda metric, but it performs better in practice, and the Hessian matrix can also participate in some model accuracy recovery processes. FIGURE 3. Visualization of the mask reorder algorithm. Given an initial sparsity rate _r_, the weights of all operators in the current block are selected according to their corresponding mask values, and the || _W_ || 0 ∗ _r_ with low important masks are set to 0, and the remaining masks are set to 1. Then the forward process is carried out, and the mask values are optimized by the STE to get the new masks (top left). The learning target of the above optimization process is that when all operators in the block are not sparse, the dense inputs flow through the current dense outputs (right). Do many epochs iterations as above (bottom left). pseudo-sparse block _Q_ <sup>′</sup> for forward propagation, resulting in sparse output activations _Ysp_ . Finally, the mean squared error between _Ysp_ and _Ydense_ is computed as the loss _L_, and the gradient with respect to the mask values is obtained through backpropagation to update the mask values. During the forward process of each training iteration for the pseudo-sparse block _Q_ <sup>′</sup>, all mask values from the mask matrices of all operators within the block are sorted and binarized, generating an intermediate mask matrix containing only {0 _,_ 1} elements. This intermediate mask is then used to compute _M_ ⊙ _W_ for forward propagation. Consequently, positions in the mask with value 0 will always output 0, resulting in zero gradients and preventing mask value updates. To address this issue, our method employs a straightthrough estimator, which ignores the gradient of the _M_ ⊙ _W_ operation and directly backpropagates the output gradient. The mathematical expression for this process is as follows: _∂L_ _∂_ M _∂L_ = _∂h_ ( M ) _∂h_ <u>(</u> <u>M</u> <u>)</u> _∂_ M _∂L_ ≈ _∂h_ ( M ) - 1 _._ (5) enhancing the performance of the sparse model. This process can also be viewed as a block-level self-distillation process over the temporal dimension of the large language model before and after sparsification. The specific implementation of the mask fine-tuning method in the sparse model blocks is illustrated in Figure 3. Specifically, during the blockwise mask fine-tuning method, we start with a sparse large language model, which includes the original dense model and the mask matrices of each sparse operator. These mask matrices are composed of {0,1} elements according to the preset sparsity rate. Next, we proceed to the mask fine-tuning phase, which is carried out block by block. For the current block to be fine-tuned, we optimize the non-zero elements of the mask matrices in each sparse operator using backpropagation, while the gradient of the zero elements is set to zero to achieve freezing. Finally, after multiple rounds of numerical optimization of the mask, we compute the Hadamard product of the new mask matrix, which now consists of elements other than just {0,1}, with the corresponding parameter matrix of the original model to obtain the parameters of the sparse model, thus deriving the final sparse model. V. EXPERIMENTATION AND DISCUSSION _A._ _EXPERIMENTAL SETUP_ For mask initialization, we use the linear initialization method, which assigns mask values based on the relative ranking of parameter importance. This method carefully sorts the parameters according to their importance and places mask values uniformly along a linear function, ensuring a smooth and gradual transition from more important to less important parameters. The linear initialization not only provides a continuous gradient between mask values but _B._ _MASK FINE-TUNING METHOD_ This step pertains to the second phase of our proposed method, ELO-Mask, which primarily focuses on fine-tuning the generated sparse large language model to help it regain accuracy. Below, we will provide a detailed introduction to the specific process of this step. Our mask fine-tuning method employs a small-sample blockwise distillation approach. This method uses the original model as the teacher model and the sparse model as the student model. It utilizes the calibration set used in the mask reordering step as the input for both the teacher and student models. The mask values are fine-tuned by minimizing the reconstruction error block by block, thereby <u>Algorithm 1</u> <u>Pseudocode of ELO-Mask</u> input : Dense LLM _F_ with _L_ blocks; Initial Mask _M_ ; Calibration dataset _Dc_ ; Max fine-tuning iterations _T_ ; Mask rearrangement learning rate _αmre_ ; Mask finetuning learning rate _αmft_ ; output : Fine-tuned sparse LLM _FT_ for _block l_ = 1 to _L_ do for _iteration t_ = 0 to _T_ do _E_ ← Calculate the reconstruction error. if _E is convergent_ then rate scheduler is uniformly adopted, and a linear initialization method is used for mask initialization. Additionally, we found that for high-sparsity models, the learning rate can be increased to accelerate the mask rearrangement and finetuning processes. For the mask rearrangement phase, the learning rate for models with different sparsity rates is generated by: - 0 _._ 02 _,_ _r_ _<_ 0 _._ 7 ( _r_ - 0 _._ 7) × 0 _._ 4 + 0 _._ 02 _,_ _r_ ≥ 0 _._ 7 _._ break ∇ _M_ <sup>¯</sup> _t_ <sup>_l_</sup> ← Calculate the gradient of _M_ <sup>¯</sup> _t_ <sup>_l_</sup> with respect to _E_ through backpropagation. learning rate = _t_ <sup>_l_</sup> +1 <sup>←¯</sup> <sup>_Mlt_</sup> <sup>−</sup> <sup>_αmre_</sup> <sup>∇¯</sup> <sup>_Mlt_</sup> _M_ ¯ _t_ <sup>_l_</sup> for _block l_ = 1 to _L_ do for _iteration t_ = 0 to _T_ do _E_ ← Calculate the reconstruction error. if _E is convergent_ then break ∇ _W_ <sup>¯</sup> _t_ <sup>_l_</sup> ← Calculate the gradient of _W_ <sup>¯</sup> _t_ <sup>_l_</sup> with respect to _E_ through backpropagation. _W_ ¯ _t_ <sup>_l_</sup> _t_ <sup>_l_</sup> +1 <sup>←¯</sup> <sup>_W lt_</sup> <sup>−</sup> <sup>_αmft_</sup> <sup>∇¯</sup> <sup>_W lt_</sup> <u>return</u> _<u>FT</u>_ <u>;</u> also helps maintain the structural integrity of the model during the optimization process. By preserving the relative importance of parameters, the model can more effectively adapt to the sparsity introduced, ensuring minimal performance degradation. Although we explored various other initialization methods—such as binary, random, sigmoid, and multi-step—none of them provided the same balance of performance, computational efficiency, and simplicity. The linear initialization method proved to be the most effective, enabling us to consistently apply it across all stages of our experiments with superior results. We evaluate the performance of Mask Rearrangement, Mask Fine-Tuning, and the complete two-stage scheme, ELO-Mask, on LLaMA-V1-7B [7] and LLaMA-V2-7B [8]. Our evaluation scheme is consistent with existing LLM sparsification methods [25], [28], including assessments of language modeling capabilities and zero-shot task performance of sparse large language models. Specifically, we measure Perplexity on the Wikitext-2 [38] validation dataset to assess language modeling capabilities, and further test the generalization performance of sparse models on several zeroshot tasks, including Arc easy [39], Arc challenge [39], Storycloze 2018 [40], Race [41], and Winogrande [42]. Additionally, all experimental code is implemented using the Pytorch deep learning framework and executed on servers equipped with Nvidia Tesla A100 40G GPUs. Unless otherwise specified, the network training part of our proposed methods uniformly uses the AdamW optimizer, with the optimizer parameters _β_ 1 set to 0.9 and _β_ 2 set to 0.95, and no weight decay strategy is applied. The batch size for each iteration is set to 8, and in both steps, each block mask in the model is optimized for 10 epochs. A constant learning (6) This equation indicates that when the model sparsity rate is less than 0.7, the learning rate during the mask rearrangement phase is set to 0.02. As the model sparsity rate increases, the learning rate needs to be linearly increased. Since our method has a relatively small number of optimization epochs, this learning rate setting is necessary. Increasing the number of training epochs can also compensate for the current difficulty in quickly converging the mask to the optimal solution. During the mask fine-tuning phase, the learning rate is set to 0.01 for sparsity rates below 70%, and 0.02 for sparsity rates above 70%. _B._ _EXPERIMENTAL RESULTS_ 1) UNSTRUCTURED PRUNING We first report the results of our method at an unstructured granularity on the Wikitext-2 test set. Table 1 presents the perplexity of two large language models after sparsification on the Wikitext-2 dataset. A lower perplexity indicates better performance of the sparse model. It is evident that our proposed method significantly improves model performance. Furthermore, the experimental results indicate that using different mask generation metrics substantially impacts performance. For instance, the final performance on Wikitext-2 differs considerably when using magnitude as a parameter importance metric versus Hessian information from SparseGPT, both optimized using our method. This demonstrates that different mask generation metrics significantly affect the final performance of the sparse model obtained using our method. We also demonstrate the performance of large language models with unstructured sparsity on multiple zero-shot tasks. Table 3 shows the test results of the sparse models on various zero-shot tasks. It can be seen that at a 50% sparsity rate, the sparse models retain their generalization performance on downstream tasks after mask rearrangement, mask fine-tuning, or the two-stage ELO-Mask scheme, with accuracy improving in most tasks. However, compared to some methods, such as SparseGPT, the generalization of the sparse models obtained by our proposed method decreases. This may be because SparseGPT includes a least-squares precision recovery process, which, although cruder than our method, may introduce more randomness, effectively adding random noise to the model, and potentially alleviating overfitting in sparse models. TABLE 1. The perplexity results of unstructured pruning models on the Wikitext-2 test sets. TABLE 2. The perplexity results of semi-structured pruning models on the Wikitext-2 test sets. 2) SEMI-STRUCTURED PRUNING Semi-structured sparse models can achieve significant acceleration on actual hardware. Therefore, we report the performance of large language models at this granularity. Table 2 shows the performance improvements on Wikitext2 after semi-structured sparsification of the Llama-V1-7B and Llama-V2-7B models based on different metrics and optimized using our proposed method. It can be seen that various semi-structured sparse models also show significant performance improvements on Wikitext-2. 3) COMPARISON WITH THE USE OF LoRA FINE-TUNING METHODS Existing sparsification methods [21], [22], [25], [28] typically add and train low-rank adapters to restore model accuracy after obtaining sparse models. Compared to the full fine-tuning of sparse models, this method already shows significant speed advantages, but it is inferior to our proposed ELO-Mask, as shown in Table 4. Specifically, ELO-Mask can significantly reduce the time required for fine-tuning sparse models using only a minimal amount of calibration samples. Moreover, the memory usage of the LoRA method is much higher than that of ELO-Mask. Due to the low-rank nature of LoRA, it is challenging to integrate low-rank adapters with the main operator in semi-structured and unstructured sparse models, which adds extra inference costs during actual inference stages. Finally, despite the above advantages, ELOMask achieves performance on par with LoRA in terms of the final performance of sparse models. Given the aforementioned advantages, the performance of ELO-Mask is comparable to that of the LoRA finetuning scheme. As shown in Table 6, in zero-shot tasks, for unstructured sparsity granularity, the sparse models obtained by ELO-Mask at sparsity rates of 50% and 60% show certain performance advantages over those obtained by the LoRA fine-tuning scheme in most zero-shot tasks. Moreover, ELOMask leads in the average accuracy across several zeroshot tasks. For semi-structured sparsity, the sparse models obtained by both schemes exhibit similar performance in zero-shot tasks. However, the average accuracy results indicate that ELO-Mask still holds a slight performance advantage. Additionally, the sparsification process is performed offline, meaning that once the corresponding sparse model is obtained, it can be directly deployed in real-world scenarios. This approach provides immediate efficiency gains without the need for further complex procedures. 4) COMPARISON BETWEEN DIFFERENT MASK NUMERICAL INITIALIZATION METHODS When introducing the mask rearrangement method, we detailed several mask numerical initialization methods. Using a 50% sparsity rate as an example, eight methods can set the initial values of the masks to be rearranged: default initialization, 45% initialization, 55% initialization, random initialization, sigmoid initialization, multi-step initialization, linear initialization, and mapping initialization. We conducted comparative experiments on the above methods based on the Wanda metric. Various initialization methods were applied to the Llama-V1-7B model with a 50% sparsity rate, followed by mask rearrangement to obtain different sparse models for performance testing. The experiments showed that, under other identical conditions, different numerical TABLE 3. The accuracy results of unstructured pruning models on zero-shot tasks. TABLE 4. Comparison of Llama-7B model using LoRA fine-tuning scheme and two-stage mask adjustment scheme on A100 GPU. initialization methods significantly affect the performance of sparse models after mask rearrangement. Figure 4 shows the performance differences on the Wikitext-2 test set of sparse models obtained by different initialization methods. Sparse models derived from random initialization exhibit perplexity over 4000 on the Wikitext2 dataset and are not shown in the figure. The data in the figure indicate that linear initialization, which only considers the ranking of mask generation metrics, can achieve optimal performance compared to mapping initialization containing more information. This may be because, after mapping initialization, most parameters’ corresponding masks are compressed into a very small range due to activation outliers, reducing the discriminability among these masks. Additionally, linear initialization outperforms multi-step and sigmoid initialization to some extent. Both multi-step and sigmoid initialization set the masks corresponding to parameters with large or small mask generation metrics to 1 or 0, respectively. If the optimal or non-zero parameters’ masks appear in these regions, it introduces significant optimization difficulty during rearrangement, leading to unstable optimization and affecting final performance. This analysis also applies to default initialization, as it is an extreme case of multi-step initialization. Based on the above analysis, default initialization is expected to be the worst among the four initialization methods (default initialization, multistep initialization, sigmoid initialization, linear initialization), which our experiments confirm. Finally, the counterintuitive difference in performance between the sparse models obtained by 45% and 55% initialization can be noted in the figure. These two initialization methods satisfy the symmetry of mask value generation. TABLE 5. Comparison of accuracy on zero-shot tasks for LoRA fine-tuning scheme and two-stage mask adjustment scheme. to their respective optimization difficulties. Random initialization, being highly irregular, also introduces significant optimization difficulty, making its performance decline unacceptable compared to other methods. Selecting a good mask numerical initialization method is crucial and necessary. Although linear initialization shows promise, it is likely not optimal. Theoretically, various initialization methods can be organically combined to obtain better-performing sparse models, which is a key direction for our future research. FIGURE 4. Schematic diagram comparing different mask initialization methods. Even considering randomness, they should not show a large performance gap under other identical conditions. However, the sparse model obtained by 55% initialization improves perplexity by 0.34 on the Wikitext-2 test set compared to 45% initialization, performing the worst among all initialization methods shown in the figure. This may be because, with 55% initialization, the optimization target approximates selecting 5% of the parameters with the largest mask generation metrics to set their corresponding masks to 0. Due to the large output of these parameters, simple mask replacement causes drastic output fluctuations, corresponding to loss fluctuations, increasing optimization difficulty. Conversely, 45% initialization approximates selecting 5% of the parameters with the smallest mask generation metrics to set their corresponding masks to 1, causing minor output changes and stabilizing loss during rearrangement, resulting in better performance. This analysis is also supported by the loss curves over time during the optimization process for both initialization methods. Models with 55% initialized masks typically exhibit sudden loss increases during rearrangement, whereas the loss curve for 45% initialization remains stable throughout. The final performance variations brought by different mask numerical initialization methods can be essentially attributed _C._ _DISCUSSION ON THE ROLE OF SMALL-SAMPLE_ _CALIBRATION IN SPARSE MODEL OPTIMIZATION_ An important feature of our method is the use of an extremely small calibration set during the fine-tuning phase. In the field of model quantization, researchers have explored how to more effectively utilize small samples to achieve better accuracy recovery for models. Brecq [43] experimentally demonstrated that for a quantized model, using small samples for accuracy recovery and employing a blockwise error reconstruction approach can better balance capturing inter-layer dependencies and reducing out-of-calibration set errors for the entire model. Specifically, due to the typically high number of parameters in deep learning models, optimizing model parameters with a minimal calibration set using an operator-wise approach cannot achieve optimal performance for the entire model because minimizing reconstruction error for each individual operator does not account for inter-layer parameter dependencies. Conversely, optimizing the entire network may lead to severe overfitting. From the aforementioned conclusions and analyses, it can be inferred that this theory is inherently applicable to error reconstruction for compressed large language models. Moreover, compared to fine-tuning sparse small models, directly fine-tuning the entire network of sparse large language models poses another issue: it requires a significant amount of memory, making it impractical under most hardware conditions. Therefore, we directly adopt this blockwise small-sample fine-tuning method to recover the accuracy of sparse large language models. In the two methods we propose, Mask Rearrangement and Mask Fine-Tuning, there is a common characteristic: both TABLE 6. The perplexity results of Llama-V1-7B on the Wikitext-2 test sets after being fine-tuned with different mask tuning training epochs at a 50% unstructured sparsity granularity. use a small amount of calibration samples. This characteristic is a crucial pillar supporting our proposed two-stage mask adjustment scheme, ELO-Mask. Additionally, as shown in Table 6, another feature supporting the superiority of this scheme is that the new mask matrix obtained from the first stage, Mask Rearrangement, can provide a better initialization for the second stage, Mask Fine-Tuning. Specifically, using the two-stage mask adjustment scheme ELO-Mask can significantly improve the final performance of the sparse model compared to only using the second stage, Mask Fine-Tuning. This performance improvement is independent of fine-tuning time. That is, under the same time cost, the final model obtained using ELO-Mask can achieve better results than just performing the Mask Fine-Tuning step. Upon analysis, this phenomenon may be because the sparse model finds a higher-quality loss landscape after the Mask Rearrangement step. Compared to the loss landscapes obtained by other existing mask generation methods, further fine-tuning within this loss landscape is more likely to find better local optima or even global optima, thereby improving the model’s final performance. Algorithm 1 details the specific process of the two-stage mask adjustment scheme. The entire process only requires providing the original model and a small calibration dataset. Then, given the target sparsity rate and other hyperparameters, this process can be used to sparsify the original dense model, resulting in a high-quality sparse model. VI. CONCLUSION In this paper, we propose a complete two-stage method for LLM sparsification, called ELO-Mask. This method consists of a block-wise mask rearrangement step based on minimizing reconstruction error and a block-wise mask finetuning step. We conduct extensive experiments and analyses on large language models with both semi-structured and unstructured sparsity. The experimental results demonstrate that ELO-Mask achieves comparable performance to the most widely used LoRA-based sparsification methods for large language models, with lower computational cost, less dataset usage, lower memory consumption, and no impact on the inference speed of the sparse models. Moving forward, we will further explore better mask numerical initialization methods. Future work could explore the integration of ELO-Mask with other neural network compression techniques such as quantization and knowledge distillation to create a comprehensive model optimization pipeline. Additionally, extending ELO-Mask to a multi-objective optimization framework could be beneficial, allowing the method to balance multiple performance metrics like speed, memory efficiency, and accuracy, and tailoring the sparsification process to specific application requirements. Furthermore, investigating the use of dynamic sparsity patterns that adapt during training could enhance the effectiveness of ELOMask, enabling more fine-grained control over resource allocation in different layers of the model. This adaptability would be particularly valuable in scenarios where models need to operate under varying constraints, such as real-time processing on mobile devices or edge computing environments. By incorporating these dynamic strategies, ELO-Mask could become a more versatile tool for optimizing models across a wide range of applications, ensuring that they are both efficient and capable of maintaining high performance under diverse conditions. ACKNOWLEDGMENT _(Bingjie_ _Xiang_ _and_ _Jiarui_ _Wu_ _contributed_ _equally_ _to_ _this_ _work.)_ REFERENCES [1] J. Kaplan, S. McCandlish, T. Henighan, T. B. Brown, B. Chess, R. Child, S. Gray, A. Radford, J. Wu, and D. Amodei, ‘‘Scaling laws for neural language models,’’ 2020, _arXiv:2001.08361_ . [2] T. B. Brown, ‘‘Language models are few-shot learners,’’ in _Proc._ _NIPS_, 2020, pp. 1877–1901. [3] A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, and I. Sutskever, ‘‘Language models are unsupervised multitask learners,’’ _OpenAI_ _blog_, vol. 24, no. 1, p. 9, 2019. [4] A. Radford, K. Narasimhan, T. Salimans, and I. Sutskever. (2018). _Improving_ _Language_ _Understanding_ _by_ _Generative_ _Pre-Training_ . [Online]. Available: https://cdn.openai.com/research-covers/languageunsupervised/language_understanding_paper.pdf [5] L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. L. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Ray, J. Schulman, J. Hilton, F. Kelton, L. Miller, M. Simens, A. Askell, P. Welinder, P. Christiano, J. Leike, and R. Lowe, ‘‘Training language models to follow instructions with human feedback,’’ in _Proc._ _Adv._ _Neural_ _Inf._ _Process._ _Syst._ _(NIPS)_, 2022, pp. 27730–27744. [6] S. Zhang, S. Roller, N. Goyal, M. Artetxe, M. Chen, S. Chen, C. Dewan, M. Diab, X. Li, X. Victoria Lin, T. Mihaylov, M. Ott, S. Shleifer, K. Shuster, D. Simig, P. S. Koura, A. Sridhar, T. Wang, and L. Zettlemoyer, ‘‘OPT: Open pre-trained transformer language models,’’ 2022, _arXiv:2205.01068_ . [7] H. Touvron, T. Lavril, G. Izacard, X. Martinet, M.-A. Lachaux, T. Lacroix, B. Rozière, N. Goyal, E. Hambro, F. Azhar, A. Rodriguez, A. Joulin, E. Grave, and G. Lample, ‘‘LLaMA: Open and efficient foundation language models,’’ 2023, _arXiv:2302.13971_ . [8] H. Touvron et al., ‘‘Llama 2: Open foundation and fine-tuned chat models,’’ 2023, _arXiv:2307.09288_ . [9] Z. Du, Y. Qian, X. Liu, M. Ding, J. Qiu, Z. Yang, and J. Tang, ‘‘Glm: General language model pretraining with autoregressive blank infilling,’’ 2022, _arXiv:2103.10360_ . [10] A. Zeng, X. Liu, Z. Du, Z. Wang, H. Lai, M. Ding, Z. Yang, Y. Xu, W. Zheng, X. Xia, W. L. Tam, Z. Ma, Y. Xue, J. Zhai, W. Chen, P. Zhang, Y. Dong, and J. Tang, ‘‘Glm-130b: An open bilingual pre-trained model,’’ 2023, _arXiv:2210.02414_ . [11] K. Li, P. W. Nowak, and S. Pooya, ‘‘Higher kazhdan projections, _ℓ_ 2-betti numbers and baum-connes conjectures,’’ 2020, _arXiv:2006.09317_ . [12] O. Zafrir, G. Boudoukh, P. Izsak, and M. Wasserblat, ‘‘Prune once for all: Sparse pre-trained language models,’’ in _Proc._ _2021_ _Conf._ _Empirical_ _Methods Natural Lang. Process._, 2021, pp. 12302–12312. [13] B. Polovnikov, P. Wilke, and E. Frey, ‘‘Subdiffusive activity spreading in the diffusive epidemic process,’’ 2021, _arXiv:2105.14871_ . [14] T. Nghia Nguyen, X. Truong Nguyen, K. Lee, and H.-J. Lee, ‘‘Accelerating super-resolution network inference via sensitivity-based weight sparsity allocation,’’ _IEEE Access_, vol. 11, pp. 122962–122973, 2023. [15] J. Wong and Q. Zhang, ‘‘Deep learning of sparse patterns in med ical IoT for efficient big data harnessing,’’ _IEEE_ _Access_, vol. 11, pp. 25856–25864, 2023. [16] E. Frantar, S. Ashkboos, T. Hoefler, and D. Alistarh, ‘‘GPTQ: Accurate post-training quantization for generative pre-trained transformers,’’ 2022, _arXiv:2210.17323_ . [17] W. Li, Y. Zhang, and L. Huang, ‘‘Efficient language model fine-tuning via adaptive task sampling,’’ in _Proc. 60th Annu. Meeting Assoc. Comput._ _Linguistics_, 2022, pp. 3950–3960. [18] J. A. Virtanen, ‘‘On the product formula for Toeplitz and related operators,’’ 2022, _arXiv:2205.12345_ . [19] R. Wang, J. Liu, H. Sun, and J. Katto, ‘‘Learned lossless image com pression with combined channel-conditioning models and autoregressive modules,’’ _IEEE Access_, vol. 2, pp. 1–16, 2023. [20] Z. Yang, Y. Zhai, Y. Xiang, J. Wu, J. Shi, and Y. Wu, ‘‘Data aware adaptive pruning model compression algorithm based on a group attention mechanism and reinforcement learning,’’ _IEEE_ _Access_, vol. 10, pp. 82396–82406, 2022. [21] X. Ma, G. Fang, and X. Wang, ‘‘Llm-pruner: On the structural pruning of large language models,’’ in _Proc. Adv. Neural Inf. Process. Syst._, vol. 36, 2024, pp. 1–11. [22] S. Guo, J. Xu, L. L. Zhang, and M. Yang, ‘‘Compresso: Structured pruning with collaborative prompting learns compact large language models,’’ 2023, _arXiv:2310.05015_ . [23] Y. An, X. Zhao, T. Yu, M. Tang, and J. Wang, ‘‘Fluctuation-based adaptive structured pruning for large language models,’’ 2023, _arXiv:2312.11983_ . [24] M. Nagel, M. V. Baalen, T. Blankevoort, and M. Welling, ‘‘Data-free quantization through weight equalization and bias correction,’’ in _Proc._ _IEEE/CVF Int. Conf. Comput. Vis. (ICCV)_, Oct. 2019, pp. 1325–1334. [25] E. Frantar and D. Alistarh, ‘‘SparseGPT: Massive language models can be accurately pruned in one-shot,’’ in _Proc. 40th Int. Conf. Mach. Learn._, 2023, pp. 10323–10337. [26] E. Frantar and D. Alistarh, ‘‘Optimal brain compression: A framework for accurate post-training quantization and pruning,’’ in _Proc. Adv. Neural Inf._ _Process. Syst._, vol. 35, 2022, pp. 4475–4488. [27] V. Boža, ‘‘Fast and effective weight update for pruned large language models,’’ 2024, _arXiv:2401.02938_ . [28] M. Sun, Z. Liu, A. Bair, and J. Z. Kolter, ‘‘A simple and effective pruning approach for large language models,’’ 2023, _arXiv:2306.11695_ . [29] Y. Zhang, L. Zhao, M. Lin, Y. Sun, Y. Yao, X. Han, J. Tanner, S. Liu, and R. Ji, ‘‘Dynamic sparse no training: Training-free fine-tuning for sparse LLMs,’’ 2023, _arXiv:2310.08915_ . [30] R. Jyoti Das, M. Sun, L. Ma, and Z. Shen, ‘‘Beyond size: How gradients shape pruning decisions in large language models,’’ 2023, _arXiv:2311.04902_ . [31] Y. Zhang, H. Bai, J. Zhao, H. Lin, L. Hou, and C. V. Cannistraci, ‘‘Plug and-play: An efficient post-training pruning method for large language models,’’ in _Proc. 12th Int. Conf. Learn. Represent._, 2023, pp. 1–16. [32] E. J. Hu, Y. Shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen, ‘‘LoRA: Low-rank adaptation of large language models,’’ 2021, _arXiv:2106.09685_ . [33] Z. Waheed, S. Khalid, S. M. Riaz, S. Gul Khawaja, and R. Tariq, ‘‘Resource-restricted environments based memory-efficient compressed convolutional neural network model for image-level object classification,’’ _IEEE Access_, vol. 11, pp. 1386–1406, 2023. [34] N.-S. Pham, S. Shin, L. Xu, W. Shi, and T. Suh, ‘‘StarSPA: Stride aware sparsity compression for efficient CNN acceleration,’’ _IEEE Access_, vol. 12, pp. 10893–10909, 2024. [35] J.-H. Kang, M. S. Ali, H.-W. Jeong, C.-K. Choi, Y. Kim, S. Y. Jeong, S.-H. Bae, and H. Y. Kim, ‘‘A super-resolution-based feature map compression for machine-oriented video coding,’’ _IEEE_ _Access_, vol. 11, pp. 34198–34209, 2023. [36] S. Han, J. Pool, J. Tran, and W. Dally, ‘‘Learning both weights and connections for efficient neural network,’’ in _Proc._ _Adv._ _Neural_ _Inf._ _Process. Syst._, vol. 28, 2015, pp. 1–12. [37] B. Hassibi, D. G. Stork, and G. J. Wolff, ‘‘Optimal brain surgeon and general network pruning,’’ in _Proc._ _IEEE_ _Int._ _Conf._ _Neural_ _Netw._, Jun. 1993, pp. 293–299. [38] S. Merity, C. Xiong, J. Bradbury, and R. Socher, ‘‘Pointer sentinel mixture models,’’ 2016, _arXiv:1609.07843_ . [39] P. Clark, I. Cowhey, O. Etzioni, T. Khot, A. Sabharwal, C. Schoenick, and O. Tafjord, ‘‘Think you have solved question answering? Try ARC, the AI2 reasoning challenge,’’ 2018, _arXiv:1803.05457_ . [40] N. Mostafazadeh, N. Chambers, X. He, D. Parikh, D. Batra, L. Vanderwende, P. Kohli, and J. Allen, ‘‘A corpus and cloze evaluation for deeper understanding of commonsense stories,’’ in _Proc. Conf. North_ _Amer._ _Chapter_ _Assoc._ _Comput._ _Linguistics,_ _Hum._ _Lang._ _Technol._, 2016, pp. 839–849. [41] G. Lai, Q. Xie, H. Liu, Y. Yang, and E. Hovy, ‘‘Race: Large-scale reading comprehension dataset from examinations,’’ 2017, _arXiv:1704.04683_ . [42] K. Sakaguchi, R. Le Bras, C. Bhagavatula, and Y. Choi, ‘‘WinoGrande: An adversarial Winograd schema challenge at scale,’’ _Proc. AAAI Conf. Artif._ _Intell._, vol. 34, no. 5, pp. 8732–8740, Apr. 2020. [43] Y. Li, R. Gong, X. Tan, Y. Yang, P. Hu, Q. Zhang, F. Yu, W. Wang, and S. Gu, ‘‘Brecq: Pushing the limit of post-training quantization by block reconstruction,’’ _arXiv:2102.05426_, 2021. BINGJIE XIANG was born in Ningde, Fujian, China, in 1995. She received the M.Sc. degree in computer systems organization from Fuzhou University, China. She is currently with China Tobacco Fujian Industrial Company Ltd. Her research interest includes cyber security. JIARUI WU is currently pursuing the master’s degree with the Department of Artificial Intelligence, School of Informatics, Xiamen University. His research interests include neural network architecture search and neural network model compression. XIAOYING HAN was born in Ningde, Fujian, China, in 1984. She received the M.Sc. degree in information science from Beijing Institute of Technology, China. She is currently an Engineer with China Tobacco Fujian Industrial Company Ltd. Her research interests include cyber security and infrastructure management. QIAN GU was born in Jiangdu, Jiangsu, China, in 1989. She received the B.Sc. degree in information and computational science from Xiamen University, China, and the M.Sc. degree in software engineering from Tongji University, China, in 2018. She is currently an Engineer with China Tobacco Fujian Industrial Company Ltd. Her research interests include informatization and data science. FEI CHAO (Senior Member, IEEE) received the B.Sc. degree in mechanical engineering from Fuzhou University, China, the M.Sc. degree (Hons.) in computer science from the University of Wales, Aberystwyth, U.K., in 2004 and 2005, respectively, and the Ph.D. degree in robotics from Aberystwyth University, Wales, U.K., in 2009. He is currently an Associate Professor with the School of Informatics, Xiamen University, China. He is also an Adjunct Research Fellow with Aberystwyth University. He has published more than 120 peer-reviewed journals and conference papers. His research interests include developmental robotics, machine learning, and optimization algorithms. XIAO YANG received the bachelor’s degree in science and technology of artificial intelligence from Xiamen University, China, in 2022, where he is currently pursuing the master’s degree with the MAC Laboratory. His research interests include machine learning and model quantization. FAN WU received the bachelor’s degree in material chemistry from China University of Geosciences, Beijing. He is currently pursuing the master’s degree with the Institute of artificial Intelligence, Xiamen University. His research interests include neural network architecture search and neural network model compression. XIN FU received the Ph.D. degree in computer science from Aberystwyth University, U.K. She is currently a Professor with the School of Management, Xiamen University, China. Her research interests include decision support systems, fuzzy and qualitative modeling, business intelligence, and sharing economy. Her research has been published in journals, including _Decision Support_ _Systems_, _Information_ _&_ _Management_, _Energy_, IEEE TRANSACTIONS ON FUZZY SYSTEMS, _Pattern_ _Recognition_, and _Journal of Cheminformatics_ .

섹션 본문

섹션 본문이 없습니다.

참고문헌 16건

  1. Optimal Brain Surgeon and general network pruning IEEE International Conference on Neural Networks · 2002 10.1109/icnn.1993.298572
  2. A Corpus and Cloze Evaluation for Deeper Understanding of Commonsense Stories Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies · 2016 10.18653/v1/n16-1098
  3. RACE: Large-scale ReAding Comprehension Dataset From Examinations Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · 2017 10.18653/v1/d17-1082
  4. Data-Free Quantization Through Weight Equalization and Bias Correction 2021 IEEE/CVF International Conference on Computer Vision (ICCV) · 2019 10.1109/iccv.2019.00141
  5. WinoGrande: An Adversarial Winograd Schema Challenge at Scale Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2020 10.1609/aaai.v34i05.6399
  6. Subdiffusive Activity Spreading in the Diffusive Epidemic Process Physical Review Letters · American Physical Society · 2022 101103physrevlett128078302
  7. Data-Aware Adaptive Pruning Model Compression Algorithm Based on a Group Attention Mechanism and Reinforcement Learning IEEE Access · Institute of Electrical and Electronics Engineers · 2022 10.1109/access.2022.3188119
  8. GLM: General Language Model Pretraining with Autoregressive Blank Infilling Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · 2022 10.18653/v1/2022.acl-long.26
  9. Resource-Restricted Environments Based Memory-Efficient Compressed Convolutional Neural Network Model for Image-Level Object Classification IEEE Access · Institute of Electrical and Electronics Engineers · 2022 10.1109/access.2022.3230008
  10. On the Product Formula for Toeplitz and Related Operators Operator theory · Springer Nature · 2022 10.1007/978-3-031-13851-5_26
  11. Deep Learning of Sparse Patterns in Medical IoT for Efficient Big Data Harnessing IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3256721
  12. A Super-Resolution-Based Feature Map Compression for Machine-Oriented Video Coding IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3260223
  13. Learned Lossless Image Compression With Combined Channel-Conditioning Models and Autoregressive Modules IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3291591
  14. Accelerating Super-Resolution Network Inference via Sensitivity-Based Weight Sparsity Allocation IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3328173
  15. Beyond Size: How Gradients Shape Pruning Decisions in Large Language Models arXiv (Cornell University) · Cornell University · 2023 10.48550/arxiv.2311.04902
  16. StarSPA: Stride-Aware Sparsity Compression for Efficient CNN Acceleration IEEE Access · Institute of Electrical and Electronics Engineers · 2024 10.1109/access.2024.3353313