Augmented Cyclic Adversarial Learning for Domain Adaptation

07/01/2018 ∙ by Ehsan Hosseini-Asl, et al. ∙ Salesforce 2

Training a model to perform a task typically requires a large amount of data from the domains in which the task will be applied. However, it is often the case that data are abundant in some domains but scarce in others. Domain adaptation deals with the challenge of adapting a model trained from a data-rich source domain to perform well in a data-poor target domain. In general, this requires learning plausible mappings between domains. CycleGAN is a powerful framework that efficiently learns to map inputs from one domain to another using adversarial training and a cycle-consistency constraint. However, the conventional approach of enforcing cycle-consistency via reconstruction may be overly restrictive in cases where one or more domains have limited training data. In this paper, we propose an augmented cyclic adversarial learning model that enforces the cycle-consistency constraint through an external task specific model, which encourages the preservation of task-relevant content as opposed to exact reconstruction. This task specific model both relaxes the cycle-consistency constraint and complements the role of the discriminator during training, serving as an augmented information source for learning the mapping. In the experiment, we adopt a speech recognition model from each domain as the task specific model. Our approach improves absolute performance of speech recognition by 2% for female speakers in the TIMIT dataset, where the majority of training samples are from male voices. We also explore digit classification with MNIST and SVHN in a low-resource setting and show that our approach improves absolute performance by 14% and 4% when adapting SVHN to MNIST and vice versa, respectively. Our approach also outperforms unsupervised domain adaptation methods, which require high-resource unlabeled target domain.



There are no comments yet.


page 7

This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

1 Introduction

Domain adaptation (Huang et al., 2007; Xue et al., 2008; Ben-David et al., 2010) aims to generalize a model from source domain to a target domain. Typically, the source domain has a large amount of training data, whereas the data are scarce in the target domain. This challenge is typically addressed by learning a mapping between domains, which allows data from the source domain to enrich the available data for training in the target domain. One way of learning such mappings is through Generative Adversarial Networks (GANs Goodfellow et al., 2014) with cycle-consistency constraint (CycleGAN Zhu et al., 2017), which enforces that mapping of an example from the source to the target and then back to the source domain would result in the same example (and vice versa for a target example). Due to this constraint, CycleGAN learns to preserve the ‘content’111Here the content refers to the invariant properties of the data with respect to a task. For example, in image classification the semantic information of an image would be its class. Thus, different task on the same data would result in different semantic information. In this paper we use content and semantic information interchangeably. from the source domain while only transferring the ‘style’ to match the distribution of the target domain. This is a powerful constraint, and various works (Yi et al., 2017; Liu et al., 2017; Hoffman et al., 2018) have demonstrated its effectiveness in learning cross domain mappings.

Enforcing cycle-consistency is appealing as a technique for preserving semantic information of the data with respect to a task, but implementing it through reconstruction may be too restrictive when data are imbalanced across domains. This is because the reconstruction error encourages exact match of samples from the reverse mapping, which may in turn encourage the forward-mapping to keep the sample close to the original domain. Normally, the adversarial objectives would counter this effect; however, when data from the target domain are scarce, it is very difficult to learn a powerful discriminator that can capture meaningful properties of the target distribution. Therefore, the resulting mappings learned is likely to be sub-optimal. Importantly, for the learned mapping to be meaningful, it is not necessary to have the exact reconstruction. As long as the ‘semantic’ information is preserved and the ‘style’ matches the corresponding distribution, it would be a valid mapping.

To address this issue, we propose an augmented cyclic adversarial learning model (ACAL) for domain adaptation. In particular, we replace the reconstruction objective with a task specific model. The model learns to preserve the ‘semantic’ information from the data samples in a particular domain by minimizing the loss of the mapped samples for the task specific model. On the other hand, the task specific model also serves as an additional source of information for the corresponding domain and hence supplements the discriminator in that domain to facilitate better modeling of the distribution. The task specific model can also be viewed as an implicit way of disentangling the information essential to the task from the ‘style’ information that relates to the data distribution of different domain. We show that our approach improves the performance by as compared to the baseline on digit domain adaptation. We improve the phoneme error rate by on TIMIT dataset, when adapting the model trained on one speech from one gender to the other.

1.1 Related Work

Our work is broadly related to domain adaptation using neural networks for both supervised and unsupervised domain adaptation.

Supervised Domain Adaptation

When labels are available in the target domain, a common approach is to utilize the label information in target domain to minimize the discrepancy between source and target domain (Hu et al., 2015; Tzeng et al., 2015; Gebru et al., 2017; Hoffman et al., 2016; Gupta et al., 2016; Ge and Yu, 2017). For example, Hu et al. (2015) applies the marginal Fisher analysis criteria and Maximum Mean Discrepancy (MMD) to minimize the distribution difference between source and target domain. Tzeng et al. (2015)

proposed to add a domain classifier that predicts domain label of the inputs, with a domain confusion loss.

Gebru et al. (2017) leverages attributes by using attribute and class level classification loss with attribute consistent loss to fine-tune the target model. Our method also employs models from both domains, however, our models are used to assist adversarial learning for better learning of the target domain distribution. In addition, our final model for supervised domain adaptation is obtained by training on data from target domain as well as the transfered data from the source domain, rather than fine-tuning a source/target domain model.

Unsupervised Domain Adaptation

