Reformer's Dual Innovations for Extreme Context

The Reformer model achieved its 1 million word context record through two key architectural changes: Locality-Sensitive Hashing (LSH) Attention, which reduced attention complexity from quadratic to linear-logarithmic, and Reversible Residual Layers, which drastically cut memory usage by recomputing activations during backpropagation instead of storing them.

Sources

Open the full topic