Log Linear Sparse Attention

Reduce self-attention complexity from O(N²) to O(N log N) through hierarchical token selection and enrichment. Perform hierarchical Top-K selection progressively adopting sparse Top-K at each level. Implement sparse index transpose algorithm avoiding dense mask construction. Achieve 28.27× faster inference and 6.09× faster training.

adu2021 f446d91 3.3 KB Updated

File contents

adu2021/skillxiv/tree/main/skills/skillxiv-v0.0.2-claude-opus-4.6/log-linear-sparse-attention commit f446d91274

Frequently asked questions

npx skillmds@latest add adu2021/log-linear-sparse-attention