Title: STACKING FOR TRANSFER LEARNING

Abstract: In machine learning tasks, overtting frequently crops up when the number of samples of target domain is insufficient, for the generalization ability of the classifier is poor in this circumstance. To solve this problem, transfer learning utilizes the knowledge of similar domains to improve the robustness of the learner. The main idea of existing transfer learning algorithms is to reduce the dierence between domains by sample selection or domain adaptation. However, no matter what transfer learning algorithm we use, the difference always exists and the hybrid training of source and target data leads to reducing fitting capability of the learner on target domain. Moreover, when the relatedness between domains is too low, negative transfer is more likely to occur. To tackle the problem, we proposed a two-phase transfer learning architecture based on ensemble learning, which uses the existing transfer learning algorithms to train the weak learners in the first stage, and uses the predictions of target data to train the final learner in the second stage. Under this architecture, the fitting capability and generalization capability can be guaranteed at the same time. We evaluated the proposed method on public datasets, which demonstrates the effectiveness and robustness of our proposed method.

1. INTRODUCTION:

Transfer learning has attracted more and more attention since it was first proposed in 1995 Pan & Yang (2010) and is becoming an important field of machine learning. The main purpose of transfer learning is to solve the problem that the same distributed data is hard to get in practical applications by using different distributed data of similar domains. Several different kinds of transfer stratagies are proposed in recent years, transfer learning can be devided into 4 categories Weiss et al. (2016) , including instance-based transfer learning, feature-based transfer learning, parameter-based transfer learning and relation-based transfer learning. In this paper, we focus on how to enhance the performance of instance-based transfer learning and feature-based transfer learning when limited labeled data from target domain can be obtained. In transfer learning tasks, when diff-distribution data is obtained to improve the generalization ability of learners, the fitting ability on target data set will be affected more or less, especially when the domains are not relative enough, negative transfer might occur Pan & Yang (2010), it's hard to trade off between generalization and fitting. Most of the existing methods to prevent negative transfer learning are based on similarity measure(e.g., maximum mean distance(MMD), KL divergence), which is used for choosing useful knowledge on source domains. However, similarity and transferability are not equivalent concepts. To solve those problems, we proposed a novel transfer learning architecture to improve the fitting capability of final learner on target domain and the generalization capability is provided by weak learners. As shown in Figure 1 , to decrease the learning error on target training set when limited labeled data on target domain can be obtained, ensemble learning is introduced and the performances of transfer learning algorithms are significantly improved as a result.

In the first stage, traditional transfer learning algorithms are applied to diversify training data(e.g., Adaptive weight adjustment of boosting-based transfer learning or different parameter settings of domain adaptation). Then diversified training data is fed to several weak classifiers to improve the generalization ability on target data. To guarantee the fitting capability on target data, the predictions of target data is vectorized to be fed to the final estimator. This architecture brings the following advantages:

• When the similarity between domains is low, the final estimator can still achieve good performance on target training set. • Parameter setting is simplified and performance is better than individual estimators under normal conditions.

To test the effectiveness of the method, we respectively modified TrAdaboost Dai et al. (2007) and BDA Wang et al. (2017) as the base algorithms for data diversification and desired result is achieved.

1.1 RELATED WORK

1.1.1. INSTANCE-BASED TRANSFER LEARNING:

TrAdaboost proposed by Dai et al. (2007) is a typical instance-based transfer learning algorithm, which transfer knowledge by reweighting samples of target domain and source domain according to the training error. In this method, source samples are used directly for hybrid training. As the earliest boosting based transfer learning method, there are many inherent defects in TrAdaboost (e.g., high requirements for similarity between domains, negative transfer can easily happen). Moreover, TrAdaboost is extended from Adaboost and use WMA(Weighted Majority Algorithm) Littlestone & Warmuth (1994) to update the weights, and the source instance that is not correctly classified on a consistent basis would converge to zero by ⌈N/2⌉ and would not be used in the final classifier's output since that classifier only uses boosting iterations⌈N/2⌉ → N . Two weakness caused by disregarding first half of ensembles analysised in Al-Stouhi & Reddy (2011) are in the list below:

• As the source weights convergence rapidly, after ⌈N/2⌉ iterations, the source weights will be too low to make full use of source knowledge. • Later classifiers merely focus on the harder instances.

