Region-Aware Metric Learning for Open World Semantic Segmentation via Meta-Channel Aggregation
Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. Main Track. Pages 863-869.
https://doi.org/10.24963/ijcai.2022/121
Keywords
- Computer Vision: Transfer, low-shot, semi- and un- supervised learning
- Computer Vision: Segmentation
- Computer Vision: Representation Learning
Abstract
As one of the most challenging and practical segmentation tasks, open-world semantic segmentation requires the model to segment the anomaly regions in the images and incrementally learn to segment out-of-distribution (OOD) objects, especially under a few-shot condition. The current state-of-the-art (SOTA) method, Deep Metric Learning Network (DMLNet), relies on pixel-level metric learning, with which the identification of similar regions having different semantics is difficult. Therefore, we propose a method called region-aware metric learning (RAML), which first separates the regions of the images and generates region-aware features for further metric learning. RAML improves the integrity of the segmented anomaly regions. Moreover, we propose a novel meta-channel aggregation (MCA) module to further separate anomaly regions, forming high-quality sub-region candidates and thereby improving the model performance for OOD objects. To evaluate the proposed RAML, we have conducted extensive experiments and ablation studies on Lost And Found and Road Anomaly datasets for anomaly segmentation and the CityScapes dataset for incremental few-shot learning. The results show that the proposed RAML achieves SOTA performance in both stages of open world segmentation. Our code and appendix are available at https://github.com/czifan/RAML.
- [Baur et al., 2018] Christoph Baur, Benedikt Wiestler, Shadi Albarqouni, and Nassir Navab. Deep autoencoding mod- els for unsupervised anomaly segmentation in brain mr im- ages. In MICCAI Brainlesion Workshop, pages 161-169, 2018.
- [Bendale and Boult, 2015] Abhijit Bendale and Terrance Boult. Towards open world recognition. In CVPR, pages 1893-1902, 2015.
- [Cen et al., 2021] Jun Cen, Peng Yun, Junhao Cai, Michael Yu Wang, and Ming Liu. Deep metric learning for open world semantic segmentation. In ICCV, pages 15333-15342, 2021.
- [Chan et al., 2021] Robin Chan, Matthias Rottmann, and Hanno Gottschalk. Entropy maximization and meta clas- sification for out-of-distribution detection in semantic seg- mentation. In ICCV, pages 5128-5137, 2021.
- [Chen et al., 2020] Guangyao Chen, Limeng Qiao, Yemin Shi, Peixi Peng, Jia Li, Tiejun Huang, Shiliang Pu, and Yonghong Tian. Learning open set network with discrim- inative reciprocal points. In ECCV, pages 507-522, 2020.
- [Gal and Ghahramani, 2016] Yarin Gal and Zoubin Ghahra- mani. Dropout as a bayesian approximation: Representing model uncertainty in deep learning. In ICML, pages 1050- 1059, 2016.
- [Hendrycks and Gimpel, 2017] Dan Hendrycks and Kevin Gimpel. A baseline for detecting misclassified and out-of- distribution examples in neural networks. In ICLR, 2017.
- [Hendrycks et al., 2019] Dan Hendrycks, Steven Basart, Mantas Mazeika, Mohammadreza Mostajabi, Jacob Stein- hardt, and Dawn Song. Scaling out-of-distribution detection for real-world settings. arXiv preprint arXiv:1911.11132, 2019.
- [Hu et al., 2021] Hanzhe Hu, Jinshi Cui, and Liwei Wang. Region-aware contrastive learning for semantic segmenta- tion. In ICCV, pages 16291-16301, 2021.
- [Joseph et al., 2021] K J Joseph, Salman Khan, Fahad Shah- baz Khan, and Vineeth N Balasubramanian. Towards open world object detection. In CVPR, 2021.
- [Lis et al., 2019] Krzysztof Lis, Krishna Nakka, Pascal Fua, and Mathieu Salzmann. Detecting the unexpected via im- age resynthesis. In ICCV, pages 2152-2161, 2019.
- [Oreshkin et al., 2018] Boris N Oreshkin, Pau Rodriguez, and Alexandre Lacoste. Tadam: Task dependent adaptive metric for improved few-shot learning. In NeurIPS, 2018.
- [Pinggera et al., 2016] Peter Pinggera, Sebastian Ramos, Stefan Gehrig, Uwe Franke, Carsten Rother, and Rudolf Mester. Lost and found: detecting small road hazards for self-driving vehicles. In IROS, pages 1099-1106, 2016.
- [Saito et al., 2021] Kuniaki Saito, Ping Hu, Trevor Darrell, and Kate Saenko. Learning to detect every thing in an open world. arXiv preprint arXiv:2112.01698, 2021.
- [Schroff et al., 2015] Florian Schroff, Dmitry Kalenichenko, and James Philbin. Facenet: A unified embedding for face recognition and clustering. In CVPR, 2015.
- [Sun et al., 2020] Y. Sun, C. Cheng, Y. Zhang, C. Zhang, L. Zheng, Z. Wang, and Y. Wei. Circle loss: A unified per- spective of pair similarity optimization. In CVPR, 2020.
- [Wang et al., 2021] Wenguan Wang, Tianfei Zhou, Fisher Yu, Jifeng Dai, Ender Konukoglu, and Luc Van Gool. Ex- ploring cross-image pixel contrast for semantic segmenta- tion. In ICCV, 2021.
- [Wen et al., 2016] Yandong Wen, Kaipeng Zhang, Zhifeng Li, and Yu Qiao. A discriminative feature learning ap- proach for deep face recognition. In ECCV, pages 499- 515, 2016.
- [Xia et al., 2020] Yingda Xia, Yi Zhang, Fengze Liu, Wei Shen, and Alan L Yuille. Synthesize then compare: De- tecting failures and anomalies for semantic segmentation. In ECCV, pages 145-161, 2020.
- [Xian et al., 2019] Y. Xian, S. Choudhury, Y. He, B. Schiele, and Z. Akata. Semantic projection network for zero-and few-label semantic segmentation. In CVPR, 2019.
- [Yu et al., 2020] Fisher Yu, Haofeng Chen, Xin Wang, Wenqi Xian, Yingying Chen, Fangchen Liu, Vashisht Madhavan, and Trevor Darrell. Bdd100k: A diverse driv- ing dataset for heterogeneous multitask learning. In CVPR, pages 2636-2645, 2020.
- [Yuan et al., 2020] Yuhui Yuan, Xiaokang Chen, Xilin Chen, and Jingdong Wang. Segmentation transformer: Object- contextual representations for semantic segmentation. In ECCV, 2020.
- [Zhong et al., 2021] Zhun Zhong, Linchao Zhu, Zhiming Luo, Shaozi Li, Yi Yang, and Nicu Sebe. Openmix: Re- viving known knowledge for discovering novel visual cat- egories in an open world. In CVPR, pages 9462-9470, 2021.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1 Introduction
The breakthrough of deep learning in many fields of computer vision is based on the closed set assumption, which means that all classes in the test should be covered in the training set. However, this assumption rarely holds in the open world. Since most computer vision applications have to deal with unknown classes, models, especially the deep models, must
∗ Equal contribution.
†Correspondence to Li Zhang: zhangli pku@pku.edu.cn

