SweetTok: Semantic-Aware Spatial-Temporal Tokenizer for Compact Video Discretization

Zhentao Tan, Ben Xue, Jian Jia, Junhao Wang, Wencai Ye +5 more
12/11/2024
cs.CVcs.AI

No official code found. Best implementation: adxcreative/SweetTok (6 stars, MIT, last commit 2025-09-04).

Abstract

This paper presents the \textbf{S}emantic-a\textbf{W}ar\textbf{E} spatial-t\textbf{E}mporal \textbf{T}okenizer (SweetTok), a novel video tokenizer to overcome the limitations in current video tokenization methods for compacted yet effective discretization. Unlike previous approaches that process flattened local visual patches via direct discretization or adaptive query tokenization, SweetTok proposes a decoupling framework, compressing visual inputs through distinct spatial and temporal queries via \textbf{D}ecoupled \textbf{Q}uery \textbf{A}uto\textbf{E}ncoder (DQAE). This design allows SweetTok to efficiently compress video token count while achieving superior fidelity by capturing essential information across spatial and temporal dimensions. Furthermore, we design a \textbf{M}otion-enhanced \textbf{L}anguage \textbf{C}odebook (MLC) tailored for spatial and temporal compression to address the differences in semantic representation between appearance and motion information. SweetTok significantly improves video reconstruction results by \textbf{42.8\%} w.r.t rFVD on UCF-101 dataset. With a better token compression strategy, it also boosts downstream video generation results by \textbf{15.1\%} w.r.t gFVD. Additionally, the compressed decoupled tokens are imbued with semantic information, enabling few-shot recognition capabilities powered by LLMs in downstream applications.

View on arXivView PDF

Code Implementations(1)

MIT

Official python implementation for ICCV 2025: "SweetTok: Semantic-Aware Spatial-Temporal Tokenizer for Compact Video Discretization"

60Shell, PythonSep 3, 20251 years agoMIT

Similar Papers

Cite this paper

@article{tan2024sweettok,
  title  = {SweetTok: Semantic-Aware Spatial-Temporal Tokenizer for Compact Video Discretization},
  author = {Zhentao Tan and Ben Xue and Jian Jia and Junhao Wang and Wencai Ye and Shaoyun Shi and Mingjie Sun and Wenjin Wu and Quan Chen and Peng Jiang},
  year   = {2024},
  eprint = {2412.10443},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.10443v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.10443.svg)](https://codeofpaper.com/paper/2412.10443)

Discussion