PRISM Merges CLIP, DINOv2 and SAM Into One Model, Beats All Three

PRISM uses a dual-stream Mixture-of-Experts architecture to merge CLIP, DINOv2, and SAM into one model without the gradient conflicts that plague standard distillation

·
·
·
PRISM Merges CLIP, DINOv2 and SAM Into One Model, Beats All ThreePRO
  • PRISM is a dual-stream Mixture-of-Experts framework that distills CLIP, DINOv2, and SAM into a single ViT student, setting a new SOTA on PASCAL-Context and NYUD-v2 multi-task benchmarks.
  • The core problem it solves is gradient conflict: when multiple VFMs with contradictory objectives share the same weights, their gradients cancel out, producing a mediocre average model.
  • A two-stage training pipeline first lets experts self-specialize per teacher (Stage 1), then recombines them for downstream tasks (Stage 2) using FiLM-conditioned context routing.
  • On PASCAL-Context (ViT-B), PRISM achieves Δm = 2.29% vs. 0.83% for the prior best SAK, outperforming it on all 5 tasks; gains grow further with ViT-L (3.16%).
  • A novel Locality-Aware Decorrelation Loss prevents shallow-layer feature collapse ("semantic short-circuiting"), which is critical for fine-grained tasks like human parsing (+7.48 mIoU).
  • Code is linked at github.com/robotyingtang/PRISM-VFM but the repo appears to be a placeholder; training costs ~555 GPU-hours on RTX 5090s.

There are three vision models that every serious computer vision practitioner knows: CLIP for semantic understanding, DINOv2 for fine-grained texture and correspondence, and SAM for precise geometric and boundary cues. Each excels at something the others miss. The obvious question is: can you get all three in one model? The obvious answer has always been "yes, but at a cost." That cost is negative transfer -- when you force a single network to satisfy contradictory training signals, the gradients from different teachers fight each other, and the model collapses into a mediocre average that is worse than any individual teacher at its specialty.

A new paper, PRISM: Synergizing Vision Foundation Models via Self-organized Expert Specialization, proposes a principled fix. Rather than cramming all knowledge into shared weights, PRISM uses a sparse Mixture-of-Experts (MoE) architecture that lets different experts specialize in different representational subspaces, then dynamically recombines them for each downstream task. The result is a new state of the art on two standard multi-task dense prediction benchmarks.

The gradient war inside your model

To understand why this matters, consider what happens when you distill CLIP and DINOv2 simultaneously into a single ViT backbone. Modern VFMs provide complementary cues -- high-level semantics from CLIP, spatial structures from SAM, and fine-grained texture or correspondence from DINOv2 -- but deploying them as a model ensemble is costly in memory, latency, and engineering complexity. So the natural move is to distill all three into one student. The problem is that this many-to-one distillation risks eliminating the representation biases of the VFM teachers, and reconciling diverse biases in shared parameters can induce optimization conflicts.

Concretely: DINO encourages feature variance to distinguish local textures, while CLIP suppresses that same variance to achieve semantic invariance. When both loss signals flow through the same weights, their gradients point in opposite directions. The aggregate update is a compromise that satisfies neither objective. This is the gradient conflict problem, and it gets worse as you add more teachers.

Prior work like SAK (Swiss Army Knife) addressed this with static architectural branching -- a shared stem plus teacher-specific adapter paths. Recent works distill multiple VFM teachers into a single student model, but this many-to-one distillation risks eliminating the representation biases of the VFM teachers, potentially limiting the model's ability to capitalize on their individual strengths for specific tasks. SAK's hard boundaries also create a different problem: visual knowledge has soft overlaps. CLIP and DINO both encode a representation of a cat, just at different frequency bands. Static partitioning ignores this nuance and creates parameter redundancy.

Pro article

This story is for Pro members

You've reached the end of the free preview. Upgrade to AlphaSignal Pro to read the full article - and everything else behind the paywall.

Trending
  • No trending articles

Comments

avatar

Next Reads