Transformation Function Based Methods for Model Shift

Simon Shaolei Du, Jayanth Koushik, Aarti Singh, Barnabás Póczos

Abstract

We consider the Hypothesis Transfer Learning (HTL) problem where one incorporates a hypothesis trained on the source domain into the learning procedure of the target domain. Existing theoretical analysis either only studies specific algorithms or only presents upper bounds on the generalization error but not on the excess risk. In this paper, we propose a unified algorithm-dependent framework for HTL through a novel notion of transformation function, which characterizes the relation between the source and the target domains. We conduct a general risk analysis of this framework and in particular, we show for the first time, if two domains are related, HTL enjoys faster convergence rates of excess risks for Kernel Smoothing and Kernel Ridge Regression than those of the classical non-transfer learning settings. Experiments on real world data demonstrate the effectiveness of our framework.

Introduction

In many real-world scenarios, researchers possess massive datasets for a "source" task but very little data for a specific "target" task. Hypothesis Transfer Learning (HTL) aims to bridge this gap by leveraging a pre-trained model (a hypothesis) from the source rather than just raw data. However, existing HTL literature has historically suffered from two major gaps: a lack of theoretical "excess risk" bounds and a reliance on rigid algorithmic assumptions that cannot handle complex domain relationships like non-linear shifts.

The Transformation Function Framework

This paper introduces a unified framework based on the Transformation Function $G(a, b)$. Instead of attempting to learn the target function $f^{ta}$ directly from sparse data, the framework models $f^{ta}$ as a transformation of the source function $f^{so}$:

$$f^{ta}(x) = G(f^{so}(x), w_G(x))$$

Here, $w_G(x)$ is an auxiliary function representing the relationship or "shift" between domains. This approach is powerful because the relationship $w_G$ is often significantly smoother and simpler than the target task itself, requiring fewer samples to learn accurately.

Visualizing the model shift between source ($f^{so}$) and target ($f^{ta}$) functions. The goal is to learn the red curve using limited target data points by leveraging the known blue source curve.

The Meta-Algorithm

  1. Source Training: Train a model $\hat{f}^{so}$ on the large source dataset.
  2. Auxiliary Learning: Use the small target dataset to estimate the auxiliary function $\hat{w}_G$.
  3. Combination: Plug both into $G$ to produce the final target estimator.

Theoretical Contributions and Stability

Using the lens of algorithmic stability, the authors provide the first theoretical proof that HTL can achieve faster convergence rates for excess risk in non-linear regression (specifically Kernel Smoothing and Kernel Ridge Regression). The theory suggests that for transfer to be effective, the underlying algorithm must be stable—meaning small input changes do not cause wild output swings—ensuring that errors in the source model are not catastrophically amplified.

Experimental Evaluation

The framework was validated across synthetic data, robotics mechanical simulations, and human fMRI brain activity data.

Performance comparison (MSE) across different target sample sizes ($n_{ta}$). Bold values indicate the best performing methods, showing the superiority of Offset and Scale HTL methods at low sample counts.

In robotics tasks (Delve 'kin' family), the proposed Offset KRR and Scale KS methods consistently outperformed models trained only on target data, particularly when target samples were scarce ($n=10$ to $40$). Furthermore, in predicting human reaction times from fMRI scans—a notoriously difficult task—the Offset KS method achieved a mean $R^2$ of 0.1190, significantly outperforming standard baselines and avoiding the "negative transfer" that often plagues simpler data-pooling techniques.

Conclusion

By unifying various transfer strategies under transformation functions, this work provides a rigorous foundation for HTL. The results demonstrate that when the relationship between tasks is simpler than the tasks themselves, transfer learning can fundamentally accelerate the learning process, offering a robust path forward for data-starved domains.

Summary updated

Abstract

We consider the Hypothesis Transfer Learning (HTL) problem where one incorporates a hypothesis trained on the source domain into the learning procedure of the target domain. Existing theoretical analysis either only studies specific algorithms or only presents upper bounds on the generalization error but not on the excess risk. In this paper, we propose a unified algorithm-dependent framework for HTL through a novel notion of transformation function, which characterizes the relation between the source and the target domains. We conduct a general risk analysis of this framework and in particular, we show for the first time, if two domains are related, HTL enjoys faster convergence rates of excess risks for Kernel Smoothing and Kernel Ridge Regression than those of the classical non-transfer learning settings. Experiments on real world data demonstrate the effectiveness of our framework.
BibTeX
@inproceedings{du2017transformation,
  author = {Simon Shaolei Du and Jayanth Koushik and Aarti Singh and Barnabás Póczos},
  title = {{Transformation Function Based Methods for Model Shift}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
  url = {https://openreview.net/forum?id=rk-40OZdWr},
}
Figure