More recently, various work have taken advantage of the substantial generation capabilities of the GAN framework and applied them to domain adaptation (Liu and Tuzel, 2016; Bousmalis et al., 2017; Yi et al., 2017; Tzeng et al., 2017; Kim et al., 2017; Hoffman et al., 2018). However, most of these works focus on high-resource unsupervised domain adaptation, which may be unsuitable for situations where the target domain data are limited. Bousmalis et al. (2017) uses a GAN to adapt data from the source to target domain while simultaneously training a classifier on both the source and adapted data. Our method also employs task specific models; however, we use the models to augment the CycleGAN formulation. We show that having cycles in both directions (i.e. from source to target and vice versa) is important in the case where the target domain has limited data (see sec. 4). Tzeng et al. (2017) proposes adversarial discriminative domain adaptation (ADDA), where adversarial learning is employed to match the representation learned from the source and target domain. Our method also utilizes pre-trained model from source domain, but we only implicitly match the representation distributions rather than explicitly enforcing representational similarity. Cycle-consistent adversarial domain adaptation (CyCADA Hoffman et al., 2018) is perhaps the most similar work to our own. This approach uses both and semantic consistency to enforce cycle-consistency. An important difference in our work is that we also include another cycle that starts from the target domain. This is important because, if the target domain is of low resource, the adaptation from source to target may fail due to the difficulty in learning a good discriminator in the target domain. Almahairi et al. (2018)

also suggests to improve CycleGAN by explicitly enforcing content consistency and style adaptation, by augmenting the cyclic adversarial learning to hidden representation of domains.

Our model is different from recent cyclic adversarial learning, due to implicit learning of content and style representation through an auxiliary task, which is more suitable for low resource domains. Using classification to assist GAN training has also been explored previously (Springenberg, 2015; Sricharan et al., 2017; Kumar et al., 2017). Springenberg (2015) proposed CatGAN, where the discriminator is converted to a multi-class classifier. We extend this idea to any task specific model, including speech recognition task, and use this model to preserve task specific information regarding the data.We also propose that the definition of task model can be extended to unsupervised tasks,such as language or speech modeling in domains, meaning augmented unsupervised domain adaptation.

Figure 1: Illustration of proposed approach. Left: CycleGAN (Zhu et al., 2017). Middle: Relaxed cycle-consistent model (RCAL), where the cycle-consistency is enforced through task specific models in corresponding domain. Right: Augmented cycle-consistent model (ACAL). In addition to the relaxed model, the task specific model is also used to augment the discriminator of corresponding domain to facilitate learning. In the diagrams and denote data and losses, respectively. We point out that the ultimate goal of our approach is to use the mapped Source Target samples () to augment the limited data of the target domain ().

2 Preliminaries

2.1 Generative Adversarial Network

To learn the true data distribution in a nonparametric way, Goodfellow et al. (2014) proposed the generative adversarial network (GAN). In this framework, a discriminator network learns to discriminate between the data produced by a generator network and the data sampled from the true data distribution , whereas the generator models the true data distribution by learning to confuse the discriminator. Under certain assumptions (Goodfellow et al., 2014), the generator would learn the true data distribution when the game reaches equilibrium. Training of GAN is in general done by alternately optimizing the following objective for and .


2.2 CycleGAN

CycleGAN (Zhu et al., 2017) extends this framework to multiple domains, and , while learning to map samples back and forth between them. Adversarial learning is applied such that the result mapping from will match the target distribution , and similarly for the reverse mapping from . This is accomplished by the following adversarial objectives:


CycleGAN also introduces cycle-consistency, which enforces that each mapping is able to invert the other. In the original work, this is achieved by including the following reconstruction objective:


Learning the CycleGAN model involves optimizing a weighted combination of the above objectives 2, 3 and 4.

3 Augmented Cyclic Adversarial Learning (ACAL)

Enforcing cycle-consistency using a reconstruction objective (e.g. eq. 4) may be too restrictive and potentially results in sub-optimal mapping functions. This is because the learning dynamics of CycleGAN balance the two contrastive forces. The adversarial objective encourages the mapping functions to generate samples that are close to the true distribution. At the same time, the reconstruction objective encourages identity mapping. Balancing these objectives may works well in the case where both domains have a relatively large number of training samples. However, problems may arise in case of domain adaptation, where data within the target domain are relatively sparse.

Let and denote source and target domain distributions, respectively, and samples from are limited. In this case, it will be difficult for the discriminator to model the actual distribution . A discriminator model with sufficient capacity will quickly overfit and the resulting will act like delta function on the sample points from

. Attempts to prevent this by limiting the capacity or using regularization may easily induce over-smoothing and under-fitting such that the probability outputs of

are only weakly sensitive to the mapped samples. In both cases, the influence of the reconstruction objective should begin to outweigh that of the adversarial objective, thereby encouraging an identity mapping. More generally, even if we are are able to obtain a reasonable discriminator , the support of the distribution learned through it would likely to be small due to limited data. Therefore, the learning signal receive from would be limited. To sum up, limited data within would make it less likely that the discriminator will encourage meaningful cross domain mappings.

The root of the above issue in domain adaptation is two fold. First, exact reconstruction is a too strong objective for enforcing cycle-consistency. Second, learning a mapping function to a particular domain which solely depends on the discriminator for that domain is not sufficient. To address these two problems, we propose to 1) use a task specific model to enforce the cycle-consistency constraint, and 2) use the same task specific model in addition to the discriminator to train more meaningful cross domain mappings. In more detail, let and be the task specific models trained on domains and , and denotes the task specific loss. Our cycle-consistent objective is then:


