How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Zero-shot prompt classification
Definition
Fix image and text encoder maps and into one shared embedding space, and a real log-scale with . The inputs are an image , an ordered nonempty list of distinct class descriptions , and a finite nonempty list of prompt templates , where each maps a class description to a text input. The admissible input conditions are , for every , and a nonzero average text embedding for every class.
-
Normalize the image embedding: .
-
For each class and template , form the text embedding .
-
Average the normalized prompt embeddings in the shared embedding space and normalize the average to obtain the class prototype . This is prompt-template averaging; it averages embeddings before classification, not class probabilities.
-
For each class compute the scaled similarity score and softmax probability .
-
Return the vector and class , where is the least index maximizing .
The returned classifier is zero-shot in the precise sense that no labeled examples from the target classification dataset are used to fit its class prototypes or classifier. The encoder maps, log-scale, class descriptions, and templates are fixed inputs to this inference procedure; it performs no training or parameter update. The procedure makes no accuracy or distribution-generalization guarantee.
Definition references
Machine Learning II lecture notes, “Zero-shot transfer” and “Prompt engineering”/“Prompt ensembling”
Symmetric image-text contrastive loss: supplies the shared image/text embedding space, normalized inner-product score convention, and positive learned exponential scale.
The real exponential function and the number by a power series: defines the real exponential used in the logit scale and softmax.
The exponential is a continuous bijection from onto : gives positivity of exponential scores and softmax denominators.
Depends on
Used by
Dependency tree · two levels
15 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Alec Radford et al., Learning Transferable Visual Models From Natural Language Supervision (standard reference, not scraped)
- Machine Learning II, Lecture notes — 2021 Clip (standard reference, not scraped)