Distant Transfer Learning via Deep Random Walk

Qiao Xiao, Yu Zhang

Abstract

Distant Transfer Learning (DTL) addresses the challenge of transferring knowledge between domains that lack direct similarity, where traditional methods often suffer from negative transfer. We present DERWENT (DeEp Random Walk basEd distaNt Transfer), a novel framework that utilizes unlabeled auxiliary data as "stepping stones" to bridge unrelated source and target domains. By employing deep random walks and sequence modeling via LSTMs, DERWENT explicitly identifies and optimizes transfer paths. Our approach achieves state-of-the-art accuracy on major benchmarks and provides unique interpretability through the visualization of knowledge paths.

Introduction

Transfer learning typically assumes that the source and target domains share significant underlying features. When this assumption fails—such as attempting to transfer knowledge from "trucks" to "apples"—models often encounter negative transfer, where performance actually degrades.

Humans, however, utilize transitive inference to connect disparate concepts. For example, while an "airplane" and a "soccer ball" are physically unrelated, they can be linked through intermediate concepts like "blimps" (which share flight characteristics with planes and spherical shapes with balls). DERWENT automates this process by leveraging large, unlabeled auxiliary datasets to discover these intermediate connections, enabling effective Distant Transfer Learning (DTL).

Methodology: The DERWENT Framework

The DERWENT model moves beyond "black box" transfer by explicitly modeling the path of knowledge through three key stages:

  1. Graph Construction: Every data point from the source, target, and auxiliary domains is treated as a node. Edges are established based on the cosine similarity of features extracted by a CNN. To ensure the model finds transitive paths, direct edges between the distant source and target domains are prohibited.
  2. Deep Random Walk: The model performs random walks starting from both the source and target domains. These walks generate sequences of data points that represent potential "transfer paths" through the auxiliary data.
  3. Multi-Component Optimization:
    • Similarity Loss: Ensures local coherence by keeping adjacent points in a sequence feature-wise similar.
  4. Sequence Loss: Employs a Long Short-Term Memory (LSTM) network to model the global logic of the path, ensuring the sequence of concepts makes sense as a whole.
  5. Weighted Classification Loss: Dynamically weights source labels based on their connectivity to the target domain through discovered paths.
The DERWENT architecture integrates CNN feature extraction with graph-based random walks and LSTM sequence modeling to optimize transfer paths.

Key Insights and Experimental Results

A standout feature of DERWENT is its interpretability. Unlike previous DTL methods, it provides a visual map of how knowledge moves between concepts. Seeing a path transition from Airplane $\rightarrow$ Blimp $\rightarrow$ Soccer Ball offers a clear rationale for the model's behavior.

Visualizing transfer paths: DERWENT identifies intermediate auxiliary concepts (middle columns) to bridge distant source (red) and target (green) domains.

Performance Benchmarks

DERWENT was evaluated on three major computer vision benchmarks configured for distant tasks (e.g., transferring from 'chihuahua' to 'antelope'):

Dataset DERWENT Accuracy Previous Best (DDTL)
Animals with Attributes (AwA) 91.0% 83.1%
Caltech-256 86.2% 78.3%
CIFAR-100 93.3% 88.6%

Ablation studies confirmed that the LSTM component and the similarity loss are both essential; removing either led to a significant drop in performance, highlighting the need for both local and global path constraints.

Conclusion and Future Work

DERWENT demonstrates that explicitly modeling transitive paths through auxiliary data is a powerful strategy for distant transfer learning. By combining graph theory with deep sequence modeling, the framework achieves superior accuracy and provides a level of transparency rarely seen in deep transfer models. Future research will focus on scaling the graph construction for even larger datasets and extending the framework to Multi-Source Distant Transfer Learning, where knowledge can be harvested from multiple distant domains simultaneously.

Summary updated

BibTeX
@inproceedings{xiao2021distant,
  author = {Qiao Xiao and Yu Zhang},
  title = {{Distant Transfer Learning via Deep Random Walk}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i12.17248},
}
Figure