Multi-Head Self-Attention via Vision Transformer for Zero-Shot Learning

Faisal Alamri, Anjan Dutta
7/30/2021
48 citations
cs.CVcs.LG
transformer-attention

Official code: FaisalAlamri0/ViT-ZSL (33 stars, Jupyter Notebook, last commit 2021-08-03).

Abstract

Zero-Shot Learning (ZSL) aims to recognise unseen object classes, which are not observed during the training phase. The existing body of works on ZSL mostly relies on pretrained visual features and lacks the explicit attribute localisation mechanism on images.

Show full abstract

In this work, we propose an attention-based model in the problem settings of ZSL to learn attributes useful for unseen class recognition. Our method uses an attention mechanism adapted from Vision Transformer to capture and learn discriminative attributes by splitting images into small patches. We conduct experiments on three popular ZSL benchmarks (i.e., AWA2, CUB and SUN) and set new state-of-the-art harmonic mean results {on all the three datasets}, which illustrate the effectiveness of our proposed method.

View on arXivView PDF

Code Implementations(1)

Multi-Headed Self-Attention via Vision Transformer for Zero-Shot Learning (ViT-ZSL)

3311Jupyter NotebookJul 29, 20215 years ago

Similar Papers

Cite this paper

@article{alamri2021multihead,
  title  = {Multi-Head Self-Attention via Vision Transformer for Zero-Shot Learning},
  author = {Faisal Alamri and Anjan Dutta},
  year   = {2021},
  eprint = {2108.00045},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.00045}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.00045.svg)](https://codeofpaper.com/paper/2108.00045)

Discussion