Here, enforces cycle-consistency by requiring that the reverse mappings preserve the semantic information of the original sample. Importantly, this constraint is less strict than when using reconstruction, because now as long as the content matches that of the original sample, the incurred loss will not increase. (Some style consistency is implicitly enforced since each model is trained on data within a particular domain.) This is a much looser constraint than having consistency in the original data space, and thus we refer to this as the relaxed cycle-consistency objective.

To address the second issue, we augment the adversarial objective with corresponding objective:

Input: source domain data , target domain data , pretrained source task model
Output: target task model
while not converged do
       Sample from from ;
       if  in  then
             Sample from
             Finetune source model on and samples (eq. 6)
             Train task model on and samples (eq. 7)
             Sample from
             Finetune source model on samples (eq. 8)
             Train task model and samples (eq. 9)
       end if
end while
Algorithm 1 Augmented Cyclic Adversarial Learning (ACAL)

Similar to adversarial training, we optimize the above objective by maximizing () and minimizing () and (). With the new terms, learning of the mapping functions

get assists from both the discriminator and the task specific model. The task specific model learns to capture conditional probability distribution

(), that also preserves information regarding (). This conditional information is different than the information captured through the discriminator (). The difference is that the model is only required to preserve useful information regarding respect to predicting , for modeling the conditional distribution, which makes learning the conditional model a much easier problem. In addition, the conditional model mediates the influence of data that the discriminator does not have access to (), which should further assist learning of the mapping functions ().

In case of unsupervised domain adaptation, when there is no information of target conditional probability distribution , we propose to use source model

to estimate

through adversarial learning, i.e. . Therefore, proposed model can be extended to unsupervised domain adaptation, with the corresponding modified objectives:


To further extend this approach to semi-supervised domain adaptation, both supervised and unsupervised objectives for labeled and unlabeled target samples are used interchangeably, as explained in Algorithm 1.

4 Experiments

In this section, we evaluate our proposed model on domain adaptation for visual and speech recognition. We continue the convention of referring to the data domains as ‘source’ and ‘target’, where target denotes the domain with either limited or unlabeled training data. Visual domain adaptation is evaluated using the MNIST dataset 

 Lecun et al. (1998), Street View House Numbers (SVHN) datasets  Netzer et al. (2011), USPS  (Hull, 1994), MNISTM  and Synthetic Digits  (Ganin and Lempitsky, 2014). Adaptation on speech is evaluated on the domain of gender within the TIMIT dataset Garofolo et al. (1993), which contains broadband kHz recordings of utterances ( hours) of phonetically-balanced speech. The male/female ratio of speakers across train/validation/test sets is approximately % to %. Therefore, we treat male speech as the source domain and female speech as the low resource target domain.

4.1 Model Ablations

To get an idea of the contribution from each component of our model, in this section we perform a series of ablations and present the results in Table 1. We perform these ablations by treating SVHN as the source domain and MNIST as the target domain. We down sample the MNIST training data so only samples per class are available during training, denoted as MNIST-(10), which is only of full training data. The testing performance is calculated on the full MNIST test set. We use a modified LeNet for all experiments in this ablation. The Modified LeNet consists of two convolutional layers with and channels, followed by a dropout layer and two fully connected layers of and dimensionality.

Domain Adaptation Model Test Accuracy (%)
No Adaptation (trained on SVHN) 71.11
Target Model (trained on MNIST-(10)) 79.223.98
SVHN+MNIST-(10) 85.621.15
ST 69.911.56
(STS)-One Cycle 46.322.09
(TST)-One Cycle 58.342.49
(STS)-RCAL (Ours) 72.511.71
(TST)-RCAL (Ours) 43.562.92
(STS)-ACAL (Ours) 79.400.73
(TST)-ACAL (Ours) 49.810.53
CycleGAN 45.541.05
RCAL (Ours) 88.621.77
ACAL (Ours) 93.900.33
Table 1: Ablation study results from SVHN (Source) to MNIST (Target). See text for more details. Note: The MNIST domain is limited to only samples per class ( of full training dataset), denoted as MNIST-. Experiments were performed times with different random sampling for MNIST.

There are various ways that one may utilize cycle-consistency or adversarial training to do domain adaptation from components of our model. One way is to use adversarial training on the target domain to ensure matching of distribution of adapted data, and use the task specific model to ensure the ‘content’ of the data from the source domain is preserved. This is the model described in Bousmalis et al. (2017), except their model is originally unsupervised. This model is denoted as in Table 1. It is also interesting to examine the importance of the double cycle, which is proposed in Zhu et al. (2017) and adopted in our work. Theoretically, one cycle would be sufficient to learn the mapping between domains; therefore, we also investigate the performance of one cycle only models, where one direction would be from source to target and then back, and similarly for the other direction. These models are denoted as (STS)-One Cycle and (TST)-One Cycle in Table 1, respectively. To test the effectiveness of the relaxed cycle-consistency (eq. 5) and augmented adversarial loss (eq. 6 and 7), we also test one cycle models while progressively adding these two losses. Interestingly, the one cycle relaxed and one cycle augmented models are similar to the model proposed in Hoffman et al. (2018) when their model performs mapping from source to target domain and then back. The difference is that their model is unsupervised and includes more losses at different levels.

