IC-DLC: Differentiable Logic Circuits for Hardware-Friendly Image Compression

Till Aczel, David F. Jenny, Simon Jonas Bührer, Andreas Plesner, Antonio Di Maio, Roger WattenhoferML4Wireless @ AAAI 2026

TL;DR

This paper introduces IC-DLC, a novel image compression method that leverages Differentiable Logic Circuits (DLCs) to achieve high compression efficiency with significantly reduced computational cost, energy consumption, and latency compared to traditional neural codecs. This makes it a promising solution for deploying advanced image compression on resource-constrained edge devices.

What Problem Does This Paper Address?

Modern neural image compression techniques offer superior compression ratios compared to traditional methods like PNG or JPEG-XL. However, they often rely on large neural networks with extensive floating-point computations, leading to high latency and energy demands. This makes them impractical for deployment on energy-constrained edge devices such as smartphones, cameras, and drones, which have limited battery life, processing power, and thermal budgets. Traditional codecs, while efficient, lack the adaptability and performance of learned models. The paper aims to bridge this gap by developing a learned compression method that is both highly efficient and hardware-friendly.

Methods

The core innovation of this paper is the use of Differentiable Logic Circuits (DLCs) to build an image compression codec. DLCs are a class of neural network components that replace traditional matrix multiplications with trainable lookup tables or logic operations. This allows them to be optimized end-to-end using gradient-based methods while remaining efficient for hardware deployment.

The proposed codec, IC-DLC, employs a hierarchical compression framework. This involves decomposing the image into multiple resolution levels, starting from a coarse representation and progressively refining it. The architecture consists of two main components, both implemented as DLCs:

  • Upsampling Model (UPS): This module predicts the upsampled image at a higher resolution, conditioned on the lower-resolution reconstruction. It helps propagate coarse structural information efficiently.
  • Autoregressive Model (ARM): This module refines the upsampled image by predicting per-pixel probability distributions (specifically, Laplace distribution parameters). It leverages local context from already decoded pixels and the UPS predictions for un-decoded pixels.

The ARM's output is used to estimate the bitrate, which, along with reconstruction error, forms the training objective. For training, a continuous "soft" approximation of the DLCs is used, which is then discretized into a "hard" circuit for deployment.

Datasets

  • Training: The model is trained on the EMNIST ByClass dataset. This dataset consists of grayscale images of digits and letters.
  • Evaluation: The model is evaluated on the EMNIST test set, as well as two out-of-distribution datasets:
  • KMNIST: Contains grayscale images of handwritten Korean characters.
  • Fashion-MNIST (FMNIST): Contains grayscale images of clothing items, representing a more complex visual distribution.

Key Insights and Ideas

  • DLCs as a Hardware-Friendly Alternative: The paper demonstrates that DLCs can effectively replace computationally intensive neural network components, offering a path to hardware-friendly learned compression without sacrificing significant performance.
  • Hierarchical Compression for Efficiency: The multi-resolution approach allows the codec to capture both global context at coarser levels and fine details at higher resolutions, leading to better compression efficiency.
  • Learned Upsampling Improves Prediction: The learned UPS module significantly improves the accuracy of upsampling compared to traditional methods like bicubic interpolation, which directly translates to lower bitrates.
  • Trade-off Between Compression and Generalization: While IC-DLC excels on in-distribution data (EMNIST), its performance advantage diminishes on out-of-distribution datasets like FMNIST, suggesting that training on more diverse data is crucial for broader applicability.

Key Results

  • Compression Efficiency: IC-DLC outperforms traditional codecs like PNG and JPEG-XL on the EMNIST dataset in terms of coded bits per pixel (bpp). For example, on EMNIST, IC-DLC achieves 2.74 bpp, significantly lower than JPEG-XL's 3.20 bpp.
  • Energy and Latency: The paper estimates that IC-DLC is approximately 100 times more energy-efficient for encoding and 10 times for decoding compared to PNG. Latency is also drastically reduced, with both encoding and decoding operations estimated to be below 5 ns per pixel, making it suitable for real-time applications.
  • Comparison to Learned Baselines: While a learned MLP-based variant (IC-MLP) achieves slightly better compression (2.34 bpp on EMNIST), it is orders of magnitude slower, highlighting the hardware-friendly advantage of DLCs.

Limitations and Future Work

  • Dataset Limitations: The current evaluation is primarily on grayscale datasets. The authors acknowledge that testing on RGB images with natural image distributions is necessary to fully assess performance on more complex, real-world data.
  • Hardware Validation: While energy and latency are estimated, direct hardware measurements on an FPGA are needed to validate these figures in a real-world setting.
  • Generalization: Performance on out-of-distribution datasets like FMNIST suggests that expanding the training set to cover more diverse images is a promising direction for future research.
  • Further Optimization: Exploring different DLC architectures and training strategies could further improve performance and efficiency.

Summary updated

BibTeX
@inproceedings{aczel2026ic,
  author = {Till Aczel and David F. Jenny and Simon Jonas Bührer and Andreas Plesner and Antonio Di Maio and Roger Wattenhofer},
  title = {{IC-DLC: Differentiable Logic Circuits for Hardware-Friendly Image Compression}},
  booktitle = {ML4Wireless @ AAAI},
  year = {2026},
  url = {https://openreview.net/forum?id=aOpwXWXQU3},
}
Figure