Train Without Strain: Adaptive Pruning and Hypernetwork Personalization for Federated Transformers
Deploying transformer models in Personalized Federated Learning (PFL) over wireless networks is challenging due to their large size, which leads to high communication overhead, increased latency, and excessive energy consumption. Traditional pruning and sparsification methods, designed mainly for conventional deep learning architectures, are ineffective for transformers and can cause divergence or degrade performance—especially when applied to self-attention layers or through direct federated averaging. To address these challenges, we propose a novel dual approach called PFL-TPS (PFL with Transformer Pruning and Sparsification). Our approach efficiently reduces communication and computation costs while maintaining model performance, making it suitable for resource-constrained wireless networks. Specifically, we apply adaptive pruning with trainable thresholds to the transformer's Feed-Forward Layers (FFLs), and only these trainable thresholds are shared with the server, resulting in minimal uploaded data. For the Self-Attention Layers (SALs), instead of transmitting bandwidth-intensive model parameters, we employ a server-side hypernetwork that generates personalized parameters based on device-specific embedding vectors sent by the devices, significantly reducing communication overhead and maintaining personalization. Extensive experiments show that PFL-TPS reduces energy consumption by up to 50%, decreases training time by 60.44%, and improves model accuracy by 49.87% compared to baselines in wireless networks.
Authors
- Ala Al‐Fuqaha (ORCID: https://orcid.org/0000-0002-0903-1204)
- Bechir Hamdaoui (ORCID: https://orcid.org/0000-0002-6085-4505)
- Moqbel Hamood (ORCID: https://orcid.org/0000-0001-8174-7525)
- Mohamed Abdallah (ORCID: https://orcid.org/0000-0002-3261-7588)
- Abdullatif Albaseer (ORCID: https://orcid.org/0000-0002-6886-6500)
Institutions
- Hamad bin Khalifa University (QA)
Publication Details
- Published
- 2025-06-08
- DOI
- https://doi.org/10.1109/icc52391.2025.11161879
- Primary Topic
- Modular Robots and Swarm Intelligence
- Type
- article
- Field-Weighted Citation Impact
- 0.00