How LSH finds big attention scores without checking every pair

Reformer shares query and key directions on a circle: closer arrows = bigger dot product. Step through how random slices assign buckets, sort neighbors together, and shrink the score table to tiny blocks.
slices Click any dot on the circle to change query
1 · Direction space (unit circle) query: t7

pairs scored
–
query top-2
–
avg recall
–
query's true top-2 matches scored (same bucket) missed across slice line recovered in round 2