Optimizing JPEG Quantization for Classification Networks
Not on the map. Why?
Abstract (arXiv)
Deep learning for computer vision depends on lossy image compression: it reduces the storage required for training and test data and lowers transfer costs in deployment. Mainstream datasets and imaging pipelines all rely on standard JPEG compression. In JPEG, the degree of quantization of frequency coefficients controls the lossiness: an 8 by 8 quantization table (Q-table) decides both the quality of the encoded image and the compression ratio. While a long history of work has sought better Q-tables, existing work either seeks to minimize image distortion or to optimize for models of the human visual system. This work asks whether JPEG Q-tables exist that are "better" for specific vision networks and can offer better quality--size trade-offs than ones designed for human perception or minimal distortion. We reconstruct an ImageNet test set with higher resolution to explore the effect of JPEG compression under novel Q-tables. We attempt several approaches to tune a Q-table for a vision task. We find that a simple sorted random sampling method can exceed the performance of the standard JPEG Q-table. We also use hyper-parameter tuning techniques including bounded random search, Bayesian optimization, and composite heuristic optimization methods. The new Q-tables we obtained can improve the compression rate by 10% to 200% when the accuracy is fixed, or improve accuracy up to 2% at the same compression rate.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 5 Mar 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 0; 2023: 1; 2024: 0; 2025: 2; 2026: 1.
6 papers.
- 2025Diff-ICMH: Harmonizing Machine and Human Vision in Image Compression with Generative Priorcited by 4
- 2021Countering Adversarial Examples: Combining Input Transformation and Noisy Trainingcited by 2
- 2023Learned Lossless Compression for JPEG via Frequency-Domain Predictioncited by 1
- 2021TACTIC: Joint Rate-Distortion-Accuracy Optimisation for Low Bitrate Compressioncited by 0
- 2025JPEG Compliant Compression for Both Human and Machine, A Reportcited by 0
- 2026Learned JPEG Compression for DNN Visioncited by 0
- 2026Learned JPEG Compression for DNN Vision15 Jun 2026
- 2025Diff-ICMH: Harmonizing Machine and Human Vision in Image Compression with Generative Prior27 Nov 2025
- 2025JPEG Compliant Compression for Both Human and Machine, A Report13 Mar 2025
- 2023Learned Lossless Compression for JPEG via Frequency-Domain Prediction5 Mar 2023
- 2021TACTIC: Joint Rate-Distortion-Accuracy Optimisation for Low Bitrate Compression22 Sep 2021
- 2021Countering Adversarial Examples: Combining Input Transformation and Noisy Training25 Jun 2021