Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Nyströmformer- A Nyström-Based Algorithm for Approximating Self-Attention

Yannic Kilcher via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a comprehensive video explanation of the Nyströmformer algorithm, a novel approach to approximating self-attention in Transformers with linear memory and time requirements. Delve into the quadratic memory bottleneck in self-attention, the softmax operation, and the Nyström approximation method. Gain insights into the landmark method, full algorithm implementation, theoretical guarantees, and techniques for avoiding large attention matrices. Compare subsampling keys with negative sampling, and examine experimental results demonstrating the algorithm's effectiveness. Enhance your understanding of this innovative solution for processing longer sequences in natural language processing tasks.

Syllabus

- Intro & Overview
- The Quadratic Memory Bottleneck in Self-Attention
- The Softmax Operation in Attention
- Nyström-Approximation
- Getting Around the Softmax Problem
- Intuition for Landmark Method
- Full Algorithm
- Theoretical Guarantees
- Avoiding the Large Attention Matrix
- Subsampling Keys vs Negative Sampling
- Experimental Results
- Conclusion & Comments

Taught by

Yannic Kilcher

Reviews

Start your review of Nyströmformer- A Nyström-Based Algorithm for Approximating Self-Attention

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.