Reproduce “HAWK: Head Importance-Aware Visual Token Pruning in Multimodal Models” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Qihui Zhu, Tao Zhang, Yuchen Wang, Zijian Wen, Mengjie Zhang, Shuangwu Chen, Xiaobin Tan, Jian Yang and 4 more

Researchers at the University of Science and Technology of China and Huawei Noah’s Ark Lab developed HAWK, a training-free framework that prunes redundant visual tokens in Multimodal Large Language Models by integrating static head importance weights with dynamic text-guided attention scores. This approach led to a 1.34x inference speedup and 7.1% GPU memory reduction, while retaining 96.0% of original performance even at an 80.2% visual token pruning ratio.

Key insights

  • Attention heads within MLLMs possess distinct levels of importance and capture varying visual semantics, challenging the assumption of equal contribution in prior pruning methods.
  • Omitting Rotary Positional Embedding during the calculation of text-guided attention scores is crucial for isolating semantic relevance between text and visual tokens.
  • A training-free, two-stage pruning approach that leverages pre-computed head importance and dynamic text-guidance can achieve significant efficiency gains without compromising model performance or requiring additional fine-tuning.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.