Differentiable JPEG: The Devil is in the Details

09/13/2023
by   Christoph Reich, et al.
0

JPEG remains one of the most widespread lossy image coding methods. However, the non-differentiable nature of JPEG restricts the application in deep learning pipelines. Several differentiable approximations of JPEG have recently been proposed to address this issue. This paper conducts a comprehensive review of existing diff. JPEG approaches and identifies critical details that have been missed by previous methods. To this end, we propose a novel diff. JPEG approach, overcoming previous limitations. Our approach is differentiable w.r.t. the input image, the JPEG quality, the quantization tables, and the color conversion parameters. We evaluate the forward and backward performance of our diff. JPEG approach against existing methods. Additionally, extensive ablations are performed to evaluate crucial design choices. Our proposed diff. JPEG resembles the (non-diff.) reference implementation best, significantly surpassing the recent-best diff. approach by 3.47dB (PSNR) on average. For strong compression rates, we can even improve PSNR by 9.51dB. Strong adversarial attack results are yielded by our diff. JPEG, demonstrating the effective gradient approximation. Our code is available at https://github.com/necla-ml/Diff-JPEG.

READ FULL TEXT

page 1

page 3

research
11/21/2019

Quantization Networks

Although deep neural networks are highly effective, their high computati...
research
06/28/2023

Learning to Pan-sharpening with Memories of Spatial Details

Pan-sharpening, as one of the most commonly used techniques in remote se...
research
01/21/2022

Fast Differentiable Matrix Square Root

Computing the matrix square root or its inverse in a differentiable mann...
research
04/26/2022

Estimating the Resize Parameter in End-to-end Learned Image Compression

We describe a search-free resizing framework that can further improve th...
research
03/17/2020

Learning to Structure an Image with Few Colors

Color and structure are the two pillars that construct an image. Usually...
research
12/30/2020

Towards Robust Data Hiding Against (JPEG) Compression: A Pseudo-Differentiable Deep Learning Approach

Data hiding is one widely used approach for protecting authentication an...
research
05/09/2019

Cycle-IR: Deep Cyclic Image Retargeting

Supervised deep learning techniques have achieved great success in vario...

Please sign up or login with your details

Forgot password? Click here to reset