Skip to content
Skip to lesson
Back to Topics
LearnTransformer & Multimodal ArchitecturesVision-Language & Multimodal Architectures
HardMultimodal Models14 min read

Vision-Language & Multimodal Architectures

Master vision-language and multimodal LLM architectures from CLIP and SigLIP contrastive encoders to ViT patch tokenization, dynamic tiling, connectors, fusion strategies, and KV-cache serving.

On this page

A single chart or photograph reveals the core tension in multimodal engineering. Type "line chart showing latency spike" into an image search bar and a dual-encoder index finds matching figures across millions of images in milliseconds. Ask that same 768-number embedding to read a 14:02 axis tick, count three red markers, or reconcile the chart with a 40-second spoken clip, and it goes completely blind.

Pixels, audio spectrograms, and text tokens live in different coordinate systems and arrive at wildly different token rates. Global pooling makes retrieval fast, whereas grounded reasoning demands keeping spatial patch tokens alive and bridging them into a language model without overflowing context windows or KV-cache memory.

Contrastive dual-encoders: CLIP and SigLIP

CLIP (Contrastive Language-Image Pre-training) aligned whole images and captions inside one shared hypersphere from 400 million web (image, text) pairs.[1] It runs an image tower (ResNet or ViT) and a text tower independently, joining them only at the output via linear projections and L2 normalization. That late-fusion design lets you embed millions of images offline and rank them against any text prompt with a single dot product.

CLIP symmetric InfoNCE loss

For NN paired L2-normalized image and text embeddings (Ii,Tj)(I_i, T_j), CLIP builds the N×NN \times N scaled cosine matrix zij=exp⁡(t)⋅Ii⊤Tj=Ii⊤Tj/τz_{ij} = \exp(t) \cdot I_i^\top T_j = I_i^\top T_j / \tau, where tt is a learned log-scale (with exp⁡(t)\exp(t) initialized at 1/0.07≈14.31/0.07 \approx 14.3, so t≈2.66t \approx 2.66, and clamped at exp⁡(t)≤100\exp(t) \le 100).[1] The NN diagonal pairs are positives and the N2−NN^2 - N off-diagonal pairs serve as in-batch negatives under symmetric InfoNCE :

LI→T=−1N∑i=1Nlog⁡exp⁡(zii)∑j=1Nexp⁡(zij),LT→I=−1N∑i=1Nlog⁡exp⁡(zii)∑j=1Nexp⁡(zji),L=LI→T+LT→I2\mathcal{L}_{I \rightarrow T} = -\frac{1}{N}\sum_{i=1}^{N}\log\frac{\exp(z_{ii})}{\sum_{j=1}^{N}\exp(z_{ij})}, \qquad \mathcal{L}_{T \rightarrow I} = -\frac{1}{N}\sum_{i=1}^{N}\log\frac{\exp(z_{ii})}{\sum_{j=1}^{N}\exp(z_{ji})}, \qquad \mathcal{L} = \frac{\mathcal{L}_{I \rightarrow T} + \mathcal{L}_{T \rightarrow I}}{2}

CLIP trained with N=32,768N = 32{,}768 so every image competed against 32,767 negative captions.[1] Two details trap engineers immediately. First, default CLIP encode_image and encode_text return unnormalized features (with a 77-token text cap);[2] skipping L2 normalization lets high-norm captions beat closer directional matches. Second, when two rows in a large batch depict the same concept, InfoNCE treats their off-diagonal pair as a false negative and pushes matching representations apart.

SigLIP: pairwise sigmoid loss

CLIP's batch-wide softmax forces every GPU to synchronize global normalizers. SigLIP (Sigmoid Loss for Language-Image Pre-training) replaces softmax with independent pairwise binary classification:[3]

L=−1N∑i=1N∑j=1Nlog⁡σ ⁣(zij⋅(t⋅vi⊤uj+b))\mathcal{L} = -\frac{1}{N} \sum_{i=1}^{N} \sum_{j=1}^{N} \log \sigma\!\big(z_{ij} \cdot (t \cdot v_i^\top u_j + b)\big)

