Feature Embedding by Template Matching as a ResNet Block


Creative Commons License

Görgün A., Gürbüz Y. Z., Alatan A. A.

33rd British Machine Vision Conference Proceedings, BMVC 2022, London, İngiltere, 21 - 24 Kasım 2022 identifier

  • Yayın Türü: Bildiri / Tam Metin Bildiri
  • Basıldığı Şehir: London
  • Basıldığı Ülke: İngiltere
  • Orta Doğu Teknik Üniversitesi Adresli: Evet

Özet

Convolution blocks serve as local feature extractors and are the key to success of the neural networks. To make local semantic feature embedding rather explicit, we reformulate convolution blocks as feature selection according to the best matching kernel. In this manner, we show that typical ResNet blocks indeed perform local feature embedding via template matching once batch normalization (BN) followed by a rectified linear unit (ReLU) is interpreted as arg-max optimizer. Following this perspective, we tailor a residual block that explicitly forces semantically meaningful local feature embedding through using label information. Specifically, we assign a feature vector to each local region according to the classes that the corresponding region matches. We evaluate our method on three popular benchmark datasets with several architectures for image classification and consistently show that our approach substantially improves the performance of the baseline architectures.