Skip to main content
QUICK REVIEW

[Paper Review] Towards Understanding the Transferability of Deep Representations

Hong Liu, Mingsheng Long|arXiv (Cornell University)|Sep 26, 2019
Advanced Neural Network ApplicationsComputer Science30 references14 citations
TL;DR

This paper investigates the mechanisms behind transferability in deep neural networks by analyzing how pretrained representations improve generalization and optimization. It shows that transferred models converge to flatter minima, exhibit smoother loss landscapes with better Lipschitzness due to gradient suppression, and that transferability peaks during mid-training before declining, with theoretical support for these findings.

ABSTRACT

Deep neural networks trained on a wide range of datasets demonstrate impressive transferability. Deep features appear general in that they are applicable to many datasets and tasks. Such property is in prevalent use in real-world applications. A neural network pretrained on large datasets, such as ImageNet, can significantly boost generalization and accelerate training if fine-tuned to a smaller target dataset. Despite its pervasiveness, few effort has been devoted to uncovering the reason of transferability in deep feature representations. This paper tries to understand transferability from the perspectives of improved generalization, optimization and the feasibility of transferability. We demonstrate that 1) Transferred models tend to find flatter minima, since their weight matrices stay close to the original flat region of pretrained parameters when transferred to a similar target dataset; 2) Transferred representations make the loss landscape more favorable with improved Lipschitzness, which accelerates and stabilizes training substantially. The improvement largely attributes to the fact that the principal component of gradient is suppressed in the pretrained parameters, thus stabilizing the magnitude of gradient in back-propagation. 3) The feasibility of transferability is related to the similarity of both input and label. And a surprising discovery is that the feasibility is also impacted by the training stages in that the transferability first increases during training, and then declines. We further provide a theoretical analysis to verify our observations.

Motivation & Objective

  • To understand the underlying reasons for the strong transferability of deep representations across datasets and tasks.
  • To investigate how transfer learning enhances model generalization and optimization stability.
  • To analyze the role of gradient dynamics and loss landscape properties in transferability.
  • To explore the relationship between pretraining duration and transfer performance.
  • To provide a theoretical foundation for observed empirical phenomena in transfer learning.

Proposed method

  • Analyzes the geometry of loss landscapes using Lipschitz constants to quantify smoothness improvements after transfer.
  • Empirically measures the flatness of minima by tracking weight distance from pretrained parameters during fine-tuning.
  • Quantifies gradient magnitude suppression in transferred representations, particularly the principal component of gradients.
  • Evaluates transferability across varying input and label similarities between source and target datasets.
  • Conducts ablation studies on pretraining epochs to assess transferability over time.
  • Develops a theoretical analysis using two-layer fully connected networks to justify empirical observations.

Experimental results

Research questions

  • RQ1Why do transferred deep features lead to better generalization in fine-tuned models?
  • RQ2How does transfer learning improve the optimization landscape of the target task?
  • RQ3What is the role of gradient dynamics in stabilizing and accelerating training during transfer?
  • RQ4How does the similarity of both input and label distributions affect transferability?
  • RQ5How does the pretraining epoch influence the transferability of features?

Key findings

  • Transferred models converge to flatter minima because fine-tuned weights remain close to the flat region of the original pretrained parameters.
  • Transferable representations improve the Lipschitzness of the loss landscape, leading to more stable and faster training.
  • Gradient suppression in the principal component of the gradient is responsible for stabilizing training dynamics in transferred models.
  • Transferability is maximized not at full pretraining convergence but during intermediate training stages, after which it declines.
  • The similarity of both input and label distributions between source and target tasks is crucial for high transferability.
  • Theoretical analysis on two-layer networks confirms the empirical findings, showing consistent convergence bounds and generalization behavior.

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.