Here zij=+1z_{ij} = +1 on the diagonal and −1-1 off-diagonal, t=exp⁡(t0)t = \exp(t_0) starts at 1010, and learned bias bb starts at −10-10 to reflect negative-heavy batches. Crucially, SigLIP sums all N2N^2 pair losses and divides by NN, not N2N^2 (dividing by N2N^2 shrinks loss and gradients by an extra factor of NN). Removing the shared denominator lets SigLIP chunk across devices and outperform softmax CLIP below 16k batch size.[3] SigLIP 2 adds captioning, self-distillation, and masked prediction for stronger VLM transfer, with NaFlex variants preserving native aspect ratios.[4][5]

Verify the L2 norm trap, CLIP's false-negative collision spike, and SigLIP's /N vs /N^2 reduction in NumPy:

clip-and-siglip-loss.py
import numpy as np

def l2_norm(x: np.ndarray) -> np.ndarray:
    return x / np.linalg.norm(x, axis=-1, keepdims=True)

def clip_loss(img_e: np.ndarray, txt_e: np.ndarray, temp: float = 0.2) -> float:
    logits = (l2_norm(img_e) @ l2_norm(txt_e).T) / temp
    idx = np.arange(len(logits))
    def row_ce(m: np.ndarray) -> float:
        s = m - m.max(axis=-1, keepdims=True)
        return float(np.mean(np.log(np.sum(np.exp(s), axis=-1)) + m.max(axis=-1) - m[idx, idx]))
    return 0.5 * (row_ce(logits) + row_ce(logits.T))

# 1. Raw dot product vs L2-normalized cosine
img, cap_a, cap_b = np.array([1.0, 0.0]), np.array([0.8, 0.6]), np.array([9.0, 12.0])
print(f"raw dot: A={img @ cap_a:.1f}, B={img @ cap_b:.1f} | cosine: A={l2_norm(img) @ l2_norm(cap_a):.2f}, B={l2_norm(img) @ l2_norm(cap_b):.2f}")

# 2. Clean 3x3 batch vs false-negative collision
img_c = np.array([[0.95, 0.05, 0.00], [0.05, 0.92, 0.03], [0.00, 0.07, 0.94]])
txt_c = np.array([[0.91, 0.08, 0.01], [0.06, 0.89, 0.04], [0.02, 0.09, 0.90]])
img_d = np.array([[0.95, 0.05, 0.00], [0.92, 0.08, 0.00], [0.00, 0.07, 0.94]])
txt_d = np.array([[0.91, 0.09, 0.00], [0.89, 0.11, 0.00], [0.02, 0.09, 0.90]])
print(f"CLIP clean: {clip_loss(img_c, txt_c):.3f} | collision: {clip_loss(img_d, txt_d):.3f}")

# 3. SigLIP pairwise loss: /N vs /N^2 on 2x2 zero logits
losses = np.logaddexp(0.0, -(2.0 * np.eye(2) - 1.0) * np.zeros((2, 2)))
print(f"SigLIP /N: {losses.sum() / 2:.3f} | /N^2: {losses.sum() / 4:.3f}")
Output
raw dot: A=0.8, B=9.0 | cosine: A=0.80, B=0.60
CLIP clean: 0.022 | collision: 0.469
SigLIP /N: 1.386 | /N^2: 0.693

Zero-shot classification and dual-encoder limits

Embedding prompt templates ("a photo of a {label}") gives zero-shot classification without training a new head: CLIP ViT-L/14@336px reached 76.2% ImageNet top-1, with prompt templates plus 80-template ensembling adding nearly +5 points over bare class names.[1] Never trust single-candidate (softmax([-10]) = [1.0]); threshold raw cosine and top-1 vs top-2 margin.

Global pooling still hits four ceilings: no bounding-box localization or counting (requiring detectors like Grounding DINO[6] or grounded VLMs), no text generation, weak attribute binding and multi-digit OCR (CLIP scores 88% on MNIST but 51% on SVHN),[1] and both web bias[7] and the geometric modality gap where image and text embeddings occupy distinct hypersphere cones.[8] Generative VLMs solve this by stopping before pooling and handing spatial patch tokens to a decoder.

Vision tokenization and dynamic resolution

A generative multimodal LLM combines modality encoders, a cross-modal connector, and a language decoder into one pipeline.