(b) Proposed region-aware method
Figure 1: Main idea of our proposed method. (a) Existing methods focus on pixel-level which may result in fine-grained segmentation errors. (b) Our proposed Region-Aware Metric Learning (RAML) method maintains the semantic integrity of the OOD objects.
handle the out-of-distribution (OOD) data. Quite a number of work for image recognition and classification in the open world has been proposed since the first introduction of the concept "open world" in [Bendale and Boult, 2015]. However, the work about open world segmentation is scarce. It is not until recently that [Cen et al., 2021] proposes a two-step framework to achieve open world semantic segmentation. The framework consists of (1) an anomaly segmentation module that extends the close-set model of in-distribution objects to delineate the unknown regions of the OOD objects correctly, and (2) an incremental few-shot learning module that separates the unknown regions into OOD objects with novel classes. They also introduce metric learning into both stages of open world segmentation, and the results prove that their proposed criteria of metric learning can improve the model's segmentation of OOD objects.
Although this pilot work provides a good framework for open world segmentation tasks, the model can be improved in two aspects for better performance. First, the metric learning in [Cen et al., 2021] relies on the pixel-wise feature embeddings, which may falsely split the object into pieces and result in numerous fine-grained segmentation errors. For example, as shown in Figure 1, the bus wheels and the car wheels have similar feature embeddings and are highly likely to be classified into one group according to the pixel-wise feature embeddings, but they apparently belong to different classes in semantic segmentation. To solve this kind of problems, we propose region-aware metric learning (RAML) for open world segmentation, which significantly outperforms pixelwise metric learning (PML) in multiple experiments.
Moreover, we improve the model performance, especially for the incremental few-shot learning stage, by introducing a novel region separation module named meta-channel aggregation (MCA). MCA first aims at over-segmenting the unknown regions into several meta channels. Regions belonging to different meta channels are aggregated to form a segmentation of the objects and then evaluated by the Region-aware Metric Learning module.
In addition, [Cen et al., 2021] sets a fixed center embedding for each in-distribution class, i.e., a one-hot vector in the feature space. Although the fixed center embedding can effectively create a distance between the distribution of different classes, it ignores the relative similarity between them. For example, in the Cityscapes dataset, the method fails to reveal that the difference between person and rider is smaller than the difference between either of them and sky. This paper aims to overcome the drawback by exploiting a more natural metric learning to constrain the distance between the interclass region-aware features. Specifically, we replace the onehot setting in [Cen et al., 2021] with Circleloss [Sun et al., 2020] as the objective of the metric learning, which not only maintains a fine inter-class distance but also shapes the intraclass distribution more concentrated. Experiments show that such division of the feature space is more conducive to segmenting the OOD data.
In summary, we propose a region-aware metric learning method for open world semantic segmentation. Our contributions are as follows:
- We propose using the region-aware over pixel-wise features for open world semantic segmentation to ensure better semantic integrity of the segmented OOD objects.
- We introduce the MCA module as a novel region separation method that suits incremental few-shot learning.
- We adopt Circleloss [Sun et al., 2020] to enlarge the inter-class distance and reduce the intra-class distance of the data samples, improving the performance of the RAML module.
2 RelatedWork
2.1 Region-aware Semantic Segmentation
The ideas of how to apply regional information to improve semantic segmentation have been discussed by many research groups recently, including two main threads. First, several works have shown that region-aware information has better contextual representation than pixel-level information to achieve pixel labeling [Yuan et al., 2020]. Secondly, for image segmentation tasks, region-aware information can be better combined with metric or contrastive learning to manipulate the feature space more effectively [Wang et al., 2021; Hu et al., 2021]. These ideas inspire our paper, but the above works require a sufficient number of training samples to obtain the reasonable region-aware feature representation, while our work is in an open world setting that can only access a few images with unseen class labels. Therefore, we have to design novel region-separation modules (such as MCA) that fit the open world segmentation tasks.
2.2 Anomaly Segmentation
There are two types of approaches for anomaly segmentation, including uncertainty-based methods and generative modelbased methods. Uncertainty refers to the level of not belonging to known classes, widely used to determine abnormal states. The baseline of uncertainty-based methods is maximum softmax probability (MSP) reported by [Hendrycks and Gimpel, 2017]. [Hendrycks et al., 2019] then improves MSP using maximum logit (MaxLogit) for better performance on large-scale datasets. Other uncertainty-based methods include using Bayesian neural networks [Gal and Ghahramani, 2016] and maximizing the entropy of OOD objects in the images [Chan et al., 2021]. On the other hand, generative model-based methods also perform well, including autoencoder (AE) [Baur et al., 2018] and GAN-based methods [Xia et al., 2020]. However, generative models suffer from unstable training and usually have complex network backbones.
In this work, we follow the idea of MaxLogit and develop our anomaly segmentation based on non-normalized logit.
2.3 OpenWorld Problem
[Bendale and Boult, 2015] is the first research that gives the formal definition of "open world", i.e., an open world model must incrementally learn and extend its generality, thereby making the objects with novel classes "known" to itself. Since then, the research on open world problems has increased, including classification [Zhong et al., 2021], object detection [Joseph et al., 2021], instance segmentation [Saito et al., 2021], among others. However, it is not until recently that [Cen et al., 2021] proposes the first framework of open world semantic segmentation. Our work follows the settings in [Cen et al., 2021] and divides the problem into anomaly segmentation and incremental few-shot learning. However, to ensure semantic integrity and improve the segmentation performance, we use region-aware feature embedding instead of pixel-wise feature extraction in their original method.
2.4 Metric Learning
Deep metric learning constrains the distance between feature embedding of learning samples to manipulate the feature distribution. Its applications are seen in various computer vision tasks, such as open set recognition [Chen et al., 2020], fewshot learning [Oreshkin et al., 2018] and open world semantic segmentation [Cen et al., 2021]. Classic metric learning includes two paradigms. The first is to learn with pair-wise labels, under the guidance of triplet loss [Schroff et al., 2015] and center loss [Wen et al., 2016]. The second consists of softmax cross-entropy and variants that train the model with class-level labels. A recently proposed method called Circle loss [Sun et al., 2020] unifies the above two paradigms and forms the feature space with large inter-class distances and small intra-class distances. We thus adopt Circle loss as the key objective of our proposed RAML module.

