The idea. Making images and reading them are two pipelines built from the same few parts: a generator turns random noise into a small latent through tens of denoising passes and decodes it to pixels once; a reader cuts an image into patch tokens that a language model attends to like words; a native multimodal model runs both inside one transformer.
You need the transformer (attention, a block, a language model’s next-token loss): The transformer from zero if it is rusty. The derivations behind the losses (ELBO, scores, guidance, flow matching) are on Variational inference and generative-model maths; nothing here needs them.
The running example. Every small model in the topic trains on Fashion-MNIST: 70,000 grey 28 × 28 images of clothing in 10 classes (MIT licence, Zalando), padded to 32 × 32; clothing shows blur, dropped modes and class confusions by eye, and a 1M-parameter U-Net learns it in minutes on a laptop GPU. Sixteen fixed test images are used for every before/after. The pretrained models, pinned to exact revisions, are Stable Diffusion v1.5 (CreativeML OpenRAIL-M), CLIP ViT-B/32, SigLIP 2 base and the VLM SmolVLM-500M-Instruct (both Apache 2.0), run on sixteen colour test images with known answers (photographs in the public domain or CC0, synthetic scenes, Stable Diffusion outputs). Details and licences: the root’s src/data/README.md.
Labels: measured means produced for this topic in October 2026 on an Apple M1 Pro (GPU through PyTorch’s MPS backend, or CPU); vendor, a lab’s figure about its own model; third-party, someone without a stake; derived, computed with the formula shown; unconfirmed, no primary source. Counts (steps, passes, tokens) transfer to a datacenter GPU; laptop seconds do not.
Shared parts tie the lanes together: CLIP’s text tower is Stable Diffusion 1.5’s text encoder and its image tower was the first open VLMs’ encoder; the autoencoder that compresses for a generator also tokenises images for a native model; the transformer of the bottom lane became the denoiser of the top one (DiT).
An image of 28 × 28 grey pixels is a point in a 784-dimensional space; almost every point is static, and the images that look like clothing fill a tiny, oddly shaped region of it. We never get a formula for that region (the data distribution p(x)), only examples. A generative model is a recipe for drawing new points from it; a conditional one draws from p(x | c), with c a class or a prompt. The five families differ mostly in network calls per sample and training signal. Fig. 1 makes the same Fashion-MNIST test pullover each way, then reads it back three ways. Each frame is the exact path a sampler follows when its model already knows the answer, not a trained model’s guess, so the lanes differ in the calls they need, not in quality (trained samples are on the child pages each step names).
torch.cat([latents] * 2), pipeline_stable_diffusion.py line 1037, v0.41.0), so 30 sequential rounds; 1,024 / 60 ≈ 17. But each autoregressive call reuses a cache and processes one new token, while each diffusion call processes the whole image: counting calls alone is not counting compute (section 10).| Family | How it makes one sample | Network calls per sample | Gives the probability of an image? | Typical failure | Where it is in 2026 |
|---|---|---|---|---|---|
| VAE | Draw a random code, decode it once | 1 | A lower bound (the ELBO) | Blurry samples | The compressor in front of almost every image and video generator |
| GAN | A generator maps noise to an image; trained against a judge network | 1 | No | Mode collapse (a few kinds of output only), unstable training | Rarely alone; its adversarial loss sharpens VAE decoders and few-step distilled samplers |
| Autoregressive | Cut the image into discrete tokens, predict one token at a time | One per token (1,024 for one 512 × 512 image in Chameleon) | Yes, exactly | Slow; detail limited by the tokenizer | Audio, unified text-and-image models |
| Diffusion | Start from pure noise, remove a little noise per step | Tens of steps, twice that with guidance | A bound, or exactly through an ODE | Slow sampling; over-saturated images at high guidance | Most image and video generators up to 2024 |
| Flow matching | Follow a learned velocity from noise to data along near-straight paths | Fewer steps; 1 to 4 when distilled | Exactly through an ODE | As diffusion (it is the same family) | Stable Diffusion 3, FLUX.1, Movie Gen |
Autoregressive: p(x) = ∏ p(xi | x<i), a language model’s chain rule; on raw pixels the samples were poor (Gated PixelCNN: FID 65.93 on CIFAR-10, DDPM Table 1), on learned image tokens far better (Parti treats text-to-image “as a sequence-to-sequence modeling problem” at 20B parameters, Yu et al. 2022). VAE (Kingma and Welling, Dec 2013): section 2. GAN (Goodfellow et al., June 2014): a generator and a discriminator, “the training procedure for G is to maximize the probability of D making a mistake”; sharp in one call, no likelihood, and mode collapse (a few outputs that fool the judge); no child page teaches GANs, because in 2026 they survive only as a loss inside other models. Diffusion (Ho et al., June 2020) reached FID 3.17 on CIFAR-10, the best unconditional score in its table (DDPM page). Flow matching: Lipman et al. 2022; rectified flow, Liu et al. 2022. Section 3 compares the last two.
Understanding, not generating. A vision encoder turns an image into vectors (ViT, CLIP, SigLIP). A vision-language model (VLM) feeds those vectors to a language model, which answers in text. A native multimodal model puts text and image tokens into one transformer, which can read and write both.
Every named model on a timeline by family: Model map. Why each family’s loss is what it is: Variational inference and generative-model maths, sections 1 to 6 and derivations D1 to D8.
A 512 × 512 colour image is 786,432 numbers; Stable Diffusion v1 generates a 64 × 64 × 4 latent instead, 16,384 numbers, 48 times fewer derived, and the denoiser pays for every number at every step. An autoencoder makes the latent: an encoder squeezes the image, a decoder rebuilds it, trained on the difference. Three kinds matter, and they differ in what you can do with the code:
| Kind | The code | Can you sample a new image from it? | Used by |
|---|---|---|---|
| Plain autoencoder | Any vector the training put there | No: a random code falls in a gap and decodes to nonsense | Compression only |
| VAE | A distribution pulled towards a standard Gaussian by a KL penalty | Yes, but blurry: the decoder averages what the code cannot pin down | The compressor of latent diffusion (with the KL weight near zero) |
| VQ-VAE and its successors | The nearest entries of a learned codebook: a grid of integers | Yes, with a second model that predicts the integers like words | Autoregressive and native multimodal models |
The autoencoder of a latent diffusion model is a compressor, not a generator: Stable Diffusion’s weights its KL term at about 10−6 and adds perceptual and adversarial losses for sharp texture, and its latents are rescaled by a scaling factor (0.18215 for Stable Diffusion v1, 0.3611 for FLUX’s 16 channels) so the denoiser sees unit-scale numbers.
Go deeper: Autoencoders and VAEs trains all three on the running example (random codes, β, posterior collapse, codebook collapse, FSQ and LFQ, sections 1 to 10) and measures the Stable Diffusion autoencoder and every scaling factor (section 11). Drawn there: Fig. 1, one image through three bottlenecks; Fig. 2, the plain and VAE latent spaces; Fig. 5, a codebook.
Diffusion. Mix an image with Gaussian noise in closed form, xt = √āt x0 + √(1 − āt) ε, train a denoiser to predict the noise from xt with a squared error, and generate by starting from pure noise and removing the predicted noise a little per step; the rule per step is the sampler. Flow matching. Draw the straight line from an image to a noise sample, xt = (1 − t) x0 + t ε, train the network to predict its direction ε − x0 (the velocity), and generate by stepping against the predicted velocity with an ODE solver. Classifier-free guidance works the same in both: run the network with and without the prompt and push past the difference, ε = εuncond + w (εcond − εuncond), which doubles the passes per step.
| Diffusion (DDPM-style) | Flow matching (rectified flow) | |
|---|---|---|
| Path from data to noise | Variance-preserving curve set by the schedule | Straight line |
| Network predicts | Noise (or clean image, or v) | Velocity ε − x0 |
| Sampling | DDPM (stochastic, many steps), DDIM or solvers (10 to 50) | ODE solver, usually Euler; few steps; 1 to 4 when distilled |
| Guidance | CFG | CFG, or guidance distilled into the model |
| Used by | DDPM, Stable Diffusion 1 and 2, SDXL, Imagen | Stable Diffusion 3, FLUX.1, Movie Gen |
| Owner | Diffusion from zero | Flow matching |
They are one family. Flow matching “is compatible with a general family of Gaussian probability paths”, “which subsumes existing diffusion paths as specific instances” (Lipman et al. 2022), and a trained diffusion model also defines an ODE, the probability-flow ODE that DDIM and the solvers integrate (Song et al. 2021). So the choice is the path, the prediction target and how training weights the noise levels; straighter paths survive larger steps. On the topic’s tiny model, same network, data and training steps, flow with Euler scored FD 158.3 at 4 steps against DDIM’s 478.9 and beat every diffusion sampler from 1 to 50 steps, yet DDPM at 1,000 steps (34.9) still beat any unguided flow sampler measured: fewer steps, not a better end point. Cutting to 1 to 4 steps is distillation, owned by Latent diffusion and DiTs section 10 (reflow and one-step distillation of a flow: Flow matching sections 8 and 9).
Go deeper: Diffusion from zero (forward process and schedules, targets and loss weighting, samplers, guidance and its fixes: sections 1 to 6); Flow matching (the marginal field, solvers at equal cost, paths, couplings, reflow, flow against diffusion at equal cost: sections 1 to 10); the derivations on Variational inference and generative-model maths, derivations D3 to D8. Drawn there: diffusion’s forward and reverse walk, Diffusion from zero, Fig. 1, and five samplers on the same noise, Fig. 4; flow’s paths in space-time, Flow matching, Fig. 1, and Euler steps on the exact field, Fig. 3.
Stable Diffusion v1.5, the cleanest example, is three networks in a row. Latent diffusion and DiTs, Fig. 1 draws this same pipeline in 3D with the time each part takes; the numbers:
| Network | What it does | Parameters, counted | Runs |
|---|---|---|---|
| Text encoder | Prompt to 77 token vectors (frozen CLIP ViT-L/14 text tower) | 123,060,480 | Once (twice with guidance) |
| Denoiser | Runs once per step on the 64 × 64 × 4 latent, reading the text through cross-attention (U-Net) | 859,520,964 | Once per step, twice with guidance |
| VAE decoder | Latent to 512 × 512 pixels (f = 8, 4 channels, scale 0.18215) | 83,653,863 | Once |
Parameters counted from the pinned weights measured, matching the CompVis README’s “860M UNet and 123M text encoder”; 77 tokens is the context length of CLIP’s tokenizer.
What one image costs. Text encoder once (twice with guidance, for the empty prompt), denoiser once per step and twice with guidance, decoder once. With 50 steps and guidance that is 100 denoiser passes against one decode, so the denoiser is almost the whole bill and steps × (1 or 2) is the number to cut. Measured: Stable Diffusion v1.5, 512 × 512, 25 guided DPM-Solver steps, fp16 with attention slicing: 15.75 s warm, 0.610 s per guided step against 0.319 s for one pass, decode 0.488 s, text encoder 0.025 s, peak 4,452 MiB measured on Apple M1 Pro. A datacenter GPU is many times faster per pass; the pass count is the same.
Since 2022 the denoiser became a transformer over latent patches (DiT: more compute per step “consistently” lowered FID, to 2.27 on ImageNet 256 × 256, Peebles and Xie, Dec 2022), text and image tokens moved into one attention (MMDiT in Stable Diffusion 3, Esser et al. 2024; double and single stream blocks in FLUX.1, “a 12 billion parameter rectified flow transformer”, model card), and the text encoder grew from CLIP to T5 and to whole language models, because a larger text encoder “boosts both sample fidelity and image-text alignment” more than a larger denoiser (Imagen, Saharia et al. 2022).
Go deeper: Latent diffusion and DiTs (why latents in FLOPs, the U-Net from its config, text encoders and cross-attention, DiT and adaLN-Zero, MMDiT, double and single stream, positions, resolution, cost and distillation, with eleven real denoisers counted); the LDM paper on the LDM page; every generator with its size and licence in the Model map.
A Vision Transformer cuts the image into square patches, maps each to a vector with one learned matrix and adds a position vector: a 224 × 224 image in patches of 16 is 14 × 14 = 196 tokens derived, and from then on the image is a sequence like a sentence (ViT page). What the encoder learns depends on its training signal: labels, the pixels themselves (MAE, DINO), or captions. Caption training is what links images to words: CLIP scores every image against every caption in a batch with a softmax (Radford et al., Feb 2021); SigLIP scores each pair on its own with a sigmoid, so it needs no batch-wide sum and shards more cheaply (Zhai et al. 2023). The shared space gives zero-shot classification: write one sentence per class and pick the nearest. On the 10,000 Fashion-MNIST test images CLIP B/32 reaches 66.7% at best and SigLIP 2 74.5% (chance 10%); a linear probe on 16 labelled images per class reaches 79.0% and 84.0%; SigLIP 2 drops to about 22% if class names keep their capitals measured (Zero-shot lab). The embedding keeps what helps match captions and loses much else: a written word can override the object, and counting, left and right and attribute binding are close to guesses.
Go deeper: Vision encoders (patches and tokens, positions at new resolutions, registers, the CLIP and SigLIP losses on a real similarity matrix, training without captions, the typographic attack and minimal pairs, choosing an encoder); the prompt study behind the numbers above: Zero-shot lab; InfoNCE in general: Contrastive and self-supervised learning. Drawn there: one image becoming tokens, Vision encoders, Fig. 2, and a real batch of 8 pairs with its contrastive loss, Fig. 5.
The pipeline: an image (pixels, maybe tiled into crops) goes through a vision encoder (a CLIP or SigLIP ViT, one vector per patch), a connector merges and maps the vectors into the language model’s space (linear or MLP; optional token merging), and the language model reads image tokens and text and writes text. Vision-language models, Fig. 1 runs one photo through two VLMs, measured; Fig. 2 shows five connectors and Fig. 3 tiles against native resolution.
Most open VLMs follow LLaVA (Liu et al., Apr 2023): the projected patch vectors replace a placeholder in the prompt and are attended to like words; the alternative, cross-attention from a frozen language model to the image (Flamingo), keeps images out of the context. An image costs tokens: LLaVA-1.5’s CLIP ViT-L/14 at 336 pixels gives (336 / 14)2 = 576 derived; SmolVLM-500M gives 1,088 for any square image (16 tiles plus one whole view, 64 tokens each after a pixel shuffle) measured (VLM lab). More tokens read smaller text and cost context and time quadratically, which is why models tile, run at native resolution or merge neighbouring patches. Training aligns the connector first with the rest frozen, then tunes more of the model on conversations about images; the signature failure is object hallucination, naming what is not there because the language model’s habits outvote weak visual evidence.
Go deeper: Vision-language models (five connectors, tiles against native resolution, legibility, grounding, video, training stages, hallucination, token cost and serving, on SmolVLM and Qwen3.5); SmolVLM measured end to end, its answers and its time per image: VLM lab; VLM benchmarks on Long-context and multimodal benchmarks; VLMs reading documents on Document ingestion and multimodal retrieval.
A VLM reads images but writes only text. A native (or unified) model reads and writes both with one network, and the published designs differ in how an image is written:
| Design | Image out as | Example | Trade |
|---|---|---|---|
| Everything is a token (early fusion) | Discrete codebook tokens, next-token prediction | Chameleon: 1,024 tokens per 512 × 512 image from a codebook of 8,192, 7B and 34B (Chameleon Team, May 2024) | One loss and one serving stack; slow (one call per token) and capped by the tokenizer |
| Two encodings, one transformer | Separate pathways to read and to write | Janus “decouple[s] visual encoding into separate pathways” (Wu et al., Oct 2024) | Reading and writing want different features |
| Two objectives, one transformer | Continuous latent patches, diffusion loss | Transfusion: next-token loss on text plus diffusion on images, up to 7B on 2T tokens (Zhou et al., Aug 2024) | Better images per FLOP; two losses and two samplers |
The closed frontier publishes little: OpenAI’s card says only that “4o image generation is an autoregressive model natively embedded within ChatGPT” (OpenAI, 25 March 2025, archived) vendor. The traffic also runs the other way: diffusion now generates text (DiffusionGemma Technical Report).
Go deeper: Native multimodal and any-to-any models (early against late fusion, the two kinds of image token, autoregressive against diffusion at equal compute, the unified models and their attention masks, speech in and out, native against pipeline); drawn there: one request through early and late fusion, Fig. 1, and the two kinds of image token, Fig. 2.
Video is latent diffusion or flow with a time axis: a causal VAE compresses space and time, and a transformer denoises space-time patches (Sora is “trained on and subsequently generates videos within this compressed latent space”, OpenAI, Feb 2024, archived vendor; Movie Gen is a 30B-parameter transformer trained with flow matching, Polyak et al. 2024). Attention grows with the square of the patch count, so duration is the expensive axis, and the hard failures are temporal: identities that change and objects that vanish between frames. Audio takes two routes: a neural audio codec turns the waveform into parallel streams of discrete tokens that a language model predicts (AudioLM, MusicGen), or diffusion and flow generate a continuous latent or spectrogram (Stable Audio, flow-matching speech).
Go deeper: Video and audio generation: its hero, “Same four moves for both media: compress, cut into tokens, generate, decode”, and its section 3 on conditioning (each condition “enters at a different place in the sequence: text through attention, an image as latent frame 0, sound as a second stream aligned in time”), then attention across time, clip cost, codecs and residual vector quantisation, codec language models and flow TTS. Drawn there: one clip from frames to tokens, Fig. 1; where text, a first frame and sound enter, Fig. 3; EnCodec’s residual vector quantisation stage by stage, Fig. 4.
No single number judges a generator. Each family of metrics answers one question and has one trap you must check before trusting it:
| Question | Metrics | The trap | Owner |
|---|---|---|---|
| Do the samples look like the data, and cover it? | FID, KID, precision and recall, FD-DINOv2, CMMD | FID falls with the sample count even for real against real; resizing, compression and the reference set move it | Evaluating, sections 2 to 5 |
| Did it draw what the prompt asked? | CLIPScore; question-based checks (TIFA, DSG, VQAScore); GenEval | CLIP cannot count or check relations, so a wrong image can score as close to its prompt | Evaluating, section 6 |
| Do people prefer it? | Pairwise arenas, reward models (PickScore, HPS, ImageReward) | Style, self-selected prompts, vendors testing private variants | Evaluating, section 7; Human preference and arenas |
| Does a VLM see the image? | Benchmarks with answer keys (MMMU, ChartQA, DocVQA), POPE for absent objects | Many questions are answerable without the image: report a text-only baseline | Evaluating, section 8; Long-context and multimodal benchmarks |
| Video and audio? | FVD, FAD and per-dimension suites | The same recipe with other feature extractors, and their blind spots | Evaluating, section 9 |
FID (Heusel et al. 2017) passes real and generated images through Inception-v3, fits a Gaussian to each set of 2,048-number features and reports the distance between the Gaussians; lower is better, and it punishes both bad images and too little variety. The trap in the first row is easy to see on the running example: real training images against the real test images, nothing wrong, still score FID 2.538 at 10,000 images and 44.9 at 250 measured, so compare only at equal counts. The kind of failure a global similarity misses: Stable Diffusion v1.5 asked for “an astronaut riding a horse on the moon” drew the astronaut on the moon and no horse measured (setup smoke test, seed 5).
Go deeper: Evaluating generative models (FID from zero, its sample-count bias at six counts, KID, FD-DINOv2, CMMD, preprocessing pitfalls, prompt alignment, preference, VLM benchmarks, FVD and FAD); grading methodology in general on Topic: evaluation-and-llm-judges. Drawn there: the two feature clouds behind one FID, Fig. 1, and FID at six sample counts, Fig. 2.
| Job | Default choice in 2026 | Why, and the trade |
|---|---|---|
| Text-to-image, best quality | Latent flow or diffusion transformer, 20 to 50 steps with guidance | Best published quality; the bill is steps × 2 denoiser calls |
| Text-to-image, interactive (under 1 s) | The same model distilled to 1 to 4 steps | 10 to 50 times fewer calls; some loss of variety and detail |
| Generate and edit images inside a chat | Native multimodal model, or an LLM driving a generator | One context for text and image; native designs are mostly closed or young |
| Answer questions about images or documents | VLM: SigLIP-class encoder, projector, LLM, tiling for high resolution | Accuracy grows with image tokens; so do latency and context |
| Classify or search images with text | CLIP or SigLIP embeddings, zero-shot | No training; weak on counts, relations and fine detail |
| Speech, music, sound | Codec tokens with a language model, or latent diffusion | Tokens suit long structure and streaming; diffusion suits fixed-length clips |
| A probability for each sample (compression, anomaly scores) | Autoregressive model or VAE | Exact likelihood or a bound; diffusion needs an ODE solve for it |
Defaults follow from sections 1 to 8 and their sources; which named model fits each job, with its licence, is in the Model map.
Counts follow from the pipeline of section 4; only the seconds need a measurement. Predict first: how many times cheaper is 4 steps without guidance than 50 with it? Then set the controls in Fig. 2. The denoiser runs on the latent: a U-Net on its grid, a DiT on its patches.
Go deeper: FLOPs per pass for eleven real denoisers at any size: Latent diffusion and DiTs (Tokens and FLOPs calculator); the video case, where duration dominates: Video and audio generation section 4; serving costs in general on Topic: inference-and-serving.
vae/config.json has no scaling_factor entry, so diffusers falls back to its class default: Autoencoders and VAEs section 11.The facts kept here from the labs retired on 2026-10-24 now live on their owners: a CNN’s inductive bias, raw cosines across models, the temperature’s two limits and the CAT sticker on Vision encoders (sections 1, 4 and 6); Flamingo-80B on Vision-language models (section 1); flow training time and diffusers’ shift formula on Flow matching (sections 1 and 11); DPM-Solver++ 2M as the diffusers default on Diffusion from zero (section 5); the VQ-VAE token map’s codes on Autoencoders and VAEs (section 8); the FID-bias toy on Evaluating generative models (section 3).
In reading order. Each owns its subject in depth, with its own measured examples; times are each page’s own header (core reading, plus closed details).
Zero-shot classification on real weights, the one study of the topic's vision runs that no child page carries: CLIP ViT-B/32 and SigLIP 2 base (patch 16) classify the 10,000 Fashion-MNIST test images from ten sentences, under every prompt set, against linear probes. How the encoders work (patches, the contrastive losses, the typographic attack, counting and binding probes) is taught on Vision encoders, from these same recordings. Every number marked measured was computed on an Apple M1 Pro, on the CPU (float32, 4 threads), on 2026-10-17.
Models: openai/clip-vit-base-patch32 at revision 3d74acf9a28c and google/siglip2-base-patch16-224 at revision 75de2d55ec2d, through transformers 5.20.1 (loaders pinned in the root’s src/data/pretrained.py).
How it works. Write one sentence per class (“a photo of a sneaker.”), embed the ten sentences once with the text tower, embed the image, and pick the class whose sentence has the highest cosine. No training on the task: the ten text vectors are the classifier’s weights. In code, from src/vision/zeroshot.py (embeddings unit length):
s = et @ T[k].T # [10,000 test images] x [10 class sentences] cosines pred = s.argmax(1) # nearest sentence wins acc = (pred == yt).mean()
The test. Fashion-MNIST, the topic’s running example: 10,000 grey 28 × 28 test images of clothing, 1,000 per class, upscaled by each processor to 224. These look nothing like web photos, which makes them a fair test of transfer. Two class wordings (the dataset’s official names, such as “T-shirt/top”, and plain ones, such as “t-shirt”) times five templates, plus the average of the five template embeddings (prompt ensembling, which the CLIP paper used), all measured.
20 test images: the first two of each class, in class order (T-shirt/top, trouser, pullover, dress, coat, sandal, shirt, sneaker, bag, ankle boot). Cosines recorded from the real models; the page only applies the softmax.
What the table shows measured. Chance is 10%. CLIP B/32 lands between 61.3% and 66.7% whatever the wording: the template moves it by about 5 points, and the ensemble (64.8%) is not its best. Its tokenizer lowercases everything, so “official” and “official, lowercased” are identical. SigLIP 2 B/16 reaches 74.5% with plain names and the ensemble, the best of any set, but scores 20.0% to 22.8% with the official names as written: the capital letters in “T-shirt/top”, “Trouser”, “Pullover” (tokenised as Trou, ser and Pull, over instead of tr, ouser and pullover) send it far from the lowercase text it was trained on. Lowercasing the same names brings it back to 66.9% to 73.1%. A cross-check with one template (“a photo of a ….”) isolates the cause: SigLIP 2 scores 22.3% with official names, 70.2% lowercased, 72.9% with plain names and 22.4% with the plain names capitalised; CLIP scores 63.3%, 63.3%, 61.3% and 61.3% (diag_case.py). A silent preprocessing difference cost 50 points.
The errors are the ones a person would make, and they show what the text side cannot separate. CLIP’s best set sends 564 of 1,000 coats and 438 of 1,000 shirts to “pullover” and gets only 6.6% of shirts right; SigLIP 2’s best set gets 66% of shirts but sends 453 coats to “pullover” and 392 T-shirts to “shirt”. At 28 pixels, grey, a shirt, a pullover and a coat differ by collar and buttons, and their names overlap in web captions. With the capitalised official names SigLIP 2 calls 5,725 of the 10,000 images “T-shirt/top”: one class name absorbs everything, the signature of a text embedding gone wrong rather than an image embedding.
Linear probe: multinomial logistic regression on the frozen, centred embeddings, trained on k labelled validation images per class (5 random draws for k ≤ 64; the black line spans the worst and best draw), tested on the same 10,000 test images. Reference: the topic’s small CNN classifier, 550,890 parameters, trained from scratch for two minutes on all 55,000 training images (root’s smoke test). measured
Reading it measured. With 500 labels per class the probe reaches 87.8% (CLIP) and 89.3% (SigLIP 2): the class information is in the frozen image embedding, and ten sentences extract only part of it. A 550,890-parameter CNN trained from scratch on 55,000 labelled images for two minutes still wins (92.98%): with enough in-domain labels, a small specialised model beats a general encoder, and the encoder’s value is in needing few or no labels. A mistake made on the way, worth knowing: a first probe fed the unit-length embeddings to gradient descent without rescaling (every coordinate is around 1/√768) and underfit, reporting 79.8% and 84.6% at 500 per class; dividing by the features’ standard deviation fixed it. Settings (fixed before looking at test accuracy, not tuned): full-batch gradient descent, learning rate 0.5, L2 1e-3, 1,000 steps. Published comparison: none; the CLIP paper’s tables (transcribed on the CLIP page) include MNIST but not Fashion-MNIST, so these numbers stand on their own and are not a benchmark of either model.
On the CPU here CLIP B/32 embedded 119 Fashion-MNIST images per second (15,000 in 126 s) and SigLIP 2 B/16 23 per second (15,000 in 654 s) measured; a 5.2× gap; part of it is the 4× token count (49 against 196 patches), part the different software paths, so the ratio is not a clean measure of either.
Everything except the timings: the cosines, accuracies and probe results are properties of the released weights and would match on any hardware up to float rounding (the root’s MPS float16 smoke test and this lab’s CPU float32 run agree on the typographic cosines to four decimals). Images per second here are CPU numbers on a laptop shared with other jobs; a GPU embeds these models hundreds of times faster, and the ratio between CLIP B/32 and SigLIP 2 B/16 there follows the token count and kernel quality, not this run.
Scripts and recorded outputs: src/vision/ in the root folder (embed_fmnist.py, zeroshot.py, time_cpu.py, make_data.py; results in out/). The rest of the old Vision lab (patches, the contrastive loss on the real 16 × 16 matrix, the typographic attack, minimal pairs) moved to Vision encoders on 2026-10-24; its old parts are in this page’s git history (removed in the 2026-10-24 rebuild).
One small VLM, SmolVLM-500M-Instruct, taken apart and measured on the topic’s 16 colour test images: its real vectors from pixels to the language model, its token counts and exact prompt, its answers to 30 known-answer questions, and its time per image. The mechanisms (connectors, tiles against native resolution, training stages, hallucination) are taught on the child page Vision-language models, which reuses these recordings; this lab keeps the measurements that page does not show. Every number marked measured was computed for this page on an Apple M1 Pro on 2026-10-17 (the model on the GPU through PyTorch’s MPS backend, in bfloat16, greedy decoding; the token counting on the CPU); published numbers are quoted from the paper or card that states them; derived numbers show their formula.
Model: HuggingFaceTB/SmolVLM-500M-Instruct at revision a7da5b986cb5 (Apache 2.0; 507,482,304 parameters), through transformers 5.20.1 (loader pinned in the root’s src/data/pretrained.py). Code quoted with file and line is transformers v5.20.1. The test images, their licences and ground truth are in the root’s running example (src/data/README.md). The Reading tab places VLMs in the topic; Vision-language models teaches them. Every VLM’s dates and licences are in the Model map; VLM benchmarks (MMMU, ChartQA, DocVQA and others) are on Long-context and multimodal benchmarks.
SmolVLM is the most common open design: an encoder, a connector that projects (and here first merges) its vectors to the language model’s width, and image tokens placed in the prompt. The alternatives (Flamingo-style cross-attention with a Perceiver Resampler and tanh-gated layers, and native early fusion) and when each is chosen are compared on '+VLM+', section 1; native models on Native multimodal and any-to-any models.
The animation follows the cat photo through SmolVLM-500M: the colours in steps 4 and 6 are the real vectors the model computed, shown by their first three principal components (a way to squeeze 768 or 960 numbers into a red, green and blue value). The toggle runs the same image through LLaVA-1.5 as its configuration describes it (not run here).
Checked, not assumed measured: the shapes along the way are pixel values [1, 17, 3, 512, 512] → encoder [17, 1024, 768] → pixel shuffle [17, 64, 12288] → projector [17, 64, 960] → the language model’s input [1, 1142, 960]. The merged input at the 1,088 image positions equals the projected vectors exactly, in order; and output token 1 of the global view holds exactly the 16 encoder vectors of rows 0–3, columns 4–7 (compared as sets of numbers). The first three principal components shown explain 21%, 14% and 14% of the variance of the encoder vectors and 24%, 18% and 13% of the projected ones: the colours are a rough view of high-dimensional vectors, not the whole of them. Model load 4.0 s; peak GPU memory for this step 2,329 MiB.
Pixel shuffle, in plain words. The encoder gives one vector per 16-pixel patch, 1,024 per tile. Feeding all of them would cost 1,024 tokens per tile. Pixel shuffle (also called space-to-depth) takes each 4 × 4 block of neighbouring vectors and lays them side by side into one long vector: 16 × 768 = 12,288 numbers. The token count falls 16-fold to 64 while every number is kept; the projector then has to learn to read 16 positions out of one vector. The SmolVLM paper reports that “smaller VLMs benefit from more aggressive compression (r=4)” (Marafioti et al., April 2025, section 2.2) published. The code:
# transformers v5.20.1, models/idefics3/modeling_idefics3.py lines 398-407
def pixel_shuffle(self, x, scale_factor=2):
bsz, seq, embed_dim = x.size()
height = width = int(seq**0.5)
x = x.view(bsz, height, width, embed_dim)
x = x.view(bsz, height, int(width / scale_factor), embed_dim * scale_factor)
x = x.permute(0, 2, 1, 3)
x = x.reshape(bsz, int(width / scale_factor), int(height / scale_factor), embed_dim * (scale_factor**2))
x = x.permute(0, 2, 1, 3)
x = x.reshape(bsz, int(seq / (scale_factor**2)), embed_dim * (scale_factor**2))
return x
Other merges do the same job: Qwen2-VL merges 2 × 2 neighbours with an MLP; Gemma 4 pools 3 × 3 (both as the Model map reads their configs). Flamingo’s resampler instead lets 64 learned queries attend to all the features.
The problem. More image tokens let a model see finer detail (small text, a chart’s labels), but each one is a token the language model must attend over, in context and in time. A fixed low resolution (LLaVA-1.5’s one 336-pixel view) misses detail; full resolution at one token per 16-pixel patch would make a 2,048-pixel square 16,384 tokens derived: (2,048 / 16)². Every VLM picks a point between the two.
How SmolVLM does it. Its image processor (transformers v5.20.1, models/idefics3/image_processing_idefics3.py) does three things: it scales the image so its long side equals size.longest_edge (2,048 by default, written N × 512 below with N = 4), keeping the aspect ratio (lines 58–92); it rounds both sides up to whole 512-pixel tiles by resizing, not padding (resize_for_vision_encoder, lines 319–348); and it cuts the tiles and appends the whole image shrunk to 512 as a global view (split_images, lines 286–317). Each view becomes 64 tokens. The processor then writes one placeholder per token into the prompt, with a tag naming each tile’s row and column (processing_idefics3.py lines 216–243).
<row_1_col_1> to <row_6_col_6> as single learned tokens; <row_7_col_1> is split into 9 ordinary text pieces (<, row, _, 7, ...). At N = 8 a square image takes 4,538 prompt tokens, of which 4,160 are image tokens and 378 are markers.The same image in other VLMs derived from configs (read by the Model map; not run here):
The calculator re-implements the processor’s arithmetic and reproduces all 36 counts measured with the real processor (the table below) by construction of the same rule, checked by src/vlm/check_calc.mjs. Qwen2-VL’s count is a rough guide: its processor also enforces minimum and maximum pixel limits, ignored here. SmolVLM’s 2.2B sibling uses 384-pixel tiles and 81 tokens per tile (729 patches / 3²; see the Model map); this lab ran the 500M model, with 512-pixel tiles and 64 tokens per tile.
Question “Describe this image in one sentence.”; prompt tokens include the chat template. Script src/vlm/tokens.py, output out/tokens.json.
Predict, then reveal. You send SmolVLM a 1080 × 1920 phone screenshot. With the default setting, how many image tokens? 832: 1,920 → 2,048 on the long side, 1,080 → 1,152 → rounded up to 1,536, so 4 rows × 3 columns = 12 tiles plus the global view = 13 × 64 measured. Fewer than a 64-pixel icon’s 1,088, because the icon is square.
The chat template. A chat model is trained on conversations written in one exact format, its chat template. For a VLM the template also says where the image goes. You write a message with an image and a question; apply_chat_template produces this string, with one <image> placeholder measured:
The processor then expands the one placeholder into the tile structure. Runs of <image> are written as <image>x64 here; the real string repeats the token 64 times:
Where the vectors go. Inside the model the prompt is embedded token by token, and then every <image> position is overwritten, in order, by the projected image vectors:
# transformers v5.20.1, models/idefics3/modeling_idefics3.py lines 557-559 (inputs_merger)
special_image_mask = special_image_mask.unsqueeze(-1).to(inputs_embeds.device)
image_hidden_states = image_hidden_states.to(inputs_embeds.device, inputs_embeds.dtype)
inputs_embeds = inputs_embeds.masked_scatter(special_image_mask, image_hidden_states)
So the language model never sees the placeholder’s own embedding: only its position. If the number of placeholders and the number of image vectors disagree (a hand-written prompt, a processor and model from different versions), the scatter misplaces vectors or fails; always build the prompt with the model’s own processor.
Image tokens are not words. measured The projected image vectors have a median length (L2 norm) of 101 (10th to 90th percentile 83 to 158); the language model’s own word embeddings have a median length of 3.5. The nearest vocabulary embedding to each of the 64 global-view image tokens has a median cosine similarity of 0.27, and the nearest “words” are meaningless: <|im_start|> for 32 of the 64, <|im_end|> for 12, then fragments such as amine. The language model has learned to read these vectors as a different kind of input; they are not disguised words.
The tile tags (<row_1_col_1> and so on) are single learned tokens. The SmolVLM paper found that plain-text position markers “caused early training plateaus” and that “learned positional tokens outperform raw text tokens for compact VLMs” (section 3.1, Finding 5) published; the 9-piece <row_7_col_1> above is exactly the raw-text case.
Training a VLM (align the connector with the rest frozen, then train more of the model on conversations about images, as in LLaVA’s 595K-pair alignment and LLaVA-1.5’s “~1 day on a single 8-A100 node”) is taught on Vision-language models, section 6, with six recipes drawn stage by stage. What this lab adds is the parts list of the model that ran.
Not run here, and why. Even the alignment stage of a 500M model needs hundreds of thousands of captioned images and hours of GPU time to show anything; a toy on 16 images would teach memorisation, not alignment. The mechanism is visible without training: the projector is one 960 × 12,288 matrix (11.8M parameters, 2.3% of the model) measured, and stage 1 trains only it.
Parameters by component, counted on the loaded model measured. The SmolVLM paper describes the 500M model as “the same 93M SigLIP-B/16 paired with the larger SmolLM2-360M” (section 4) published; the loaded encoder has 86,433,024. The gap is exact arithmetic derived: a SigLIP base vision tower with patch 16 (counted on the topic’s SigLIP 2 base, same architecture) has 92,884,224 parameters, of which 7,087,104 are the attention-pooling head a VLM does not use (it keeps all patch vectors) and 150,528 the position table for 14 × 14 patches; swapping that table for one with 32 × 32 = 1,024 positions (512-pixel input) gives 92,884,224 − 7,087,104 − 150,528 + 786,432 = 86,433,024.
The question set. 30 questions about the 16 test images with answers known by construction (synthetic images) or checked by eye (photos and generated images): objects, colours, counting, left and right, reading text (OCR, optical character recognition), reading a bar chart, telling the time, and two traps (the cat with a DOG sticker, and the astronaut image whose prompt asked for a horse that Stable Diffusion did not draw). Each was asked at three image-token budgets: one 512-pixel view (64 tokens), 2 × 2 tiles plus the global view (320), and the default 4 × 4 plus global (1,088). Scoring is by pattern match (in src/vlm/qa_set.json) and every answer is shown, so you can judge the scoring.
What the answers show measured. 26 of 30 right at the default 1,088 image tokens, 26 at 320, 24 at 64. The two extra errors at 64 tokens are a count (4 red circles; there are 3) and a chart value (bar C read as 7; it is 5): resolution hurts counting and reading small marks first. Four errors survive every budget: two blue squares counted as 1; the sum of the bars (17; answers 11 or 12), which needs reading four numbers and adding; the clock (1:00 for 3:00, on a face with no numerals); and the puppy’s pose, “sitting”, the word in Stable Diffusion’s prompt, although the generated puppy is lying down: the language prior wins over the image. It read LATENT 42 and STOP exactly, named the cat despite the DOG sticker (and read the sticker), and said the astronaut rides nothing. Median time per answer: 0.22 s, 0.69 s and 2.09 s. Thirty questions is a probe, not a benchmark: one answer is 3.3 points.
Why VLMs name objects that are not there, and how POPE measures it, is taught on Vision-language models, section 7, which also shows this probe in full. Here: 72 yes/no questions, one to two present objects per image, one random absent object and one or two adversarial ones chosen by hand (a dog for the cat, a horse for the astronaut, numerals on the clock that has none), at two budgets.
What the probe shows measured. At the default budget 69 of 72 answers are right (95.8%). It says yes to 2 of 47 absent objects, both adversarial: “a dog” on the cat with the DOG sticker (the written word counts as evidence: the typographic attack of Vision encoders section 6 reaches the VLM through yes/no questions, although asked “what animal” it says cat), and “a legend” on the bar chart. It says no to one present object, “a red circle” on the shapes image, which it counts correctly when asked how many. With one 64-token view: 68 of 72 (94.4%), yes to 3 absent objects (the dog, the legend, a second hand on the clock), and no to the sticker. Random absent objects: 0 of 16 yes at both budgets. The probe separates random from adversarial objects clearly; with 72 questions it cannot rank the two budgets (one answer is 1.4 points).
Short yes/no answers are one kind of test; a free description is another. Asked to “Describe this image in detail” (up to 120 new tokens), the model’s descriptions are below with claims that are wrong for the image marked (checked by eye against the images; the judgement is this page’s, listed in src/vlm/captions_marks.json).
What the descriptions show measured. 22 wrong claims in 12 of the 16 descriptions, and every description ran to the 120-token limit (median 3.7 s). The errors sit next to short answers that were right: it read LATENT 42 but describes a blue button with white text; it answered B for the tallest bar but makes A the longest at 7; the clock gains the numerals 1 to 12; the stop sign becomes rectangular. The description of the DOG-sticker image never mentions the sticker. A long answer gives the language model many tokens to fill from its prior once the image evidence is used up; CHAIR (Rohrbach et al., 2018) scores this automatically on captioning sets with object labels, which these images lack, so the marks here are by eye.
Where the time goes. Answering a question about an image has three parts: the vision encoder and projector run once per view; prefill runs the language model over the whole prompt once (image tokens included) and fills its key-value cache; decode then produces one token at a time, each reading that cache. More image tokens make the first two dearer and each decoded token a little dearer (a longer cache to read).
What the timing shows measured (median of three warm runs, on the cat photo). With the default 17 views, the encoder and projector take 1.61 s and the language model’s prefill of 1,142 tokens 0.44 s; each decoded token then takes 14 ms. With one view (82 prompt tokens) the same steps take 0.11 s and 0.07 s, and 13 ms per token. For short answers the vision encoder is the cost: it runs 17 tiles of 1,024 patches through 12 layers, about 17,400 patch positions against 1,142 language-model positions. Decoding barely changes with the prompt length at this size. Peak GPU memory 2,338 to 2,444 MiB (2.45 to 2.56 GB; the MPS driver’s allocation, sampled every 0.1 s), against the SmolVLM paper’s “1.2GB for the 500M” (section 4.3) published; the paper does not say how it measured, and the MPS driver figure counts everything allocated, so the two are not directly comparable.
What transfers. The token counts, the answers (greedy decoding, bfloat16) and the shape of the trade-off transfer to any machine; the seconds do not. A datacenter GPU runs the encoder and prefill many times faster and batches many images; MPS on an M1 Pro is a laptop GPU sharing memory with the CPU, and these runs were at low priority on a machine shared with other jobs.
size={"longest_edge": N*512} or turn splitting off for small or simple images; measure with the processor, not from the file size.processor.apply_chat_template and then the processor on text and image together; never paste <image> yourself.Scripts, recorded outputs and notes: src/vlm/ in the root’s folder (README.md there says how to rerun everything). Visual ideas built and rejected: src/vlm/viz_ideas.md.
Generative and multimodal models from DALL-E (2021) to FLUX 3 Image Klein (two days before this check), on one set of axes: what the model does, its architecture family, its size, its licence and whether it is still the current version.
Each dot is a row of the table, placed by its first public date (paper, announcement or Hugging Face repository) in its lane. Read the colours from left to right: pixel diffusion and autoregressive tokens (2021 to 2022), then latent diffusion with a U-Net (Stable Diffusion, 2022 to 2023), then diffusion transformers, then flow-matching transformers from 2024; in the VLM lanes, encoder-plus-projector models (LLaVA, 2023) give way to models whose main LLM is natively multimodal (2025 to 2026).
The same text prompt passes through the same four boxes in every open text-to-image model: a text encoder turns words into vectors, a denoiser turns noise into a latent image step by step, guided by those vectors, a scheduler decides the steps, and a VAE decoder turns the latent into pixels. Step through six real pipelines; each box shows its value read from the model's own config files, and what it replaced (struck through). Parameter counts are summed here from the safetensors headers.
| Model | Kind | Family | Size | Licence | Date | Status | Verdict judgement |
|---|
Pick a job, a licence need and your hardware. The picker filters the table and ranks what is left: current models first, then newer. Memory is estimated as weights only: parameters times bytes per parameter (2 for bfloat16, 1 for 8-bit, 0.5 for 4-bit), against 75% of the memory you choose, because activations, the text encoder and the VAE need the rest. Treat it as a first filter, not a guarantee.
"Open" covers four different things, and the difference decides whether you can ship. Open source in the strict sense means the weights, code and (ideally) data are under an OSI-approved licence such as Apache 2.0 or MIT. Open weights means you can download the weights but the licence may restrict use. Read four clauses:
Sources and method: rows, scripts and the dated fetches are in this page's src/map/ (models_a.py to models_c.py, fetch_hf.py, fetch_arxiv.py, count_params.py, gen_data.py). Data checked .
The tabs of this page, its nine child pages in reading order, the knowledge base pages it leans on, the papers behind it and the best outside resources, each with an approximate time. Outside sources are marked maker (written by the lab or company that builds the model or library: authoritative on how it works, not neutral on whether to use it) or third-party (independent researchers and writers). Links checked on 2026-10-17.
The map of the field: five ways to generate and three to understand, latents, diffusion against flow, a text-to-image system, vision encoders, VLMs, native models, video and audio, evaluation, choosing and what an image costs. 25 min, plus 4 in closed details
CLIP B/32 and SigLIP 2 classify the 10,000 Fashion-MNIST test images from ten sentences: every prompt set, the confusions, linear probes, and what the CPU run cost. 7 min
SmolVLM-500M taken apart and measured: real vectors from pixels to the language model, token counts and the exact prompt, 30 known-answer questions, absent objects, time and memory per image. 20 min, plus 5 in closed details
Image, video and audio generators, vision encoders, VLMs, unified models and libraries with dates, architecture family and licence; a timeline and a picker. 26 min
In reading order; times are each page’s own header.
The autoencoder, the VAE and its loss in working form, β and posterior collapse, VQ-VAE, FSQ and LFQ, tokens per image, the autoencoders inside latent diffusion and their scaling factors, evaluating a tokenizer. 40 min, plus 17 in closed details
The forward process and schedules, what the denoiser predicts and how the loss weights each noise level, samplers from 1 to 1,000 steps, guidance and its fixes, what goes wrong, on the tiny model and Stable Diffusion 1.5. 43 min, plus 20 in closed details
What the regression really learns (exact on a 2-D toy), solvers and step grids at equal cost, paths, couplings, reflow, one-step distillation, timestep sampling and the resolution shift, stochastic sampling, production configs. 43 min, plus 17 in closed details
Why latents in FLOPs, the U-Net, text encoders and cross-attention, DiT and adaLN-Zero, MMDiT, double and single stream, positions, resolution, the cost of an image and few-step distillation, with eleven real denoisers counted. 39 min, plus 15 in closed details
Pixels to tokens, positions at new resolutions, registers, the CLIP and SigLIP losses on a real similarity matrix, training without captions, what each encoder is good and bad at, choosing one. 34 min, plus 11 in closed details
Five connectors, tiles against native resolution, legibility, grounding, video, training stages, hallucination, token cost and serving, on SmolVLM and Qwen3.5. 33 min, plus 11 in closed details
Early against late fusion, discrete and continuous image tokens, autoregressive against diffusion at equal compute, the unified models, interleaved data, the closed systems, speech in and out, native against pipeline. 38 min, plus 12 in closed details
Space-time latents, attention across time, conditioning, what a clip costs, long-video drift, spectrograms, codecs and residual vector quantisation, codec language models and flow speech, how both are evaluated. 31 min, plus 17 in closed details
FID from zero and its sample-count bias, KID, FD-DINOv2 and CMMD, pitfalls, prompt alignment, human preference and reward models, VLM benchmarks, FVD and FAD. 27 min, plus 7 in closed details
Owns the maths: the ELBO three ways, the VAE and its KL, the diffusion bound, scores, DDIM, guidance and flow matching, each derived and checked, and measured on its own small VAE and diffusion models (section 8). about 20 min
InfoNCE, SimCLR, MoCo, BYOL, DINO, MAE and JEPA: the training objectives behind vision encoders. about 31 min
MMMU, MathVista, ChartQA, DocVQA, Video-MME and audio benchmarks: what each measures, what is saturated, what to use now. about 27 min
How pairwise-vote leaderboards (including text-to-image and vision) rank models, and how they mislead. about 29 min
VLMs as document readers, OCR models and page-image retrieval (ColPali). about 28 min (Reading tab, estimated from its word count)
The transformer and its training, which every VLM and unified model builds on. about 20 and 22 min
Batching, quantisation and hardware cost, which decide what a generator or VLM costs to serve. 34 min
Error bars, judges and human evaluation, for measuring VLMs and generators properly. about 17 min
The 2020 paper that made diffusion work, with four trained toy DDPMs and its tables rebuilt. about 25 min
Stable Diffusion's paper: the autoencoder, the scaling factor, cross-attention, a toy latent against pixel diffusion. about 24 min
Patches as tokens and when data beats inductive bias, with a trained toy ViT. about 23 min
Contrastive image-text training and zero-shot transfer, with a trained toy CLIP. about 27 min
Diffusion for text: a 26B mixture-of-experts model decoding about 20 tokens per pass. about 24 min
15 April 2025. Why every image, audio and video generator works in a latent, and what makes a good one; the best single companion to sections 2 and 4. The author is a DeepMind research scientist writing on his own blog. about 60 min
July 2021, updated since. Diffusion from the forward process to guidance and fast samplers, with the equations in one place. about 45 min
2025 MIT course notes: flow matching and diffusion as one framework, with exercises. about 4 h
December 2024, by the authors of flow matching (Meta), with a reference PyTorch library. about 3 h
The text encoder, U-Net and decoder of section 4 in pictures. about 25 min
Interactive: Stable Diffusion's steps and guidance on real prompts, in the browser. about 15 min
DDPM implemented line by line in PyTorch, by the makers of diffusers. about 60 min, longer if you run it
3 November 2024. The token approach and the cross-attention approach of section 6, then about ten models (Llama 3.2, Molmo, NVLM, Qwen2-VL, Pixtral, Emu3, Janus) placed on them. about 30 min
9 June 2022. The earlier history: joint training, frozen-LM prefixes, cross-attention fusion, training-free stitching. 24 min (the page's own estimate)
October 2023. CLIP, Flamingo and the research directions that followed, for engineers. about 45 min
2019, by the VAE's inventors: the model, its estimators and its extensions. about 2 h
Times for outside resources are estimates from their length, except where the page states its own.