JPEG Inspired Deep Learning
<|reference_start|>JPEG Inspired Deep Learning: Although it is traditionally believed that lossy image compression, such as JPEG compression, has a negative impact on the performance of deep neural networks (DNNs), it is shown by recent works that well-crafted JPEG compression can actually improve the performance of deep learning (DL). Inspired by this, we propose JPEG-DL, a novel DL framework that prepends any underlying DNN architecture with a trainable JPEG compression layer. To make the quantization operation in JPEG compression trainable, a new differentiable soft quantizer is employed at the JPEG layer, and then the quantization operation and underlying DNN are jointly trained. Extensive experiments show that in comparison with the standard DL, JPEG-DL delivers significant accuracy improvements across various datasets and model architectures while enhancing robustness against adversarial attacks. Particularly, on some fine-grained image classification datasets, JPEG-DL can increase prediction accuracy by as much as 20.9%. Our code is available on https://github.com/JpegInspiredDl/JPEG-Inspired-DL.git.<|reference_end|>
@article{salamah2024jpeg,
    title={JPEG Inspired Deep Learning},
    author={Ahmed H. Salamah, Kaixiang Zheng, Yiwen Liu and En-Hui Yang},
    journal={arXiv preprint arXiv:2410.07081},
    year={2024},
    archivePrefix={arXiv},
    eprint={2410.07081},
    primaryClass={cs.CV}
}