Abstract
Transfer learning (TL) leverages knowledge from a source task to improve performance on a target task. A significant challenge in kernel-based TL is the "saturation effect," where models fail to adapt to the unknown smoothness of the data or the offset between tasks. We present Smoothness Adaptive Transfer Learning (SATL), a two-phase algorithm using Gaussian kernels that automatically adjusts to unknown Sobolev smoothness. By exploiting the unique robustness of fixed-bandwidth Gaussian kernels, SATL achieves minimax optimal convergence rates. Our theoretical analysis and synthetic experiments demonstrate that SATL effectively handles scenarios where the task offset is smoother than the individual tasks, outperforming existing methods without requiring prior knowledge of data smoothness.
Introduction
In many machine learning applications, labeled data for a specific target task is scarce, while data for a related source task is abundant. Hypothesis Transfer Learning (HTL) addresses this by learning a source model and then estimating the "offset" function—the difference between the source and target. However, traditional kernel methods often assume uniform smoothness across the source, target, and offset. In practice, the offset is frequently simpler (smoother) than the tasks themselves. Furthermore, the true smoothness of these functions is typically unknown, leading to sub-optimal performance if the chosen kernel is misspecified.
Methodology
The proposed SATL algorithm utilizes Kernel Ridge Regression (KRR) in two distinct phases:
- Source Learning: A model is trained on the large source dataset using a Gaussian kernel.
- Offset Learning: The target data is used to learn the residual error (offset) of the source model, also employing a Gaussian kernel.
The core innovation lies in the use of a fixed-bandwidth Gaussian kernel. Unlike other kernels that may saturate, the Gaussian kernel is robust to smoothness misspecification. By adaptively tuning the regularization parameter ($\lambda$) via a training/validation split, SATL can reach any level of Sobolev smoothness without prior knowledge.
Geometric Similarity and Task Signal Strength
A critical component of the theoretical framework is the characterization of task similarity. The authors define a factor $\xi(h, f_S)$ representing the "relative task signal strength." This can be interpreted geometrically as the relationship between the source and target functions in a high-dimensional space.
As shown in the figure above, the effectiveness of the transfer depends on the alignment (angle) between the source and target hypotheses. When the similarity is high (small angle), the transfer learning process significantly accelerates convergence compared to learning from the target data alone.
Results
Theoretical analysis proves that SATL achieves the minimax lower bound for transfer learning, with only a minor logarithmic penalty for adaptivity. In experiments using synthetic datasets generated from Gaussian processes with Matérn kernels, SATL demonstrated:
- Faster Convergence: When tasks were similar, error decayed at the optimal rate of $n^{-2m/(2m+d)}$, where $m$ is the offset smoothness.
- Superior Performance: SATL consistently outperformed Finite Basis Expansion (FBE) methods, particularly when the underlying data structure did not align with a fixed basis like Fourier transforms.
Conclusion
SATL provides a theoretically grounded and practically robust approach to hypothesis transfer learning. By leveraging the unique properties of Gaussian kernels, it overcomes the saturation effect and adapts to unknown data smoothness. Future work will explore the implications of "rougher" source tasks and extend the analysis beyond Sobolev spaces to more general Reproducing Kernel Hilbert Spaces (RKHS).
Summary updated