atlas

Research map / Vision-language and multimodal / Multimodal LLMs

LV-XAttn: Distributed Cross-Attention for Long Visual Inputs in Multimodal Large Language Models

ICML 2025 · Vision-language and multimodal › Multimodal LLMs · approach: Training-free token reduction for MLLMs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LV-XAttn, a distributed exact cross-attention scheme for MLLMs that keeps large visual key-value blocks local and rotates small query blocks across GPUs, plus activation recomputation of visual features to fit longer visual inputs.

Problem

Cross-attention over very large visual token sets (e.g., long videos) in MLLMs has high memory demand and, when distributed with Ring Attention, becomes communication-bound, consuming up to 88% of iteration time.

Approach

Exploit the asymmetry S_Q << S_KV in MLLM cross-attention: keep K/V shards local on each worker and rotate query, partial output, and softmax statistics blocks instead of K/V, overlapping this communication with computation; additionally recompute K/V from a single saved copy of visual features during backward to save memory.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use LV-XAttn (keep KV local, rotate queries/outputs) instead of Ring Attention for cross-attentioncross-attention layers in MLLMs · 16 A100 80GB, Llama 3-V-11b and mPLUG-Owl3/OpenFlamingo modelsEnd-to-end iteration speedup: up to 10.62× total (Llama 3-V); 1.92× for OpenFlamingo-3bHelped
Use LV-XAttn instead of Ring Attention for cross-attentioncross-attention layers · 8 A30 24GB, slower interconnectCross-attention speedup: 22.43× to 33.77× (Llama 3-V); up to 45.85× (mPLUG-Owl3-7b)Helped
Use LV-XAttn instead of Ring Attention for cross-attentioncross-attention layers · 8 A30 24GB, total iteration timeEnd-to-end speedup: total speedup 1.04× to 3.45× across models; larger CA speedups do not translate into larger total speedupMixed
Use LV-XAttn instead of DeepSpeed-Ulysses for cross-attentionmPLUG-Owl3-2b on A100 · Per-iteration time, 12/6/3 GPUsSpeedup vs DeepSpeed-Ulysses: 1.34–1.55× speedup reported in textHelped
Use LV-XAttn instead of DeepSpeed-Ulysses (head parallelism)OpenFlamingo-3b on A30 · 8 and 4 GPUs, long text and framesFeasibility (OOM vs run): Ulysses OOM where LV-XAttn runs; LV-XAttn processes >4× longer inputsHelped
Overlap communication with computation in LV-XAttn (ablation)OpenFlamingo-3b cross-attention · 6 A100 40GB, 2048 frames per workerOverhead vs no-communication baseline: overhead less than 0.42% with overlapHelped
Overlap communication with computation in Ring Attention (ablation)Ring Attention cross-attention baseline · 6 A100 40GB, OpenFlamingo-3bCross-attention runtime: reduces runtime, but effect limited because KV communication cannot be fully hiddenHelped
Activation recomputation of KV from a single shared visual feature copy in cross-attention layers (ablation)mPLUG-Owl-7b and OpenFlamingo-3b · 3 A100 40GB / A30 24GB single nodeMax frames processable: 1.5× more frames (mPLUG-Owl-7b) and 1.6× (OpenFlamingo-3b), with under 8% runtime overheadHelped
Use LV-XAttn instead of Ring Attention for cross-attention on OpenFlamingo-3b with dense cross-attention layersOpenFlamingo-3b, 16 A100 · 64K text, 64K framesTotal iteration speedup: 1.36× to 1.92× total speedups; OpenFlamingo-9b 1.16× to 1.4×Mixed

Surprising findings

Limitations

Experimental setup

Datasets: Video-MME

Benchmarks: Video-MME

Metrics: per-iteration wall-clock time cross-attention time speedup communication volume

Baselines: Ring Attention DeepSpeed-Ulysses

Builds on: Ring Attention FlashAttention DeepSpeed-Ulysses

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy