SSOG Attention: Sub-Quadratic Alternative to SDPA with Separable Gaussians, Beats on CIFAR-100

4rtemi5 · reddit · 2026-08-16

Introducing SSOG (Sum Of Separable Gaussians) attention, a sub-quadratic alternative to scaled dot-product attention (SDPA). SDPA has O(N²·d) complexity, while SSOG learns a few Gaussian atoms per head and steers them based on query tokens, achieving O(N·√N·d) via separable factorization. Experiments show SSOG clearly outperforms SDPA on CIFAR-100 and matches performance with faster convergence on ImageNet-1k, while being more memory-efficient at scale. Blog post and code are open-sourced.

Related event: SSOG Attention Challenges SDPA with Subquadratic Complexity in Vision Transformers(2 posts)→

Original post →

More from Research

Research channel →