Home Knowledge Base Routing Transformer

Routing Transformer is an efficient transformer that uses online k-means clustering to route tokens into clusters — computing attention only within each cluster, reducing complexity from $O(N^2)$ to $O(N^{1.5})$ while maintaining content-dependent sparsity.

How Does Routing Transformer Work?

Why It Matters

Routing Transformer is attention with learned traffic control — routing semantically similar tokens together for efficient, content-aware sparse attention.

routing transformerefficient transformer

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.