As can be seen from Table 1, the simple conditional model performed surprisingly well as compared to more complicated cyclic counterparts. This may be attributed to the reduced complexity, since it only needs to learn one set of mapping. As expected, the single cycle performance is poor when the target domain is of limited data due to inefficient learning of discriminator in the target domain (see section 3). When we change the cycle to the other direction, where there are abundant data in the target domain, the performance improves, but is still worse than the simple one without cycle. This is because the adaptation mapping (i.e. ) is only learned via the generated samples from , which likely deviate from the real examples in practice. This observation also suggests that it would be beneficial to have cycles in both directions when applying the cycle-consistency constraint, since then both mappings can be learned via real examples. The trends get reversed when we are using relaxed implementation of cycle-consistency from the reconstruction error with the task specific losses. This is because now the power of the task specific model is crucial to preserve the content of the data after the reverse mapping. When the source domain dataset is sufficiently large, the cycle-consistency is preserved. As such, the resulting learned mapping functions would preserve meaningful semantics of the data while transferring the styles to the target domain, and vice versa. In addition, it is clear that augmenting the discriminator with task specific loss is helpful for learning adaptations. Furthermore, the information added from the task specific model is clearly beneficial for improving the adaptation performance, without this none of the models outperform the baseline model, where no adaptation is performed. Last but not least, it is also clear from the results that using task specific model improves the overall adaptation performance.

Figure 2: Comparison of adaptation robustness between CyCADA (Hoffman et al., 2018), CyCADA with no reconstruction loss (Relaxed), and ACAL algorithms for variable number of unsupervised target samples. Note: No labeled sample is used.

To further evaluate the effectiveness of using task-specific loss with two cycles for low-resource unsupervised domain adaptation scenario, we comapre our model with CyCADA (Hoffman et al., 2018), and when no reconstruction loss is used in CyCADA, referred as "CyCADA (Relaxed)". The latter resembles the -ACAL in Table 1, but with a different semantic loss. As shown in Figure 2, CyCADA model and its relaxed variation fail to learn a good adaptation, where target domain contains few unlabaled samples per class. Additionally, CyCADA models show high instability in low-resource situation. As described in section 1.1, instability is an expected behvaiour of CyCADA when having limited target data, because the source to target cycle fails to preserve consistency, due to weak target domain discriminator. However, ACAL model indicates stable and consistent performance, due to proper use of source classifier to enforce consistency, rather than relying on target and source discriminators.

4.2 Visual Domain Adaptation

In this section, we experiment on domain adaptation for the task of digit recognition. In each experiment, we select one domain (MNIST, USPS, MNISTM, SVHN, Synthetic Digits) to be the target. We conduct three types of domain adaptation, i.e. low-resource supervised, high-resource unsupervised, and low-resource semi-supervised adaptation. The evaluation results are based on not using any data augmentation.

Low-resource supervised adaptation:

In this setting, we sub-sample the target to contain only a few labeled samples per class, and using the other full dataset as the source domain. In this setting, no unlabeled sample is used. Comparison with recent low resource domain adaptation, FADA (Motiian et al., 2017) for MNIST, USPS, and SVHN adaptation is shown in Figure 3. To provide more baselines, we also compared with model trained only on limited target data, and on combination of both labeled source and limited target domains. As shown in Figure 4, ACAL outperforms FADA and two other baselines in all adaptations.

Figure 3: Low-resource supervised Domain Adaptation on MNIST , USPS and SVHN datasets. FADA model refers to Motiian et al. (2017). means labeled example per class. No unlabeled target sample is used.

High-resource unsupervised adaptation;

Here, we use the whole target domain with no label. Evaluation results on all adaptation directions are presented in Table 2 and Table 7 (Appendix A). It is evident that ACAL model performance is on par with the state of the art unsupervised approaches, and outperforms on MNISTUSPS and Syn-DigitsSVHN. It is worth mentioning that Shu et al. (2018) improved their VADA adversarial model using natural gradient as teacher-student training, which is not directly comparable to adversarial approaches. Moreover, the source-only baseline of (Shu et al., 2018) is stronger than the reported unsupervised approaches, as well as our baseline.

Low-resource semi-supervised adaptation:

We also evaluate the performance of ACAL algorithm when there are limited labeled and unlabeled target samples in Table 6 (Appendix A). In case of MNISTUSPS, our model outperforms many high-resource unsupervised domain adaptation in Table 2 by using unlabeled samples only.

Domain pairs
Model Direction
Source-only 83.46 59.55 38.03 90.32
71.14 98.36 71.11 88.17
DA (Häusser et al., 2017) - 89.53 - -
- - 97.6 91.86
VADA (Shu et al., 2018) - 95.7 73.3 -
- - 94.5 94.9
Self-ensembling (MT+CT) (French et al., 2018) 88.14 - 33.87 -
92.35 - 93.33 96.01
DupGAN (Hu et al., 2018) 96.01 - 62.65 -
98.75 - 92.46 -
CyCADA (Hoffman et al., 2018) 95.6 57.21 14.56 81.19
96.5 94.57 90.4 72.94
SBADA-GAN (Russo et al., 2018) 97.6 99.4 61.1 -
95.0 - 76.1 -
ACAL (Ours) 98.31 97.29 60.85 96.43
97.16 99.26 96.51 97.98
Target-only (completely supervised) 96.26 98.19 93.38 98.60
99.49 99.49 99.49 93.38
Table 2: High-resource unsupervised domain adaptation between MNIST , USPS , MNIST-M , SVHN , Synthetic Digits . Note: Direction indicates sourcetarget adaptation direction. VADA (Shu et al., 2018) used a stronger source-only baseline on ( accuracy) compared to other approaches. Note: No data augmentation is used in our experiments.

4.3 Speech Domain Adaptation

