English

Privately Customizing Prefinetuning to Better Match User Data in Federated Learning

Machine Learning 2023-02-24 v2 Artificial Intelligence Distributed, Parallel, and Cluster Computing

Abstract

In Federated Learning (FL), accessing private client data incurs communication and privacy costs. As a result, FL deployments commonly prefinetune pretrained foundation models on a (large, possibly public) dataset that is held by the central server; they then FL-finetune the model on a private, federated dataset held by clients. Evaluating prefinetuning dataset quality reliably and privately is therefore of high importance. To this end, we propose FreD (Federated Private Fr\'echet Distance) -- a privately computed distance between a prefinetuning dataset and federated datasets. Intuitively, it privately computes and compares a Fr\'echet distance between embeddings generated by a large language model on both the central (public) dataset and the federated private client data. To make this computation privacy-preserving, we use distributed, differentially-private mean and covariance estimators. We show empirically that FreD accurately predicts the best prefinetuning dataset at minimal privacy cost. Altogether, using FreD we demonstrate a proof-of-concept for a new approach in private FL training: (1) customize a prefinetuning dataset to better match user data (2) prefinetune (3) perform FL-finetuning.

Keywords

Cite

@article{arxiv.2302.09042,
  title  = {Privately Customizing Prefinetuning to Better Match User Data in Federated Learning},
  author = {Charlie Hou and Hongyuan Zhan and Akshat Shrivastava and Sid Wang and Aleksandr Livshits and Giulia Fanti and Daniel Lazar},
  journal= {arXiv preprint arXiv:2302.09042},
  year   = {2023}
}
R2 v1 2026-06-28T08:43:00.180Z