Foundation models have achieved remarkable results in medical image analysis. However, its large network architecture and high computational complexity significantly impact inference speed, limiting its application on terminal medical devices. Quantization, a technique that compresses models into low-bit versions, is a solution to this challenge. In this paper, we propose a post-training quantization algorithm, Permutation-COMQ. It eliminates the need for backpropagation by using simple dot products and rounding operations, thereby removing hyperparameter tuning and simplifying the process. Additionally, we introduce a weight-aware strategy that reorders the weight within each layer to address the accuracy degradation induced by channel-wise scaling during quantization, while preserving channel structure. Experiments demonstrate that our method achieves the best results in 2-bit, 4-bit, and 8-bit quantization.
Figures & tables
Figure 1: Conceptual illustration of COMQ and Permutation-COMQ Top: COMQ has quantization scale factors dominated by outliers due to heterogeneous weight magnitudes within each quantization unit, leading to coarse quantization of small weights. Bottom: Permutation-COMQ reorders weights by magnitude to group similar values, reducing intra-unit magnitude heterogeneity resulting in finer quantization resolution. The quantized weights are then mapped back to the original order via inverse permutation.
Figure 2: Distribution of magnitude of Simulated Weight.
Figure 3: Relative quantization error for COMQ and permutation-COMQ under different bit-widths
Wbit
Method
DSC
NSD
2
COMQ [ 27 ]
71.8
53.733
RTN [ 12 ]
29.79
30.221
Ours
86.939
78.935
4
COMQ [ 27 ]
91.874
90.011
RTN [ 12 ]
90.526
86.755
Ours
93.434
93.089
Table 1: Comparative Results on the AbdomenCT-1K Dataset. Bold indicates the best
Wbit
Method
DSC
NSD
2
Per-Layer
74.46
54.825
Ours
86.939
78.935
4
Per-Layer
55.439
43.685
Ours
93.434
93.089
8
Per-Layer
93.282
92.461
Ours
93.615
93.204
Table 2: Results of ablation experiments for Per-Channel Weight-Aware
Figure 4: Conceptual illustration of COMQ and Permutation-COMQ. Top: COMQ has quantization scale factors dominated by outliers due to heterogeneous weight magnitudes within each quantization unit, leading to coarse quantization of small weights. Bottom: Permutation-COMQ reorders weights by magnitude to group similar values, reducing intra-unit magnitude heterogeneity resulting in finer quantization resolution. The quantized weights are then mapped back to the original order via inverse permutation.
Quantization plays a crucial role in efficiently deploying deep learning models on resource-constrained devices. Post-training quantization does not require access to the original dataset or retraining the full model. Current methods that achieve high performance close to baseline results typically require INT8 fixed-point integers. However, achieving higher model compression with lower bit-widths often leads to significant performance degradation. In this paper, we propose VLCQ, a post-training quantization method that relaxes the fixed-point encoding constraint, enabling more flexible exploration of quantization techniques through variable-length encoding. This approach achieves competitive or improved performance while reducing bit-widths, without requiring access to training data or model fine-tuning. Extensive experiments on image classification, segmentation, and object detection demonstrate that VLCQ improves model compression and accuracy compared with state-of-the-art post-training quantization approaches. For per-channel quantization, VLCQ surpasses FP32 accuracy and Piece-Wise Linear Quantization (PWLQ) on most evaluated models, achieving up to 6x compression compared with FP32 and up to 1.7x compared with PWLQ. When prioritizing compression with limited accuracy loss, VLCQ achieves up to 12.25x compression compared with FP32 with less than 4% performance degradation. For per-tensor quantization, VLCQ is competitive with Data-Free Quantization (DFQ), while providing greater flexibility to achieve lower bit rates across different tasks and models.
Reem Abdel-Salam, Ahmed H. Abdel-Gawad, Amr G. Wassal
Computer Engineering Department, Faculty of Engineering, Cairo University, Giza, Egypt
Low-bit quantization of linear layers is often dominated by a small number of outlier channels. Existing smoothing, rotation, and residual-based methods can mitigate this issue, but may shift the quantization bottleneck to weights or introduce costly online operations. To address these limitations, we propose PRQuant (Permutation Residual Quantization), a training-free framework that combines channel permutation with offline weight residual compensation. PRQuant identifies the scaled-weight columns with the largest quantization errors and permutes them into contiguous tail blocks. This structure allows the corresponding weight residuals to be precomputed entirely offline, while replacing scattered activation gathering with simple contiguous access during inference, yielding a single regular MXFP4 GEMM for compensated computation. Experiments show that PRQuant substantially reduces down-projection reconstruction error, with scaling and residual compensation providing the main numerical gains while permutation enables a hardware-friendly contiguous layout. Comprehensive experiment results on Qwen3-4B-Instruct-2507 and Qwen3-30B-A3B-Instruct-2507 illustrate that PRQuant achieves up to averagelly 2.6x and 1.8x operator speedup over BF16 respectively, while preserving near plain MXFP4 end-to-end decoding efficiency. Across five downstream benchmarks, PRQuant achieves the best average accuracy among the quantized methods, improving accuracy over MXFP4 by 1.24 and 0.55, respectively.
Peiran Wang, Anqi Wang, Jiaying Zhao +10
Huawei Technologies Co., Ltd. · Tsinghua University. · Nanjing University of Science and Technology.
Deep learning models have shown strong performance in medical image analysis, but deploying them in low-resource clinical environments remains difficult due to computational, memory, and power constraints. This paper presents a multi-strategy compression framework for brain tumor classification from MRI, encompassing quantization-aware training, knowledge distillation from a DenseNet-101 teacher to a compact DenseNet-32 student with low-bit post-training quantization, and Float16 post-training quantization on a lightweight MobileNetV2 backbone. Using a multi-class brain tumor MRI dataset containing glioma, meningioma, pituitary tumors, and healthy controls, we provide full experimental validation of the MobileNetV2-based pipeline, training the classifier through a three-stage transfer learning process and applying Float16 quantization via TensorFlow Lite. The DenseNet-based distillation and quantization-aware training strategies are described as complementary compression approaches within the framework, with their complete empirical evaluation reserved for future work. Experimental results on the MobileNetV2 pipeline show that the quantized model achieves 82.37 percent validation accuracy compared to the 82.20 percent full-precision baseline, reducing model size from 35.34 MB to 5.76 MB, a 6.14x compression ratio with no meaningful accuracy loss. Per-class evaluation confirms that quantization preserves diagnostic performance uniformly across all four tumor categories. These findings demonstrate that lightweight quantized models can deliver clinically viable brain tumor screening in resource-constrained healthcare settings.
Sumanth Meenan Kanneti, Aryan Shah
Georgia State University · University of Southern California