COMPACT: Common-token Optimized Model Pruning Across Channels and Tokens
Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 5757-5765.
https://doi.org/10.24963/ijcai.2026/641
Keywords
- Natural Language Processing: Language models
Abstract
Improving the memory efficiency, throughput, and serving cost of large language models (LLMs) is critical for edge deployment, interactive applications, and sustainable inference. Pruning is a promising approach, but existing methods have limitations: width pruning disrupts the standard transformer architecture and requires custom inference code, while depth pruning causes abrupt accuracy drops. Moreover, many approaches that work well for LLMs fail to preserve performance on small language models (SLMs). We propose COMPACT, which jointly prunes (i) rare vocabulary to shrink embedding layers and (ii) FFN intermediate channels using common-token–weighted activations aligned with the post-pruning token distribution. COMPACT inherits strengths of both depth and width pruning, such as deployment-friendliness, scale-adaptivity, competitive pruning speed, and strong inference performance. Experiments on several LLM families (0.5B–70B) show state-of-the-art downstream performance, with substantial improvements in inference throughput and GPU memory. Project code is at https://github.com/ekwek1/COMPACT.
- [Ainslie et al., 2023] Joshua Ainslie, James Lee-Thorp, Michiel de Jong, Yury Zemlyanskiy, Federico Lebrón, and Sumit Sanghai. GQA: training generalized multi- query transformer models from multi-head checkpoints. In EMNLP, pages 4895-4901. ACL, 2023.
- [An et al., 2024] Yongqi An, Xu Zhao, Tao Yu, Ming Tang, and Jinqiao Wang. Fluctuation-based adaptive structured pruning for large language models. In AAAI, pages 10865- 10873. AAAI Press, 2024.
- [Ashkboos et al., 2024] Saleh Ashkboos, Maximilian L. Croci, Marcelo Gennari Do Nascimento, Torsten Hoefler, and James Hensman. Slicegpt: Compress large language models by deleting rows and columns. In ICLR, 2024.
- [Bian et al., 2025] Song Bian, Minghao Yan, and Shivaram Venkataraman. Scaling inference-efficient language models. CoRR, 2025.
- [Bisk et al., 2020] Yonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao, and Yejin Choi. PIQA: reasoning about physical commonsense in natural language. In AAAI, pages 7432-7439. AAAI Press, 2020.
- [Bogoychev et al., 2024] Nikolay Bogoychev, Pinzhen Chen, Barry Haddow, and Alexandra Birch. The ups and downs of large language model inference with vocabulary trimming by language heuristics, 2024.
- [Chen et al., 2025] Xiaodong Chen, Yuxuan Hu, Jing Zhang, Yanling Wang, Cuiping Li, and Hong Chen. Streamlining redundant layers to compress large language models. In ICLR, 2025.
- [Clark et al., 2018] Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have solved question answer- ing? try arc, the AI2 reasoning challenge. CoRR, 2018.
- [Cobbe et al., 2021] Karl Cobbe, Vineet Kosaraju, Moham- mad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems. CoRR, 2021.
- [Dery et al., 2024] Lucio M. Dery, Steven Kolawole, Jean- François Kagey, Virginia Smith, Graham Neubig, and Ameet Talwalkar. Everybody prune now: Structured prun- ing of llms with only forward passes. CoRR, 2024.
- [Dorkin et al., 2025] Aleksei Dorkin, Taido Purason, and Kairit Sirts. Prune or retrain: Optimizing the vocabulary of multilingual models for estonian. CoRR, 2025.
- [Frantar and Alistarh, 2023] Elias Frantar and Dan Alistarh. Sparsegpt: Massive language models can be accurately pruned in one-shot. In ICML, volume 202 of PMLR, pages 10323-10337. PMLR, 2023.
- [Frantar et al., 2022] Elias Frantar, Saleh Ashkboos, Torsten Hoefler, and Dan Alistarh. GPTQ: accurate post-training quantization for generative pre-trained transformers. CoRR, 2022.
- [Gao et al., 2024] Shangqian Gao, Chi-Heng Lin, Ting Hua, Zheng Tang, Yilin Shen, Hongxia Jin, and Yen-Chang Hsu. DISP-LLM: dimension-independent structural pruning for large language models. In NeurIPS, 2024.
- [Goel et al., 2025] Raghavv Goel, Sudhanshu Agrawal, Mukul Gagrani, Junyoung Park, Yifan Zao, He Zhang, Tian Liu, Yiping Yang, Xin Yuan, Jiuyan Lu, Chris Lott, and Mingu Lee. VOCABTRIM: vocabulary pruning for efficient speculative decoding in llms. CoRR, 2025.
- [Gromov et al., 2025] Andrey Gromov, Kushal Tirumala, Hassan Shapourian, Paolo Glorioso, and Daniel A. Roberts. The unreasonable ineffectiveness of the deeper layers. In ICLR, 2025.
- [Guo et al., 2025] Jialong Guo, Xinghao Chen, Yehui Tang, and Yunhe Wang. Slimllm: Accurate structured pruning for large language models. CoRR, 2025.
- [He et al., 2024] Shwai He, Guoheng Sun, Zheyu Shen, and Ang Li. What matters in transformers? not all attention is needed. CoRR, 2024.
- [Hendrycks et al., 2021] Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. Measuring massive multitask lan- guage understanding. In ICLR, 2021.
- [Jaiswal et al., 2024] Ajay Kumar Jaiswal, Zhe Gan, Xianzhi Du, Bowen Zhang, Zhangyang Wang, and Yinfei Yang. Compressing llms: The truth is rarely pure and never simple. In ICLR, 2024.
- [Kim et al., 2024] Bo-Kyeong Kim, Geon-min Kim, Tae-Ho Kim, Thibault Castells, Shinkook Choi, Junho Shin, and Hyoung-Kyu Song. Shortened llama: A simple depth prun- ing for large language models. CoRR, 2024.
- [Kwon et al., 2023] Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph E. Gonzalez, Hao Zhang, and Ion Stoica. Efficient memory management for large language model serving with pagedattention. In ACM SIGOPS, 2023.
- [Lin et al., 2024] Ji Lin, Jiaming Tang, Haotian Tang, Shang Yang, Wei-Ming Chen, Wei-Chen Wang, Guangxuan Xiao, Xingyu Dang, Chuang Gan, and Song Han. AWQ: activation-aware weight quantization for on-device LLM compression and acceleration. In MLSys. mlsys.org, 2024.
- [Lin et al., 2025] Chi-Heng Lin, Shangqian Gao, James Seale Smith, Abhishek Patel, Shikhar Tuli, Yilin Shen, Hongxia Jin, and Yen-Chang Hsu. Modegpt: Modular decompo- sition for large language model compression. In ICLR, 2025.
- [Ling et al., 2024] Gui Ling, Ziyang Wang, Yuliang Yan, and Qingwen Liu. Slimgpt: Layer-wise structured pruning for large language models. In NeurIPS, 2024.
- [Lu et al., 2024] Yao Lu, Hao Cheng, Yujie Fang, Zeyu Wang, Jiaheng Wei, Dongwei Xu, Qi Xuan, Xiaoniu Yang, and Zhaowei Zhu. Reassessing layer pruning in llms: New insights and methods. CoRR, 2024.
- [Ma et al., 2023] Xinyin Ma, Gongfan Fang, and Xinchao Wang. Llm-pruner: On the structural pruning of large language models. In NeurIPS, 2023.
- [Men et al., 2024] Xin Men, Mingyu Xu, Qingyu Zhang, Bingning Wang, Hongyu Lin, Yaojie Lu, Xianpei Han, and Weipeng Chen. Shortgpt: Layers in large language models are more redundant than you expect. CoRR, 2024.
- [Muralidharan et al., 2024] Saurav Muralidharan, Sharath Turuvekere Sreenivas, Raviraj Joshi, Marcin Chochowski, Mostofa Patwary, Mohammad Shoeybi, Bryan Catanzaro, Jan Kautz, and Pavlo Molchanov. Compact language models via pruning and knowledge distillation. In NeurIPS, 2024.
- [Raffel et al., 2020] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. JMLR, 21:140:1-140:67, 2020.
- [Ramachandran et al., 2025] Akshat Ramachandran, Souvik Kundu, Arnab Raha, Shamik Kundu, Deepak K. Math- aikutty, and Tushar Krishna. Accelerating LLM inference with flexible N:M sparsity via A fully digital compute-in- memory accelerator. In ISLPED 2025. IEEE, 2025.
- [Sakaguchi et al., 2020] Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. Winogrande: An adversarial winograd schema challenge at scale. In AAAI, pages 8732-8740. AAAI Press, 2020.
- [Sandri et al., 2025] Fabrizio Sandri, Elia Cunegatti, and Gio- vanni Iacca. 2ssp: A two-stage framework for structured pruning of llms. CoRR, 2025.
- [Song et al., 2024] Jiwon Song, Kyungseok Oh, Taesu Kim, Hyungjun Kim, Yulhwa Kim, and Jae-Joon Kim. SLEB: streamlining llms through redundancy verification and elim- ination of transformer blocks. In ICML, 2024.
- [Sun et al., 2024] Mingjie Sun, Zhuang Liu, Anna Bair, and J. Zico Kolter. A simple and effective pruning approach for large language models. In ICLR, 2024.
- [Ushio et al., 2023a] Asahi Ushio, Yi Zhou, and José Camacho-Collados. Efficient multilingual language model compression through vocabulary trimming. In ACL Find- ings: EMNLP, pages 14725-14739. ACL, 2023.
- [Ushio et al., 2023b] Asahi Ushio, Yi Zhou, and José Camacho-Collados. Efficient multilingual language model compression through vocabulary trimming. In ACL Find- ings: EMNLP, pages 14725-14739. ACL, 2023.
- [Xia et al., 2024] Mengzhou Xia, Tianyu Gao, Zhiyuan Zeng, and Danqi Chen. Sheared llama: Accelerating language model pre-training via structured pruning. In ICLR, 2024.
- [Xu et al., 2024] Ruihan Xu, Qingpei Guo, Ming Yang, and Shiliang Zhang. Rethinking the impact of heterogeneous sublayers in transformers, 2024. Yang et al., 2022] Ziqing Yang, Yiming Cui, and Zhigang Chen. Textpruner: A model pruning toolkit for pre-trained language models. In ACL, pages 35-43. ACL, 2022.
- [Yang et al., 2024a] An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoran Wei, Huan Lin, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jingren Zhou, Junyang Lin, Kai Dang, Keming Lu, Keqin Bao, Kexin Yang, Le Yu, Mei Li, Mingfeng Xue, Pei Zhang, Qin Zhu, Rui Men, Runji Lin, Tianhao Li, Tingyu Xia, Xingzhang Ren, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yu Wan, Yuqiong Liu, Zeyu Cui, Zhenru Zhang, and Zihan Qiu. Qwen2.5 technical report. CoRR, 2024.
- [Yang et al., 2024b] Guang Yang, Yu Zhou, Xiangyu Zhang, Wei Cheng, Ke Liu, Xiang Chen, Terry Yue Zhuo, and Taolue Chen. Less is more: Towards green code large language models via unified structural pruning. CoRR, 2024.
- [Yang et al., 2024c] Yifei Yang, Zouying Cao, and Hai Zhao. Laco: Large language model pruning via layer collapse. In ACL Findings: EMNLP, pages 6401-6417. ACL, 2024.
- [Yin et al., 2024] Lu Yin, You Wu, Zhenyu Zhang, Cheng- Yu Hsieh, Yaqing Wang, Yiling Jia, Gen Li, Ajay Kumar Jaiswal, Mykola Pechenizkiy, Yi Liang, Michael Bendersky, Zhangyang Wang, and Shiwei Liu. Outlier weighed layer- wise sparsity (OWL): A missing secret sauce for pruning llms to high sparsity. In ICML, 2024.
- [Zellers et al., 2019] Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. Hellaswag: Can a machine really finish your sentence? In ACL, pages 4791- 4800. ACL, 2019.
- [Zhang et al., 2024] Mingyang Zhang, Hao Chen, Chunhua Shen, Zhen Yang, Linlin Ou, Xinyi Yu, and Bohan Zhuang. Loraprune: Structured pruning meets low-rank parameter- efficient fine-tuning. In ACL Findings, pages 3013-3026. ACL, 2024.
- [Zhao et al., 2025] Weilin Zhao, Tengyu Pan, Xu Han, Yudi Zhang, Sun Ao, Yuxiang Huang, Kaihuo Zhang, Weilun Zhao, Yuxuan Li, Jie Zhou, Hao Zhou, Jianyong Wang, Maosong Sun, and Zhiyuan Liu. Fr-spec: Accelerating large-vocabulary language models via frequency-ranked speculative sampling. In ACL, pages 3909-3921. ACL, 2025.
- [Zhemchuzhina et al., 2022] Elizaveta Zhemchuzhina, Niko- lai Filippov, and Ivan P. Yamshchikov. Pragmatic constraint on distributional semantics. CoRR, 2022.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1 Introduction
LLMs have achieved strong performance across many NLP tasks, but their rapidly growing parameter counts make deployment costly. To enable real-world use cases such as ondevice inference and latency-sensitive systems, it is crucial to compress LLMs while preserving performance. Major compression approaches include quantization [Frantar et al., 2022; Lin et al., 2024] and pruning [Frantar and Alistarh, 2023; Sun et al., 2024; Yin et al., 2024; Ramachandran et al., 2025]. This work focuses on structured pruning, which removes entire rows or columns of weight matrices. Structured pruning is divided into depth and width pruning. Depth pruning removes entire transformer blocks [Kim et al., 2024; Song et al., 2024; Gromov et al., 2025], but often causes sharp performance drops. Width pruning trims FFN channels or attention heads [Ma et al., 2023; Ashkboos et al., 2024; An et al., 2024], but typically deviates from a transformer architecture and requires custom inference code. Existing methods also suffer from three key limitations: (i) They fail to consider where parameters are concentrated (embeddings, FFNs, or attention), causing poor transfer across scales, especially from LLMs to SLMs. (ii) They ignore linguistic structure, treating all tokens as equally important despite large frequency disparities. (iii) They require model-specific implementation changes, making maintenance cumbersome. These issues lead to non-robust performance.
To address this, we propose COMPACT, a pruning framework with two modules: i) Vocabulary pruning removes rare tokens and shrinks embedding layers, yielding substantial parameter and memory reductions, especially for SLMs. ii) Common-token-weighted FFN pruning scores channels using activations weighted by only the tokens retained after vocabulary pruning. Together, these modules guide pruning by parameter distribution, respect linguistic structure, preserve compatibility with existing inference frameworks, and remain architecture-agnostic across model families.
We analyze parameter distributions across model families and scales, revealing that embeddings dominate SLMs while FFNs dominate LLMs. We further observe that token frequencies follow a Zipfian distribution [Zhemchuzhina et al., 2022], implying that rare tokens contribute little to downstream performance. Removing these tokens reduces embedding size with minimal accuracy loss. These findings motivate and validate COMPACT.
We evaluate COMPACT on Qwen 2.5, LLaMA 3, and Gemma 3 models from 0.5B to 70B parameters, using seven benchmarks: MMLU [Hendrycks et al., 2021], HellaSwag [Zellers et al., 2019], WinoGrande [Sakaguchi et al., 2020], ARC-C/E [Clark et al., 2018], PIQA [Bisk et al., 2020], and GSM8K [Cobbe et al., 2021]. We also measure pruning time, inference throughput, and GPU memory usage. Results show: (i) Scale robustness: strong performance at high pruning ratios, even for SLMs. (ii) Smooth degradation: gradual performance decline, unlike depth pruning. (iii) End-to-end efficiency: significant GPU memory savings and improved throughput.
Our contributions are threefold:
- A systematic analysis of parameter distributions across embeddings, FFNs, and attention, revealing scaledependent redundancy.
- COMPACT, a linguistically grounded, scale-adaptive, and structure-agnostic pruning method.
- State-of-the-art pruning results across LLM families and scales, with strong downstream retention and gains in efficiency, pruning time, and GPU memory usage.
2 RelatedWork
Depth Pruning removes entire transformer blocks while preserving compatibility with common inference frameworks [He et al., 2024; Lu et al., 2024]. Representative methods include Shortened LLaMA (perplexity-minimizing), SLEB (iterative recalibration), and angular-similarity pruning [Kim et al., 2024; Song et al., 2024; Gromov et al., 2025]. LLMStreamline trains a lightweight network to recover accuracy but requires significant hardware and time [Chen et al., 2025]. We therefore focus on training-free pruning instead, which runs in minutes on a single GPU.
Width Pruning reduces transformer block size [Xia et al., 2024; Gao et al., 2024; Guo et al., 2025]. Methods include LLM-Pruner/LoRAPrune (gradient-based) [Ma et al., 2023; Zhang et al., 2024], SliceGPT (orthogonal transforms + lowrank) [Ashkboos et al., 2024], FLAP (stability-based) [An et al., 2024], Bonsai (perturbation modeling) [Dery et al., 2024], SlimGPT (non-uniform) [Ling et al., 2024], MoDeGPT (matrix decomposition) [Lin et al., 2025]. Width pruning often breaks standard transformer layout, requiring custom inference code and limiting deployment. COMPACT avoids this by preserving the architecture, yielding a deployment-friendly width-pruning method that outperforms depth pruning.
Vocabulary Pruning reduces vocabulary size, often to tailor models to a specific languages/domains [Ushio et al., 2023a; Dorkin et al., 2025; Ushio et al., 2023b; Bogoychev et al., 2024; Yang et al., 2022; Yang et al., 2024b]. Others prune draft models for speculative decoding speedups [Zhao et al., 2025; Goel et al., 2025], which does not compress the base model used at inference. In contrast, we perform non-domainspecific vocabulary pruning for general-purpose LLMs, which, to our knowledge, is a novel technique.
3 ProposedMethod: COMPACT
Before designing an effective pruning strategy (Sections 3.23.4 ), we first analyze where parameters are concentrated within modern decoder-only transformers (Section 3.1).
3.1 Parameter Distribution in LLMs
Mainstream LLMs consist of three major groups of parameters: (i) vocab parameters, located in the embedding and LM head layers; (ii) attention parameters, from the self-attention blocks; and (iii) FFN parameters, from the feed-forward blocks.
Formally, the embedding and LM head layers map between the vocabulary space of size V and the hidden dimension D, giving
(or VD if tied embeddings are used). Each FFN block contains three projection matrices of size D × I, where I is the intermediate dimension, yielding

