Analyse the following proposal drafting, and based on your understanding, answer the…
- User
Analyse the following proposal drafting, and based on your understanding, answer the following questions to apply for NVIDIA's funds. Generally you should make the project sound interesting and impactful, with visions about what is the outcome of the project, and what the outcome will lead to. Describe the method as it is reasonable. Brief and accurate response are expected. If you need more information beyond the above ones to answer the question, please let me know.
The proposal draft: Empower Multimodal Language Models with Long Video Understanding
Long video understanding is a practically important topic. But in many long video understanding benchmarks, the results of most modern multimodal language models are close to random guess.
Their performance are mainly limited to the length of context window. As one frame takes nearly 200 tokens and most models only accept less than 40 frames in one like LLaVA-NeXT-Video, which is far way less in a 30 minutes’ video. To be more exact, in most cases, the model didn’t even see the scene that was queried.
The length of context window can be extended to longer without training via changing frequency base of RoPE or with position interpolation. However these methods will cause loss when accessing to longer position that are untrained. KV Cache compression methods and Q-former-like resamplers reduce the length of all the video tokens, but involve inductive bias and are hard to express all the information in a lossless way. Recently some work extend the length of multimodal language models by continuously training on long text corpus, which helps in training models with larger position embedding. But unlike the success achieved in pure language modality, the performance didn’t show much benefits in long-dependency video understanding on the increase of the number of accessed frames, which arouses the importance of modality alignment and splendid visual information that are specific in visual modality.
We plan to train multimodal language models continuously on long videos to extend the context length and improve its visual understanding ability. It is also an exploration on whether we can extend the context length purely by long videos and generated descriptions for multimodal language models in an acceptable cost.
For the training process and related computational estimate, we keep the transformer architecture to achieve the best performance. We plan to do continual training on the open sourced LLaVA model, which is constructed by a visual encoder, a modal projector and a language model, and train all of the three modules to make the full usage of them to contribute to the final performance. We plan to make the frame per second rate becomes close to 1, as in traditional short video understanding evaluation.
Currently, we are done with the training infrastructure to train a 7b model on 72k context length on 8x80G H800, using the strategy of sequence parallel, zig-zag ring-attention and parameter offloading. The time cost for 70M tokens is about 40 hours. Considering the experience from pure language modeling context extension, 500M tokens are enough for competitive long-distance dependency performance. We aim to extend the length even longer with designed offloading and reduce the disk I/O cost to make the training process even more efficient.
- Assistant