用物体轨迹替代固定区块,让视频编码更高效精准。
One Trajectory, One Token: Grounded Video Tokenization via Panoptic Sub-object Trajectory
- 按物体运动轨迹分段生成视频令牌,贴合人眼感知规律
- 相比传统方法减少10倍令牌数,视频图文检索准确率提升6%
- 适合需要高效视频理解的场景,如多模态大模型和实时分析
有效的视频标记化对扩展变压器模型处理长视频至关重要。现有方法使用时空块进行标记化,导致令牌过多且计算效率低下。最佳的令牌压缩策略在相机移动时性能下降且令牌数量减少有限。本文提出基于全景子物体轨迹的有根基视频标记化范式,以动态物体轨迹组织令牌而非固定区块。所提方法符合基本感知原理,使标记化反映场景复杂度而非视频时长。我们提出TrajViT视频编码器,提取物体轨迹并转化为语义有意义的令牌,显著减少冗余同时保持时间连贯性。通过对比学习训练,TrajViT在多个视频理解基准上显著优于时空ViT(ViT3D),例如在视频-文本检索任务中,平均顶5召回率高出6%,同时令牌数减少10倍。此外,作为现代VideoLLM的视频编码器,TrajViT在6个VideoQA基准上平均提升5.2%性能,训练速度加快4倍,推理浮点运算量减少18倍。TrajViT是首个在多种视频分析任务中持续超越ViT3D的高效编码器,具备强鲁棒性和可扩展性。
原文摘要 · Abstract (English)
Effective video tokenization is critical for scaling transformer models for long videos. Current approaches tokenize videos using space-time patches, leading to excessive tokens and computational inefficiencies. The best token reduction strategies degrade performance and barely reduce the number of tokens when the camera moves. We introduce grounded video tokenization, a paradigm that organizes tokens based on panoptic sub-object trajectories rather than fixed patches. Our method aligns with fundamental perceptual principles, ensuring that tokenization reflects scene complexity rather than video duration. We propose TrajViT, a video encoder that extracts object trajectories and converts them into semantically meaningful tokens, significantly reducing redundancy while maintaining temporal coherence. Trained with contrastive learning, TrajViT significantly outperforms space-time ViT (ViT3D) across multiple video understanding benchmarks, e.g., TrajViT outperforms ViT3D by a large margin of 6% top-5 recall in average at video-text retrieval task with 10x token deduction. We also show TrajViT as a stronger model than ViT3D for being the video encoder for modern VideoLLM, obtaining an average of 5.2% performance improvement across 6 VideoQA benchmarks while having 4x faster training time and 18x less inference FLOPs. TrajViT is the first efficient encoder to consistently outperform ViT3D across diverse video analysis tasks, making it a robust and scalable solution.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。