Cross-Domain Lossy Compression via Rate- and Classification-Constrained Optimal Transport
Nam Nguyen, Thinh Nguyen, Bella Bose
International Conference on Learning Representations 2026 · Oral
Overview
This talk introduces a groundbreaking framework for lossy compression that transcends traditional rate-distortion paradigms by integrating a crucial, modern consideration: classification accuracy. Presented by Thinh Nguyen, along with his student Nam Nguyen and collaborator Bella Bose, this work addresses the growing need for compression systems that not only minimize data size and reconstruction distortion but also preserve or even enhance performance for downstream machine learning tasks. The core innovation lies in formulating this multi-objective problem as a rate- and classification-constrained optimal transport (OT) problem, offering a flexible and powerful theoretical foundation.

Key moments
- 0:00 Introduction: Compression considering classification and restoration
- 2:00 New compression paradigm: from syntactic to semantic
- 2:50 Optimal Transport framework with rate and classification constraints
- 6:15 Experimental setup: Unsupervised cross-domain learning approach
- 8:15 Super-resolution demonstration: unsupervised learning from distribution
- 8:50 Further applications: denoising and inpainting examples
- 10:35 Q&A: General constrained problem solving remains open
Cross-Domain Lossy Compression via Rate- and Classification-Constrained Optimal Transport
Speakers: Nam Nguyen, Thinh Nguyen, Bella Bose
Conference: ICLR 2026
YouTube: https://slideslive.com/39062213
Overview
This talk introduces a groundbreaking framework for lossy compression that transcends traditional rate-distortion paradigms by integrating a crucial, modern consideration: classification accuracy. Presented by Thinh Nguyen, along with his student Nam Nguyen and collaborator Bella Bose, this work addresses the growing need for compression systems that not only minimize data size and reconstruction distortion but also preserve or even enhance performance for downstream machine learning tasks. The core innovation lies in formulating this multi-objective problem as a rate- and classification-constrained optimal transport (OT) problem, offering a flexible and powerful theoretical foundation.
Beyond its theoretical contributions, the framework demonstrates significant practical utility by enabling cross-domain, unsupervised restoration. This means the system can take a corrupted image (e.g., noisy, low-resolution, or with missing parts) and restore it to a high-quality version, even if the "clean" ground truth images used for training are from a completely different distribution and are unpaired with the corrupted inputs. This capability has profound implications for a wide array of applications, including super-resolution, denoising, and inpainting, where acquiring paired training data is often challenging or impossible.
The research bridges classical information theory with modern deep learning techniques, extending the concept of compression from purely "syntactic" fidelity to a more "semantic" understanding. By allowing the compressed output to be distributionally, rather than pixel-wise, aligned with a target, the system opens doors for new forms of data generation and manipulation. The integration of classification performance directly into the compression objective marks a pivotal shift, acknowledging the prevalence of AI/ML classifiers in contemporary data processing pipelines and proposing a holistic approach to data efficiency and utility.
Background
▶ Watch: Introduction: Compression considering classification and restoration (0:00)
The concept of data compression is a cornerstone of information theory, dating back to Shannon's seminal work. At its heart lies the rate-distortion (RD) function, which quantifies the minimum number of bits (rate, R) required to represent a source with a maximum allowable distortion (D). Traditional compression algorithms, from JPEG for images to MP3 for audio, are fundamentally designed to minimize this distortion for a given bit rate, prioritizing fidelity to the original signal. This "syntactic" approach aims for the compressed output to be as close as possible to the input, often measured by metrics like Mean Squared Error (MSE) or Peak Signal-to-Noise Ratio (PSNR).
However, the landscape of data processing has dramatically evolved with the advent of machine learning (ML) and deep learning (DL). Modern systems frequently compress data not just for storage or transmission, but to feed into downstream ML models, such as object classifiers, segmentation networks, or generative models. In this context, the traditional RD trade-off becomes insufficient. A highly compressed image might have low distortion in terms of pixel differences but could severely degrade the performance of a classifier trained on that image. Conversely, a compression scheme that allows for higher "syntactic" distortion might preserve crucial semantic features, leading to better classification accuracy. This highlights a critical gap: existing compression theories and algorithms do not inherently account for the utility of compressed data for specific AI/ML tasks.
Furthermore, many real-world scenarios involve data restoration tasks like denoising, super-resolution, or inpainting, where the goal is to reconstruct a clean or high-quality image from a corrupted input. Conventional approaches often rely on large datasets of paired corrupted and clean images, which are expensive and time-consuming to collect. The challenge then becomes how to perform effective restoration, potentially across different data domains (e.g., restoring a noisy camera image to look like a pristine image from a synthetic dataset), and critically, without requiring explicit paired ground truth. This problem necessitates a compression and restoration framework that can learn to align distributions rather than just individual samples, pushing the boundaries from syntactic to more semantic or generative forms of data transformation.
Key Findings
▶ Watch: Optimal Transport framework with rate and classification constraints (2:50)
The talk presents several significant findings that collectively redefine the approach to lossy compression and data restoration:
Firstly, the core contribution is the formulation of a novel rate- and classification-constrained optimal transport (OT) problem. This framework extends the classic rate-distortion theory by explicitly incorporating a third dimension: the classification accuracy (C). The goal is to minimize distortion while adhering to constraints on both the compression rate (R) and the performance of a classifier operating on the compressed data. This tripartite optimization offers a more holistic and task-aware approach to compression.
Secondly, the researchers demonstrated that this complex optimal transport problem can be theoretically simplified. They proved a theorem showing that an initial setup involving an intermediate representation Z can be transformed into a direct mapping between the input X and the target output Y. This simplification is crucial for deriving theoretical results and understanding the fundamental properties of the constrained OT problem. For specific, simplified cases like Bernoulli and Gaussian input/output distributions, they successfully derived closed-form solutions for the rate-distortion-classification function, providing concrete mathematical validation for their theoretical framework.
Thirdly, the work introduces the concept of shared common randomness (U), which serves a dual purpose: it allows for the design of deterministic encoders and decoders, and critically, it provides a mechanism to control the operational points along the rate-distortion curve. This offers practical flexibility in tuning the compression system's performance.
Finally, and perhaps most practically impactful, the research showcases the framework's ability to perform cross-domain, unsupervised restoration. Through a neural network implementation, the system successfully tackles tasks such as super-resolution, denoising, and inpainting. Crucially, this is achieved without paired training data; the model learns to transform corrupted input images (X) into restored outputs (Y_hat) whose distribution aligns with a database of clean images (Y), even when Y images are completely unrelated to individual X images. This unsupervised learning capability, driven by a Wasserstein loss component, represents a major advancement in data restoration, circumventing the need for expensive ground-truth pairings.
Technical Deep Dive
▶ Watch: Experimental setup: Unsupervised cross-domain learning approach (6:15)
The technical core of this work lies in its innovative formulation of compression as an optimal transport (OT) problem, augmented with rate and classification constraints. Traditional OT seeks to find a joint distribution P(X,Y) between an input source X and a target Y that minimizes a given distortion D(X,Y), subject to the marginal distributions P(X) and P(Y). The proposed framework extends this by introducing additional constraints related to information rate and classification performance.
Specifically, the objective is to minimize the expected distortion E[D(X,Y)] between the input X and the decoded output Y. This minimization is subject to two primary constraints:
- Rate Constraint: The mutual information
I(X;Z)between the inputXand an intermediate representationZ(or directlyYafter simplification) must be less than or equal to a target rateR. This embodies the classic compression objective. - Classification Constraint: The classification accuracy, often represented by the conditional probability
P(S|Y)whereSis the classification variable, must meet a certain threshold or be optimized. This directly links compression to downstream task utility.
A key theoretical step involves the introduction of shared common randomness (U). This U allows the system to operate with deterministic encoders and decoders while still exploring various rate-distortion trade-offs. Conceptually, U acts as an auxiliary variable that helps shape the mapping from X to Y and control the effective rate. The speakers proved a theorem demonstrating that the problem, initially formulated with an intermediate latent variable Z, can be simplified to a direct mapping from X to Y for theoretical analysis, which facilitates the derivation of analytical solutions.
For specific, simplified scenarios, the researchers successfully derived closed-form solutions for the rate-distortion-classification function. For a Bernoulli source and a Bernoulli classification variable, they showed how the optimal trade-off curve between rate, distortion, and classification accuracy could be explicitly calculated. Similarly, for Gaussian sources, a single-letter characterization of the asymptotic rate-distortion-classification function was obtained, providing theoretical guarantees for these idealized cases. These analytical results, often derived by formulating the problem as a linear program, serve as a foundational validation for the proposed constrained OT approach.
For practical implementation, particularly for complex, high-dimensional data like images, the framework transitions to a neural network (NN) based encoder-decoder architecture. In this empirical setup, the shared common randomness U is instantiated as dithering noise added to the input or latent space, providing a mechanism to control the effective rate. The training objective for the neural network is a weighted sum of three distinct loss components, each controlled by a lambda parameter:
- MSE Loss (
lambda_MSE): This measures the pixel-wise distortion between the inputXand the generated outputY_hat, serving as the primary distortion metric. - Classification Loss (
lambda_classification): This term quantifies how well a classifier can predict the labelSfrom the generated imageY_hat. It ensures that semantic information relevant for classification is preserved or enhanced. - Wasserstein Loss (
lambda_Wasserstein): This is a crucial component for enabling cross-domain, unsupervised learning. The Wasserstein distance (or Earth Mover's Distance) is used to align the distribution of the generated imagesP(Y_hat)with the distribution of a database of clean, target imagesP(Y). Critically, during training, the corrupted inputXand the clean targetYare not paired;Yis simply sampled from a general database of clean images. This loss ensures thatY_hatnot only looks "clean" but also adheres to the statistical properties and visual characteristics of the desired target domain, even if it deviates syntactically from the originalX.
The ability to control the influence of each loss component via its corresponding lambda parameter provides unprecedented flexibility. Practitioners can tune these weights to prioritize rate efficiency, reconstruction fidelity, or classification accuracy, depending on the specific application requirements. This multi-objective optimization, guided by the principles of optimal transport and realized through a neural network, represents a significant technical leap in the field of intelligent compression and restoration.
Experimental Setup & Results
▶ Watch: Further applications: denoising and inpainting examples (8:50)
The experimental validation of the proposed framework, while acknowledging the empirical nature of neural network implementations versus theoretical derivations, showcases its versatility across multiple image restoration tasks. The core setup involves an encoder-decoder neural network where the input X is a corrupted image, and the output Y_hat is the restored version. The "common randomness" U is practically implemented by adding dithering noise during the encoding process.
The training process is driven by a composite loss function, comprising the MSE loss (for pixel-level fidelity), a classification loss (for preserving semantic information), and crucially, a Wasserstein loss to enforce distributional alignment. The most striking aspect of the experimental setup is its unsupervised and cross-domain nature: the training uses a database of clean images Y that are not paired with the corrupted input images X. The model learns to generate Y_hat such that its statistical distribution matches that of P(Y), allowing for restoration even when no direct ground truth for X is available in the target domain.
The researchers demonstrated the framework's effectiveness on three distinct restoration applications:
- Super-resolution: The system was tasked with enhancing very low-resolution input images (e.g., blurry digits) to higher resolution. The results visually confirmed that as the allocated bit rate increased, the quality of the super-resolved images improved significantly. A notable observation was that the style of the generated numbers could be completely different from the original low-resolution input, yet still be perfectly legible and high-resolution. This highlights the cross-domain capability, where the model learns to generate outputs consistent with a clean, high-resolution distribution rather than merely upscaling the input pixels.
- Denoising: For images corrupted with white Gaussian noise, the framework effectively removed the noise, producing clean and sharp images. This demonstrates its ability to learn robust representations that can filter out arbitrary noise patterns based on the clean image distribution.
- Inpainting: In this task, parts of the images were masked out with black squares. The model successfully filled in the missing regions, generating coherent and visually plausible content. Again, the unsupervised and cross-domain nature implies that the model learns to infer missing information from the general statistics of clean images rather than relying on a specific ground truth for each masked input.
The results were primarily presented through visual examples and graphs illustrating the classic rate-distortion trade-off (as rate increases, distortion decreases), confirming that the framework behaves as expected in this regard. While specific quantitative benchmarks against state-of-the-art methods were not the primary focus of this foundational work, the qualitative results convincingly validate the framework's ability to perform complex, unsupervised, cross-domain restoration while considering rate and classification constraints. The definition of "rate" was clarified as bits per source or bits per pixel (BPP), which can be fractional, reflecting average information content.
Practical Implications
▶ Watch: Q&A: General constrained problem solving remains open (10:35)
This work carries substantial practical implications for various domains, particularly for practitioners, infrastructure teams, model builders, and deployers working with large-scale data and AI/ML systems.
Firstly, the framework offers a paradigm shift in compression design. Instead of solely focusing on pixel-level fidelity, it encourages a more holistic view that incorporates the utility of compressed data for downstream tasks like classification. This means that model builders can now design compression schemes that are explicitly optimized for their specific ML applications, potentially leading to better end-to-end performance even with higher "syntactic" distortion. The tunable lambda parameters in the loss function provide concrete knobs for practitioners to navigate the trade-offs between compression rate, reconstruction quality (distortion), and classification accuracy, allowing for application-specific optimization.
Secondly, the ability to perform unsupervised, cross-domain restoration is a game-changer for data preparation and augmentation. Many real-world datasets are noisy, incomplete, or of low quality, and acquiring perfectly clean, paired ground truth data for tasks like denoising, super-resolution, or inpainting is prohibitively expensive or impossible. This framework bypasses that need by learning to align the distribution of generated outputs with an unpaired database of clean images. This significantly reduces data labeling costs and expands the applicability of restoration techniques to scenarios where paired data is scarce. Infrastructure teams can leverage this to clean up vast amounts of legacy or real-time corrupted data without manual intervention.
Thirdly, the concept of semantic compression emerges as a powerful tool. By allowing the generated output to differ stylistically or even structurally from the input (e.g., generating a different-looking "cat" from a compressed representation of another cat, or restoring low-res digits with a different font), the framework moves beyond mere data reduction towards intelligent data generation. This could be useful in scenarios where the exact pixel values are less important than the semantic content or general visual characteristics, such as in privacy-preserving data sharing or synthetic data generation.
However, there are practical trade-offs and limitations to consider. While the theoretical framework provides closed-form solutions for simplified cases (Bernoulli, Gaussian), solving the general rate- and classification-constrained optimal transport problem for complex data remains an open challenge. The neural network implementation, though effective, is empirical and may not carry the same theoretical guarantees as the toy examples. The "cross-domain" aspect, while enabling unsupervised learning, means that the output might not be an exact reconstruction of the original input, which might not be desirable for applications requiring perfect forensic fidelity. Furthermore, the computational complexity of solving optimal transport problems, even with approximations like Wasserstein GANs, can be significant, potentially impacting deployment in resource-constrained environments. Despite these considerations, the novel framework offers a compelling direction for building more intelligent, task-aware, and data-efficient AI systems.
Key Takeaways
- A novel framework for lossy compression that jointly optimizes rate, distortion, and classification accuracy, moving beyond traditional rate-distortion theory.
- The problem is formulated as a rate- and classification-constrained optimal transport (OT) problem, providing a robust theoretical foundation.
- Enables cross-domain, unsupervised restoration (e.g., super-resolution, denoising, inpainting) by aligning generated image distributions with an unpaired target clean distribution, significantly reducing data annotation needs.
- Introduces shared common randomness to enable deterministic encoder/decoder design and control rate-distortion trade-offs, and utilizes Wasserstein loss for effective distribution alignment in neural network implementations.
- Provides theoretical underpinnings with closed-form solutions for simplified cases (Bernoulli, Gaussian distributions), validating the core mathematical approach.
- Offers a flexible approach for practitioners to balance competing objectives (rate, fidelity, classification) through tunable loss weights, paving the way for more semantic and task-aware compression.
About the Speaker(s)
The talk was a joint effort involving Nam Nguyen, the first author and a student, who was primarily responsible for the neural network implementation and experimental validation. Thinh Nguyen is presented as a collaborator, indicating his role in guiding the research, particularly on the theoretical aspects. He explicitly stated his background is more in theory, acknowledging that the neural network application is an empirical extension. Bella Bose is also listed as a collaborator, contributing to the broader research effort. The team brings together expertise in information theory, optimal transport, and deep learning to tackle complex problems in compression and machine intelligence.
Reviews
→ Top-rated talks at International Conference on Learning Representations 2026
All talks from International Conference on Learning Representations 2026