Deep Models, Shallow Alignment: Uncovering the Granularity Mismatch in Neural Decoding

Yang Du, Siyuan Dai, Yonghao Song, Paul M. Thompson, Haoteng Tang, Liang ZhanarXiv 2026

TL;DR

Traditional neural visual decoding methods try to align brain signals with the final, highly abstract layers of deep vision models, leading to a fundamental "granularity mismatch." By shifting the alignment target to intermediate layers—a framework called Shallow Alignment—this paper dramatically improves image retrieval accuracy and unlocks a positive scaling trend where larger vision foundation models finally yield superior brain decoding performance.

What Problem Does This Paper Address?

Neural visual decoding aims to reconstruct or retrieve what a person is seeing directly from non-invasive brain recordings like electroencephalography (EEG) or magnetoencephalography (MEG). Recent state-of-the-art methods use contrastive learning to align these brain signals with the embeddings of pretrained vision models (such as CLIP or Vision Transformers).

However, there is a fundamental catch: the final layers of modern vision models are optimized for semantic invariance. To maximize classification accuracy, they aggressively compress away local structural variations, collapsing a detailed image of a goose into an abstract category embedding. In contrast, visually evoked neural responses in the human brain are not confined to a single abstract level; they simultaneously encode a rich mix of low-level features (edges, contours, colors) and high-level semantics.

This mismatch causes a counterintuitive phenomenon the authors term the Depth–Capacity Paradox: scaling up a vision model's size or depth often hurts decoding performance because deeper models discard the exact structural details that the brain encodes.

Overview of the Shallow Alignment framework, highlighting the granularity mismatch caused by Neural Collapse in final layers.

Methods

The authors introduce Shallow Alignment, a granularity-calibration framework that systematically targets intermediate layers of vision encoders rather than their final canonical embeddings. The pipeline consists of:

  1. Layer Selection: Probing intermediate layers across diverse vision backbones (CNNs and ViTs) to identify the optimal depth where the visual representation's granularity best matches the neural signal.
  2. Linear Semantic Projector: Restricting the cross-modal mapping to simple linear projections. This ensures that decoding improvements stem purely from the representation quality of the chosen layer rather than an overly expressive decoder overfitting the noisy brain data.
  3. Token-Level Calibration (Spatial Pooling): Evaluating spatial pooling strategies—such as global average pooling, center-foveal pooling, and sample-adaptive attention-based pooling—to isolate informative visual regions (like foreground objects) that dominate brain activity.
  4. Layer-Level Calibration (Multi-Layer Cascade Fusion): Fusing the cross-modal similarity matrices of neighboring intermediate layers to aggregate complementary structural and semantic information across depths.
  5. Contrastive Objective: Training the network using a symmetric contrastive loss function to maximize the similarity of matched neural-visual pairs within a mini-batch.

Datasets

The framework was validated on two public non-invasive neural decoding benchmarks:

  • THINGS-EEG: 63-channel EEG recordings from 10 subjects viewing a rapid serial visual presentation (RSVP) of images. It contains 1,654 training object concepts and a disjoint zero-shot test set of 200 concepts.
  • THINGS-MEG: 271-sensor MEG recordings from 4 participants across 1,854 object concepts, utilizing a similar zero-shot testing protocol.

Key Insights and Ideas

  • The Inverted U-Shape of Alignment: Retrieval accuracy follows a strict inverted U-shaped curve relative to network depth. Early layers lack the semantic discriminability needed for retrieval, while final layers suffer from "Neural Collapse." The optimal bridge for brain alignment consistently lives in the intermediate layers.
  • Resolving the Depth–Capacity Paradox: By aligning with intermediate layers, the authors restored standard machine learning scaling laws to neural decoding. Larger foundation models (like the 5.54-billion-parameter InternViT) now consistently outperform smaller models (like ResNet-50), which was previously impossible using final-layer alignment.
  • Semantic vs. Structural Trade-offs: Concept analysis revealed that final-layer alignment over-relies on category identity (e.g., retrieving any random animal when shown an ostrich). Intermediate layers preserve fine-grained structural fidelity (e.g., successfully retrieving objects that share the ostrich's long, slender legs, like a table or baby crib, even when the exact category match fails).

Key Results

Shallow Alignment achieved massive performance leaps over standard final-layer alignment, with absolute accuracy gains ranging from 22% to 58% across different vision backbones.

Overall accuracy table of 200-way zero-shot retrieval on THINGS-EEG.
  • THINGS-EEG (Intra-Subject): Using InternViT features, Shallow Alignment achieved a Top-1 accuracy of 82.6%, compared to 55.9% for final-layer alignment and 63.2% for the previous state-of-the-art method (NeuroBridge).
  • Pooling & Fusion Boost: Combining multi-layer cascade fusion with sample-adaptive attention pooling pushed the InternViT Top-1 accuracy to a staggering 91.3%.
  • THINGS-MEG (Intra-Subject): The method achieved 48.0% Top-1 accuracy, substantially outperforming NeuroBridge (32.2%).

Limitations and Future Work

  • Manual Layer Sweeping: Currently, Shallow Alignment acts as an empirical calibration protocol. It relies on a retrospective layer-wise sweep to find the optimal depth rather than utilizing a fully automated, dynamic granularity-matching estimator.
  • The Cross-Subject Challenge: While intra-subject performance is remarkably high, accuracy drops significantly in inter-subject (leave-one-subject-out) settings (e.g., an average Top-1 of 21.8% on THINGS-EEG). Because different individuals exhibit distinct representational granularities in their neural responses, future work must focus on developing adaptive, subject-specific granularity calibration techniques.

Summary updated

BibTeX
@misc{du2026deep,
  author = {Yang Du and Siyuan Dai and Yonghao Song and Paul M. Thompson and Haoteng Tang and Liang Zhan},
  title = {{Deep Models, Shallow Alignment: Uncovering the Granularity Mismatch in Neural Decoding}},
  year = {2026},
  eprint = {2601.21948},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.21948},
}
Figure