<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Assisted Unsupervised Domain Adaptation</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10418640</idno>
					<idno type="doi"></idno>
					<title level='j'>Abstracts of papers  IEEE International Symposium on Information Theory</title>
<idno>0271-4655</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>C. Chen</author><author>J. Zhang</author><author>J. Ding</author><author>Y. Zhou</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Unsupervised domain adaptation (UDA) is a popular machine learning technique that allows one to train models over diverse data collected from different domains. However, this technique requires the learner to collect a large number of properly labeled data samples, which can be costly and unrealistic in many applications. In this work, we propose a decentralized assisted learning framework for UDA. In this framework, a learner has only a limited number of labeled data samples collected from a certain source domain and aims to train a classifier for the target domain. To improve domain adaptation performance, it seeks assistance by interacting with an external service provider, who possesses many labeled data samples collected from a related source domain. We develop an assisted UDA algorithm that avoids data sharing and can significantly improve the learner's domain adaptation performance within a few rounds of interaction. Experiments using deep neural networks on benchmark datasets demonstrate the effectiveness of this algorithm.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>The effectiveness of modern machine learning is highly dependent on the availability of a large, high-quality set of labeled data samples, meaning that the data is free of noise and its distribution is closely aligned with that of the test data samples <ref type="bibr">[1]</ref>, <ref type="bibr">[2]</ref>. However, these requirements are often difficult to meet in practice due to two main factors: (i) collecting and annotating such a large amount of data is often costly and time-consuming, so one usually only has access to a limited number of labeled samples; (ii) there is often a significant distribution shift between training and test samples, leading to high generalization error for the learning algorithms.</p><p>To address these issues, unsupervised domain adaptation (UDA) has become a popular technique that has been extensively studied in the literature. For example, <ref type="bibr">[3]</ref> proposed an adversarial model for UDA. This model consists of a feature extractor, a label predictor, and a domain classifier. By minimizing the label prediction loss and maximizing the domain classification loss simultaneously, the model can learn transferable features from the labeled source data that can be adapted to the unlabeled target data (i.e., the test samples) and achieve domain-invariant learning. Additionally, other works have developed multi-source UDA approaches <ref type="bibr">[4]</ref>- <ref type="bibr">[8]</ref>, in which the goal is to learn features that are transferable to the unlabeled target data when labeled samples are available from multiple source domains. Please refer to Fig. <ref type="figure">1</ref> for an illustration of UDA-type of models.</p><p>However, ensuring good performance in unsupervised domain adaptation often requires access to a large, centralized set of labeled data samples from various source domains, which can be unachievable in practical application scenarios. In the era of big data, the proliferation of data collection methods and machine learning techniques have brought opportunities for modeling with external assistance <ref type="bibr">[9]</ref>, <ref type="bibr">[10]</ref>. The UDA model with poor performance may improve significantly with assistance from a service provider with an external dataset. The challenges of this learning scenario include the followings: 1) the external dataset may have a different distribution from local datasets; 2) assistance from a service provider may be costly due to high service fees charged for frequent exchanges of information and updates; 3) decentralized learning algorithms are required due to the absence of a central server.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Main Contribution</head><p>To address the above challenges, we propose a decentralized assisted learning framework for UDA. In this framework, we consider a scenario where the learner has a limited number of labeled samples collected from a single-source domain and aims to use these labeled samples to train a classifier on a different target domain. We assume that an external service provider, such as a data company or organization, may possess labeled samples from a related but different source domain. In this case, the learner can seek assistance from the service provider to improve domain adaptation performance without data sharing, through a few rounds of communication. We present an assisted UDA algorithm and evaluate it using deep neural network models on benchmark datasets, demonstrating its effectiveness.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Other Related Work</head><p>Many distributed or decentralized methods have gained popularity in recent years to improve the machine learning performance of a learner with limited data and computation resources. Two such methods are assisted learning and federated learning, whose related work are summarized below.</p><p>Assisted Learning (AL): AL [10]- <ref type="bibr">[12]</ref> is a decentralized learning framework that allows organizations to autonomously improve their learning quality within only a few assistance rounds. Previous research on AL has focused on vertically partitioned data, in which entities hold data with different feature variables collected from the same cohort of subjects. In contrast, this work considers horizontally partitioned data, in which clients hold local data with the same feature variables but from different subjects. Our setting is therefore closely aligned with a recent AL framework developed in <ref type="bibr">[13]</ref> for assisting organizations with horizontally partitioned data, which demonstrated that a learner organization (e.g., small labs) could significantly and steadily improve its learning performance through interaction with an external service provider (e.g., large institutes) within a few rounds. In this work, we will develop an AL approach for a learner performing domain adaptation learning to receive assistance from a provider to leverage multiple source domains.</p><p>Federated Learning (FL): FL <ref type="bibr">[14]</ref>- <ref type="bibr">[17]</ref> is a distributed learning framework that allows for the joint learning of a model through the averaging of locally learned model parameters without the need for training data to be transmitted. It utilizes the resources of large numbers of edge devices, also known as "clients," to achieve a global objective coordinated by a central server. Vertical Federated Learning methods involve splitting sub-networks for local clients to jointly optimize a global model <ref type="bibr">[18]</ref>- <ref type="bibr">[21]</ref>, but require frequent batchwise synchronization of backward gradients to converge <ref type="bibr">[21]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. ASSISTED UNSUPERVISED DOMAIN ADAPTATION</head><p>In this section, we introduce our assisted unsupervised domain adaptation framework. We first present the problem formulation, review the existing centralized multi-source domain adaptation approach, and then present our proposed assisted domain adaptation algorithm.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Problem Formulation</head><p>We consider a learning scenario in which a learner (denoted as L) seeks to train a classification model for predicting unlabeled test sample D(T) collected from a target domain T. However, the learner only has a limited number of labeled data D(S) collected from a related source domain S. Using these labeled data for direct domain adaptation may result in poor performance. To improve domain adaptation performance, the learner L seeks assistance from an external service provider (denoted as P), who possesses a large number of labeled data D(S &#8242; ) collected from a source domain S &#8242; closely related to the learner's domains S and T. As L needs to purchase service provided by P, it is desirable for their interactions to follow the assisted learning protocols outlined in <ref type="bibr">[13]</ref>, which specify that (i) no data sharing should occur and (ii) learner should achieve a high-performance gain within a few interaction rounds. It is also assumed that both L and P have sufficient computational resources.</p><p>Centralized Multi-Source UDA. Consider an ideal case where L has access to P's data. A simple solution is to apply the standard multi-source UDA approach with centralized data. Here, we briefly review this approach, which serves as the basis for developing our assisted UDA algorithm later.</p><p>Specifically, given labeled data samples D(S), D(S &#8242; ) from two different source domains, multi-source UDA aims to learn invariant features that are transferable to the unlabeled target data samples D(T). In <ref type="bibr">[8]</ref>, the authors proposed a multisource DA model, as shown in Fig. <ref type="figure">1</ref>, which consists of a feature extractor &#952; f , a label predictor &#952; y , and two domain classifiers &#952; d1 , &#952; d2 . The learning objective function consists of a label classification loss L(&#952; f , &#952; y ; D(S, S &#8242; )) that aims to train a label prediction model {&#952; f , &#952; y } using the labeled source data samples D(S, S &#8242; ) := D(S) &#8746; D(S &#8242; ), and a domain classification loss L(&#952; f , &#952; d1 ; D(S, T)) + L(&#952; f , &#952; d2 ; D(S &#8242; , T)) that aims to extract domain-invariant features between domains (S, T) and (S &#8242; , T) by letting the feature extractor &#952; f compete with the domain classifiers &#952; d1 , &#952; d2 . Specifically, the optimization aims to minimize the label classification loss over {&#952; f , &#952; y }, and minimize (respectively maximize) the domain classification loss over {&#952; d1 , &#952; d2 } (respectively &#952; f ) simultaneously. This is summarized in the following minimax problem. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Assisted Unsupervised Domain Adaptation</head><p>The aforementioned centralized multi-source UDA requires that L has access to all of P's data, which can be unrealistic in practical scenarios. In this subsection, we propose an assisted learning algorithm for unsupervised domain adaptation that enables P to assist L to improve its UDA performance without data sharing via a few interaction rounds. Specifically, we consider the scenario that L holds labeled source data D(S) (limited population) and unlabeled target data D(T). Meanwhile, P holds a large labeled source data D(S &#8242; ). We assume the data domains S, T, S &#8242; are closely related. To perform assisted UDA without data sharing, L holds a local UDA model (the same as used in <ref type="bibr">[3]</ref>) that consists of a feature extractor &#952; f , a label predictor &#952; y , and a domain classifier &#952; d , whereas P holds a local classification model that consists of a feature extractor &#952; f and a label predictor &#952; y . Notably, P does not need a domain classifier because it does  <ref type="figure">---------------------</ref> not have access to the target data D(T). The overall learning problem is summarized as follows</p><p>which approximates (1) under the assumption that S and S &#8242; are closely related. We summarize our assisted UDA algorithm (named AssistUDA) in Algorithm 1.</p><p>To elaborate, the learning process consists of R rounds, each having the following interaction steps between the learner L and the service provider P.</p><p>1) First, L starts a local learning process by initializing its feature extractor &#952; f t } t&#8712;T &#8242; and picks the one that achieves the minimum global classification loss as the output model of this assistance round. Remark. The proposed AssistUDA algorithm does not require data sharing between the learner and the provider. In the local training steps, both the learner and the provider will store a subset of generated label prediction models and evaluate their corresponding classification losses on their respective local source data. Then, these sampled models and their losses are sent to the other side. These information are used to help identify the best model that achieves the minimum global classification loss on the combined source data samples. Our experiments have shown that storing a few models generated in the local training is sufficient to achieve good performance. Also, note that (2) does not contain the loss term L(&#952; f , &#952; d2 ; D(S &#8242; , T)) in ( <ref type="formula">1</ref>), but it is still expected to improve the learner's performance by leveraging the largesized external data from S &#8242; , particularly when there is moderate divergence between the domains S and S &#8242; .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. EXPERIMENTS</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Experiment Setup</head><p>Baselines. In this section, we conduct deep learning experiments to demonstrate the effectiveness of our proposed AssistUDA algorithm. We test the performance of AssistUDA by comparing it with two baseline methods: 1) centralized multi-source UDA, in which L has access to the centralized data D(S, T, S &#8242; ) (i.e., all the local datasets possessed by L and P) and performs multi-source UDA <ref type="bibr">[8]</ref>. Its performance can be regarded as the upper limit; 2) single-source UDA, in which L performs single-source domain adaption using only its local data D(S, T). Its performance can be regarded as the lower limit. In both baseline methods, L adopts the same UDA model as in AssistUDA, which consists of a feature extractor, a label predictor and a domain classifier as described in Subsection II-B.</p><p>Datasets. Following <ref type="bibr">[3]</ref>, <ref type="bibr">[8]</ref>, we use two sets of datasets, each of which consists of three datasets from closely related domains. Specifically, the first set includes MNIST <ref type="bibr">[22]</ref>, MNIST-M <ref type="bibr">[7]</ref> and SVHN <ref type="bibr">[23]</ref>, and the second set includes CIFAR-10 <ref type="bibr">[24]</ref>, CINIC-10 <ref type="bibr">[25]</ref> and CINIC-10-grayscaled. With these two sets of datasets, we consider the following four different settings of local datasets of L and P. Data Distribution. Each of the dataset setting listed in Table <ref type="table">I</ref> is further specified by a hyperparameter &#947; &#8712; (0, 1) described as follows. First, all the local datasets D(S), D(T), D(S &#8242; ) are balanced, i.e., they contain equal number of samples from each of the 10 classes. Second, both L's target data D(T) and P's source data D(S &#8242; ) are set to have a large sample size, i.e., 46.59k for settings 1 &amp; 2 and 50k for settings 3 &amp; 4. Lastly, the size of L's source data D(S) is specified by &#947; times that of D(S &#8242; ), and we consider &#947; = 0.01, 0.1 so that L has a limited number of source data.</p><p>Training hyperparameters. We implement all the algorithms using the standard SGD optimizer with a fixed batchsize 256 and fine-tuned learning rate. Also, as L's source data D(S) is considerably smaller than its target data D(T), we duplicate it to match the data size in the UDA training. For centralized multi-source UDA, we define one epoch as one pass over the data. For our AssistUDA, one epoch corresponds to one round of interaction between L and P, where all the local trainings pass the local data once and store the updated local models for every I = 30 local training iterations. For single-source UDA, one epoch is defined as two passes over the data so that it uses roughly the same number of training samples as that of the other two algorithms. For all experiments, we perform 10 epochs of training.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Experiment Results</head><p>Setting 1: SVHN-D(S), MNIST-D(T), MNIST-M-D(S &#8242; ). We compare all the aforementioned algorithms under setting 1 (see Table <ref type="table">I</ref>) with &#947; = 0.01 (small size D(S)) and &#947; = 0.1 (large size D(S)), respectively. Fig. <ref type="figure">2</ref> plots the results of training loss (evaluated on D(T)) and test accuracy (evaluated on 10k MNIST test data samples). It can be seen that our AssistUDA consistently achieves a comparable performance to that of the ideal centralized multi-source UDA, and a significantly improved performance over that of single-source UDA. In particular, the performance gain is larger when L has a smaller source dataset (i.e., smaller &#947;). This shows that our AssistUDA is an effective algorithm that allows the learner to seek assistance from the service provider without data sharing.  We further compare these algorithms under setting 2 with &#947; = 0.01, 0.1. The results of training loss (evaluated on D(T)) and test accuracy (evaluated on the 9k MNIST-M test data samples) are shown in Fig. <ref type="figure">3</ref>, where one can make a similar conclusion. Specifically, with &#947; = 0.01, the performance of our AssistUDA is slightly worse than that of centralized multisource UDA, but is much better than that of single-source UDA. When &#947; = 0.1 (i.e., D(S) has a larger size), AssistUDA still achieves a significantly better performance than that of single-source UDA.</p><p>3: CINIC-10-gray-D(S), CIFAR-10-D(T), CINIC-10-D(S &#8242; ). We repeat the above experiments under setting 3 with &#947; = 0.01, 0.1. The results of loss (evaluated on D(T)) and test accuracy (evaluated on 10k CIFAR-10 test data samples) are shown in Fig. <ref type="figure">4</ref>. One can make the same observations and conclusions as before from these results, which demonstrate that our AssistUDA works well on diverse types of datasets.</p><p>Setting 4: CINIC-10-gray-D(S), CINIC-10-D(T), CIFAR-10-D(S &#8242; ). Lastly, we test these algorithms under setting 4 with &#947; = 0.01, 0.1. Fig. <ref type="figure">5</ref> shows the results of training loss (evaluated on D(T)) and test accuracy (evaluated on 18k CINIC-10 test data samples). Note that here the CINIC-10 test data samples are generated by sampling uniformly from each class of the original 90k CINIC-10 test samples. These results lead to the same conclusions and prove the effectiveness of AssistUDA on different target domains. the learner to achieve a significantly better model domain adaptation performance within a few interaction rounds with the external service provider. We expect that this algorithm can be used to help small companies and individuals who have the need to build high-quality machine learning models but lack a sufficient amount of source data. In the future, an interesting direction is to extend this framework to the multi-learner and multi-provider scenarios.  </p></div></body>
		</text>
</TEI>
