Equation 27 · Locality Is the Whole Game: The Memory Hierarchy and What a Kernel Does Not Read
What does this equation mean?
Read the formula alongside the article passage below. Each part has a deeper page with its role in the equation, the supporting passage and nearby citations.
This mathematical expression combines the displayed quantities; its precise role follows from the surrounding article text. Read the equation part by part below; each part has a contextual explanation and a link to its mathematical background.
Read it piece by piece
Symbol N
N is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.
How to interpret it
Read this expression with the definitions, units, and assumptions supplied by the article.
What the article says around this equation
Standard attention forms the score matrix = , applies a row-wise softmax to obtain , and multiplies by . Both and are N N , and standard implementations materialise them in main memory, which is quadratic in sequence length [ 1 ] . That materialisation is the problem. It is a large intermediate, it is written and read at least once, and the operations applied to it — masking, softmax, dropout — are exactly the memory-bound kind.
Sources cited in the surrounding passage
These citations give research context. Read each source to check which claims it supports.
Return to Locality Is the Whole Game: The Memory Hierarchy and What a Kernel Does Not Read