for L layers. For attention, the number of parameters depends on whether grouped query attention is used [Ainslie et al., 2023]. With H denoting the ratio of attention heads to KV heads, the count is
Asymptotically, NFFN and Nattention scale as O(LD2 )-I ≈ O(D)-while Nvocab scales only as O(D), as V is kept constant when scaling. Thus, as model size grows, vocab parameters become proportionally smaller. Conversely, for smaller models, vocab parameters can constitute a significant fraction of the total. We observe this empirically by calculating the relative proportions of each parameter group on popular model families. Figure 1 shows our empirical analysis on the Qwen 2.5 model family [Yang et al., 2024a], which validates our theoretical analysis. Proportions of other model families can be found in Appendix A.1. This motivates our strategy: vocabulary pruning is an efficient way to reduce parameters in SLMs, while FFN pruning is critical for LLMs.
3.2 Vocabulary Pruning
Byte-Pair Encoding (BPE) tokenizers follow Zipf's law [Zhemchuzhina et al., 2022], where most tokens appear extremely rarely. Since BPE builds its vocabulary by merging frequent token pairs, the rarest tokens naturally appear at the end of the vocabulary list.
Let V ′ be the target vocabulary size. We define the set S as the V -V ′ rarest tokens in the vocabulary. These tokens can be directly removed by pruning the corresponding rows in the embedding/LM head matrices and deleting the corresponding merge rules from the tokenizer. VOCAB-PRUNING is highly efficient: it requires no calibration data or forward passes.
3.3 Intermediate Pruning
Pruning vocabulary parameters alone reduces the embedding size but does not address redundancies in the FFNs, which dominate parameter count in large models. To prune FFNs, we adopt an activation-based criterion. Assuming the FFN utilizes a SiLU activation function, the standard act2 method [Muralidharan et al., 2024; Sandri et al., 2025] defines the importance of FFN intermediate channel k as Ik = ∑Ni=1 (SiLU(XiWgate)XiWup )2k , summing squared activations over a calibration dataset. Here, Xi is FFN input and
| Depth pruning | Width pruning | COMPACT | |||||
|---|---|---|---|---|---|---|---|
| ShortGPT | LaCo | LLM-Streamline | SliceGPT | 2SSP | FLAP | (ours) | |
| Maintains architecture | ✓ | ✓ | ✓ | ✓ | |||
| Scale-adaptive Inference speedups | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ ✓ |
| Fast pruning | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |
| Architecture-agnostic | ✓ | ||||||
| Linguistically grounded | ✓ | ||||||
Algorithm 1 COMPACT
Require: Model M, calibration dataset D, target vocabulary size V ′ , target intermediate size I ′
- 1: Identify S ← set of V -V ′ rarest tokens in vocabulary.
- 2: Run forward passes of M on D, collect squared activations.
- 3: For each channel k, compute importance Ik using common act2 (Eq. 4).
- 4: for each layer do
- 5: Prune I - I ′ least important channels (remove rows of Wgate,Wup and columns of Wdown).
- 6: end for
- 7: Prune vocab parameters: remove final V -V ′ rows of embedding and LM head matrices; delete tokenizer merges for tokens in S.
- 8: return pruned model M ′ .
Wgate,Wup are model weights. However, this equally weights all tokens xi, including xi ∈ S. Since such tokens will never appear in the input after pruning, their activations should not guide channel importance. We therefore introduce common act2 , a weighted variant:
This ensures FFN pruning explicitly targets the remaining valid tokens. All FFN layers use the same pruning ratio.
3.4 COMPACT: Joint Pruning Pipeline
Our proposed method, COMPACT, integrates vocabulary pruning with common act2 -based FFN pruning. Importantly, embedding pruning and channel pruning are not performed sequentially in isolation: knowledge of S (rarest tokens) is first identified, then used to guide intermediate pruning, and finally both vocab and FFN parameters are removed. The full pipeline is given in Algorithm 1.
Advantages of COMPACT. i) COMPACT is scale-adaptive. COMPACT uses two different knobs for pruning: (i) vocabulary pruning on embedding layers and (ii) commontoken-weighted pruning of FFN intermediate channels. These two knobs are orthogonal, allowing COMPACT to be tunable for SLMs (emphasize vocab pruning), LLMs (emphasize intermediate pruning), or any mix to meet a target budget. This tunability preserves capacity on frequent tokens while enabling strong compression across model scales. ii) COMPACT is compatible with LLM frameworks. One weakness of most width pruning methods is that they do not maintain a standard transformer architecture. This is indeed the case with SliceGPT, which prunes the hidden size in all layers except the final one, as well as 2SSP, which prunes entire attention modules. As a result, these methods are not compatible with transformers, vLLM, or other inference engines, limiting practicality. In this regard, COMPACT is similar to depth pruning, since pruning the vocabulary and intermediate size does not affect the transformer architecture. As a result, COMPACT models are compatible with all inference engines, making it a practical approach to width pruning. The full advantages of COMPACT are summarized in Table 1.
4 Experiments
4.1 Experimental Setup
Baselines. We compare with representative and state-of-theart i) width pruning methods: SliceGPT, [Ashkboos et al., 2024], 2SSP [Sandri et al., 2025]; ii) depth pruning methods: ShortGPT [Men et al., 2024], LaCo [Yang et al., 2024c]. All methods use the default calibration set in their paper. For COMPACT, we use 256 calibration samples from the C4 dataset [Raffel et al., 2020].
LLMs to Prune. We evaluate on a diverse set of LLMs spanning architectures and scales: (i) SLMs: Qwen 2.5-0.5B, LLaMA 3.2-1B, and Gemma 3-1B. This mix covers three distinct families, enabling a robustness assessment across architectures; moreover, SLMs are particularly challenging to prune, as they are often trained beyond the Chinchilla-optimal compute-data balance, leaving limited redundancy. Nevertheless, pruning SLMs is highly valuable for edge use and/or privacy-constrained settings (healthcare, classrooms, federated clients): it shrinks memory/storage, improves end-to-end latency, lowers energy use, and reduces serving cost. (ii) LLMs: LLaMA 3.1-8B and LLaMA 3.1-70B. Together with the 1B variant above, this suite evaluates pruning effectiveness in a robust manner.
Evaluation Tasks. Following SliceGPT [Ashkboos et al., 2024], we evaluate pruned models using HellaSwag (HeSw), WinoGrande (WiGr), ARC-C, ARC-E, and PIQA. Since Jaiswal et al. [2024] shows that pruned LLMs degrade more on complex tasks, we add MMLU for general knowledge, and GSM8K for generation tasks. This gives a more complete view of model performance.
| Method | Ratio (%) | MMLU | WiGr | ARC-C | ARC-E | PIQA | GSM8K | Avg | Avg% | |
|---|---|---|---|---|---|---|---|---|---|---|
| Dense | 0.00 | 47.3 | HeSw 52.2 | 58.2 | 69.9 | 34.9 | 50.2 | 100.0 | ||
| Random | - | 25.0 | 25.0 | 56.4 50.0 | 32.3 25.0 | 25.0 | 50.0 | 0.0 | 28.6 | 57.0 |
| ShortGPT | 9.11 | 27.8 | 44.0 | 53.0 | 25.9 | 45.8 | 66.8 | 0.2 | 37.6 | 75.1 |
| LaCo | 9.11 | 46.1 | 45.5 | 56.3 | 28.2 | 51.6 | 65.5 | 0.4 | 41.9 | 83.6 |
| SliceGPT | 10.71 | 23.2 | 43.2 | 53.3 | 26.4 | 50.3 | 63.8 | 0.0 | 37.2 | 74.1 |
| 2SSP | 10.12 | 25.5 | 46.6 | 54.7 | 27.8 | 52.2 | 68.7 | 1.9 | 39.6 | 79.0 |
| COMPACT | 11.13 | 45.2 | 51.9 | 55.3 | 32.4 | 59.5 | 70.1 | 28.7 | 49.0 | 97.7 |
| 2.5-0.5B ShortGPT | 18.02 | 25.0 | 37.7 | 52.0 | 27.1 | 41.7 | 62.1 | 0.0 | 35.1 | 70.0 |
| LaCo | 18.02 | 24.0 | 36.3 | 49.9 | 23.5 | 41.7 | 62.9 | 0.0 | 34.0 | 67.8 |
| SliceGPT | 19.64 | 23.1 | 32.1 | 52.0 | 20.2 | 33.4 | 53.7 | 0.0 | 30.6 | 61.1 |
| 2SSP | 19.64 24.3 | 40.9 | 53.8 | 25.3 | 43.9 | 64.3 | 0.5 | 36.1 | 72.0 | |
| COMPACT | 20.24 44.1 | 48.1 | 55.4 | 30.6 | 53.3 | 66.6 | 26.3 | 46.3 | 92.4 | |
| ShortGPT | 36.23 | 24.3 | 27.8 | 50.1 | 25.7 | 26.2 | 51.8 | 0.0 | 29.4 | 58.7 |
| LaCo | 36.23 | 23.9 | 28.2 | 47.9 | 23.9 | 30.6 | 56.2 | 0.0 | 30.1 | 60.0 |
| SliceGPT | 36.61 | 23.1 | 29.0 | 51.5 | 22.5 | 30.7 | 53.4 | 0.0 | 30.0 | 59.9 |
| 2SSP | 36.23 | 22.9 | 31.3 | 49.6 | 22.9 | 33.8 | 59.0 | 0.0 | 31.4 | 62.5 |
| COMPACT | 37.04 | 25.5 | 40.0 | 53.8 | 25.2 | 40.0 | 62.2 | 0.5 | 35.3 | 70.4 |
| Dense | 0.00 | 36.6 | 63.8 | 60.7 | 36.2 | 60.7 | 74.5 | 5.4 | 48.3 | 100.0 |
| Random | - | 25.0 | 25.0 | 50.0 | 25.0 | 25.0 | 50.0 | 0.0 | 28.6 | 59.2 |
| ShortGPT | 10.03 | 23.4 | 48.0 | 60.2 | 30.4 | 49.8 | 68.0 | 0.0 | 40.0 | 82.8 |
| LaCo | 10.03 | 24.4 | 48.4 | 52.0 | 29.5 | 47.9 | 69.3 | 0.5 | 38.9 | 80.5 |
| SliceGPT | 10.16 | 23.1 | 49.4 | 54.0 | 28.6 | 43.4 | 64.0 | 0.0 | 37.5 | 77.7 |
| 2SSP | 9.87 | 30.5 | 55.5 | 57.9 | 32.9 | 56.7 | 72.9 | 3.0 | 44.2 | 91.6 |
| 3.2-1B COMPACT | 10.03 | 36.7 | 61.1 | 59.7 | 35.1 | 57.1 | 71.9 | 6.1 | 46.8 | 97.0 |
| ShortGPT | 19.66 | 22.8 | 40.0 | 55.3 | 29.9 | 35.2 | 58.9 | 0.0 | 34.6 | 71.7 |
| LaCo | 19.66 | 23.0 | 35.7 | 52.4 | 25.9 | 37.0 | 62.4 | 0.4 | 33.9 | 70.1 |
| SliceGPT | 20.31 | 23.0 | 39.9 | 52.3 | 26.2 | 38.9 | 58.6 | 0.0 | 34.1 | 70.7 |
| LLaMA 2SSP | 19.66 | 26.8 | 46.9 | 53.9 | 27.1 | 50.4 | 68.1 | 2.2 | 39.3 | 81.5 |
| COMPACT | 19.98 | 30.6 | 54.4 | 58.6 | 32.0 | 51.3 | 69.9 | 3.1 | 42.8 | 88.8 |
| ShortGPT | 34.47 | 24.3 | 32.5 | 50.0 | 28.4 | 28.9 | 55.4 | 0.0 | 31.4 | 65.0 |
| LaCo | 34.47 | 23.2 | 37.3 | 50.1 | 23.9 | 29.3 | 55.3 | 0.0 | 29.9 | 61.9 |
| SliceGPT | 35.16 | 23.0 | 30.4 | 51.2 | 22.0 | 32.9 | 53.4 | 0.0 | 30.4 | 63.1 |
| 2SSP | 34.63 | 22.9 | 35.1 | 52.6 | 24.5 | 38.9 | 60.9 | 0.0 | 33.6 | 69.6 |
| COMPACT | 35.03 | 42.8 | 41.7 | |||||||
| 27.9 0.00 | 24.9 62.1 | 55.6 59.0 | 27.7 38.2 | 71.9 | 60.6 74.8 | 1.8 2.4 | 36.9 47.6 | 76.4 100.0 | ||
| Dense | 50.0 | 25.0 | 50.0 | 0.0 | ||||||
| Gemma3-1B Random | - | 25.0 10.01 | 25.0 24.9 | 59.0 | 39.1 | 25.0 69.0 | 74.1 | 1.7 | 28.6 46.9 | 60.0 98.4 |
| COMPACT | 20.02 | 25.0 | 60.3 55.4 | 59.0 | 37.9 | 63.3 | 70.0 | 1.7 | 44.6 | 93.6 |
| 34.99 | 45.1 | 55.9 | 26.5 | 46.4 | 65.3 | 79.2 | ||||
| 24.2 | 0.5 | 37.7 |
Evaluation Criteria. (A) We report the percentage of parameters that were removed (Ratio (%)), the mean score of the 7 benchmarks (Avg), and the relative mean score compared to the dense model (Avg%); (B) It is standard to evaluate pruned models on perplexity and downstream tasks. However, because we reduce vocabulary size, our perplexity naturally decreases, making comparisons to baselines unfair. Thus, we only report i) performance on downstream tasks, ii) efficiency regarding pruning time, inference time, and memory usage.
4.2 Performance on downstream tasks Results on SLMs
COMPACT outperforms baselines by large margins. Our results are summarized in Table 2. Although prior works report strong results on LLMs, they perform poorly on SLMs.
On Qwen 2.5-0.5B, GSM8K accuracy collapses for all baselines at only 10% pruning. Likewise, at 10% pruning, MMLU drops to near-random for all models and baselines, with the sole exception of LaCo on Qwen 2.5-0.5B. Because MMLU and GSM8K are the most demanding tasks in our suite, these trends indicate that existing methods fail to preserve performance on challenging benchmarks for SLMs. In contrast, COMPACT delays this collapse: it remains marginally above random on MMLU and GSM8K even at 35% pruning across all models. Across models and pruning ratios, COMPACT attains the highest mean score and leads on nearly all individual benchmarks, despite using a slightly higher pruning ratio than the baselines. Notably, at 35% pruning, COMPACT maintains similar performance to the baselines at 20%, demonstrating superior robustness under high compression.
COMPACT supports a wide variety of model architectures out-of-the-box. The official implementations of existing approaches support just a few model architectures. For instance, SliceGPT supports LLaMA/OPT/Phi, LaCo supports LLaMA 2/Baichuan, and ShortGPT only supports LLaMA. Adding support for modern model families like LLaMA 3 and Qwen 2.5 required adding architecture-specific changes, since these architectures can differ significantly in how they handle self-attention, layer normalization, etc. The strength of COMPACT is that it only prunes the vocabulary embeddings and FFN blocks, which have been standardized and remain unchanged across the vast majority of model architectures. As a consequence, COMPACT is architecture-agnostic and runs outof-the-box across many model families. This is most evident with Gemma 3, which uses QK-norm and alternating local and global attention layers-optimizations that prevented us from adapting our baselines. Accordingly, baseline results for Gemma 3 are omitted in Table 2. In contrast, COMPACT operates on Gemma 3 without any architecture-specific changes.
Results on LLMs
COMPACT is robust across scales. Our results are in Table 3. We see that COMPACT achieves state-of-the-art performance for larger models as well, with over 80% performance at a 35% ratio, indicating that our method is highly robust to a wide range of sizes. We attribute this robustness to our dual approach to width pruning. As model size increases, the proportion of vocabulary parameters decreases, which decreases the effectiveness of pruning vocabulary size. However, intermediate pruning becomes more effective as model size increases, similarly to most pruning methods [Xu et al., 2024]. These two techniques complement each other's strengths, leading to a robust hybrid pruning method. Although the performance gap between COMPACT and 2SSP narrows at the 70B size, we note that 2SSP's hybrid approach of pruning FFN channels and entire attention blocks deviates from the standard transformer architecture, while COMPACT's approach does not. This makes COMPACT more practical to deploy, while also achieving slightly higher performance.
COMPACT shows smooth degradation. On LLaMA 3.18B, we observe that ShortGPT surpasses COMPACT at a 20% pruning ratio, but not at 10% or 35%, with its 20% score even exceeding its 10% score. This aligns with the step-like behavior in Gromov et al. [2025] for depth-pruning methods, where performance remains intact up to a critical threshold and then collapses abruptly. ShortGPT also exhibits this pattern, explaining the spike at 20%. In contrast, COMPACT (a width-pruning method) shows smooth MMLU degradation as pruning increases-hence the dip relative to ShortGPT at 20%, followed by recovery and a lead at 35%. Even at 35% pruning, COMPACT remains above random on both MMLU and GSM8K. A similar effect is seen on LLaMA 3.1-70B.
Analysis: Why our pruning hurts performance minimally? Changing the vocabulary affects how text is tokenized: If a token is removed during pruning, the text associated with the token is now tokenized as multiple shorter, more common tokens. We analyze how often rare tokens occur. We use the questions in each of our benchmarks, as well as 10k random samples from the C4 dataset. Our results are in Table 4. Our pruned model reduces vocabulary size from 150k to 50k, a 67% reduction. Despite this, only 4% of words are tokenized differently from the original, regardless of text source.

