mlsanityData to 7 Oct 2026

Matryoshka Query Transformer for Large Vision-Language Models

arXiv 2405.19315 ↗First posted 29 May 2024cs.CV cs.CL cs.LGcited by 49

On the map: Multimodal LLMs / vision-language models → Visual token pruning and efficiency

Abstract (arXiv)

Large Vision-Language Models (LVLMs) typically encode an image into a fixed number of visual tokens (e.g., 576) and process these tokens with a language model. Despite their strong performance, LVLMs face challenges in adapting to varying computational constraints. This raises the question: can we achieve flexibility in the number of visual tokens to suit different tasks and computational resources? We answer this with an emphatic yes. Inspired by Matryoshka Representation Learning, we introduce the Matryoshka Query Transformer (MQT), capable of encoding an image into m visual tokens during inference, where m can be any number up to a predefined maximum. This is achieved by employing a query transformer with M latent query tokens to compress the visual embeddings. During each training step, we randomly select m <= M latent query tokens and train the model using only these first m tokens, discarding the rest. Combining MQT with LLaVA, we train a single model once, and flexibly and drastically reduce the number of inference-time visual tokens while maintaining similar or better performance compared to training independent models for each number of tokens. Our model, MQT-LLAVA, matches LLaVA-1.5 performance across 11 benchmarks using a maximum of 256 tokens instead of LLaVA's fixed 576. Reducing to 16 tokens (8x less TFLOPs) only sacrifices the performance by 2.4 points on MMBench. On certain tasks such as ScienceQA and MMMU, we can even go down to only 2 visual tokens with performance drops of just 3% and 6% each. Our exploration of the trade-off between the accuracy and computational cost brought about by the number of visual tokens facilitates future research to achieve the best of both worlds.

Key facts. Cited by 49 papers in the map (data through 7 Oct 2026). Placed in Visual token pruning and efficiency, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 31 of its 44 references that are in the map. First posted on arXiv 29 May 2024.

Builds on

31 of 44 references.

References · 31

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  4. 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
  5. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
  6. 2023InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuningcited by 2,855
  7. 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,498
  8. 2023Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyondcited by 2,179
  9. 2023MMBench: Is Your Multi-modal Model an All-around Player?cited by 2,105
  10. 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answeringcited by 1,881
  11. 2020Reformer: The Efficient Transformercited by 1,658
  12. 2023MME: A Comprehensive Evaluation Benchmark for Multimodal Large Language Modelscited by 1,624
19 more
  1. 2023Video-LLaMA: An Instruction-tuned Audio-Visual Language Model for Video Understandingcited by 1,461
  2. 2023MM-Vet: Evaluating Large Multimodal Models for Integrated Capabilitiescited by 1,221
  3. 2023Kosmos-2: Grounding Multimodal Large Language Models to the Worldcited by 1,075
  4. 2023mPLUG-Owl: Modularization Empowers Large Language Models with Multimodalitycited by 1,038
  5. 2022Token Merging: Your ViT But Fastercited by 995
  6. 2023Shikra: Unleashing Multimodal LLM's Referential Dialogue Magiccited by 891
  7. 2018VizWiz Grand Challenge: Answering Visual Questions from Blind Peoplecited by 852
  8. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
  9. 2023Language Is Not All You Need: Aligning Perception with Language Modelscited by 543
  10. 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 360
  11. 2021Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image Encodingcited by 207
  12. 2021Adaptive Token Sampling For Efficient Vision Transformerscited by 181
  13. 2024TinyLLaVA: A Framework of Small-scale Large Multimodal Modelscited by 164
  14. 2024LLaVA-Phi: Efficient Multi-Modal Assistant with Small Language Modelcited by 128
  15. 2023BLIVA: A Simple Multimodal LLM for Better Handling of Text-Rich Visual Questionscited by 125
  16. 2024Video-LaVIT: Unified Video-Language Pre-training with Decoupled Visual-Motional Tokenizationcited by 98
  17. 2023Large Language Models as Generalizable Policies for Embodied Taskscited by 86
  18. 2023MatFormer: Nested Transformer for Elastic Inferencecited by 79
  19. 2023SparseFormer: Sparse Visual Recognition via Limited Latent Tokenscited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 22; 2026: 23.

49 papers.

Sort:

By area:

  1. 2025MLLMs Know Where to Look: Training-free Perception of Small Visual Details with Multimodal LLMscited by 172
  2. 2024TokenPacker: Efficient Visual Projector for Multimodal LLMcited by 170
  3. 2024Beyond Text-Visual Attention: Exploiting Visual Cues for Effective Token Pruning in VLMscited by 153
  4. 2025Beyond Attention or Similarity: Maximizing Conditional Diversity for Token Pruning in MLLMscited by 92
  5. 2025Beyond Matryoshka: Revisiting Sparse Coding for Adaptive Representationcited by 25
  6. 2024FocusLLaVA: A Coarse-to-Fine Approach for Efficient and Effective Visual Token Compressioncited by 21
  7. 2026VisionTrim: Unified Vision Token Compression for Training-Free MLLM Accelerationcited by 16
  8. 2025Adaptive Audio-Visual Speech Recognition via Matryoshka-Based Multimodal LLMscited by 11
  9. 2025Skip-Vision: Efficient and Scalable Acceleration of Vision-Language Models via Adaptive Token Skippingcited by 11
  10. 2025MoDES: Accelerating Mixture-of-Experts Multimodal Large Language Models via Dynamic Expert Skippingcited by 11
  11. 2026IVC-Prune: Revealing the Implicit Visual Coordinates in LVLMs for Vision Token Pruningcited by 11
  12. 2024AVG-LLaVA: An Efficient Large Multimodal Model with Adaptive Visual Granularitycited by 9
37 more
  1. 2025SlotVLA: Towards Modeling of Object-Relation Representations in Robotic Manipulationcited by 9
  2. 2025Delta-LLaVA: Base-then-Specialize Alignment for Token-Efficient Vision-Language Modelscited by 7
  3. 2025Training Matryoshka Mixture-of-Experts for Elastic Inference-Time Expert Utilizationcited by 6
  4. 2025Masked Generative Nested Transformers with Decode Time Scalingcited by 4
  5. 2025AirCache: Activating Inter-modal Relevancy KV Cache Compression for Efficient Large Vision-Language Model Inferencecited by 4
  6. 2025SpecVLM: Fast Speculative Decoding in Vision-Language Modelscited by 4
  7. 2025MoME: Mixture of Matryoshka Experts for Audio-Visual Speech Recognitioncited by 4
  8. 2025VCM: Vision Concept Modeling Based on Implicit Contrastive Learning with Vision-Language Instruction Fine-Tuningcited by 3
  9. 2025Bootstrapping LLM Robustness for VLM Safety via Reducing the Pretraining Modality Gapcited by 3
  10. 2025Fourier Compressor: Frequency-Domain Visual Token Compression for Vision-Language Modelscited by 3
  11. 2025Attention Debiasing for Token Pruning in Vision Language Modelscited by 3
  12. 2026QMoP: Query Guided Mixture-of-Projector for Efficient Visual Token Compressioncited by 3
  13. 2025QLIP: A Dynamic Quadtree Vision Prior Enhances MLLM Performance Without Retrainingcited by 2
  14. 2025AgriDoctor: A Multimodal Intelligent Assistant for Agriculturecited by 2
  15. 2025Script: Graph-Structured and Query-Conditioned Semantic Token Pruning for Multimodal Large Language Modelscited by 2
  16. 2026When LLaVA Meets Objects: Token Composition for Vision-Language-Modelscited by 2
  17. 2025Elastic ViTs from Pretrained Models without Retrainingcited by 1
  18. 2026Frequency-Modulated Visual Restoration for Matryoshka Large Multimodal Modelscited by 1
  19. 2026MURE: Hierarchical Multi-Resolution Encoding via Vision-Language Models for Visual Document Retrievalcited by 1
  20. 2026Unified Spatio-Temporal Token Scoring for Efficient Video VLMscited by 1
  21. 2026An Efficient Token Compression Framework for Visual Object Trackingcited by 1
  22. 2026One Ranking, Any Budget: Matryoshka Evidence-to-Context Frame Selection for Long-Video Understandingcited by 1
  23. 2025Eigenfunction Extraction for Ordered Representation Learningcited by 0
  24. 2026ConsensusDrop: Fusing Visual and Cross-Modal Saliency for Efficient Vision Language Modelscited by 0
  25. 2026Make Your LVLM KV Cache More Lightweightcited by 0
  26. 2026Objective-Specific Privileged Bases via Full-Prefix Matryoshka Learningcited by 0
  27. 2026Do Vision Transformers Need All-to-All Attention? Global Communication Through Elastic Learned Corescited by 0
  28. 2026ETC: Extreme Token Compression via Task-aware Visual Information Distillation in VLMscited by 0
  29. 2026Adaptive Tokenisation Via Temporal Redundancy Masking And Latent Inpaintingcited by 0
  30. 2026Multi-Bitwidth Quantization for LLMs Using Additive Codebookscited by 0
  31. 2026MS-Resampler: Multi-Scope Visual Resampling for Efficient Multimodal LLMscited by 0
  32. 2026Attention-Free and Lightweight Token Reduction for Efficient Vision-Language Modelscited by 0
  33. 2026Grad-CAM for Vision Transformers: A Systematic Taxonomy and Audit of Methodological Ambiguity in Explainable AIcited by 0
  34. 2026Beyond One-Size-Fits-All: Sample-Adaptive Strategy Routing for Vision Token Pruning in MLLMscited by 0
  35. 2026BrainFocus: EEG-Guided ROI Selection for Efficient Vision-Language Modelscited by 0
  36. 2026Beyond Selection: Token Parameterization for Extreme Visual Token Compressioncited by 0
  37. 2026Understanding and Mitigating Token-Pruning-Induced Vulnerabilities in VLMscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2023Video-LLaVA: Learning United Visual Representation by Alignment Before Projection
  2. 2024Inference Optimal VLMs Need Fewer Visual Tokens and More Parameters
  3. 2026Towards Efficient Large Vision-Language Models: A Comprehensive Survey on Inference Strategies
  4. 2024Efficient Vision-Language Models by Summarizing Visual Tokens into Compact Registers
  5. 2026Efficient Inference for Large Vision-Language Models: Bottlenecks, Techniques, and Prospects
  6. 2024Matryoshka Multimodal Models
  7. 2025Rethinking Visual Information Processing in Multimodal LLMs
  8. 2025LLaVA-SP: Enhancing Visual Representation with Visual Spatial Tokens for MLLMs