[논문 리뷰] Language Models with Image Descriptors are Strong Few-Shot Video-Language Learners
VidIL은 이미지-언어 모델을 활용하여 비디오 콘텐츠를 프레임 캡션과 시각 토큰으로 변환한 다음, 시간-의식적 맥락으로 고정된 언어 모델에 프롬프트를 제공해 비디오 프리트레이닝 없이 소수 샷 비디오-텍스트 태스크를 수행합니다.
The goal of this work is to build flexible video-language models that can generalize to various video-to-text tasks from few examples, such as domain-specific captioning, question answering, and future event prediction. Existing few-shot video-language learners focus exclusively on the encoder, resulting in the absence of a video-to-text decoder to handle generative tasks. Video captioners have been pretrained on large-scale video-language datasets, but they rely heavily on finetuning and lack the ability to generate text for unseen tasks in a few-shot setting. We propose VidIL, a few-shot Video-language Learner via Image and Language models, which demonstrates strong performance on few-shot video-to-text tasks without the necessity of pretraining or finetuning on any video datasets. We use the image-language models to translate the video content into frame captions, object, attribute, and event phrases, and compose them into a temporal structure template. We then instruct a language model, with a prompt containing a few in-context examples, to generate a target output from the composed content. The flexibility of prompting allows the model to capture any form of text input, such as automatic speech recognition (ASR) transcripts. Our experiments demonstrate the power of language models in understanding videos on a wide variety of video-language tasks, including video captioning, video question answering, video caption retrieval, and video future event prediction. Especially, on video future event prediction, our few-shot model significantly outperforms state-of-the-art supervised models trained on large-scale video datasets. Code and resources are publicly available for research purposes at https://github.com/MikeWangWZHL/VidIL .
연구 동기 및 목표
- 비디오 데이터에 대한 미세 조정 없이 유연한 소수 샷 비디오-텍스트 학습을 가능하게 한다.
- 이미지-언어 모델을 통해 비디오 콘텐츠를 텍스트 표현으로 변환한다(프레임 캡션, 시각 토큰).
- 맥락 내 프롬프트를 통해 고정된 언어 모델이 다양한 태스크의 목표 출력 생성을 가능하게 한다.
- 자막 생성, QA, 검색, 이벤트 예측에 걸친 광범위한 적용 가능성을 입증한다.
제안 방법
- 비디오를 시각 토큰(객체, 이벤트, 속성), 프레임 캡션, 비디오 수준 표현의 세 가지 텍스트 수준으로 분해한다.
- CLIP을 사용하여 샘플링된 프레임당 코사인 유사도와 후보 어휘를 바탕으로 상위 시각 토큰을 검색한다.
- 의미역할표지(Semantic Role Labeling)로 Visual Genome에서 이벤트 어휘를 구성하고 SentenceBERT 유사도로 가지치기한다.
- BLIP으로 프레임 수준 의미를 포착하는 프레임 캡션을 생성하고 노이즈를 필터링한다.
- 고정된 언어 모델(InstructGPT 등)을 위한 대상으로 출력하도록 프롬프트(지시문 + 컨텍스트 예시 + 작업 질의)로 시간 인식 소수 샷 프롬프트를 구성한다.
- 프롬프트에 First/Then/Finally와 같은 시간 표기를 도입하여 시간에 따른 객체/이벤트 변화에 대해 모델을 안내한다.
실험 결과
연구 질문
- RQ1이미지-언어로부터 파생된 표현과 시간 프롬프트로 안내되는 고정된 언어 모델이 비디오 프리트레이닝 없이도 소수 샷 설정에서 다양한 비디오-텍스트 태스크를 수행할 수 있는가?
- RQ2프레임 수준 캡션과 시각 토큰이 자막 생성, QA, 검색, 이벤트 예측의 성능에 어떻게 기여하는가?
- RQ3시간 순서 및 ASR/전사 기록의 영향은 무엇이며, 소수 샷 비디오-언어 태스크에 어떤 영향을 미치는가?
주요 결과
- VidIL은 비디오 프리트레이닝이나 파인튜닝 없이도 자막 생성, QA, 검색 및 미래 이벤트 예측에서 강력한 소수 샷 성능을 달성한다.
- SentenceBERT 기반의 컨텍스트 예시 선택 및 최신성 기준은 소수 샷의 견고성과 효율성을 향상시킨다.
- 시간 인식 프롬프트는 모델이 시간적 역학을 포착하는 능력을 향상시키며, 시퀀스 이해가 필요한 태스크에서 정적 프롬프트보다 우수한 성능을 보인다.
- 도메인 차이(오픈 도메인 대 교육용 비디오)와 ASR 전사와 같은 추가 모달리티의 이점을 통해 접근 방식이 더 잘 동작한다.
- 비디오-언어 이벤트 예측에서는 VidIL의 10샷 구성이 더 큰 비디오 데이터 세트로 학습된 일부 완전 감독 기법보다 성능이 앞선다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.