These results provide insight to the effectiveness of VOCABPRUNING: significant proportions of vocabulary only affects a small fraction of text, so removing these vocabulary has little impact on performance.
4.3 Efficiency in Pruning Time, Inference Throughput, and Memory
Pruning time. The main strength of training-free methods is that they can prune large models efficiently. To test this, we report pruning times at 35% pruning on LLaMA 3.1-8B and 70B to best discriminate between methods.
Our results are in Table 5. With LLaMA 3.1-8B, COMPACT is 3 times faster than 2SSP, our strongest baseline, and comparable our depth pruning methods, with pruning times under a minute. At the 70B size, COMPACT now becomes 6 times faster than 2SSP. The low pruning times show that COMPACT has competitive efficiency to our baselines.
Inference throughput and memory usage. We evaluate two inference paradigms: Text classification and Text generation. The inference setup is in Appendix A.2.
Our results are in Table 6. Note that ShortGPT and LaCo prune the same number of layers, so they have the same inference performance. In the text classification task, our method achieves the highest memory reduction, and the second-highest throughput increase. The low memory usage is from the reduced vocabulary size. During the forward pass, logits are stored in GPU memory, which becomes very large with high batch sizes. By pruning the vocabulary size, COMPACT shrinks logit size, causing large memory reductions. This is especially important in edge computing applications, where memory is very limited and can spell the difference in whether a model can be used or not. COMPACT has higher throughput than our width pruning baselines SliceGPT/2SSP, although it falls behind depth pruning methods. This aligns with Bian et al. [2025], which showed that scaling down layer count proportionally increases throughput, but scaling layer size does not. While COMPACT is faster than other width-pruning methods, it still lags behind depth-pruning approaches. Memory and throughput trends in generation mirror those in classification.
5 Ablation Study
In our ablation study, we try to further four questions: i) Q1: how effective is COMMON-ACT2 ? ii) Q2: how to trade off VOCAB-PRUNING and FFN-PRUNING? iii) Q3: how much calibration data?
| Method | Ratio (%) | MMLU | HeSw | WiGr | ARC-C | ARC-E | PIQA | GSM8K | Avg | Avg% |
|---|---|---|---|---|---|---|---|---|---|---|
| Dense | 0.00 | 63.4 | 78.9 | 73.6 | 53.4 | 80.9 | 81.1 | 51.6 | 69.0 | 100.0 |
| Random | - | 25.0 | 25.0 | 50.0 | 25.0 | 25.0 | 50.0 | 0.0 | 28.6 | 41.4 |
| ShortGPT | 10.86 | 58.0 | 73.8 | 70.2 | 47.4 | 71.2 | 77.5 | 29.3 | 61.1 | 88.5 |
| LaCo | 10.86 | 58.8 | 73.3 | 72.3 | 48.9 | 73.7 | 76.3 | 32.0 | 62.2 | 90.1 |
| SliceGPT | 10.16 | 43.9 | 65.6 | 67.2 | 39.4 | 66.2 | 71.0 | 19.4 | 53.2 | 77.2 |
| 2SSP | 10.86 | 54.1 | 74.6 | 71.6 | 46.8 | 71.6 | 79.7 | 14.1 | 58.9 | 85.4 |
| 3.1-8B COMPACT | 10.00 | 59.6 | 75.2 | 73.7 | 50.3 | 74.9 | 78.4 | 27.8 | 62.9 | 91.1 |
| ShortGPT | 19.02 | 58.6 | 64.9 | 68.4 | 42.2 | 58.3 | 71.6 | 0.6 | 52.1 | 75.5 |
| LaCo | 19.02 | 24.1 | 54.0 | 55.3 | 29.2 | 51.1 | 72.4 | 0.4 | 40.9 | 59.3 |
| SliceGPT | 20.12 | 24.5 | 51.4 | 61.8 | 30.3 | 49.0 | 61.9 | 0.0 | 39.8 | 57.8 |
| LLaMA 2SSP | 19.99 | 37.4 | 67.2 | 68.4 | 38.1 | 61.8 | 76.8 | 4.3 | 50.6 | 73.3 |
| COMPACT | 20.00 | 50.7 | 69.9 | 70.1 | 42.8 | 66.0 | 75.9 | 10.8 | 55.2 | 80.0 |
| ShortGPT | 35.31 | 23.2 | 34.3 | 59.1 | 29.7 | 36.9 | 57.2 | 0.0 | 34.4 | 49.8 |
| LaCo | 35.31 | 23.1 | 34.8 | 53.1 | 27.3 | 31.5 | 58.8 | 0.0 | 32.7 | 47.3 |
| SliceGPT | 35.16 | 23.0 | 35.0 | 54.3 | 23.5 | 37.2 | 55.0 | 0.0 | 32.6 | 47.2 |
| 2SSP | 34.77 | 25.3 | 49.9 | 59.3 | 27.1 | 44.3 | 68.7 | 2.3 | 39.5 | 57.3 |
| COMPACT | 34.99 | 35.9 | 56.0 | 63.3 | 30.8 | 48.4 | 70.6 | 1.7 | 43.8 | 63.5 |
| Dense | 0.00 | 75.2 | 85.0 | 79.5 | 64.7 | 86.7 | 84.4 | 80.6 | 79.4 | 100.0 |
| Random | - | 25.0 | 25.0 | 50.0 | 25.0 | 25.0 | 50.0 | 0.0 | 28.6 | 36.0 |
| ShortGPT | 9.77 | 75.0 | 82.9 | 78.5 | 60.8 | 84.8 | 83.4 | 74.5 | 77.1 | 97.1 |
| SliceGPT | 10.06 | 70.6 | 75.4 | 76.6 | 58.3 | 82.0 | 79.7 | 62.4 | 72.1 | 90.8 |
| 2SSP | 9.92 | 73.4 | 84.7 | 78.6 | 63.9 | 85.4 | 84.2 | 75.1 | 77.9 | 98.1 |
| 3.1-70B COMPACT | 10.06 | 73.5 | 84.5 | 79.5 | 64.0 | 86.0 | 84.1 | 76.0 | 78.2 | 98.5 |
| ShortGPT | 20.68 | 74.9 | 79.3 | 78.0 | 56.0 | 80.1 | 80.1 | 53.0 | 71.6 | 90.2 |
| SliceGPT | 20.02 | 63.1 | 64.8 | 74.0 | 52.4 | 76.7 | 73.7 | 0.0 | 57.8 | 72.8 |
| LLaMA 2SSP | 20.11 | 68.8 | 83.7 | 76.2 | 59.5 | 82.1 | 83.7 | 62.1 | 73.7 | 92.8 |
| COMPACT | 20.11 | 70.6 | 83.3 | 76.2 | 59.7 | 82.6 | 83.7 | 62.6 | 74.1 | 93.3 |
| ShortGPT | 36.40 | 71.2 | 66.5 | 75.7 | 46.8 | 69.6 | 72.3 | 0.0 | 57.4 | 72.3 |
| SliceGPT | 35.06 | 29.3 | 37.1 | 66.6 | 34.5 | 59.3 | 62.6 | 0.0 | 41.3 | 52.0 |
| 2SSP | 35.13 | 58.5 | 77.7 | 72.1 | 50.7 | 74.2 | 81.6 | 25.0 | 62.8 | 79.1 |
| COMPACT | 34.99 | 59.6 | 78.1 | 72.8 | 53.2 | 76.1 | 81.3 | 25.0 | 63.7 | 80.2 |
| Dataset | Rare% | Dataset | Rare% |
|---|---|---|---|
| MMLU | 4.43% | ARC-E | 3.95% |
| HellaSwag | 3.48% | PIQA | 5.68% |
| WinoGrande | 5.01% | GSM8K | 3.60% |
| ARC-C | 3.82% | C4 | 4.56% |
Answer to Q1: effectiveness of COMMON-ACT2 . We compare our novel COMMON-ACT2 method with ACT2 . To isolate the effect of the intermediate pruning method, we prune rare vocabulary for all models, then apply the specified intermediate pruning method. We also test another commonly used method, |act|, which is similar to ACT2 but uses the summed absolute activations instead of squared activations. Our results are summarized in Figure 2. We find that COMMONACT2 achieves the highest mean performance.
Answer to Q2: vocabulary-intermediate tradeoff COMPACT has two hyperparameters: the new vocabulary size V ′ and the new intermediate size I ′ , which can be adjusted to produce multiple configurations at a given pruning ratio. We test different configurations of Qwen 2.5-0.5B at 35% pruning (Table 7). Note that V ′ = 151936, I ′ = 2048 is identical to ACT2 . Despite its simplicity, ACT2 achieves better performance than our baselines even without VOCAB-PRUNING. However, the best result is obtained by combining both, validating COMPACT's methodology. One topic of future work is to determine how to compute the optimal choice of V ′ and I ′ more efficiently than a simple linear sweep.
| Method | Pru. Time (8B) | Pru. Time (70B) |
|---|---|---|
| ShortGPT | 0:18 | 2:10 |
| LaCo | 0:05 | - |
| SliceGPT | 10:48 | 84:38 |
| 2SSP | 1:26 | 13:48 |
| COMPACT | 0:32 | 2:17 |
Answer toQ3: calibration data size. We perform ablations over the number of calibration samples, with our results in Figure 3. COMPACT is highly robust to sample count, and similar performance can be achieved with just 16 samples, implying that the pruning time can be reduced further.
| Method | Ratio | Mem. U. (MB) | Th. (q/s) | |
|---|---|---|---|---|
| Cl. | Dense | 0.00 | 50030 | 147.01 |
| LaCo | 35.31 | 44624 (0.89x) | 221.61 (1.51x) | |
| 2SSP | 34.77 | 44985 (0.90x) | 104.03 (0.71x) | |
| SliceGPT | 35.16 | 42440 (0.85x) | 173.94 (1.18x) | |
| COMPACT | 34.99 | 32066 (0.64x) | 201.19 (1.37x) | |
| Ge. | Dense | 0.00 | 21787 | 81.18 |
| LaCo | 35.31 | 16336 (0.75x) | 128.03 (1.57x) | |
| COMPACT | 34.99 | 14248 (0.65x) | 112.40 (1.38x) |

