DSP: Dual Soft-Paste for Unsupervised Domain Adaptive Semantic Segmentation
Weak feature representation problem has influenced the performance of
few-shot classification task for a long time. To alleviate this problem, recent
researchers build connections between support and query instances through
embedding patch features to generate discriminative representations. However,
we observe that there exists semantic mismatches (foreground/ background) among
these local patches, because the location and size of the target object are not
fixed. What is worse, these mismatches result in unreliable similarity
confidences, and complex dense connection exacerbates the problem. According to
this, we propose a novel Clustered-patch Element Connection (CEC) layer to
correct the mismatch problem. The CEC layer leverages Patch Cluster and Element
Connection operations to collect and establish reliable connections with high
similarity patch features, respectively. Moreover, we propose a CECNet,
including CEC layer based attention module and distance metric. The former is
utilized to generate a more discriminative representation benefiting from the
global clustered-patch features, and the latter is introduced to reliably
measure the similarity between pair-features. Extensive experiments demonstrate
that our CECNet outperforms the state-of-the-art methods on classification
benchmark. Furthermore, our CEC approach can be extended into few-shot
segmentation and detection tasks, which achieves competitive performances.