We also apply our proposed model to domain adaptation in speech recognition. We use TIMIT dataset, where the male to female speaker ratio is about

and thus we choose the data subset from male speakers as the source and the subset from female speakers as the target domain. We evaluate performance on the standard TIMIT test set and use phoneme error rate (PER) as the evaluation metric. Spectrogram representation of audio is chosen for model evaluation. As demonstrated by

Hosseini-Asl et al. (2018), multi-discriminator training significantly impacts adaptation performance. Therefore, we used the multi-discriminator architecture as the discriminator for the adversarial loss in our evaluation. Our task-specific model is a pre-trained speech recognition model within each domain in this set of experiments.

Female (PER)
Training Set Domain Adaptation Model Val Test
- 35.70 30.69
(Baseline model) - 24.51 23.22
CycleGAN (Zhu et al., 2017) 32.95 30.07
FHVAE (Hsu et al., 2017) 26.2
MD-CycleGAN (Hosseini-Asl et al., 2018) 28.80 25.45
ACAL (Ours) 24.86 23.46
CycleGAN (Zhu et al., 2017) 28.32 28.43
MD-CycleGAN (Hosseini-Asl et al., 2018) 21.15 19.08
ACAL (Ours) 20.32 19.02
- 20.63 20.52
CycleGAN (Zhu et al., 2017) 21.03 22.81
MD-CycleGAN (Hosseini-Asl et al., 2018) 20.26 19.60
ACAL (Ours) 20.02 18.44
Table 3: Speech domain adaptation results on TIMIT. We treat Male () and Female () voices for the source and target domains, respectively, based on the intrinsic imbalance of speaker genders in the dataset (about male/female ratio). For the evaluation metric, lower is better.

The result are shown in Table 3. We observe significant performance improvements over the baseline model as well as comparable or better performance as compared to previous methods. It is interesting to note that the performance of the proposed model on the adapted male () almost matches the baseline model performance, where the model is trained on true female speech. In addition, the performance gap in this case is significant as compared to other methods, which suggests the adapted distribution is indeed close to the true target distribution. In addition, when combined with more data, our model further outperforms the baseline by a noticeable margin.

5 Conclusion and Future Work

In this paper, we propose to use augmented cycle-consistency adversarial learning for domain adaptation and introduce a task specific model to facilitate learning domain related mappings. We enforce cycle-consistency using a task specific loss instead of the conventional reconstruction objective. Additionally, we use the task specific model as an additional source of information for the discriminator in the corresponding domain. We demonstrate the effectiveness of our proposed approach by evaluating on two domain adaptation tasks, and in both cases we achieve significant performance improvement as compared to the baseline.

By extending the definition of task-specific model to unsupervised learning, such as reconstruction loss using autoencoder, or self-supervision, our proposed method would work on all settings of domain adaptation. Such unsupervised task can be speech modeling using wavenet 

(van den Oord et al., 2016)

, or language modeling using recurrent or transformer networks 