Multimodal LLM architecture schematic: Vision (ViT patches), Audio (100 Hz spectrogram), and Text (BPE tokens) pass through encoders and enter an autoregressive language decoder via either Pathway A (MLP/Q-Former prefix projection into shared self-attention) or Pathway B (Perceiver latent memory read by gated cross-attention), producing grounded text, boxes, and timestamps.
Images, audio, and video pass through modality encoders before a connector inserts them into the decoder prefix or cross-attention memory.

ViT patchification and token scaling

A slices an H×W×CH \times W \times C image into P×PP \times P patches, flattens each to P2CP^2 C scalars, projects it to width DD, adds positional embeddings, and runs global from layer 1.[9] For VV views of size Hi×WiH_i \times W_i padded to patch size PP:

Npatch=∑i=1V⌈HiP⌉⌈WiP⌉N_{\text{patch}} = \sum_{i=1}^{V} \left\lceil\frac{H_i}{P}\right\rceil \left\lceil\frac{W_i}{P}\right\rceil

Token counts scale quadratically with resolution: a 224px image at P=14P=14 emits 256 patches, while 336px (LLaVA-1.5) emits 576.[10] Upload bytes never predict GPU cost: a 12 MB JPEG and a 400 KB WebP yield identical patch counts after resizing, whereas a tiny PNG tiled into five 336px crops emits 2,880 visual tokens. Always cap upload bytes and post-preprocessing visual tokens separately.

visual-token-scaling.py
def vit_patchify(image: np.ndarray, patch: int, dim: int) -> np.ndarray:
    H, W, C = image.shape
    gh, gw = H // patch, W // patch
    flat = image.reshape(gh, patch, gw, patch, C).transpose(0, 2, 1, 3, 4).reshape(gh * gw, patch * patch * C)
    return flat @ (np.random.default_rng(0).standard_normal((flat.shape[1], dim)) * 0.02)

print("224px @ P=16 projected shape:", vit_patchify(np.zeros((224, 224, 3), np.float32), 16, 768).shape)
for label, sz, views in [("224px (1 view)", 224, 1), ("336px (1 view)", 336, 1),
                         ("672px (1 view)", 672, 1), ("chart (5x 336px)", 336, 5), ("video 60s @ 2fps", 224, 120)]:
    vis = int(np.ceil(sz / 14)) ** 2 * views
    total = vis + 2500
    print(f"{label:<18} visual={vis:6,d}  total={total:6,d}  [{'fits 4K' if total <= 4096 else 'exceeds 4K'}]")
Output
224px @ P=16 projected shape: (196, 768)
224px (1 view)     visual=   256  total= 2,756  [fits 4K]
336px (1 view)     visual=   576  total= 3,076  [fits 4K]
672px (1 view)     visual= 2,304  total= 4,804  [exceeds 4K]
chart (5x 336px)   visual= 2,880  total= 5,380  [exceeds 4K]
video 60s @ 2fps   visual=30,720  total=33,220  [exceeds 4K]
Shared-scale horizontal bar chart of ViT-L/14 visual token counts against a 4,096-token context window: 224px still emits 256 patches, 448px still emits 1,024, 672px still emits 2,304, five 336px chart tiles emit 2,880, and 60 seconds of 224px video at 2 fps emits 30,720 patches (7.5x the 4,096-token limit).
A 60-second video at 2 fps emits 30,720 raw ViT-L/14 patches, 7.5 times a 4,096-token context window before adding any text.

Dynamic resolution and AnyRes tiling

Downscaling a 4K chart to 336x336 smears small labels into unreadable pixels. Two modern patterns preserve fine text:

Dynamic AnyRes tiling schematic: a high-resolution 1344x896 chart divides into a 3x2 tile grid highlighting Tile 3 (upper-right metric badge) and Tile 4 (bottom axis timestamps). It emits one downsampled 336x336 global thumbnail plus two native-resolution local crops with normalized [y0, x0, y1, x1] coordinates, concatenated into an ordered decoder prefix of 1,728 visual tokens plus text prompt.
Dynamic tiling reserves one global view for layout and spends the remaining crop budget on high-detail local regions with preserved coordinate mappings.

Vision-to-language connectors

The connector projects NN encoder patches of width dvd_v into decoder width dllmd_{\text{llm}}, choosing between keeping full spatial grids or compressing into M≪NM \ll N learned query vectors:

