betaFeedback

WorksComputer Science

FedPix: Learning What to Share with Less Leakage in Federated Intelligence

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.87~dB and synthetic PSNR as low as 6.74~dB. Meanwhile, FedPix reduces client runtime by up to 96.0% (from 1223~s to 49~s 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.

Introduction

Existing federated intelligence paradigms mainly focus on how models are trained or aggregated across clients, while overlooking a more fundamental question: what information should leave the client in the first place? Personalized services—recommendation systems, intelligent assistants, medical diagnosis—increasingly depend on users’ local data such as photos, medical images, and interaction histories to capture user preferences and support downstream tasks [32]. Directly uploading raw data, however, may expose users’ private information. The core challenge is therefore not only how to train models without centralizing raw data, but how to design a principled data interface that controls what representation the client outputs to the server.

Existing federated paradigms provide only partial answers to this question, and they can be understood as operating at three distinct layers of the system stack.

Model coordination layer. Federated learning (FL) retains raw data locally, yet requires clients to perform iterative optimization and exchange large, abstract, and user-unreadable model updates [29]. Under heterogeneous client data, local optimization may also introduce client drift before aggregation [20]. This line of work addresses how models should be coordinated across clients, but does not specify what information should leave each client—it simply transmits whatever the local optimizer produces.

Representation transmission layer. Federated data condensation (FDC) communicates human-readable synthetic samples, but the generation process can be expensive on edge devices, and the resulting images may still retain excessive similarity to the original images [47]. Holland et al., 2024; Zhang et al., 2024b). Split federated learning (SFL) reduces some client-side computation, but transmits intermediate features that users find difficult to inspect or compare against their original data [43, 48]. These methods transmit representations rather than model parameters, yet they optimize for either distribution fidelity (FDC) or training efficiency (SFL), not for a controlled privacy–utility trade-off at the data boundary.

Data interface layer. Existing federated paradigms have not explicitly optimized a privacy-controllable data interface that governs what information is released from the client. Such an interface differs from conventional compression or feature transmission in its optimization objective: instead of minimizing storage cost, communication cost, or reconstruction distortion alone, it explicitly learns which information should be exposed through the client-to-server boundary according to downstream utility and privacy requirements. Data-level differential privacy provides formal protection through random perturbation, yet often incurs a substantial loss of downstream utility [13, 37, 8]. Conventional compression and learned compression are primarily designed to preserve visual fidelity rather than suppress reconstructable information [45, 40, 5, 4]. Task-oriented data compression can, in principle, filter out both privacy- and utility-irrelevant information; however, these methods assume direct access to original data during optimization and mainly target compression efficiency for downstream analytics, rather than designing a privacy-aware interface for federated data sharing [2, 3].

Different from existing task-oriented compression methods [2, 3], which optimize encoders with direct access to source data for compression efficiency, FedPix studies representation interface learning under federated constraints where raw client samples are unavailable. The central objective is therefore not bitrate optimization but controlling the information exposed through client-to-server transmission while preserving downstream utility.

These limitations indicate that a practical federated data method should satisfy three requirements:

R1: User auditability. The representation transmitted by the client should remain in the same readable form as the original data (e.g., image-to-image), enabling direct user inspection.

R2: Edge-device friendliness. The primary computational burden should be borne by the server whenever possible, accommodating personal phones and laptops.

R3: Reconstruction privacy with task utility. The representation should minimize information in the uploaded representation that is useful for reconstructing the original input while preserving the information required by the downstream task, thereby making the uploaded representation auditable by and passable through user audit while still meeting the system’s utility objectives.

We propose FedPix, a federated data interface that learns a task-sufficient yet reconstruction-resistant representation interface before data leaves the client. In this framework, each client applies a lightweight representation encoder once to the original image and uploads a compact, human-readable small-sized image together with its label. The server upsamples the transmitted small-sized images, trains a classifier on the resulting images, then improves the encoder, and redistributes the updated encoder to participating clients. Consequently, clients perform no backpropagation or iterative local optimization. The encoder serves as the implementation module of this interface, realizing the privacy–utility trade-off through a learnable capacity bottleneck. FedPix provides an auditable transmission object (R1), substantially reduces client-side computation (R2), and explicitly optimizes the trade-off between reconstruction similarity and classification utility (R3).

FedPix must improve the encoder without observing raw client inputs. To this end, we develop an optimization strategy that operates without access to client raw data: it first upsamples the uploaded small-sized images to train a classifier, then obtains the classifier’s correct classification distribution over the small-sized images. Treating the encoder and classifier as an integrated whole, for each small-sized image that has been correctly classified, we upsample it back to the original resolution and re-input it into the encoder for a second encoding pass. The encoder is then optimized with a utility objective—that the twice-encoded images remain correctly classified by the classifier—and a privacy objective—that the dissimilarity between the before-and-after encoded images is maximized. This design encourages the encoder to correctly extract classification-beneficial information while making the encoded images as dissimilar as possible to their pre-encoding counterparts, thereby reducing the feasibility of reconstruction attacks.

Traditional and proposed federated learning architectures

Figure 1. Traditional FL burdens clients with local training and communicates opaque model updates that users cannot audit, motivating the need for a lightweight, user-auditable data interface.

A theoretical analysis characterizes the task-preserving representation capacity region and identifies a classifier-sensitive distortion mechanism, explaining when large visual distortion can coexist with minimal classification loss.

Experiments on BloodMNIST, CIFAR-10, FashionMNIST, and MNIST evaluate classification utility, reconstruction resistance, client computation, communication cost, non-IID robustness, and membership inference. FedPix reduces client runtime by up to 96.0% while maintaining competitive classification accuracy. More importantly, the ACC–Synthetic-SSIM analysis explicitly evaluates the central privacy–utility question: across the tested configurations, FedPix lies on the empirical nondominated frontier on CIFAR-10 and BloodMNIST, while the relative advantage is dataset-dependent on FashionMNIST. These results support the intended mechanism: a learned capacity bottleneck can remove visually reconstructable information while retaining sufficient information for the downstream task.

Contributions

The contributions of this work are:

  • An auditable federated data interface. We introduce a representation-sharing paradigm that treats client-to-server transmission as an information selection interface. Unlike conventional representation transmission, the proposed interface learns a task-sufficient representation under federated constraints, determining what information can be exposed to the server while maintaining downstream utility. Clients upload compact, human-readable images through a single encoder forward pass—not model updates, not intermediate features, and not synthetic data—while all iterative optimization is performed on the server.

  • Raw-data-free representation evolution mechanism. We develop an upsample–recompress closed loop with correctness-filtered utility preservation, enabling the server to train a privacy-aware encoder without observing raw client inputs.

  • A mechanism-level privacy–utility analysis (Appendix). We characterize the task-preserving representation capacity region, identifying a free-representation regime where reconstruction distortion can increase without increasing the Bayes cross-entropy.

  • Comprehensive empirical evaluation. We evaluate utility, reconstruction resistance, auditability, client cost, communication, non-IID behavior, and membership inference across four datasets, including a direct ACC–Synthetic-SSIM frontier analysis over multiple compression levels.

Preliminaries

Threat Model

We consider an honest-but-curious server that follows the protocol but may infer private information from uploaded data [36, 19, 35]. Clients share an intermediate representation S=Φ(X)S = \Phi(X) and its label rather than raw input XX; SS may be synthetic data, a feature map, or a latent code (Xiong et al., 2023; Hollard et al., 2022; Erdőgan et al., 2022; Zhang et al., 2024b). The server observes SS. For FedPix, the server trains Φ\Phi and therefore knows its architecture and parameters. The optimization-based inversion attack below uses this encoder for gradient computation; Appendix I additionally evaluates a white-box learned restoration attack.

We emphasize that FedPix targets empirical reconstruction resistance rather than cryptographic privacy guarantees. The goal is to reduce exploitable information exposed through client-to-server representations under realistic inference attacks. Labels are transmitted in the clear and are not protected by this interface. The protocol also does not provide a formal bound on cumulative leakage from repeated uploads across rounds.

Figure 2. Model inversion attacks exploit intermediate representations to reconstruct original inputs; suppressing visually recoverable information in transmitted representations is the core defense strategy of FedPix.

We evaluate reconstructable leakage through the model inversion attack of He et al. [17]:

X^∗=arg min⁡X^ L(Φ(X^),S)+λRX(X^),(1)\hat{X}^{*} = \underset{\hat{X}}{\operatorname{arg\,min}}\ \mathcal{L}(\Phi(\hat{X}), S) + \lambda R_X(\hat{X}), \tag*{(1)}

where RXR_X imposes an image prior. FedPix does not claim to prevent all privacy attacks, but focuses on limiting visually recoverable information exposed through the client-server interface.

Method

Notation

We denote the original image and label at round tt by DtD_t and LtL_t, where images have spatial size S×SS \times S (e.g., 32 × 32). The representation encoder VtV_t maps an S×SS \times S input to a compact y×yy \times y output (y<Sy < S), producing the capacity-controlled representation It=Vt(Dt)I_t = V_t(D_t) uploaded by the client. The server maintains a classifier CtC_t and updates both modules iteratively. The joint training objective combines three terms: a utility consistency loss Lce\mathcal{L}_{\mathrm{ce}} (cross-entropy restricted to samples whose classifier prediction matches the ground-truth label, i.e., Itcorrect={i∣L^t,i=Lt,i}I_t^{\mathrm{correct}} = \{i \mid\hat{L}_{t,i} = L_{t,i}\}), a structural dissimilarity loss Lssim\mathcal{L}_{\mathrm{ssim}}, and a pixel-level dissimilarity loss Lpsnr\mathcal{L}_{\mathrm{psnr}}, weighted by λ\lambda and β\beta respectively. The representation dimension yy controls the physical capacity of the uploaded data.

Complete Iterative Process

Different from conventional compression systems that optimize encoders using accessible source samples, FedPix evolves the representation interface through server-side optimization because raw client data never participates in encoder training.

Given the original data pair (Dt,Lt)(D_t, L_t), the client encodes DtD_t via the encoder: It=Vt(Dt)I_t = V_t(D_t), where VtV_t maps from S×SS \times S to y×yy \times y (y<Sy < S). The compressed representation ItI_t and label LtL_t are uploaded to the server.

The server then performs two sequential stages. Stage 1 (Classifier Update): The classifier CtC_t is trained on upsampled representations to minimize cross-entropy:

Ct+1=arg min⁡C CrossEntropy⁡(C(Upsample⁡(It)),Lt).C_{t+1} = \underset{C}{\operatorname{arg\,min}}\ \operatorname{CrossEntropy}(C(\operatorname{Upsample}(I_t)), L_t).

Stage 2 (Representation Interface Evolution): The server updates VtV_t through five steps. Step 1 (Freeze classifier). The parameters of Ct+1C_{t+1} are frozen to fix the decision boundary, so subsequent optimization reflects only the encoder’s ability to preserve task-relevant information.

Figure 3. FedPix shifts computation to the server: clients only perform a single forward pass, while the server trains both the classifier and the encoder via an upsample–recompress closed loop without accessing raw data.

Step 2 (Identify consistent samples). The frozen classifier predicts a hard label L^t,i\hat{L}_{t,i} by taking the class with the largest output on each upsampled representation. Correctly classified indices are recorded as Itcorrect={i∣L^t,i=Lt,i}\mathcal{I}^{\mathrm{correct}}_t = \{i \mid\hat{L}_{t,i} = L_{t,i}\}. These samples participate in the encoder’s utility-preservation training.

Step 3 (Upsample–recompress closed loop). Since the server cannot access DtD_t, and the computation graph from DtD_t to ItI_t is broken at the client side, the server constructs a differentiable surrogate: It′=UpSample⁡(It),It′′=Vt(It′)I^{\prime}_t = \operatorname{UpSample}(I_t), I^{\prime\prime}_t = V_t(I^{\prime}_t). This closed loop enables server-side optimization without raw data access, and trains VtV_t to retain only the information sufficient for correct classification when recompressing the upsampled It′I^{\prime}_t.

Step 4 (Joint loss). For utility preservation, only consistent samples contribute to the cross-entropy: Lce=−1∣Itcorrect∣∑i∈Itcorrectlog⁡p(y^i=Lt,i∣It′′)\mathcal{L}_{\mathrm{ce}} = -\frac{1}{|\mathcal{I}^{\mathrm{correct}}_t|} \sum_{i \in\mathcal{I}^{\mathrm{correct}}_t} \log p(\hat{y}_i = L_{t,i} \mid I^{\prime\prime}_t), where It′′′=UpSample⁡(It′′)I^{\prime\prime\prime}_t = \operatorname{UpSample}(I^{\prime\prime}_t). For reconstruction suppression, we directly minimize Lssim=SSIM⁡(UpSample⁡(It′′),It′)\mathcal{L}_{\mathrm{ssim}} = \operatorname{SSIM}(\operatorname{UpSample}(I^{\prime\prime}_t), I^{\prime}_t) and Lpsnr=PSNR⁡(UpSample⁡(It′′),It′)\mathcal{L}_{\mathrm{psnr}} = \operatorname{PSNR}(\operatorname{UpSample}(I^{\prime\prime}_t), I^{\prime}_t). Minimizing these metrics does not provide formal differential privacy guarantees; instead, it explicitly discourages the preservation of visually recoverable structures commonly exploited by reconstruction attacks. The joint objective is:

Ltotal=λ⋅Lce+Lssim+β⋅Lpsnr,\mathcal{L}_{\mathrm{total}} = \lambda\cdot\mathcal{L}_{\mathrm{ce}} + \mathcal{L}_{\mathrm{ssim}} + \beta\cdot\mathcal{L}_{\mathrm{psnr}},

where λ\lambda controls utility-preservation and β\beta controls reconstruction-suppression (SSIM term has fixed unit weight).

Step 5 (Gradient update). Vt+1=Vt−η⋅∇VtLtotalV_{t+1} = V_t - \eta\cdot\nabla_{V_t}\mathcal{L}_{\mathrm{total}}.

Inference Phase

After TT training rounds, the framework produces a representation encoder VT−1V_{T-1} and a classifier CTC_T. For a new sample DnewD_{\mathrm{new}}, inference encodes it to Inew=VT−1(Dnew)I_{\mathrm{new}} = V_{T-1}(D_{\mathrm{new}}), upsamples, and passes it to CTC_T for prediction y^new\hat{y}_{\mathrm{new}}. Since VT−1V_{T-1} suppresses visually recoverable information, even if an attacker obtains InewI_{\mathrm{new}} and attempts a model inversion attack, reconstructing the original input is difficult. Meanwhile, CTC_T is trained to classify accurately from such capacity-constrained representations, unifying reconstruction resistance and classification utility within a single framework.

Theoretical Motivation

We provide a theoretical perspective on why capacity-constrained representations can improve reconstruction resistance without necessarily degrading task utility. Let VV denote the encoder mapping an image DD to a compact representation I=V(D)I = V(D) of size y×yy \times y (y<Sy < S), and let CC be the server-side classifier. FedPix’s objective is formalized as min⁡C,VLsim(V)\min_{C,V} \mathcal{L}_{\mathrm{sim}}(V) s.t. Lcls(C,V)≤ϵ\mathcal{L}_{\mathrm{cls}}(C,V) \le\epsilon, with the Lagrangian relaxation min⁡C,VλLcls(C,V)+Lsim(V)\min_{C,V} \lambda\mathcal{L}_{\mathrm{cls}}(C,V) + \mathcal{L}_{\mathrm{sim}}(V) (complete proofs in Appendix).

Proposition 1 (Classifier-sensitive distortion). Let Ct+1C_{t+1} be a classifier with κ\kappa-Lipschitz Jacobian, and let Δt\Delta_t denote the pixel distortion between the original image and its upsampled compressed representation. Then ∣ℓcls(Ct+1(Itup),Lt)−ℓcls(Ct+1(Dt),Lt)∣≤2(∥∇DCt+1(Dt)Δt∥2+κ2∥Δt∥22)|\ell_{\mathrm{cls}}(C_{t+1}(I^{\mathrm{up}}_t), L_t) - \ell_{\mathrm{cls}}(C_{t+1}(D_t), L_t)| \le\sqrt{2}(\lVert\nabla_D C_{t+1}(D_t)\Delta_t\rVert_2 + \frac{\kappa}{2}\lVert\Delta_t\rVert_2^2).

Proposition 1 separates pixel distortion from classifier-sensitive distortion: a compressed image can exhibit large visual deviation (low PSNR/SSIM) while incurring minimal classification loss, provided the distortion lies in classifier-insensitive directions. The proof is provided in the Appendix.

Theorem 2 (Task-preserving capacity threshold). Under a canonical task–nuisance decomposition of the image space, if the representation capacity ryr_y exceeds the task-relevant dimension dtaskd_{\mathrm{task}}, there exists an encoder that discards nuisance information contributing to reconstruction while preserving optimal classification performance. When ry<dtaskr_y < d_{\mathrm{task}}, no linear encoder can preserve all label-relevant information.

The full statement and proof (Appendix) identify a task-preserving capacity region: as long as ry≥dtaskr_y \ge d_{\mathrm{task}}, reconstruction error can increase without degrading classification performance. Together, these results provide a mechanism-level explanation for the empirical privacy–utility frontier.

Experiments

Experimental Setup

Datasets and Baseline Methods

We evaluate FedPix on four standard datasets: BloodMNIST, CIFAR-10, FashionMNIST, and MNIST. Experiments use 10 clients with full participation (join ratio = 1.0). Non-IID data distributions are simulated via a Dirichlet distribution (α=0.5\alpha= 0.5). Unless stated otherwise, early stopping is applied: training halts when accuracy improvement is below 1% compared to the previous round. This reduces computational load on edge devices and avoids excessive communication rounds that degrade user experience. Experiment 1 (baseline comparison) is repeated 10 times and averaged; others are repeated 5 times and averaged.

Evaluation metrics include classification accuracy (ACC, measuring model utility), model inversion attack metrics (PSNR↓\downarrow, SSIM↓\downarrow, LPIPS↑\uparrow, measuring reconstruction resistance), client runtime (measuring computational efficiency), and total communication volume (measuring communication overhead).

PSNR, SSIM, and LPIPS are computed using the IQA-PyTorch toolbox [9]. Before computing PSNR and SSIM, all images are normalized to the range [0,1].

Comprehensive Baseline Comparison

This experiment answers a core question: Can FedPix simultaneously satisfy user auditability (R1), edge-device friendliness (R2), and the reconstruction-utility trade-off (R3)? Results under the Non-IID setting (α=0.5\alpha= 0.5) are shown in Table 1.

MedMNIST-BloodMNIST
MethodACC↑ (%)Reconstructed Data PSNR↓Reconstructed Data SSIM↓Reconstructed Data LPIPS↑Synthetic Data PSNR↓Synthetic Data SSIM↓Synthetic Data LPIPS↑Time↓ (s)
FedAvg (2017)74.35±11.39——————241±108
CollabDM (2024)60.25±2.94———20.49±0.230.78±0.010.03±0.001830±170
FedDM (2023)78.79±2.40———33.99±0.920.98±0.000.00±0.00754±308
FedSD2C (2024)68.56±2.8110.36±0.100.19±0.000.21±0.0013.94±0.160.45±0.020.14±0.01245±9
SFL (2020)64.86±11.6837.43±1.560.99±0.000.00±0.00———103±43
FedPix (Ours)82.24±4.4410.20±1.020.34±0.080.26±0.038.84±1.340.32±0.100.26±0.0213±5
CIFAR-10
MethodACC↑ (%)Reconstructed Data PSNR↓Reconstructed Data SSIM↓Reconstructed Data LPIPS↑Synthetic Data PSNR↓Synthetic Data SSIM↓Synthetic Data LPIPS↑Time↓ (s)
FedAvg (2017)65.98±3.02——————1223±370
CollabDM (2024)31.86±1.19———18.12±0.170.76±0.010.03±0.002570±164
FedDM (2023)45.10±1.59———30.14±0.540.96±0.000.01±0.002479±318
FedSD2C (2024)44.15±0.798.83±0.100.12±0.000.22±0.0012.27±0.100.30±0.010.22±0.01493±16
SFL (2020)42.12±8.7638.81±0.431.00±0.000.00±0.00———412±180
FedPix (Ours)65.63±2.0810.94±1.120.33±0.080.30±0.088.47±1.440.24±0.070.39±0.0549±11
FashionMNIST
MethodACC↑ (%)Reconstructed Data PSNR↓Reconstructed Data SSIM↓Reconstructed Data LPIPS↑Synthetic Data PSNR↓Synthetic Data SSIM↓Synthetic Data LPIPS↑Time↓ (s)
FedAvg (2017)87.12±4.52——————1438±261
CollabDM (2024)69.22±5.04———17.24±0.160.69±0.010.03±0.003326±227
FedDM (2023)81.06±0.91———24.16±0.480.81±0.010.01±0.003263±584
FedSD2C (2024)78.54±1.017.38±0.140.16±0.010.34±0.0112.23±0.250.43±0.020.15±0.01712±30
SFL (2020)76.36±5.3032.13±1.340.92±0.010.00±0.00———398±172
FedPix (Ours)89.97±0.658.19±0.980.26±0.050.41±0.058.27±2.340.29±0.090.39±0.0963±16
MNIST
MethodACC↑ (%)Reconstructed Data PSNR↓Reconstructed Data SSIM↓Reconstructed Data LPIPS↑Synthetic Data PSNR↓Synthetic Data SSIM↓Synthetic Data LPIPS↑Time↓ (s)
FedAvg (2017)97.78±0.39——————1107±320
CollabDM (2024)83.53±1.76———14.05±0.120.53±0.010.05±0.003471±231
FedDM (2023)95.11±0.28———25.94±0.580.73±0.010.00±0.002674±237
FedSD2C (2024)95.31±0.735.82±0.060.18±0.010.36±0.0014.33±0.180.47±0.010.06±0.01814±61
SFL (2020)96.09±2.1437.90±0.940.88±0.020.00±0.00———423±104
FedPix (Ours)99.18±0.216.87±1.460.11±0.030.43±0.076.74±2.320.19±0.080.42±0.0848±3

Table 1. FedPix achieves the best or second-best utility–privacy–efficiency across most metrics: highest ACC on 3 of 4 datasets with the lowest client runtime by a wide margin and competitive reconstruction resistance. “—” indicates an unreported or inapplicable metric under the evaluated protocol; it does not imply immunity to reconstruction.

For R2 (utility-efficiency), FedPix achieves the best or second-best ACC across all datasets while requiring the lowest client runtime by a wide margin. On BloodMNIST and FashionMNIST, FedPix attains the highest ACC (82.24% and 89.97%) with runtimes of only 13s and 63s—reductions of 94.6% and 95.6% versus FedAvg. On MNIST, FedPix achieves the highest ACC (99.18%) while requiring merely 48s, a 95.7% runtime reduction versus FedAvg. On CIFAR-10, FedPix’s ACC (65.63%) is on par with FedAvg (65.98%) yet its runtime is merely 49s against FedAvg’s 1223s (a 96.0% reduction). Across all datasets, FedPix consistently ranks first in client efficiency while maintaining competitive or best accuracy.

For R3 (utility-reconstruction), FedPix attains best or second-best reconstructed data quality and ranks first across all synthetic data metrics—confirming strong resistance to model inversion attacks (MoIA). Notably, SFL achieves high-fidelity reconstruction (PSNR 13.38–38.81 dB), revealing the reconstruction risk of uncompressed feature transmission. FedAvg, which uploads model parameters rather than data representations, has no meaningful reconstruction or synthetic data metrics (all “—”), as it operates at the model-coordination layer rather than the data-interface layer.

For R1, FedPix transmits compressed, human-readable image-like data supporting intuitive inspection—a capability absent in SFL and FedAvg which transmit opaque feature vectors or model updates. In contrast, existing baselines each sacrifice at least one requirement: CollabDM and FedDM incur heavy client-side computation, with runtimes up to over 140× that of FedPix; FedSD2C compromises utility for reconstruction resistance; SFL lacks auditability and exposes raw information to reconstruction. In summary, FedPix satisfies R1–R3 simultaneously not by improving model aggregation, but by redesigning the data interface through which clients share information.

Comparison with Differential Privacy and Lossy Compression Methods

We evaluate the ACC–Synthetic-SSIM trade-off across four datasets. Baselines include DP-Pix’19, DP-GLOW’23 (VAE), LDP-Slicing’26, and Deep-FixCX’23. We sweep 6 noise levels for DP methods and 12 compressed image sizes for FedPix.

As shown in Figure 4, FedPix lies on the empirical nondominated frontier on CIFAR-10 and Blood-MNIST. Its relative advantage is configuration- and dataset-dependent on FashionMNIST and MNIST. The evaluated DP-based configurations often incur substantial accuracy costs. This comparison concerns observed accuracy and image similarity; it does not compare methods at matched formal privacy budgets, and FedPix provides no differential privacy guarantee.

Figure 4. Empirical ACC–Synthetic-SSIM trade-offs across the evaluated configurations. Lower SSIM measures reduced direct image similarity, rather than a formal privacy guarantee.

Impact of Compression Size on the Privacy–Utility Trade-off

We sweep the compressed output size yy on CIFAR-10 to map the resulting privacy–utility trade-off; Figure 5 reports the accuracy and reconstruction-similarity trends.

Figure 5. Smaller compression sizes (yy) suppress reconstruction (lower Recon. SSIM) with minimal ACC loss, confirming that capacity constraints filter visually recoverable information while preserving task-relevant features.

Figure 5 shows the effect of varying the compressed output size on CIFAR-10. Increasing the size from 4 to 24 raises ACC from 37.10% to 65.10% with diminishing returns thereafter. Privacy is strongest at size 4 (Reconstruction SSIM 0.127, Synthetic SSIM 0.090) and weakest around size 22. Size 24 offers the best compromise—ACC 65.10% with both SSIM values (0.238 and 0.175) lower than at sizes 20 and 22—confirming that the capacity bottleneck effectively controls the privacy–utility frontier.

Ablation Study Analysis

We conduct an ablation comparing five variants across four datasets (Table 2): (1) Direct downsampling: bicubic downsampling replaces the learnable encoder; (2) W/o anti-recon. loss: both SSIM and PSNR terms are removed (Lssim=0\mathcal{L}_{\mathrm{ssim}}=0, Lpsnr=0\mathcal{L}_{\mathrm{psnr}}=0), retaining only Lce\mathcal{L}_{\mathrm{ce}}; (3) PSNR only: only the PSNR loss is active (Lssim=0\mathcal{L}_{\mathrm{ssim}}=0); (4) SSIM only: only the SSIM loss is active (Lpsnr=0\mathcal{L}_{\mathrm{psnr}}=0); (5) Complete FedPix: both SSIM and PSNR losses are active.

BloodMNIST
VariantACC (%) ↑\uparrowSyn. PSNR ↓\downarrowSyn. SSIM ↓\downarrowRecon. PSNR ↓\downarrowRecon. SSIM ↓\downarrow
Direct downsampling86.58±3.0986.58\pm3.0925.22±0.2125.22\pm0.210.8959±0.00230.8959\pm0.0023——
W/o anti-recon. loss76.48±13.0576.48\pm13.056.73±1.456.73\pm1.450.2427±0.13690.2427\pm0.13698.18±1.008.18\pm1.000.2838±0.14120.2838\pm0.1412
PSNR only87.88±4.3787.88\pm4.3710.59±1.7210.59\pm1.720.4990±0.15480.4990\pm0.154811.64±1.5811.64\pm1.580.4648±0.13400.4648\pm0.1340
SSIM only75.47±10.2875.47\pm10.286.89±1.196.89\pm1.190.2294±0.09270.2294\pm0.09278.72±1.068.72\pm1.060.2663±0.09350.2663\pm0.0935
Complete FedPix81.75±4.7581.75\pm4.759.32±1.549.32\pm1.540.3442±0.09320.3442\pm0.093210.97±1.5010.97\pm1.500.3784±0.08430.3784\pm0.0843
FashionMNIST
VariantACC (%) ↑\uparrowSyn. PSNR ↓\downarrowSyn. SSIM ↓\downarrowRecon. PSNR ↓\downarrowRecon. SSIM ↓\downarrow
Direct downsampling89.72±0.1589.72\pm0.1531.65±0.2331.65\pm0.230.9705±0.00170.9705\pm0.0017——
W/o anti-recon. loss89.72±0.1589.72\pm0.159.50±0.949.50\pm0.940.1404±0.01870.1404\pm0.018710.04±0.3310.04\pm0.330.1394±0.01940.1394\pm0.0194
PSNR only89.91±0.8889.91\pm0.887.46±0.997.46\pm0.990.3323±0.09690.3323\pm0.09697.93±0.437.93\pm0.430.2806±0.04240.2806\pm0.0424
SSIM only89.99±0.5089.99\pm0.506.45±0.936.45\pm0.930.2109±0.10460.2109\pm0.10466.92±1.106.92\pm1.100.2123±0.09310.2123\pm0.0931
Complete FedPix89.70±0.1189.70\pm0.115.59±0.375.59\pm0.370.1089±0.03860.1089\pm0.03868.98±0.568.98\pm0.560.1203±0.02500.1203\pm0.0250
CIFAR-10
VariantACC (%) ↑\uparrowSyn. PSNR ↓\downarrowSyn. SSIM ↓\downarrowRecon. PSNR ↓\downarrowRecon. SSIM ↓\downarrow
Direct downsampling68.66±1.4868.66\pm1.4823.49±0.2223.49\pm0.220.8273±0.00430.8273\pm0.0043——
W/o anti-recon. loss65.68±2.4065.68\pm2.408.17±2.518.17\pm2.510.3163±0.22020.3163\pm0.22029.74±2.619.74\pm2.610.3633±0.20960.3633\pm0.2096
PSNR only67.67±1.8867.67\pm1.888.85±0.458.85\pm0.450.3297±0.07130.3297\pm0.071310.04±0.3110.04\pm0.310.3660±0.08570.3660\pm0.0857
SSIM only65.49±2.0165.49\pm2.018.52±1.788.52\pm1.780.3225±0.13570.3225\pm0.13579.55±1.889.55\pm1.880.3645±0.13250.3645\pm0.1325
Complete FedPix66.66±0.4466.66\pm0.449.16±0.769.16\pm0.760.3751±0.08250.3751\pm0.082510.34±1.0710.34\pm1.070.4166±0.07040.4166\pm0.0704
MNIST
VariantACC (%) ↑\uparrowSyn. PSNR ↓\downarrowSyn. SSIM ↓\downarrowRecon. PSNR ↓\downarrowRecon. SSIM ↓\downarrow
Direct downsampling99.15±0.1099.15\pm0.1022.13±0.1022.13\pm0.100.8481±0.00170.8481\pm0.0017——
W/o anti-recon. loss99.19±0.1299.19\pm0.126.41±3.616.41\pm3.610.2120±0.07980.2120\pm0.07986.74±3.396.74\pm3.390.1746±0.06860.1746\pm0.0686
PSNR only99.03±0.2199.03\pm0.216.31±1.566.31\pm1.560.1288±0.02100.1288\pm0.02106.70±1.206.70\pm1.200.0894±0.02500.0894\pm0.0250
SSIM only99.09±0.2299.09\pm0.228.66±2.528.66\pm2.520.2286±0.10060.2286\pm0.10067.66±1.337.66\pm1.330.1691±0.05930.1691\pm0.0593
Complete FedPix98.97±0.4398.97\pm0.438.16±3.208.16\pm3.200.2267±0.06590.2267\pm0.06597.19±1.977.19\pm1.970.0903±0.01870.0903\pm0.0187

