Skip to main content
QUICK REVIEW

[Paper Review] AdaFilter: Adaptive Filter Fine-tuning for Deep Transfer Learning

Yunhui Guo, Yandong Li|arXiv (Cornell University)|Nov 21, 2019
Domain Adaptation and Few-Shot LearningComputer Science31 references5 citations
TL;DR

AdaFilter is a novel adaptive fine-tuning method for transfer learning that uses a recurrent gated network to selectively optimize only a subset of convolutional filters in a pre-trained model on a per-example basis. By dynamically choosing which filters to fine-tune based on input activations, AdaFilter reduces overfitting and improves accuracy, achieving a 2.54% average error reduction over standard fine-tuning across seven image classification datasets.

ABSTRACT

There is an increasing number of pre-trained deep neural network models. However, it is still unclear how to effectively use these models for a new task. Transfer learning, which aims to transfer knowledge from source tasks to a target task, is an effective solution to this problem. Fine-tuning is a popular transfer learning technique for deep neural networks where a few rounds of training are applied to the parameters of a pre-trained model to adapt them to a new task. Despite its popularity, in this paper, we show that fine-tuning suffers from several drawbacks. We propose an adaptive fine-tuning approach, called AdaFilter, which selects only a part of the convolutional filters in the pre-trained model to optimize on a per-example basis. We use a recurrent gated network to selectively fine-tune convolutional filters based on the activations of the previous layer. We experiment with 7 public image classification datasets and the results show that AdaFilter can reduce the average classification error of the standard fine-tuning by 2.54%.

Motivation & Objective

  • To address the limitations of standard fine-tuning, which applies a uniform update policy across all examples and risks overfitting on small target datasets.
  • To enable more effective knowledge transfer by allowing different examples in the target dataset to fine-tune different sets of pre-trained filters.
  • To reduce the number of trainable parameters per example through intelligent filter reuse, mitigating overfitting in low-data regimes.
  • To develop a lightweight, efficient policy network that models layer-wise dependencies in filter selection.
  • To improve generalization and training efficiency by learning adaptive fine-tuning policies that vary per input.

Proposed method

  • AdaFilter employs a recurrent gated network that conditions filter selection on the activations of the previous layer, enabling layerwise, example-specific decisions on which filters to fine-tune.
  • The method introduces a gated batch normalization layer that normalizes pre-trained and fine-tuned feature maps separately to account for domain shift between source and target tasks.
  • Filter selection is performed via a learnable gate mechanism that outputs a binary mask per filter, determining whether it is reused or updated.
  • The recurrent structure maintains hidden states across layers, allowing the policy network to model hierarchical dependencies in feature representation and filter relevance.
  • The policy network is trained end-to-end with the backbone model using standard backpropagation, with the gate network guiding which filters are updated per example.
  • The approach supports efficient fine-tuning with fewer effective parameters per example, reducing overfitting on small datasets.

Experimental results

Research questions

  • RQ1Can per-example, adaptive filter selection improve transfer learning performance compared to standard fine-tuning?
  • RQ2Does dynamically selecting which filters to fine-tune based on input-specific activations lead to better generalization on small target datasets?
  • RQ3How does the use of a recurrent gated network for policy generation compare to a CNN-based alternative in terms of accuracy and parameter efficiency?
  • RQ4To what extent does gated batch normalization improve performance by accounting for distribution differences between pre-trained and target features?
  • RQ5Can adaptive fine-tuning consistently outperform standard fine-tuning throughout the training process?

Key findings

  • AdaFilter reduces the average classification error by 2.54% compared to standard fine-tuning across seven public image classification datasets.
  • The method consistently outperforms standard fine-tuning at every training epoch, indicating more efficient knowledge transfer and better optimization dynamics.
  • Gated batch normalization improves accuracy over standard batch normalization by separately normalizing pre-trained and fine-tuned feature maps, with gains up to 0.42% on some datasets.
  • The recurrent gated network outperforms a CNN-based policy network, achieving higher accuracy and significantly fewer parameters due to its lightweight, sequential design.
  • On Caltech256-30 and Caltech256-60, the policy network shows that initial layers reuse more filters, while deeper layers fine-tune more, reflecting intuitive task-specific adaptation.
  • The ablation study confirms that both the recurrent gate mechanism and gated batch normalization are essential components for the method’s superior performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.