Provable Sparse Inversion and Token Relabel Enhanced One-shot Federated Learning with ViTs

Li Shen, Xiaolei Hao, Qinglun Li, Xiaochun Cao, Zhifeng Hao, Xun YangarXiv 2026

TL;DR

One-shot Federated Learning (FL) often struggles with extreme data heterogeneity, leading to low-quality server-side data synthesis and misaligned labels. This paper introduces FedMITR, a novel framework that leverages Vision Transformers (ViTs) to perform sparse model inversion and token relabeling on the server. This approach dramatically improves the quality of synthetic data and provides a provably tighter generalization bound, significantly outperforming existing data-free FL baselines.

What Problem Does This Paper Address?

Federated Learning (FL) typically requires multiple communication rounds between local clients and a central server, incurring high communication costs and privacy risks. One-Shot FL addresses this by restricting communication to a single round.

However, when client data is highly non-IID (heterogeneous), local models diverge significantly. Existing data-free methods try to synthesize data on the server using an ensemble of these local models, but they often generate low-fidelity data with severe semantic misalignment (e.g., generating uninformative background noise or mismatched labels). This paper tackles the challenge of synthesizing and utilizing high-quality data on the server side using Vision Transformers (ViTs) without violating privacy.

Methods

The authors propose FedMITR (Federated Model Inversion and Token Relabel), which operates entirely on the server side without requiring extra client training. It consists of two main stages:

  1. Sparse Model Inversion: Instead of traditional dense inversion that updates the entire image (including noisy backgrounds), FedMITR uses the self-attention maps of ViTs to identify semantic foreground patches (high information density) and masks out uninformative background patches (low information density).
  2. Token Relabel: To maximize data utilization, patches are treated differently based on their information density. High-density patches use the generated pseudo-labels directly to train the global model. Low-density patches, which might contain noise or ambiguous features, are relabeled using an ensemble of the client models to guide robust knowledge distillation.

The paper also provides a rigorous theoretical analysis using algorithmic stability, proving that sparse inversion truncates noisy gradients and token relabeling reduces gradient variance, leading to a smaller Lipschitz constant and a tighter generalization bound.

Fig. 2. An illustration of server training process of FedMITR, which consists of two stages: (1) In the model inversion stage, we invert well-trained local models to synthesize input images with sparse tokens starting from random noise. (2) In the token relabel stage , we fully utilize the role of other patch tokens encoding some information on all generated image patches.

Datasets

The framework was evaluated on four popular real-world image datasets:

  • CIFAR-10 and CIFAR-100: Standard image classification benchmarks.
  • OfficeHome: A domain adaptation dataset containing 4 distinct domains (art, clipart, product, real-world).
  • Mini-ImageNet: A 100-class subset of ImageNet.

To simulate realistic non-IID scenarios, the authors adopted Dirichlet distribution partitions ($\text{Dir}(\alpha)$, with $\alpha$ down to $0.01$ for extreme heterogeneity) and pathological partitions based on class quantities ($\#C = k$).

Key Insights and Ideas

  • Dense Inversion is Unstable: Traditional data-free knowledge distillation methods invert entire images, forcing the model to fit high-frequency isotropic noise in background regions to hard labels. This causes severe gradient instability during server-side training.
  • ViT Attention as a Filter: Vision Transformers are uniquely suited for this problem because their self-attention maps naturally identify which image tokens (patches) contain label-relevant foreground information.
  • Soft Labels as Variance Reducers: Relabeling low-information tokens using an ensemble teacher provides soft labels that act as a variance reduction mechanism, stabilizing the optimization landscape.
  • Clearer Class Boundaries: As shown via t-SNE visualizations, data generated via model inversion exhibits much clearer class boundaries compared to traditional generator-based methods like DENSE.

Key Results

FedMITR consistently outperforms state-of-the-art one-shot FL methods (like DENSE, FedFTG, Co-Boosting, and DeepInversion), especially under extreme non-IID settings ($\alpha = 0.01$):

  • CIFAR-10 ($\alpha = 0.01$): FedMITR achieves 19.19% accuracy compared to DeepInversion's 13.42% and FedAvg's 11.70%.
  • OfficeHome ($\alpha = 0.01$): It reaches 24.05% accuracy, nearly doubling DeepInversion's 11.88%.
  • Mini-ImageNet ($\alpha = 0.01$): It achieves 45.26% accuracy compared to DeepInversion's 22.49%.

Additionally, compared to classical multi-round FL methods (FedAvg, FedProx, SCAFFOLD), FedMITR achieves competitive accuracy (68.21% on Mini-ImageNet) in just 1 communication round, reducing total communication volume from 5450 MB to 218 MB.

Limitations and Future Work

  • Performance under Low Heterogeneity: When data heterogeneity is low (e.g., $\alpha = 0.5$ on Mini-ImageNet), FedMITR's performance can be slightly lower than standard DeepInversion, as local models are already well-aligned and extra token relabeling provides less benefit.
  • Lightweight Backbone Constraints: The absolute performance on complex datasets like CIFAR-100 remains relatively low due to the use of a lightweight backbone (DeiT-Tiny) without advanced local training techniques. The authors suggest that scaling up to larger ViT architectures or incorporating advanced local optimization strategies is a promising direction for future work.

Summary updated

BibTeX
@misc{shen2026provable,
  author = {Li Shen and Xiaolei Hao and Qinglun Li and Xiaochun Cao and Zhifeng Hao and Xun Yang},
  title = {{Provable Sparse Inversion and Token Relabel Enhanced One-shot Federated Learning with ViTs}},
  year = {2026},
  eprint = {2605.10748},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.10748},
}
Figure