paper-with-me

Papers

Inf-MLLM: Efficient Streaming Inference of Multimodal Large Language Models on a Single GPU

2024-09-11 · Zhenyu Ning, Jieru Zhao, Qihao Jin, Wenchao Ding, Minyi Guo

Multimodal Large Language Models (MLLMs) are distinguished by their multimodal comprehensive ability and widely used in many real-world applications including GPT-4o, autonomous driving and robotics. Despite their impressive performance, the multimodal inputs always incur long context. The inference under long context requires caching massive Key and Value states (KV cache) of previous tokens, which introduces high latency and excessive memory consumption. Due to this reason, it is challenging to deploy streaming inference of MLLMs on edge devices, which largely constrains the power and usage of MLLMs in real-world applications. In this paper, we introduce Inf-MLLM, an efficient inference framework for MLLMs, which enable streaming inference of MLLM on a single GPU with infinite context. Inf-MLLM is based on our key observation of the attention pattern in both LLMs and MLLMs called "attention saddles". Thanks to the newly discovered attention pattern, Inf-MLLM maintains a size-constrained KV cache by dynamically caching recent tokens and relevant tokens. Furthermore, Inf-MLLM proposes attention bias, a novel approach to enable MLLMs to capture long-term dependency. We show that Inf-MLLM enables multiple LLMs and MLLMs to achieve stable performance over 4M-token long texts and multi-round conversations with 1-hour-long videos on a single GPU. In addition, Inf-MLLM exhibits superior streaming reasoning quality than existing methods such as StreamingLLM and 2x speedup than H2O.

📄 PDF Abstract BibTeX arXiv:2409.09086

Code (0)

등록된 구현이 없습니다.

Tasks

Autonomous DrivingGPU

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Think While Watching: Online Streaming Segment-Level Memory for Multi-Turn Video Reasoning in Multimodal Large Language Models

2026-03-12 · Lu Wang, Zhuoran Jin, Yupu Hao, Yubo Chen 외 arxiv

Multimodal large language models (MLLMs) have shown strong performance on offline video understanding, but most are limited to offline inference or have weak online reasoning, making multi-turn interaction over continuou…

StreamingBench: Assessing the Gap for MLLMs to Achieve Streaming Video Understanding

2024-11-06 · Junming Lin, Zheng Fang, Chi Chen, Zihao Wan 외

The rapid development of Multimodal Large Language Models (MLLMs) has expanded their capabilities from image comprehension to video understanding. However, most of these MLLMs focus primarily on offline video comprehensi…

Image ComprehensionStreaming video understandingVideo Understanding

POINTS-Long: Adaptive Dual-Mode Visual Reasoning in MLLMs

2026-04-13 · Haicheng Wang, Yuan Liu, Yikun Liu, Zhemeng Yu 외 arxiv

Multimodal Large Language Models (MLLMs) have recently demonstrated remarkable capabilities in cross-modal understanding and generation. However, the rapid growth of visual token sequences--especially in long-video and s…

Visual Reasoning

Chat with AI: The Surprising Turn of Real-time Video Communication from Human to AI

2025-07-14 · Jiangkai Wu, Zhiyuan Ren, LiMing Liu, Xinggong Zhang

AI Video Chat emerges as a new paradigm for Real-time Communication (RTC), where one peer is not a human, but a Multimodal Large Language Model (MLLM). This makes interaction between humans and AI more intuitive, as if c…

Large Language ModelMultimodal Large Language ModelVideo Understanding

Speak While Watching: Unleashing TRUE Real-Time Video Understanding Capability of Multimodal Large Language Models

2026-01-11 · Junyan Lin, Junlong Tong, Hao Wu, Jialiang Zhang 외 arxiv

Multimodal Large Language Models (MLLMs) have achieved strong performance across many tasks, yet most systems remain limited to offline inference, requiring complete inputs before generating outputs. Recent streaming met…