Topic · Tasks

Vision and language

Everything on this site about vision and language, in the order to read it: a page is listed after the pages it builds on. The figures below are the ones those pages use to explain it; each is live: move a slider and it recomputes.

In reading order

  1. Paper

The figures these pages use

Pulled from the pages above. Move a slider and the figure recomputes, exactly as on its page.

From CLIP — Learning Pictures From the Words Next to Them › 2. The Pipeline, Module by Module

-1.1550.3
One batch, N × N logits, the diagonal is the answer. Rows are images, columns are captions; each cell is the softmax probability the image gives that caption, darker is higher, the outlined cells are the true pairs. Lower τ sharpens every row; noisier pairs make the right answer harder to find.

From CLIP — Learning Pictures From the Words Next to Them › 3. Zero-Shot Transfer by Prompting

10.3
Dressing a label in a sentence (toy). Softmax over five classes for one toy image of a boxer. Template 1 is the bare word; 2 adds "a photo of a {label}."; 3 to 5 average more sentences in. Each single sentence lands a little off its concept (the wobble); averaging cancels that. Toy numbers; the paper's are +1.3 and +3.5 points on ImageNet.

From Jev — Thinking Fast, in One Pass › 1. Two Systems in Your Head

10035
Two equal lines. Which line is longer? Stretch the bottom one until the two look equal, then switch on the ruler. The picture is the Müller-Lyer illusion from chapter 1 of Kahneman's book: measuring it does not make it go away.

From Jev — Thinking Fast, in One Pass › 1. Two Systems in Your Head

1 / 3 · bat and ball0
Three quick questions, and their checks. Answer each puzzle in your head first, then set the slider to your answer and read what it implies. The check is one addition, one rate or one step back. The three puzzles are Frederick's Cognitive Reflection Test (2005).

From Jev — Thinking Fast, in One Pass › 1. Two Systems in Your Head

1060
Linda, counted. A hundred women who fit Linda's description. Shaded: the bank tellers. Dark: the tellers who are also active feminists. Move either slider: the dark group can never outgrow the shaded one.

From Jev — Thinking Fast, in One Pass › 1. Two Systems in Your Head

1580
The cab problem, counted. A hundred cabs. Dark squares are Blue cabs, light ones Green. Outlined: the cabs the witness would call Blue. Of all the outlined cabs, how many are really Blue? The story is from chapter 16 of Kahneman's book; the counting is Bayes' rule.

From Jev — Thinking Fast, in One Pass › 2. From Brains to Models

850010
Steps per answer: one pass against token by token. Sequential steps (forward passes that must wait for the previous one) to answer k questions about one input. Token counts per answer and per stretch of thinking are my estimates, set with the sliders; the 2 + 3 preset uses Chen et al.'s example of 901 tokens for one sum.

From Jev — Thinking Fast, in One Pass › 2. From Brains to Models

Is a 0.9 right nine times in ten?. Simulated answers, not any model's: 2,000 reports spread evenly, each right with the chance its temperature hides. Ten bins by reported top probability; the dashed diagonal is a perfectly calibrated model. Shifted data keeps the reports and makes every answer a fifth less likely to be right.

From Jev — Thinking Fast, in One Pass › 3. Jev, From the Outside

1.50.5-10.90.5
One question, its probabilities and a threshold. Numbers you set, run through TypeSafe's published confidence formulas; the presets marked "saved call" put back the probabilities of the real call in this section. The two threshold sliders are rules in your code; Jev has none.

From Jev — Thinking Fast, in One Pass › 4. Jev, From the Inside

510011.1
Thirteen questions, one call. Count: forward passes for N questions about one state, my estimates of the token counts, not a timing. Cost: the list price applied to one call with N questions and to N calls with one each. Time: only points someone measured; TypeSafe's own are marked as such.

From Jev — Thinking Fast, in One Pass › 4. Jev, From the Inside

00
Learning from a score. A toy, not Jev: three options that pay 1 point with hidden chances of 0.2, 0.5 and 0.8. Nobody tells the model which option is right. It picks by its current chances, gets a score, compares the score with its average so far, and nudges the picked option up if the score beat the average and down if it fell short. Press play to watch the chances move. Then add 4 to every score and compare with zero: every pick now looks like good news, and over 200 runs the chance of the best option after 500 pulls is 0.53 instead of 0.95.

From Jev — Thinking Fast, in One Pass › 4. Jev, From the Inside

0.70.9
Rewards that pay for an honest probability. A yes/no question whose true chance of “yes” is p. Each panel shows what one reward pays on average for reporting the probability q. The dashed line is q = p, the honest report; the filled dot is the report that pays most. Only squared error and log put their peak on the dashed line, at every p. The hollow dot is the report you choose with the slider.

From Jev — Thinking Fast, in One Pass › 4. Jev, From the Inside

40
Training on a reward: where the reported chances end up. A toy training run, not Jev and not a language model: ten kinds of yes/no question whose true chance of “yes” runs from 0.05 to 0.95, and one number per kind that sets the probability the model reports. Each step it reports, sees the outcome, gets the reward, and is nudged by the score against its average, as in the three-option figure. Dots on the dashed diagonal are honest. Press play: squared error and log pull the dots onto the diagonal; rewarding confidence when right pushes them toward 0 and 1; scoring only the decision gets each dot to the correct side of 0.5 and then lets it wander.

From Jev — Thinking Fast, in One Pass › 4. Jev, From the Inside

0.4
Names against definitions. A toy that shows one way this can happen: a model that reads the definitions but also leans on what the option names mean. Hollow bars are the toy; solid bars are measurements on Jev, which the toy is not fitted to.

From Jev — Thinking Fast, in One Pass › 5. Visual Jev and Other Models That Read Pictures

Answering without looking. Accuracy by chance, with the picture replaced by flat grey, and with the picture, for the same questions and options (Yu & Yao, Table 1, original 4B backbone). Whatever the grey bar has above chance came from the wording of the question and its options alone.

From Jev — Thinking Fast, in One Pass › 5. Visual Jev and Other Models That Read Pictures

6 / 6 · 32
One look, many questions. Milliseconds per question as more questions are asked about the same image, on one RTX 5090 (Yu & Yao, Table 13). Sharing the image and batching the questions is slower for one question and about nine times faster for 32. Times are averages over the group and leave out image decoding and the network.

From RT-DETR-World — Naming Any Object in Real Time

1 / 5 · v11 / 8 · whole pipeline
One pipeline, five versions. The RT-DETR pipeline for a 640 × 640 image, block by block. Step through the stages to see each block's output shape; switch the version to see which blocks it changes (rust outline), and switch to training to see the dashed parts that exist only while the model learns and are removed at inference.

From RT-DETR-World — Naming Any Object in Real Time › 1. Open Vocabulary: the Classifier Becomes a List of Names

322
The classifier is a list of names. Toy vectors. Each rust arrow is one name the user typed, the blue arrow is one object query, and the list ranks the names by cosine. Turn the query; then add “wheelchair”: one new vector joins the list, no other number moves, and the top answer can change. “Wheelchair” sits between chair and wheel only for the picture.

From RT-DETR-World — Naming Any Object in Real Time › 6. Relation-Aware Negative Relaxation

0.250.80.07
Relaxing a related negative. One anchor from a toy batch: a red double-decker bus. The hollow bar is how hard the loss pulls toward its own description; the solid bars, how hard it pushes on each wrong one. Raise α and the city bus, which the teacher calls related, is pushed less; the spoon and the cat keep their full weight. At α = 0 this is the standard contrastive loss.

From RT-DETR-World — Naming Any Object in Real Time › 8. Results

1 / 6 · Fixed AP
Fixed AP, standard AP, speed. Solid bars are RT-DETR-World, hollow bars the real-time detectors it is compared with (YW = YOLO-World-v2.1, YE = YOLOE-v8, OD = OV-DEIM, W = RT-DETR-World). Switch between the two kinds of AP: the lead holds in Fixed AP, not in standard AP at every size. The last two views are the ablation of the supervision (Table 5).

Tags that go with it

Contrastive learning 2Evaluation and metrics 1Knowledge distillation 1Language models 1Natural language 1Object detection 1Pretraining at scale 1