Twins

March 30, 2023 ยท View on GitHub


Catalogue

1. Overview

The Twins network includes Twins-PCPVT and Twins-AVT-GVT, which focuses on the meticulous design of the spatial attention mechanism, resulting in a simple but more effective solution. Since the architecture only involves matrix multiplication, and the current deep learning framework has a high degree of optimization for matrix multiplication, the architecture is very efficient and easy to implement. Moreover, this architecture can achieve excellent performance in a variety of downstream vision tasks such as image classification, target detection, and semantic segmentation. Paper.

2. Accuracy, FLOPs and Parameters

ModelsTop1Top5Reference
top1
Reference
top5
FLOPs
(G)
Params
(M)
pcpvt_small0.80820.95520.812-3.724.1
pcpvt_base0.82420.96190.827-6.443.8
pcpvt_large0.82730.96500.831-9.560.9
alt_gvt_small0.81400.95460.817-2.824
alt_gvt_base0.82940.96210.832-8.356
alt_gvt_large0.83310.96420.837-14.899.2

Note:The difference in accuracy from Reference is due to the difference in data preprocessing.