3 Methods
As shown in Figure 2, our proposed method contains: 1) a backbone model for close-set segmentation, 2) an anomaly segmentation process to delineate the unknown regions of OOD data, and 3) an incremental few-shot learning step for splitting the unknown regions into objects with novel classes.
3.1 Close-set SegmentationModule
Suppose Cin = {Cin,1, Cin,2, ...Cin,N} are N in-distribution classes, which are all annotated in training datasets, and Cout = {Cout,1,Cout,2, ...Cout,M} are M novel classes not involved in the training datasets. Here, the semantic segmentation network S is divided into a feature extractor F and a label predictor G, where S = G ◦ F.
For the close-set segmentation, we minimize the following loss Lseg(F, G) which guides S to produce a pixel-level segmentation for in-distribution classes.
where ℓce(·, ·) indicates the multi-class cross entropy loss, X ∈ R3×H×W is an input image, Y is the corresponding label.
After training this module, we obtain a trained feature extractor F and a trained label predictor G. The feature map F = F(X) ∈ RN1×H×W and the non-normalized logit U = ¯ G(F) ∈ RN×H×W can then be generated for in-distribution classes, where ¯ G is obtained by removing the softmax layer of G. The feature map F and the non-normalized logit U will be used in later modules.
3.2 Anomaly Segmentation
To identify the candidate regions of region-aware anomaly segmentation, we adopt an uncertainty-based OOD objects detection method, MSP [Hendrycks and Gimpel, 2017], as our region separation module, named Uncertainty-based Region Separation (URS). Its high uncertainty response around the object edges could be used as a promising initialization of the region separation, as shown in Figure 3.

