In this article, a novel self-supervised Siamese transformer (S3Transformer) model is proposed to segment silicon wafer surface defects which includes two modules, namely Siamese representation ...