(Radford et al., 2018).


  • Almahairi et al. (2018) A. Almahairi, S. Rajeswar, A. Sordoni, P. Bachman, and A. C. Courville. Augmented cyclegan: Learning many-to-many mappings from unpaired data. In ICML, 2018.
  • Ben-David et al. (2010) S. Ben-David, J. Blitzer, K. Crammer, A. Kulesza, F. Pereira, and J. W. Vaughan. A theory of learning from different domains. Machine Learning, 79(1):151–175, May 2010. ISSN 1573-0565. doi: 10.1007/s10994-009-5152-4. URL
  • Bousmalis et al. (2017) K. Bousmalis, N. Silberman, D. Dohan, D. Erhan, and D. Krishnan. Unsupervised pixel-level domain adaptation with generative adversarial networks. In

    The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)

    , volume 1, page 7, 2017.
  • French et al. (2018) G. French, M. Mackiewicz, and M. Fisher. Self-ensembling for visual domain adaptation. In International Conference on Learning Representations (ICLR), 2018.
  • Ganin and Lempitsky (2014) Y. Ganin and V. Lempitsky. Unsupervised domain adaptation by backpropagation. arXiv preprint arXiv:1409.7495, 2014.
  • Garofolo et al. (1993) J. S. Garofolo et al. TIMIT acoustic-phonetic continuous speech corpus LDC93S1. Philadelphia: Linguistic Data Consortium, 1993.
  • Ge and Yu (2017) W. Ge and Y. Yu.

    Borrowing treasures from the wealthy: Deep transfer learning through selective joint fine-tuning.

    In Proc. IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, volume 6, 2017.
  • Gebru et al. (2017) T. Gebru, J. Hoffman, and L. Fei-Fei. Fine-grained recognition in the wild: A multi-task domain adaptation approach. In 2017 IEEE International Conference on Computer Vision (ICCV), pages 1358–1367. IEEE, 2017.
  • Goodfellow et al. (2014) I. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio. Generative adversarial nets. In Z. Ghahramani, M. Welling, C. Cortes, N. D. Lawrence, and K. Q. Weinberger, editors, Advances in Neural Information Processing Systems 27, pages 2672–2680. 2014. URL
  • Gupta et al. (2016) S. Gupta, J. Hoffman, and J. Malik. Cross modal distillation for supervision transfer. In Computer Vision and Pattern Recognition (CVPR), 2016 IEEE Conference on, pages 2827–2836. IEEE, 2016.
  • Häusser et al. (2017) P. Häusser, T. Frerix, A. Mordvintsev, and D. Cremers. Associative domain adaptation. 2017 IEEE International Conference on Computer Vision (ICCV), pages 2784–2792, 2017.
  • Hoffman et al. (2016) J. Hoffman, S. Gupta, J. Leong, S. Guadarrama, and T. Darrell. Cross-modal adaptation for rgb-d detection. In Robotics and Automation (ICRA), 2016 IEEE International Conference on, pages 5032–5039. IEEE, 2016.
  • Hoffman et al. (2018) J. Hoffman, E. Tzeng, T. Park, J.-Y. Zhu, P. Isola, K. Saenko, A. Efros, and T. Darrell. CyCADA: Cycle-consistent adversarial domain adaptation. In Proceedings of the 35th International Conference on Machine Learning, volume 80, pages 1994–2003, 2018.
  • Hosseini-Asl et al. (2018) E. Hosseini-Asl, Y. Zhou, C. Xiong, and R. Socher. A multi-discriminator cyclegan for unsupervised non-parallel speech domain adaptation. In INTERSPEECH, 2018.
  • Hsu et al. (2017) W.-N. Hsu, Y. Zhang, and J. R. Glass. Unsupervised learning of disentangled and interpretable representations from sequential data. In NIPS, 2017.
  • Hu et al. (2015) J. Hu, J. Lu, and Y.-P. Tan. Deep transfer metric learning. In Computer Vision and Pattern Recognition (CVPR), 2015 IEEE Conference on, pages 325–333. IEEE, 2015.
  • Hu et al. (2018) L. Hu, M. Kan, S. Shan, and X. Chen. Duplex generative adversarial network for unsupervised domain adaptation. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018.
  • Huang et al. (2017) G. Huang, Z. Liu, L. van der Maaten, and K. Q. Weinberger. Densely connected convolutional networks. 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 2261–2269, 2017.
  • Huang et al. (2007) J. Huang, A. Gretton, K. M. Borgwardt, B. Schölkopf, and A. J. Smola. Correcting sample selection bias by unlabeled data. In Advances in neural information processing systems, pages 601–608, 2007.
  • Hull (1994) J. J. Hull. A database for handwritten text recognition research. IEEE Trans. Pattern Anal. Mach. Intell., 16:550–554, 1994.
  • Kim et al. (2017) T. Kim, M. Cha, H. Kim, J. Lee, and J. Kim. Learning to discover cross-domain relations with generative adversarial networks. arXiv preprint arXiv:1703.05192, 2017.
  • Kumar et al. (2017) A. Kumar, P. Sattigeri, and T. Fletcher. Semi-supervised learning with gans: Manifold invariance with improved inference. In Advances in Neural Information Processing Systems, pages 5540–5550, 2017.
  • Lecun et al. (1998) Y. Lecun, L. Bottou, Y. Bengio, and P. Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
  • Liu and Tuzel (2016) M.-Y. Liu and O. Tuzel. Coupled generative adversarial networks. In Advances in neural information processing systems, pages 469–477, 2016.
  • Liu et al. (2017) M.-Y. Liu, T. Breuel, and J. Kautz.

    Unsupervised image-to-image translation networks.

    In Advances in Neural Information Processing Systems, pages 700–708, 2017.
  • Motiian et al. (2017) S. Motiian, Q. Jones, S. Iranmanesh, and G. Doretto. Few-shot adversarial domain adaptation. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems 30, pages 6670–6680. Curran Associates, Inc., 2017. URL
  • Netzer et al. (2011) Y. Netzer, T. Wang, A. Coates, A. Bissacco, B. Wu, and A. Y Ng. Reading digits in natural images with unsupervised feature learning.

    NIPS Workshop on Deep Learning and Unsupervised Feature Learning 2011

    , 2011.
  • Radford et al. (2018) A. Radford, K. Narasimhan, T. Salimans, and I. Sutskever. Improving language understanding by generative pre-training. 2018. URL
  • Ronneberger et al. (2015) O. Ronneberger, P. Fischer, and T. Brox. U-Net: Convolutional networks for biomedical image segmentation. In MICCAI, 2015.
  • Russo et al. (2018) P. Russo, F. M. Carlucci, T. Tommasi, and B. Caputo. From source to target and back: symmetric bi-directional adaptive gan. CVPR, abs/1705.08824, 2018.
  • Shu et al. (2018) R. Shu, H. Bui, H. Narui, and S. Ermon. A DIRT-t approach to unsupervised domain adaptation. In International Conference on Learning Representations (ICLR), 2018. URL
  • Springenberg (2015) J. T. Springenberg. Unsupervised and semi-supervised learning with categorical generative adversarial networks. arXiv preprint arXiv:1511.06390, 2015.
  • Sricharan et al. (2017) K. Sricharan, R. Bala, M. Shreve, H. Ding, K. Saketh, and J. Sun. Semi-supervised conditional gans. arXiv preprint arXiv:1708.05789, 2017.
  • Tzeng et al. (2015) E. Tzeng, J. Hoffman, T. Darrell, and K. Saenko. Simultaneous deep transfer across domains and tasks. In Computer Vision (ICCV), 2015 IEEE International Conference on, pages 4068–4076. IEEE, 2015.
  • Tzeng et al. (2017) E. Tzeng, J. Hoffman, K. Saenko, and T. Darrell. Adversarial discriminative domain adaptation. In Computer Vision and Pattern Recognition (CVPR), volume 1, page 4, 2017.
  • van den Oord et al. (2016) A. van den Oord, S. Dieleman, H. Zen, K. Simonyan, O. Vinyals, A. Graves, N. Kalchbrenner, A. W. Senior, and K. Kavukcuoglu. Wavenet: A generative model for raw audio. In SSW, 2016.
  • Xue et al. (2008) G.-R. Xue, W. Dai, Q. Yang, and Y. Yu. Topic-bridged plsa for cross-domain text classification. In Proceedings of the 31st annual international ACM SIGIR conference on Research and development in information retrieval, pages 627–634. ACM, 2008.
  • Yi et al. (2017) Z. Yi, H. Zhang, P. Tan, and M. Gong. Dualgan: Unsupervised dual learning for image-to-image translation. arXiv preprint, 2017.
  • Zhou et al. (2017) Y. Zhou, C. Xiong, and R. Socher. Improving end-to-end speech recognition with policy learning. arXiv preprint arXiv:1712.07101, 2017.
  • Zhu et al. (2017) J.-Y. Zhu, T. Park, P. Isola, and A. A. Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. In Computer Vision (ICCV), 2017 IEEE International Conference on, 2017.

