# Poster 28038

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28038

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello everyone, my name is Ahmed Salam and today I will present our work titled JPEGDN's 5D learning, our research involving the framework that will repair JPEGDN through this presentation and which integrates a trainable JPEG compression layer into the learning pipeline to enhance the performance. So let's dive into the details.
So on the left we see the traditional JPEG compression pipeline, which has had a lossy nature that origin from the uniform quantizer which ignore information by rounding the city coefficient based on the deterministic quant quality factor and as shown on the right when we apply a single quality factor to all images like a common practice of quality factor 100 or quality which has no compression or quality factor 50 which has a moderated compression, the performance of the in and like inception version 3 or is not degrades significantly. For example at quality factor 50 20 is at
is a curvature of about 10% compared to some compressions. However, recent studies challenge this view and show that what craft is yet by compression can actually improve TNN performance. So our main motivation builds on key insights from the first reference shown in this slide which illustrates the compression hopes. Their analysis of a pre-image optimal quality factor revealed that for certain images like this bird.
And aggressive compression of white factor 10 actually increases the modern confidence percentage exactly with from 37% to 72%. When improving its rank from 2 to 1. And this applied across the other example as well. This suggests that the method could act as an adaptive noise denoising but requires an empirical oracle guidance as a ground truth label is given in that innocent which not practically.
Our Jepadial framework automates this discovery through a differentiable quantizer turning their theoretical insights into a practical solution. So our problem formation starts from a standard deep learning problem which is like supervised learning. We are trying to minimize the loss which start with minimizing the loss function for between the model prediction and the ground truth label. But with Jepadial we want to jointly optimize Z and weights in the Jepad quantization parameters. But the main challenging area is around incorporation which is not differentiable.
which is not differential and which blocks a gradient flow and our solution is basically replaces uniform and hard quantizer with a sort of differential version to enable end-to-end training so let's walk you through the core of our JEPIC data framework the differential soft quantizer
This is what enabled us to make the JPEG compression trainable. So let's define our reconstruction space, which we should refer to here as A, that start from negative n to n, and then we multiply it with the step size which is trainable to create A, and then here we show our main algorithm.
innovation which instead of our accounting would compute the probability of each level using a softmax over squared over the square distance as a distortion metric here is a probability peak where the probability peaks near to the input coefficients and which gives it the lowest distortion and here alpha it's used as a temperature scaling which is like control controls the shortness of the distribution then we extend them to match the dimension of a and then we apply
I don't want to apply any of the try softmax operation.
and building on these probabilities with a kind or soft quantizer QD as expected varies across all levels as shown in equation 5 and here on the right we show as alpha increase at the same Q value QD approach hard quantizer but however it's still differential and please refer to the appendix of the paper to have to have more details then we know we can see that we can replace everything comes to better in the complete JPEG DL
again um so in equation two our goal was joint optimization of the zeta and alpha and our learnable quantization table q so the key innovation here we replace the standard quantization hard quantizer with our differentiable quantizer just create a trainable shipping layer as that we can refer to it here as as your head so here we are optimizing the q the q step and alpha for the luminous channel and a shareable q step and alpha for the chroma damage channels and
and while steadily it can maintain a differential ability across a pipeline. And the strain ratios are result for safer 100-dimensional trends as we can see, so we have a consistent gain across both of them and also towards the dimensions that if we use a five fronts of our dynamic layer on the squeeze nets, we can go from a gain of 0 .31% to 0.5%.
And also if we can compare other heuristic JPEG quantization approaches, despite they enable differentiability, we still outperformed them. This proof that JPEG DL leveraged more non-linearity than them. Also we have done some experiments regarding the end replacement instead of applying it as an input, we applied it as a middle of the first convolution layer.
there as in the ResNet model and as you can see we can also get a consistent gain but here we don't have any correspice conversion and we still apply for each of the currents different JPEG layer and also we can show not only performance gain also robustness gain against the FGS-MMPGD was up to 15% gain compared to the robustness of the normal model.
Thank you for listening and we are eager to see you in our conference in person if you have more questions.
