Introduction
Modern image compression is witnessing a convergence between classical signal processing principles and deep learning architectures. While traditional codecs like HEVC and VVC rely on sophisticated block-partitioning schemes to optimize bit allocation, early neural compressors often treated images as monolithic entities. This paper introduces RDONet, a hierarchical autoencoder designed to bridge this gap by adaptively deciding which image regions require high-detail encoding and which can be compressed more aggressively.
The Challenge: Content-Aware Bit Allocation
In image compression, the fundamental trade-off is between rate (bitcount) and distortion (reconstruction quality). Classical codecs excel at this by using "quad-tree" splitting: simple areas like a clear sky are represented by large blocks with few bits, while complex textures like a person's face are split into smaller blocks for finer detail.
In contrast, standard compressive autoencoders typically map an entire image into a single latent space at a fixed resolution. This lack of flexibility often leads to bit wastage in simple regions or insufficient detail in complex ones. RDONet addresses this by implementing a content-adaptive, hierarchical logic within a neural framework.
Methodology: The RDONet Architecture
The core of the proposed system is a three-level hierarchical structure composed of Latent Space Units (LS-Units).
Hierarchical Latent Space Units
Instead of a single encoding path, RDONet utilizes three levels of abstraction. The deepest level (LS-Unit 3) processes the image at a coarse resolution (e.g., 64x64 blocks), capturing global structures. Higher levels provide progressively finer details.
Adaptive Masking and RDO
The "brain" of RDONet is its Masking Layer. For every spatial region, the network generates a mask that determines which hierarchical levels should be transmitted. If a region is deemed simple, only the coarse data from the deepest level is sent. If it is complex, the mask triggers the transmission of higher-resolution latent data.
To find the optimal mask configuration, the system employs a Two-Pass Rate-Distortion Optimization (RDO). During encoding, it performs an exhaustive search to find the partitioning that minimizes the cost function $J = D + \lambda R$, where $D$ is distortion and $R$ is rate.
Conditional Hyperprior
To further enhance efficiency, the model uses a conditional approach. Rather than encoding each level independently, data from coarser levels is used to predict and refine the information in finer levels. This "generalized difference" approach, implemented via concatenation and convolution, allows the network to learn the most efficient way to combine information across the hierarchy.
Experimental Setup
The model was trained on a diverse set of high-quality images to ensure robustness across various textures and resolutions. The training set comprised 1,585 images from the CLIC21, TECNICK, and DIV2K datasets.
Key Insights and Results
RDONet demonstrates that classical "block partitioning" logic can be effectively integrated into neural networks.
Performance Metrics
Using the Bjøntegaard Delta Rate (BD-Rate) metric, RDONet achieved an average bitrate savings of 7.4% compared to a non-hierarchical baseline. In images with a significant mix of simple and complex content, savings reached as high as 22.5% for the same MS-SSIM quality score.
Content-Adaptive Depth
Visualizations of the masking process reveal that the RDO search naturally identifies salient image features. The system automatically allocates the highest depth (more bits) to complex areas like hair, eyes, or mechanical details (e.g., a camera lens), while maintaining low depth for out-of-focus backgrounds.
Rate-Variable Flexibility
A significant advantage of RDONet is its inherent flexibility. Unlike many neural models that require separate training for different bitrates, RDONet can produce a wide range of rates from a single trained model by simply adjusting the $\lambda$ parameter during the RDO search.
Conclusion and Future Directions
RDONet successfully brings the efficiency of classical block-partitioning to the domain of learned image compression. While the two-pass RDO search increases encoding complexity, it does not impact the decoder's performance, making it suitable for asymmetric applications like image storage or streaming.
Future work will address encoder-decoder drift, where minor floating-point variations across different hardware can degrade reconstruction quality. Additionally, the authors plan to explore Generative Adversarial Network (GAN) losses to improve the perceptual "crispness" of the reconstructed images.
Summary updated