Introduction
Learned Image Compression (LIC) has emerged as a powerful alternative to traditional codecs like JPEG, WebP, and HEVC. By utilizing deep neural networks—specifically autoencoders—LIC models can learn to prioritize features that are most relevant to human perception, often achieving superior rate-distortion performance on natural images. However, these models are highly specialized. A model trained on the natural images of the OpenImages dataset typically struggles when applied to out-of-distribution content such as medical imagery, satellite maps, or digital art. This phenomenon, known as domain shift, results in significant compression inefficiency.
While fine-tuning a model on a new domain is a common solution, it introduces the problem of catastrophic forgetting, where the model loses its ability to compress the original source domain effectively. Furthermore, training entirely new models for every possible domain is computationally prohibitive. This paper introduces a framework that utilizes supervised adapters and a gating mechanism to enable efficient domain adaptation without sacrificing original performance.
The Proposed Framework
The researchers propose a "plug-and-play" architecture that augments a frozen, pre-trained base LIC model with lightweight components. The system consists of three primary elements: the Base Model, Supervised Adapters, and a Gate Network.
1. The Base Model
The foundation of the system is a state-of-the-art LIC model (e.g., architectures by Zou et al. or Cheng et al.). To prevent catastrophic forgetting, the parameters of this base model are frozen during the adaptation process. This ensures that the fundamental feature extraction and reconstruction capabilities of the original model remain intact.
2. Supervised Adapters ($Ad^k$)
Instead of modifying the base layers, the authors insert small, lightweight convolutional modules called "adapters" into specific layers of the decoder. For $K$ target domains, the system incorporates $K+1$ adapters (one for each target domain plus one for the original source domain). These modules are remarkably efficient, representing only approximately 5.5% of the decoder's total complexity. By placing adapters exclusively in the decoder, the compressed bitstream remains compatible with the original architecture’s entropy model.
3. The Gate Network and Blending Policy
To determine which adapter to use, a Gate Network ($\phi$) is implemented on the encoder side. This network is a tiny classifier (comprising only 0.28% of the encoder's complexity) that analyzes the "latent representation"—the compressed features of the image.
Rather than simply selecting the single best adapter (a "Top-1" approach), the decoder employs a soft blending policy. It calculates a weighted sum of all adapters' outputs based on the probabilities predicted by the Gate Network. This allows the model to handle "hybrid" images that may share characteristics across multiple domains, leading to smoother reconstructions and better performance than a single specialized adapter could provide.
Experimental Setup
The framework was evaluated using a diverse set of high-resolution datasets to test both adaptation and generalization:
- Source Domain: Trained on OpenImages; tested on Kodak and CLIC.
- Target Domains: Sketch (ImageNet-Sketch) and Comic (BAM/Behance Artistic Media).
- Unseen Domains: To test zero-shot generalization, the researchers used DomainNet (Infograph, Quickdraw, Watercolor, Clipart) and IIIT-AR-13K (Graphical/Document images).
Key Insights and Results
Compression Efficiency
The proposed method achieved significant gains in compression efficiency, measured by BD-Rate (where a lower percentage indicates better compression at the same quality level). On the target Sketch and Comic domains, the model achieved BD-Rate reductions of 5% to 10% compared to the base models. Crucially, performance on the original natural image datasets (Kodak/CLIC) remained stable, confirming that the model successfully avoided catastrophic forgetting.
Zero-Shot Generalization
One of the most striking findings was the model's ability to generalize to domains it had never encountered during training. When presented with a "Quickdraw" doodle, the Gate Network assigned a 93% probability to the "Sketch" domain. This intelligent mapping allowed the model to achieve a 21.5% BD-Rate reduction on the Quickdraw dataset—a domain entirely unseen during the adapter training phase.
Qualitative Improvements
Beyond numerical metrics, the adapter-based method showed clear visual advantages. Qualitative results demonstrated that the specialized adapters preserve fine-grained details and textures in artistic and graphical content far better than standard models trained only on natural photos, which often blur or distort non-natural edges.
Conclusion and Future Work
This research demonstrates that LIC models do not need to be entirely retrained to handle diverse content types. By using lightweight supervised adapters and a soft-blending gate network, practitioners can adapt models to new domains with minimal computational overhead while maintaining universal compatibility.
Future work may explore unsupervised gate training to remove the requirement for labeled domain data during training. Additionally, while this study focused on decoder-side adaptation for efficiency, exploring adaptation within the entropy estimation part of the encoder could potentially unlock even higher compression gains in the future.
Summary updated