Personalized Collaborative Fine-Tuning for On-Device Large Language Models
Nicolas Wagner, Dongyang Fan, Martin Jaggi
TL;DR
This work tackles on-device fine-tuning of large language models under data scarcity and privacy constraints by framing collaboration as a trust-weighted, decentralized learning problem. It introduces three aggregation schemes—weights similarity, validation-performance-based, and prediction similarity-based—built atop Low-Rank Adaptation (LoRA) to minimize communication. Empirical results across diverse datasets show that prediction-based trust (and, to a lesser extent, validation-based trust) yields the best personalization performance, often surpassing FedAvg and local fine-tuning, especially under high data heterogeneity. The study demonstrates practical, communication-efficient, and privacy-preserving approaches for personalized LLM deployment, with insights into topology choices and trust behavior that guide future work in decentralized, privacy-aware NLP systems.
Abstract
We explore on-device self-supervised collaborative fine-tuning of large language models with limited local data availability. Taking inspiration from the collaborative learning community, we introduce three distinct trust-weighted gradient aggregation schemes: weight similarity-based, prediction similarity-based and validation performance-based. To minimize communication overhead, we integrate Low-Rank Adaptation (LoRA) and only exchange LoRA weight updates. Our protocols, driven by prediction and performance metrics, surpass both FedAvg and local fine-tuning methods, which is particularly evident in realistic scenarios with more diverse local data distributions. The results underscore the effectiveness of our approach in addressing heterogeneity and scarcity within local datasets.
