IDPL Intra-subdomain adaptation adversarial learning segmentation method based on Dynamic Pseudo Labels

2025-05-08 0 0 1.51MB 13 页 10玖币
侵权投诉
IDPL: Intra-subdomain adaptation adversarial
learning segmentation method based on
Dynamic Pseudo Labels
Xuewei Li1,2,3[0000000253307298], Weilun Zhang4, Jie Gao1,2,3, Xuzhou
Fu1,2,3, and Jian Yu1,2,3( )
1College of Intelligence and Computing, Tianjin University, Tianjin, China.
2Tianjin Key Laboratory of Cognitive Computing and Application, Tianjin, China.
3Tianjin Key Laboratory of Advanced Networking, Tianjin, China.
{lixuewei,gaojie,fuxuzhou,yujian}@tju.edu.cn
4Tianjin International Engineering Institute, Tianjin University, Tianjin, China.
zhangweilun@tju.edu.cn
Corresponding Author
Abstract. Unsupervised domain adaptation(UDA) has been applied to
image semantic segmentation to solve the problem of domain offset. How-
ever, in some difficult categories with poor recognition accuracy, the seg-
mentation effects are still not ideal. To this end, in this paper, Intra-
subdomain adaptation adversarial learning segmentation method based
on Dynamic Pseudo Labels(IDPL) is proposed. The whole process con-
sists of 3 steps: Firstly, the instance-level pseudo label dynamic genera-
tion module is proposed, which fuses the class matching information in
global classes and local instances, thus adaptively generating the optimal
threshold for each class, obtaining high-quality pseudo labels. Secondly,
the subdomain classifier module based on instance confidence is con-
structed, which can dynamically divide the target domain into easy and
difficult subdomains according to the relative proportion of easy and
difficult instances. Finally, the subdomain adversarial learning module
based on self-attention is proposed. It uses multi-head self-attention to
confront the easy and difficult subdomains at the class level with the help
of generated high-quality pseudo labels, so as to focus on mining the fea-
tures of difficult categories in the high-entropy region of target domain
images, which promotes class-level conditional distribution alignment be-
tween the subdomains, improving the segmentation performance of diffi-
cult categories. For the difficult categories, the experimental results show
that the performance of IDPL is significantly improved compared with
other latest mainstream methods.
Keywords: unsupervised domain adaptation (UDA) ·semantic segmen-
tation ·difficult category ·dynamic pseudo labels ·intra-subdomain ad-
versarial learning
arXiv:2210.03435v2 [cs.CV] 20 Oct 2022
2 X. Li et al.
1 Introduction
The domain shift problem in UDA manifests itself as the inter-domain discrep-
ancy problem between synthetic images and real images in semantic segmenta-
tion task, making difficult to generalize the model trained with synthetic data
to real data. Previous UDA methods [1,2] have done a lot of works to reduce
the domain shift, but there are still some problems with existing methods: First
of all, most of the self-training methods based on pseudo labels select a fixed
threshold to filter all pseudo labels with high confidence [3,4]. The model pay
more attention to the conditional distribution alignment of the samples in easy
categories between the two domains, resulting in the samples in difficult cate-
gories with high entropy may be discarded; Moreover, most methods adopt the
strategy of global threshold [5,6], ignoring the separate consideration of differ-
ent classes, which increases the risk of class imbalance in the generated pseudo
labels.These problems lead to low accuracy of generated pseudo labels.
In addition, to alleviate the distribution gap between data within the target
domain, the unsupervised intra-domain adaptation methods are proposed. For
example, UIDA [7] considers the global feature map of samples during adversarial
training between the easy and difficult subdomains. However, not all spatial
regions maintain high entropy for difficult samples. Using global features for
adversarial learning, the feature extraction of difficult samples in low-entropy
regions may be affected, causing negative transfer. Therefore it is not reliable to
use the global entropy of the predicted probability maps to divide easy/difficult
subdomains. The results are shown in Fig. 1, for ”difficult” categories (such as
”pole” in purple boxes, ”bike” in green boxes, and ”sidewalk” in brown boxes),
this method does not work well.
Inspired by UIDA [7], this paper proposes a more stable domain adap-
tation method to achieve intra-subdomain adversarial training, namely Intra-
subdomain adaptation adversarial learning method based on Dynamic Pseudo
Labels (IDPL). The method consists of 3 parts: Firstly, in order to improve
the pseudo labels quality of intra-domain adversarial learning, the instance-level
pseudo labels dynamic generation module is proposed. The threshold is dynami-
cally adjusted for different semantic classes of each image, so that the model pays
more attention to the high-entropy regions in the image; Then, the subdomain
classifier module based on instance confidence is constructed to realize the hierar-
chical division from easy instances/difficult instances to easy subdomain/difficult
subdomain; Finally, on the basis of the divided two subdomains, the subdomain
adversarial learning module based on self-attention is constructed, and the mul-
tiple discriminator head structure is introduced to mine the class information
contained in the high-entropy or entropy fluctuation regions, so as to more ac-
curately narrow the intra-domain differences. As shown in Fig. 1, the pseudo
labels of IDPL are significantly better than the comparison method, especially
in these ”difficult” categories.
The main contributions of this paper are summarized as follows:
(1)The instance-level pseudo labels dynamic generation module is proposed,
which aims to dynamically adjust the global threshold of each class according to
IDPL 3
Image ground truth UIDA ours
Fig. 1: Comparison of pseudo label results between IDPL and similar method.
the instance prediction of each class, fuse local and global information to guide
the model to generate high-quality pseudo labels.
(2)The intra-subdomain adversarial learning module based on instance con-
fidence is proposed. The confidence coefficient is constructed according to the
relative proportion of easy and difficult instances, thus the target domain can
be accurately divided into image-level easy and difficult subdomains; Guide the
model to generate subdomain invariant features through intra-domain adversar-
ial training at the semantic class level, so that the model pays more attention
to the more difficult categories, and the influence of concentrated high-entropy
regions on segmentation results can be alleviated more effectively.
2 Method
The overall framework is shown in Fig. 2. The method can be divided into 3
steps. Firstly, momentum is introduced for each instance to gradually update
the threshold for each class, generating high-quality pseudo labels. Secondly, the
confidence of each instance is calculated, and they are classified, then the target
domain is split according to the relative proportion of the two types of instances.
Thirdly, the self-attention heads are used to apply self-attention to each class
of the two subdomains separately, and the self-attention maps are used as the
weight of each class to conduct inter-class subdomain adversarial training.
2.1 Instance-level pseudo labels dynamic generation module(PLDG)
First, the pre-trained segmentation model G is used for preliminary prediction
of the target domain image, and the predicted probability maps MT=G(XT)
is obtained. Then, softmax is used to calculate the class probability prediction
of each pixel position (ht, wt) in the image XT, as shown in Eq. (1):
pxt
i,ht,wt=em(ht,wt,i)
t
PC
j=1 em(ht,wt,j)
t
, mtMt(1)
Where irepresents a specific semantic class, i∈ {0,1, . . . , C}; The number with
the largest value along the channel direction of a certain pixel position (ht, wt)
represents the class prediction probability of this pixel, and the corresponding
摘要:

IDPL:Intra-subdomainadaptationadversariallearningsegmentationmethodbasedonDynamicPseudoLabelsXueweiLi1;2;3[0000000253307298],WeilunZhang4,JieGao1;2;3,XuzhouFu1;2;3,andJianYu1;2;3()1CollegeofIntelligenceandComputing,TianjinUniversity,Tianjin,China.2TianjinKeyLaboratoryofCognitiveComputingandApplicati...

展开>> 收起<<
IDPL Intra-subdomain adaptation adversarial learning segmentation method based on Dynamic Pseudo Labels.pdf

共13页,预览3页

还剩页未读, 继续阅读

声明:本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。玖贝云文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知玖贝云文库,我们立即给予删除!
分类:图书资源 价格:10玖币 属性:13 页 大小:1.51MB 格式:PDF 时间:2025-05-08

开通VIP享超值会员特权

  • 多端同步记录
  • 高速下载文档
  • 免费文档工具
  • 分享文档赚钱
  • 每日登录抽奖
  • 优质衍生服务
/ 13
客服
关注