2min chapter

The Gradient: Perspectives on AI cover image

Catherine Olsson and Nelson Elhage: Anthropic, Understanding Transformers

The Gradient: Perspectives on AI

CHAPTER

The OV Matrix and the Path Expansion Frame

QK, V and O piece are computed for efficiency reasons on the GPU somewhat separately. But if we look mathematically, in fact, the QK matrices could be viewed as doing one coherent operation. So that sort of weighted sum gets applied to the values, which then are transformed through an output matrix and then written back onto the residual stream. And so again, this sort of path expansion frame is a mathematically inspired frame.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode