VisionWeave: Weaving Elastic Visual Representations as a Native Capability of MLLMs
Problem Statement
MLLMs encode images and video into dense, fixed-size patch tokens, which is expensive because visual information is unevenly distributed across a scene. Uniform downsampling loses needed detail. Token pruning and existing adaptive schemes have three gaps: their granularity is not truly content-adaptive, they generalize poorly across tasks, and they integrate awkwardly with modern MLLMs and inference engines such as SGLang.
Key Novelty
- Frames 'elastic visual representation weaving' as a native foundation-model capability: the model learns where, and at what granularity, to allocate visual tokens, rather than relying on post-hoc pruning.
- A gated spatial pooler builds coarse-grained tokens alongside native fine-grained tokens, both placed in a shared MRoPE positional coordinate system, so mixed-granularity sequences remain spatially coherent.
- A content-adaptive granularity router allocates coarse versus fine tokens per region and is trained purely by self-distillation from the native model. It is scaled to a frontier-level 27B MLLM (over 30K A100 GPU-hours) and deployed in a production serving engine.
Evaluation Highlights
- On Qwen3.8-27B, VisionWeave saves 43.0% of tokens on average while retaining 98.9% of native performance across eight benchmarks. Token pruning baselines at a fixed 50% savings target retain only about 88%.
- On SGLang, it delivers 2.3x throughput, 54.4% lower mean TTFT, and 60.6% lower mean TPOT. The efficiency-quality trade-off holds across tasks, input resolutions, and numbers of video frames.
Signal Assessment
Methodology
- Start from a pretrained native MLLM (Qwen3.5-4B for validation, Qwen3.8-27B for scaling) that produces dense fine-grained patch tokens.
- Add a gated spatial pooler that aggregates neighboring patches into coarse tokens. Assign the coarse tokens positions in the same MRoPE coordinate space as the fine tokens so the LLM can reason over mixed-granularity sequences.
- Train a granularity router that decides per region whether to emit fine or coarse tokens, based on visual content.
- Train end to end with self-distillation only, using the original native model as teacher to preserve its behavior while reducing tokens, with large-scale compute (over 30K A100 GPU-hours).
- Integrate into the SGLang serving engine and evaluate accuracy retention, token savings, throughput, TTFT, and TPOT across images, resolutions, and video.
System Components
Builds coarse-grained visual tokens by gated pooling over spatial neighborhoods of native patch tokens, offering a compact alternative representation for low-detail regions.
Places coarse and fine tokens in a single multimodal rotary position embedding space, keeping spatial and temporal positions consistent when granularities are mixed.
A learned module that allocates fine versus coarse representation per region based on content, so token savings adapt to how complex each image or video is.
Uses the original native MLLM as the teacher, so the elastic model matches native outputs without new labeled data.
Deploys the variable-length elastic token sequences in a production inference engine, turning token savings into real throughput and latency gains.
Results
| Metric/Benchmark | Baseline | This Paper | Delta |
|---|---|---|---|
| Avg. performance retained (8 benchmarks, Qwen3.8-27B) | ~88% (token pruning, fixed 50% savings) | 98.9% | +~10.9 pts retention |
| Avg. visual token savings | 50% (fixed target, pruning) | 43.0% (content-adaptive) | ~7 pts fewer savings, much higher quality |
| Serving throughput (SGLang) | 1.0x (native model) | 2.3x | +130% |
| Mean TTFT (SGLang) | Native model | 54.4% lower | -54.4% |
| Mean TPOT (SGLang) | Native model | 60.6% lower | -60.6% |
| Robustness across tasks, resolutions, and video frames | Pruning degrades unevenly | Stable efficiency-quality trade-off | Qualitative improvement |
Key Takeaways
- Content-adaptive allocation of token granularity beats fixed-ratio pruning by a wide margin. If you are compressing visual tokens, learn where to compress instead of applying a uniform budget.
- Keeping coarse and fine tokens in a shared positional (MRoPE) frame makes mixed-granularity sequences work without architectural upheaval and stays compatible with existing serving engines like SGLang.
- Self-distillation from the native model is enough to retrofit efficiency into a frontier MLLM without new labeled data, though doing this at 27B scale costs substantial compute (over 30K A100 GPU-hours).
- Visual-token reduction shows up directly in serving metrics: roughly halved TTFT and TPOT and 2.3x throughput. This matters most for high-resolution and multi-frame video workloads, such as agentic or GUI tasks with many screenshots.
Abstract
Multimodal large language models have become the dominant paradigm for visual understanding, but incur substantial costs by encoding inputs into dense, fixed-size patch tokens. However, visual information is unevenly distributed: some regions require fine-grained detail, while others admit compact representations. Downsampling sacrifices this detail, while existing token pruning and adaptive approaches remain limited in content-adaptive granularity, task generalization, and integration with modern MLLMs and serving infrastructure. Overcoming these limitations calls for foundation models that learn, end to end, where-and at what granularity-to allocate visual representations, a native capability we term elastic visual representation weaving. We introduce VisionWeave, establishing this capability in frontier-level MLLMs through large-scale training. It combines two components: a gated spatial pooler constructs coarse-grained representations alongside native fine-grained representations within a shared MRoPE coordinate, while a granularity router learns their content-adaptive allocation. Through self-distillation alone, we validate this capability on Qwen3.5-4B and scale to Qwen3.8-27B with over 30K A100 GPU-hours. Based on Qwen3.8-27B, VisionWeave adaptively adjusts token savings to visual content, saving 43.0% tokens on average while retaining 98.9% native performance across eight benchmarks, versus only 88% performance preserved for token pruning baselines with a fixed 50% savings target. Extensive evaluations confirm robust efficiency-quality trade-offs across diverse tasks, resolutions and video frames. When deployed on SGLang serving engine, our method achieves a 2.3x throughput gain while reducing mean TTFT by 54.4% and mean TPOT by 60.6%. Together, we believe these results position elastic visual weaving as a promising capability for next-generation multimodal models.