Embedding
A learned numerical representation that lets a model compare objects such as passages, images or molecules.
Published · Updated
Type “cell” into a mixed research library and you might land in a battery, a microscope slide or a prison. None is a spelling error. Which neighbours appear tells you something about what the search system learned to consider similar.
An embedding encodes an object as numbers for a particular task. The training objective, preprocessing and distance measure shape what counts as close. Nearness can be handy for retrieval without establishing that two papers draw the same conclusion or two molecules share a function.
Inspect the neighbours of an ambiguous word
Give the query a little company. “Charge capacity of a cell” should bring a different neighbourhood into view. Look for a relevant paper that uses unfamiliar vocabulary, then a near-identical title about the wrong kind of cell. Those two records tell you more about the system than ten easy matches.
If you change embedding models, revisit the same queries and compare the document identifiers and ranks. Coordinates from two separately trained spaces don’t come with matching axes.
