Understanding Complexity in VideoQA via Visual Program Generation
Cristobal Eyzaguirre, Igor Vasiljevic, Achal Dave, Jiajun Wu, Rares Andrei Ambrus, Thomas Kollar, Juan Carlos Niebles, Pavel Tokmakov
TL;DR
This paper tackles the problem of estimating question difficulty in VideoQA by showing that automatically generated visual programs can serve as a robust proxy for complexity. The authors introduce CodePlexity, which analyzes executable code from questions through Abstract Syntax Trees to identify subroutines that correlate with model error, training a logistic regression to predict failure across diverse models. They further demonstrate how this metric can automatically generate harder questions to form CodePlex-QA, a dataset shown to be substantially more challenging than NExT-QA. The work provides practical tools for measuring model-specific challenges, revealing common failure modes in temporal and fine-grained reasoning, and enabling scalable benchmark creation that adapts to evolving models.
Abstract
We propose a data-driven approach to analyzing query complexity in Video Question Answering (VideoQA). Previous efforts in benchmark design have relied on human expertise to design challenging questions, yet we experimentally show that humans struggle to predict which questions are difficult for machine learning models. Our automatic approach leverages recent advances in code generation for visual question answering, using the complexity of generated code as a proxy for question difficulty. We demonstrate that this measure correlates significantly better with model performance than human estimates. To operationalize this insight, we propose an algorithm for estimating question complexity from code. It identifies fine-grained primitives that correlate with the hardest questions for any given set of models, making it easy to scale to new approaches in the future. Finally, to further illustrate the utility of our method, we extend it to automatically generate complex questions, constructing a new benchmark that is 1.9 times harder than the popular NExT-QA.
