FedPix: Learning What to Share with Less Leakage in Federated Intelligence
Organizations: Huazhong University of Science and Technology, Wuhan, China · George Mason University, Fairfax, VA, USA
Abstract
Existing federated intelligence paradigms primarily focus on how models are trained or aggregated, while overlooking a more fundamental question: what information should leave the client? Existing methods often share model updates that users cannot easily inspect, or data representations that may reveal sensitive information. Moreover, generating these representations can be computationally expensive for resource-constrained clients. We observe that image classification does not require all the visual details needed to reconstruct the original image. This suggests that clients could share less information while preserving task performance. However, learning what to preserve is challenging when the server cannot access raw client data. To address this challenge, we propose FedPix, which learns to share compact, visually inspectable images instead of model updates or intermediate features. The key idea is to use the shared representations themselves to learn what information should be preserved and what can be discarded. By balancing task utility and reconstruction resistance, FedPix enables the server to improve the representations without accessing raw client data, while keeping client-side computation lightweight. Extensive experiments on BloodMNIST, CIFAR-10, FashionMNIST, and MNIST demonstrate that FedPix achieves strong reconstruction resistance, with reconstruction PSNR as low as 6.87dB and synthetic PSNR as low as 6.74dB. Meanwhile, FedPix reduces client runtime by up to 96.0% (from 1223s to 49s on CIFAR-10), while maintaining competitive classification accuracy of 99.18% on MNIST, 89.97% on FashionMNIST, 82.24% on BloodMNIST, and 65.63% on CIFAR-10.
Figures & tables
| MedMNIST-BloodMNIST | ||||||||
| Method | ACC (%) | Reconstructed Data | Synthetic Data | Time | ||||
| PSNR | SSIM | LPIPS | PSNR | SSIM | LPIPS | (s) | ||
| FedAvg (2017) | 74.35 11.39 | — | — | — | — | — | — | 241 108 |
| CollabDM (2024) | 60.25 2.94 | — | — | — | 20.49 0.23 | 0.78 0.01 | 0.03 0.00 | 1830 170 |
| FedDM (2023) | 78.79 2.40 | — | — | — | 33.99 0.92 | 0.98 0.00 | 0.00 0.00 | 754 308 |
| FedSD2C (2024) | 68.56 2.81 | 10.36 0.10 | 0.19 0.00 | 0.21 0.00 | 13.94 0.16 | 0.45 0.02 | 0.14 0.01 | 245 9 |
| BloodMNIST | |||||
|---|---|---|---|---|---|
| Variant | ACC (%) | Syn. PSNR | Syn. SSIM | Recon. PSNR | Recon. SSIM |
| Direct downsampling | 86.58 3.09 | 25.22 0.21 | 0.8959 0.0023 | — | — |
| W/o anti-recon. loss | 76.48 13.05 | 6.73 1.45 | 0.2427 0.1369 | 8.18 1.00 | 0.2838 0.1412 |
| PSNR only | 87.88 4.37 | 10.59 1.72 | 0.4990 0.1548 | 11.64 1.58 | 0.4648 0.1340 |
| SSIM only | 75.47 10.28 | 6.89 1.19 | 0.2294 0.0927 | 8.72 1.06 | 0.2663 0.0935 |
| Complete FedPix | 81.75 4.75 | 9.32 1.54 | 0.3442 0.0932 | 10.97 1.50 | 0.3784 0.0843 |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | ACC (%) | |||
|---|---|---|---|---|
| 1 Client | 5 Clients | 20 Clients | 100 Clients | |
| FedAvg (2017) | 78.52 1.12 | 69.83 2.56 | 59.29 8.66 | 39.02 5.98 |
| FedProx (2020) | 76.68 0.90 | 68.87 2.93 | 61.82 7.14 | 32.84 3.48 |
| SCAFFOLD (2020) | 74.47 2.59 | 70.75 2.40 | 68.14 1.31 | 57.70 9.90 |
| PARS (2026) | 69.70 4.72 | 63.02 2.94 | 67.16 1.66 | 64.03 0.82 |
| FedSD2C (2024) | 28.72 1.36 | 39.69 2.96 | 45.54 0.72 | 44.22 0.84 |
| Method | ACC (%) | |||
|---|---|---|---|---|
| FedAvg (2017) | 11.09 1.74 | 22.87 9.58 | 60.74 9.57 | 71.28 0.61 |
| FedProx (2020) | 11.39 2.46 | 24.02 10.22 | 60.89 8.20 | 71.23 0.73 |
| SCAFFOLD (2020) | 10.22 0.35 | 18.93 19.62 | 54.02 22.85 | 73.28 0.77 |
| PARS (2026) | 9.94 0.20 | 21.49 14.01 | 48.62 23.37 | 58.15 26.99 |
| FedSD2C (2024) | 29.88 1.86 | 36.69 1.12 | 41.95 2.12 | 47.81 1.40 |
| Parameter | Value | Description |
|---|---|---|
| Input channels | 3 | RGB input |
| Resize target | Pre-resize from native photo | |
| Encoder input | Fixed input resolution | |
| Output size | Compressed spatial size | |
| Hidden dimension | 128 | Internal channel count |
| Convs per block | 5 | ConvPoolBlock depth |
| Attribute | Value |
|---|---|
| Manufacturer / Model | Commercial device (Snapdragon 660) |
| SoC / Board | Snapdragon 660 (sdm660) |
| CPU architecture | arm64-v8a, 8 cores @ 2.21 GHz |
| Total / Available RAM | 5.70 GB / 2.02 GB |
| Total / Available Storage | 110.4 GB / 6.77 GB |
| GPU Renderer | Adreno 512 |
| Metric | Value |
|---|---|
| Total images processed | 100 |
| Total wall-clock time | 85.62 s |
| Avg. encode time / img | 849.33 ms |
| Throughput (images/sec) | 1.17 img/s |
| Throughput (input data) | 3.83 MB/s |
| Total input data | 328.22 MB |
| Metric | Before | After | Delta |
|---|---|---|---|
| Battery level | 97.0% | 94.0% | pp |
| Battery voltage | 4,089 mV | 3,849 mV | mV |
| Charge counter | 1,859 Ah | 1,832 Ah | Ah |
| Device temperature | 31.5 ∘ C | 32.0 ∘ C | C |
| Charging state | Not charging (battery-only) | ||
| Dataset | Attack Type | PSNR (dB) | SSIM | LPIPS |
|---|---|---|---|---|
| BloodMNIST | Adaptive (ResUNet) | 13.53 1.07 | 0.48 0.07 | 0.11 0.02 |
| Synthetic | 8.84 1.34 | 0.32 0.10 | 0.26 0.02 | |
| Reconstructed (MoIA) | 10.20 1.02 | 0.34 0.08 | 0.26 0.03 | |
| FashionMNIST | Adaptive (ResUNet) | 13.81 1.88 | 0.56 0.06 | 0.08 0.02 |
| Synthetic | 8.27 2.34 | 0.29 0.09 | 0.39 0.09 | |
| Reconstructed (MoIA) | 8.19 0.98 | 0.26 0.05 | 0.41 0.05 |
| Method | Privacy Aware? | Protection Mechanism | Limitations | Our Innovation | Edge-friendly? |
| Traditional FL | |||||
| FedAvg ’17 | Uploads model parameters instead of raw data | Uploaded data is not user-auditable | Uploads human-interpretable compressed images instead of model parameters | ||
| SCAFFOLD ’20 | |||||
| FedProx ’20 | |||||
| PARS ’26 | |||||
| Federated Data Condensation | |||||