English

SEMFED: Semantic-Aware Resource-Efficient Federated Learning for Heterogeneous NLP Tasks

Computation and Language 2025-06-02 v1 Artificial Intelligence Machine Learning

Abstract

Background: Federated Learning (FL) has emerged as a promising paradigm for training machine learning models while preserving data privacy. However, applying FL to Natural Language Processing (NLP) tasks presents unique challenges due to semantic heterogeneity across clients, vocabulary mismatches, and varying resource constraints on edge devices. Objectives: This paper introduces SEMFED, a novel semantic-aware resource-efficient federated learning framework specifically designed for heterogeneous NLP tasks. Methods: SEMFED incorporates three key innovations: (1) a semantic-aware client selection mechanism that balances semantic diversity with resource constraints, (2) adaptive NLP-specific model architectures tailored to device capabilities while preserving semantic information, and (3) a communication-efficient semantic feature compression technique that significantly reduces bandwidth requirements. Results: Experimental results on various NLP classification tasks demonstrate that SEMFED achieves an 80.5% reduction in communication costs while maintaining model accuracy above 98%, outperforming state-of-the-art FL approaches. Conclusion: SEMFED effectively manages heterogeneous client environments with varying computational resources, network reliability, and semantic data distributions, making it particularly suitable for real-world federated NLP deployments.

Keywords

Cite

@article{arxiv.2505.23801,
  title  = {SEMFED: Semantic-Aware Resource-Efficient Federated Learning for Heterogeneous NLP Tasks},
  author = {Sajid Hussain and Muhammad Sohail and Nauman Ali Khan},
  journal= {arXiv preprint arXiv:2505.23801},
  year   = {2025}
}

Comments

13 pages

R2 v1 2026-07-01T02:49:04.118Z