Appendix A Digit Domain Adaptation Analysis

In this section, we evaluate domain adaptation for MNISTSVHN for comparison with CycleGAN, as well as the relaxed version of the cycle-consistent objective (Relaxed-Cyc, see eq. 5 in section 3). For the former, reconstruction loss is replaced with the model loss in order to encouraging cycle-consistency. We also experiment with two different task specific models : specifically, DenseNet [Huang et al., 2017, representing a relatively complex architecture] and a modified LeNet (representing a relatively simple architecture, see section 4.1).

Table 4 and  5 show the results on augmenting the low resource MNIST and SVHN with the complementary high resource domain. This approach improves test performance of the target classifier by a large margin, compared to when trained only using the target domain data. We observe that training a more complicated deep model for the target domain weakens this effect. As shown in Table 4, using DenseNet as a classifier on MNIST (target) achieves lower test classification accuracy than using a variant of LeNet. This difference likely reflects differences in the two architectures’ degree of overfitting. Overfitting will produce a false gradient signal during cycle adversarial learning (when classifying the adapted source examples). Based on this observation, we use a comparatively simpler LeNet architecture with SVHN as the target domain (see Table 5). Using our proposed approach, SVHN test performance improves by over domain adaptation using CycleGAN. We also include some qualitative results when performing domain adaptation from SVHN (source) to MNIST (target), as shown in Figure 5. We also compare the performance with different number of labeled target samples in Figure 4. It indicates the improvement on generalization performance of target model using Augmented cyclic adaptation, with variable labeled target domain on MNIST and SVHN datasets. Evaluation of semi supervised adaptation is presented in Table 6.

Figure 4: Performance comparison of proposed ACAL algorithm on SVHN and MNIST with baselines using different numbers of labeled training sample (per class) in target domain for (a) and (b) adaptation. (Best viewed in color)
MNIST Test (%)
Domain Adaptation Model LeNet (Modified) DenseNet
No Adaptation (trained on SVHN) 71.11 56.92
Target Model (trained on MNIST-(10)) 79.223.98 39.890.84
CycleGAN 45.541.05 28.521.65
RCAL (Ours) 84.621.77 44.363.42
ACAL (Ours) 93.900.33 69.474.66
Table 4: Visual domain adaptation results from SVHN to MNIST (Low resource). No adaptation denotes model trained on the source domain (SVHN) and target model refers to model trained on the target domain (MNIST). Note: MNIST (Low resource) domain contains only labeled sampels per class (MNIST-(10)), the experiments was performed times with different random sampling for MNIST.
SVHN Test (%)
Domain Adaptation Model LeNet (modified)
No Adaptation (trained on MNIST) 38.03
Target Model (trained on SVHN-(50)) 70.202.35
CycleGAN 66.752.02
RCAL (Ours) 72.130.91
ACAL (Ours) 74.610.43
Table 5: Visual domain adaptation results from MNIST to SVHN (Low resource). No adaptation denotes model trained on the source domain (MNIST) and target model refers to model trained on the target domain (SVHN). Note: SVHN (Low resource) domain contains only images per class (SVHN-(50)), the experiments was performed times with different random sampling for SVHN.
Figure 5: Qualitative comparison of domain adaptation for experimental models. Each column illustrates the mapping performed by each of the models from the original SVHN image (source domain) to MNIST (target domain, labeled samples per class in total). It can be seen that the augmented cycle-consistent model is able to preserve most of the semantic information, while still approximately match the target distribution.
# target samples per class % % % % % % % %
81.43 77.63 93.86 94.01 93.22 94.89 71.54 75.98
84.26 87.22 95.61 94.17 95.93 96.83 77.87 86.19
86.49 91.75 96.31 96.01 96.43 96.92 78.42 89.03
full train 96.51 99.41 96.91 95.71 96.74 98.45 79.23 93.17
Table 6: Low-resource semi and unsupervised domain adaptation on MNIST , USPS and SVHN datasets. Note: means samples per class, and denotes the percentage of target samples (per class) which have labels. corresponds to low-resource unsupervised adaptation.
Domain pairs
Model Direction
Source-only 49.71 36.69 25.11 34.90 42.82 57.53
84.44 79.22 63.73 80.72 53.21 65.38
ACAL (Ours) 68.90 63.65 34.35 42.95 65.94 65.08
92.34 94.81 79.23 91.88 69.47 78.71
Target-only 98.60 98.19 93.38 98.60 93.38 98.60
99.49 96.26 96.26 96.26 98.19 98.19
Table 7: High-resource unsupervised domain adaptation between MNIST , USPS , MNIST-M , SVHN , Synthetic Digits . Note: Direction indicates sourcetarget adaptation direction.

