Researchers have developed a method called Rowmax-PoT to approximate the softmax function in pretrained Large Language Models (LLMs), which can significantly improve inference speed and reduce energy consumption. This technique involves reducing the precision and number of positions the softmax map assigns probability to, with a focus on maintaining resolution near the row maximum. When implemented as Rowmax-H15 in FlashAttention-4 on NVIDIA Blackwell B200 GPUs, the method demonstrated a 12.4% speed increase for causal attention and a 25.8% increase for non-causal attention at 8K sequence lengths, while also reducing energy consumption by 8.4% at 16K sequence lengths. Although it slightly increases perplexity by up to 0.492% across various models, the performance gains are substantial. AI
IMPACT Accelerates LLM inference and reduces energy consumption, potentially lowering operational costs and enabling faster real-time applications.
RANK_REASON The cluster contains an arXiv preprint detailing a new method for approximating softmax in LLMs. [lever_c_demoted from research: ic=1 ai=1.0]
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →