Skip to content

Transformer architecture

A neural network architecture based on the attention mechanism and published in 2017. It underlies large language models, and its ability to process long contexts transformed document analysis.

Definition

The transformer architecture was presented in 2017 by a research team in a paper titled Attention Is All You Need. It relies on the attention mechanism, which lets each element of a sequence, for example each word of a text, weigh the importance of all the others to build its representation. The recurrent architectures before it read text word by word. It processes the whole sequence in parallel instead, making it possible to train much larger models on considerable volumes of data. It underlies large language models, but also models of images, sound and time series. For insurance, its importance lies in two properties. Its ability to connect distant elements in a text makes it possible to analyze long policies and reports, where an exclusion on page thirty modifies a cover on page three. And its cost grows quickly with context length. Hence the context window limits, and the sector's dependence on a few providers able to fund training, a source of concentration and single-provider risk.

Example

An assistant built on a transformer model, an architecture published in June 2017, analyzes a 60-page policy. It notes that a cyber event definition in an appendix narrows the scope of the business interruption cover described in the first part. A keyword search tool reading passages separately had missed this link.

Read next
Related terms
Related articles
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.