Introduction
Neural Image Compression (NIC) has demonstrated superior rate-distortion performance compared to traditional codecs like JPEG and WebP. However, its high computational and power demands hinder deployment on resource-constrained edge devices. Existing "slimmable" networks often provide limited flexibility and typically overlook the autoregressive entropy model—a significant serial bottleneck in decompression speed.
The ABC (Adaptive BayesNet structure learning for Computational scalable multi-task image Compression) framework addresses these challenges by treating the entire codec as a learnable Bayesian Network. This approach enables dynamic complexity adjustment across the neural backbone and the entropy model based on hardware constraints, image content, and specific downstream tasks.
The ABC Framework
The core of ABC is representing the compression process as a Directed Acyclic Graph (DAG) and optimizing it through structure learning.
The framework comprises three main components:
- Inter-node BayesNet (Backbone Scalability): A heterogeneous bipartite structure manages the neural backbone. By integrating with slimmable networks, the framework selects different channel widths (edge types) between nodes to scale computation.
- Intra-node BayesNet (Autoregressive Scalability): To mitigate the serial bottleneck of autoregressive models, ABC uses a homogeneous multipartite graph. This allows for parallel processing of pixel groups in stages, where the number of stages controls the trade-off between compression efficiency and speed.
- Adaptive Control Module: Acting as the system's "brain," this module processes device capabilities, data complexity, and task requirements to predict the optimal BayesNet structure.
Multi-task Adaptation and Autoregressive Learning
ABC is designed for multi-task scenarios, where a single compressed representation can serve human viewing (reconstruction) and machine vision tasks (classification, detection).
A key discovery was the autonomous derivation of an "interlaced checkerboard" pattern for the intra-node structure. This learned pattern combines spatial and channel dependencies more efficiently than many hand-crafted models. Furthermore, the Adaptive Control Module learns to prioritize task-specific features; for instance, it can maintain high accuracy for object detection even when the computational budget is severely restricted.
Key Results and Performance
Evaluated on standard benchmarks like Kodak, CLIC, and ImageNet, ABC demonstrates significant advantages:
- Granular Scalability: ABC offers up to 625 configurable complexity levels, providing much finer control than previous slimmable baselines.
- Efficiency and Speed: Compared to the BPG codec, ABC achieves similar rate-distortion performance with over 30% higher compression efficiency by leveraging GPU parallelism. The learned multipartite structures significantly accelerate decompression compared to standard serial masked convolutions.
- Task Robustness: On ImageNet classification, ABC maintains high accuracy while significantly reducing Multiply-Add (MAC) counts, outperforming other task-adaptive baselines.
Conclusion
The ABC framework represents a significant step toward making high-performance neural image compression practical for a wide range of devices. By decoupling bitrate from complexity and enabling task-specific adaptation, it provides a versatile solution for modern imaging pipelines. Future work will focus on low-level CUDA optimization for the multipartite dynamic masked convolutions and extending the framework to video compression.
Summary updated