To further enhance the edges, we introduce Sobel filtering over the original input image. The final edge prediction map E can be generated as follow,
where X is the input image, U is the non-normalized logit, and I(·) is an indicator function, α and β are hyperparameters to control the edge prediction. According to E, we use a post-processing sub-module, including the hole filling and connected component algorithms, to generate the candidate regions R = {R1,R2, · · · ,RT}, where Ri ∈ {0, 1}H×W represents the i-th region.
We then propose a RAML module for anomaly segmentation to classify the candidate regions R. For each region Ri ∈ {0, 1}H×W , the region-aware feature embedding is obtained as below:
where Fj,k ∈ RN1 is the feature vector of pixel (j, k), D(·) consists of two fully-connected layers to control the embedding dimension. fobject is compared to all the prototypes of the known classes by metric learning constrained by circle loss [Sun et al., 2020]. Specifically, the prototype of l-th known class fl can be obtained using the semantic segmentation label. Then, the region-aware anomaly probability of Ri can be expressed as below,
Finally, to generate a pixel-level anomalous probability map, we combine the information from the non-normalized logit and the above region-aware anomaly probabilities. For each pixel (j, k), uncertainty intensity Qj,k is computed as,
where the pixel (j, k) belongs to region Ri, F is the feature map, P(·, ·) is the region-aware anomaly probabilities. Uj,k (l) is the l-th output of pixel (j, k) in the non-normalized logit U. We then normalize the uncertainty intensity Qj,k for each pixel to obtain the anomalous probability map, which is used to identify the unknown regions in the image.
3.3 Incremental Few-shot Learning viaMCA
After the anomaly segmentation, open world semantic segmentation requires the model to identify all objects of M novel classes in the unknown regions. One way to realize the incremental few-shot learning is to use a few labeled images containing objects with novel classes to fine-tune the closeset segmentation model under the loss Lseg. However, experiments show that this improvement is trivial. We thus propose an innovative MCA module for further creating sub-regions in the unknown regions from anomaly images ˆX. MCA takes the prediction of the label predictor G in the close-set model as its input to output (N +K) channels with softmax activation C ∈ [0, 1](N+K)×H×W . The first N channels are the segmentation results for all in-distribution classes, while the last K(K > M) channels are meta channels to overly segment the unknown regions. Several MCA-related losses are integrated into Lseg during the fine-tuning, and the overall loss function is,
The first term Lseg is the segmentation loss for all indistribution classes from Equation 1. The second term utilizes the negative of Dices to minimize the intersection between any pairs of output channels, which is defined as:
where ℓdice(·, ·) indicates the dice loss and Ci, Cj are the i-th and j-th channels of the segmentation output.
The third term aims to avoid the sub-regions (candidates of OOD objects) gathering in a few certain channels:

where Cj,k i represent (j, k) pixel output of i-th channel and η is a hyper-parameter to control the separation. Lsplit reaches the minimum when the sub-regions scatter across the output channels according to Jenson's inequality.
The last term encourages the outputs of all channels to reconstruct the entire image, further avoiding loss of information:
where ⊙ is the element-wise multiplication operator and 1H×W is a matrix with all ones.
As shown in Figure 4, we observe that MCA tends to segment objects based on local semantic information. One unknown object may be segmented into more than one channel and lose completeness. (e.g., The windows and wheels of cars may be divided into different channels.) Therefore, we aggregate the sub-regions from certain meta channels according to few-shot (here L-shot) labeled images, which generates the candidate regions R = {R1,R2, · · · ,RT} for the final RAML module of incremental few-shot learning.
Similar to Equation 3, the region-aware feature embedding fobject for each region Ri could be computed. The prototype of i-th unknown class (1 ≤ i ≤ M) from L-shot newly labeled images is defined as:
where f (j) i represents the feature embedding of i-th unknown class in j-th annotated image. For each region-aware feature embedding fobject, we use cosine similarity to measure the distance between this candidate region and every unknown class:
The candidate region can be classified as the i-th novel class Cout,i only if the cosine similarities satisfy the following two criteria:
where θnovel is a hyper-parameter to control classification.

