Skip to main content
QUICK REVIEW

[논문 리뷰] Memory Consolidation Enables Long-Context Video Understanding

Ivana Balažević, Yuge Shi|arXiv (Cornell University)|2024. 02. 08.
Human Pose and Action RecognitionComputer Science인용 수 3
한 줄 요약

이 논문은 메모리 통합 비전 트랜스포머(MC-ViT)를 제안하며, 비표준적이고 비모수적인 방식으로 과거 활성화를 압축하고 참조함으로써 표준 미리 훈련된 비디오 트랜스포머가 장기간 비디오 컨텍스트를 추론할 수 있도록 한다. 매개변수 수가 수 개의 순서만큼 적고, 최소한의 피니어튜닝을 사용함에도 불구하고, MC-ViT는 EgoSchema, Perception Test, Diving48에서 기존 최고 성능을 갱신했으며, GPT-4V나 Bard와 같은 대규모 및 전용 모델들보다도 뛰어난 성능을 보였다.

ABSTRACT

Most transformer-based video encoders are limited to short temporal contexts due to their quadratic complexity. While various attempts have been made to extend this context, this has often come at the cost of both conceptual and computational complexity. We propose to instead re-purpose existing pre-trained video transformers by simply fine-tuning them to attend to memories derived non-parametrically from past activations. By leveraging redundancy reduction, our memory-consolidated vision transformer (MC-ViT) effortlessly extends its context far into the past and exhibits excellent scaling behavior when learning from longer videos. In doing so, MC-ViT sets a new state-of-the-art in long-context video understanding on EgoSchema, Perception Test, and Diving48, outperforming methods that benefit from orders of magnitude more parameters.

연구 동기 및 목표

  • 이차적 어텐션 복잡도로 인해 비디오 트랜스포머가 장기간 비디오 시퀀스를 추론하는 데 한계를 가진다는 문제를 해결하기 위해.
  • 구조적 수정이나 복잡한 훈련 절차 없이 장기적 컨텍스트 비디오 이해를 가능하게 하기 위해.
  • 비모수적 메모리 통합이 미리 훈련된 비디오 트랜스포머의 컨텍스트를 효과적으로 연장시킬 수 있는지 탐색하기 위해.
  • 경량적이고 효율적인 방법으로 장기 비디오 벤치마크에서 최고 성능을 달성하기 위해.
  • 강력한 비디오 표현을 거대한 모델이나 전용 시스템에 의존하지 않고도 달성할 수 있는지 보여주기 위해.

제안 방법

  • 이 방법은 비디오를 짧은 스트리밍 세그먼트로 처리하며, 과거 활성화의 비모수적 메모리 백을 유지한다.
  • 과거 활성화는 재중복 감소 기법을 사용하여 압축되고 대표적인 메모리 백으로 통합된다.
  • 모델은 추론 중 현재 세그먼트 활성화와 통합된 메모리를 모두 참조함으로써 장거리 컨텍스트 모델링이 가능하다.
  • 메모리는 매개변수 업데이트 없이 점진적으로 업데이트되며, 원래의 비디오 트랜스포머 아키텍처를 유지한다.
  • 피니어튜닝은 오직 메모리를 참조하는 어텐션 메커니즘에만 적용되며, 짧은 훈련 스케줄링으로 충분하다.
  • 비모수적 통합 기법은 기억의 재구성 과정으로서의 인지 이론을 영감으로 삼는다.
Figure 1: Long-context video understanding on EgoSchema and Perception Test. The proposed Memory-Consolidated Vision Transformer (MC-ViT-{B,L}, shown in bold) surpasses both public and large-scale proprietary models, despite using orders of magnitude fewer parameters and requiring only short fine-tu
Figure 1: Long-context video understanding on EgoSchema and Perception Test. The proposed Memory-Consolidated Vision Transformer (MC-ViT-{B,L}, shown in bold) surpasses both public and large-scale proprietary models, despite using orders of magnitude fewer parameters and requiring only short fine-tu

실험 결과

연구 질문

  • RQ1비모수적 메모리 통합이 아키텍처 수정 없이 표준 비디오 트랜스포머의 컨텍스트를 효과적으로 연장시킬 수 있는가?
  • RQ2장기적 컨텍스트 비디오 이해에서 메모리 통합은 모수적 방법이나 어텐션 근사 방법보다 어떻게 비교되는가?
  • RQ3작고 개방적이며 효율적인 모델이 장기 비디오 벤치마크에서 대규모 전용 모델보다 뛰어난 성능을 낼 수 있는가?
  • RQ4메모리 통합은 성능을 유지하면서 계산 및 메모리 오버헤드를 얼마나 줄일 수 있는가?
  • RQ5미리 훈련된 비디오 트랜스포머에 간단한 피니어튜닝 전략을 적용하면 장기 컨텍스트 작업에서 최고 성능을 달성할 수 있는가?

주요 결과

  • MC-ViT는 EgoSchema, Perception Test, Diving48에서 최고 성능을 기록했으며, 매개변수 수가 수 개의 순서만큼 많은 다른 방법들보다 뛰어난 성능을 보였다.
  • EgoSchema와 Perception Test에서 MC-ViT는 GPT-4V와 Bard를 초월했으며, Bard + PALI 모듈러 시스템보다 5% 높은 성능을 달성했다.
  • MC-ViT는 표준 비디오 트랜스포머보다 10배 적은 메모리와 계산 자원을 사용하면서도 강력한 성능을 유지했다.
  • 이 방법은 표준 미리 훈련된 모델 위에서 짧은 피니어튜닝 스케줄링만 필요로 하여 빠른 적응이 가능했다.
  • 거대한 언어 디코더가 없음에도 불구하고, MC-ViT는 모든 벤치마크에서 경쟁적인 성능을 보였으며, 강력한 장기 컨텍스트 및 국소화 능력을 입증했다.
  • 비모수적 메모리 통합은 메모리 크기를 한 단계 줄였지만 표현 품질은 그대로 유지했다.
Figure 2: Visualization of the proposed method. Left: Streaming ViT processes each segment of the sequence independently by attending over activations within a segment. Middle: Memory-Augmented ViT, similar to Transformer XL (Dai et al., 2019 ) , attends to current activations (yellow blocks) and th
Figure 2: Visualization of the proposed method. Left: Streaming ViT processes each segment of the sequence independently by attending over activations within a segment. Middle: Memory-Augmented ViT, similar to Transformer XL (Dai et al., 2019 ) , attends to current activations (yellow blocks) and th

이 논문 읽기

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

누빈트에서 이 논문 읽기

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