[논문 리뷰] Exploring Efficient Few-shot Adaptation for Vision Transformers
이 논문은 Attentive Prefix Tuning (APT) 및 Domain Residual Adapter (DRA)를 활용하여 ViT 기반의 적은 파라미터 학습으로 few-shot 학습을 위한 Efficient Transformer Tuning (eTT)을 제시한다. Meta-Dataset 성능을 강하게 달성한다.
The task of Few-shot Learning (FSL) aims to do the inference on novel categories containing only few labeled examples, with the help of knowledge learned from base categories containing abundant labeled training samples. While there are numerous works into FSL task, Vision Transformers (ViTs) have rarely been taken as the backbone to FSL with few trials focusing on naive finetuning of whole backbone or classification layer.} Essentially, despite ViTs have been shown to enjoy comparable or even better performance on other vision tasks, it is still very nontrivial to efficiently finetune the ViTs in real-world FSL scenarios. To this end, we propose a novel efficient Transformer Tuning (eTT) method that facilitates finetuning ViTs in the FSL tasks. The key novelties come from the newly presented Attentive Prefix Tuning (APT) and Domain Residual Adapter (DRA) for the task and backbone tuning, individually. Specifically, in APT, the prefix is projected to new key and value pairs that are attached to each self-attention layer to provide the model with task-specific information. Moreover, we design the DRA in the form of learnable offset vectors to handle the potential domain gaps between base and novel data. To ensure the APT would not deviate from the initial task-specific information much, we further propose a novel prototypical regularization, which maximizes the similarity between the projected distribution of prefix and initial prototypes, regularizing the update procedure. Our method receives outstanding performance on the challenging Meta-Dataset. We conduct extensive experiments to show the efficacy of our model.
연구 동기 및 목표
- 효율적인 ViT 기반 파인튜닝을 통한 few-shot 학습(FSL) 대비 비용이 큰 계산량과 기초 방법들의 과적합을 극복하려는 동기 부여.
- ViTs를 제한된 데이터로 새로운 태스크에 적응시키는 경량 튜닝 프레임워크(eTT)를 제안, APT와 DRA를 결합.
- 프리픽스 업데이트 중 태스크별 지식을 보존하기 위한 프로토타입 규제 도입.
- 추가 데이터 없이 ViT 백본으로 Meta-Dataset에서 State-of-the-art 또는 경쟁력 있는 FSL 성능을 입증
제안 방법
- base 데이터에서 self-supervised DINO로 ViT를 사전 학습시켜 강 robust 표현을 얻음.
- Attentive Prefix Tuning (APT) 사용: attentive 프로토타입에서 태스크별 시각 프리픽스를 초기화하고 self-attention 층마다 학습된 key/value 쌍을 부착함.
- Domain Residual Adapter (DRA) 도입: Transformer 층별로 작은 도메인 오프셋 벡터를 학습하여 base 도메인과 novel 도메인 간 간극을 연결함.
- 프리픽스 업데이트가 초기 프로토타입과 맞물리도록 projected distributions를 매칭하는 프로토타입 규제 적용.
- 교차 엔트로피 손실과 distillation 기반의 프로토타입 규제의 조합으로 Fine-tune(L = L_CE + lambda L_dist) 실시.
- ViT-small/ViT-tiny를 사용하는 경우 Fine-tuning 중 학습 가능한 파라미터가 전체 ViT의 약 9%에 달하는 효율성 보고

실험 결과
연구 질문
- RQ1ViT 기반 백본을 대규모 재학습 없이 효과적으로 파인튜닝하여 FSL에서의 효율성을 달성할 수 있는가?
- RQ2attentive prototypes와 경량 어댑터가 도메인 변화에서 태스크 적응을 개선할 수 있는가?
- RQ3프토타입 규제가 급속한 파인튜닝 중 태스크별 정보를 보존하는 데 도움이 되는가?
- RQ4대규모 FSL 벤치마크인 Meta-Dataset에서 ResNet 기반 방법과 비교하여 eTT의 실험적 성능은 어떠한가?
주요 결과
- eTT with ViT-small은 Meta-Dataset 성능에서 강력한 성능을 달성하며 평균 순위가 경쟁력 있음(예: ViT-tiny 및 ViT-small 구성에서 4.1, ViT-s의 일부 설정에서 1.6 평균 순위).
- 여러 데이터셋에서 eTT는 CTX 및 TSA 대비 상당한 차이로 강력한 베이스라인보다 우수한 성능을 보임(약 8% 및 10% 차이).
- eTT는 학습 가능한 파라미터가 ViT-small 구성에서 전체 ViT 모델의 약 9% 수준으로 높은 효율을 달성.
- 추가 학습 데이터 없이 self-supervised DINO 사전학습 사용은 Meta-Dataset에서의 FSL 일반화에 유리한 효과를 보임.
- 이 방법은 Attentive Prefix Tuning과 Domain Residual Adapters를 결합하여 큰 도메인 간 극복에도 견고함을 유지함.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.