arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.06978cs.CVcs.MM
收藏

可微JPEG:细节决定成败

Differentiable JPEG: The Devil is in the Details

NEC Laboratories America, Inc.(美国 NEC 实验室);Technische Universität Darmstadt(达姆施塔特工业大学)

Christoph Reich, Biplob Debnath, Deep Patel, Srimat Chakradhar

AI总结:

本文提出一种可微JPEG方法,全面回顾现有方法并解决关键细节,实现对输入图像、质量、量化表和颜色参数的可微性,在PSNR上显著超越现有方法,并支持对抗攻击。

摘要:

JPEG仍然是最广泛的有损图像编码方法之一。然而,JPEG的不可微性限制了其在深度学习流水线中的应用。最近,已有几种可微的JPEG近似方法被提出以解决这一问题。本文对现有的可微JPEG方法进行了全面综述,并指出了先前方法忽略的关键细节。为此,我们提出了一种新颖的可微JPEG方法,克服了先前的局限性。我们的方法对输入图像、JPEG质量、量化表和颜色转换参数都是可微的。我们评估了我们的可微JPEG方法相对于现有方法的前向和反向性能。此外,进行了大量消融实验以评估关键设计选择。我们提出的可微JPEG最接近(不可微的)参考实现,平均显著超过最近最佳的可微方法3.47dB(PSNR)。对于强压缩率,我们甚至可以将PSNR提高9.51dB。我们的可微JPEG产生了强大的对抗攻击结果,证明了有效的梯度近似。我们的代码可在https://github.com/necla-ml/Diff-JPEG获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