36/42
Part 6 of 6 · Follow-upsLearn

The mask saves no compute

Hiding the future doesn't make the scores any cheaper.

T = 4: all 16 scores are computed, then 6 are thrown away
scores (4, 4)
s---ss--sss-ssss

s is a score that's kept, and - is computed, then set to -inf. At T = 1,024, 523,776 of 1,048,576 are thrown away.

You compute all T2T^2 scores and then throw away the T(T−1)/2T(T-1)/2 future ones, just under half: 523,776 of 1,048,576 at T=1024T = 1024.