[논문 리뷰] CASP: Few-Shot Class-Incremental Learning with CLS Token Attention Steering Prompts
CASP는 FSCIL용 ViT 자기-주 attention를 조절하기 위해 CLS Token Attention Steering Prompts를 도입하여 대칭 프롬프트 주입, 주의력 드롭아웃, 도메인 적응 프롬프트, 그리고 Manifold Token Mixup을 활용하고, 최소한의 학습 가능 매개변수와 점진적 파인튜닝 없이 최첨단 결과를 달성한다.
Few-shot class-incremental learning (FSCIL) presents a core challenge in continual learning, requiring models to rapidly adapt to new classes with very limited samples while mitigating catastrophic forgetting. Recent prompt-based methods, which integrate pretrained backbones with task-specific prompts, have made notable progress. However, under extreme few-shot incremental settings, the model's ability to transfer and generalize becomes critical, and it is thus essential to leverage pretrained knowledge to learn feature representations that can be shared across future categories during the base session. Inspired by the mechanism of the CLS token, which is similar to human attention and progressively filters out task-irrelevant information, we propose the CLS Token Attention Steering Prompts (CASP). This approach introduces class-shared trainable bias parameters into the query, key, and value projections of the CLS token to explicitly modulate the self-attention weights. To further enhance generalization, we also design an attention perturbation strategy and perform Manifold Token Mixup in the shallow feature space, synthesizing potential new class features to improve generalization and reserve the representation capacity for upcoming tasks. Experiments on the CUB200, CIFAR100, and ImageNet-R datasets demonstrate that CASP outperforms state-of-the-art methods in both standard and fine-grained FSCIL settings without requiring fine-tuning during incremental phases and while significantly reducing the parameter overhead.
연구 동기 및 목표
- 극단적인 Few-shot Class-Incremental Learning 도전과제를 다룸으로써 FSCIL 연구를 촉진한다.
- CLS-token 기반 주의 모듈화를 통해 기본 세션에서 향후 작업으로의 지식 전이를 강제한다.
- 증분 단계에서 백본 파인 튜닝을 피하면서 매개변수 효율적인 프롬핑 메커니즘을 개발한다.
- 일반화 역량을 향상시키고 미지의 향후 클래스에 대비한 표현 공간을 보존한다.
- 효율적인 학습으로 표준 FSCIL 벤치마크에서 최첨단 성능을 시연한다.
제안 방법
- 각 MSA 계층에서 CLS 토큰의 쿼리(query), 키(key), 값(value) 투영을 조정하기 위해 CLS Token Attention-Guided Prompts를 도입한다.
- 드롭아웃이 있는 교란된 CLS Token Attention-Guided Prompts를 적용하여 주의를 정규화하고 일반화(PCAP)를 향상시킨다.
- 사전학습된 CLS 토큰의 도메인 편향을 상쇄하기 위해 학습 가능한 도메인 분리 벡터(CDAP)를 추가하여 CLS Domain Adaptation Prompt를 추가한다.
- base 학습 중 얕은 ViT 토큰 특징을 혼합하여 강건한 특징 표현을 합성하기 위해 Manifold Token Mixup(MTM)을 도입한다.
- 코사인 프로토타입을 분류에 사용하고 증분 단계에서 최소한의 백본 업데이트로 매개변수 효율적인 구성을 유지한다.
실험 결과
연구 질문
- RQ1CASP가 FSCIL에서 기본 세션으로부터 아주 낮은 샷의 새로운 클래스들로의 지식 전이를 향상시킬 수 있는가?
- RQ2CLS 토큰 투영 간의 대칭 프롬프트 주입이 자기 주의성을 강화하여 미래 작업에 대한 일반화를 향상시키는가?
- RQ3주의 교란과 MTM이 더 큰 강건성을 가져오고 보이지 않는 클래스에 대한 표현 용량을 보존하는가?
- RQ4훨씬 더 적은 학습 가능 매개변수와 점진적 파인튜닝 없이 최첨단 FSCIL 방법을 능가할 수 있는가?
주요 결과
- CASP는 FSCIL 설정에서 CUB200, CIFAR100, ImageNet-R 벤치마크에서 최첨단 결과를 달성한다.
- CASP는 증분 단계에서 파인튜닝이 필요없으면서 기준 대비 높은 정확도 향상을 제공한다.
- CASP는 매개변수 효율성이 크게 뛰어나며, CUB200에서 ViT-B/16-1K로 학습 가능한 백본 파라미터가 0.027 MB에 불과하고 총 학습 가능한 파라미터가 0.1 MB이다.
- 제거 실험은 각 CASP 구성요소(CAGP, PCAP, CDAP, MTM)가 성능에 기여하며 전체 모델이 최상의 결과를 내는 것을 보여준다.
- 시각화는 CASP가 baselines에 비해 더 집중된 클래스 활성화 맵과 임베딩 공간의 더 나은 분리성을 만들어냄을 나타낸다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.