Abstract
Traditional neural transform coding (NTC) relies on centralized datasets, which is often impractical due to privacy and bandwidth constraints. This paper introduces Fed-NTC, a framework for training neural image compressors across multiple clients with statistically diverse (heterogeneous) data. By sharing global analysis and synthesis transforms while personalizing entropy models for each client, Fed-NTC achieves superior rate-distortion performance compared to both isolated local training and standard global federated averaging.
Introduction
Neural transform coding has revolutionized image compression by learning optimized representations. However, in real-world applications like medical imaging or mobile sensor networks, data is distributed across clients and cannot be centralized. The primary challenge in these settings is statistical heterogeneity (non-i.i.d. data), where different clients observe data with varying noise profiles or styles. Standard Federated Learning (FL) methods like FedAvg, which aim to learn a single global model, often fail in compression because a "one-size-fits-all" entropy model becomes inefficient, leading to poor compression rates for individual users.
Methodology: The Fed-NTC Framework
The authors propose a hybrid architecture that splits the neural compressor into two distinct components:
- Shared Global Transforms: The analysis transform ($g_a$) and synthesis transform ($g_s$) act as a shared feature extractor and reconstructor. These are updated globally via a central server, leveraging the common underlying manifold structure shared across all images.
- Personalized Local Entropy Models: The entropy model ($p_{\hat{y}}$), which estimates the probability distribution of latent representations for bit-assignment, is kept local to each client. This allows the model to adapt to the specific "dialect" or feature frequencies of a client's data.
The Fed-NTC algorithm involves a server distributing global transforms to clients, who then fine-tune their local entropy models before updating the transforms and sending them back for global averaging.
Experimental Setup
The framework was evaluated using the SVHN and CIFAR10 datasets, modified to simulate heterogeneity. Each of the 100 clients was assigned a limited subset of classes ($S=2$ or $S=5$), ensuring significant feature-level diversity across the network.
Results and Discussion
Fed-NTC consistently outperformed both isolated local training (Local-NTC) and standard federated averaging (FedAvg-NTC).
Key findings include:
- Superiority over FedAvg: Standard FedAvg performed significantly worse than even local training, confirming that a global entropy model is a major bottleneck in heterogeneous environments.
- Benefits of Global Sharing: Fed-NTC achieved higher PSNR at the same bits-per-pixel (bpp) than Local-NTC, demonstrating that sharing the global manifold structure helps clients learn better representations than they could in isolation.
- Robustness: The performance lead was maintained across different levels of data diversity.
Conclusion and Future Work
Fed-NTC successfully addresses the challenge of federated image compression under data heterogeneity. While empirical results are strong, future work includes formal algorithmic convergence analysis, exploring potential privacy leaks from shared transforms, and scaling the approach to high-resolution imagery and more complex entropy models.
Summary updated