Research Articles
Hardware-Constrained Structured Pruning: Tight Resource Limits
Amina Valehart (Machine Learning Laboratory, Eastmarsh Institute for Applied Computing), Farah Wrenford (Machine Learning Laboratory, Ivermere University), Niko Thornmere (Machine Learning Laboratory, Pinewick School of Engineering)
Vol. 8 No. 1 (2024) · pp. 163–173 · Published 20 November 2024
Abstract
This synthetic study compares removing whole channel groups after measuring their contribution to runtime with pruning individual magnitude-ranked weights to the same parameter budget in a reduced operating budget with the same input mix. Each configuration is evaluated on the same 320 cases. In the 80 stress cases, the remaining tensor shapes must align poorly with hardware tiles; both configurations receive the same smaller allowance and cannot borrow capacity from later trials. A case counts as a pass only if it meets this criterion: a run must satisfy both its accuracy floor and a measured inference budget. The comparison holds the training and selection splits fixed across alternatives; evaluation cases are not reused for tuning. Compute or memory assigned to an alternative counts toward its budget even if training does not finish. Across the full set, 243 cases meet the criterion with the first configuration and 243 with the second. The stress cases account for 65 and 50 passes, respectively. The stress results should be read alongside the full-set results rather than treated as a general performance guarantee. The practical trade-off is that a smaller parameter count can still yield inefficient kernels. The paired design makes the comparison interpretable within the fixture. It does not establish the size of the effect in an independent deployment.
Keywords: structured pruning, inference, compression, tight resource limits, synthetic evaluation
References
- Alizadeh, K., et al. (2023). LLM in a flash: Efficient large language model inference with limited memory. arXiv:2312.11514.
- Dettmers, T., et al. (2023). SpQR: A sparse-quantized representation for near-lossless LLM weight compression. arXiv:2306.03078.
- Han, S., Mao, H., & Dally, W. J. (2016). Deep compression: Compressing deep neural networks with pruning, trained quantization and Huffman coding. International Conference on Learning Representations. Source
- He, Y., Zhang, X., & Sun, J. (2017). Channel pruning for accelerating very deep neural networks. Proceedings of the IEEE International Conference on Computer Vision, 1389–1397.
- Li, K., Patel, O., Viégas, F., Pfister, H., & Wattenberg, M. (2023). Inference-time intervention: Eliciting truthful answers from a language model. Advances in Neural Information Processing Systems, 36.
- Lin, J., Tang, J., Tang, H., Yang, S., Dang, X., & Han, S. (2023). AWQ: Activation-aware weight quantization for LLM compression and acceleration. arXiv:2306.00978v1. Source
- Longpre, S., et al. (2023). A pretrainer's guide to training data: Measuring the effects of data age, domain coverage, quality, & toxicity. arXiv:2305.13169.
- Ma, X., Fang, G., & Wang, X. (2023). LLM-Pruner: On the structural pruning of large language models. arXiv:2305.11627.
- Miao, X., et al. (2023). SpecInfer: Accelerating generative large language model serving with tree-based speculative inference and verification. arXiv:2305.09781.
- Molchanov, P., Tyree, S., Karras, T., Aila, T., & Kautz, J. (2016). Pruning convolutional neural networks for resource efficient inference. arXiv:1611.06440.
- Rajbhandari, S., et al. (2022). DeepSpeed-MoE: Advancing mixture-of-experts inference and training to power next-generation AI scale. International Conference on Machine Learning.
- Santilli, A., et al. (2023). Accelerating transformer inference for translation via parallel decoding. Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics, 12336–12355.
- Scheurer, J., Balesni, M., & Hobbhahn, M. (2023). Large language models can strategically deceive their users when put under pressure. arXiv:2311.07590.
- Sun, M., Liu, Z., Bair, A., & Kolter, J. Z. (2023). A simple and effective pruning approach for large language models. arXiv:2306.11695.
- Xia, M., Gao, T., Zeng, Z., & Chen, D. (2023). Sheared LLaMA: Accelerating language model pre-training via structured pruning. arXiv:2310.06694.
- Zheng, L., et al. (2023). SGLang: Efficient execution of structured language model programs. arXiv:2312.07104.
- Zhu, M., & Gupta, S. (2017). To prune, or not to prune: Exploring the efficacy of pruning for model compression. arXiv:1710.01878.