Table 2. SSIM and PSNR losses are not always orthogonal to the utility objective: their effectiveness varies unpredictably across datasets and metrics, indicating that the interaction between reconstruction suppression and task preservation warrants further investigation.

Direct downsampling yields high synthetic PSNR/SSIM (e.g., 22–32 dB, 0.83–0.97), confirming that naive spatial reduction provides negligible privacy protection. Removing both anti-reconstruction losses achieves the lowest synthetic PSNR on BloodMNIST and CIFAR-10, and the lowest synthetic SSIM on CIFAR-10, but it does not consistently dominate the other variants. Its mean accuracy is lower than that of the complete model on these two datasets.

The independent activation of SSIM and PSNR reveals complementary roles. On MNIST, PSNR-only dominates nearly all privacy metrics (Syn. SSIM 0.13, Recon. PSNR 6.70, Recon. SSIM 0.09) while maintaining competitive accuracy (99.03%). On FashionMNIST, the complete model achieves the best synthetic privacy (Syn. PSNR 5.59, Syn. SSIM 0.11), while SSIM-only excels at reconstruction resistance (Recon. PSNR 6.92). On BloodMNIST, SSIM-only achieves the best reconstruction SSIM (0.27), and PSNR-only achieves the highest accuracy (87.88%). On CIFAR-10, the “w/o” variant leads in all synthetic and reconstruction SSIM, but SSIM-only achieves the best reconstruction PSNR (9.55).

The results reveal that the interaction between anti-reconstruction losses and the utility objective is not consistently orthogonal. On MNIST, PSNR-only dominates nearly all privacy metrics (Syn. SSIM 0.1288, Recon. SSIM 0.0894) while the complete model has higher Syn. SSIM (0.2267) and slightly higher Recon. SSIM (0.0903), suggesting interference between the loss terms. On CIFAR-10 and BloodMNIST, the variant without anti-reconstruction loss achieves the best privacy in several metrics, yet the complete model incurs a visible privacy cost (higher SSIM/PSNR) without a commensurate accuracy gain. On FashionMNIST, the complete model achieves the best synthetic privacy, but SSIM-only excels at reconstruction resistance. The “best” variant differs across datasets and metrics without a clear pattern. This instability—where adding a privacy-targeted loss sometimes worsens privacy—indicates that SSIM/PSNR minimization is not always aligned with utility preservation in gradient space. Understanding and resolving this misalignment, perhaps through adaptive loss weighting or gradient projection, is a direction for future work.

Utility–Privacy Pareto Analysis via MIA

Utility–Privacy Pareto Analysis via MIA

MIA Setup. Following Shokri et al. [38], we adopt the standard shadow-model-based MIA protocol. The adversary (the honest-but-curious server) trains shadow models on auxiliary data, then trains a binary attack classifier on the shadow models’ outputs to distinguish member from non-member samples. MIA ACC close to 50% indicates the adversary performs no better than random guessing.

Figure 6 compares FedPix against DP methods (DP-Pix’19, DP-GLOW’23, LDP-Slicing’26, DeepFixCX’23) and FL baselines (FedAvg’17, CollabDM’24, FedDM’23, FedSD2C’24, SFL’20) on the ACC–MIA ACC plane.

Figure 6. Classification accuracy versus membership-inference attack accuracy for the evaluated configurations. Attack accuracy near chance measures the success of this attack, rather than a general privacy guarantee.

On CIFAR-10 and BloodMNIST, FedPix occupies the Pareto-optimal region: its 12 compressed-size configurations span 37–65% ACC with MIA ACC of 49–58% on CIFAR-10, substantially outperforming DP methods (DP-Pix peaks at 35% ACC). On MNIST and FashionMNIST, FedPix achieves the best accuracy (99.18% and 89.97%) with competitive MIA ACC.

The evaluated DP configurations exhibit a substantial utility cost on CIFAR-10, with classification accuracy below 36%. FedPix provides competitive empirical ACC–MIA trade-offs in the tested settings. However, near-chance attack accuracy does not establish absence of membership leakage, and these experiments do not compare matched differential privacy budgets. The membership-inference results complement the reconstruction evaluation; neither establishes a formal privacy guarantee for FedPix.

Conclusion

We propose FedPix, a Federated Data Interface where clients upload capacity-constrained representations and the server optimizes both classifier and encoder via an upsample–recompress closed loop. FedPix achieves user auditability, edge-device friendliness (client runtime reduced up to 96%), and strong reconstruction resistance with competitive accuracy, while remaining inherently robust to non-IID data.

Limitations. First, the capacity bottleneck (an 8 × 8 spatial compression) is fixed globally rather than adapted per task or dataset; our theoretical capacity region points toward adaptive mechanisms but does not yet realize them. Second, the evaluation focuses on image classification with a single encoder architecture, and the interface has not been validated on other modalities or tasks. Third, the on-device deployment benchmarks FP32 CPU inference only; INT8 quantization and NPU acceleration, which could further shrink the client footprint, remain unexplored. Finally, reconstruction resistance is evaluated against strong but specific attack families (model inversion and white-box restoration); future stronger attacks, e.g., diffusion-based reconstruction, could narrow the observed privacy margins.

Future work. Beyond addressing the above, we plan to (i) develop adaptive capacity mechanisms that negotiate the compression ratio per task and per user, (ii) extend the interface to non-image modalities and downstream tasks, (iii) deploy quantized, NPU-accelerated client encoders, and (iv) integrate the data interface with downstream federated aggregation and user-facing audit tooling, allowing participants to inspect exactly what leaves their devices.

Ethics Statement

This work studies representation sharing in federated intelligence and uses only publicly available benchmark datasets (BloodMNIST, CIFAR-10, FashionMNIST, and MNIST); it does not involve human subjects, personal data collection, or model release. The threat model considered throughout the paper is an honest-but-curious server, and the reconstruction and membership inference attacks reported here are used solely to quantify the leakage of the proposed data interface, not to attack deployed systems. We note that the representation interface we propose reduces, but does not cryptographically eliminate, the information recoverable from client-to-server transmissions, and we state this limitation explicitly in the threat model (§ 2.1).

Reproducibility Statement

We describe the experimental protocol in § 4 and the appendix. The encoder architecture (including layer counts, hidden channels, pooling configuration, and output format) and classifier are described in Appendix § 9; the on-device deployment configuration and its end-to-end benchmark are reported in Appendix § 15. Dataset preprocessing, client counts, the Dirichlet heterogeneity parameter, early-stopping rule, and the number of averaged repetitions are stated in § 4.1. The definitions and toolbox used for all reconstruction metrics (PSNR, SSIM, LPIPS) are provided in Appendix § 8, and the attack settings—both the model inversion attack of § 2.1 and the white-box adaptive attack—are specified in Appendices § 9 and § 16. All theoretical claims are proven in Appendix § 14: the classifier-sensitive distortion bound (Proposition 4) and the task-preserving capacity threshold (Theorem 6) include the assumptions and proofs. These arguments characterize an idealized model and do not establish privacy guarantees for the implemented nonlinear encoder.

Reconstruction Resistance Metrics

We quantify representation leakage from two complementary perspectives. First, Synthetic-to-Original measures the direct similarity between transmitted synthetic or compressed representations and the original data. Second, Reconstructed-to-Original measures the similarity between model-inversion-reconstructed samples and the original data. Following prior reconstruction and perceptual similarity studies [41, 52], we use PSNR, SSIM, and LPIPS as evaluation metrics. Higher PSNR/SSIM and lower LPIPS indicate greater similarity to the original data and thus greater reconstruction leakage.

These metrics require access to original data and are therefore used only from the researcher’s evaluation perspective. The HbC server in the actual protocol does not directly access raw data; it only observes uploaded intermediate representations.

We next provide a detailed rationale for each design choice, explaining how it concretely addresses the three requirements R1–R3.

Detailed Design Rationale of FedPix

This section provides a detailed discussion of each design choice in FedPix and how it addresses the three requirements identified in Introduction: R1 (User Auditability), R2 (Edge-device Friendliness), and R3 (Balancing Dissimilarity, Non-Reconstructability, and Utility).

Why Train a Unified Encoder on the Server? (Addressing R2 and R3)

A naive approach that trains encoders locally on each client faces two fundamental limitations. Incompatible non-IID encoders learned by separate clients cannot be reasonably aggregated, and running training procedures on edge hardware introduces substantial computational overhead. FedPix adopts a single unified encoder trained centrally on the server and distributed every communication round, which fully removes client-side optimization workload. Clients only execute a single forward pass, so local objective divergence, client drift, and extra corrective stabilization mechanisms become unnecessary. Regardless of data heterogeneity, the server’s classifier receives inputs within a homogeneous encoding domain. This circumvents the pervasive non-IID challenge in conventional parameter-aggregation federated learning. This design supports R2 (Edge-device Friendliness) by limiting client computation, and addresses R3 (Balancing Dissimilarity, Non-Reconstructability, and Utility). Consistent encoding stabilizes decision boundaries and prevents utility loss caused by mismatched client-specific encoders. We stress that this centralized design is intentional: FedPix targets the data-interface layer (what information leaves the client), instead of the model-coordination layer for local model aggregation.

Why the “Upsample-Recompress” Closed Loop? (Addressing R2)

The server cannot access raw client data, which prevents end-to-end encoder training using paired original and compressed samples. FedPix exploits the property that upsampling introduces no new statistical information. The server upsamples uploaded compressed representation ItI_t to It′I'_t, then recompresses it via VtV_t to obtain It′′=Vt(It′)I''_t = V_t(I'_t). This closed-loop construction simulates client-side compression without raw inputs and enables gradient-based optimization hosted entirely on the server. All training procedures run server-side, and clients only perform one forward pass for compression, with no backpropagation or iterative local optimization required. This design directly supports R2 (Edge-device Friendliness), shifting all optimization burden away from resource-limited edge devices.

Why Minimize SSIM and PSNR for Reconstruction Suppression? (Addressing R3)

Model inversion attacks take compressed images as initialization to reconstruct original inputs. Reconstruction difficulty rises when compressed outputs exhibit larger structural and pixel-level differences relative to raw data. FedPix directly minimizes SSIM and PSNR measured between the upsampled re-encoded output UpSample⁡(It′′)\operatorname{UpSample}(I''_t) and the upsampled input It′I'_t. Since SSIM and PSNR both increase with similarity, minimizing these loss terms pushes the encoder to reduce the similarity between its output and the input, enlarging overall divergence. SSIM captures structural discrepancies in luminance, contrast and spatial layout, while PSNR reflects pixel-level intensity deviations. The two metrics deliver complementary signals to obstruct visual reconstruction. By actively maximizing divergence between compressed representations and upsampled data, FedPix suppresses visually recoverable information and mitigates inversion risks, which directly addresses R3 (Balancing Dissimilarity, Non-Reconstructability, and Utility).

Why Use Classifier Correctness as a Utility Filter? (Addressing R3)

Pure minimization of SSIM and PSNR will indiscriminately erase all signal, including task-relevant information critical for classification. FedPix introduces an auxiliary classifier CC trained and frozen on the server. The classifier generates hard-label predictions on upsampled compressed data; only samples whose predictions match ground-truth labels (ItcorrectI_t^{\mathrm{correct}}) contribute to the utility consistency loss Lce\mathcal{L}_{ce}. This constraint guides the encoder to preserve information shaping decision boundaries while suppressing visually recoverable content under bandwidth limits. The loss Lce\mathcal{L}_{ce} sustains task utility, while SSIM and PSNR minimization enforces dissimilarity and non-reconstructability. Their combination achieves a favorable reconstruction–utility trade-off and fulfills the demands of R3.

Why Compressed Representations Preserve the Original Data Format? (Addressing R1)

Split learning transmits abstract feature vectors that lack intuitive interpretability for end users. Different from such paradigms, FedPix’s encoder VtV_t outputs a downsampled image ItI_t that retains the original visual format (e.g., RGB channels, spatial layout) at reduced resolution y×yy \times y. The compressed representation maintains an intuitive correspondence with raw data. Users can compare uploaded content against original samples to audit privacy risks: one may identify coarse semantic content, although visual inspection alone cannot certify that fine-grained personal details are unrecoverable. This transparency satisfies R1 (User Auditability), enabling non-expert users to understand, audit, and consent to shared information — a benefit unavailable for opaque feature vectors or encrypted model parameters.

Why Use an Additive Loss with SSIM and PSNR? (Addressing R3)

