VURF: A General-purpose Reasoning and Self-refinement Framework for Video Understanding

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Mahmood, Ahmad, Vayani, Ashmal, Naseer, Muzammal, Khan, Salman, Khan, Fahad Shahbaz
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916647444414464
author Mahmood, Ahmad
Vayani, Ashmal
Naseer, Muzammal
Khan, Salman
Khan, Fahad Shahbaz
author_facet Mahmood, Ahmad
Vayani, Ashmal
Naseer, Muzammal
Khan, Salman
Khan, Fahad Shahbaz
contents Recent studies have demonstrated the effectiveness of Large Language Models (LLMs) as reasoning modules that can deconstruct complex tasks into more manageable sub-tasks, particularly when applied to visual reasoning tasks for images. In contrast, this paper introduces a Video Understanding and Reasoning Framework (VURF) based on the reasoning power of LLMs. Ours is a novel approach to extend the utility of LLMs in the context of video tasks, leveraging their capacity to generalize from minimal input and output demonstrations within a contextual framework. We harness their contextual learning capabilities by presenting LLMs with pairs of instructions and their corresponding high-level programs to generate executable visual programs for video understanding. To enhance the program's accuracy and robustness, we implement two important strategies. \emph{Firstly,} we employ a feedback-generation approach, powered by GPT-3.5, to rectify errors in programs utilizing unsupported functions. \emph{Secondly}, taking motivation from recent works on self-refinement of LLM outputs, we introduce an iterative procedure for improving the quality of the in-context examples by aligning the initial outputs to the outputs that would have been generated had the LLM not been bound by the structure of the in-context examples. Our results on several video-specific tasks, including visual QA, video anticipation, pose estimation, and multi-video QA, illustrate these enhancements' efficacy in improving the performance of visual programming approaches for video tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2403_14743
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle VURF: A General-purpose Reasoning and Self-refinement Framework for Video Understanding
Mahmood, Ahmad
Vayani, Ashmal
Naseer, Muzammal
Khan, Salman
Khan, Fahad Shahbaz
Computer Vision and Pattern Recognition
Recent studies have demonstrated the effectiveness of Large Language Models (LLMs) as reasoning modules that can deconstruct complex tasks into more manageable sub-tasks, particularly when applied to visual reasoning tasks for images. In contrast, this paper introduces a Video Understanding and Reasoning Framework (VURF) based on the reasoning power of LLMs. Ours is a novel approach to extend the utility of LLMs in the context of video tasks, leveraging their capacity to generalize from minimal input and output demonstrations within a contextual framework. We harness their contextual learning capabilities by presenting LLMs with pairs of instructions and their corresponding high-level programs to generate executable visual programs for video understanding. To enhance the program's accuracy and robustness, we implement two important strategies. \emph{Firstly,} we employ a feedback-generation approach, powered by GPT-3.5, to rectify errors in programs utilizing unsupported functions. \emph{Secondly}, taking motivation from recent works on self-refinement of LLM outputs, we introduce an iterative procedure for improving the quality of the in-context examples by aligning the initial outputs to the outputs that would have been generated had the LLM not been bound by the structure of the in-context examples. Our results on several video-specific tasks, including visual QA, video anticipation, pose estimation, and multi-video QA, illustrate these enhancements' efficacy in improving the performance of visual programming approaches for video tasks.
title VURF: A General-purpose Reasoning and Self-refinement Framework for Video Understanding
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2403.14743