Sample Complexity of Transfer Learning: An Optimal Transport Approach

Haoyang Cao, Xin Guo, Wenpin Tang, Guan Wang
5/19/2026
stat.MLcs.LG

No confident code implementation found for this paper.

Abstract

Transfer learning is an essential technique for many machine learning/AI models of complex structures such as large language models and generative AI. The essence of transfer learning is to leverage knowledge from resolved source tasks for a new target task, especially when the sample size $m$ of the training data for the latter is low.

Show full abstract

In this work, we rigorously analyze the potential benefit of transfer learning in terms of sample efficiency. Specifically, taking an optimal transport viewpoint of transfer learning, we find that when the data dimension $d$ is higher than $3$, the sample complexity for transfer learning is $O(m^{-(α+1)/d})$, with $α$ indicating the smoothness of the data distribution, as opposed to the $O(m^{-p/d})$ sample complexity for direct learning with $p$ indicating the smoothness of the optimal target model. Our finding theoretically supports a better sample efficiency for transfer learning, when the target task is optimizing over a family of not-so-smooth models (i.e., highly complex networks with the possible use of non-smooth activation functions). Using image classification as an example, we numerically demonstrate the sample efficiency for transfer learning, that is, in the data hungry regime, the model performance can be significantly improved by transfer learning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cao2026sample,
  title  = {Sample Complexity of Transfer Learning: An Optimal Transport Approach},
  author = {Haoyang Cao and Xin Guo and Wenpin Tang and Guan Wang},
  year   = {2026},
  eprint = {2605.20545},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.20545v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.20545.svg)](https://codeofpaper.com/paper/2605.20545)

Discussion