| Dataset | Lost and Found | Road Anomaly | ||||
|---|---|---|---|---|---|---|
| Method | AUPR↑ | AUROC↑ | FPR95↓ | AUPR↑ | AUROC↑ | FPR95↓ |
| Ensemble | - | 57 | - | - | 67 | - |
| RBM | - | 86 | - | - | 59 | - |
| MSP | 21 | 83 | 31 | 19 | 70 | 61 |
| MaxLogit | 37 | 91 | 21 | 32 | 78 | 49 |
| DUIR | - | 93 | - | - | 83 | - |
| DML | 45 | 97 | 10 | 37 | 84 | 37 |
| RAML(Ours) | 46 | 97 | 8 | 42 | 86 | 32 |
4 Experiments
Our experiments include three parts: (1) experimental results of anomaly segmentation in subsection 4.1; (2) experimental results of incremental few-shot learning results in subsection 4.2; (3) ablation studies in subsection 4.3 and Appendix.
4.1 Anomaly Segmentation
Datasets. 7000 full-frame annotated driving scenes from BDD100k [Yu et al., 2020] are used to train the close-set segmentation model, containing 19 categories of objects as in-distribution objects. For anomaly segmentation, we use another two road scene datasets, Lost and Found [Pinggera et al., 2016] and Road Anomaly [Lis et al., 2019], with anomalous objects other than ones in BBD100k.
Implementation details. We follow [Hendrycks et al., 2019; Cen et al., 2021] to use PSPNet as the network backbone of our close-set segmentation module and apply two fully connected layers for RAML. We follow [Hendrycks and Gimpel, 2017] to use three metrics to evaluate the performance of anomaly segmentation, including area under ROC curve (AUROC), area under the precision-recall curve (AUPR), and the false-positive rate at 95% recall (FPR95).
Results. As shown in Table 1, our proposed RAML module achieves the SOTA performance on Lost and Found and Road Anomaly for anomaly segmentation. Figure 5 presents some visual examples to compare RAML and the pixel-wise method. The proposed RAML module produces higher response values and better integrity within the anomalous objects, significantly reducing the false-negative cases.
4.2 Incremental Few-shot Learning
Datasets. we use Cityscapes dataset to train and evaluate our RAML module in the incremental few-shot learning step. Cityscapes consists of 2975 real-world images in the training set and 500 in the validation set with a resolution of 2048 × 1024. The division of training set and test set in our experiments is consistent with this division.
Implementation details. We follow [Cen et al., 2021] to train a DeeplabV3+ model as the close-set model, which is followed by two fully connected layers for RAML and use mean Intersection-over-Union (mIoU) to evaluate the performance of segmentation results. Specifically, mIoUold and mIoUnovel are the mIoUs of known and unknown classes, respectively. The metric mIoUharm is a comprehensive index [Xian et al., 2019] that balances mIoUold and mIoUnovel.


