Long Video Understanding with Learnable Retrieval in Video-Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Xu, Jiaqi, Lan, Cuiling, Xie, Wenxuan, Chen, Xuejin, Lu, Yan
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912601858899968
author Xu, Jiaqi
Lan, Cuiling
Xie, Wenxuan
Chen, Xuejin
Lu, Yan
author_facet Xu, Jiaqi
Lan, Cuiling
Xie, Wenxuan
Chen, Xuejin
Lu, Yan
contents The remarkable natural language understanding, reasoning, and generation capabilities of large language models (LLMs) have made them attractive for application to video understanding, utilizing video tokens as contextual input. However, employing LLMs for long video understanding presents significant challenges. The extensive number of video tokens leads to considerable computational costs for LLMs while using aggregated tokens results in loss of vision details. Moreover, the presence of abundant question-irrelevant tokens introduces noise to the video reasoning process. To address these issues, we introduce a simple yet effective learnable retrieval-based video-language model (R-VLM) for efficient long video understanding. Specifically, given a question (query) and a long video, our model identifies and selects the most relevant K video chunks and uses their associated visual tokens to serve as context for the LLM inference. This effectively reduces the number of video tokens, eliminates noise interference, and enhances system performance. We achieve this by incorporating a learnable lightweight MLP block to facilitate the efficient retrieval of question-relevant chunks, through the end-to-end training of our video-language model with a proposed soft matching loss. Our experimental results on multiple zero-shot video question answering datasets validate the effectiveness of our framework for comprehending long videos.
format Preprint
id arxiv_https___arxiv_org_abs_2312_04931
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Long Video Understanding with Learnable Retrieval in Video-Language Models
Xu, Jiaqi
Lan, Cuiling
Xie, Wenxuan
Chen, Xuejin
Lu, Yan
Computer Vision and Pattern Recognition
The remarkable natural language understanding, reasoning, and generation capabilities of large language models (LLMs) have made them attractive for application to video understanding, utilizing video tokens as contextual input. However, employing LLMs for long video understanding presents significant challenges. The extensive number of video tokens leads to considerable computational costs for LLMs while using aggregated tokens results in loss of vision details. Moreover, the presence of abundant question-irrelevant tokens introduces noise to the video reasoning process. To address these issues, we introduce a simple yet effective learnable retrieval-based video-language model (R-VLM) for efficient long video understanding. Specifically, given a question (query) and a long video, our model identifies and selects the most relevant K video chunks and uses their associated visual tokens to serve as context for the LLM inference. This effectively reduces the number of video tokens, eliminates noise interference, and enhances system performance. We achieve this by incorporating a learnable lightweight MLP block to facilitate the efficient retrieval of question-relevant chunks, through the end-to-end training of our video-language model with a proposed soft matching loss. Our experimental results on multiple zero-shot video question answering datasets validate the effectiveness of our framework for comprehending long videos.
title Long Video Understanding with Learnable Retrieval in Video-Language Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2312.04931