Task-Centric Personalized Federated Fine-Tuning of Language Models

Gabriel U. Talasso, Meghdad Kurmanji, Allan M. de Souza, Nicholas D. Lane, Leandro A. Villas
3/30/2026
cs.LGcs.AI

No official code found. Best implementation: GabrielTalasso/FedRouter (4 stars, last commit 2026-04-06).

Abstract

Federated Learning (FL) has emerged as a promising technique for training language models on distributed and private datasets of diverse tasks. However, aggregating models trained on heterogeneous tasks often degrades the overall performance of individual clients. To address this issue, Personalized FL (pFL) aims to create models tailored for each client's data distribution. Although these approaches improve local performance, they usually lack robustness in two aspects: (i) generalization: when clients must make predictions on unseen tasks, or face changes in their data distributions, and (ii) intra-client tasks interference: when a single client's data contains multiple distributions that may interfere with each other during local training. To tackle these two challenges, we propose FedRouter, a clustering-based pFL that builds specialized models for each task rather than for each client. FedRouter uses adapters to personalize models by employing two clustering mechanisms to associate adapters with specific tasks. A local clustering that associate adapters with task data samples and a global one that associates similar adapters from different clients to construct task-centric personalized models. Additionally, we propose an evaluation router mechanism that routes test samples to the best adapter based on the created clusters. Experiments comparing our method with existing approaches across a multitask dataset, FedRouter demonstrate strong resilience in these challenging scenarios performing up to 6.1% relatively better under tasks interference and up to 136% relative improvement under generalization evaluation.

View on arXivView PDF

Code Implementations(1)

Task-Centric Personalized Federated Fine-Tuning of Language Models

40Shell, PythonMar 30, 20266 months ago

Similar Papers

Cite this paper

@article{talasso2026taskcentric,
  title  = {Task-Centric Personalized Federated Fine-Tuning of Language Models},
  author = {Gabriel U. Talasso and Meghdad Kurmanji and Allan M. de Souza and Nicholas D. Lane and Leandro A. Villas},
  year   = {2026},
  eprint = {2604.00050},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.00050v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.00050.svg)](https://codeofpaper.com/paper/2604.00050)

Discussion