Inference Compute-Optimal Video Vision Language Models
Peiqi Wang, ShengYun Peng, Xuewen Zhang, Hanchao Yu, Yibo Yang, Lifu Huang, Fujun Liu, Qifan Wang
TL;DR
This work tackles the problem of allocating inference compute across three scaling factors for video vision-language models, namely LM size $x_N$, frame count $x_T$, and visual tokens per frame $x_V$, under fixed per-example compute budget $c$ and finetuning data size $n$. It combines large-scale training sweeps with a parametric add-interact model to characterize downstream task performance $f(x,n)$ and derives the compute-optimal frontier $x^*(c;n)$ via discrete optimization. The findings show diminishing returns for both scaling factors and data size, demonstrate that joint scaling is necessary to reach optimum performance, and reveal task-dependent variations in the frontier, including elasticity of $x_N$, $x_T$, and $x_V$ to changes in $n$. The results provide actionable guidelines for selecting inference configurations in video VLM deployment and underscore the importance of accounting for vision-encoder compute in overall FLOPs budgeting.
Abstract
This work investigates the optimal allocation of inference compute across three key scaling factors in video vision language models: language model size, frame count, and the number of visual tokens per frame. While prior works typically focuses on optimizing model efficiency or improving performance without considering resource constraints, we instead identify optimal model configuration under fixed inference compute budgets. We conduct large-scale training sweeps and careful parametric modeling of task performance to identify the inference compute-optimal frontier. Our experiments reveal how task performance depends on scaling factors and finetuning data size, as well as how changes in data size shift the compute-optimal frontier. These findings translate to practical tips for selecting these scaling factors.
