Why is 'cosine ≥ 0.8' not a model-agnostic relevance test?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Cosine values live inside one model's coordinate system; 0.8 means whatever that model's distribution makes it mean, and the value does not transfer to any other model.
Imagine two different teachers grading essays on a zero to one scale. One teacher's 0.8 means 'pretty good' because she grades generously. The other teacher's 0.8 means 'almost perfect' because he is strict. The number looks identical, but the meaning is set by each teacher's habits. Search tools are the same. Each tool spreads its scores differently, so a similarity of 0.8 from one and 0.8 from another are not the same evidence of a match. You have to re-check what 0.8 means on the new teacher's curve, or just rank essays from best to worst and pick the top three, which works no matter who grades.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
2 min: cosine as geometry not probability + per-model score distributions + re-derivation recipe + rank-based filtering escape hatch + calibration via isotonic regression.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Carrying over a tuned threshold like 0.78 from one embedding model to a new one without re-deriving it on the new model's score distribution.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.