arXiv:2609.35684cs.ITSep 2026

Manuscript Offprint

arXiv:2609.35684

The Hidden Perception Constraint in Task-Aware Compression

Sahan Liyanaarachchi, Semih Akkoc, Sennur Ulukus, Aylin Yener

ABSTRACT

With the recent advancements of neural compressors, explicitly incorporating perception constraints into the design of compression schemes has gained significant attention. Traditionally, these perception constraints ensure that the distribution of the reconstruction does not significantly deviate from the distribution of the source, thus attesting to the perceptual quality of the reconstruction. In this work, we uncover several perception constraints that are naturally present in task-aware compression. In particular, we consider a problem where the primary task is reconstruction and the secondary task is classification (i.e., a statistical test). We study this problem at varying levels of domain information available to us and discuss how to utilize the naturally emerging perception constraints to design rate-minimal compression schemes that also maximize the utility of our secondary task. We show that in this setting, if the decision boundaries of the classifier are ill-defined (mismatch) for our source distribution, then matching onto a target distribution enhances our classification accuracy.

1 INTRODUCTION

Rate distortion theory has been a widely pursued interest among information theorists ever since its first formulation by Shannon (Shannon, 1948). The rate-distortion (RD) problem involves finding the theoretical limit for compression such that the distortion between the reconstruction obtained from the compressed representation and the original source is within a pre-specified level. This constraint is formally known as the distortion constraint and numerous variations of this problem have been studied throughout literature by considering various distortion functions, availability of side information and for different network topologies (Wyner & Ziv, 1976; Yamamoto, 1981; Timo et al., 2011; MolavianJazi & Yener, 2016). With the recent advancements of neural compressors, a new constraint known as the perception constraint was identified in (Blau & Michaeli, 2019) as a necessary feature for modern compression schemes. While the distortion constraint ensures that our reconstruction is close to the original source, the perception constraint ensures that the distribution of the reconstruction is close to the source distribution. This results in more realistic reconstructions, which is a desired feature of modern compressors, but this comes at the expense of extra distortion.

This new problem of finding the optimal rate that simultaneously satisfies both the distortion and perception constraints is known as the rate-distortion-perception (RDP) problem and has gained significant attention recently. We refer to Section 2 for the recent advances on this problem. In this work, we study a practically motivated variant of the above problem. In here, we explore how to compress while simultaneously maximizing the utility of a given task. In particular, we focus on the following problem: Suppose we want to transmit a compressed representation of our data to a remote server which uses the reconstructed data for a certain task. For instance, suppose that our source is a random variable that may originate from several hypotheses, HiH_i. We want to compress and transmit our observation of this source random variable X and form a reconstruction X^\hat{X} of it at the server (receiver) such that its distortion is within a pre-specified level. This is our primary goal. At the same time, suppose the server uses a generic or ill-defined statistical test (the test may be designed for a different data distribution or there may be a mismatch in prior distributions which was used to design the test) on the reconstructed data to identify the originating hypothesis. We want the error of this statistical test to be low as well. This is our secondary task.

Figure

Figure 1: Diagram of the system model.

In the context of machine learning, this can be viewed as using a pretrained classifier at the remote server to classify data coming from a distribution which is significantly different from the training distribution of the classifier. In here, the pretrained classifier can be considered as a third-party tool available at the sever which we use for our task. As a specific example, consider the presence (hypothesis H1H_{1}) and absence (hypothesis H0H_{0}) of a particular disease; and that the detector (classifier) has been trained with a data set that is dominated by a certain race; and that the new patient belongs to an underrepresented race. This paper tackles the problem of how to compress the data of the new patient with as few bits as possible, such that, the decompressed data at the detector ( X^\hat{X}) has small distortion with the original data (X), and at the same time, the down-stream task of classification of the patient ( H0H_{0} or H1H_{1}) using the decompressed data has small probability of error. Essentially, we are trying to compress the data in a way to leverage a generic classifier to our advantage.

We tackle the above problem by considering varying levels of domain knowledge available to us. In particular, we identify the following three levels of information availability:

• Level 1: We know the distributions of the individual hypotheses of the source random variable and the decision regions of the classifier at the receiver side.

• Level 2: We know the individual distributions for each hypothesis of the source random variable but we do not know the exact decision regions at the receiver side. However, in this scenario, we assume that we do know that the classifier works well for some known distribution (i.e., yields low probability of error on a known distribution). In the computer vision domain, this can be viewed as a generic image classifier which is known to have a good inference accuracy on a common dataset such as ImageNet.

• Level 3: We do not know the individual distributions for each hypothesis of the source random variable and we do not know decision regions of the classifier at the receiver. Again, we assume that the classifier works well for a known distribution.

Under the above three levels of information availability, we find the optimal compression rates that satisfy the primary task while maximizing the performance of the secondary task which is classification. We identify that perception is a hidden constraint within this problem setup and formulate the above problem as an equivalent RDP problem. We show that when the exact decision regions of the classifier is not known, a good strategy is to compress the data so that the reconstruction's distribution is as close as possible to a target distribution for which we know the test yields good results.

References (67)