Results. We test our method on CityScapes and compare our method to pixel-wise NPM and PLM proposed by [Cen et al., 2021]. In our experiment, car, truck, and bus are 3 OOD classes not involved in the training stage while the other 16 classes are regarded as in-distribution classes. As shown in Table 2, our proposed RAML module outperforms the previous methods with a relatively large margin. According to Figure 8, pixel-wise metric learning shows erroneous broken segmentation results on OOD objects, while the proposed RAML demonstrates a remarkable ability to maintain the integrity of these results. In addition, Figure 6 shows that the feature embeddings produced by the proposed RAML maintain a reasonable inter-class distance and their intra-class distributions are also more concentrated. Such feature distribution could foster the model to obtain a robust decision boundary.
| 16+1 setting Method | road | sidewalk | building | wall | fence | pole | traffic light | traffic sign | vegetation terrain | sky person | rider | train | motorcycle | bicycle | car | truck | bus | mIoUall | mIoUnovel mIoUold | mIoUharm | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| All 17 | 97.8 | 82.4 | 91.8 | 52.3 | 57.5 | 59.9 | 64.1 | 74.2 | 91.9 61.4 | 94.6 79.4 | 58.8 | 75.6 | 61.7 | 74.9 | 94.8 | - | - | 74.9 | - | - | - |
| Baseline First 16 | 98.0 | 82.1 | 91.4 | 43.6 | 56.4 | 58.9 | 61.4 | 72.6 | 91.6 60.5 | 94.4 79.1 | 57.6 | 67.9 | 61.1 | 75.1 | - - | - | 72.0 | - | - | - | |
| FT | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 0.0 | 0.0 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 6.6 | - | - | 0.4 | 6.6 | 0.0 | 0.0 |
| 41.9 | 60.8 | 71.0 | 34.2 | - | 64.4 | 75.7 | 63.7 | ||||||||||||||
| PLM | 97.1 | 79.3 | 89.2 | 55.3 | 57.5 | 91.1 59.4 | 93.9 73.3 | 49.2 | 14.3 | 51.8 | 75.7 | - | 69.2 | ||||||||
| 5 shot NPM | 96.2 97.3 | 79.3 | 89.2 | 41.6 | 52.0 | 56.3 | 61.1 | 69.4 | 90.4 58.8 | 94.1 74.4 | 55.3 | 53.4 | 39.2 | 70.3 | 64.6 - | - | 67.4 | 64.6 | 67.6 | 66.1 | |
| RAML(Ours) PLM | 96.8 | 82.6 77.1 | 91.4 89.6 | 51.0 | 57.2 | 59.2 53.2 | 65.5 60.3 | 74.4 64.5 | 91.7 63.9 90.3 55.6 | 94.7 79.1 94.3 59.1 | 59.1 43.6 | 23.7 39.5 | 52.1 12.0 | 72.3 | 85.2 35.7 | - - | - - | 70.6 60.4 | 85.2 64.5 | 69.7 60.1 | 76.7 62.2 |
| 1 shot NPM | 95.9 | 79.2 | 88.8 | 41.4 | 48.7 | 56.0 | 61.0 | 69.1 | 90.2 58.6 | 94.1 73.6 | 55.1 | 49.7 | 37.4 | 69.6 | 64.5 60.1 | - | - | 66.5 | 60.1 | 66.9 | 63.3 |
| RAML(Ours) | 41.3 | 50.5 | 91.8 | 94.7 | 85.5 | ||||||||||||||||
| 97.4 | 82.6 | 91.5 | 51.0 | 57.3 | 59.3 | 65.5 | 74.4 | 64.0 | 79.2 | 59.1 | 11.5 | 52.2 | 72.4 | 85.5 | - | - | 70.0 | 69.0 | 76.4 | ||
| 16+3 setting All 19 | 91.7 | 59.8 | 64.2 | 61.2 | 79.7 | 59.1 | 63.9 | 61.5 | 75.0 | 94.2 | 78.5 | 81.4 | 74.8 | - | - | - | |||||
| Baseline First 16 | 97.9 98.0 | 83.0 82.1 | 91.4 | 51.5 43.6 | 58.3 56.4 | 58.9 | 61.4 | 74.2 72.6 | 92.0 91.6 60.5 | 94.6 94.4 79.1 | 57.6 | 67.9 | 61.1 | 75.1 | - | - | - | 72.0 | - | - | - |
| 0.0 | 0.0 | 0.0 | 0.0 | ||||||||||||||||||
| FT | 0.0 | 0.0 | 0.0 | 0.0 | 58.8 | 61.0 | 0.0 0.0 | 0.0 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.4 | 0.0 | 0.1 | 0.0 | 0.0 | |||
| PLM NPM | 97.1 | 79.2 79.3 | 84.8 | 38.1 | 46.4 | 56.8 56.3 | 60.7 | 69.0 | 91.0 59.3 58.8 | 92.9 63.6 74.3 | 47.5 | 3.4 | 13.8 | 47.5 | 67.0 | 0.0 5.7 | 12.0 21.0 | 54.0 58.2 | 28.2 26.1 | 58.8 64.2 | 38.1 |
| 5 shot RAML(Ours) | 96.1 | 58.7 | 41.5 | 51.5 | 90.4 64.0 | 94.1 | 55.1 | 32.0 | 39.1 | 70.2 | 55.7 | 1.6 | 37.1 | ||||||||
| 97.3 | 82.6 | 91.1 | 50.6 | 57.2 | 59.1 | 65.5 | 74.1 | 91.7 | 94.7 79.0 | 58.9 | 3.7 | 52.2 | 72.3 | 79.3 | 9.7 | 26.0 | 63.6 | 38.4 | 68.4 | 49.1 | |
| 1 shot PLM NPM RAML(Ours) | 96.8 95.8 | 75.2 79.2 | 49.0 44.6 | 33.1 41.2 | 31.4 50.2 | 48.0 56.0 | 33.2 60.5 | 44.6 67.5 | 89.7 55.3 90.1 58.6 | 23.0 42.1 94.0 73.5 | 32.8 54.9 | 5.3 24.9 | 8.0 37.2 | 27.7 69.6 | 30.4 54.5 | 0.7 1.1 | 9.5 22.0 | 38.7 56.6 | 13.5 25.9 | 43.4 62.3 | 20.6 36.5 |
| 97.4 | 82.6 | 91.3 | 50.3 | 56.0 | 59.2 | 65.5 | 74.1 | 91.7 63.9 | 94.7 79.1 | 58.9 | 3.9 | 52.2 | 72.4 | 80.9 | 5.5 | 23.0 | 63.2 | 36.5 | 68.3 | 47.5 |

