paper-with-me

홈 › Papers

Scaling Training Data with Lossy Image Compression

2024-07-25 · Katherine L. Mentzer, Andrea Montanari

Empirically-determined scaling laws have been broadly successful in predicting the evolution of large machine learning models with training data and number of parameters. As a consequence, they have been useful for optimizing the allocation of limited resources, most notably compute time. In certain applications, storage space is an important constraint, and data format needs to be chosen carefully as a consequence. Computer vision is a prominent example: images are inherently analog, but are always stored in a digital format using a finite number of bits. Given a dataset of digital images, the number of bits $L$ to store each of them can be further reduced using lossy data compression. This, however, can degrade the quality of the model trained on such images, since each example has lower resolution. In order to capture this trade-off and optimize storage of training data, we propose a `storage scaling law' that describes the joint evolution of test error with sample size and number of bits per image. We prove that this law holds within a stylized model for image compression, and verify it empirically on two computer vision tasks, extracting the relevant parameters. We then show that this law can be used to optimize the lossy compression level. At given storage, models trained on optimally compressed images present a significantly smaller test error with respect to models trained on the original data. Finally, we investigate the potential benefits of randomizing the compression level.

📄 PDF Abstract BibTeX arXiv:2407.17954

Code (1)

granica-ai/lossycompressionscalingkdd2024 공식 구현

Tasks

Data CompressionImage Compression

Similar Papers 제목 키워드 기반

Learning Scalable lY=-Constrained Near-Lossless Image Compression via Joint Lossy Image and Residual Compression

2021-06-19 · CVPR 2021 1 · Yuanchao Bai, Xianming Liu, WangMeng Zuo, YaoWei Wang 외

We propose a novel joint lossy image and residual compression framework for learning l_infinity-constrained near-lossless image compression. Specifically, we obtain a lossy reconstruction of the raw image through los…

Image Compression

Learning Scalable $\ell_\infty$-constrained Near-lossless Image Compression via Joint Lossy Image and Residual Compression

2021-03-31 · Yuanchao Bai, Xianming Liu, WangMeng Zuo, YaoWei Wang 외

We propose a novel joint lossy image and residual compression framework for learning $\ell_\infty$-constrained near-lossless image compression. Specifically, we obtain a lossy reconstruction of the raw image through loss…

Image Compression

Self-Conditioned Probabilistic Learning of Video Rescaling

2021-07-24 · ICCV 2021 10 · Yuan Tian, Guo Lu, Xiongkuo Min, Zhaohui Che 외

Bicubic downscaling is a prevalent technique used to reduce the video storage burden or to accelerate the downstream processing speed. However, the inverse upscaling step is non-trivial, and the downscaled video may also…

Super-ResolutionVideo CompressionVideo Super-Resolution

TVRN: Invertible Neural Networks for Compression-Aware Temporal Video Rescaling

2026-05-15 · Xinmin Feng, Li Li, Dong Liu, Feng Wu arxiv

To fit diverse display and bandwidth constraints, high-frame-rate videos are temporally downscaled to low-frame-rate (LFR) and later upscaled, requiring joint optimization for effective frame-rate rescaling. However, exi…

Lost in Compression: the Impact of Lossy Image Compression on Variable Size Object Detection within Infrared Imagery

2022-05-16 · Neelanjan Bhowmik, Jack W. Barker, Yona Falinie A. Gaus, Toby P. Breckon

Lossy image compression strategies allow for more efficient storage and transmission of data by encoding data to a reduced form. This is essential enable training with larger datasets on less storage-equipped environment…

Image Compressionobject-detectionObject Detection