ConnectorVisual tokensMechanismPrimary tradeoff
Linear / 2-layer MLP (LLaVA-1.5)NNPer-patch projection (Linear -> GELU -> Linear)[10]Preserves spatial layout; high token cost on tiled views
2x2 spatial merger (Qwen2.5-VL)N/4N / 4Merges adjacent 2×22 \times 2 patches before MLP[11]4x token cut with intact 2D neighborhoods
Q-Former (BLIP-2)Fixed MM (e.g., 32)Learned queries cross-attend over all NN patches[12]Predictable KV budget; can blur tiny OCR strings
Perceiver Resampler (Flamingo)Fixed MM (e.g., 64)Learned latent bank cross-attends over variable media[13]Caps multi-image/video length; same fine-detail risk

Q-Former and Perceiver do not discard 544 patches; every learned query attends across all 576 patches. Watch one scaling trap: applying 24 queries per view or per frame still scales linearly (10 frames ×\times 3 views ×\times 24 = 720 tokens), so clip caps require a clip-level resampler or frame limit. Connectors can also vary injection depth: MPnP taps intermediate vision blocks and injects projected K/V pairs directly into late decoder blocks for lightweight adaptation at the cost of shallower visual reasoning.[14]

projection-token-budget.py
rng = np.random.default_rng(7)
N, d_v, d_llm, M = 576, 768, 2048, 32
patches = rng.standard_normal((N, d_v)).astype(np.float32)
W_lin = rng.standard_normal((d_v, d_llm)).astype(np.float32) * 0.02

linear_out = patches @ W_lin
queries = rng.standard_normal((M, d_v)).astype(np.float32) * 0.02
scores = (queries @ patches.T) / np.sqrt(d_v)
weights = np.exp(scores - scores.max(axis=-1, keepdims=True))
weights /= weights.sum(axis=-1, keepdims=True)
qformer_out = (weights @ patches) @ W_lin

print(f"linear: {linear_out.shape} | q-former: {qformer_out.shape} ({N // M}x compression)")
Output
linear: (576, 2048) | q-former: (32, 2048) (18x compression)

Fusion architectures: early, late, and cross-attention

StrategyInteraction pointBest fitAttention & KV cost
Early fusionInterleaved prefix before layer 0Fine OCR, chart QA, native VLMsShared O((Ttext+Tvis)2)O((T_{\text{text}}+T_{\text{vis}})^2) self-attention and shared KV cache
Cross-attentionSelected decoder layers read visual bankFrozen backbones, multi-image/video banksText self-attention plus O(TtextTvis)O(T_{\text{text}} T_{\text{vis}}) per fusion layer
Late fusionPooled vectors after separate towersFast million-scale image-text searchOne dot product; no generative decoder

Early fusion (interleaved visual-text attention)

Early fusion concatenates projected visual tokens directly with text (from a standard tokenizer), letting every layer mix vision and language via standard self-attention (used in LLaVA, Qwen2.5-VL, GPT-4o, and Llama 4).[15][11][16][17] Every visual token consumes prefill FLOPs and KV cache just like text: pairing five 336px views (2,880 tokens) with 2,500 transcript/prompt/output tokens totals 5,380 tokens (exceeding 4K), whereas 32-query resampling (160 visual tokens) fits cleanly at 2,660 tokens.

Stacked bar comparison against a 4,096-token context limit on a shared 0 to 6,000 token axis. Direct MLP projection adds 2,880 visual tokens from five 336px views to 2,200 text and 300 output tokens, totaling 5,380 tokens (+1,284 overflow). A 32-query resampler compresses visual tokens to 160, totaling 2,660 tokens with 1,436 tokens of headroom.
Compressing five views from 2,880 to 160 visual tokens brings a 5,380-token sequence safely inside a 4,096-token window.

Gated cross-attention (Flamingo-style)

Flamingo keeps resampled visual memory off the text prefix and inserts gated blocks between frozen LLM layers:[13]

A=softmax⁡ ⁣(QKTdk)V,hout=htext+tanh⁡(α)⋅AA = \operatorname{softmax}\!\left(\frac{QK^T}{\sqrt{d_k}}\right)V, \qquad h_{\text{out}} = h_{\text{text}} + \tanh(\alpha) \cdot A

