Skip to content

Embedding

A representation of a word, text, image or company as a vector of numbers. The vector is built so that objects close in meaning are close in space. It underpins semantic search and retrieval-augmented generation systems.

Definition

Google, January 2013: Tomas Mikolov and three colleagues released word2vec. The model learns word vectors from a 1.6-billion-word corpus in under a day, and in it king minus man plus woman lands closest to queen. An embedding turns a complex object into a list of a few hundred or thousand numbers. The object can be a word, a sentence, a document, an image, or even a company described by its characteristics. A model learns these vectors so that the distance between two of them reflects how close in meaning the objects they represent are. A war exclusion and a cyber war clause will sit close together; a war clause and a cooking recipe, far apart. Popularized for words in the early 2010s, the technique became widespread with language models, which produce embeddings of entire texts. In insurance, they are used to find similar clauses in a corpus of policies, to match a business description to an industry classification, or to spot claims whose descriptions are suspiciously alike. Above all, embeddings feed retrieval-augmented generation systems, which find the relevant passages of documentation before answering. They have two limits. They are opaque, since their dimensions have no readable meaning. And they depend on the model that produced them, whose biases carry over into the computed proximities.

Example

An insurer turns the 12,000 clauses in its policy corpus into vectors. When a new cyber exclusion text arrives from a broker, proximity search finds within a second the twenty closest clauses already accepted, with their date and the underwriter who approved them.

Read next
Related terms
Stay informed

Follow the research

One letter a week. First, the week's underwriting note when one is published, with its dated, reasoned decision. Then what the observatory published on cyber, artificial intelligence, insurance and reinsurance. No account, no tracking.

No spam, one-click unsubscribe, no data ever sold.