TL;DR
This paper introduces "Neural Distributed Source Coding" (Neural DSC), a novel framework that uses conditional Vector-Quantized Variational Autoencoders (VQ-VAEs) to achieve efficient lossy compression for distributed data sources, even with complex, unknown correlations. This approach overcomes limitations of prior methods by being agnostic to correlation structures and scaling to high dimensions, achieving state-of-the-art results on image compression tasks.
What Problem Does This Paper Address?
Distributed Source Coding (DSC) deals with encoding data from multiple sources that are physically separated, with the decoder having access to correlated "side information" that the encoder doesn't have. The groundbreaking Slepian-Wolf theorem showed that, surprisingly, lossless compression rates can be as good as if the encoder did have this side information. However, extending this to lossy compression and making it practical for real-world, high-dimensional data with complex correlations has been a major challenge. Existing methods often rely on hand-crafted models for specific correlation structures (like simple Gaussian or Bernoulli sources) or are limited to synthetic datasets. This leaves a significant gap between theoretical potential and practical application, especially for data like multimedia streams from multiple sensors.
Methods
The core innovation is the use of a conditional Vector-Quantized Variational Autoencoder (VQ-VAE). Unlike standard VAEs, this VQ-VAE is designed for the DSC setting:
- Asymmetric Conditioning: The encoder only sees the source data (x), while the decoder sees both the compressed representation of x and the correlated side information (y).
- VQ-VAE for Discrete Latents: The VQ-VAE uses a codebook to quantize the encoder's output into discrete latent representations. This is crucial for achieving compression and allows for further rate reduction by fitting a latent prior model (a Transformer in this case) for arithmetic coding.
- Learned Encoder/Decoder: Instead of relying on predefined models, the VQ-VAE learns the encoder and decoder mappings directly from data, making it agnostic to the specific correlation structure between x and y.
- dELBO Objective: The training objective is a modified Evidence Lower Bound (ELBO), termed "distributed ELBO" (dELBO), which accounts for the asymmetric information available to the encoder and decoder. This objective balances reconstruction quality (distortion) with the rate of the compressed representation.
Datasets
The paper evaluates Neural DSC on several datasets:
- KITTI Stereo Dataset: Used for stereo image compression experiments, leveraging the inherent spatial correlation between left and right stereo images.
- CelebA-HQ Dataset: Used to test the model's ability to handle complex correlations beyond simple spatial similarity. Images were vertically split into input and side information.
- i.i.d. Bernoulli Sources: A synthetic dataset used to compare against non-learning baselines like DISCUS, focusing on a simpler, systematic correlation structure.
- MNIST Digits: Used for a proof-of-concept experiment in distributed training, where gradients from different workers were treated as correlated sources.
Key Insights and Ideas
- Data-Driven DSC is Feasible: The most significant insight is that deep generative models, specifically VQ-VAEs, can learn effective distributed source coding schemes without needing explicit, hand-crafted models of the data's correlation structure.
- Agnosticism to Correlation: The VQ-VAE's ability to learn complex mappings allows it to handle arbitrary correlations between the source and side information, a major limitation of previous DSC methods.
- Practical Rate Control: The discrete latent space of VQ-VAEs provides a more direct way to control the compression rate compared to standard VAEs, which is valuable for applications with strict bandwidth constraints.
- Latent Prior for Rate Reduction: Fitting a latent prior model (like a Transformer) to the VQ-VAE's discrete latents can further improve compression rates, demonstrating a powerful post-hoc optimization strategy.
- "Binning" Emergence: The experiments suggest that the learned VQ-VAE implicitly learns to perform a form of "binning" (grouping symbols), a key concept in theoretical DSC, as evidenced by the increased reconstruction diversity when correct side information is provided.
Key Results
- State-of-the-Art Image Compression: Neural DSC achieves state-of-the-art PSNR on stereo image compression tasks, outperforming existing methods like DSIN, NDIC, and NDIC-CAM, especially at higher bitrates. It also remains competitive in MS-SSIM.
- Parameter Efficiency: The proposed models are significantly more parameter-efficient than leading baselines, achieving comparable or better performance with fewer parameters.
- Handling Complex Correlations: On the CelebA-HQ dataset, the distributed VQ-VAE closely matches the performance of a "joint" model (where the encoder does have side information), significantly outperforming a "separate" model that ignores side information. This demonstrates its effectiveness with complex, non-trivial correlations.
- Distributed Training Proof-of-Concept: The framework shows promise for gradient compression in distributed training, where correlated gradients from multiple workers can be compressed efficiently, leading to faster convergence and comparable accuracy to joint compression.
Limitations and Future Work
- Training Stability: VQ-VAEs can be less stable to train than standard VAEs, though the paper notes that the commitment loss and EMA codebook updates help mitigate this.
- Theoretical vs. Practical: While the method approaches theoretical limits for certain synthetic cases, the paper acknowledges that for very high rates, learned methods might not perfectly match asymptotic theoretical bounds.
- Future Directions:
- Hybrid Approaches: Combining neural learning with traditional DSC techniques like DISCUS for potentially improved performance and complexity management.
- Multi-Source DSC: Extending the framework to handle more than two distributed encoders.
- New Objectives: Exploring scenarios where the decoder's goal is not just reconstruction but deriving a function from the correlated sources.
- Further Exploration of Binning: Deeper investigation into the implicit binning behavior of the learned models.
Summary updated