At α=0\alpha = 0, tanh⁡(0)=0\tanh(0) = 0 preserves the pretrained text LLM identically at step 0. Contrast that with inserting zero-initialized visual K/V pairs directly into the same self-attention softmax (as in shared-K/V injection like MPnP[14]): even a zero key emits logit 0, stealing probability mass in the shared denominator and halving the text output!

gated-cross-attention.py
def attend(q: np.ndarray, k: np.ndarray, v: np.ndarray) -> np.ndarray:
    scores = (q @ k.T) / np.sqrt(q.shape[-1])
    w = np.exp(scores - scores.max(axis=-1, keepdims=True))
    return (w / w.sum(axis=-1, keepdims=True)) @ v

text_h = np.array([0.20, 0.10, 0.70])
vis_k = np.array([[0.20, 0.05, 0.75], [0.80, 0.10, 0.10], [0.05, 0.90, 0.05]])
vis_v = np.array([[0.10, 0.00, 0.90], [0.80, 0.10, 0.10], [0.10, 0.80, 0.10]])
att = attend(text_h, vis_k, vis_v)
for alpha in [0.0, 0.35]:
    print(f"Flamingo alpha={alpha:.2f} -> {np.round(text_h + np.tanh(alpha) * att, 3).tolist()}")

# Shared-softmax zero-K/V dilution: text value 2.0 drops to 1.0
t_only = attend(np.array([1.0]), np.array([[0.0]]), np.array([[2.0]]))[0]
t_zero = attend(np.array([1.0]), np.array([[0.0], [0.0]]), np.array([[0.0], [2.0]]))[0]
print(f"shared softmax: text_only={t_only:.1f}, with_zero_kv={t_zero:.1f}")
T_text, T_vis = 2200, 160
print(f"scores: early={(T_text + T_vis)**2:,} | cross-attn={T_text * T_vis:,} (+ text self-attn)")
Output
Flamingo alpha=0.00 -> [0.2, 0.1, 0.7]
Flamingo alpha=0.35 -> [0.308, 0.191, 0.837]
shared softmax: text_only=2.0, with_zero_kv=1.0
scores: early=5,569,600 | cross-attn=352,000 (+ text self-attn)
Flamingo-style gated cross-attention circuit. On the left, a Vision Encoder and Perceiver Resampler compress N visual patches into a static side memory of M latent keys K_v and values V_v off the text prefix. On the right, text states h_text pass through a gated cross-attention block computing h + tanh(alpha) * Attn(Q, K_v, V_v) with alpha initialized at 0, then continue into frozen Self-Attention and FFN layers.
Cross-attention keeps visual memory off the text prefix, letting selected fusion layers read visual features where needed.

Audio, video, and multi-rate frontends

Different modalities emit features at vastly different rates: five 336px crops emit 2,880 patches, 40 seconds of audio at 100 Hz emit 4,000 spectrogram frames, and a transcript adds 2,000 text .

Match pretrained frontends to signal types: CLIP[1] or SigLIP[3] for images, Whisper[18] for speech spectrograms, and CLAP[19] for non-speech audio retrieval; for video, combine spatial compression with temporal sampling or spatiotemporal pooling (TimeSformer,[20] VideoMAE[21]). For speech, timestamped transcripts beat raw audio on cost unless tone, overlap, or alarms matter; when feeding raw audio, stride-10 temporal pooling compresses 4,000 -> 400 tokens (trading 10 ms precision for 100 ms steps). Always separate utterance time (when someone spoke) from event time (when a metric changed on a chart).

Training recipes and modern VLM tradeoffs

Adapter-based two-stage training (BLIP-2,[12] LLaVA,[15] LLaVA-1.5,[10] early PaLI[22]) separates bridge alignment from instruction tuning:

StageDataVision encoderProjectorLLM
1. Feature alignmentFiltered CC3M captions[23] (558K in LLaVA-1.5)FrozenTrainFrozen
2. Visual instruction tuningMultimodal QA mix (665K in LLaVA-1.5)FrozenTrainTrain (full FT or )

In Stage 1, freeze LLM weights (requires_grad=False) so random projector never corrupt pretrained language weights, while keeping activation backpropagation enabled through the caption loss (wrapping the LLM in torch.no_grad() kills projector training!). LLaVA-1.5 finished both stages in roughly a day on 8 A100 GPUs.[10]

