Recent self-supervised contrastive learning methods greatly benefit from the Siamese structure that aims at minimizing distances between positive pairs. For high performance Siamese representation learning, one of the keys is to design good contrastive pairs. Most previous works simply apply random sampling to make different crops of the same image, which overlooks the semantic information that may degrade the quality of views. In this work, we propose ContrastiveCrop, which could effectively generate better crops for Siamese representation learning. Firstly, a semantic-aware object localization strategy is proposed within the training process in a fully unsupervised manner. This guides us to generate contrastive views which could avoid most false positives (i.e., object vs. background). Moreover, we empirically find that views with similar appearances are trivial for the Siamese model training. Thus, a center-suppressed sampling is further designed to enlarge the variance of crops. Remarkably, our method takes a careful consideration of positive pairs for contrastive learning with negligible extra training overhead. As a plug-and-play and framework-agnostic module, ContrastiveCrop consistently improves SimCLR, MoCo, BYOL, SimSiam by 0.4% ~ 2.0% classification accuracy on CIFAR-10, CIFAR-100, Tiny ImageNet and STL-10. Superior results are also achieved on downstream detection and segmentation tasks when pre-trained on ImageNet-1K.
Improving Semi-Supervised Semantic Segmentation with Dual-Level Siamese Structure Network
School of Information Science and Engineering, Lanzhou University(兰州大学信息科学与工程学院);College of Computer Science and Engineering, Shandong University of Science and Technology(山东科技大学计算机科学与工程学院)
Free-Form Image Inpainting via Contrastive Attention Network
University of Chinese Academy of Sciences(中国科学院大学);Meituandianping Group(美团点评集团);CASIA(中国科学院自动化研究所);University of Science and Technology of China(中国科学技术大学)
大多数基于深度学习的图像修补方法采用自动编码器或其变体来填充图像中的缺失区域。编码器通常用于学习强大的表征空间,这对于处理复杂的学习任务非常重要。具体地,在图像修补任务中,具有任何形状的掩模可以出现在图像中的任何地方(即,自由形式的掩模),其形成复杂的图案。编码器很难在这种复杂的情况下捕获如此强大的表示。为了解决这个问题,我们提出了一个自监督的连体推理网络,以提高鲁棒性和泛化能力。它可以从全分辨率图像编码上下文语义,并获得更多的歧视性表示。我们还提出了一种多尺度解码器,该解码器具有新颖的双注意力融合模块(DualAttention Fusion Module,DualAttention Fusion Module),其可以以平滑的方式组合恢复的区域和已知的区域。这种多尺度架构有利于将编码器学习到的区别性表示逐层解码为图像。这样,未知的区域就会由外而内自然填充。在多个数据集上进行定性和定量实验,包括面部和自然数据集(即,Celeb-HQ,Pairs Street View,Places 2和ImageNet),证明了我们提出的方法在生成高质量修复结果方面优于最先进的方法。
Road Traffic Sign Recognition method using Siamese network Combining Efficient-CNN based Encoder
School of Electronic and Electrical Engineering, Shanghai University of Engineering Science(上海工程技术大学电子与电气工程学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)
Mitigating Spurious Negative Pairs for Robust Industrial Anomaly Detection
École Polytechnique Fédérale de Lausanne (EPFL)(洛桑联邦理工学院);Sharif University of Technology(谢里夫理工大学);Okinawa Institute of Science and Technology(冲绳科学技术大学院大学)