TL;DR
FedProTIP introduces a replay-free, privacy-preserving federated continual learning framework that tackles catastrophic forgetting by projecting local client updates onto the orthogonal complement of past feature subspaces. It also incorporates a lightweight Task Identity Prediction (TIP) mechanism using subspace alignment, allowing models to perform inference without knowing task labels in advance. Across class- and domain-incremental benchmarks, FedProTIP dramatically boosts task-agnostic accuracy (by 4.3% to over 47%) while slashing training time and communication overhead compared to generative replay methods.
What Problem Does This Paper Address?
When edge devices (e.g., smartphones, smart glasses) learn sequentially over time via Federated Learning (FL), they face two interlocking problems:
- Catastrophic Forgetting: Models overwrite representations learned on earlier tasks as they adapt to new data. In FL, decentralized non-IID data distribution makes this drift even worse.
- Task Ambiguity at Inference: Most gradient projection methods (like centralized GPM or federated FOT) assume task-aware evaluation—meaning the model is explicitly told which task a test sample belongs to so it can select the corresponding classification head. Real-world deployments are task-agnostic (class-incremental), where the model must figure out both the task and class on its own.
Prior solutions either store old samples on clients/servers (violating privacy and storage constraints), train heavy generative models to synthesize rehearsal data (costly and vulnerable to privacy inversion attacks), or transmit raw feature activations across the network.
Methods
FedProTIP combines local subspace gradient projection with an inference-time routing mechanism:
- Local Projected Gradient Descent (PGD): Rather than projecting updates centrally after aggregation (which misaligns with local gradient directions), clients locally project their gradients onto the orthogonal complement of the global subspace spanned by prior tasks ($I - \Phi\Phi^\top$).
- Randomized Activation Sampling & SVD: At the end of a task, clients randomly subsample intermediate activations ($m_s \ll m$) to reduce compute and communication costs. They perform Singular Value Decomposition (SVD) on residual activations, thresholding singular values ($\epsilon_l$) to extract compact core orthonormal bases $U_l^{(t)}$.
- Server-Side Subspace Aggregation: The server receives only compact orthogonal bases (not raw activations), orthogonalizes them via Gram-Schmidt-style aggregation, and broadcasts updated global bases back to clients.
- Subspace-Based Task Identity Prediction (TIP):
- Training Reference: Clients compute a scalar similarity vector $\omega^{(\tau)}$ measuring how much the final-layer activations of task $\tau$ align with the subspaces of all tasks $1 \dots T$.
- Inference Routing: For an unlabeled test sample, the model computes its final-layer projection energy against each task’s subspace to form a test relevance vector $\hat{\omega}$. The server compares $\hat{\omega}$ to stored client reference vectors via cosine similarity, using majority voting to infer the task identity and route predictions to the proper output head.
Datasets
FedProTIP was evaluated using a pretrained ResNet-18 (as well as scratch-trained ResNet-18 and pretrained ViT-B/16 backbones) across three standard benchmarks:
- CIFAR-100: Class-incremental, split into 10 sequential tasks of 10 classes each.
- ImageNet-R: Class-incremental, evaluated across 5-, 10-, and 20-task splits (40, 10, and 5 classes per task).
- DomainNet: Domain-incremental, 6 distinct visual domains (clipart, real, painting, sketch, infograph, quickdraw) sharing 345 classes across 2 task orderings.
- Note: No new datasets were introduced. Client heterogeneity was simulated using Dirichlet distributions with varying $\alpha \in \{0.2, 0.5\}$ and uniform (IID) splits.
Key Insights and Ideas
- Decoupling Task ID Prediction from Data Replay: Prior task-agnostic continual learning heavily leaned on generative replay or exemplar buffers. FedProTIP shows that the geometric relationship between feature representations and task-specific subspaces contains strong enough signals to accurately predict task identity at inference (often $>85\text{--}99\%$ task prediction accuracy).
- Local Projection Contraction: The projection operator $P = I - \Phi\Phi^\top$ is an orthogonal contraction ($\|P\|_2 = 1$). Performing PGD directly on the client prevents gradient variance from blowing up and eliminates the mismatch between local updates and global server constraints.
- Negative Forgetting Phenomenon: At higher projection thresholds ($\epsilon_l = 0.9$) on ImageNet-R, FedProTIP achieved negative forgetting (performance on past tasks improved over time). This happens because task-identity prediction becomes better calibrated as subsequent tasks provide richer contrast and sharper decision boundaries, retroactively correcting earlier routing errors.
Key Results
- Task-Agnostic Accuracy:
- On 10-split CIFAR-100 ($\alpha = 0.5$), FedProTIP achieved 86.00% accuracy and 0.83% forgetting, outperforming the best baseline (FOT at 41.80% ACC / 20.86% FT, and LANDER at 37.59% ACC / 10.21% FT).
- On 10-split ImageNet-R ($\alpha = 0.5$), FedProTIP reached 54.48% accuracy compared to FOT's 26.31% and LANDER's 23.96%.
- On ViT-B/16 backbones on CIFAR-100, FedProTIP achieved 98.38% task-agnostic accuracy (versus 81.50% for TARGET).
- Robustness to Non-IID Drift: On CIFAR-100, shifting from IID to severe non-IID ($\alpha = 0.2$) caused FOT and LANDER to drop by 12% and 15% in accuracy, whereas FedProTIP dropped by only ~6%.
- System Efficiency:
- FedProTIP trained up to $5\times$ faster than generative distillation baselines (TARGET, LANDER) because it avoids image generation loops.
- In CIFAR-100, FOT requires transmitting 48 MB of randomized activations per task per client, whereas FedProTIP transmits $<10$ MB of core bases on the first task, declining to $<0.3$ MB in later tasks as existing subspaces saturate.
Limitations and Future Work
- Degradation in Fine-Grained/Many-Task Splits: In the 20-split ImageNet-R setting (only 5 classes and small sample sizes per task), Task Identity Prediction accuracy dropped significantly (down to ~40–55%), causing the full FedProTIP variant to perform slightly worse than its base variant without TIP (
FedProTIP (-t)), although both still outperformed all external baselines. - Domain-Incremental Trade-off: On DomainNet (where all tasks share label space), a single shared classifier without TIP (
FedProTIP (-t)) performed slightly better than using separate heads with TIP routing (28.85% vs. 25.30% at $\alpha = 0.5$). The authors suggest designing domain-specific routing modules as future work. - Formal Privacy Guarantees: While transmitting subspace bases and 1D reference vectors avoids raw exemplar leakage and defends against naive gradient inversion, it lacks formal differential privacy ($\epsilon, \delta$) guarantees, which the authors identify as an area for formal integration.
Summary updated