Rate-Distortion Theory in Coding for Machines and its Application
Alon Harell, Yalda Foroutan, Nilesh Ahuja, Parual Datta, Bhavya Kanzariya, V. Srinivasa Somayazulu, Omesh Tickoo, Anderson de Andrade, Ivan V. Bajic
TL;DR
This work extends rate-distortion theory to coding for machines (CfM), introducing task-based distortions and three encoding paradigms: full-input, model-splitting, and direct coding. It proves that, under optimal conditions, these approaches achieve the same RD performance, while supervised optimization yields superior RD compared to unsupervised proxies. The authors then apply the theory to image coding for machines, designing both model-splitting and direct-coding pipelines and achieving state-of-the-art RD on tasks such as classification, object detection, and instance segmentation. They further provide design guidelines and empirical evidence showing that deeper distillation points improve RD in unsupervised settings and deliver substantial practical gains across a range of CV models, including SWIN transformers, while remaining agnostic to the input modality and task model.
Abstract
Recent years have seen a tremendous growth in both the capability and popularity of automatic machine analysis of images and video. As a result, a growing need for efficient compression methods optimized for machine vision, rather than human vision, has emerged. To meet this growing demand, several methods have been developed for image and video coding for machines. Unfortunately, while there is a substantial body of knowledge regarding rate-distortion theory for human vision, the same cannot be said of machine analysis. In this paper, we extend the current rate-distortion theory for machines, providing insight into important design considerations of machine-vision codecs. We then utilize this newfound understanding to improve several methods for learnable image coding for machines. Our proposed methods achieve state-of-the-art rate-distortion performance on several computer vision tasks such as classification, instance segmentation, and object detection.
