Transformers · Level 3 of 5
Cross-Attention
Attention whose queries and key-value sources come from different representations.
It connects one sequence or modality to another.
Example
A text decoder attends to image features.
Listen to the definition and example
Audio transcript
Cross-Attention. Attention whose queries and key-value sources come from different representations. It connects one sequence or modality to another. For example: A text decoder attends to image features.
Explore this concept
Why it matters
This helps you trace how token representations exchange and transform information.
Start with
Related concepts
Quick recall question
Try answering before looking back at the definition.