Learning Semantic Segmentation from Synthetic Data: A Geometrically Guided Input-Output Adaptation Approach
Yuhua Chen, Wen Li, Xiaoran Chen, Luc Van Gool

TL;DR
This paper introduces a novel approach that leverages geometric information from synthetic data to improve the domain adaptation of semantic segmentation models, resulting in better generalization to real-world data.
Contribution
It proposes a geometrically guided input-output adaptation method that enhances synthetic-to-real domain transfer for semantic segmentation tasks.
Findings
Significant performance improvements on Virtual KITTI to KITTI dataset
Effective use of geometric cues reduces domain gap
Outperforms baseline and semantic-only adaptation methods
Abstract
Recently, increasing attention has been drawn to training semantic segmentation models using synthetic data and computer-generated annotation. However, domain gap remains a major barrier and prevents models learned from synthetic data from generalizing well to real-world applications. In this work, we take the advantage of additional geometric information from synthetic data, a powerful yet largely neglected cue, to bridge the domain gap. Such geometric information can be generated easily from synthetic data, and is proven to be closely coupled with semantic information. With the geometric information, we propose a model to reduce domain shift on two levels: on the input level, we augment the traditional image translation network with the additional geometric information to translate synthetic images into realistic styles; on the output level, we build a task network which…
|
road |
building |
pole |
traffic light |
traffic sign |
vegetation |
terrain |
sky |
car |
truck |
mIoU |
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| Non Adapt | 79.3 | 60.5 | 0.0 | 0.3 | 9.5 | 66.8 | 8.3 | 85.9 | 59.2 | 4.8 | 37.5 |
| Input Level Adapt | 83.2 | 67.4 | 10.8 | 21.9 | 24.5 | 68.8 | 6.5 | 88.3 | 77.8 | 9.3 | 45.9 |
| Output Level Adapt | 81.1 | 69.1 | 7.1 | 8.6 | 28.3 | 79.5 | 43.3 | 86.0 | 79.3 | 17.8 | 50.0 |
| Input&Ouput Adapt | 81.4 | 71.2 | 11.3 | 26.6 | 23.6 | 82.8 | 56.5 | 88.4 | 80.1 | 12.7 | 53.5 |
| na | cg | gd | +d | +s | +sd |
| 37.5 | 39.8 | 43.5 | 44.2 | 44.7 | 45.9 |
| na | ss | depth | sep | joint |
| 37.5 | 45.9 | 43.8 | 46.3 | 50.0 |
|
road |
sidewalk |
building |
wall* |
fence* |
pole* |
traffic light |
traffic sign |
vegetation |
sky |
person |
rider |
car |
bus |
motorbike |
bicycle |
mIoU |
mIoU excl.* |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FCNs Wld [17] | 11.5 | 19.6 | 30.8 | 4.4 | 0.0 | 20.3 | 0.1 | 11.7 | 42.3 | 68.7 | 51.2 | 3.8 | 54.0 | 3.2 | 0.2 | 0.6 | 20.1 | 22.9 |
| Curriculum [50] | 65.2 | 26.1 | 74.9 | 0.1 | 0.5 | 10.7 | 3.7 | 3.0 | 76.1 | 70.6 | 47.1 | 8.2 | 43.2 | 20.7 | 0.7 | 13.1 | 29.0 | 34.8 |
| Cross-City [3] | 62.7 | 25.6 | 78.3 | - | - | - | 1.2 | 5.4 | 81.3 | 81.0 | 37.4 | 6.4 | 63.5 | 16.1 | 1.2 | 4.6 | - | 35.7 |
| ROAD-Net [2] | 77.7 | 30.0 | 77.5 | 9.6 | 0.3 | 25.8 | 10.3 | 15.6 | 77.6 | 79.8 | 44.5 | 16.6 | 67.8 | 14.5 | 7.0 | 23.8 | 36.1 | 41.7 |
| Tsai etal. [46] | 78.9 | 29.2 | 75.5 | - | - | - | 0.1 | 4.8 | 72.6 | 76.7 | 43.4 | 8.8 | 71.1 | 16.0 | 3.6 | 8.4 | - | 37.6 |
| Sankaranarayanan etal. [42] | 80.1 | 29.1 | 77.5 | 2.8 | 0.4 | 26.8 | 11.1 | 18.0 | 78.1 | 76.7 | 48.2 | 15.2 | 70.5 | 17.4 | 8.7 | 16.7 | 36.1 | 42.1 |
| CBST [55] | 69.6 | 28.7 | 69.5 | 12.1 | 0.1 | 25.4 | 11.9 | 13.6 | 82.0 | 81.9 | 49.1 | 14.5 | 66.0 | 6.6 | 3.7 | 32.4 | 35.4 | 40.7 |
| Ours (Non Adapt) | 9.7 | 14.1 | 58.5 | 4.7 | 0.3 | 22.7 | 1.9 | 12.9 | 70.7 | 60.9 | 50.2 | 7.2 | 32.2 | 17.4 | 1.3 | 8.0 | 23.3 | 26.5 |
| Ours (Input-level Adapt) | 77.0 | 29.3 | 67.9 | 0.1 | 0.1 | 24.7 | 10.7 | 17.4 | 79.4 | 78.8 | 49.2 | 13.7 | 70.3 | 4.3 | 5.8 | 12.8 | 33.8 | 39.7 |
| Ours (Output-level Adapt) | 79.6 | 29.7 | 75.7 | 11.4 | 0.3 | 25.3 | 11.1 | 14.8 | 76.7 | 76.9 | 45.3 | 15.9 | 67.7 | 15.8 | 4.8 | 13.5 | 35.3 | 40.6 |
| Ours (Input&Output Adapt) | 78.3 | 29.2 | 76.9 | 11.4 | 0.3 | 26.5 | 10.8 | 17.2 | 81.7 | 81.9 | 45.8 | 15.4 | 68.0 | 15.9 | 7.5 | 30.4 | 37.3 | 43.0 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Learning Semantic Segmentation from Synthetic Data:
A Geometrically Guided Input-Output Adaptation Approach
Yuhua Chen1 Wen Li1 Xiaoran Chen1 Luc Van Gool1,2
1Computer Vision Laboratory, ETH Zurich 2VISICS, ESAT/PSI, KU Leuven
{yuhua.chen,liwen,chenx,vangool}@vision.ee.ethz.ch
Abstract
Recently, increasing attention has been drawn to training semantic segmentation models using synthetic data and computer-generated annotation. However, domain gap remains a major barrier and prevents models learned from synthetic data from generalizing well to real-world applications. In this work, we take the advantage of additional geometric information from synthetic data, a powerful yet largely neglected cue, to bridge the domain gap. Such geometric information can be generated easily from synthetic data, and is proven to be closely coupled with semantic information. With the geometric information, we propose a model to reduce domain shift on two levels: on the input level, we augment the traditional image translation network with the additional geometric information to translate synthetic images into realistic styles; on the output level, we build a task network which simultaneously performs depth estimation and semantic segmentation on the synthetic data. Meanwhile, we encourage the network to preserve the correlation between depth and semantics by adversarial training on the output space. We then validate our method on two pairs of synthetic to real dataset: Virtual KITTIKITTI, and SYNTHIACityscapes, where we achieve a significant performance gain compared to the non-adaptive baseline and methods without using geometric information. This demonstrates the usefulness of geometric information from synthetic data for cross-domain semantic segmentation.
1 Introduction
Semantic segmentation of urban scenes refers to the task of assigning each pixel in a given scene with a semantic category, such as sky, road, car, etc. There is a growing interest in this task in recent years [4, 52], partly due to its many attractive applications, such as autonomous driving. Like many other tasks in computer vision, deep neural networks [24] excel at semantic segmentation when trained on large-scale labeled datasets. However, building such datasets is not an easy task, in terms of both collection and annotation: it is non-trivial to collect images with large diversity of urban scenes for different weathers, cities and other conditions; labelling these images can be even more challenging due to the labor-intensive process of dense annotation for complicated urban scenes.
Due to these limitations, learning from synthetic data becomes a charming alternative to train semantic segmentation models. Recent advances in computer graphics make it possible to generate synthetic images, and per-pixel annotations from virtual 3D environments [39, 38]. Training on synthetic data seems to be a tempting way to reduce manual labelling cost, however, the mismatch in appearance often leads to a significant performance drop when the learned models are applied to real environment. With that being the case, the key to effective utilization of synthetic data is to overcome such domain mismatch.
Many works address this issue from the perspective of domain distribution shift with various domain adaptation techniques [17, 50, 2]. On the other hand, image translation [53] has been widely deployed to transform the synthetic images into images of realistic styles. This can be seen as aligning the domain distribution at pixel level [16]. Nevertheless, these works typically utilize only synthetic images and their semantic labels. However, a significant advantage of the synthetic data has been unfortunately overlooked: one can actually obtain rich information from the virtual environment, including surface norm, optical flow, depth, etc., at a much lower cost than obtaining the same kinds of information in real-world data.
As illustrated in Figure 1, the aim of this work is to exploit the additional geometric information from the synthetic domain to improve cross-domain semantic segmentation in real data. As a matter of fact, geometry and semantics are two strongly correlated aspects of urban scenes as street scenes mostly follow similar layouts. Geometric cue can usually imply semantic information and vice verse. As shown in previous works [47], joint reasoning the depth and semantics improve the performance of both tasks. Additionally unlike the large gap between synthetic and real images, such correlation suffers less from domain shift. For example, road is usually flat, sky is far away, poles are vertical. These facts hold regardless in synthetic data and real data. Thus, the correlation between semantics and geometry is highly favoured for predicting semantics and reducing the domain gap. Besides, depth information is relatively easy to acquire from synthetic data, as one simply needs to generate it from virtual 3D model, and no special equipment (lidar, calibrated stereo cameras) is needed.
We present a new approach called Geometrically Guided Input-Output Adaptation (GIO-Ada), in which we integrate depth information into our domain adaptation task on the following levels: 1) on the input level, an augmented image transform network takes synthetic image and its corresponding semantic and depth map as input, and is trained to produce images with realistic style by exploiting internal correlation of raw images, semantic and geometric information; and 2) on the output level, a task network jointly performs depth estimation and semantic segmentation using supervision from synthetic domain. Further, adversarial training is applied on the joint output space of semantic segmentation and depth estimation and preserves domain-invariant correlation between depth and semantics. With the above two modules, geometric information not only improves the prediction of semantics, but also help to alleviate the domain gap between synthetic and real data.
The proposed framework is validated through extensive experiments on Virtual KITTI [8], KITTI [10], SYNTHIA [40], and Cityscapes [4] datasets, where we observe significant performance improvements compared to the non-adaptive baseline and other methods without using geometric information, which demonstrates the effectiveness of our model on incorporating geometric information for cross-domain semantic segmentation from synthetic data to real scenarios.
2 Related Works
Semantic Segmentation is a highly active research field. Recent approaches are mostly based on fully convolutional network [28] with modifications designed for pixel-wise prediction, such as DilatedNet [49], DeepLab [1], PSPNet [52] etc.
Such models are generally trained on datasets with pixel-wise annotation, for example, PASCAL [6], COCO [27], and Cityscapes [4] which is more related to urban scene scenarios. However, building such datasets and collecting per-pixel annotations are both expensive and laborious. With the development of computer graphics techniques, synthetic data enables an alternative approach to training semantic segmentation models at a lower cost. To this end, several synthetic datasets have been built, for example, GTAV [39], SYNTHIA [40], Virtual KITTI [8], etc. These datasets are typically generated from virtual 3D models, meaning that modalities other than the semantic label map can be generated easily. Such modalities include optical flow, depth, surface normal etc. Therefore, our work is motivated to leverage such free supervision signals in synthetic data in order to effectively perform cross-domain semantic segmentation.
Domain Adaptation is a classic problem in both machine learning and computer vision. It aims to mitigate the performance drop caused by the distribution mismatch between training and test data. It is mostly studied in image recognition problems by both conventional methods [25, 14, 12, 7], and CNN-based methods [29, 9, 11, 43, 35, 32, 26, 15, 30, 31]. We refer interested readers to [36, 5] for comprehensive surveys.
Our work is more related to cross-domain semantic segmentation [17, 50, 16, 46, 41, 2, 55, 54]. The first work to investigate the cross-domain urban scene semantic segmentation is [17], where they deploy adversarial training to align the features from different domains. Following this line, many works have been proposed to address the domain shift problem in semantic segmentation by different techniques, such as curriculum style learning [50], cycle consistency [16], output space alignment [46], generative adversarial network [41], distillation loss [2], class-balanced self-training [55], conservative loss [54], etc. Moreover, inspired by the success of generative adversarial network [37, 13] and image translation techniques [53, 18], a few works have also suggested to transform synthetic images with realistic styles to reduce domain gap on raw-pixel level [44, 16, 34] and to boost the semantic segmentation performance in real scenarios. However, the mentioned works typically only rely on labelled synthetic images and unlabelled real images while neglecting other free information in the dataset, such as geometric information.
Geometry Guided Semantic Segmentation: Depth estimation and semantic segmentation are two fundamental aspects of scene understanding, as the two tasks are strongly correlated. There are many works proposed to jointly learn these two tasks in a mutually beneficial manner. For instance, [47] built a hierarchical CRF with CNN to leverage the geometric cue, and [22] proposed a cross-task uncertainty. There are other works proposed to jointly learn the two tasks with various techniques, including fine-tuning [33], cross-modality influence [19], task distillation module with intermediate auxiliary tasks [48], recursive estimation [51], task attention loss [20].
More broadly speaking, the idea of jointly learning semantic segmentation and depth estimation can be connected to multi-task learning [23], where multiple outputs are produced by a single network.
Different from previous research, our aim in this work is to leverage the correlation between depth and semantic segmentation, for the purpose of domain adaptation.
3 Geometrically Guided Input-Output Adaptation
In this work, we aim to learn the semantic segmentation model by leveraging synthetic data, and apply the learned model to real-world scenarios. Following unsupervised domain adaptation protocol, synthetic data is utilized as the source domain , and real data as the target domain . In the source domain, we have access to synthetic images along with their corresponding ground-truth labels, including semantic segmentation labels and depth labels . In the target domain, we only have access to unlabelled images .
3.1 Framework Overview
The overview of the our proposed Geometrically Guided Input-Output Adaptation (GIO-Ada) approach is illustrated in Figure 2. To address the domain gap between synthetic and real domains, domain adaptation is performed jointly on two levels, namely input level and output level. Depth information (i.e., geometric information) is exploited for improving adaptation on both levels.
Input-level adaptation aims to reduce visual differences at raw pixel level. The output from input-level adaptation are later used as input to the followed task network. For this purpose, we deploy an image transform network which takes a synthetic image , along with its corresponding depth and semantic label as input. The transform network is supposed to produce transformed images with visually similar appearances to images in the target domain, and at the same time preserves useful information for semantic segmentation and depth estimation.
Most of the existing pixel-level adaptation methods do not consider adding depth information to the source domain, and use only synthetic images as source data. This is apparently not an optimal way. When rendering synthetic images from 3D models, geometric information are mostly lost, and such information is difficult to recover once discarded. On the other hand, it has been shown in recent works [51, 48] that geometric information is highly correlated to semantic information. Therefore, we incorporate it into our image transform network to better preserve the semantic information during image translation.
Output-level adaptation aims to align predictions of the task network for two domains, and also retain the coherent correlation between tasks. The output-level adaptation includes a task network and an output-level discriminator . takes real images or transformed synthetic images as input, then simultaneously predicts semantic segmentation and depth prediction . tries to determine if the outputs (depth and semantics) are predicted from a transformed synthetic image or a real one.
Utilizing geometric information in output-level adaptation brings several benefits. First, by learning depth estimation as an auxiliary task, we can learn representation which is more robust against domain shift. Second, the correlation between depth and semantics can be used as a powerful cue for domain alignment. In the target domain, since the model has no access to the annotations, therefore aligning the output space between the two domains can be a highly useful supervision signal to guide the training. Unlike previous works [46] which only aligns the output space of a single task, here we consider the joint output space of both depth estimation and semantic segmentation. In this way, we align not only the output distributions of each individual task, but also the underlying interconnection between different tasks. This is proven to be effective for boosting the performance of the two tasks. It is also consistent with our motivation that such connections suffer less from domain shift, for instance, sky is always far away, cars are usually on the street etc. Hereby, we respectively elaborate the adaptation on the two levels in the following sections.
3.2 Input-Level Adaptation
To transform synthetic images into the real-style images, we build an image transform network with synthetic image , semantic segmentation map and depth map as input. In particular, the depth map is normalized into a range of , and the semantic label map is represented as a one-hot map with channels where is the total number of categories. The network outputs the transformed image , which is expected to be realistic-looking and still contains vital information for the task networks (e.g., semantic segmentation, depth estimation.).
Inspired by generative adversarial networks (GANs) [13], we apply a discriminator to guarantee the realism of generated images. The discriminator is trained to distinguish between transformed synthetic images and real images. At the same time, is also used to guide the training of the image transform network in a similar way to the adversarial training strategy in GANs. Specifically, we use PatchGAN [18], a fully convolutional network operating on patches with relatively fewer hyperparameters, from which we obtain the output of the discriminator in the form of a two-dimensional map. The loss for training can be written as follows:
[TABLE]
in which we omit the image width and height dimension for the sake of simplicity.
As mentioned above, the transformed images are expected to be also useful for vision tasks at hand. This is achieved by joint training the image transform network with the task network (details are provided in the next section). Since the image transform network is differentiable, the gradients from the task network can guide the transform network to ensure the preservation of useful information from the synthetic data.
3.3 Output-Level Adaptation
Our task network concurrently performs depth estimation and semantic segmentation for a given input image. The network is shared between two domains and takes either a transformed synthetic image or a real image as input. Specifically, a shared base feature extractor is built for the two tasks, with one head on top of it respectively for each task, namely one head for semantic segmentation output and the other one for depth estimation output.
The semantic segmentation task is learned by minimizing a standard cross-entropy loss:
[TABLE]
where stands for ground-truth semantic labels, and stands for predicted labels. With regard to the semantic segmentation task, depth estimation can be seen as an auxiliary task. As a common practice, we employ the loss for the depth estimation task as follows:
[TABLE]
where stands for ground-truth depth, and stands for predicted depth. Note that both losses only apply to the source domain, where the supervision is available.
To ensure that the task network performs well in the target domain, we further apply a discriminator on the outputs of the tasks as inspired by [46]. However, instead of using only the semantic space, our work jointly considers both semantics and depth, as the inherent correlation between semantics and depth information could be a helpful cue to effectively reduce domain difference. In particular, we concatenate the output of semantic segmentation map (resp. ) and the output of depth estimation map (resp. ), which leads to totally channels in the output maps. We use the concatenated maps to train the discriminator which distinguishes maps of the source domain from those of the target domain. Similar to , is also formulated as a PatchGAN in favour of its awareness of spatial contextual relations. The loss for can be written as follows:
[TABLE]
3.4 Overall Training Objective
We integrate both input-level and output-level modules, to train all networks , , and jointly. The overall objective is written as follows:
[TABLE]
where s act as the trade-off weights to balance different loss terms. The min-max problem is optimized with the adversarial training strategy. Note that domain adaptation procedure is only performed in the training phase. During test time, only is used on real images, and other components such as , and can be removed.
3.5 Implementation Details
In our GIO-Ada model, the image transform network resembles the generator in CycleGAN [53], which is based on the network in [21] with several convolutional layers and residual blocks. For the task network, we employ the DeepLab-v2 model [1], due to its excellent performance and implementation availability. The VGG network [45] is used as the backbone model for the task network, which is initialized with the ImageNet pre-trained weights. Moreover, the discriminators are based on PatchGAN [18], for which the weights are randomly initialized from a Gaussian distribution.
The trade-off parameters are empirically set as in our experiments. We use Adam optimizer with initial learning rate . The network is trained for 10 epochs. Each mini-batch contains two images, one sampled from the source domain and the other sampled from the target domain. Random horizontal flip is used for data augmentation.
4 Experiments
In this section, we verify the effectiveness of our proposed GIO-Ada model for semantic segmentation from synthetic data to real scenarios.
4.1 Experiment Settings
Following the common unsupervised domain adaptation protocol, we use a synthetic dataset as the source domain, and a real dataset as the target domain. For the synthetic datasets, we employ Virtual KITTI [8] and SYNTHIA [40], as depth information is publicly available for these two datasets. Accordingly, KITTI [10] and Cityscapes [4] are used as the real datasets, which leads to two setting pairs: Virtual KITTIKITTI, and SYNTHIACityscapes. Other popular synthetic datasets such as GTA [39] and VIPER [38] are not used in our experiments, since depth information is not provided for those datasets. We briefly introduce the datasets used in our experiments as below.
KITTI [10]
is a dataset focusing on autonomous driving, which consists of images depicting several driving urban scenarios. It is collected by moving vehicles in multiple cities. The official split for semantic segmentation is used in our experiment, which contains 200 training images, and 200 test images, with a spatial resolution around . Due to the ground-truth label is only available in training set, thus we use the official unlabelled test images to adapt our model, and we report the results on the official training set.
Virtual KITTI [8]
is a photo-realistic synthetic dataset which contains 21,260 images. Each image is densely annotated at pixel level with category and depth information. It is designed to mimic the conditions of KITTI dataset and has similar scene layout, camera viewpoint, and image resolution as KITTI dataset, thus making it ideal to study the domain adaptation problems between synthetic and real data.
Cityscapes [4]
consists of images in the training set, and images in the validation set. The images have a fixed spatial resolution of pixels. Due to the large size of image, as a common practice we down-size the images to half resolution (at ). The training set is used to adapt the model, and we report our results on the validation set.
SYNTHIA [40]
is a dataset with synthetic images of urban scenes and pixel-wise annotations. The rendering covers a variety of environments and weather conditions. In our experiment, we adopt the SYNTHIA-RAND-CITYSCAPES subset, which contains 9,400 images compatible with the Cityscapes categories.
4.2 Results on Virtual KITTIKITTI
We first evaluate the effectiveness of the proposed method for learning semantic segmentation from the Virtual KITTI dataset to the KITTI dataset. The 10 common categories between two datasets are used for performance evaluation. We summarize the mean of Intersection over Union (mIoU) in Table 1. Overall, our GIO-Ada improves the mIoU over the non-adaptive baseline by , which confirms the effectiveness of our method for cross-domain semantic segmentation. To further study the benefits of the adaptation modules on different levels, we break down the performance by testing the ablated versions of our model: the input level adaptation achieves performance gain, while the output level adaptation achieves improvements. This demonstrates the effectiveness of both modules for adapting segmentation models form the synthetic domain to the real domain. Moreover, the two levels of adaptation modules are also shown to be complementary, as integrating them can further reduce the domain gap.
We also provide a few qualitative examples in Figure 3. From those results, we observe that the segmentation results generally get improved with our GIO-Ada approach. Especially, by leveraging the geometric cues, our model produce excellent segmentation on objects with geometric structure, such as poles, traffic signs, etc., which are usually challenging for existing methods [2, 16, 17].
To further investigate the different design variants, especially with a focus on the importance geometric cue in the two components. We conduct further ablation studies on the two adaptation modules individually in below.
Ablation Study on Input Level Adaptation:
In our final input level adaptation model, we use an image transform network, which takes an image and its corresponding depth and semantic label as input. To investigate the benefits of using additional inputs, we tested three special cases of input level adaptation module with only depth, with only semantic label, or with none as additional input. We also include [53], an image translation model commonly adapted for domain adaptation, for comparison.
The results are summarized in Table 2. We observe that all other methods outperform the non-adaptive baseline, demonstrating the importance of input-level adaptation. However, CycleGAN only improves the baseline result by , which is less effective compared to the improvement of achieved by the task network. This indicates that the gradient from the task network is a useful guidance for the image transform network to preserve useful information. Nevertheless, the performance can be further boosted when additional information is further taken as input. Adding individually depth and semantic segmentation as the additional input gives an improvement of and , respectively, and integrating them together produces performance gain. The results suggest that the geometric information can be very useful in the image transformation process in the sense that it helps to preserve rich information in the raw 3D model.
We further demonstrate this by providing a few examples of translated images with CycleGAN and our model in Figure 4, in which we clearly observe that our model is able to preserves more of the geometric and semantic consistency during the translation process. More specifically, CycleGAN are observed to hallucinate buildings and trees in the sky (row 1,2,4), the poles turn into trees (row 5), and cars turn to road (row 3). In comparison, our model is able to preserve the semantic and geometric consistency.
Ablation Study on Output Level Adaptation:
We also study different variants of the output-level adaptation. There are several possible alternatives to our joint output space adaptation. For example, performing the output space alignment proposed by [46] in semantic segmentation space and depth estimation space separately. Additionally, we try to build two discriminators to individually align the two output spaces, without considering the correlation between the two tasks. We compare these variants to our final model which aligns the joint space of depth and semantic segmentation outputs.
The results are shown in Table 3. First, we observe that all variants achieve significant improvement over the baseline. This shows the effectiveness of domain adaptation techniques in general. Particularly, output space alignment on semantic segmentation prediction [46] achieves performance gain of , while the improvement of the same output space adaptation module on depth prediction is . This is not surprising, considering our final objective is semantic segmentation. Aligning the semantic segmentation map would have a more direct influence on the segmentation results. We then combine depth alignment and semantic segmentation alignment, which gives an improvement of over baseline, marginally better than using only semantic segmentation alignment. This suggests that trivially optimizing each task can not bring in performance gain without modeling the correlation between the tasks. Finally, by aligning the joint space of depth and semantic segmentation, we achieve a significant improvement of , showing that the key to reducing domain shift is to use joint correlation of the two outputs, which also verifies our motivations.
4.3 Results on SYNTHIACityscapes
To facilitate the comparison with other state-of-the-art works, we further evaluate the proposed method on SYNTHIA to Cityscapes setting following [17, 50, 3, 2, 46, 42, 55]. The results of all methods are summarized in Table 4. For a fair comparison, all methods used VGG-16 as the backbone network.
Similarly to the setting of Virtual KITTI KITTI, the adaptation at both input and output levels is helpful for performance improvement: the input-level adaptation improves the baseline by , while the output-level adaptation improves it by . Integrating the two modules gives a larger performance gain of over the non-adaptive baseline. This again verifies the effectiveness of our adaptation modules in both the input and output levels.
Our model outperforms all other competing methods by a healthy margin. We attribute this to the supplement of geometric cues to the semantic segmentation task during domain adaptation.
5 Conclusion
In this paper, we have introduced a new Geometrically Guided Input-Output Adaptation (GIO-Ada) model, which effectively leverages the costless geometric information in synthetic data to tackle the cross-domain semantic segmentation problem. Geometrically guided adaptation is performed on two different levels: 1) on the input level, depth information together with the semantic annotation is used as additional input for guiding the image transform network to reduce the domain shift on raw pixels, and 2) on the output level, depth prediction and semantic prediction are used to form a joint output space, on which an adversarial training strategy is applied to reduce the domain shift. We have experimentally validated our method on two pairs of datasets. The results demonstrate effectiveness of our GIO-Ada for cross-domain semantic segmentation with leveraged geometric information from virtual data.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] L.-C. Chen, G. Papandreou, I. Kokkinos, K. Murphy, and A. L. Yuille. Deeplab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected CR Fs. In T-PAMI , volume 40, pages 834–848. IEEE, 2017.
- 2[2] Y. Chen, W. Li, and L. Van Gool. Road: Reality oriented adaptation for semantic segmentation of urban scenes. CVPR , 2018.
- 3[3] Y.-H. Chen, W.-Y. Chen, Y.-T. Chen, B.-C. Tsai, Y.-C. F. Wang, and M. Sun. No more discrimination: Cross city adaptation of road scene segmenters. ICCV , 2017.
- 4[4] M. Cordts, M. Omran, S. Ramos, T. Rehfeld, M. Enzweiler, R. Benenson, U. Franke, S. Roth, and B. Schiele. The cityscapes dataset for semantic urban scene understanding. CVPR , 2016.
- 5[5] G. Csurka. Domain adaptation for visual applications: A comprehensive survey. ar Xiv preprint ar Xiv:1702.05374 , 2017.
- 6[6] M. Everingham, L. Van Gool, C. K. Williams, J. Winn, and A. Zisserman. The pascal visual object classes (voc) challenge. In IJCV , volume 88, pages 303–338. Springer, 2010.
- 7[7] B. Fernando, A. Habrard, M. Sebban, and T. Tuytelaars. Unsupervised visual domain adaptation using subspace alignment. ICCV , 2013.
- 8[8] A. Gaidon, Q. Wang, Y. Cabon, and E. Vig. Virtual worlds as proxy for multi-object tracking analysis. CVPR , 2016.
