TL;DR
This paper introduces a depth-aware unsupervised domain adaptation framework for semantic segmentation that leverages dense depth information from the source domain, significantly improving performance on real-world target data.
Contribution
The work presents a novel unified framework that exploits dense depth information during training to enhance domain adaptation in semantic segmentation.
Findings
Achieves state-of-the-art results on synthetic-to-real benchmarks.
Effectively leverages depth information to improve segmentation accuracy.
Demonstrates significant performance boost over existing methods.
Abstract
Unsupervised domain adaptation (UDA) is important for applications where large scale annotation of representative data is challenging. For semantic segmentation in particular, it helps deploy on real "target domain" data models that are trained on annotated images from a different "source domain", notably a virtual environment. To this end, most previous works consider semantic segmentation as the only mode of supervision for source domain data, while ignoring other, possibly available, information like depth. In this work, we aim at exploiting at best such a privileged information while training the UDA model. We propose a unified depth-aware UDA framework that leverages in several complementary ways the knowledge of dense depth in the source domain. As a result, the performance of the trained semantic segmentation model on the target domain is boosted. Our novel approach indeed…
| SYNTHIA Cityscapes (16 classes) | ||||||||||||||||||||
| Models | Depth | road | sidewalk | building | wall* | fence* | pole* | light | sign | veg | sky | person | rider | car | bus | mbike | bike |
mIoU |
D-Gain |
mIoU* |
| SPIGAN-no-PI [18] | 69.5 | 29.4 | 68.7 | 4.4 | 0.3 | 32.4 | 5.8 | 15.0 | 81.0 | 78.7 | 52.2 | 13.1 | 72.8 | 23.6 | 7.9 | 18.7 | 35.8 | - | 41.2 | |
| SPIGAN [18] | ✓ | 71.1 | 29.8 | 71.4 | 3.7 | 0.3 | 33.2 | 6.4 | 15.6 | 81.2 | 78.9 | 52.7 | 13.1 | 75.9 | 25.5 | 10.0 | 20.5 | 36.8 | 1.0 | 42.4 |
| AdaptSegnet [35] | 79.2 | 37.2 | 78.8 | - | - | - | 9.9 | 10.5 | 78.2 | 80.5 | 53.5 | 19.6 | 67.0 | 29.5 | 21.6 | 31.3 | - | - | 45.9 | |
| AdaptPatch [36] | 82.2 | 39.4 | 79.4 | - | - | - | 6.5 | 10.8 | 77.8 | 82.0 | 54.9 | 21.1 | 67.7 | 30.7 | 17.8 | 32.2 | - | - | 46.3 | |
| CLAN [23] | 81.3 | 37.0 | 80.1 | - | - | - | 16.1 | 13.7 | 78.2 | 81.5 | 53.4 | 21.2 | 73.0 | 32.9 | 22.6 | 30.7 | - | - | 47.8 | |
| AdvEnt [39] | 87.0 | 44.1 | 79.7 | 9.6 | 0.6 | 24.3 | 4.8 | 7.2 | 80.1 | 83.6 | 56.4 | 23.7 | 72.7 | 32.6 | 12.8 | 33.7 | 40.8 | - | 47.6 | |
| [0pt][0pt]DADA | ✓ | 89.2 | 44.8 | 81.4 | 6.8 | 0.3 | 26.2 | 8.6 | 11.1 | 81.8 | 84.0 | 54.7 | 19.3 | 79.7 | 40.7 | 14.0 | 38.8 | 42.6 | 1.8 | 49.8 |
| (a) SYNTHIA Cityscapes (7 classes) | (b) SYNTHIA Vistas (7 classes) | |||||||||||||||||
| Reso. | Models | Depth | flat | const. | object | nature | sky | human | vehicle |
mIoU |
flat | const. | object | nature | sky | human | vehicle |
mIoU |
| SPIGAN-no-PI [18] | 90.3 | 58.2 | 6.8 | 35.8 | 69.0 | 9.5 | 52.1 | 46.0 | 53.0 | 30.8 | 3.6 | 14.6 | 53.0 | 5.8 | 26.9 | 26.8 | ||
| SPIGAN [18] | ✓ | 91.2 | 66.4 | 9.6 | 56.8 | 71.5 | 17.7 | 60.3 | 53.4 | 74.1 | 47.1 | 6.8 | 43.3 | 83.7 | 11.2 | 42.2 | 44.1 | |
| Advent* [39] | 86.3 | 72.7 | 12.0 | 70.4 | 81.2 | 29.8 | 62.9 | 59.4 | 82.7 | 51.8 | 18.4 | 67.8 | 79.5 | 22.7 | 54.9 | 54.0 | ||
| DADA | ✓ | 89.6 | 76.0 | 16.3 | 74.4 | 78.3 | 43.8 | 65.7 | 63.4 | 83.8 | 53.7 | 20.5 | 62.1 | 84.5 | 26.6 | 59.2 | 55.8 | |
| Full | Advent* [39] | 89.6 | 77.8 | 22.1 | 76.3 | 81.4 | 54.7 | 68.7 | 67.2 | 86.9 | 58.8 | 30.5 | 74.1 | 85.1 | 48.3 | 72.5 | 65.2 | |
| DADA | ✓ | 92.3 | 78.3 | 25.0 | 75.5 | 82.2 | 58.7 | 72.4 | 70.4 | 86.7 | 62.1 | 34.9 | 75.9 | 88.6 | 51.1 | 73.8 | 67.6 | |
| Oracle (only-target) | 97.6 | 87.9 | 46.0 | 87.9 | 88.8 | 69.1 | 88.6 | 80.8 | 95.0 | 84.2 | 54.8 | 87.7 | 97.2 | 70.2 | 87.5 | 82.4 | ||
| Setup |
Surp. Adapt. |
Depth Adapt. |
Feat. Fusion |
DADA Fusion |
mIoU (%) |
| S1 (no adapt.) | 32.2 | ||||
| S2 (AdvEnt) | ✓ | 40.8 | |||
| S3 | ✓ | ✓ | 40.7 | ||
| S4 | ✓ | 35.7 | |||
| S5 | ✓ | ✓ | 38.0 | ||
| S6 | ✓ | ✓ | ✓ | 41.6 | |
| S7 (DADA) | ✓ | ✓ | ✓ | ✓ | 42.6 |
| % of SYNTHIA | 10% | 30% | 50% | 70% | 100% |
| Cityscapes mIoU | 32.6 | 35.1 | 40.9 | 41.0 | 42.6 |
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
DADA: Depth-Aware Domain Adaptation in Semantic Segmentation
Tuan-Hung Vu
valeo.ai, Paris, France
Himalaya Jain
valeo.ai, Paris, France
Maxime Bucher
valeo.ai, Paris, France
Matthieu Cord
valeo.ai, Paris, France
Sorbonne University, Paris, France
Patrick Pérez
valeo.ai, Paris, France
Abstract
Unsupervised domain adaptation (UDA) is important for applications where large scale annotation of representative data is challenging. For semantic segmentation in particular, it helps deploy, on real “target domain” data, models that are trained on annotated images from a different “source domain”, notably a virtual environment. To this end, most previous works consider semantic segmentation as the only mode of supervision for source domain data, while ignoring other, possibly available, information like depth. In this work, we aim at exploiting at best such a privileged information while training the UDA model. We propose a unified depth-aware UDA framework that leverages in several complementary ways the knowledge of dense depth in the source domain. As a result, the performance of the trained semantic segmentation model on the target domain is boosted. Our novel approach indeed achieves state-of-the-art performance on different challenging synthetic-2-real benchmarks. Code and models are available at https://github.com/valeoai/DADA.
1 Introduction
Advances in deep convolutional neural networks (CNNs) brought significant leaps forward in many recognition tasks including semantic segmentation. Still, predicting semantic labels for all imagery pixels is a challenging problem, especially when models are trained on one domain, named as source, yet evaluated on another domain, named as target. The so-called domain gap between source and target distributions often causes drastic drops in target performance. Instead, autonomous critical systems such as self-driving cars require robust performance under diverse testing conditions, despite the lack of ubiquitous training data. For such systems, semantic segmentation models trained on sunny urban images taken in Roma should yield good results even on foggy scenes in London.
Techniques addressing the domain gap problem are usually classified as domain adaptation (DA) [7]. In previous works, most DA settings are unsupervised on the target side, i.e., only un-annotated target samples are available during the supervised training on source domain. This is referred to as unsupervised domain adaptation (UDA). In recent years, considerable progress has been made in UDA with approaches such as distribution discrepancy minimization with MMD [20, 42] or adversarial training [14, 35], generative approaches [13] and others.
In this UDA context, the synthetic-2-real scenario, where source and target samples are synthetic and real images respectively, is especially appealing thanks to the zero-cost source label acquisition. Moreover, recent virtual engines can simulate other sensory outputs like dense/sparse depth or radar; for example, the SYNTHIA dataset [29] provides corresponding virtual depth maps of synthesized urban scenes. Most previous UDA works ignore such extra information, except for Lee et al. [18] who propose to use depth for regularizing a style-transfer network.
In this work, we propose a new scheme to leverage depth information available in source domain for UDA. We hypothesize that introducing additional depth-specific adaptation brings complementary effects to further bridge the performance gap between source and target at test time. Toward this end, we transform the segmentation backbone such that the depth information is embedded into a dedicated deep architecture by means of an auxiliary depth regression task. Depth, operating as an additional source-domain supervision in our framework (only available while training), will be considered as a privileged information.
Another challenge is to incorporate efficiently depth signals into the UDA learning. Addressing this concern, we introduce a new depth-aware adversarial training protocol based on the fusion of the network outputs. Such a late fusion was inspired by our intuition that visual information at different depth levels should be treated differently.
The proposed approach is illustrated in Figure 1, where the benefit of depth-aware adaptation on key object categories like ‘human’ and ‘vehicle’ is visible. The contributions of this approach are the following:
- •
Depth-aware UDA learning strategy: we introduce a novel depth-aware adaptation scheme, coined DADA learning, which simultaneously aligns segmentation-based and depth-based information of source and target while being aware of scene geometry.
- •
Depth-aware deep architecture: we propose a novel depth-aware segmentation pipeline, named DADA architecture, in which depth-specific and standard CNN appearance features are fused before being forwarded through the segmentation classifiers.
- •
State-of-the-art performance: evaluations show that our framework achieves SotA results on challenging synthetic-2-real benchmarks. We also report ablation studies to provide insights into the proposed approach.
2 Related works
Unsupervised domain adaption has received a lot of attention in last few years [7, 9, 14, 21, 37, 42]. It is usually approached with domain discrepancy minimization, generative approaches or using some privileged information to guide the learning. Since we are only concerned with visual semantic segmentation in this work, we limit our review of UDA to approaches that aim at this task as well.
Various approaches of UDA for segmentation employ adversarial training to minimize cross-domain discrepancy. The main idea, stemming from generative adversarial networks (GANs) [10], is to train a discriminator for predicting the domain of the data (source or target) while the segmentation network tries to fool it (along with the supervised segmentation task on the source). Under the competition with the discriminator, the segmentation network tries to map its input to domain-agnostic intermediate or final representation (which is the input to the discriminator), before accomplishing its task. This alignment with adversarial training is usually done in the feature space. In [14], the feature alignment is done not only with adversarial training but also by transferring the label statistics of the source domain by category specific adaptation. [5] uses adversarial training for class-level alignment on grid-wise soft pseudo-labels. In [4], spatial-aware adaptation is conducted and a distillation loss is used to address specifically synthetic-to-real adaptation by enforcing the segmentation network’s output to be similar to a reference network trained on real data. While most of these methods do alignment on the features space, recently [35, 39] propose alignment on the output space. [35] does the alignment on the prediction of the segmentation network and [39] proposes to do it on the weighted self-information of the prediction probability. [36] and [23] extend the approach of [35] by patch-level alignment and category-level adversarial loss respectively. Another use of adversarial training for UDA is proposed in [30, 31], where the discrepancy between two instances of the same input from target domain is minimized while the classification layer tries to maximize it. The approach we propose also uses adversarial training but it takes this further by introducing the depth.
Another strategy that received much attention is the use of generative networks to turn source domain samples into target-like images. CyCADA [13] uses Cycle-GAN [45] to generate target-like images conditioned on the source images, i.e., generated images contain the structure or semantic content of the source with the “style” (colors and textures) of the target domain. These generated images inherit the ground truth semantic segmentation of the conditioning source images and can then be used for supervised training of the segmentation network. [46] aligns the source and target embeddings using GAN [10] and replaces the cross-entropy loss by a conservative loss (CL) which penalizes the easy and hard source examples. In DCAN [41], a similar generative approach is used with channel-wise feature alignment in the generator and segmentation networks.
Some other interesting works have investigated combination of adversarial and generative approaches [25, 32, 44], self-training [47] and curriculum style learning [43].
In order to help domain adaptation in various tasks, several works explore the use of privileged information on the source data [2, 19, 33]. The idea of using privileged information (PI) for learning was first formulated by Vapnik & Vashist (2009) [38]. PI is an additional information available only at training time. This is conceptually similar to humans learning new notions or concepts with the help of teacher’s comment or explanation. Following [38] many works [12, 22, 24, 34, 40] investigated PI for various tasks. Recently, SPIGAN [18] has proposed such a UDA approach for semantic segmentation. SPIGAN first uses a generative network to convert the source images into target-type images. These new images are then used to train the segmentation network along with a depth regression network (privileged information network) in a supervised manner, thanks to the ground truth of the source images. This work shows that the additional depth regression task helps in pixel level adaptation or, in other words, better captures the content of source images in the generated target-like images.
In the present work, we also leverage a depth regression task to aid domain adaptation. However, this is accomplished in a way that notably differs form SPIGAN (which uses depth only as a regularization for the generator).
3 Depth-aware domain adaptation
In this section, we describe our proposed UDA method for semantic segmentation using depth. Our goal is to use depth as the privileged information in the UDA setting to improve segmentation performance on the target domain.
To this end, we modify a network of semantic segmentation by including a monocular depth regression part. More specifically, we design a deep architecture to embed the depth in a dedicated residual block as illustrated in Figure 2 (‘DADA architecture’ in top part). In Section 3.1, we detail DADA network architecture and the supervised learning used on source dataset. The second part concerns the learning scheme for such a UDA approach. To get the full benefit of the geometry information, we propose a depth-aware adversarial learning scheme. We argue that for domain adaptation, particularly in the urban settings, objects closer to the ego-camera should be emphasized more. Our framework, illustrated in Figure 2 (‘DADA learning’ in bottom part), is detailed in Section 3.2.
3.1 DADA Network Architecture.
Starting from an existing semantic segmentation architecture, we insert additional modules (1) to predict monocular depth as additional output and (2) to feed the information exploited by this auxiliary task back to the main stream. More specifically, we adopt the residual auxiliary block that was recently introduced in [24] for detection. It amounts to grafting a new branch to the backbone CNN. In this branch, the backbone CNN features are consecutively fed into three encoding convolutional layers, followed by an average pooling layer to output depth map predictions. On the residual path back to the main branch, the encoded features (before the depth pooling) are decoded by a convolutional layer and fused with the backbone features. The top-part of Figure 2 shows the proposed hybrid architecture, mixing the auxiliary block architecture with the backbone one.
Importantly, for the feature-level fusion, we adopt an element-wise product, indicated as “Feat. Fusion” in the top part of Figure 2. To produce segmentation predictions, we feed-forward the fused features through the remaining classification modules.
Source domain supervised training.
Our model is trained with supervised segmentation and depth losses on source domain. We consider a training set of source color images of size along with pixel-level -class segmentation and depth annotations. Let be the network which takes an image and jointly predicts a -dimensional “soft-segmentation map” DADA_{\mathrm{seg}}(\bm{x})~{}=~{}\bm{P}_{\bm{x}}~{}=~{}\big{[}\bm{P}_{\bm{x}}^{(h,w,c)}\big{]}_{h,w,c} 111Seen as empirical probabilities that sum to one over the classes. and a depth map DADA_{\mathrm{depth}}(\bm{x})=\big{[}\bm{Z}_{\bm{x}}^{(h,w)}\big{]}_{h,w}. Similar to [15], we adopt the inverse depth representation, i.e., depth attenuates when moving away from the camera. The parameters of are learned to minimize the segmentation and depth losses on source samples :
[TABLE]
with the reverse Huber loss defined as [17]:
[TABLE]
where is a positive threshold that we fix in practice to of the maximum depth residual. Empirically, the berHu loss is favorable for the depth regression task: samples with larger residuals are penalized more by the term, while gradients of small-residual samples are more underlined with .
Finally, our DADA optimization problem on source domain is formulated as:
[TABLE]
with a weighting factor for depth regression.
3.2 DADA Adversarial Learning Scheme
For UDA in semantic segmentation, the key idea is to align the source and target domains so that a discriminator network cannot distinguish between the domains. We follow here the recent strategies that align features at the output level [35, 39], i.e., the soft segmentation map produced by the segmentation network on input image .
We hereby question the plausibility of adapting such a methodology for an auxiliary space, i.e., depth prediction in the present work, in the hope that the performance of the main task is improved. We hypothesize that aligning source and target distributions also in the depth space implicitly bridges the domain gaps of the shared lower-level CNN representations and should bring improvements to the main task on target domain.
In order to carry out such a strategy, we propose a joint alignment: we first merge both signals, then we feed-forward the fused features as input to a discriminator.
We illustrate DADA adversarial learning scheme in the lower right part of Figure 2. More precisely:
- •
We compute weighted self-information (“surprisal”) maps [39] defined as:
[TABLE]
- •
We fuse the weighted self-information with the depth prediction to produce a depth-aware map . The fusion of and , which we refer to as DADA fusion, is the element-wise product of with . As here the inverse depth is used, such a multiplication implies stronger attention toward scene elements that are closer to the ego-camera.
- •
Then, we do the adversarial adaptation on .
The depth-aware map carries 3D-structural and geometrical information which should be consistent across the domains, thus alignment on this space is beneficial to adaptation as we will see in the next section.
Formally, given the set of un-annotated images in the target domain, the discriminator is trained to distinguish source vs. target outputs (labeled as ‘1’ and ‘0’ respectively) with the following classification objective minimization:
[TABLE]
and the DADA network is updated using the “fooling” objective minimization:
[TABLE]
At each training iteration, we feed the network a mini-batch of two samples coming from source and target domains. The two objectives in (4) and (7) are jointly optimized with a weighting factor used for the adversarial part. Gradients of all losses are accumulated and then back-propagated to update the network.
Discussion.
The only method using depth as privileged information in the same task as ours is SPIGAN [18]. While in DADA, with feature fusion and DADA fusion, we exploit depth to enhance the appearance features and improve the source-target alignment, SPIGAN leverages depth as a regularization for the pixel-level alignment generator. We argue that our way of using depth is more explicit, which, in return, gets more benefit from the privileged information. Moreover, thanks to the residual fusion in the auxiliary block presented in Section 3.1, depth signals are directly taken into account while deriving main task predictions. Such a residual fusion spreads beneficial effects of the depth-specific adaptation to the main segmentation task.
4 Experiments
This section presents quantitative and qualitative results. We introduce in Section 4.1 the synthetic-2-real benchmarks used in this work. We then analyze the performance of the proposed model in Section 4.2 and report ablation studies in Section 4.3.
4.1 Experimental details
Datasets.
In this work, we use SYNTHIA dataset [29] as the source domain. It is composed of synthetic images annotated with pixel-wise semantic labels and depth. Similar to previous works [18, 35, 39], we adopt the split SYNTHIA-RAND-CITYSCAPES using Cityscapes-style annotations. For the target domain, we use either Cityscapes [6] or Mapillary Vistas [26] datasets. What follows are our experimental set-ups in detail:
- •
SYNTHIACityscapes (16 classes): This is a standard evaluation protocol used in previous works. The models are trained on the 16 classes common to SYNTHIA and Cityscapes. Similar to [35, 39], we also report performance on the -class subset.
- •
SYNTHIACityscapes / Vistas (7 classes): Following [18], we conduct experiments on the categories that are common to SYNTHIA, Cityscapes and Vistas.
Network architecture.
In our experiments, we adopt Deeplab-V2 [3] based on ResNet-101 [11] as the backbone segmentation architecture. Like [35, 39], we apply Atrous Spatial Pyramid Pooling (ASPP) with sampling rates of {6, 12, 18, 24}. Segmentation prediction is only done on the conv5 features. For the adversarial training, we use DCGAN’s discriminator [28] composed of sequential convolutional layers with leaky-ReLUs as activation functions.
The encoding module used for depth regression has three consecutive convolutional layers: the first and last ones have kernel size of ; the middle layer has kernel size of with a suitable zero-padding to ensure the same input and output resolutions. Each layer uses times fewer channels than the previous one. In the decoding part, we feed the encoded features through a convolutional layer. The decoding layer has the same number of output channels as the channel size of the ResNet-101 backbone feature.
Implementation details.
Implementations are done with the PyTorch deep learning framework [27]. To train and validate our models, we use a single NVIDIA 1080TI GPU with 11GB memory. We initialize our models with the ResNet-101 [11] pre-trained on the ImageNet dataset [8]. Segmentation and depth regression networks are trained by a standard Stochastic Gradient Descent optimizer [1] with learning rate , momentum and weight decay . For discriminator training, we adopt Adam optimizer [16] with learning rate . In all experiments, we fixed as for the depth regression task and used to weight the adversarial loss.
4.2 Results
We present results of the proposed DADA approach in comparison to different baselines. On the three benchmarks, our models achieve state-of-the-art performance. Our extensive study shows the benefit of leveraging depth as privileged information with our DADA framework for UDA in semantic segmentation.
SYNTHIACityscapes:
In Table 1, we report semantic segmentation performance in term of “mean Intersection over Union” (mIoU in %) on the classes of the Cityscapes validation set. DADA achieves state-of-the-art performance on the benchmark. To the best of our knowledge, SPIGAN [18] is the only published work targeting the same problem that also considers depth as privileged information. DADA achieves a D-Gain of , almost double of SPIGAN’s. Analyzing per-class results, we observe that the improvement over AdvEnt [39] primarily comes from the ‘vehicle’ category, i.e., ‘car’ (), ‘bus’ () and ‘bike’ (). On ‘object’ classes like ‘light’ and ‘pole’, DADA introduces moderate gains. Figure 3 illustrates some qualitative examples comparing DADA and the AdvEnt baseline. Our model shows better results on ‘vehicle’ classes while AdvEnt sometimes makes severe mistakes of predicting ‘car’ as ‘road’ or ‘sidewalk’. DADA also outperforms significantly other baseline methods that report results on a 13-class subset.
Table 2-a shows results in the same experimental set-up, except that training and validation were done on categories. To be comparable with [18], we report additional results produced at the resolution. Our DADA framework outperforms the state-of-the-art on this benchmark by a large margin. Over the AdvEnt baseline, we achieve mIoU improvement. Similar to the 16-class results, an important gain on the ‘vehicle’ category () is observed. In addition, we contrast a IoU on the ‘human’ category to the negative IoU drops on classes ‘person’ and ‘rider’ reported in Table 1. We conjecture that this drop stems from the intra-category confusion, i.e., ‘pedestrian’ and ‘rider’ are easily confused. A significant improvement is pointed out in the lower resolution set-up where using depth adds to the ‘human’ category IoU. These results demonstrate the merit of DADA for UDA, especially on crucial categories like ‘human’ and ‘vehicle’ – the vulnerable road users (VRUs).
An interesting UDA metric introduced in [18] is the negative transfer rate (lower is better) – the percentage of after-adaptation test cases having per-image mIoUs lower than ones coming from the model trained only on source (without adaptation). On SYNTHIACityscapes (7 classes), resolution DADA model has only negative transfer rate, compared to for SPIGAN. It is worth noting that our only-on-source mIoU in this case is , much larger than the one reported in [18] (). The AdvEnt baseline, without using depth, suffers from a negative transfer rate of – more than double of DADA’s.
SYNTHIAVistas:
In this experiment, the Mapillary Vistas [26] is used as the target domain. In SPIGAN [18], the authors report unfavorable UDA behaviors on Vistas compared to Cityscapes. This seems caused by the artifacts that the source-target image translation introduces when trying to close the larger gap between SYNTHIA and Vistas. In such a case, leveraging depth information demonstrates important adaptation improvement (). On the other hand, our UDA framework does not undergo such a difficulty. Indeed, as shown in Table 2(a-b), the AdvEnt baseline performs much better than SPIGAN-no-PI, with no significant difference in absolute mIoU on the two target datasets ( vs. ). Over such a stronger baseline, DADA still achieves an overall improvement of mIoU. We also obtain best per-class IoUs on the benchmark.
DADA (trained and tested on images) has negative transfer rate compared to the of SPIGAN. As discussed in [18], the challenging domain gap between SYNTHIA and Vistas might cause these high negative rates. In addition to this explanation, we also question the annotation quality of the Vistas dataset, visually inspection of results having revealed inconsistencies. Interestingly, when we evaluate the DADA model trained with the current set-up (SYNTHIAVistas) on the Cityscapes validation set with arguably cleaner annotations, the obtained negative transfer rate reduces to .
In Figure 4, we show some qualitative results comparing our best model with SPIGAN. As mentioned above, we note that the Vistas segmentation annotations are noisy. For example, some construction areas slightly covered by tree branches are annotated as ‘vegetation’. DADA provides reasonable predictions on these areas – sometimes even better than human ground-truths.
4.3 Ablation studies
Effect of depth-aware adversarial adaptation.
We report in Table 3 performance with seven training setups, S1 to S7: S1 is the source-only baseline (no adaption at all), S2 amounts to AdvEnt (no use of depth) and S7 is DADA. Intermediate setups S3 to S6 amount to using or not the AdvEnt’s “surprisal adaptation”, the auxiliary depth adaptation (“depth adaptation”), the point-wise feature fusion mechanism (“feature fusion”) and the output-based fusion for DADA adversarial training (“DADA fusion”). First, we remark that adversarial adaptation on the auxiliary depth-space (S4 and S5) does help improve performance of the main task. Improvement of S5 over S4 demonstrates the advantage of depth fusion at the feature-level. Comparable performance of S2 and S3 indicates that depth supervision on the source domain is not effective in absence of depth-specific adaptation. Indeed, S6, with two separate adversarial adaptations on the surprisal and depth spaces, works better than S2 and S3. Still, in S6, the coupling between spaces remains loose as the adversarial losses are separately optimized. Our depth-aware adaptation framework S7 employing both feature fusion and DADA fusion performs best: paying more attention to closer objects during adversarial training is beneficial.
Annotation effort advantage.
Table 4 reports DADA’s performance when trained on different fractions of the source dataset. Using only of the SYNTHIA images with segmentation and depth annotations, DADA achieves comparable performance to AdvEnt trained on all images with segmentation annotations ( vs. ). This finding is of practical importance for real-world setups where the source domain is also composed of real scenes: while dense depth annotation remains automatic in this case (through stereo matching as in Cityscapes or densification of sparse LiDAR measurements), semantic annotation must be manual, which incurs high costs and quality problems. Annotating fewer scenes can thus be beneficial even if depth is additionally required.
Limitations.
We observe a few failure cases where different objects are indistinguishable due to blurry depth outputs. Improving depth quality may help in such cases. However, in our framework depth regression is only an auxiliary task which helps leveraging geometry-specific information to enrich visual representation and thus to improve on the main task. As in [24], paying too much attention to the auxiliary task actually hurts the performance on the main task.
5 Conclusion
In this work, we propose a novel UDA framework coined DADA – Depth-Aware Domain Adaptation – which leverages depth in source data as privileged information to help semantic segmentation on the target domain. This additional information is exploited through an auxiliary depth-prediction task that allows in turn a feature enrichment via fusion as well as a depth-aware modification of the original adaptation loss. Our experimental evaluations show that DADA consistently outperforms other UDA methods on different synthetic-2-real semantic segmentation benchmarks. As a direction of future work, we envisage the extension to real-world scenarios where depth information in the source domain is only sparsely available, e.g., as provided by automotive laser scanners (LiDARs).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Léon Bottou. Large-scale machine learning with stochastic gradient descent. In COMPSTAT . 2010.
- 2[2] Lin Chen, Wen Li, and Dong Xu. Recognizing RGB images by learning from RGB-D data. In CVPR , 2014.
- 3[3] Liang-Chieh Chen, George Papandreou, Iasonas Kokkinos, Kevin Murphy, and Alan L Yuille. Deeplab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected CR Fs. PAMI , 2018.
- 4[4] Yuhua Chen, Wen Li, and Luc Van Gool. Road: Reality oriented adaptation for semantic segmentation of urban scenes. In CVPR , 2018.
- 5[5] Yi-Hsin Chen, Wei-Yu Chen, Yu-Ting Chen, Bo-Cheng Tsai, Yu-Chiang Frank Wang, and Min Sun. No more discrimination: Cross city adaptation of road scene segmenters. In ICCV , 2017.
- 6[6] Marius Cordts, Mohamed Omran, Sebastian Ramos, Timo Rehfeld, Markus Enzweiler, Rodrigo Benenson, Uwe Franke, Stefan Roth, and Bernt Schiele. The Cityscapes dataset for semantic urban scene understanding. In CVPR , 2016.
- 7[7] Gabriela Csurka. Domain adaptation for visual applications: A comprehensive survey . 2017.
- 8[8] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR , 2009.