Joint / native multimodal pretraining unfreezes encoders and backbones together across rich text, image, audio, and video mixtures: Gemini,[24] Llama 4 ( with MetaCLIP + sparse MoE),[17] GPT-4o (end-to-end text/vision/audio I/O),[16] and Qwen2.5-VL (dynamic ViT + 2x2 merger).[11] Joint training excels on dense and charts, but unbalanced multimodal batches can erode pure-text reasoning; use per-component and track text-only evals continuously. Post-training with [25] or sharpens abstention and formatting, yet never recovers pixels erased upstream: if verified OCR text succeeds where raw pixels fail, fix resolution or connector compression first.

Multimodal serving, KV-cache memory, and safety

In early-fusion VLMs, visual tokens occupy the decoder KV cache alongside text. eliminates fragmentation[26] but not token count. On a 32-layer GQA decoder (8 KV heads, head dim 128, BF16 = 2 B), each token consumes 2×32×8×128×2=128 KiB2 \times 32 \times 8 \times 128 \times 2 = \mathbf{128\text{ KiB}} of KV cache: 2,880 direct visual tokens take 360.0 MiB/request, whereas 160 resampled tokens take 20.0 MiB/request, freeing 340 MiB/request for concurrent batches.

Execution matrix of five multimodal serving stages across four cache tiers. Cold requests run all five stages. Feature cache reuses vision/audio encoding. Projected-token cache reuses encoding and projection. Prefix-KV cache reuses encoding, projection, and shared-prefix prefill, running only new-query prefill and autoregressive decode.
Each cache tier skips upstream stages; prefix-KV reuse skips shared visual and document prefill while new-question prefill and decode still run.

Keep reusable visual context before the changing user question so causal prefix-KV blocks stay identical across follow-up turns. Engines like vLLM hash prefix blocks using multimodal identities, LoRA IDs, and per-tenant cache salts;[27] always re-check access permissions externally before serving cache hits, and isolate vision-encoder workers from decoder pools. Note that cuts active FFN FLOPs per token[28] without reducing vision encoding, visual prefix length, or visual KV memory.

Finally, images can hide inside rendered pixels that bypass text filters.[29] Treat pixels and OCR text strictly as untrusted data, validate decoded dimensions against decompression bombs, scope downstream tools to read-only access, and evaluate OCR exact match and region IoU separately from fluency (using explicit np.isfinite checks so NaN never silently passes score < floor).

Check your understanding

Mastery Check

Check each question as you go, or answer all of them and check together. Score 75% or higher to complete this lesson.

0 of 5 answered
1.An L2-normalized image embedding is [0, 1]. Caption A is [0.6, 0.8] (norm 1) and caption B is [12, 5] (norm 13). Which caption wins under raw dot product vs cosine similarity, and what happens if SigLIP divides its total N x N pair loss by N^2 instead of N?
2.Three 280px square views use 14px patches (no CLS). A per-view Q-Former emits 24 queries per view. For a 10-frame clip (3 views/frame), what are the direct per-frame, reduced per-frame, and clip-wide reduced token counts?
3.In Case A, a text query yields logit 0 with value 6, and an unmasked visual key/value (0, 0) joins the same self-attention softmax. In Case B, base text state 4 adds a separate cross-attention residual multiplied by tanh(0). What outputs follow?
4.During Stage 1 LLaVA alignment, both the vision encoder and LLM weights stay frozen while training only the MLP projector. Wrapping the LLM forward in torch.no_grad() produces zero projector gradients. Which fix preserves the freeze requirement?
5.A follow-up request hits cached projected visual tokens but misses decoder prefix KV, with an uncached question suffix. Which stages still execute?

5 questions remaining.

References

Learning Transferable Visual Models From Natural Language Supervision.

Radford, A., et al. · 2021 · ICML 2021

https://arxiv.org/abs/2103.00020

CLIP: Official Implementation

OpenAI · 2026

https://github.com/openai/CLIP

Sigmoid Loss for Language Image Pre-training.

Zhai, X., et al. · 2023 · ICCV 2023

https://arxiv.org/abs/2303.15343

SigLIP 2: Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Features

Tschannen, M., Gritsenko, A., Wang, X., et al. · 2025

https://arxiv.org/abs/2502.14786

SigLIP 2: Official Checkpoint and Implementation Guide