Appendix B Speech Domain Models Implementation

In this section, the detail of CycleGAN and speech model architectures are explained. The size of the convolution layer are denoted by the tuple

, where C, F, T, SF, and ST denote number of channels, filter size in frequency dimension, filter size in time dimension, stride in frequency dimension and stride in time dimension respectively. Architecture of CycleGAN model is based on 

Zhu et al. [2017] with modifications mentioned in Hosseini-Asl et al. [2018]. Both generators in CycleGAN are based on U-net Ronneberger et al. [2015] architecture with layers of convolution of sizes (8,3,3,1,1), (16,3,3,1,1), (32,3,3,2,2), (64,3,3,2,2), followed by corresponding deconvolution layers. To increase stability of adversarial training, as proposed by Hosseini-Asl et al. [2018], the discriminator output is modified to predict a single scalar as real/fake probability. Discriminator has convolution layers of sizes (8,4,4,2,2), (16,4,4,2,2), (32,4,4,2,2), (64,4,4,2,2), as default kernel and stride sizes in Hosseini-Asl et al. [2018]. ASR model is implemented based on Zhou et al. [2017], which is trained only with maximum likelihood. The model includes one convolutional layer of size (32,41,11,2,2), and five residual convolution blocks of size (32,7,3,1,1), (32,5,3,1,1), (32,3,3,1,1), (64,3,3,2,1), (64,3,3,1,1) respectively. Convolutional layers are followed by layers of bidirectional GRU RNNs with hidden units per direction per layer. Finally, a fully-connected hidden layer of size is used as the output layer.

b.1 Qualitative Evaluation of Domain Adaptation

In this section we show some qualitative results on transcriptions produced from different models.

Train on Female + (MaleFemale)
Test on Female True sil dh ah m aa r n ih ng sil d uw aa n dh ah s sil p ay dx er w eh sil g l ih s eh n sil d ih n dh ah s ah n sil
No adaptation sil dh ah m aa r n ih ng sil d uw aa m ih s sil b ay er w ih sil b z l ih s ih n d ih n s ah n sil
CycleGAN sil dh ih m aa r n ih ng sil d ih ah n dh ih s sil p ay ih w r eh sil dh l dh ih s ih n sil d ih n s ay n sil
ACAL sil dh ah m aa r n ih ng sil d uw ah n dh ih s sil b ay dx y er w eh sil b l ih s ih n sil d ih n ih s ah n sil
True sil iy v ih n ah s ih m sil p l v ah sil k ae sil b y ih l eh r iy sil k ah n sil t ey n sil t s ih m sil b l z sil
No Adaptation sil iy dh ih n ah s ih m v l v ow sil k ae sil b y ih l eh r iy sil k eh n sil t ey n s ih m sil b l z sil
CycleGAN sil iy ih m ah s eh m sil p l v dh aa sil k ey sil b y ih r ey ey sil k ih n sil t r ey n sil s ih m sil b ah l z sil
ACAL sil iy v ih n ah s ih m sil p l v ow sil k ae sil b y ih l eh r iy sil k ih n sil t ay ey n s ih m sil b l z sil
True sil dh ah f aa sil p r ih v ih n ih sil dh ih m f r ah m er r aa v ih ng aa n sil t aa m sil
No Adaptation sil dh ah f aa sil p er z ih n ih n sil dh ih m z er v er r aa v iy ng aa n sil t ay m sil
CycleGAN sil b er f aa sil p r ih th iy n m ih sil b ih ih m n sil f r eh m er r aw n iy ng er n sil t er m sil
ACAL sil dh ih f aa l sil p r ih z ih n ih sil dh iy ih m f er m er r aa dh ih ng aa n sil t ah m sil
True sil ch iy sil s sil t aa sil k ih ng z r ah n dh ih f er s sil t ay m dh eh r w aa r n sil
No Adaptation sil ch iy sil ch s sil t aa sil k ih n ng z r ah m dh ah f er s sil t aa m dh eh w ah r n sil
CycleGAN sil ch iy sil ch s sil t aa sil k ih ng z r ah n dh ih f er ih s sil t ay n dh eh r w aa r ng sil
ACAL sil sh iy sil ch s sil t aa sil k ih ng z r ah m dh ah f er s sil t ay m dh eh r w aa r n sil
True sil d ow n sil d uw sil ch aa r l iy z sil d er dx iy sil d ih sh ih z sil
No Adaptation sil d ow sil d uw sil ch er l iy s sil t er dx iy sil d ey sh ih z sil
CycleGAN sil dh aw sil d ih sil ch aa r l iy s sil t er dx iy sil d ih sh iy z sil
ACAL sil d ow n sil d uw sil ch er l iy s sil t er dx iy sil d eh sh ih z sil
True sil k ae l s iy ih m ey sil s sil b ow n z n sil t iy th s sil t r aa ng sil
No Adaptation sil k eh l s iy ih m ey sil k s sil b ow n z ih n sil t iy sil s sil t r aa l sil
CycleGAN sil t aw s iy ih m n m ey sil k s sil b ow n z ih n sil t iy sil s sil t r aa ng sil
ACAL sil k aw s iy ih m ey sil k s sil b ow n z ih n sil t iy sil s sil t r aa ng sil
Table 8: ASR prediction improvement on low resource Female domain (TIMIT), when augmented with adapted audios from high resource Male domain