To deal with rapid convergence of TrAdaboost, Eaton & Desjardins (2009) proposed TransferBoost, which apply a 2-phase training process at each iteration to test whether negative transfer has occurred and adjust the weights according to the results. Al-Stouhi & Reddy (2011) introduces an adaptive factor in weights update to slow down the convergence. Yao & Doretto (2010) proposed multisource TrAdaboost, aimed at utilize instances from multiple source domains to improve the transfer performance. In this paper, we still use the WMA to achieve data diversification in experiment of instance-based transfer learning, but stacking rather than boosting is used in final predictions.

1.1.2. FEATURE-BASED TRANSFER LEARNING:

Feature based transfer learning mainly realizes transfer learning by reducing the distribution difference(e.g., MMD) between source domain and target domain by feature mapping, which is the most studied method for transfer knowledge in recent years. where the MMD between domains can be minimized. However, not using labels brings a defect that only marginal distribution can be matched. To address the problem, Long et al. (2014) proposed joint distribution adaptation(JDA) which fit the marginal distribution and conditional distribution at the same time, for unlabeled target data, it utilizes pseudo-labels provided by classifier trained on source data. After that, Wang et al. (2017) extended JDA for imbalanced data.

In neural networks, it's easy to transfer knowledge by pre-train and fine-tune because feature extracted by lower layers are mostly common for different tasks Yosinski et al. (2014) , to transfer knowledge in higher layers which extract task-specific features, Tzeng et al. (2014) , Long et al. (2015) and Long et al. (2016) add MMD to the optimization target in higher layers.

1.1.3. NEGATIVE TRANSFER:

The learning performance in the target domain using the source data could be poorer than that without using the source data, This phenomenon is called negative transfer Pan & Yang (2010). To avoid negative transfer, Liu et al. (2016) point out that one of the most important research issues in transfer learning is to determine whether a given source domain is effective in transferring knowledge to a target domain, and then to determine how much of the knowledge should be transferred from a source domain to a target domain. Researchers have proposed to evaluate the relatedness between the source and target domains. When limited labeled target data can be obtained, two of the methods are listed below:

• Introduce the predened parameters to qualify the relevance between the source and target domains. However, it is very labor consuming and time costing to manually select their proper values. • Examine the relatedness between domains directly to guide transfer learning.

The notion of positive transferability was first introduced in Seah et al. ( 2013) for the assessment of synergy between the source and target domains in their prediction models, and a criterion to measure the positive transferability between sample pairs of different domains in terms of their prediction distributions is proposed in that research. Shao (2016) proposed a kernel method to evaluate the task relatedness and the instance similarities to avoid negative transfer Gui et al. (2017) proposed a method to detection the occurance of negative transfer which can also delay the point of negative transfer in the process of transfer learning. Ge et al. (2014) remind that most previous work treats knowledge from every source domain as a valuable contribution to the task on the target domain could increase the risk of negative transfer. A two-phase multiple source transfer framework is proposed, which can effectively downgrade the contributions of irrelevant source domains and properly evaluate the importance of source domains even when the class distributions are imbalanced.

1.2. STACKED GENERALIZATION:

Stacking is one of the ensemble learning methods that fuses multiple weak classifiers to get a better performance than any single one Kai & Witten (1997) . When using stacking, diversification of weak learners has an important impact on the performance of ensemble Woniak et al. (2014) . Here are some common ways to achieve diversification:

• Diversifying input data: using different subset of samples or features.

• Diversifying outputs: classifiers are only for certain categories.

• Diversifying models: using different classification models.

In this paper, we can also regard the proposed architecture as a stacking model which uses transfer learning algorithms to achieve input diversification.

2. STACKING FOR TRANSFER LEARNING:



2.1. STACKING FOR INSTANCE-BASED TRANSFER LEARNING:

In this section, we introduce how the instance-based transfer learning is applied to the proposed architecture. we use TrAdaboost as an example and make a simple modification to turn it to stacking. In TrAdaboost, we need a large number of labeled data on source domain and limited labeled data on the target domain. We use X = X S ∪ X T to represent the feature space. Source space(X S ) and target space(X T ) are defined as x S i ∈ X S (i = 1, ..., n) and x T j ∈ X T (j = 1, ..., m) respectively. Then the hybrid training data set is defined in equation 1.

EQUATION

)

Weight vector is initialized firstly by w 1 = (w 1 1 , w 1 2 , ..., w 1 n+m ), in the t th iterration, let w t be the sample weight when training the weak classifier and use Equation 2 to calclulate the weighted error rate.

