[Paper Review] Optimal Transport for Deep Joint Transfer Learning
This paper proposes a Joint Transfer Learning Network (JTLN) that jointly fine-tunes deep neural networks on source and target data using an Optimal Transport (OT) loss to align classifier predictions, improving few-shot classification performance. By incorporating prior knowledge via customizable cost matrices, JTLN outperforms standard fine-tuning and joint fine-tuning on fine-grained aircraft classification datasets.
Training a Deep Neural Network (DNN) from scratch requires a large amount of labeled data. For a classification task where only small amount of training data is available, a common solution is to perform fine-tuning on a DNN which is pre-trained with related source data. This consecutive training process is time consuming and does not consider explicitly the relatedness between different source and target tasks. In this paper, we propose a novel method to jointly fine-tune a Deep Neural Network with source data and target data. By adding an Optimal Transport loss (OT loss) between source and target classifier predictions as a constraint on the source classifier, the proposed Joint Transfer Learning Network (JTLN) can effectively learn useful knowledge for target classification from source data. Furthermore, by using different kind of metric as cost matrix for the OT loss, JTLN can incorporate different prior knowledge about the relatedness between target categories and source categories. We carried out experiments with JTLN based on Alexnet on image classification datasets and the results verify the effectiveness of the proposed JTLN in comparison with standard consecutive fine-tuning. This Joint Transfer Learning with OT loss is general and can also be applied to other kind of Neural Networks.
Motivation & Objective
- Address the data scarcity problem in few-shot image classification by leveraging related source data.
- Overcome limitations of consecutive fine-tuning, which ignores task relatedness between source and target domains.
- Develop a joint training framework that explicitly models the relationship between source and target categories.
- Enable incorporation of prior knowledge about category similarity through flexible cost matrices in the OT loss.
- Demonstrate the effectiveness of the proposed method on fine-grained image classification benchmarks.
Proposed method
- Jointly train a DNN on source and target data using a shared feature extraction backbone and separate classification heads.
- Introduce an Optimal Transport (OT) loss between the source and target classifier outputs to minimize distributional discrepancy.
- Generalize the Wasserstein loss to handle probability measures of different lengths using a pre-defined cost matrix.
- Use different cost metrics—such as MK-MMD and OT-based distances—computed from features (e.g., fc7 layer) to encode prior knowledge about category relatedness.
- Train the network with a combined loss: standard cross-entropy loss on both classifiers and the OT loss as a regularizer.
- Apply the method to AlexNet fine-tuned on ImageNet, with fixed early layers and fine-tuned later layers.
Experimental results
Research questions
- RQ1Can joint fine-tuning with an OT loss improve few-shot classification performance compared to standard consecutive fine-tuning?
- RQ2How does incorporating prior knowledge about category relatedness through different cost matrices affect model performance?
- RQ3Does the proposed JTLN framework generalize across different neural network architectures and datasets?
- RQ4What is the impact of source domain size and category overlap on the effectiveness of the OT-based alignment?
- RQ5Can the OT loss effectively bridge the gap between source and target classifiers without requiring shared label spaces?
Key findings
- JTLN with the MK-MMD cost metric achieved a 5-point accuracy improvement on the ITL-Airbus dataset (0.5497 to 0.5982) over standard joint fine-tuning.
- On the ITL-Boeing dataset, JTLN (fc7MKMMD) improved accuracy from 0.5395 to 0.5422, and JTLN (fc7OT) from 0.5395 to 0.5436.
- The performance gain was more pronounced on datasets with larger source domains (e.g., ITL-Airbus with 87 source categories) than on smaller ones (e.g., ITL-Boeing with 78 source categories).
- Consecutive fine-tuning achieved 0.5286 and 0.545 accuracy on Boeing and Airbus, respectively, which were surpassed by all JTLN variants.
- Joint fine-tuning without OT loss achieved 0.5395 and 0.5497 accuracy, showing that the OT loss provides additional benefit beyond joint training.
- The results confirm that explicitly modeling source-target task relatedness via OT loss leads to better generalization in inductive transfer learning.
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.