[논문 리뷰] A Systematic Survey of Prompt Engineering on Vision-Language Foundation Models
이 논문은 시각-언어 기초 모델에 대한 프롬프트 엔지니어링의 포괄적 조사를 제공하며, 다중모달-에서 텍스트 생성, 이미지-텍스트 매칭, 그리고 텍스트-에서 이미지 생성으로 방법을 분류하고, 응용 및 책임 있는 AI 고려사항을 논의한다.
Prompt engineering is a technique that involves augmenting a large pre-trained model with task-specific hints, known as prompts, to adapt the model to new tasks. Prompts can be created manually as natural language instructions or generated automatically as either natural language instructions or vector representations. Prompt engineering enables the ability to perform predictions based solely on prompts without updating model parameters, and the easier application of large pre-trained models in real-world tasks. In past years, Prompt engineering has been well-studied in natural language processing. Recently, it has also been intensively studied in vision-language modeling. However, there is currently a lack of a systematic overview of prompt engineering on pre-trained vision-language models. This paper aims to provide a comprehensive survey of cutting-edge research in prompt engineering on three types of vision-language models: multimodal-to-text generation models (e.g. Flamingo), image-text matching models (e.g. CLIP), and text-to-image generation models (e.g. Stable Diffusion). For each type of model, a brief model summary, prompting methods, prompting-based applications, and the corresponding responsibility and integrity issues are summarized and discussed. Furthermore, the commonalities and differences between prompting on vision-language models, language models, and vision models are also discussed. The challenges, future directions, and research opportunities are summarized to foster future research on this topic.
연구 동기 및 목표
- 비전-언어 기초 모델(VLMs)에 관한 프롬프트 연구의 체계적 개요를 제공한다.
- 프롬프트 방법을 hard prompts와 soft prompts로 분류하고, 세 가지 모델 유형인 다중모달-대 텍스트 생성, 이미지-텍스트 매칭, 텍스트-대 이미지 생성에 걸쳐 분류한다.
- 각 모델 유형에 대한 프롬프트 기법, 응용 및 AI 책임성 고려사항을 요약한다.
- 언어 모델 및 비전 모델에서의 프롬프트와의 유사점과 차이점을 논의하고, 향후 연구 방향을 제시한다.
제안 방법
- 프롬프트 방법을 hard prompts(작업 지시, 인-컨텍스트 학습, 검색 기반 프롬프트, 체인 오브-생각)와 soft prompts(프롬프트 튜닝, 프리픽스 튜닝)로 분류한다.
- VLM의 융합 모듈에 대한 인코더-디코더와 디코더-전용 관점을 제시하고, 프롬프트 접근법을 이들 아키텍처에 매핑한다.
- 세 가지 VL 모델 유형에 걸친 프롬프트 기법과 응용을 사례 예시 및 대표 모델(예: Flamingo, CLIP, Stable Diffusion)과 함께 조사한다.
- 인코더-디코더 대 디코더-전용 융합 모듈에 대한 프롬프트의 발전을 요약하고 강건성, 데이터 세트 영향, 그리고 학습 전략을 논의한다.
- 프롬프트 사용과 관련된 편향, 강건성 및 무결성 문제를 포함한 책임 있는 AI 고려사항을 논의한다.
- 문헌 검색을 돕기 위한 관련 논문을 모은 프로젝트 페이지를 공개한다.
실험 결과
연구 질문
- RQ1비전-언어 기초 모델에서 어떤 프롬프트 방법들이 사용되며, 모델 유형에 따라 어떻게 다른가?
- RQ2hard prompts와 soft prompts가 다중모달-에서 텍스트 생성, 이미지-텍스트 매칭, 텍스트-에서 이미지 생성에서 성능, 강건성 및 안전성에 어떤 영향을 미치는가?
- RQ3비전-언어 모델에서의 프롬프트와 단일 모드의 언어/비전 모델 간의 공통점과 차이점은 무엇인가?
- RQ4비전-언어 모델의 프롬프트 엔지니어링에 대한 과제와 향후 방향은 무엇인가?
주요 결과
- 프롬프트 방법은 hard prompts(작업 지시, 인-컨텍스트 학습, 검색 기반 프롬프트, 체인 오브-생각)과 soft prompts(프롬프트 튜닝, 프리픽스 토큰 튜닝)로 분류된다.
- 비전-언어 모델은 인코더-디코더 융합을 가지면 종종 작업 특화 프롬프트와 특수 토큰을 사용하고, 디코더-전용 융합 모델은 시각적 접두사나 프롬프트 전략을 활용해 생성을 안내한다.
- Few-shot 및 zero-shot 프롬프트는 Flamingo, Kosmos, BLIP-2 등의 모델에서 VQA, 이미지 캡션 생성, grounded QA와 같은 VLM 태스크에서 강한 성능을 보인다.
- 언어 모델을 고정시키는 것은 시각 정보를 통합하면서 언어 능력을 보존하는 일반적인 전략이다.
- 프롬프트 튜닝은 일부 상황에서 전체 미세조정보다 강건성 이점을 제공할 수 있으며, 더 긴 프롬프트가 어느 정도까지 개선을 이끈다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.