Skip to main content
QUICK REVIEW

[Paper Review] Efficient Neural Task Adaptation by Maximum Entropy Initialization

Farshid Varno, Behrouz Haji Soleimani|arXiv (Cornell University)|May 25, 2019
Domain Adaptation and Few-Shot LearningComputer Science17 references3 citations
TL;DR

This paper proposes ENTAME, a method that accelerates convergence and improves performance in transfer learning by initializing task-specific layers to maximize output entropy, thereby minimizing knowledge contamination from random initialization. By stalling the first back-propagated error at the last layer, ENTAME outperforms standard fine-tuning and warm-up strategies across diverse architectures and datasets, with significant gains in early training accuracy and final convergence.

ABSTRACT

Transferring knowledge from one neural network to another has been shown to be helpful for learning tasks with few training examples. Prevailing fine-tuning methods could potentially contaminate pre-trained features by comparably high energy random noise. This noise is mainly delivered from a careless replacement of task-specific parameters. We analyze theoretically such knowledge contamination for classification tasks and propose a practical and easy to apply method to trap and minimize the contaminant. In our approach, the entropy of the output estimates gets maximized initially and the first back-propagated error is stalled at the output of the last layer. Our proposed method not only outperforms the traditional fine-tuning, but also significantly speeds up the convergence of the learner. It is robust to randomness and independent of the choice of architecture. Overall, our experiments show that the power of transfer learning has been substantially underestimated so far.

Motivation & Objective

  • To address knowledge contamination in transfer learning caused by random initialization of task-specific layers.
  • To accelerate convergence of fine-tuned models by minimizing initial back-propagated error energy.
  • To develop a simple, architecture-agnostic initialization method that enhances transfer learning performance.
  • To theoretically analyze the energy of back-propagated error in classification tasks using cross-entropy loss with softmax logits.
  • To empirically validate that maximizing initial output entropy leads to faster and more robust adaptation.

Proposed method

  • Maximize the entropy of output estimates at initialization to minimize the energy of the first back-propagated error.
  • Initialize the final layer's weights to achieve uniform output probabilities, ensuring maximum entropy before learning begins.
  • Decompose the total back-propagated error energy into label energy, output estimate energy, and an accuracy-related term, deriving theoretical bounds.
  • Apply the method to any pre-trained ReLU network with softmax output, requiring no architectural changes.
  • Use standard cross-entropy loss with softmax logits and initialize the last layer to have equal logit values across classes.
  • The method is independent of network depth, width, or specific architecture, making it broadly applicable.

Experimental results

Research questions

  • RQ1How does random initialization of task-specific layers affect knowledge transfer in fine-tuned models?
  • RQ2What is the optimal initialization strategy for minimizing initial error energy during transfer learning?
  • RQ3Can maximizing output entropy at initialization significantly accelerate convergence in fine-tuning?
  • RQ4How does ENTAME compare to standard fine-tuning and warm-up strategies in terms of early training accuracy and final performance?
  • RQ5Is the proposed method robust across different architectures and datasets?

Key findings

  • ENTAME improved average test accuracy in the first 10 training steps by 10.86±2.97 on ResNet50 with MNIST, and up to 43.95±1.25 on DenseNet121 with Caltech101.
  • On CIFAR10, ENTAME achieved a converged test accuracy of 85.80±0.35 with ResNet50, outperforming base fine-tuning (79.73±0.43) and warm-up (79.74±0.76).
  • With VGG16 on CIFAR10, ENTAME reached 88.79±0.61 accuracy, significantly higher than base fine-tuning (87.50±0.37) and warm-up (87.70±0.47).
  • On Caltech101, ENTAME achieved 95.13±1.03 accuracy with DenseNet121, outperforming base fine-tuning (92.36±0.67) and warm-up (92.41±0.91).
  • For InceptionV3 on CIFAR100, ENTAME achieved 82.17±0.32 accuracy, slightly better than base fine-tuning (82.25±0.37), showing consistent improvement across models.
  • Paired t-tests confirmed that ENTAME significantly enhanced early convergence across all 24 experimental seeds and all architectures.

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.