MMFlash: Faster Speculative Decoding for Vision-Language Models

Sicheng Feng, Zigeng Chen, Song Wang, Gongfan Fang, Xinchao Wang

arXiv:2611.18482 · 2026-11-16 공개 · arXiv · PDF

diffusion-models vision-language speculative-decoding sparse-attention multimodal-benchmarks eagle-3 mmflash token-level-visual-dependence

Abstract

Speculative decoding accelerates generation by letting a lightweight drafter propose tokens for parallel verification by a target model. Diffusion drafters such as DFlash propose an entire token block in a single forward pass, but mainly focus on text-only tasks, leaving multimodal drafting underexplored. To study this setting, we first introduce a metric of token-level visual dependence based on the KL divergence between next-token distributions with and without visual input. We find that acceptance rates decrease from 46% in the lowest visual-dependence quartile to 22% in the highest, with this disparity persisting after multimodal training. Motivated by this observation, we propose MMFlash, a simple and effective framework that adaptively upweights visually dependent tokens that the drafter predicts poorly. For long video inputs, MMFlash further employs sparse attention to reduce redundant attention computation and improve drafting quality. Across various multimodal benchmarks, MMFlash achieves lossless decoding speedups of up to 3.58times, outperforming EAGLE-3 and DFlash by up to 195.4% and 17.1%, respectively.

한국어 요약

한 줄 요약

MMFlash는 시각-언어 모델에서 시각 의존 토큰을 적응적으로 강조하여 3.58배의 속도 향상을 달성한 확산 기반 추론 가속 프레임워크이다.

핵심 기여도

핵심 아이디어

기존 확산 기반 드래프트 모델(DFlash)은 텍스트 중심 작업에 효과적이지만, 시각-언어 작업에서는 시각 의존 토큰이 드래프트 수용률을 낮춘다는 문제를 발견하였다. 이를 측정하기 위해, 텍스트 프리픽스가 동일할 때 시각 입력 유무에 따른 다음 토큰 분포 간 KL 발산을 기반으로 시각 의존성 지표를 정의하였다. 이 지표를 통해, 시각 의존도가 높은 토큰은 드래프트 수용률이 46%에서 22%로 급격히 감소함을 확인하였다. 이에 따라, MMFlash는 드래프트 모델이 시각 의존 토큰을 잘못 예측할 경우, 해당 토큰에 대한 손실 가중치를 증가시켜 학습을 집중적으로 유도한다. 또한, 장시간 동영상 입력에서는 어텐션 계산의 중복성을 줄이기 위해 스트라이드 기반의 스파스 어텐션 패턴을 도입하여 드래프트 품질을 개선한다.

기술적 접근법

주요 결과

의의 및 한계

MMFlash는 시각-언어 모델에서 확산 기반 추론 가속을 효과적으로 확장한 첫 사례로, 시각 의존 토큰의 드래프트 수용률 저하 문제를 해결하였다. 특히, 이미지와 동영상 벤치마크에서 기존 방법 대비 높은 속도 향상을 달성하며, 고병렬 환경에서도 안정적으로 작동함을 보여준다. 그러나, MMFlash는 DFlash와 같은 확산 기반 드래프트 모델에 의존하므로, 드래프트 모델 자체의 예측 정확도에 따라 성능이 변동할 수 있다. 또한, 다양한 모델 아키텍처에 대한 일반화 가능성은 추가 실험을 통해 검증이 필요하다.

실용적 활용

MMFlash는 시각-언어 모델 기반의 대규모 이미지/동영상 분석, VQA, STEM 추론 등에서 추론 속도를 향상시킬 수 있다. 특히, 실시간 동영상 처리나 대규모 병렬 추론이 필요한 산업 분야에서 유용하게 활용될 수 있다.