CacheFL: Privacy-Preserving and Efficient Federated Cache Model Fine-Tuning for Vision-Language Models
Mengjun Yi, Hanwen Zhang, Hui Dou, Jian Zhao, Furao Shen
TL;DR
CacheFL tackles the privacy and efficiency barriers of fine-tuning large vision-language models in federated settings by replacing full-model updates with a lightweight cache model. It builds a class-balanced synthetic cache from DALL·E-generated data and uses FedAvg-style aggregation to fine-tune only the cache, effectively leveraging pre-trained CLIP knowledge while reducing communication and computation. A theoretical convergence analysis under standard FL assumptions is provided, along with an extensive empirical evaluation on 11 datasets showing superior accuracy and faster convergence, even under extreme non-IID distributions. The approach preserves privacy by avoiding raw local data exposure and demonstrates practical impact for privacy-preserving, scalable fine-tuning of vision-language systems.
Abstract
Large pre-trained Vision-Language Models (VLMs), such as Contrastive Language-Image Pre-training (CLIP), have exhibited remarkable zero-shot performance across various image classification tasks. Fine-tuning these models on domain-specific datasets further enhances their effectiveness for downstream applications. However, fine-tuning in cloud environments raises significant concerns regarding data security and privacy. Federated Learning (FL) offers a decentralized solution by enabling model training across local clients without centralizing sensitive data, but the high communication and computation costs of transmitting full pre-trained models during training limit its scalability. Additionally, non-Independent and Identically Distributed (non-IID) data across local clients can negatively impact model convergence and performance. To address these challenges, we propose CacheFL, a novel federated learning method that replaces traditional full model fine-tuning with lightweight cache model fine-tuning. The cache model is initialized using a class-balanced dataset generated by a generative pre-trained model, effectively mitigating the impact of non-IID data. This cache model is then distributed to local clients for fine-tuning, and the updated parameters from each client are aggregated on the server and redistributed. With the updated cache model, the classification performance of CLIP is improved after just a few epochs. By limiting the training and communication to the cache model, CacheFL significantly reduces resource demands while ensuring data privacy and security. Extensive experiments conducted on ImageNet and 10 additional datasets demonstrate that CacheFL outperforms traditional approaches in terms of classification accuracy, resource efficiency, and privacy preservation.
