NeurIPS 2026Visual representation learning

SALMqzfm's GitHub avatar

Unlocking Fine-Grained Perception in CLIP via Structurally-Aware Latent Masked Modeling

Bring local detail into the bigger picture.
Enhance CLIP’s visual features while preserving image–text alignment.

Juntong Li*Lingwei Dang*†Haomin WuZiyan QiuQingxin XiaoQingyao Wu‡

South China University of Technology emblem School of Software Engineering emblem

School of Software EngineeringSouth China University of Technology

* Equal contributions† Project leader‡ Corresponding author

THE BIG PICTURESALM / OVERVIEW

Richer visual details. The same CLIP at inference.

Learn local structure and global semantics together, using images alone.

PCA feature maps of buildings, cats, and a car compare CLIP, DINOv2, un2CLIP, KUEA, and SALM, alongside a radar plot of downstream performance.
Better structure. Broader capabilities. SALM produces spatially coherent features and improves zero-shot recognition, dense prediction, and multimodal understanding.
Image-only alignmentOriginal text encoder retainedNo extra inference cost

01 / The motivation

Seeing the whole is only half the story.

CLIP connects images with language. Fine-grained understanding also requires knowing what happens within the image.

THE PERCEPTION GAP

Global meaning.
Missing local detail.

Image-level supervision builds strong semantic representations, but does not directly constrain the relationships between local regions. Shapes, boundaries, and subtle attributes can be lost in deeper features.

THE KEY OBSERVATION

The details are there.
They need to carry through.

CLIP’s shallow layers already capture spatial details. The challenge is to retain and integrate this structure into the final representation, while keeping its correspondence with language.

OUR QUESTION

Can we strengthen local perception and preserve global image–text alignment?

The paper in brief

One framework. Two sources of structure.

SALM brings geometric knowledge from a vision teacher into CLIP through structural alignment and masked feature reconstruction. SALM-Self turns the same idea inward, learning from CLIP’s own shallow features.

Read the full abstract

Vision-Language Models (VLMs) such as CLIP excel in global semantic alignment but often lack fine-grained perceptual capabilities. This hinders dense prediction tasks and bottlenecks the visual potential of Multimodal Large Language Models (MLLMs). Existing research has attempted to enhance CLIP’s visual representations by incorporating geometric priors from vision-centric models. However, these strategies often struggle to achieve deep alignment for both local spatial structures and global semantics, potentially even distorting the original image-text space.

To address these limitations, we propose SALM, an unsupervised embedding alignment framework based on structurally-aware latent mask modeling. SALM effectively synergizes local and global alignment via a dual-path design combining explicit and implicit mechanisms, without requiring external textual supervision. First, we introduce a dual-matrix alignment strategy that explicitly calibrates intra-sample spatial correlations and activation intensities, thereby effectively injecting local geometric priors. Based on this, we further design a latent mask modeling mechanism to guide CLIP to restore the missing semantic details of the target model, thereby implicitly aggregating fine-grained structures into the global semantic space.

Furthermore, driven by the empirical observations that CLIP’s shallow features inherently possess strong spatial observational capabilities, we naturally extend SALM to a highly efficient self-distillation paradigm, SALM-Self. This unlocks CLIP’s intrinsic fine-grained potential without relying on any external models. Extensive experiments demonstrate that SALM not only significantly improves performance in dense prediction tasks but also boosts CLIP’s zero-shot accuracy, effectively enhancing the fine-grained understanding capabilities of MLLMs.

02 / The method

Align the structure.
Reconstruct the details.

Explicit region alignment and implicit feature reconstruction work together. A global constraint keeps the visual representation connected to language.

SALM architecture showing trainable CLIP, frozen CLIP and DINO encoders, dual-matrix alignment, and masked reconstruction through a Cross-Guided Adapter.
The SALM framework. Dual-Matrix Alignment transfers local geometry; latent masked modeling integrates fine-grained semantics; reference regularization preserves the original multimodal space.
01 / EXPLICIT ALIGNMENT

Learn how regions relate.

Dual-Matrix Alignment transfers two complementary cues from DINOv2: which patches are similar, and how their relative feature strengths differ.

Local geometry
02 / MASKED RECONSTRUCTION

Recover what is missing.

The Cross-Guided Adapter combines CLIP features with visible teacher features to reconstruct masked regions. With 75% masked, recovery requires fine-grained context.

Details into semantics
03 / GLOBAL REGULARIZATION

Stay connected to language.

The frozen original CLIP encoder anchors the global image representation. The enhanced encoder remains compatible with the original text encoder.

Image–text alignment

An alternative from within / SALM-Self

The teacher is
already inside.

CLIP’s shallow layers offer another source of spatial structure. SALM-Self uses this internal signal to teach deeper features to retain local details.

An exponential moving average (EMA) teacher supplies shallow targets. Deep student features guide reconstruction; Dual-Matrix Alignment then compares regional relationships, rather than matching every feature value.

No external vision teacher required
SALM-Self uses an EMA CLIP teacher, masked shallow features, and dual-matrix alignment for self-distillation.
SALM-Self architecture

03 / The evidence

Better details.
Benefits beyond a single task.

From pixel-level segmentation to zero-shot recognition and multimodal understanding, the gains carry through.

CLIP ViT-L/14-336 DINOv2 ViT-L/14 with registers ImageNet-1K images for alignment

Zero-shot recognition

69.25%

+1.90 pp vs. CLIP

11-dataset average · Table 1

Semantic segmentation

52.07 mIoU

+6.27 mIoU vs. CLIP

5-dataset mean · Linear probing · Table 2

Multimodal understanding

66.69 score

+2.04 points vs. LLaVA-1.5-7B + FT

8-benchmark average · Table 4

Results shown are for SALM. The zero-shot average excludes ImageNet-1K. Segmentation reports the arithmetic mean across ADE20K, Cityscapes, VOC2012, COCO-Stuff, and PASCAL Context, calculated from Table 2. Multimodal evaluation uses LLaVA-1.5-7B with LoRA instruction tuning on the same SFT data; image-only training refers to the encoder alignment stage. “pp” denotes percentage points.

04 / A closer look

The difference is in the details.

Feature visualizations reveal more coherent local regions alongside distinct global semantic clusters.

PCA comparisons, from left to right: input image, CLIP, DINOv2, un2CLIP, KUEA, SALM-Self, and SALM.
Fine-grained local features. SALM captures semantic nuances and preserves local detail across diverse scenes.
t-SNE plots, from left to right: CLIP, KUEA, un2CLIP, and SALM, with SALM showing more compact and separated semantic clusters.
Discriminative global semantics. t-SNE visualizations show more compact and well-separated feature clusters.

Local detail. Global meaning.

A sharper visual encoder.
The same inference architecture.

Keep the enhanced CLIP encoder. Leave the training modules behind.

Explore the paper

Reference

BibTeX

@article{li2026unlocking,
  title={Unlocking Fine-Grained Perception in CLIP via Structurally-Aware Latent Masked Modeling},
  author={Li, Juntong and Dang, Lingwei and Wu, Haomin and Qiu, Ziyan and Xiao, Qingxin and Wu, Qingyao},
  journal={arXiv preprint arXiv:2610.07689},
  year={2026}
}

Scroll to explore the figure · Press Esc to close