Differentiable JPEG: The Devil is in the Details

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Reich, Christoph, Debnath, Biplob, Patel, Deep, Chakradhar, Srimat
Format: Preprint
Veröffentlicht: 2023
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929319884881920
author Reich, Christoph
Debnath, Biplob
Patel, Deep
Chakradhar, Srimat
author_facet Reich, Christoph
Debnath, Biplob
Patel, Deep
Chakradhar, Srimat
contents 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.47$dB (PSNR) on average. For strong compression rates, we can even improve PSNR by $9.51$dB. 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.
format Preprint
id arxiv_https___arxiv_org_abs_2309_06978
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Differentiable JPEG: The Devil is in the Details
Reich, Christoph
Debnath, Biplob
Patel, Deep
Chakradhar, Srimat
Computer Vision and Pattern Recognition
Multimedia
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.47$dB (PSNR) on average. For strong compression rates, we can even improve PSNR by $9.51$dB. 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.
title Differentiable JPEG: The Devil is in the Details
topic Computer Vision and Pattern Recognition
Multimedia
url https://arxiv.org/abs/2309.06978