6 Conclusion
We propose COMPACT, a training-free pruning method that jointly prunes vocabulary and FFNs under the common-token distribution. Experiments demonstrate robust performance across model scales with strong efficiency and broad deployment compatibility.
A Appendix
A.1 Parameter Distribution Across Other Model Families
Figure 4 provides parameter distributions for the LLaMA 3 and Gemma 3 model families, respectively. We see that these models follow the same trend as Qwen 2.5 where SLMs have a higher proportion of vocabulary parameters, corroborating our theoretical analysis.
| V' | I' | Ratio | Avg | Avg% | |
|---|---|---|---|---|---|
| Dense | 151936 | 4864 | 0.00% | 50.2 | 100.0 |
| ACT2 | 151936 | 2048 | 36.84% | 31.6 | 63.0 |
| 131584 | 2304 | 37.04% | 31.8 | 63.3 | |
| 111104 | 2560 | 37.45% | 33.1 | 66.1 | |
| 90752 | 2944 | 36.23% | 34.2 | 68.2 | |
| COMPACT | 70400 | 3200 | 36.44% | 34.5 | 68.9 |
| 49536 | 3456 | 37.04% | 35.3 | 70.4 | |
| 29568 | 3712 | 37.25% | 34.7 | 69.2 | |
| 9088 | 3968 | 37.65% | 32.4 | 64.7 |

