[Paper Review] FiT: Parameter Efficient Few-shot Transfer Learning for Personalized and Federated Image Classification
FiT proposes a parameter-efficient few-shot transfer learning method for personalized and federated image classification by combining frozen ImageNet-pretrained backbones with trainable FiLM adapter layers and meta-learned Naive Bayes classifiers. It achieves state-of-the-art accuracy on VTAB-1k with under 1% of BiT's trainable parameters, significantly reducing model update size and communication cost in low-shot settings.
Modern deep learning systems are increasingly deployed in situations such as personalization and federated learning where it is necessary to support i) learning on small amounts of data, and ii) communication efficient distributed training protocols. In this work, we develop FiLM Transfer (FiT) which fulfills these requirements in the image classification setting by combining ideas from transfer learning (fixed pretrained backbones and fine-tuned FiLM adapter layers) and meta-learning (automatically configured Naive Bayes classifiers and episodic training) to yield parameter efficient models with superior classification accuracy at low-shot. The resulting parameter efficiency is key for enabling few-shot learning, inexpensive model updates for personalization, and communication efficient federated learning. We experiment with FiT on a wide range of downstream datasets and show that it achieves better classification accuracy than the leading Big Transfer (BiT) algorithm at low-shot and achieves state-of-the art accuracy on the challenging VTAB-1k benchmark, with fewer than 1% of the updateable parameters. Finally, we demonstrate the parameter efficiency and superior accuracy of FiT in distributed low-shot applications including model personalization and federated learning where model update size is an important performance metric.
Motivation & Objective
- To address the challenge of low-shot learning in personalized and federated machine learning settings where data is limited and communication efficiency is critical.
- To combine the accuracy of transfer learning with the parameter efficiency of meta-learning for improved model update efficiency.
- To reduce the number of trainable parameters in fine-tuning while maintaining high classification accuracy on diverse downstream tasks.
- To enable communication-efficient federated learning by minimizing the size of model updates transmitted between clients and server.
- To demonstrate superior performance in low-shot personalization and federated learning scenarios compared to existing baselines like BiT.
Proposed method
- Uses a fixed, ImageNet-21K pretrained backbone (BiT-M-R50x1) to extract features, keeping all parameters frozen.
- Introduces parameter-efficient FiLM adapter layers that are fine-tuned for each downstream task, enabling adaptation with minimal updateable parameters.
- Employs episodic training with meta-learned Naive Bayes classifiers instead of standard linear layers, improving generalization in low-shot regimes.
- Applies a metric learning-based final layer that is trained via episodic prototypical networks (ProtoNets) to enhance few-shot generalization.
- Uses a two-stage training protocol: first, the FiLM layers are fine-tuned on support sets; second, the classifier is trained on query sets in a meta-learning fashion.
- Applies the same architecture to both personalized and federated learning settings, with client-specific updates and global aggregation in federated training.
Experimental results
Research questions
- RQ1Can a parameter-efficient adaptation method achieve higher few-shot classification accuracy than standard transfer learning while using far fewer trainable parameters?
- RQ2Does combining meta-learned classifiers with parameter-efficient adapters improve performance on low-shot and diverse downstream tasks?
- RQ3How does FiT compare to BiT in terms of accuracy and communication efficiency in federated learning with limited client data?
- RQ4Can FiT effectively support personalized model updates with minimal data and low update size?
- RQ5Does the use of episodic training with Naive Bayes classifiers outperform standard linear classifiers in few-shot image classification?
Key findings
- FiT achieves state-of-the-art accuracy on the VTAB-1k benchmark with fewer than 1% of the trainable parameters required by BiT.
- In low-shot settings (2–10 shots per class), FiT outperforms BiT in classification accuracy across multiple datasets, including CIFAR-100 and Quickdraw.
- In federated learning, FiT reduces communication cost by orders of magnitude compared to BiT, due to significantly fewer updateable parameters.
- For personalized learning, FiT achieves high accuracy using only a few examples per user, with model updates that are up to 100x smaller than BiT.
- The combination of FiLM adapters and meta-learned classifiers leads to better generalization than standard linear heads, especially in low-data regimes.
- FiT maintains strong performance across diverse datasets, including those different from ImageNet-21K, demonstrating robustness beyond the pretraining distribution.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.