Google Research · 2026

https://github.com/google-research/big_vision/blob/0127fb6b337ee2a27bf4e54dea79cff176527356/big_vision/configs/proj/image_text/README_siglip2.md

Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detection.

Liu, S., et al. · 2023 · arXiv preprint

https://arxiv.org/abs/2303.05499

Evaluating CLIP: Towards Characterization of Broader Capabilities and Downstream Implications.

Agarwal, S., et al. · 2021 · arXiv preprint

https://arxiv.org/abs/2108.02818

Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learning

Liang, W., Zhang, Y., Kwon, Y., Yeung, S., & Zou, J. · 2022 · NeurIPS 2022

https://arxiv.org/abs/2203.02053

An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale.

Dosovitskiy, A., et al. · 2020 · ICLR 2021

https://arxiv.org/abs/2010.11929

Improved Baselines with Visual Instruction Tuning.

Liu, H., et al. · 2024 · CVPR 2024

https://arxiv.org/abs/2310.03744

Qwen2.5-VL Technical Report

Qwen Team, Alibaba Group · 2025

https://arxiv.org/abs/2502.13923

BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models.

Li, J., et al. · 2023 · ICML 2023

https://arxiv.org/abs/2301.12597

Flamingo: a Visual Language Model for Few-Shot Learning.

Alayrac, J.-B., et al. · 2022 · NeurIPS 2022

https://arxiv.org/abs/2204.14198

Modality Plug-and-Play: Runtime Modality Adaptation in LLM-Driven Autonomous Mobile Systems

Huang, K., Yin, X., Huang, H., & Gao, W. · 2025 · ACM MobiCom 2025

https://doi.org/10.1145/3680207.3723491

Visual Instruction Tuning.

Liu, H., et al. · 2023 · NeurIPS 2023

https://arxiv.org/abs/2304.08485

GPT-4o System Card.

OpenAI. · 2024 · arXiv preprint

https://arxiv.org/abs/2410.21276

The Llama 4 herd: the beginning of a new era of natively multimodal AI innovation

Meta AI · 2025

https://ai.meta.com/blog/llama-4-multimodal-intelligence/

Robust Speech Recognition via Large-Scale Weak Supervision

Radford, A., et al. · 2023 · ICML 2023

https://arxiv.org/abs/2212.04356

CLAP: Learning Audio Concepts from Natural Language Supervision.

Elizalde, B., et al. · 2023 · ICASSP 2023

https://arxiv.org/abs/2206.04769

Is Space-Time Attention All You Need for Video Understanding?

Bertasius, G., Wang, H., & Torresani, L. · 2021 · ICML 2021

https://arxiv.org/abs/2102.05095

VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Training.

Tong, Z., et al. · 2022 · NeurIPS 2022

https://arxiv.org/abs/2203.12602

PaLI: A Jointly-Scaled Multilingual Language-Image Model.

Chen, X., et al. · 2023 · ICLR 2023

https://arxiv.org/abs/2209.06794

Conceptual Captions: A Cleaned, Hypernymed, Image Alt-text Dataset For Automatic Image Captioning

Sharma, P., Ding, N., Goodman, S., & Soricut, R. · 2018 · ACL 2018

https://aclanthology.org/P18-1238/

Gemini: A Family of Highly Capable Multimodal Models.

Gemini Team, Google DeepMind. · 2023

https://arxiv.org/abs/2312.11805

Direct Preference Optimization: Your Language Model is Secretly a Reward Model.

Rafailov, R., et al. · 2023

https://arxiv.org/abs/2305.18290

Efficient Memory Management for Large Language Model Serving with PagedAttention.

Kwon, W., et al. · 2023 · SOSP 2023

https://arxiv.org/abs/2309.06180

Automatic Prefix Caching

vLLM · 2026

https://docs.vllm.ai/en/stable/design/prefix_caching/

Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity.

Fedus, W., Zoph, B., & Shazeer, N. · 2022

https://arxiv.org/abs/2101.03961

LLM Prompt Injection Prevention Cheat Sheet

OWASP · 2026

https://cheatsheetseries.owasp.org/cheatsheets/LLM_Prompt_Injection_Prevention_Cheat_Sheet.html

Discussion

Questions and insights from fellow learners.

Discussion loads when you reach this section.