A.2 Inference Settings
Settings: i) Text classification: When running our pruned models on our downstream performance benchmarks, we record the maximum memory usage as well as the throughput, measured in number of questions per second. For this test, we use the HellaSwag benchmark, as it is the longest test in our benchmark suite, which allows us to better discriminate between the methods. We test on a larger model (LLaMA 3.1-8B) using a 3-run average, again to better discriminate between methods. All models are loaded in 16-bit precision on a single A100-80GB GPU, with a batch size of 256. ii) Text generation: We use the vLLM library [Kwon et al., 2023] to test the memory reduction and inference speedup of our method. As mentioned before, because SliceGPT and 2SSP are incompatible with vLLM, we omit it from our tests. Similarly to the text classification test, we use a 3-run average of LLaMA 3.1-8B in 16-bit precision on a single A100-80GB GPU, but with a batch size of 1 instead, as this is a more realistic workload for on-device text generation. Tests are conducted with 128 input tokens and 128 output tokens.
A.3 Merge Order vs. Calibration
To compare the effectiveness of using the tokenizer merge order to determine rare vocabulary, we compare it against a calibration-based approach, using 1024 calibration samples from the C4 dataset to find the rarest tokens:
| Method | MMLU | HeSw | WiGr | ARC-C |
|---|---|---|---|---|
| Calibration | 44.3 | 48.0 | 56.1 | 30.3 |
| Merge Order | 44.1 | 48.1 | 55.4 | 30.6 |
| Method | ARC-E | PIQA | GSM8K | Avg |
|---|---|---|---|---|
| Calibration | 52.4 | 67.8 | 25.2 | 46.3 |
| Merge Order | 53.3 | 66.6 | 26.3 | 46.3 |
We see that pruning by merge rule order is equally effective, while also being simpler and cheaper.
Acknowledgments
This work was supported by NSF DMS-2533995.
@inproceedings{ijcai2026p641,
title = {COMPACT: Common-token Optimized Model Pruning Across Channels and Tokens},
author = {Kwek, Eugene and Yin, Wenpeng},
booktitle = {Proceedings of the Thirty-Fifth International Joint Conference on
Artificial Intelligence, {IJCAI-26}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Diego Calvanese},
pages = {5757--5765},
year = {2026},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2026/641},
url = {https://doi.org/10.24963/ijcai.2026/641},
}
TY - CPAPER TI - COMPACT: Common-token Optimized Model Pruning Across Channels and Tokens AU - Kwek, Eugene AU - Yin, Wenpeng T2 - Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence, IJCAI-26 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2026 SP - 5757 EP - 5765 DO - 10.24963/ijcai.2026/641 UR - https://doi.org/10.24963/ijcai.2026/641 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: