Skip to main content
QUICK REVIEW

[논문 리뷰] Neural Priming for Sample-Efficient Adaptation

Matthew Wallingford, Vivek Ramanujan|arXiv (Cornell University)|2023. 06. 16.
Domain Adaptation and Few-Shot LearningComputer Science인용 수 3
한 줄 요약

이 논문은 CLIP 임베딩을 사용하여 고품질의 의미 필터링이 된 시각적 프라밍 풀을 구성함으로써, 소수의 예시로도 효율적인 적응을 향상시키기 위해 신경 프라밍을 제안한다. 의미적으로 유사하거나 모호한 간섭 항목들(예: '돼지' 클래스에서 '구라시')을 제거함으로써 레이블 혼동을 줄이고, 제로샷 일반화 성능을 향상시킨다. 이로써 최소한의 레이블 예시로도 최신 기술 수준의 성능을 달성한다.

ABSTRACT

We propose Neural Priming, a technique for adapting large pretrained models to distribution shifts and downstream tasks given few or no labeled examples. Presented with class names or unlabeled test samples, Neural Priming enables the model to recall and conditions its parameters on relevant data seen throughout pretraining, thereby priming it for the test distribution. Neural Priming can be performed at test time, even for pretraining datasets as large as LAION-2B. Performing lightweight updates on the recalled data significantly improves accuracy across a variety of distribution shift and transfer learning benchmarks. Concretely, in the zero-shot setting, we see a 2.45% improvement in accuracy on ImageNet and 3.81% accuracy improvement on average across standard transfer learning benchmarks. Further, using Neural Priming at inference to adapt to distribution shift, we see a 1.41% accuracy improvement on ImageNetV2. These results demonstrate the effectiveness of Neural Priming in addressing the challenge of limited labeled data and changing distributions. Code is available at github.com/RAIVNLab/neural-priming.

연구 동기 및 목표

  • 의미적으로 유사하지만 다른 클래스들(예: '돼지'와 '구라시')로 인해 발생하는 소수의 예시 학습에서의 레이블 혼동 문제를 해결하기 위해.
  • 대규모 웹 데이터에서 고품질의 프라밍 풀을 구성함으로써 적응의 표본 효율성을 향상시키기 위해.
  • CLIP 임베딩과 텍스트 검색을 사용하여 프라밍 풀 구축을 자동화함으로써 수동 코딩에 대한 의존도를 줄이기 위해.
  • 의미 필터링을 통해 검색된 이미지의 품질을 높임으로써 ImageNet에서 제로샷 일반화 성능 향상이 뚜렷하게 이루어지는지 입증하기 위해.

제안 방법

  • 클래스 이름을 쿼리로 사용하여 LAION-2b에서 텍스트 기반 검색을 통해 초기 프라밍 풀을 구성한다.
  • CLIP의 시각-텍스트 대비 임베딩을 사용하여 검색된 이미지의 의미 일관성을 확보한다.
  • 목표 클래스에서 의미적으로 거리가 먼 이미지(예: '돼지' 풀에서 '구라시' 제거)를 제거하기 위해 유사도 임계값을 적용한다.
  • 필터링된 프라밍 풀을 사용해 모델 적응을 초기화함으로써, 적은 수의 레이블 예시로도 효율적인 미세조정을 가능하게 한다.
  • CLIP의 제로샷 기능을 활용하여 최종 프라밍 풀의 의미 일관성을 평가하고 검증한다.
Figure 1: (left) Examples from the “pig” priming pool used for our ImageNet experiments after text retrieval and CLIP similarity filtering (process described in Section 3.1.1). (right) Examples of ‘guinea pigs” which were filtered from the pig pool using CLIP semantic embeddings. We see that it is c
Figure 1: (left) Examples from the “pig” priming pool used for our ImageNet experiments after text retrieval and CLIP similarity filtering (process described in Section 3.1.1). (right) Examples of ‘guinea pigs” which were filtered from the pig pool using CLIP semantic embeddings. We see that it is c

실험 결과

연구 질문

  • RQ1LAION-2b와 같은 대규모 데이터셋에서 자동으로 텍스트 기반 검색을 수행하면 소수의 예시 적응을 위한 효과적인 프라밍 풀을 생성할 수 있는가?
  • RQ2CLIP 임베딩을 사용한 의미 필터링이 의미적으로 모호한 경우의 레이블 혼동에 어떤 영향을 미치는가?
  • RQ3무작위 또는 필터링되지 않은 풀에 비해 신경 프라밍은 소수의 예시 일반화 성능을 어느 정도 향상시키는가?
  • RQ4쿼리의 희귀도는 프라밍 풀 구축의 효율성에 어떤 영향을 미치는가?
  • RQ5CLIP 기반의 필터링은 다양한 ImageNet 클래스에서 일관되게 제로샷 성능을 향상시키는가?

주요 결과

  • CLIP 임베딩을 사용한 의미 필터링은 의미적으로 유사하지만 잘못된 예시들(예: '돼지' 클래스에서 '구라시')을 효과적으로 제거하여 레이블 혼동을 줄인다.
  • 평균적으로 클래스당 1초 이내로 프라밍 풀을 구성함으로써 높은 효율성을 입증한다.
  • 필터링된 프라밍 풀은 특히 의미적으로 모호한 상황에서 제로샷 일반화 성능을 향상시킨다.
  • 희귀 클래스 쿼리는 LAION-2b에서의 전체 텍스트 검색 특성 덕분에 더 빠르게 처리된다.
  • 최소한의 레이블 데이터로 최신 기술 수준의 소수의 예시 적응 성능을 달성할 수 있다.
Figure 2: (reproduced from appendix) Wall-clock times by query for construction of the initial priming pool. The queries used here are the ones used for the construction of the ImageNet pool. Due to the nature of full text search, rare queries are very fast, with most classes taking less than 1 seco
Figure 2: (reproduced from appendix) Wall-clock times by query for construction of the initial priming pool. The queries used here are the ones used for the construction of the ImageNet pool. Due to the nature of full text search, rare queries are very fast, with most classes taking less than 1 seco

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.