ϵ t = m+n ∑ i=1+n w t i • I(h t (x i ) ̸ = c(x i )) ∑ n+m i=n+1 w t i (2)

In t th iteration, the weights are updated by Equation 3.

w t+1 i = { w t i β |ht(xi)-c(xi)| , 1 ≤ i ≤ n; w t i β -|ht(xi)-c(xi)| t , n + 1 ≤ i ≤ n + m. (3)

Here, β t = ϵ t 1-ϵt and β = 1/(1+ √ 2 ln n/N ). It is noteworthy that original TrAdaboost is for binary classification. In order to facilitate experimental analysis and comparison, we extend the traditional TrAdaboost to a multi-classification algorithm according to Multi-class Adaboost proposed in Zhu et al. (2009) , then β t and beta defined as:

β t = ϵt (1-ϵt)(K-1) β = 1 (1+ √ 2 ln n/N )(K-1) (4)

K is the class number. Equation 5 defines the final output for each class.

P k (x i ) = N ∏ t=⌈N/2⌉ β h k t (xi) t (5)

Moreover, for single-label problem, we use softmax to transfer P k (x) to probabilities. To address the rapid convergence problem, Eaton & Desjardins (2009) proposed TransferBoost, which utilizes all the weak classifiers for ensemble, but in the experiment, early stop can improve the final performance, so which classifiers should be chosen is still a problem. Al-Stouhi & Reddy (2011) proposed dynamic TrAdaboost, In this algorithm, an adaptive factor is introduced to limit the convergence rate of source sample weight. However, it's not always effective in practical use. Theoretical upper bound of training error in target domain is not changed in dynamic TrAdaboost, which is related to the training error on target domain, we have:

EQUATION

Algorithm 1 stacked generalization for instance-based transfer learning.

1: input labeled data sets D s and D t , source task S = {(x S i , c i )} n i=1 and target task T = {(x T i , c i )} m i=1 . 2: initialize the weight vector w 1 = (w 1 1 , w 1 2 , ..., w 1 n+m ) and λ. 3: for each t from 1 to N do 4:

Call Learner, providing it labeled target data set with the distribution w t . Then get back a hypothesis of S.

5::

Calculate the error on S: 6:

ϵ i t = w t i I(h t (x i ) ̸ = c(x i )) ∑ n i=1 w t i 7:

Get a subset of source task S t = {(x i , c i ), ϵ i t < λ} n i=1 .

8:

Call learner, providing it S t ∪ T . Then get back a hypothesis of T.

9:

Calculate the error on T using equation. 2.

10: updata β t using equation. 4.

11::

Update the new weight vector using equation. 3. 12: end for 13: Construct probability vectors by concatenating

O t,i = (sof tmax(P 1 t (x i )), ..., sof tmax(P K t (x i ))) . 14: Construct target feature matrix Z, Z ∈ R m×(N K) , Z i = (O 1,i , ..., O N,i ). 15: Train final learner providing {(Z i , c i )} n+m i=n+1 .

Although dynamic TrAdaboost can improve the weights of source samples after iteration ⌈N/2⌉ and the generalization capability is improved, it's very likely that the error rate on source domain ϵ t increases, sometimes it even aggravates the occurrence of negative transfer when the domains are not similar enough. We use stacking to address the problems above in this section, in the data diversification stage, TrAdaboost is used to reweight samples for each weak classifier. Meanwhile, because we make use of all the weak classifiers, to avoid the high source weights of irrelative source samples negatively effects on the task in early iterations, a two-phase sampling mechanism is introduced in our algorithm.

A formal description of stacking for instance-based transfer learning is given in Algorithm 1. The main difference between stacking for instance-based transfer learning and TrAdaboost are listed as follows:

• A two-phase sampling process and an extra parameter λ is introduced. Firstly, target data is fed to weak learner and the weighted error rate of source samples are used to decide which samples can be used for hybrid learning by comparing with the threshold λ. As the source weights reduces with the number of iterations increasing, more and more source samples will be utilized.

• Stacking rather than TrAdaboost is used to get the final output. We construct a feature matrix by the outputs of weak learners on target data, then use a super learner(e.g., Log-itRegression in our experiment) to fit the labels. In this way, training error on target set can be minimized.

When compared with TrAdaboost, stacking is insensitive to the performance of each weak classifier because the training error on target data can be minimized in stacking, which means it's more robust in most cases and brings some benefits:

• When using stacking, all of the weak classifiers could be used.

• When source domain is not related enough, stacking performs better.

2.2. STACKING FOR FEATURE-BASED TRANSFER LEARNING:

One of a popular methods for feature-based transfer learning to achieve knowledge transfer is domain adaptation, which minimizes the distribution difference between domains by mapping features to a new space, where we could measure the distribution difference by MMD. Generally speaking, we use P (X S ), P (X T ) and P (Y S |X S ), P (Y T |X T ) to represent the marginal distribution and conditional distribution of source domain and target domain respectively. In Pan et al. (2011) , transfer component analysis(TCA) was proposed to find a mapping which makes P (ϕ(X S )) ≈ P (ϕ(X T )), the MMD between domains in TCA is defined as:

EQUATION

Long et al. ( 2014) proposed joint distibution adaptation(JDA) to minimize the differences of marginal distribution and conditinal distribution at the same time, the MMD of conditional distribution is defined as:

EQUATION

In Wang et al. (2017) , balanced distribution adaptation was proposed, in which algorithm, an extra parameter is introduced to adjust the importance of the distributions, the optimization target is defined by Equation 9:

EQUATION

To solve the nonlinear problem, we could use a kernel matrix defined by: K

= [ K src,src K src,tar K tar,src K tar,tar ]

, then the optimization proplem can be formalized as:

min A tr ( A ⊤ K ( (1 -µ) M 0 + µ C ∑ c=1 M c ) K ⊤ A ) + λ||A|| 2 F s.t.A ⊤ KHK ⊤ A = I, 0 ≤ µ ≤ 1 (10)

Where H is a centering matrix, M 0 and M c represent the MMD matrix of marginal distribution and conditional distribution respectively, A is the mapping matrix.

In domain adaptation, performace is sensitive to the selection of parameters(e.g., kernel type, kernel param or regularization param). For instance, if we use rbf kernel, as defined in Equation 11, to construct the kernel matrix. selection of kernel param σ has an influence on the mapping. In this paper, we use BDA as a base algorithm in the proposed architecture to achieve data diversification by using different kernel types and parameter settings.

κ(x, y) = e (-||x-y|| 2 2σ 2 ) (11)

By taking adavantage of stacking, we could get a better transfer performance than any single algorithm. Here, we introduce how we choose the kernel parameter in our experiments. In ensemble learning, it's significant to use unrelated weak classifiers for a better performance Woniak et al.

(2014)(i.e., learners should have different kinds of classification capabilities). moreover, performances of learners shouldn't be too different or the poor learners will have an negative effect on ensemble. In another word, we choose the kernel parameter in a largest range where the performance is acceptable. We take the following steps to select parameters. Firstly, search a best value of kernel parameter σ for weak classifier, where the accuracy on validation set is Accuracy max . secondly, set a threshold parameter λ and find an interval (σ min , σ max ) around σ where the accuracy on validation set satisfy Accuracy max -λ ≤ Accuracy when σ ∈ (σ min , σ max ). Finally, select N parameters in (σ min , σ max ) by uniformly-spaced sampling. When multiple type of kernels are utilized, we choose parameter sets for each seperately by repeating the above steps. In our method, the settings of λ and N should be taken into consideration, if λ is too large, the performance of each learner can't be guaranteed, if λ is too small, training data can't be diversified enough. Set N to a large number would help to get a better performance in most cases, while the complexity could be high.

Algorithm 2 stacked generalization for feature-based transfer learning. 

Construct X = [ X src X tar ] , Y = [ Y src Y tar ] 5:

Contruct kernel matrix K t using κ t .

6:

Solve the eigendecomposition problem and use d smallest eigenvectors to build A t .

7:

Train t th leaner on {A ⊤ t K t , Y}.

8::

Call learner t providing A ⊤ t K tar t ,Get hypothesis h t . 9:

Construct probability vectors by concatenating O t,i = (h 1 t,i , ..., h K t,i ), where K is the number of classes. 10: end for 11: Construct target feature matrix Z, Z ∈ R m× (N K) .Z i = (O 1,i , ..., O N,i ). 12: Train final learner providing (Z, Y tar ).

Algorithm 2 presents the detail of our method. In our algorithm, kernel function κ t can be differentiated by kernel types or kernel params. In t th iteration, we choose κ t to mapping the feature space, then get the matrix A by BDA, A ⊤ K tar and A ⊤ K src are feed to weak learner. After that, we concatenate predictions of A ⊤ K tar as features of the super leaner. In this paper, we assume that there are limited labeled data on target set, so we use modified BDA, which uses real label rather than pseudo label, to adapt conditional distribution.

3. EXPERIMENT SET UP:



3.1. DATA SET:

To evaluate the effectiveness of our method, 6 public datasets and 11 domains as shown in Table 1 are used in our experiment of instance-based transfer learning and feature-based transfer learning. The detail is described as follow: Figure 3 shows the experiment results of transfer between mnist and USPS under different iterations and ratios of #source and #target. We observe that stacking achieves much better performance than TrAdaboost. Firstly, acuuracy of stacking method is higher when ratio changing from 1% to 10%. Especially, the fewer the labeled target samples are, the more improvement stacking method could achieve. Secondly, few iterations are required for stacking method to achieve a relatively good performance, when the curve is close to convergence, there's still about 5% improvement compared with TrAdaboost. Moreover, in both transfer tasks USPS→ mnist and mnist → USPS, stacking method performs significantly better than TrAdaboost. The reason why stacking performs better is analyzed in section 3.1, we assume that the introduction of source leads to under fitting on target data when hybrid training, to confirm our hypothesis, we made a comparision of training error on source data and target data between TrAdaboost and stacking method, Figure 4 shows the result of four of the transfer tasks.

Table 2 shows the results of all the transfer tasks under 20 iterations.

3.1.3. FEATURE BASED TRANSFER:

BDA is chosen as the base algorithm to achieve data diversification in our experiment, we mainly test the infulence of different kernel functions has on the perfomance and the effectiveness of the method proposed in section 3.2. The ratio of #source and #target is set to 5% and we use rbf kernel, In this paper, to construct the kernel set by sampling parameters in a range where the performance is not too worse than the best one, we followed the method given in section 3.2 and set threshold λ varies from 5% to 10% for different tasks. For each kernel type, we select 10 different parameters(i.e., 10 weak classifiers) for stacking.

Tabel 4 shows the comparison between single algorithm and ensemble learning. For each kernel type, we give the best accuracy, average accuracy of weak learners and accuracy of ensemble learning, Randomforest and LogitRegression as the weak learner and super learner respectively. Accuracy of integrating all the kernel types is shown in the last column and the best performance of each task is in bold. We can learn from the table that ensemble learning outperfoms the best single learner in all the tasks, and in most cases, using both of rbf and another type of kernels are able to improve the performance. However, when should we use multiple kernel types in stacking needs to be further studied.

In summary, the reason why the proposed method can improve the performance of feature-based transfer learning is listed as follows: Secondly, multiple kernels are utilized to achieve data diversification, so we could integrate the classification ability of weak learners trained on diff-distribution data.

4. CONCLUSION:

In this paper, we proposed a 2-phase transfer learning architecture, which uses the traditional transfer learning algorithm to achieve data diversification in the first stage and the target data is fitted in the second stage by stacking method, so the generalization ability and fitting ability on target data could be satisfied at the same time. The experiment of instance-based transfer learning and feature-based transfer learning on 11 domains proves the validity of our method. In summary, this framework has the following advantages:

• No matter if source domain and target domain are similar, the training error on target data set can be minimized theoretically. • We reduce the risk of negative transfer in a simple and effective way without a similarity measure.

• Introduction of ensemble learning gives a better performance than any single learner.

• Most existing transfer learning algorithm can be integrated into this framework.

Moreover, there're still some problems require our further study, some other data diversification method for transfer learning might be useful in our model, such as changing the parameter µ in BDA, integrating multiple kinds of transfer learning algorithms, or even applying this framework for multi-source transfer learning.

:



Figures and Tables:

Figure1: Overview of stacking for transfer learning. Firstly, source data and target data are hybrid together to train the weak learners, then super learner is used to fit the predictions of target data.

Figure 2: Weights of the source samples and target samples change with the iterations in TrAdaboost. All of the weights are initialized to 1.

Figure 3: Accuracy of instance-based transfer on mnist vs. usps changed with the iterations and ratio of #target.

Figure 4: Training error on source and target data changed with iterations in transfer tasks USPS→ mnist, mnist → USPS, COIL1 → COIL2 and COIL2 → COIL1.

rbf κ(x, y) = e -γ||x-y|| 2 sam κ(x, y) = e -γarccos(x T y) 2 poly κ(x, y) = (x T y) γ To observe how the selection of kernels affects the feature distribution, we visualize the feature representations learned by BDA under different kernel parameters and kernel types when adapting domains A and C. As shown in Figure 5(a), data distribution and similarity between domains change with the kernel parameters, when compared with Figure 5(b), which presents feature distribution of rbf kernel, it's obvious that using different kernel types can provide more diversity.

Figure 5: Feature visualization of the A→C task under different kernels.

1: input Source and target feature maxtrix X src , X tar , label vector Y src , Y tar .

Table content: <table/>

mnist and USPS are standard digit recognition datasets, we select 5000 of each and resize usps to 28*28 for our experiment.• rec vs. talk, rec vs. sci and sci vs. talk are from 20newsgroups, which has a hierarchical structure, we construct source domain and target domain by combining different sub-categories for instance-based transfer learning, the method is described in Dai et al. USPS, 20newsgroups and COIL20 datasets for instance-based transfer learning. Experiment is carried out under different iterations and different ratios of #source and #target in training set. To verify the effectiveness of the proposed algorithm, we compared our stacking method for transfer learning with TrAdaboost and choose Randomforest as the weak learners, the super learner of stacking is LogitRegression.

Table content: <table><tr><td/><td colspan="3">: 6 datasets(11 domains) for experiment.</td></tr><tr><td>Dataset</td><td>Domain</td><td>#samples</td><td>#classes</td></tr><tr><td>mnist</td><td>M</td><td>5000</td><td>10</td></tr><tr><td>usps</td><td>U</td><td>5000</td><td>10</td></tr><tr><td>20newsgroup</td><td>rec+talk+sci</td><td>-</td><td>2</td></tr><tr><td>COIL20</td><td>COIL1+COIL2</td><td>720 + 720</td><td>20</td></tr><tr><td>Caltech</td><td>C</td><td>1123</td><td>10</td></tr><tr><td>office</td><td>A+W+D</td><td>985+295+157</td><td>10</td></tr></table>

Comparison between TrAdaboost and stacking under different ratios of #target.

Table content: <table><tr><td>Transfer task</td><td>1%</td><td>TrAdaboost 5% 10%</td><td>15%</td><td>1%</td><td colspan="3">Stacked Generalization 5% 10%</td><td>15%</td></tr><tr><td>mnist → usps</td><td colspan="6">0.3864 0.7260 0.8086 0.8280 0.4826 0.7878 0.8500</td><td>0.8672</td></tr><tr><td>usps → mnist</td><td colspan="6">0.2826 0.6066 0.6854 0.7337 0.3352 0.6486 0.7231</td><td>0.782</td></tr><tr><td>COIL1 → COIL2</td><td>-</td><td colspan="2">0.3610 0.4331 0.4462</td><td>-</td><td colspan="2">0.5352 0.5401</td><td>0.6372</td></tr><tr><td>COIL2 → COIL1</td><td>-</td><td colspan="2">0.3932 0.4521 0.4428</td><td>-</td><td colspan="2">0.5555 0.5586</td><td>0.6111</td></tr><tr><td>rec → talk</td><td>-</td><td colspan="2">0.7512 0.7908 0.8627</td><td>-</td><td colspan="2">0.8465 0.8845</td><td>0.9176</td></tr><tr><td>rec → sci</td><td>-</td><td colspan="2">0.5434 0.7087 0.7683</td><td>-</td><td colspan="2">0.6980 0.7609</td><td>0.8307</td></tr><tr><td>sci → talks</td><td>-</td><td colspan="2">0.7230 0.7177 0.7156</td><td>-</td><td>0.7583</td><td>0.7747</td><td>0.7747</td></tr></table>

Definitions of kernel functions.

Table content: <table/>

Performance of Feature-based Transfer.Firstly, we use super learner to fit the target domain, so the bias of weak learners introduced by hybrid training with source data is reduced.

Table content: <table><tr><td>Transfer task</td><td>avg</td><td>rbf best</td><td>stacking</td><td>avg</td><td colspan="2">sam/poly best stacking</td><td>stacking</td></tr><tr><td>mnist → usps</td><td colspan="2">0.461 0.514</td><td>0.548</td><td colspan="2">0.423 0.459</td><td>0.557</td><td>0.604</td></tr><tr><td>uspt → mnist</td><td colspan="2">0.527 0.607</td><td>0.692</td><td colspan="2">0.567 0.619</td><td>0.716</td><td>0.727</td></tr><tr><td colspan="3">COIL1 → COIL2 0.913 0.956</td><td>0.987</td><td colspan="2">0.811 0.842</td><td>0.902</td><td>0.983</td></tr><tr><td colspan="3">COIL2 → COIL1 0.882 0.939</td><td>0.948</td><td colspan="2">0.798 0.833</td><td>0.897</td><td>0.963</td></tr><tr><td>A → C</td><td colspan="2">0.420 0.427</td><td>0.439</td><td colspan="2">0.411 0.420</td><td>0.424</td><td>0.439</td></tr><tr><td>A → D</td><td colspan="2">0.503 0.514</td><td>0.551</td><td colspan="2">0.482 0.495</td><td>0.523</td><td>0.551</td></tr><tr><td>A → W</td><td colspan="2">0.401 0.445</td><td>0.473</td><td colspan="2">0.465 0.486</td><td>0.522</td><td>0.497</td></tr><tr><td>C → A</td><td colspan="2">0.478 0.500</td><td>0.570</td><td colspan="2">0.503 0.520</td><td>0.561</td><td>0.577</td></tr><tr><td>C → D</td><td colspan="2">0.485 0.495</td><td>0.505</td><td colspan="2">0.476 0.504</td><td>0.514</td><td>0.504</td></tr><tr><td>C → W</td><td colspan="2">0.530 0.546</td><td>0.588</td><td colspan="2">0.554 0.563</td><td>0.570</td><td>0.588</td></tr><tr><td>D → A</td><td colspan="2">0.395 0.417</td><td>0.450</td><td colspan="2">0.395 0.471</td><td>0.481</td><td>0.494</td></tr><tr><td>D → C</td><td colspan="2">0.325 0.336</td><td>0.372</td><td colspan="2">0.337 0.353</td><td>0.360</td><td>0.386</td></tr><tr><td>W → A</td><td colspan="2">0.405 0.433</td><td>0.446</td><td colspan="2">0.427 0.450</td><td>0.464</td><td>0.472</td></tr><tr><td>W → C</td><td colspan="2">0.319 0.339</td><td>0.352</td><td colspan="2">0.327 0.339</td><td>0.358</td><td>0.362</td></tr></table>

Peer review (iclr2019):
 The authors proposed a stacking method for both instance-based and feature-based transfer learning based on a two-phase strategy. It first introduced some self-defined parameters to diversify the data or the model, and then adopted some existing transfer learning to train the model. Strength: 1) A stacking method for both instance-based and feature-based transfer learning. Weakness: 1) Incremental contributions and limited novelty. 2) Some claims are not well supported. 3) Experimental results are preliminary. The technical contribution of this work is limited. The main difference between the proposed instance-based stacking method and TrAdaboost are twofold: 1) using a self-defined threshold to select a subset of source samples for training; 2) using stacking instead of TrAdaboost to get the final output. The improvements upon TrAdaboost are marginal. Also, for the proposed feature-based stacking method, it just used the different kernel parameter values to diversify the model. The novelty is trivial. Several claims in the paper are not well discussed and/or evidence-supported, such as： 1) “When the similarity between domains is low, the final estimator can still achieve good performance on target training set.” 2) “When source domain is not related enough, stacking performs better.” 3) “We reduce the risk of negative transfer in a simple and effective way without a similarity measure.” More discussions should be given, for example, how to measure the domain similarity and how to reduce the risk of negative transfer. Also, there are no experimental results to support the claims. For the evaluation, it is inappropriate to choose Randomforest as the weak leaners since Randomforest is an ensemble method. It is better to give some explanation on how the data distribution and similarity between domains change with the kernel parameters in Figure 5. For the algorithm comparison, only TrAdaboost is used as the baseline to compare with the proposed instance-based stacking method. The results could be more convincing if some recent ensemble-based transfer learning methods are included for comparison. For the evaluation of the proposed feature-based stacking method, the authors should at least compare their method with BDA since BDA is used as its base algorithm. Some symbols used in equations are not defined, such as h_t and c in Equation (2). The paper needs a careful proofreading to correct the grammar errors and typos, such as: 1) Line 1 of page 7: moreover -> Moreover? 2) Line 1 of Abstract: overtting -> overfitting? In summary, the paper has to make significant improvements before it can meet the bar of ICLR.