상세 보기
Redesigning Embedding Layers for Queries, Keys, and Values in Cross-Covariance Image Transformers
- Ahn, Jaesin;
- Hong, Jiuk;
- Ju, Jeongwoo;
- Jung, Heechul
WEB OF SCIENCE
2SCOPUS
3초록
There are several attempts in vision transformers to reduce quadratic time complexity to linear time complexity according to increases in the number of tokens. Cross-covariance image transformers (XCiT) are also one of the techniques utilized to address the issue. However, despite these efforts, the increase in token dimensions still results in quadratic growth in time complexity, and the dimension is a key parameter for achieving superior generalization performance. In this paper, a novel method is proposed to improve the generalization performances of XCiT models without increasing token dimensions. We redesigned the embedding layers of queries, keys, and values, such as separate non-linear embedding (SNE), partially-shared non-linear embedding (P-SNE), and fully-shared non-linear embedding (F-SNE). Finally, a proposed structure with different model size settings achieved 71.4%,77.8%, and 82.1% on ImageNet-1k compared with 69.9%,77.1%, and 82.0% acquired by the original XCiT models, namely XCiT-N12, XCiT-T12, and XCiT-S12, respectively. Additionally, the proposed model achieved 94.8% in transfer learning experiments, on average, for CIFAR-10, CIFAR-100, Stanford Cars, and STL-10, which is superior to the baseline model of XCiT-S12 (94.5%). In particular, the proposed models demonstrated considerable improvements on the out-of-distribution detection task compared to the original XCiT models.
키워드
- 제목
- Redesigning Embedding Layers for Queries, Keys, and Values in Cross-Covariance Image Transformers
- 저자
- Ahn, Jaesin; Hong, Jiuk; Ju, Jeongwoo; Jung, Heechul
- 발행일
- 2023-04
- 유형
- Article
- 저널명
- MATHEMATICS
- 권
- 11
- 호
- 8
- 언어
- ENG
- 출판사
- MDPI
- 발행국가
- 스위스
- ISSN
- E 2227-7390