ACL 2025short0 citations

Sparse-to-Dense: A Free Lunch for Lossless Acceleration of Video Understanding in LLMs

Xuan Zhang, Cunxiao Du, Sicheng Yu, Jiawei Wu, Fengzhuo Zhang, Wei Gao, Qian Liu

Abstract

Due to the auto-regressive nature of current video large language models (Video-LLMs), the inference latency increases as the input sequence length grows, posing challenges for the efficient processing of video sequences that are usually very long. We observe that during decoding, the attention scores of most tokens in Video-LLMs tend to be sparse and concentrated, with only certain tokens requiring comprehensive full attention. Based on this insight, we introduce Sparse-to-Dense (StD), a novel decoding strategy that integrates two distinct modules: one leveraging sparse top-K attention and the other employing dense full attention. These modules collaborate to accelerate Video-LLMs without loss. The fast (sparse) model speculatively decodes multiple tokens, while the slow (dense) model verifies them in parallel. StD is a tuning-free, plug-and-play solution that achieves up to a 1.94 walltime speedup in video processing. It maintains model performance while enabling a seamless transition from a standard Video-LLM to a sparse Video-LLM with minimal code modifications.

BibTeX
@inproceedings{zhang-etal-2025-sparse,
    title = "Sparse-to-Dense: A Free Lunch for Lossless Acceleration of Video Understanding in {LLM}s",
    author = "Zhang, Xuan  and
      Du, Cunxiao  and
      Yu, Sicheng  and
      Wu, Jiawei  and
      Zhang, Fengzhuo  and
      Gao, Wei  and
      Liu, Qian",
    editor = "Che, Wanxiang  and
      Nabende, Joyce  and
      Shutova, Ekaterina  and
      Pilehvar, Mohammad Taher",
    booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)",
    month = jul,
    year = "2025",
    address = "Vienna, Austria",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.acl-short.59/",
    doi = "10.18653/v1/2025.acl-short.59",
    pages = "734--742",
    ISBN = "979-8-89176-252-7"
}
Sparse-to-Dense: A Free Lunch for Lossless Acceleration of Video Understanding in LLMs · ACL 2025