arXiv:2610.27037eess.IVOct 2026

Manuscript Offprint

arXiv:2610.27037

Channel-Level Mask Guidance for Slimmable Image Compression

Chen Chen, Chenggang Wu, Yongbiao Chen, Weidong Qiu, Zhengwei Qi, Haibing Guan

Chen Chen ID^{ID}, Chenggang Wu ID^{ID}, Yongbiao Chen ID^{ID}, Weidong Qiu ID^{ID}, Member, IEEE, Zhengwei Qi ID^{ID}, Member, IEEE, and Haibing Guan ID^{ID}, Senior Member, IEEE

Abstract—Learned image compression (LIC) has achieved promising rate-distortion performance, but most methods lack scalability for diverse platforms with varying computational and storage constraints. Existing slimmable LIC methods achieve flexible complexity via consecutive-channel activation, but suffer from two critical limitations. First, forced consecutive-channel selection degrades narrow-model performance at low bitrates. Second, the lack of stable variable-rate control limits their adaptability to varying bandwidth conditions.

To address these limitations, we propose a channel-level mask-guided slimmable image compression method. A learnable channel-wise mask with sparsity-promoting regularization enables non-contiguous top-w channel selection, allowing narrow models to use the most informative channels. After training, mask merging and channel reordering convert the model into a standard slimmable network via Mask-to-Slimmable (M2S) conversion, supporting efficient inference via channel pruning without architectural changes. For variable-rate control, we combine λ\lambda- and width-conditioned modulation with quantization-step scaling and a progressive training pipeline stabilized by a freeze-then-fine-tune strategy.

Experiments on Kodak across E2E, Hyperprior, and Checkerboard backbones show that our method achieves superior rate-distortion performance across multiple widths and bitrates, with significant gains for narrow models at low bitrates. At the narrowest width (w = 48), it achieves up to 19.22%, 24.11%, and 22.76% BD-rate savings over the same-width Slimmable baseline on the E2E, Hyperprior, and CKBD backbones, respectively. A single VBR model replaces 40 independent models, reducing storage by 14.8×-15.9×. Compared with existing elastic LIC methods, our method outperforms the same-width Slimmable baseline and compares favorably in terms of rate-distortion performance, parameter efficiency, and latency flexibility. The code is available at https://github.com/sjtu-tcloud/MGSIC.

Index Terms—Neural Networks, Image Compression, Scalable Coding, Variable Bitrate.

I. INTRODUCTION

L EARNED image compression (LIC) has achieved remarkable progress in rate-distortion performance, even surpassing traditional codecs (e.g., H.265/H.266 intra-mode) in certain settings [1], [2], [3], [4], [5], [6]. However, efficient compression for resource-constrained scenarios remains underexplored [7], [8], [9], [10]. Traditional scalable coding (e.g., SVC/SHVC) transmits layered bitstreams but suffers from high decoding complexity [11], [12]. Several elastic LIC methods have thus been developed for quality and spatial scalability [6], [10], [13], [14], [15], [16], [17].

Manuscript received XXX XX, 2026. The authors are with the School of Computer Science, Shanghai Jiao Tong University, Shanghai 200240, China (e-mail: chenchen825@sjtu.edu.cn; wuchenggang@sjtu.edu.cn; chenyongbiao0319@sjtu.edu.cn; qiuwd@sjtu.edu.cn; qizhwei@sjtu.edu.cn; hbguan@sjtu.edu.cn). (Corresponding author: Zhengwei Qi.)

Figure

Fig. 1: Three typical styles of Elastic LIC methods. (a) Down-Up Sampling Style. (b) Scalable Style. (c) Slimmable Style. Quantization and entropy coding are omitted. Element-wise addition could also be replaced by channel-wise concatenation.

As shown in Fig. 1, elastic LIC methods fall into two categories: spatial scalability and quality scalability. Spatial scalability downsamples the input at the encoder and upsamples the decoded frame at the decoder [18], [19], [20], [21], often incorporating side information to enhance quality [20], [22]. Quality scalability further splits into learning-based scalable coding [13], [14], [6], [23] and slimmable coding [10], [15], [16], [17], [24]. Among these styles, slimmable coding offers the best flexibility-efficiency trade-off, yet suffers from two critical limitations. First, forced consecutive-channel selection severely degrades narrow-model performance at low bitrates. Second, existing solutions lack effective variable-rate control, limiting their adaptability to varying bandwidth conditions.

Variable-rate control is essential for practical codecs. Existing approaches typically introduce modulation networks conditioned on λ\lambda [25], [26], [27], but they mostly target fixed-width models. Integrating them into a slimmable framework is nontrivial: naive λ\lambda-sampling fails to decouple width adaptation from rate modulation, causing training instability.

To address these challenges, we propose a channel-level mask-guided slimmable image compression method. A learnable structured-sparsity mask enables non-contiguous top-w selection so that narrow models retain the most informative channels. Mask merging and channel reordering then convert the mask model into a standard slimmable network (M2S) for channel-pruned inference without architectural changes. For variable-rate control, we combine λ\lambda- and width-conditioned modulation with quantization-step scaling and a progressive freeze-then-fine-tune strategy to decouple width adaptation from rate modulation.

Our main contributions are summarized as follows:

• We propose a learnable channel-wise mask with spar-sity regularization for non-contiguous top-w selection, improving narrow-model performance at low bitrates.

  • We design an M2S conversion (mask merging and channel reordering) that transforms the mask model into slimmable model without altering the forward pass, making active channels contiguous for efficient inference.

  • We develop a variable-rate framework with λ\lambda- and width-conditioned modulation, quantization-step scaling, and a progressive freeze-then-fine-tune strategy, enabling continuous rate control in a single slimmable model.

• Experiments across E2E, Hyperprior, and Checkerboard backbones show up to 19.22%, 24.11%, and 22.76% BD-rate savings over the same-width Slimmable baseline at w = 48, with comprehensive comparisons in parameter efficiency, latency, and traditional codecs.

References (45)