HyScale: Scaling Long-Context Training for Learned Sparse Attention
Summary
- Researchers introduce HyScale, a training system designed to scale long-context learning for sparse attention models.
- Learned sparse attention creates training bottlenecks during selection because systems typically materialize full score tables and repeat selection steps.
- HyScale introduces HyTopK to find exact top-k scores on the fly without score tables, alongside selection replay to reuse forward-pass selection during recomputation.
- HyScale accelerates GLM-5.1 training on 1-million-token sequences by 2.07x compared to Megatron-LM on 512 H20 GPUs.
- It also accelerates CSA layers of DeepSeek-V4-Flash by 2.01x and QSA layers of Qwen3.8-Flash-Next by 1.57x at 1 million tokens on 32 H800 GPUs.
Why it matters
HyScale addresses the significant training bottlenecks of learned sparse attention mechanisms, enabling more efficient million-token context training for advanced large language models.