4.3 Ablation Study
Ratio of unknown classes to known classes. The performance of the trained segmentation model has highly correlated with the amount of training information. We compare our proposed RAML method with the current SOTA method, NPM [Cen et al., 2021], under the different ratios of unknown classes to known classes. As shown in Figure 7, although our RAML method has a decline in performance as the ratio increases, it outperforms NPM in all ratio settings.
| Method | mIoUall | mIoUnovel | mIoUold | mIoUharm |
|---|---|---|---|---|
| Baseline | 49.1 | 1.5 | 58.0 | 2.9 |
| +Lrec | 61.8 | 33.6 | 67.1 | 43.2 |
| +Lrec + Lsplit | 62.6 | 37.6 | 67.3 | 48.3 |
| +Lrec +Lsplit +Linter | 63.6 | 38.4 | 68.3 | 49.1 |
Losses in MCA. This section evaluates the losses of our MCA module. As shown in Table 3, the reconstruction loss ensures that our model obtains all information for the unknown classes, significantly improving the validity of MCA. The intersection loss and split loss also bring relatively smaller gains by improving the distribution of candidate regions in meta channels.
5 Conclusion
We have proposed RAML to enhance the performance of open world semantic segmentation. The main reason is that the region-aware feature outperforms the pixel-wise feature on maintaining the semantic integrity of the segmented OOD objects. Effective region separation methods are needed to realize RAML on anomaly segmentation and incremental fewshot learning. We, therefore, adopt the classic uncertaintybased methods to extract candidate regions for anomaly segmentation and propose an MCA module to further separate the anomaly regions for incremental few-shot learning. Experimental results show that our proposed method achieves the SOTA performance on the anomaly segmentation and the overall open world semantic segmentation. Our method has the potential to boost the use of open world semantic segmentation in practical applications.
6 Acknowledgments
This work is supported by the Grants under the National Natural Science Foundation of China (NSFC) under Grants 12090022, 11831002, 71704023, and Beijing Natural Science Foundation (Z180001).
@inproceedings{ijcai2022p121,
title = {Region-Aware Metric Learning for Open World Semantic Segmentation via Meta-Channel Aggregation},
author = {Dong, Hexin and Chen, Zifan and Yuan, Mingze and Xie, Yutong and Zhao, Jie and Yu, Fei and Dong, Bin and Zhang, Li},
booktitle = {Proceedings of the Thirty-First International Joint Conference on
Artificial Intelligence, {IJCAI-22}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Luc De Raedt},
pages = {863--869},
year = {2022},
month = {7},
note = {Main Track},
doi = {10.24963/ijcai.2022/121},
url = {https://doi.org/10.24963/ijcai.2022/121},
}
TY - CPAPER TI - Region-Aware Metric Learning for Open World Semantic Segmentation via Meta-Channel Aggregation AU - Dong, Hexin AU - Chen, Zifan AU - Yuan, Mingze AU - Xie, Yutong AU - Zhao, Jie AU - Yu, Fei AU - Dong, Bin AU - Zhang, Li T2 - Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI-22 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2022 SP - 863 EP - 869 DO - 10.24963/ijcai.2022/121 UR - https://doi.org/10.24963/ijcai.2022/121 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: