Manuscript Offprint

arXiv:2610.09440

Mixture of Layers: Dynamic Layer Routing for Visual Reasoning

Jeonghwan Kim, Sofia Stoica, Jiwan Chung, Ansel Blume, Hyeonjeong Ha, Zhenhailong Wang, Xin Luna Dong, Heng Ji

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Pre-trained vision encoders contain layer-wise visual representations that differ in spatial granularity, semantic abstraction, and sensitivity to local details. However, most Multimodal Large Language Models (MLLMs) rely on only the final or penultimate vision encoder representations or fixed aggregation rules, making visual abstraction largely query-agnostic and limiting access to fine-grained cues such as small objects, spatial details, text, and subtle visual attributes. In this work, we propose MIXTURE OF LAYERS (MOL), an instruction-conditioned layer routing approach at visual patch level that dynamically aggregates query-relevant latent representations from intermediate vision encoder layers. Given a text query, MOL predicts routing probabilities over vision encoder layers and performs a top-k sparse aggregation over selected hidden states at either the image level, patch level, or through a hybrid routing mechanism. In doing so, MOL enables query-adaptive access to layer-specific visual features for fine-grained visual reasoning. Our experiments across 7 fine-grained visual reasoning tasks demonstrate substantial performance improvements, especially across fine-grained visual grounding and understanding tasks such as +18.9% improvement on V* in overall accuracy, +4.5% on HRBench4K, and +16.3% on CharXiv compared to the baseline MLLMs, without resorting to multi-resolution inputs, simple interleaving of multiple vision encoders, or increasing the number of patch tokens. We study vision encoders' receptive field scales across different layers and their sampling behaviors to provide an in-depth analysis of why layer-wise sampling is helpful, demonstrating that conditional visual representations are a key step towards better visual perception and reasoning in MLLMs. Our project page is available at https://wjdghks950.github.io/mol.github.io/.

1 Introduction

Multimodal Large Language Models (MLLMs) process text and images as input, with designs that typically contain three components: one or more pre-trained vision encoders [40, 55, 38, 17, 20], a vision-language connector [36, 25, 42, 10, 28, 29, 5] that maps the visual features extracted from the vision encoder to the pre-trained Large Language Model (LLM) space [32, 47, 16], and the backbone LLM that takes as input the visual patches and textual tokens to perform complex visual understanding and reasoning. Despite their strong image-text understanding capabilities, many existing MLLMs typically assume that the later layer (e.g., final or penultimate) vision encoder representations provide a sufficiently universal abstraction for all downstream tasks as they are strongly aligned with semantic and language-level supervision during training.

Such assumptions, however, become especially limiting for fine-grained multimodal perception and reasoning, where answers often depend on small objects, localized text, subtle attributes, count-

  • Equal contribution.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

ing, or spatial relations that may not be preserved in a single final-layer representation. We argue that such fixed set of later layers provide limited, query-agnostic access to such granular visual information, even though prior analyses show that spatial and semantic information is distributed differently across vision-encoder layers [14, 15, 7, 23, 3]. Even query-conditioned visual extraction approaches such as Q-Former-based architectures (e.g., BLIP-2 [28], InstructBLIP [10]) or Perceiver Resampler-based designs (e.g., Flamingo [1]) primarily operate on fixed final-layer vision representations rather than dynamically selecting among intermediate-layer features. Recent analyses show that pretrained vision encoders such as CLIP [40] and DINOv2 [38] encode diverse visual features across layers [14, 7, 23], with the most useful layer varying by downstream task [3]. While recent methods exploit intermediate-layer representations [52, 4, 34, 6, 30, 37, 33], they typically rely on manually selected fixed layers [18, 34, 4, 6], increase the number of injected visual tokens [52, 34], or conduct weighted averaging across the layers [33]. More importantly, these choices are largely text-instruction agnostic: the same set of representations are used regardless of visual reasoning task (i.e., prompts). Finally, such static treatment also contrasts with biological vision, where the brain appears to selectively emphasize task-relevant levels of this hierarchy rather than use all representations uniformly [44]. This suggests that effective visual processing in MLLMs should dynamically select the representations most relevant to the current instruction, rather than simply exposing the LLM to more visual features or fixed end-layer representations.

Inspired by this principle, we propose MIXTURE OF LAYERS (MOL), an instruction-guided layer routing mechanism that dynamically selects intermediate-layer visual patch representations from MLLM vision encoders. Rather than relying on a fixed set of visual features, MOL predicts instruction-conditioned routing distributions over vision-encoder layers, enabling different image regions and tasks to access different levels of visual abstraction. Conceptually, the router treats intermediate vision layers as a set of candidate representations and selectively aggregates the most useful ones for the current query. We instantiate MOL with three routing variants: layer-level routing (MOL layer_{layer}), patch-level routing (MOL patch_{patch}), and hybrid routing (MOL hybrid_{hybrid}), which combines the preceding two variants. Specifically, MOL layer_{layer} performs image-level routing across the layers of the pre-trained vision encoder, while MOL patch_{patch} predicts a separate layer distribution for each visual patch, allowing different image regions to draw from different abstraction levels within the vision hierarchy. MOL hybrid_{hybrid} combines the two routing schemes through a weighted product-of-experts [21] and uses their disagreement to gate a reserve layer (§3.1), balancing local fine-grained evidence with broader semantic context. MOL is particularly effective in fine-grained visual reasoning, showing significant improvements on downstream tasks such as V* and CharXiv with gains of 18.9% and 16.3%, respectively. In practice, the added cost is small relative to the overall model: the router contributes negligible parameter overhead (<0.02% over the 13B base model) while leaving token-by-token language decoding unchanged.

Our work makes three key contributions:

• We introduce a novel routing formulation that adaptively selects intermediate vision-encoder layer representations conditioned on the input instruction, supporting both image-level MOLlayerMOL_{layer} and patch-level MOLpatchMOL_{patch} decisions.

• We develop a hybrid routing mechanism MOLhybridMOL_{hybrid} with a disagreement-gated reserve layer ( §3.1\S3.1) that balances local fine-grained evidence and global semantic context while routing across vision encoder layers.

• Across seven different fine-grained visual reasoning benchmarks, MOL substantially improves fine-grained visual reasoning without increasing the number of visual tokens passed into the LLM or relying on multiple vision encoders, making MOL complementary to existing MLLM scaling approaches.

References (52)

  • Flamingo: a visual language model for few-shot learning
  • Qwen3-VL Technical Report
  • Perception encoder: The best visual embeddings are not at the output of the network, 2025
  • Mmfuser: Multimodal multi-layer feature fuser for fine-grained vision-language understanding (opens arXiv in a new tab)
  • Honeybee: Locality-enhanced projector for multimodal llm
  • Multimodal language models see better when they look shallower
  • INViTE: Interpret and control vision-language models with text explanations
  • Solo: A single transformer for scalable vision-language modeling
  • 5: Native multimodal models are world learners (opens arXiv in a new tab)
  • InstructBLIP: Towards general-purpose vision-language models with instruction tuning
  • Open weights and open data for state-of-the-art vision-language models
  • An image is worth $16 \times 16$ words: Transformers for image recognition at scale
  • Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity
  • Interpreting clip’s image representation via text-based decomposition
  • What do vision transformers learn? a visual exploration (opens arXiv in a new tab)
  • The Llama 3 Herd of Models
  • Momentum contrast for unsupervised visual representation learning
  • Multi-modal latent space learning for chain-of-thought reasoning in language models
  • Efficient multimodal learning from data-centric perspective (opens arXiv in a new tab)
  • Gqa: A new dataset for real-world visual reasoning and compositional question answering
  • From CLIP to DINO: Visual encoders shout in multi-modal large language models, 2024
  • A unified framework for image-and pixel-level vision-language alignment
  • Grounding language models to images for multimodal inputs and outputs
  • Naturalbench: Evaluating vision-language models on natural adversarial samples
  • LLaVA-onevision: Easy visual task transfer
  • Blip-2: Bootstrapping language-image pre-training with frozen image encoders and large language models
  • Tokenpacker: Efficient visual projector for multimodal llm
  • Instruction-guided fusion of multi-layer visual features in large vision-language models
  • Evaluating object hallucination in large vision-language models
  • Textbooks are all you need ii: phi-1.5 technical report (opens arXiv in a new tab)
  • Text-guided layer fusion mitigates hallucination in multimodal llms (opens arXiv in a new tab)
  • Multi-layer visual feature fusion in multimodal llms: Methods, analysis, and best practices
  • Improved baselines with visual instruction tuning
  • Visual instruction tuning
  • Deepstack: Deeply stacking visual tokens is surprisingly simple and effective for lmms
  • Transactions on Machine Learning Research, 2024
  • What do self-supervised vision transformers learn? In The Eleventh International Conference on Learning Representations, 2023
  • Outrageously large neural networks: The sparsely-gated mixture-of-experts layer
  • Eagle: Exploring the design space for multimodal LLMs with mixture of encoders
  • Towards vqa models that can read
  • Scene perception and visuospatial memory converge at the anterior edge of visually responsive cortex
  • Advances in Neural Information Processing Systems, 37:87310–87356, 2024
  • Eyes wide shut? exploring the visual shortcomings of multimodal llms
  • LLaMA: Open and Efficient Foundation Language Models
  • Divide, conquer and combine: A training-free framework for high-resolution image perception in multimodal large language models
  • Charting gaps in realistic chart understanding in multimodal llms
  • V?: Guided visual search as a core mechanism in multimodal llms
  • Dense connector for mllms
  • mPLUG-Owl: Modularization Empowers Large Language Models with Multimodality
  • A massive multi-discipline multimodal understanding and reasoning benchmark for expert agi
  • Sigmoid loss for language image pre-training
  • MiniGPT-4: Enhancing vision-language understanding with advanced large language models