Large-number subtraction haunts all softmax kernels; maybe fwd-bwd consistency is all we need

YouJiacheng · x · 2026-10-04

Continuing the discussion, the author notes the large-number subtraction problem persists even without FlashAttention, since stable softmax always requires subtracting the max. He suggests maybe we only need forward-backward consistency, expressing some resignation about the fundamental numerical issue.

Related event: FlashAttention's Numerical Fragility Sparks Discussion(2 posts)→

Original post →

More from Research

Research channel →