Single dissimilarity metrics struggle to jointly control structural and pixel-level divergence, motivating an additive composite loss formulation. FedPix adopts λLce+Lssim+βLpsnr\lambda\mathcal{L}_{ce} + \mathcal{L}_{ssim} + \beta\mathcal{L}_{psnr}. SSIM is naturally bounded ([−1,1][-1, 1]) and contributes stable gradients, so its weight is fixed to unity. PSNR operates on a wider numerical scale (typically 5–40 dB), so β\beta is empirically selected to balance the gradient magnitudes contributed by the two dissimilarity terms. The tunable λ\lambda separately regulates classification utility. The additive form decouples structural and pixel-wise suppression. SSIM and PSNR provide different gradient signals, but their combination does not uniformly outperform isolated terms; the ablation in Table 2 shows dataset-dependent interactions. This loss construction delivers balanced, interpretable adjustment over the reconstruction–utility frontier and directly addresses R3 (Balancing Dissimilarity, Non-Reconstructability, and Utility).

Pseudocode of FedPix

Algorithm 1 The server optimizes the encoder without raw data by freezing the classifier, identifying correctly classified samples, and minimizing a joint loss over an upsample–recompress closed loop.

Require: Client datasets {(Dk,Lk)}\{(D_k, L_k)\}, initial encoder V0V_0, initial classifier C0C_0, number of rounds TT, learning rate η\eta

Ensure: Inference pair VT−1,CTV_{T-1}, C_T (the classifier is trained on representations from VT−1V_{T-1})

1: for t = 0 to T − 1 do
2:     // Client
3:     I_t = V_t(D_t) {V inputs S × S, outputs y × y}
4:     Upload (I_t, L_t) to server
5:     // Server Stage 1: Classifier Learning
6:     I_t^up = UpSample(I_t) {Upsample to S × S}
7:     C_{t+1} = train(C_t, I_t^up, L_t) {Use all labels}
8:     // Server Stage 2: Encoder Self-Evolution
9:     Freeze C_{t+1}
10:    \hat{L}_{t,i} = arg max_c [C_{t+1}(I_{t,i}^up)]_c {Compute hard labels}
11:    I_t^correct = {i | \hat{L}_{t,i} = L_{t,i}} {Correctly classified indices}
12:    I'_t = UpSample(I_t) {Upsample to S × S}
13:    I''_t = V_t(I'_t) {V re-encodes to y × y}
14:    I'''_t = UpSample(I''_t) {Upsample to S × S for C}
15:    L_ce = CE_{I_t^correct}(C_{t+1}(I'''_t), L_t)
16:    L_ssim = SSIM(UpSample(I''_t), I'_t)
17:    L_psnr = PSNR(UpSample(I''_t), I'_t)
18:    L_total = λ · L_ce + L_ssim + β · L_psnr
19:    V_{t+1} = V_t − η · ∇L_total
20:    Send V_{t+1} back to client
21: end for
22: return V_{T−1}, C_T {Used jointly for inference: new samples first encoded by V_{T−1}, then classified by C_T}

Model Inversion Attack Settings

The model inversion attack uses an encoder to reverse-reconstruct original images from synthetic data via gradient descent. The reconstruction process uses the Adam optimizer, a learning rate of 0.1, 500 iterations, and a total variation regularization weight of 0.001. After reconstruction, PSNR, SSIM, and LPIPS are computed between the reconstructed and original images (see Section A for metric definitions).

The reconstruction attack evaluation procedure is as follows: obtain the aggregated synthetic data and their corresponding original data indices from the server side, uniformly select samples by category (10 per category), and compute the metrics between the reconstructed data and the original data.

FedPix Implementation Details

The representation encoder uses a convolutional architecture with an enhanced ConvPoolBlock. By default, it has five 3×33 \times3 convolutional layers, each followed by GroupNorm and ReLU, ending with AdaptiveAvgPool2d to downsample to the target spatial size. The hidden layers have 128 channels, and the output is a 3-channel RGB image produced by a 1×11 \times1 convolution with tanh activation (pixel range [−1,1][-1, 1]). A Squeeze-and-Excitation channel attention mechanism recalibrates feature maps via global average pooling and a two-layer fully connected network. For CIFAR-10, the encoder compresses a 3×32×323 \times32 \times32 input to 3×8×83 \times8 \times8 (192 values), achieving a 16×16\times compression ratio (from 3072 values). When the compressed image size is set to 24, the output is 3×24×243 \times24 \times24, giving a 1.78×1.78\times compression ratio. The classifier follows the ConvNet architecture used in FedAvg.

Hyperparameter Analysis

Impact of Utility Ratio λ\lambda on the Privacy–Utility Trade-off

This experiment answers one question — how does the utility ratio λ\lambda effectively control the preference direction of the privacy-utility trade-off as a trade-off coefficient in the joint optimization objective?

The experiment was conducted by scanning different values of λ\lambda under the same federated learning setup. The results (Figure 7) show that when λ\lambda is too small (e.g., 0.01), the compressor prioritizes privacy over utility, leading to the lowest classification accuracy (61.32%) but the strongest privacy protection, with the reconstruction SSIM and synthetic SSIM reaching their minima of 0.2129 and 0.1435, respectively.

Figure 7. Increasing λ\lambda improves ACC up to a saturation point (λ≈0.035\lambda\approx0.035) beyond which information leakage (SSIM) rises without commensurate utility gain, indicating an optimal operating region.

As λ\lambda increases, accuracy rises rapidly to around 64%, yet the SSIM values also climb noticeably, indicating that the attacker recovers images structurally closer to the originals and privacy protection weakens. Notably, the SSIM curves exhibit a local dip around λ=0.025\lambda= 0.025–0.03: at λ=0.025\lambda= 0.025 the synthetic SSIM falls back to 0.2464, and at λ=0.03\lambda= 0.03 the reconstruction SSIM and synthetic SSIM stay at relatively low levels (0.3278 and 0.2798), while accuracy already approaches its plateau at 64.31%. Accuracy peaks at 65.53% when λ=0.035\lambda= 0.035 and then plateaus (64%–65%), but both SSIM metrics keep rising to about 0.44–0.45 for larger λ\lambda, meaning privacy protection deteriorates without further utility gain. Therefore, λ=0.03\lambda= 0.03 achieves the optimal privacy-utility balance on CIFAR-10, confirming that λ\lambda effectively steers the trade-off preference.

Impact of Data Representation Ratio ρ\rho on the Privacy–Utility Trade-off and System Cost

This experiment answers one question — how does the data representation ratio ρ\rho affect the privacy–utility trade-off and system cost?

Experiments were conducted by scanning ρ\rho values from 0.10 to 1.00, where ρ\rho controls the proportion of data per category retained for training. The results (Figure 8) show that as ρ\rho increases, accuracy (ACC) improves from 55.63% at ρ=0.10\rho= 0.10 to a peak of 68.85% at ρ=0.90\rho= 0.90 (67.81% at ρ=1.00\rho= 1.00), with rapid gains up to ρ=0.30\rho= 0.30 (63.00%) and slow, fluctuating growth thereafter.

Figure 8. ACC improves near-linearly with ρ\rho while reconstruction leakage (SSIM) remains consistently low, confirming that capacity constraints effectively decouple utility preservation from information leakage across representation sizes.

In contrast, privacy protection, measured by the SSIM between the private images and the images recovered through reconstruction and synthesis attacks, remains consistently strong across all ρ\rho values, with reconstruction SSIM staying within [0.24, 0.39] and synthesis SSIM within [0.22, 0.37] and neither showing an upward trend, indicating that FedPix’s directional information discarding mechanism works effectively regardless of data volume. Total communication volume scales nearly linearly with ρ\rho (Figure 9), from 26.81 MB at ρ=0.10\rho= 0.10 to 80.80 MB at ρ=0.90\rho= 0.90, while per-client training time increases from 5.90 seconds to as much as 28.77 seconds.

Figure 9. Total communication scales near-linearly with ρ\rho, while client time remains low across all settings, confirming the lightweight client-side overhead of FedPix’s data interface.

Considering all three dimensions, the optimal balance is achieved at ρ∈[0.30,0.50]\rho\in[0.30, 0.50]: for example, at ρ=0.30\rho= 0.30, ACC reaches 63.00% (93% of the full-data accuracy), communication volume drops to 35.91 MB (∼49%\sim49\% of ρ=1.00\rho= 1.00), and client runtime reduces to 9.84 seconds (∼47%\sim47\% of ρ=1.00\rho= 1.00), validating that the effectiveness of capacity constraints does not depend on the amount of data.

Encoder Convergence and System Scalability

Encoder Training Convergence

This experiment examines the convergence behavior of FedPix’s server-side encoder training.

During each communication round, the server trains the encoder VtV_t for 10 epochs using the upsample–recompress closed-loop optimization described in § 3. Figure 10 visualizes the training accuracy on the consistent-sample set IcorrectI_{\mathrm{correct}} across 6 communication rounds and 10 training epochs per round, averaged over 10 random seeds on CIFAR-10.

Figure 10. The encoder converges stably: within-round accuracy plateaus after 3–4 epochs, and the accuracy floor lifts from ∼22%\sim22\% to ∼73%\sim73\% over 6 rounds with variance narrowing to ±1\pm1–2%2\%.

Several observations emerge. First, within each round, accuracy rises rapidly during the first 3–4 epochs and then plateaus, indicating that the encoder quickly adapts to the current compressed representations and that further epochs yield diminishing returns. Second, across rounds, the accuracy floor consistently lifts: Round 1 starts at approximately 22% and peaks near 51%, while Round 6 starts above 73% and reaches approximately 79%. This upward shift reflects the progressive refinement of both the classifier CtC_t and the compressor VtV_t as more training data flows through the system.

Third, the standard deviation across seeds narrows substantially from earlier rounds (Round 1: ±5\pm5–11%11\%) to later rounds (Round 6: ±1\pm1–2%2\%), suggesting that the alternating optimization between classifier and encoder converges to a stable region regardless of initialization randomness. The smooth, monotonic surface with no visible regression confirms that the server-side closed-loop training provides stable and predictable convergence.

System Scalability

This experiment answers one question: Can FedPix maintain stable performance as the number of clients scales up? We evaluate on CIFAR-10 under four client counts (1, 5, 20, 100), comparing FedPix with four FL baselines (FedAvg, FedProx, SCAFFOLD, PARS) and two representation-learning based methods (FedSD2C, SFL).

Table 3 reveals a clear scalability pattern. FL baselines (FedAvg, FedProx) uniformly exhibit steep accuracy declines as the client pool grows: FedAvg drops from 78.52% (1 client) to 39.02% (100 clients), and FedProx collapses from 76.68% to 32.84%, driven by the increasing difficulty of aggregating divergent local models under diminishing per-client data. SCAFFOLD partially mitigates this drift via control variates, retaining 57.70% at 100 clients, while PARS remains notably resilient (64.03% at 100 clients) owing to its adaptive pseudo-labeling strategy. SFL shows strong single-client performance (72.01%), benefiting from the full dataset being available to one split-learning instance, but degrades to 51.27% at 100 clients as feature-space alignment across many split paths becomes challenging. FedSD2C remains consistently low across all scales (28.72–45.54%), reflecting the limited utility of its latent codes under data fragmentation.

Method1 Client5 Clients20 Clients100 Clients
FedAvg (2017)78.52±1.1278.52 \pm1.1269.83±2.5669.83 \pm2.5659.29±8.6659.29 \pm8.6639.02±5.9839.02 \pm5.98
FedProx (2020)76.68±0.9076.68 \pm0.9068.87±2.9368.87 \pm2.9361.82±7.1461.82 \pm7.1432.84±3.4832.84 \pm3.48
SCAFFOLD (2020)74.47±2.5974.47 \pm2.5970.75±2.4070.75 \pm2.4068.14±1.3168.14 \pm1.3157.70±9.9057.70 \pm9.90
PARS (2026)69.70±4.7269.70 \pm4.7263.02±2.9463.02 \pm2.9467.16±1.6667.16 \pm1.6664.03±0.8264.03 \pm0.82
FedSD2C (2024)28.72±1.3628.72 \pm1.3639.69±2.9639.69 \pm2.9645.54±0.7245.54 \pm0.7244.22±0.8444.22 \pm0.84
SFL (2020)72.01±1.8472.01 \pm1.8444.79±5.7744.79 \pm5.7757.41±3.5557.41 \pm3.5551.27±8.2451.27 \pm8.24
FedPix (Ours)65.79±0.9765.79 \pm0.9765.84±1.2365.84 \pm1.2365.44±1.2665.44 \pm1.2665.14±1.9565.14 \pm1.95
MethodACC (%) ↑
α=0.01\alpha= 0.01α=0.1\alpha= 0.1α=0.3\alpha= 0.3α=1.0\alpha= 1.0
FedAvg (2017)11.09±1.7411.09 \pm1.7422.87±9.5822.87 \pm9.5860.74±9.5760.74 \pm9.5771.28±0.6171.28 \pm0.61
FedProx (2020)11.39±2.4611.39 \pm2.4624.02±10.2224.02 \pm10.2260.89±8.2060.89 \pm8.2071.23±0.7371.23 \pm0.73
SCAFFOLD (2020)10.22±0.3510.22 \pm0.3518.93±19.6218.93 \pm19.6254.02±22.8554.02 \pm22.8573.28±0.7773.28 \pm0.77
PARS (2026)9.94±0.209.94 \pm0.2021.49±14.0121.49 \pm14.0148.62±23.3748.62 \pm23.3758.15±26.9958.15 \pm26.99
FedSD2C (2024)29.88±1.8629.88 \pm1.8636.69±1.1236.69 \pm1.1241.95±2.1241.95 \pm2.1247.81±1.4047.81 \pm1.40
SFL (2020)11.52±3.3211.52 \pm3.3226.58±7.8926.58 \pm7.8943.29±8.9143.29 \pm8.9153.22±8.5253.22 \pm8.52
FedPix (Ours)64.72±1.7964.72 \pm1.7963.42±4.1863.42 \pm4.1864.65±0.4864.65 \pm0.4865.34±1.0065.34 \pm1.00

Table 3. FedPix accuracy remains nearly constant (65.8%→65.1%) as client count grows from 1 to 100, while FL baselines degrade sharply (FedAvg: 78.5%→39.0%), confirming that centralized training on pooled representations provides inherent scalability.

In stark contrast, FedPix maintains nearly constant accuracy across all client scales: 65.79% (1 client) to 65.14% (100 clients), a drop of only 0.65 percentage points with uniformly tight standard deviations (±0.97\pm0.97–1.95%). At 20 and 100 clients, FedPix outperforms the strongest baseline by 0.6 and 1.1 percentage points, respectively, while at 100 clients it surpasses FedAvg by over 26 percentage points. This stability arises from the same architectural property that confers Non-IID robustness (see Non-IID experiment in the main text): the server trains a single centralized classifier on pooled compressed representations, so adding more clients simply increases the diversity and volume of the training pool without aggravating the challenge of aggregating divergent models. The server’s classifier operates on a unified, fixed-dimensional representation space, effectively decoupling the final performance from the number of participating clients. The unified compressor design thus provides inherent scalability: performance depends on the total data available to the server, not on how that data is partitioned across clients.

Non-IID Sensitivity Analysis

Robustness to Non-IID Data Distributions

We evaluate robustness to heterogeneous client distributions under four Dirichlet concentration parameters (α∈{0.01,0.1,0.3,1.0}\alpha\in\{0.01, 0.1, 0.3, 1.0\}) [53, 24].

Traditional FL methods (FedAvg, FedProx, SCAFFOLD, PARS) collapse under extreme heterogeneity—at α=0.01\alpha= 0.01, all fall to 9.9–11.4%, near random guessing for CIFAR-10 (10%). FedPix maintains stable accuracy across the entire spectrum (63.42–65.34%), with only a 0.62% drop from α=1.0\alpha= 1.0 to α=0.01\alpha= 0.01.

This confirms that the data-interface paradigm inherently decouples client heterogeneity from server-side training: the server trains on pooled representations rather than aggregating locally-trained

models, and the learned encoder preserves task-relevant structure even under severe distribution shift.

The experimental results above demonstrate a consistent pattern—capacity-constrained representations achieve strong reconstruction resistance while preserving classification accuracy. The following sections provide a formal theoretical framework that explains this phenomenon, along with complete proofs.

Theoretical Analysis

Problem Setup

Consider KK clients, where client kk holds a local dataset Dk={(Dk,i,Lk,i)}i=1nk\mathcal{D}_k = \{(\mathcal{D}_{k,i}, L_{k,i})\}_{i=1}^{n_k}, with Dk,i∈[0,1]S×S×C\mathcal{D}_{k,i} \in[0,1]^{S \times S \times C} and Lk,i∈{1,…,Q}L_{k,i} \in\{1, \ldots, Q\}. Let N=∑k=1KnkN = \sum_{k=1}^{K} n_k and pk=nk/Np_k = n_k/N.

FedPix uses a shared representation encoder V:[0,1]S×S×C→[0,1]y×y×CV : [0,1]^{S \times S \times C} \to[0,1]^{y \times y \times C}, y<Sy < S, where the output size yy controls the physical capacity of the uploaded representation. For an input Dk,i\mathcal{D}_{k,i}, the client uploads Ik,i=V(Dk,i)I_{k,i} = V(\mathcal{D}_{k,i}) together with its label Lk,iL_{k,i}. Before classification, the server uses the fixed structure-preserving upsampling operator UpSample⁡(⋅)\operatorname{UpSample}(\cdot) to restore Ik,iI_{k,i} to spatial size S×SS \times S. Let CC denote the server-side classifier.

The utility objective is the classification loss on the uploaded representations:

Lcls(C,V)=∑k=1Kpk1nk∑i=1nkℓce(C(UpSample⁡(V(Dk,i))),Lk,i).(2)\mathcal{L}_{\mathrm{cls}}(C,V) = \sum_{k=1}^{K} p_k \frac{1}{n_k} \sum_{i=1}^{n_k} \ell_{\mathrm{ce}}\left(C\left(\operatorname{UpSample}\left(V(\mathcal{D}_{k,i})\right)\right), L_{k,i}\right). \tag*{(2)}

To suppress visually reconstructable information, we measure the similarity between an original image and its uploaded representation after upsampling:

Lsim(V)=∑k=1Kpk1nk∑i=1nk[SSIM⁡(UpSample⁡(V(Dk,i)),Dk,i)+βPSNR⁡(UpSample⁡(V(Dk,i)),Dk,i)].(3)\mathcal{L}_{\mathrm{sim}}(V) = \sum_{k=1}^{K} p_k \frac{1}{n_k} \sum_{i=1}^{n_k} \left[\operatorname{SSIM}\left(\operatorname{UpSample}\left(V(\mathcal{D}_{k,i})\right), \mathcal{D}_{k,i}\right) + \beta\operatorname{PSNR}\left(\operatorname{UpSample}\left(V(\mathcal{D}_{k,i})\right), \mathcal{D}_{k,i}\right)\right]. \tag*{(3)}

Lower Lsim(V)\mathcal{L}_{\mathrm{sim}}(V) indicates lower direct pixel-level and structural similarity to the original images; it does not by itself bound information leakage to an adaptive attacker. This raw-data objective is an analytical formulation. The server instead optimizes the recompression surrogate in Section 3.2, and the analysis does not establish equivalence between the two objectives.

FedPix seeks a compressor that minimizes reconstruction similarity while maintaining classification utility. We formulate this goal as

min⁡C,VLsim(V)s.t.Lcls(C,V)≤ϵ,(4)\begin{aligned} \min_{C,V}\quad& \mathcal{L}_{\mathrm{sim}}(V) \\ \text{s.t.}\quad& \mathcal{L}_{\mathrm{cls}}(C,V) \le\epsilon, \tag*{(4)} \end{aligned}

where ϵ\epsilon specifies the maximum admissible classification loss. A Lagrangian relaxation of Problem (4) is min⁡C,V λLcls(C,V)+Lsim(V)\min_{C,V}\ \lambda\mathcal{L}_{\mathrm{cls}}(C,V) + \mathcal{L}_{\mathrm{sim}}(V), where λ>0\lambda> 0 controls the privacy–utility trade-off.

The optimization strategy for solving Problem (4) under federated constraints is described in the main text (Section 3.2). We now provide the formal theoretical analysis.

In this section, Ct+1C_{t+1} denotes the pre-softmax logit map of the classifier trained on the server. For a logit vector zz and label ll, let ℓcls(z,l)=−log⁡[softmax⁡(z)]l\ell_{\mathrm{cls}}(z,l)=-\log[\operatorname{softmax}(z)]_l. For the original image DtD_t and its upsampled compressed representation ItupI_t^{\mathrm{up}}, define Δt=Itup−Dt\Delta_t=I_t^{\mathrm{up}}-D_t.

Assumption 3 (Classifier smoothness). There exists κ>0\kappa>0 such that, for any u,vu,v on the line segment between DtD_t and ItupI_t^{\mathrm{up}}, ∥∇DCt+1(u)−∇DCt+1(v)∥op≤κ∥u−v∥2\lVert\nabla_D C_{t+1}(u)-\nabla_D C_{t+1}(v)\rVert_{\mathrm{op}}\le\kappa\lVert u-v\rVert_2, where ∇DCt+1\nabla_D C_{t+1} is the Jacobian of the classifier logits with respect to the input image.

Proposition 4 (Classifier-sensitive distortion). Under Assumption 3, for a sample (Dt,Lt)(D_t,L_t),

∣ℓcls(Ct+1(Itup),Lt)−ℓcls(Ct+1(Dt),Lt)∣≤2(∥∇DCt+1(Dt)Δt∥2+κ2∥Δt∥22).(5)\left|\ell_{\mathrm{cls}}(C_{t+1}(I_t^{\mathrm{up}}),L_t)-\ell_{\mathrm{cls}}(C_{t+1}(D_t),L_t)\right| \le\sqrt{2}\left(\left\lVert\nabla_D C_{t+1}(D_t)\Delta_t\right\rVert_2+\frac{\kappa}{2}\left\lVert\Delta_t\right\rVert_2^2\right). \tag*{(5)}

Proposition 4 separates pixel distortion from classifier-sensitive distortion. Thus, a compressed image may have substantially lower PSNR and SSIM than the original image while incurring only a small utility loss, provided that its distortion has limited effect on the classifier logits. This establishes the possibility of visually distorted yet task-useful representations.

We next isolate the role of upload size using a canonical linear model. This idealized Gaussian model is separate from the bounded pixel domain above and is not a guarantee for the nonlinear encoder or its closed-loop training dynamics. After vectorization, let xt=vec⁡(Dt)∈Rdx_t=\operatorname{vec}(D_t)\in\mathbb{R}^d, d=CS2d=CS^2, and let ry=Cy2r_y=Cy^2 denote the dimension of an uploaded image of size C×y×yC\times y\times y. For any representation ZZ, H(Lt∣Z)H(L_t\mid Z) denotes the minimum expected cross-entropy attainable by a probabilistic classifier using ZZ:

H(Lt∣Z)=inf⁡qE[−log⁡q(Lt∣Z)].(6)H(L_t\mid Z)=\inf_q\mathbb{E}[-\log q(L_t\mid Z)]. \tag*{(6)}

Assumption 5 (Canonical task–nuisance model). The vectorized image admits the orthogonal decomposition

xt=Utaskat+Unuibt,(7)x_t=U_{\mathrm{task}}a_t+U_{\mathrm{nui}}b_t, \tag*{(7)}

where Utask∈Rd×dtaskU_{\mathrm{task}}\in\mathbb{R}^{d\times d_{\mathrm{task}}} and Unui∈Rd×(d−dtask)U_{\mathrm{nui}}\in\mathbb{R}^{d\times(d-d_{\mathrm{task}})} have orthonormal and mutually orthogonal columns. The task component ata_t is a minimal linear representation preserving all label-relevant information: p(Lt∣xt)=p(Lt∣at)p(L_t\mid x_t)=p(L_t\mid a_t), and no linear representation of dimension smaller than dtaskd_{\mathrm{task}} has this property. Moreover, at∼N(0,Idtask)a_t\sim\mathcal{N}(0,I_{d_{\mathrm{task}}}), bt∼N(0,Id−dtask)b_t\sim\mathcal{N}(0,I_{d-d_{\mathrm{task}}}), with btb_t independent of (at,Lt)(a_t,L_t).

The task component contains information needed for classification, whereas the nuisance component is label-independent but may still aid image reconstruction. We model compression and upsampling by a rank-ryr_y orthogonal projection PyP_y and define the normalized Bayes reconstruction error

Drec(Py)=1dE[∥xt−E[xt∣Pyxt,Lt]∥22].(8)\mathcal{D}_{\mathrm{rec}}(P_y)=\frac{1}{d}\mathbb{E}\left[\left\lVert x_t-\mathbb{E}[x_t\mid P_yx_t,L_t]\right\rVert_2^2\right]. \tag*{(8)}

The estimator conditions on LtL_t because the label is uploaded together with the compressed representation.

Theorem 6 (Task-preserving capacity threshold). Under Assumption 5, if ry≥dtaskr_y\ge d_{\mathrm{task}}, there exists a rank-ryr_y orthogonal projection PyP_y that preserves the complete task subspace and satisfies H(Lt∣Pyxt)=H(Lt∣xt)H(L_t\mid P_yx_t)=H(L_t\mid x_t). If its remaining ry−dtaskr_y-d_{\mathrm{task}} dimensions retain arbitrary nuisance directions, then Drec(Py)=1−ryd\mathcal{D}_{\mathrm{rec}}(P_y)=1-\frac{r_y}{d}. When ry<dtaskr_y<d_{\mathrm{task}}, no linear representation of dimension ryr_y can preserve all label-relevant information.

Theorem 6 identifies a task-preserving representation capacity region. As long as ry≥dtaskr_y\ge d_{\mathrm{task}}, nuisance directions can be discarded, increasing reconstruction error without changing the Bayes-optimal classification loss. Below this threshold, some task-relevant information must also be removed.

Proofs for the Theoretical Analysis

Proof of Proposition 4

For a logit vector z∈RQz\in\mathbb{R}^Q and label ll, the softmax cross-entropy is

ℓcls(z,l)=−zl+log⁡∑c=1Qexp⁡(zc).(9)\ell_{\mathrm{cls}}(z,l)=-z_l+\log\sum_{c=1}^{Q}\exp(z_c). \tag*{(9)}

Its gradient with respect to the logits is

∇zℓcls(z,l)=softmax⁡(z)−el,(10)\nabla_z \ell_{\mathrm{cls}}(z,l)=\operatorname{softmax}(z)-e_l, \tag*{(10)}

where ele_l is the one-hot vector for class ll. Since both softmax⁡(z)\operatorname{softmax}(z) and ele_l are probability vectors,

∥∇zℓcls(z,l)∥2≤2.(11)\lVert\nabla_z\ell_{\mathrm{cls}}(z,l)\rVert_2\le\sqrt{2}. \tag*{(11)}

The mean-value inequality therefore gives, for arbitrary logits z,z′z,z',

∣ℓcls(z′,l)−ℓcls(z,l)∣≤2∥z′−z∥2.(12)\left|\ell_{\mathrm{cls}}(z',l)-\ell_{\mathrm{cls}}(z,l)\right|\le\sqrt{2}\lVert z'-z\rVert_2. \tag*{(12)}

Recall that Itup=Dt+ΔtI_t^{\mathrm{up}}=D_t+\Delta_t. By the fundamental theorem of calculus,

Ct+1(Itup)−Ct+1(Dt)=∫01∇DCt+1(Dt+sΔt)Δt ds=∇DCt+1(Dt)Δt+Rt,(13)\begin{aligned} C_{t+1}(I_t^{\mathrm{up}})-C_{t+1}(D_t) &=\int_0^1\nabla_D C_{t+1}(D_t+s\Delta_t)\Delta_t\,\mathrm{d}s\\ &=\nabla_D C_{t+1}(D_t)\Delta_t+R_t, \tag*{(13)} \end{aligned}

where

Rt=∫01[∇DCt+1(Dt+sΔt)−∇DCt+1(Dt)]Δt ds.(14)R_t=\int_0^1\left[\nabla_D C_{t+1}(D_t+s\Delta_t)-\nabla_D C_{t+1}(D_t)\right]\Delta_t\,\mathrm{d}s. \tag*{(14)}

Assumption 3 implies

∥Rt∥2≤∫01κs∥Δt∥22 ds=κ2∥Δt∥22.(15)\begin{aligned} \lVert R_t\rVert_2 &\le\int_0^1\kappa s\lVert\Delta_t\rVert_2^2\,\mathrm{d}s\\ &=\frac{\kappa}{2}\lVert\Delta_t\rVert_2^2. \tag*{(15)} \end{aligned}

Applying Eq. (12) to the two classifier outputs and then using Eqs. (13) and (15) yields

∣ℓcls(Ct+1(Itup),Lt)−ℓcls(Ct+1(Dt),Lt)∣≤2(∥∇DCt+1(Dt)Δt∥2+κ2∥Δt∥22).(16)\left|\ell_{\mathrm{cls}}\left(C_{t+1}(I_t^{\mathrm{up}}),L_t\right)-\ell_{\mathrm{cls}}\left(C_{t+1}(D_t),L_t\right)\right| \le\sqrt{2}\left(\left\lVert\nabla_D C_{t+1}(D_t)\Delta_t\right\rVert_2+\frac{\kappa}{2}\lVert\Delta_t\rVert_2^2\right). \tag*{(16)}

which proves Proposition 4. □

Proof of the Task-Preserving Capacity Theorem

Suppose first that ry≥dtaskr_y\ge d_{\mathrm{task}}, and let k=ry−dtaskk=r_y-d_{\mathrm{task}}. Choose any matrix Ukeep∈Rd×kU_{\mathrm{keep}}\in\mathbb{R}^{d\times k} whose columns are orthonormal nuisance directions in span⁡(Unui)\operatorname{span}(U_{\mathrm{nui}}), and define

Py=UtaskUtaskT+UkeepUkeepT.(17)P_y=U_{\mathrm{task}}U_{\mathrm{task}}^{\mathsf{T}}+U_{\mathrm{keep}}U_{\mathrm{keep}}^{\mathsf{T}}. \tag*{(17)}

Then PyP_y is an orthogonal projection of rank dtask+k=ryd_{\mathrm{task}}+k=r_y. Moreover,

UtaskTPyxt=UtaskTxt=at,(18)U_{\mathrm{task}}^{\mathsf{T}}P_yx_t=U_{\mathrm{task}}^{\mathsf{T}}x_t=a_t, \tag*{(18)}

so the complete task component can be recovered from PyxtP_yx_t. Because PyxtP_yx_t is a function of xtx_t, while ata_t is a function of PyxtP_yx_t, conditioning reduces entropy in both directions:

H(Lt∣xt)≤H(Lt∣Pyxt)≤H(Lt∣at).(19)H(L_t\mid x_t)\le H(L_t\mid P_yx_t)\le H(L_t\mid a_t). \tag*{(19)}

Assumption 5 gives H(Lt∣at)=H(Lt∣xt)H(L_t\mid a_t)=H(L_t\mid x_t), and hence

H(Lt∣Pyxt)=H(Lt∣xt).(20)H(L_t\mid P_yx_t)=H(L_t\mid x_t). \tag*{(20)}

To compute the reconstruction error, complete UkeepU_{\mathrm{keep}} with a matrix UdropU_{\mathrm{drop}} so that [Ukeep,Udrop][U_{\mathrm{keep}},U_{\mathrm{drop}}] is an orthonormal basis of the nuisance subspace. The decomposition in Assumption 5 can then be written as

xt=Pyxt+Udropbtdrop,(21)x_t=P_yx_t+U_{\mathrm{drop}}b_t^{\mathrm{drop}}, \tag*{(21)}

where btdropb_t^{\mathrm{drop}} is a standard Gaussian vector of dimension d−ryd-r_y. By the independence and isotropy assumptions, UdropbtdropU_{\mathrm{drop}}b_t^{\mathrm{drop}} is zero mean and independent of (Pyxt,Lt)(P_yx_t,L_t). Consequently,

E[xt∣Pyxt,Lt]=Pyxt.(22)\mathbb{E}[x_t\mid P_yx_t,L_t]=P_yx_t. \tag*{(22)}

Using the orthonormality of UdropU_{\mathrm{drop}} gives

Drec(Py)=1dE∥Udropbtdrop∥22=d−ryd=1−ryd.(23)\mathcal{D}_{\mathrm{rec}}(P_y)=\frac{1}{d}\mathbb{E}\left\|U_{\mathrm{drop}}b_t^{\mathrm{drop}}\right\|_2^2 =\frac{d-r_y}{d}=1-\frac{r_y}{d}. \tag*{(23)}

Now suppose that ry<dtaskr_y<d_{\mathrm{task}} and consider any linear representation Z=BxtZ=Bx_t with rank⁡(B)≤ry\operatorname{rank}(B)\le r_y. Since ZZ is a deterministic function of xtx_t,

H(Lt∣Z)−H(Lt∣xt)=I(Lt;xt∣Z)≥0.(24)H(L_t\mid Z)-H(L_t\mid x_t)=I(L_t;x_t\mid Z)\ge0. \tag*{(24)}

Equality would mean that ZZ preserves all label-relevant information in xtx_t. However, its rank is strictly smaller than dtaskd_{\mathrm{task}}, contradicting the minimality condition in Assumption 5. Therefore,

H(Lt∣Bxt)>H(Lt∣xt).(25)H(L_t\mid Bx_t)>H(L_t\mid x_t). \tag*{(25)}

By the conditional-entropy characterization in Eq. (6), every such representation has strictly larger Bayes-optimal cross-entropy. This completes the proof.

On-Device Encoder Deployment and Benchmark

To validate that the FunnelEncoder can operate on resource-limited client devices, we deployed the encoder on a commercial Android device with Snapdragon 660 SoC (2018) and benchmarked it with 100 real-world photographs. The encoder was exported to ONNX Runtime Mobile (arm64-v8a, FP32). Each photograph (∼\sim12 MP) is resized to 128×128128\times128 and normalized to [−1,1][-1,1] before inference, producing a 3×8×83\times8\times8 output (768 bytes). Table 5 summarizes the encoder configuration; Table 6 lists the benchmark device specifications.

ParameterValueDescription
Input channels3RGB input
Resize target128×128128\times128Pre-resize from native photo
Encoder input128×128128\times128Fixed input resolution
Output size8×88\times8Compressed spatial size
Hidden dimension128Internal channel count
Convs per block5ConvPoolBlock depth
Compress to RGBTrue3-channel output (interpretable)
Output format3×8×83\times8\times8768 bytes (FP32)
Total parameters∼\sim1.35MModel ≈\approx 2.3 MB (ONNX)

Table 5. Encoder configuration for on-device benchmark.

AttributeValue
Manufacturer / ModelCommercial device (Snapdragon 660)
SoC / BoardSnapdragon 660 (sdm660)
CPU architecturearm64-v8a, 8 cores @ 2.21 GHz
Total / Available RAM5.70 GB / 2.02 GB
Total / Available Storage110.4 GB / 6.77 GB
GPU RendererAdreno 512
Android version9 (SDK 28)
Screen1080×22011080\times2201 px

Table 6. Hardware specifications of the benchmark device.

The encoder uses a fixed AveragePool (kernel = stride = 16) in place of AdaptiveAvgPool2d to eliminate dynamic shape resolution overhead on mobile. The 128×128128\times128 input balances visual fidelity, ∼\sim1.35 M parameter footprint (<1 s per image on Snapdragon 660), and RAM constraints (∼\sim2 GB available). Larger inputs quadratically increase FLOPs and memory; smaller inputs discard too much spatial detail pre-compression.

The benchmark device (2018) provides a concrete example of CPU-only deployment on older mobile hardware. The measured results apply to this device and workload; performance on other devices, including NPU-equipped phones, requires separate benchmarking.

Benchmark Results

MetricValue
Total images processed100
Total wall-clock time85.62 s
Avg. encode time / img849.33 ms
Throughput (images/sec)1.17 img/s
Throughput (input data)3.83 MB/s
Total input data328.22 MB
Total compressed output0.0768 MB (76.8 KB)
Representation reduction4,274×
Per-image output768 bytes

Table 7. End-to-end on-device encoder benchmark results (100 photographs).

All 100 images completed without a reported runtime failure. Average encode time is 849 ms (dominated by the convolutional forward pass). Throughput of 1.17 img/s means 1,000 images compress in ∼14.2 minutes. The pipeline reduces transmitted representation size by approximately 4,274× (328.22 MB → 0.0768 MB, using decimal units), reducing per-image communication to a fixed 768 bytes.

MetricBeforeAfterDelta
Battery level97.0%94.0%−3.0 pp
Battery voltage4,089 mV3,849 mV−240 mV
Charge counter1,859 µAh1,832 µAh−27 µAh
Device temperature31.5°C32.0°C+0.5°C
Charging stateNot charging (battery-only)Not charging (battery-only)

Table 8. Battery and thermal measurements before and after the benchmark.

The benchmark was conducted on battery power. The reported battery level changed from 97.0% to 94.0%, and device temperature increased by 0.5°C. The charge-counter readings and their units require validation before energy per image can be estimated; these endpoint readings alone do not establish the absence of thermal throttling.

Discussion. The encoder runs on the Snapdragon 660 device with CPU-only FP32 inference at 1.17 images/s. The client performs a forward pass per sample while encoder training remains on the server. Each transmitted representation contains 192 FP32 values (768 bytes), a 256× reduction relative to a 3×128×128 FP32 input tensor. The approximately 4,274× ratio above instead compares the total source photograph files with representation payloads; it excludes encoder downloads, labels, and protocol overhead. INT8 quantization, dynamic input resolution, and NPU acceleration remain future work, with their effects on utility, latency, and energy still to be measured.

Adaptive Reconstruction Attack

To evaluate the reconstruction resistance of FedPix’s capacity bottleneck under a strong adversary, we design a white-box adaptive reconstruction attack. The attacker trains a dedicated restoration network to invert the compression mapping, with full knowledge of the encoder architecture and parameters.

Attack Setup

We consider an attacker with the following capabilities:

  1. Access to compressed representations. The attacker observes the transmitted compressed images X=E(y)X = E(y), where EE is the FunnelEncoder and yy is the original image.

  1. Full encoder knowledge (white-box). The attacker possesses the complete encoder architecture and its trained parameters. This models the scenario where the encoder is standardized and publicly released, or where parameters are obtained through system-level access.

  1. Shadow dataset. The attacker holds an auxiliary dataset Dshadow\mathcal{D}_{\mathrm{shadow}} drawn from the same data distribution, used exclusively for training the restoration model.

The attacker trains a restoration model Rϕ:X→YR_{\phi}:\mathcal{X}\to\mathcal{Y} to minimize the ℓ1\ell_1 reconstruction loss over the shadow dataset:

min⁡ϕ E(x,y)∼Dshadow[∥Rϕ(E(y))−y∥1],(26)\min_{\phi}\ \mathbb{E}_{(x,y)\sim\mathcal{D}_{\mathrm{shadow}}}\left[\left\|R_{\phi}(E(y))-y\right\|_1\right], \tag*{(26)}

where EE is frozen with the known parameters. After training, RϕR_{\phi} is applied to the actual transmitted set X\mathbf{X}, producing reconstructed estimates Y^=Rϕ(X)\widehat{\mathbf{Y}}=R_{\phi}(\mathbf{X}), which are compared against the ground-truth originals Y\mathbf{Y}.

Restoration Model

The restoration network is a ResUNet—a U-Net augmented with residual bottleneck blocks. The encoder path contains four down-sampling stages (DoubleConv → MaxPool, base channels 64), expanding to 512 channels at 8×88\times8 spatial resolution. The bottleneck consists of two residual blocks (Conv→BN→ReLU→Conv→BN with skip connection). The decoder path mirrors the encoder with four up-sampling stages and skip connections, followed by a 1×11\times1 convolution with tanh activation. The model has ∼500K trainable parameters. Training uses Adam (lr = 10−310^{-3}) with cosine annealing over 20 epochs, minimizing ℓ1\ell_1 loss.

Results

We evaluate on the same four datasets and use the same PSNR / SSIM / LPIPS metrics defined in Section A. Table 9 reports the reconstruction quality of the ResUNet attacker across all four datasets, alongside FedPix’s Synthetic and Reconstructed metrics from the main baseline comparison in Section 4. All three rows per dataset share the same compressed representations; they differ only in whether an active restoration step is applied and how strong that restoration model is.

DatasetAttack TypePSNR (dB) ↓SSIM ↓LPIPS ↑
BloodMNISTAdaptive (ResUNet)13.53 ± 1.070.48 ± 0.070.11 ± 0.02
Synthetic8.84 ± 1.340.32 ± 0.100.26 ± 0.02
Reconstructed (MoIA)10.20 ± 1.020.34 ± 0.080.26 ± 0.03
FashionMNISTAdaptive (ResUNet)13.81 ± 1.880.56 ± 0.060.08 ± 0.02
Synthetic8.27 ± 2.340.29 ± 0.090.39 ± 0.09
Reconstructed (MoIA)8.19 ± 0.980.26 ± 0.050.41 ± 0.05
CIFAR-10Adaptive (ResUNet)11.34 ± 1.490.44 ± 0.120.19 ± 0.05
Synthetic8.47 ± 1.440.24 ± 0.070.39 ± 0.05
Reconstructed (MoIA)10.94 ± 1.120.33 ± 0.080.30 ± 0.08
MNISTAdaptive (ResUNet)10.80 ± 2.590.38 ± 0.120.09 ± 0.03
Synthetic6.74 ± 2.320.19 ± 0.080.42 ± 0.08
Reconstructed (MoIA)6.87 ± 1.460.11 ± 0.030.43 ± 0.07

Table 9. Adaptive reconstruction attack results under the white-box setting. Best value in each column is bolded. ↓ = lower is better for reconstruction resistance; ↑ = higher is better for reconstruction resistance.

Active restoration recovers additional information. The Adaptive (ResUNet) attacker achieves PSNR of 10.80–13.81 dB, improving on the direct Synthetic comparison by 2.87–5.54 dB. Relative to MoIA, its PSNR gains range from 0.40 dB on CIFAR-10 to 5.62 dB on FashionMNIST, accompanied by higher SSIM and lower LPIPS on every dataset. Thus, direct representation dissimilarity can understate recoverable information. These metrics do not define a universal threshold for usable reconstruction.

Global structure partially survives compression. LPIPS values for the Adaptive attacker are moderate (0.08–0.19), indicating that the bottleneck retains coarse spatial layout and color statistics—precisely the information needed for downstream classification. The tension between low PSNR and moderate LPIPS reflects the design intent of FedPix: preserving what is in the image while discarding how it looks in detail. Scope of the attack evaluation. These results characterize the specified white-box restoration model and training budget. They are not an upper bound on attacker success; other architectures, training budgets, or auxiliary data could yield stronger reconstructions.

Analysis

Dataset-dependent reconstruction quality. CIFAR-10 has the highest Adaptive LPIPS (0.19), whereas MNIST has the lowest Adaptive PSNR (10.80 dB, versus 11.34 dB on CIFAR-10). Different metrics therefore yield different dataset rankings; these results do not establish that natural images are uniformly the most resistant to reconstruction. Input complexity has limited impact. Across four datasets spanning simple digits (MNIST) to natural scenes (CIFAR-10), the Adaptive PSNR range is narrow (10.80–13.81 dB). The 8×88 \times8 bottleneck dominates over input complexity: even MNIST digits on blank backgrounds remain substantially degraded after reconstruction. This suggests that reconstruction resistance is a structural property of the spatial reduction ratio rather than dataset-dependent. White-box attack remains relevant. Across all four datasets, the learned attacker improves PSNR, SSIM, and LPIPS relative to MoIA. These gains show that a spatial bottleneck reduces representation size without necessarily eliminating exploitable structure. Reconstruction resistance must therefore be assessed against adaptive attacks as well as direct image similarity.

Related Work

Traditional Federated Learning

Federated learning enables collaborative training without sharing raw data and has become a foundational paradigm for privacy-sensitive services [29]. FedAvg [29], as the earliest and most widely adopted aggregation algorithm, constructs a global model by weighted averaging of client updates but suffers from severe client drift under non-IID data distributions. FedProx [25] introduces a proximal term to constrain local updates, SCAFFOLD [20] corrects update biases via control variates, FedAdam [34] brings adaptive optimization to federated learning, and PARS [1] designs pseudo-labeling with adaptive sampling strategies for semi-supervised scenarios. FedLADA [42] incorporates a locally amended technique into adaptive optimizers to mitigate client drift, while Δ\Delta-FL [33] employs superquantile aggregation to improve performance across heterogeneous clients.

A common thread across these methods is the model parameter exchange paradigm: each client locally optimizes on its own data distribution DkD_k, yielding a local model wkw_k. When Dk≠DjD_k \ne D_j, local objectives diverge, causing client drift and aggregation bias. Existing approaches are corrective, primarily mitigating the optimization consequences of non-IID data without changing the underlying communication interface.

Limitations and our distinction. FedPix does not compete with these FL aggregation algorithms. Rather, it operates at a different layer of the federated system stack. Traditional FL addresses the question “how should models be coordinated across clients?”; FedPix addresses the prior question “what information should leave the client?”. The two layers are orthogonal and complementary: one could deploy a FedPix compressor at the data interface of any FL system, upload compressed representations instead of raw data, and still apply FedAvg, SCAFFOLD, or any other aggregation protocol downstream. FedPix’s centralized training on a shared compressor’s outputs naturally avoids the non-IID aggregation problem, but this is a consequence of its data-interface design, not a claim to replace FL aggregation.

Federated Data Condensation

Federated Data Condensation (FDC) reduces communication overhead by compressing raw data into small synthetic datasets. FedDM is the first to introduce data condensation into federated learning, achieving communication-efficient model updates through iterative distribution matching [47]. To address the multi-round communication bottleneck, FedSD2C adopts a one-round synthetic distiller-distillate communication framework [50], while CollabDM captures global data distribution through collaborative data distillation [18]. Zhang et al. (2024a) further integrated differential privacy into condensation to provide quantifiable privacy guarantees. FedDC proposes discrepancy distribution matching and collaborative knowledge distillation for IoT scenarios [28], and FedPAD adopts an aggregation-free prototype-based adaptive distillation paradigm [54].

Limitations and our distinction. While data condensation reduces communication by compressing the number of samples, it places substantial optimization burden on the client side and targets high-fidelity reconstruction of the original data distribution—both of which are misaligned with edge-device deployment and privacy preservation. FedPix takes a fundamentally different path: it compresses the per-sample information content (∣zi∣≪∣xi∣|z_i| \ll|x_i|) rather than the sample count, offloads all compressor training to the server, and explicitly optimizes for task utility with a reconstruction-suppression objective. Moreover, FedPix addresses the data-interface layer (what clients upload) rather than the communication-efficiency layer (how much is uploaded). The two approaches are complementary: one could apply FedPix’s per-sample compression and then condense the resulting compressed dataset, or vice versa.

Split Federated Learning

Split Federated Learning (SFL) reduces client computation by transmitting only intermediate features instead of raw data [43]. Turina et al. (2020) highlighted its efficiency-privacy balance. FLEX-SFL further improved training efficiency in heterogeneous edge environments through adaptive splitting and client selection mechanisms [48]. However, SFL remains vulnerable to various attacks: security analysis revealed multiple attack surfaces [22]; Unsplit demonstrated feature inversion, model stealing, and label inference [11]; subsequent attacks include GRAMSSAT (label inference) [51], PCAT (pseudo-client attack) [14], and PPoison (poisoning attack) [27]. These studies collectively expose the fragility of intermediate representation management in existing SFL methods and underscore the need for stronger privacy protections.

Limitations and our distinction. A critical vulnerability of SFL is that the transmitted intermediate features are not interpretable by end users, making direct human inspection of uploaded information difficult. Moreover, as prior attacks (Unsplit [11], GRAMSSAT [51], PCAT [14], PPoison [27]) have shown, these features carry enough structural information to enable feature inversion, model stealing, and label inference. FedPix addresses this gap by transmitting compressed images that can be upsampled for inspection that preserve a visual correspondence to the original input, allowing users to inspect what is being uploaded. At the same time, our task-directed compression actively suppresses reconstructability, providing stronger reconstruction resistance than the passive feature exposure in SFL.

Differential Privacy Mechanisms

Differential Privacy (DP) provides quantifiable privacy guarantees by injecting calibrated noise into data or model parameters, and has been widely adopted in federated learning frameworks to defend against privacy attacks. DP-Pix first combined differential privacy with image pixelization, achieving provable privacy guarantees by injecting noise into the pixelization process [13]; DP-GLOW, based on invertible generative models, adds noise in the latent space to achieve privacy protection for generated images [37]. DPLD-Slicing proposed a local differential privacy perturbation mechanism based on randomized bit-plane slicing, which reduces noise variance by processing data plane by plane, thereby improving data utility while preserving privacy [8]. Furthermore, DP-FedAvg combines differential privacy with the federated averaging algorithm, enabling privacy budget composition across multiple training rounds through privacy accounting [30]; PRISM-FL proposes an obfuscated image synthesis framework under client-level differential privacy, balancing privacy and utility by generating datasets that resemble the private data distribution yet exhibit substantial visual differences from the original data [39].

Limitations and our distinction. The fundamental drawback of DP-based data perturbation is its indiscriminate nature: noise is added to all information dimensions regardless of their relevance to the downstream task, leading to a severe utility-privacy trade-off that worsens with data dimensionality. FedPix overcomes this by replacing blind noise with a learnable, task-directed utility-privacy filter. The compressor is trained on the server to selectively preserve task-relevant cues while suppressing those that enable reconstruction, all without accessing raw client data. Our experiments compare empirical utility and attack metrics for selected configurations; they do not establish superiority at a matched formal privacy budget.

Lossy Compression and Learned Compression

Lossy compression has long been studied as a means to reduce storage and transmission costs. Traditional codecs such as JPEG [45], JPEG2000, and HEVC [40] rely on hand-crafted transforms (e.g., DCT, wavelet) and quantization to achieve compression. While these methods are computationally efficient on edge devices and produce human-readable images, they are non-learnable and optimize for reconstruction fidelity rather than task utility or privacy. Consequently, they cannot adapt to downstream tasks and provide no formal protection against reconstruction attacks.

More recently, learned image compression (LIC) has emerged as a powerful alternative, employing neural autoencoders to optimize the rate-distortion trade-off end-to-end [5, 4, 31]. These methods typically encode images into compact latent representations that are entropy-coded into bitstreams. While they achieve superior compression ratios, they suffer from two key limitations in the context of privacy-aware federated learning: (1) the transmitted latent representations or bitstreams are not human-readable, violating user auditability (R1); and (2) the encoder often requires significant computation or even task-specific fine-tuning on the client side, conflicting with edge-device friendliness (R2). Furthermore, like traditional codecs, LIC methods optimize for reconstruction quality, which inherently conflicts with the privacy goal of non-reconstructability (R3) [6, 7]. The seminal work of Blau and Michaeli [7] formalized the rate-distortion-perception trade-off, showing that perfect perceptual quality (i.e., indistinguishability from the original) is fundamentally at odds with low distortion—a tension that directly translates to the privacy domain, where high reconstruction fidelity implies high privacy leakage.

A few recent works have explored privacy-oriented compression with fixed (non-learned) transformations. DeepFixCX [15] proposes an explainable and privacy-oriented medical image compression framework based on wavelet packet transforms and spatial pooling. By removing local spatial information and suppressing edge direction via ℓ1\ell_1 pooling, DeepFixCX generates human-readable compressed images that mitigate patient re-identification while maintaining diagnostic utility. However, DeepFixCX is non-learnable: its wavelet filters and pooling operations have fixed weights, meaning the compression strategy cannot adapt to new tasks or data distributions beyond the medical imaging scenarios for which it was designed. Moreover, while the compression is fast (650–1700 images per second on a laptop CPU/GPU), the client still bears the full computational burden of the transform and pooling, and the method does not explicitly optimize against reconstruction attacks such as model inversion. These limitations highlight the need for a learnable privacy-aware compression framework that shifts training overhead to the server while keeping client-side inference minimal.

Other works have explored task-oriented or semantic compression [26, 46], which prioritizes task utility over pixel-level fidelity. However, these approaches still typically require client-side training or transmit non-auditable features. For instance, Liu et al. [26] analyzed the classification-distortion-perception trade-off, showing that optimizing for classification accuracy does not automatically guarantee privacy against reconstruction. Similarly, Wang et al. (2025) proposed task-oriented lossy compression frameworks under data, perception, and classification constraints, but the training burden remains on the client side.

Limitations and our distinction. To the best of our knowledge, FedPix is the first framework that provides reconstruction resistance through a capacity-constrained representation interface while simultaneously satisfying all three requirements: it transmits human-readable compressed images, shifts all training overhead to the server, and explicitly optimizes for dissimilarity and non-reconstructability.

Task-Oriented Image Compression

Task-oriented image compression has emerged as a paradigm shift from traditional rate-distortion optimization toward preserving information relevant to specific downstream tasks such as classification, detection, or segmentation [26, 46]. Unlike conventional codecs that minimize pixel-level distortion for human perception, these methods integrate task-specific objectives—e.g., classification cross-entropy or segmentation mIoU—into the compression pipeline, enabling extreme bitrate reduction with minimal utility degradation [10, 21]. A prominent line of work organizes the latent representation according to task-specific mutual information, selectively retaining features that are informative for analytics while discarding those that are not [2]. Azizian and Bajić [3] propose a privacy-preserving autoencoder (PPA) that uses adversarial training to force the encoder to discard pre-specified private attributes (e.g., faces, license plates) from compressed representations while preserving task-relevant features for collaborative object detection. The encoder is trained on a public dataset at the server and then deployed to edge devices for single-pass inference. More recent efforts formulate the problem as rate-distortion-utility joint optimization, where the utility loss directly guides the compressor to produce task-favorable representations for downstream analytics such as classification, segmentation, and detection [23, 16]. InfoShape further leverages mutual information neural estimators to train a lossy encoder that explicitly trades off privacy and utility via information-theoretic criteria [12].

However, these methods share a fundamental assumption: the compressor can directly access original data during optimization. They mainly optimize compression efficiency for downstream analytics, rather than designing a privacy-controlled interface for federated data sharing. In a federated setting where raw data never leaves the client, this assumption breaks down, and the optimization objective must be reformulated to operate without direct data access.

Limitations and our distinction. These methods either (i) operate on latent features that are neither human-readable nor auditable [2, 3], (ii) require clients to run computationally heavy encoders or even perform local training [12], or (iii) treat privacy protection as a secondary concern rather than a first-class objective [10]. FedPix addresses these gaps by introducing a Federated Data Interface in which the encoder is optimized on the server via an “upsample-recompress” closed loop without ever accessing raw client data, clients perform only a single lightweight forward pass, and the output remains a human-readable compressed image that users can audit. To the best of our knowledge, FedPix is the first framework that realizes a federated data interface with explicit privacy protection, task-aware representation learning, and server-side optimization without raw data access in a single cohesive design.

Positioning of Our Work

FedPix occupies a distinct position in the federated ecosystem. It is not a model-aggregation FL algorithm, a data-condensation method, a split-learning variant, or a DP mechanism—though it shares motivations with each. FedPix is best understood as a Federated Data Interface: a principled mechanism for clients to share task-useful yet privacy-limited representations with a server. It simultaneously ensures user auditability (human-readable compressed images), edge-device friendliness (single forward pass on client), and a balanced trade-off between dissimilarity, non-reconstructability, and task utility. By decoupling encoder training from client-side inference and leveraging upsampled compressed data as optimization proxies, FedPix satisfies all three requirements without client-side optimization or parameter aggregation. The shared encoder, trained centrally and distributed periodically, naturally circumvents the client drift issue common under non-IID data distributions. We emphasize that FedPix is orthogonal and complementary to existing FL methods: it addresses the data interface layer (what leaves the client), while traditional FL addresses the model coordination layer (how models are aggregated).

To complement the narrative survey above, Table 10 provides a structured comparison of representative methods along the key dimensions identified in the Introduction: reconstruction resistance, underlying mechanism, limitations of existing approaches, our innovations, and edge-device friendliness.

Table 10: Comparison of representative methods—FedAvg’17 [29], SCAFFOLD’20 [20], FedProx’20 [25], PARS’26 [1], FedDM’23 [47], CollabDM’24 [18], FedSD2C’24 [50], SFL’20 [43], FLEX-SFL’25 [48], DP-Pix’19 [13], DP-GLOW’23 [37], LDP-Slicing’26 [8], Scalable Privacy’21 [2], PPA’24 [3], JPEG’92 [45], and DeepFixCX’23 [15]—and FedPix. Columns summarize privacy mechanisms, limitations, the FedPix design, and client efficiency.

MethodPrivacy Aware?Protection MechanismLimitationsOur InnovationEdge-friendly?
Traditional FL
FedAvg ’17✓Uploads model parameters instead of raw dataUploaded data is not user-auditableUploads human-interpretable compressed images instead of model parameters×
SCAFFOLD ’20✓Uploads model parameters instead of raw dataUploaded data is not user-auditableUploads human-interpretable compressed images instead of model parameters×
FedProx ’20✓Uploads model parameters instead of raw dataUploaded data is not user-auditableUploads human-interpretable compressed images instead of model parameters×
PARS ’26✓Uploads model parameters instead of raw dataUploaded data is not user-auditableUploads human-interpretable compressed images instead of model parameters×
Federated Data Condensation
FedDM ’23✓Uploads synthetic data (or its encoding) templated on real data instead of raw dataOptimizes for high fidelity; synthetic data resembles original dataOptimizes for privacy-utility information filtering rather than high fidelity×
CollabDM ’24✓Uploads synthetic data (or its encoding) templated on real data instead of raw dataOptimizes for high fidelity; synthetic data resembles original dataOptimizes for privacy-utility information filtering rather than high fidelity✓
FedSD2C ’24✓Uploads synthetic data (or its encoding) templated on real data instead of raw dataOptimizes for high fidelity; synthetic data resembles original dataOptimizes for privacy-utility information filtering rather than high fidelity×
Split Federated Learning
SFL ’20✓Uploads intermediate features instead of raw dataUploaded data is not user-auditableUploads user-auditable compressed images instead of intermediate features✓
FLEX-SFL ’25✓Uploads intermediate features instead of raw dataUploaded data is not user-auditableUploads user-auditable compressed images instead of intermediate features✓
Differential Privacy for Data Rather Than for the Model
DP-Pix ’19✓Uploads noise-perturbed data (or its encoding) instead of raw dataBlind noise addition sacrifices utility for privacyOptimizes for privacy-utility information filtering rather than blindly erasing both with equal noise✓
DP-GLOW ’23✓Uploads noise-perturbed data (or its encoding) instead of raw dataBlind noise addition sacrifices utility for privacyOptimizes for privacy-utility information filtering rather than blindly erasing both with equal noise✓
LDP-Slicing ’26✓Uploads noise-perturbed data (or its encoding) instead of raw dataBlind noise addition sacrifices utility for privacyOptimizes for privacy-utility information filtering rather than blindly erasing both with equal noise✓
Task-Oriented Compression
Scalable Privacy ’21✓Uploads latent features instead of raw data, with privacy-prioritized feature sorting and selective uploadingOptimizes feature ranking rather than the encoder; client bears the main computational cost; not a federated data interfaceLearns a task-aware privacy–utility encoder rather than ranking fixed features; server bears main computational cost; designed as a federated data interface×
PPA ’24✓Uses adversarial training to force the encoder to discard private attributes (e.g., faces, license plates) from compressed representations while preserving task-relevant features for object detection. The encoder is trained on a public dataset at the server, then deployed to edge devices for single-pass inference.Outputs unreadable latent features that users cannot audit. Requires pre-specifying privacy attributes to protect (e.g., faces, license plates); retraining is needed for different privacy targets.Client uploads human-readable compressed images that support user auditing; no need to pre-specify privacy attributes—the capacity bottleneck adaptively filters information; designed as an iterative federated data interface rather than a one-shot deployable filter.✓
Lossy Compression
JPEG ’92×––Optimizes for privacy-utility filtering rather than high fidelity✓
DeepFixCX ’23✓1. Multiple privacy operators; 2. Multi-pixel averaging (equivalent to downscaling)Blind noise addition sacrifices utility for privacyOptimizes for privacy-utility information filtering rather than blindly erasing both with equal noise✓
FedPix (Ours)✓1. Learns a task-aware representation shared by all clients; 2. Server-side closed-loop optimization via upsample–recompress; 3. Spatial downsampling limits representation size; leakage is evaluated empirically––✓

Table 10.

References

  1. [1]Emin Akpinar, Murat Taskiran, and Bulent Bolat. Pars: Performance-driven adam-based resilient scaffold for federated learning. Information Sciences, pp. 123374, 2026.DOI
  2. [2]Saeed Ranjbar Alvar and Ivan V Bajic. Scalable privacy in multi-task image compression. In 2021 International Conference on Visual Communications and Image Processing (VCIP), pp. 1–5. IEEE, 2021.DOI
  3. [3]Bardia Azizian and Ivan V Bajic. Privacy-preserving autoencoder for collaborative object detection. IEEE Transactions on Image Processing, 33:4937–4951, 2024.arxiv.org/abs/2402.18864
  4. [4]Johannes Ball’e, Valero Laparra, and Eero P Simoncelli. End-to-end optimized image compression. In International Conference on Learning Representations, 2017.arxiv.org/abs/1611.01704
  5. [5]Johannes Ball’e, David Minnen, Saurabh Singh, Sung Jin Hwang, and Nick Johnston. Variational image compression with a scale hyperprior. arXiv preprint arXiv:1802.01436, 2018.arxiv.org/abs/1802.01436
  6. [6]Yochai Blau and Tomer Michaeli. The perception-distortion tradeoff. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 6228–6237, 2018.DOI
  7. [7]Yochai Blau and Tomer Michaeli. Rethinking lossy compression: The rate-distortion-perception tradeoff. In International Conference on Machine Learning, pp. 675–685. PMLR, 2019.arxiv.org/abs/1901.07821
  8. [8]Yuanming Cao, Chengqi Li, and Wenbo He. Ldp-slicing: Local differential privacy for images via randomized bit-plane slicing. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 92–101, 2026.arxiv.org/abs/2603.03711
  9. [9]Chaofeng Chen and Jiadi Mo. IQA-PyTorch: Pytorch toolbox for image quality assessment. [Online]. Available: https://github.com/chaofengc/IQA-PyTorch, 2022.
  10. [10]Felipe Codevilla, Jean Gabriel Simard, Ross Goroshin, and Christopher Pal. Learned image compression for machine perception, 2021.arxiv.org/abs/2111.02249
  11. [11]Ege Erdoğan, Alptekin Küpçü, and A Erçüment Çiçek. Unsplit: Data-oblivious model inversion, model stealing, and label inference attacks against split learning. In Proceedings of the 21st Workshop on Privacy in the Electronic Society, pp. 115–124, 2022.DOI
  12. [12]Homa Esfahanizadeh, William Wu, Manya Ghobadi, Regina Barzilay, and Muriel Médard. InfoShape: Task-based neural data shaping via mutual information. In IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2023. doi: 10.1109/ICASSP49357.2023.10095632.DOI
  13. [13]Liyue Fan. Image pixelization with differential privacy. In IFIP Annual Conference on Data and Applications Security and Privacy, pp. 148–162. Springer, 2018.DOI
  14. [14]Xinben Gao and Lan Zhang. {PCAT}: Functionality and data stealing from split learning by {Pseudo-Client} attack. In 32nd USENIX security symposium (USENIX Security 23), pp. 5271–5288, 2023.
  15. [15]Alex Gaudio, Asim Smailagic, Christos Faloutsos, Shreshta Mohan, Elvin Johnson, Yuhao Liu, Pedro Costa, and Aur’èlio Campilho. Deepfixcx: Explainable privacy-preserving image compression for medical image analysis. Wiley interdisciplinary reviews: Data mining and knowledge discovery, 13(4):e1495, 2023.DOI
  16. [16]Xingtong Ge, Jixiang Luo, Xinjie Zhang, Tongda Xu, Guo Lu, Dailan He, Jing Geng, Yan Wang, Jun Zhang, and Hongwei Qin. Task-aware encoder control for deep video compression. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 26036–26045, 2024.arxiv.org/abs/2404.04848
  17. [17]Zecheng He, Tianwei Zhang, and Ruby B Lee. Model inversion attacks against collaborative inference. In Proceedings of the 35th annual computer security applications conference, pp. 148–162, 2019.DOI
  18. [18]William Holland, Chandra Thapa, Wei Shao, Seyit Camtepe, and Sarah Ali Siddiqui. One-shot collaborative data distillation. In ECAI 2024: 27th European Conference on Artificial Intelligence, pp. 2597–2604. IOS Press, 2024.arxiv.org/abs/2408.02266
  19. [19]Hongsheng Hu, Xuyun Zhang, Zoran Salcic, Lichao Sun, Kim-Kwang Raymond Choo, and Gillian Dobbie. Source inference attacks: Beyond membership inference attacks in federated learning. IEEE Transactions on Dependable and Secure Computing, 21(4):3012–3029, 2023.arxiv.org/abs/2310.00222
  20. [20]Sai Praneeth Karimireddy, Sayen Kale, Mehryar Mohri, Sashank Reddi, Sebastian Stich, and Ananda Theertha Suresh. Scaffold: Stochastic controlled averaging for federated learning. In International conference on machine learning, pp. 5132–5143. PMLR, 2020.arxiv.org/abs/1910.06378
  21. [21]Maxime Kawawa-Beaudan, Ryan Roggenkemper, and Avideh Zakhor. Recognition-aware learned image compression. In IS&T International Symposium on Electronic Imaging: Computational Imaging XX, 2022. doi: 10.2352/EI.2022.34.14.COIMG-220. arXiv:2202.00198.
  22. [22]Momin Ahmad Khan, Virat Shejwalkar, Amir Houmansadr, and Fatima M Anwar. Security analysis of splited learning. In Proceedings of the 20th ACM Conference on Embedded Networked Sensor Systems, pp. 987–993, 2022.arxiv.org/abs/2212.01716
  23. [23]Nikolina Kubiak and Simon Hadfield. TACTIC: Joint rate-distortion-accuracy optimisation for low bitrate compression, 2021.arxiv.org/abs/2109.10658
  24. [24]Tian Li, Anit Kumar Sahu, Ameet Talwalkar, and Virginia Smith. Federated learning: Challenges, methods, and future directions. IEEE signal processing magazine, 37(3):50–60, 2020a.DOI
  25. [25]Tian Li, Anit Kumar Sahu, Manzil Zaheer, Maziar Sanjabi, Ameet Talwalkar, and Virginia Smith. Federated optimization in heterogeneous networks. In Proceedings of Machine Learning and Systems, volume 2, pp. 429–450, 2020b.
  26. [26]Dong Liu, Haochen Zhang, and Zhiwei Xiong. On the classification-distortion-perception tradeoff. Advances in Neural Information Processing Systems, 32, 2019.arxiv.org/abs/1904.08816
  27. [27]Junlin Liu, Xinchen Lyu, Longfei Zheng, Chenshan Ren, and Qimei Cui. Ppoison: A pluggable poisoning attack against distributed training of split learning. Future Generation Computer Systems, 175:108045, 2026.DOI
  28. [28]Jun Ma, Qi Kang, Kefan Wang, Ruijing Sun, and MengChu Zhou. Communication-efficient federated learning with dataset condensation for vision tasks. IEEE Internet of Things Journal, 2025.DOI
  29. [29]Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Aguera y Arcas. Communication-efficient learning of deep networks from decentralized data. In Artificial intelligence and statistics, pp. 1273–1282. PMLR, 2017a.arxiv.org/abs/1602.05629
  30. [30]H Brendan McMahan, Daniel Ramage, Kunal Talwar, and Li Zhang. Learning differentially private recurrent language models. arXiv preprint arXiv:1710.06963, 2017b.arxiv.org/abs/1710.06963
  31. [31]David Minnen, Johannes Ball’e, and George D Toderici. Joint autoregressive and hierarchical priors for learned image compression. Advances in neural information processing systems, 31, 2018.arxiv.org/abs/1809.02736
  32. [32]Bolande Adefowoke Ojokoh, Folasade Olubosola Isinkaye, Ming Zhang, Joshua Joshua Tom, Arome Junior Gabriel, Olaitan Afolabi, and Bamidele Afolabi. Privacy and security in recommenders: an analytical review. Artificial Intelligence Review, 58(11):351, 2025.DOI
  33. [33]Krishna Pillutla, Yassine Laguel, Jérôme Malick, and Zaid Harchaoui. Federated learning with superquantile aggregation for heterogeneous data. Machine Learning, 113(5):2955–3022, 2024.
  34. [34]Sashank Reddi, Zachary Charles, Manzil Zaheer, Zachary Garrett, Keith Rush, Jakub Konečný, Sanjiv Kumar, and H Brendan McMahan. Adaptive federated optimization. arXiv preprint arXiv:2003.00295, 2020.
  35. [35]Haonan Shi, Tu Ouyang, and An Wang. Unveiling client privacy leakage from public dataset usage in federated distillation. arXiv preprint arXiv:2502.08001, 2025.arxiv.org/abs/2502.08001
  36. [36]Yichuan Shi, Olivera Kotevska, Viktor Reshniak, Abhishek Singh, and Ramesh Raskar. Dealing doubt: Unveiling threat models in gradient inversion attacks under federated learning, a survey and taxonomy. arXiv preprint arXiv:2405.10376, 2024.arxiv.org/abs/2405.10376
  37. [37]Hisaichi Shibata, Shouhei Hanaoka, Yang Cao, Masatoshi Yoshikawa, Tomomi Takenaga, Yukihiro Nomura, Naoto Hayashi, and Osamu Abe. Local differential privacy image generation using flow-based deep generative models. Applied Sciences, 13(18):10132, 2023.arxiv.org/abs/2212.10688
  38. [38]Reza Shokri, Marco Stronati, Congzheng Song, and Vitaly Shmatikov. Membership inference attacks against machine learning models. In 2017 IEEE symposium on security and privacy (SP), pp. 3–18. IEEE, 2017.arxiv.org/abs/1610.05820
  39. [39]Efstathia Soufleri. Prism-fl: Privacy-preserving image synthesis mechanism for federated learning. In Women in Machine Learning Workshop @ NeurIPS 2025, 2025.
  40. [40]Gary J Sullivan, Jens-Rainer Ohm, Woo-Jin Han, and Thomas Wiegand. Overview of the high efficiency video coding (hevc) standard. IEEE Transactions on circuits and systems for video technology, 22(12):1649–1668, 2012.DOI
  41. [41]Xiaoxiao Sun, Nidham Gazagnadou, Vivek Sharma, Lingjuan Lyu, Hongdong Li, and Liang Zheng. Privacy assessment on reconstructed images: are existing evaluation metrics faithful to human perception? Advances in Neural Information Processing Systems, 36:10223–10237, 2023a.arxiv.org/abs/2309.13038
  42. [42]Yan Sun, Li Shen, Hao Sun, Liang Ding, and Dacheng Tao. Efficient federated learning via local adaptive amended optimizer with linear speedup. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(12):14453–14464, 2023b.arxiv.org/abs/2308.00522
  43. [43]Chandra Thapa, Pathum Chamikara Mahawaga Arachchige, Seyit Camtepe, and Lichao Sun. Splifted: When federated learning meets split learning. In Proceedings of the AAAI conference on artificial intelligence, volume 36, pp. 8485–8493, 2022.
  44. [45]Gregory K Wallace. The jpeg still picture compression standard. IEEE transactions on consumer electronics, 38(1):xviii–xxxiv, 1992.
  45. [46]Yuhan Wang, Youlong Wu, Shuai Ma, and Ying-Jun Angela Zhang. Task-oriented lossy compression with data, perception, and classification constraints. IEEE Journal on Selected Areas in Communications, 2025.arxiv.org/abs/2405.04144
  46. [47]Yuanhao Xiong, Ruochen Wang, Minhao Cheng, Felix Yu, and Cho-Jui Hsieh. Feddm: Iterative distribution matching for communication-efficient federated learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16323–16332, 2023.arxiv.org/abs/2207.09653
  47. [48]Hao Yu, Jing Fan, Hua Dong, Yadong Jin, Enkang Xi, and Yihang Sun. Flex-sfl: A flexible and efficient split federated learning framework for edge heterogeneity. Sensors, 25(20):6355, 2025.DOI
  48. [50]Junyuan Zhang, Songhua Liu, and Xinchao Wang. One-shot federated learning via synthetic distiller-distillate communication. Advances in Neural Information Processing Systems, 37:102611–102633, 2024b.arxiv.org/abs/2412.05186
  49. [51]Lixin Zhang, Xinyan Gao, Bihe Zhao, Zhenyu Guan, and Song Bian. Grammsat: An efficient label inference attack against two-party split learning based on gradient matching and semi-supervised learning. Journal of Information Security and Applications, 93:104159, 2025.DOI
  50. [52]Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 586–595, 2018.arxiv.org/abs/1801.03924
  51. [53]Yue Zhao, Meng Li, Liangzhen Lai, Naveen Suda, Damon Civin, and Vikas Chandra. Federated learning with non-iid data. arXiv preprint arXiv:1806.00582, 2018.DOI
  52. [54]Tao Zhong, Kaiyan Zhao, Steve Drew, and Xiaoguang Niu. Fedpad: Aggregation-free federated learning with prototype-based adaptive distillation. Knowledge-Based Systems, pp. 114951, 2026.DOI

Paper details

vlnc:W_zdk2rg52
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 9

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents