potentialpaper

FlashNorm: Fast Normalization for Transformers

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:10 UTC · fb08701a0345 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "XWfdv4bP6T"
- }
- ],
- "title": "FlashNorm: Fast Normalization for Transformers",
- "authors": [],
- "abstract": "Normalization layers are ubiquitous in large language models (LLMs) yet represent a compute bottleneck: on hardware with distinct vector and matrix execution units, the RMS calculation blocks the subsequent matrix multiplication, preventing parallel execution. \n\nWe present FlashNorm, an exact reformulation of RMSNorm followed by a linear layer that (i) eliminates the normalization weights\nby folding them into the subsequent linear layer, and (ii) defers the scalar RMS normalization to the output of the matrix multiplication, enabling the two operations to execute in parallel. The same techniques extend to LayerNorm and Dynamic Tanh (DyT).\n\nAnd due to RMS scale invariance, a linear layer between two RMSNorms makes the first one redundant, removing the pre-attention RMSNorm in QKV-normalized models (e.g., Gemma 4). In MLA models with latent normalization (e.g., DeepSeek-V2, Mistral Small 4), its weights and full-width scaling are eliminatedwhile a per-token scalar is retained on the decoupled RoPE-key path.\n\nOn an NVIDIA T4 GPU, FlashNorm achieves 33-35% lower latency on the norm-then-project operation in the compute-bound (prefill)\nregime at SmolLM2-135M scale, and 12-14% at Llama-7B scale. We verify zero-loss weight folding on three models and validate the norm\ncancellation on Gemma-4-E2B, Gemma-4-12B, MiniCPM3-4B, and DeepSeek-V2-Lite.\n\nBeyond inference speed, FlashNorm simplifies model implementations by reducing parameter tensor count.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "3a0a2cc3-661c-4e7a-9b5e-fd71cad60b4f"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "FlashNorm: Fast Normalization for Transformers",
+ "authors": [],
+ "abstract": "Normalization layers are ubiquitous in large language models (LLMs) yet represent a compute bottleneck: on hardware with distinct vector and matrix execution units, the RMS calculation blocks the subsequent matrix multiplication, preventing parallel execution. \n\nWe present FlashNorm, an exact reformulation of RMSNorm followed by a linear layer that (i) eliminates the normalization weights\nby folding them into the subsequent linear layer, and (ii) defers the scalar RMS normalization to the output of the matrix multiplication, enabling the two operations to execute in parallel. The same techniques extend to LayerNorm and Dynamic Tanh (DyT).\n\nAnd due to RMS scale invariance, a linear layer between two RMSNorms makes the first one redundant, removing the pre-attention RMSNorm in QKV-normalized models (e.g., Gemma 4). In MLA models with latent normalization (e.g., DeepSeek-V2, Mistral Small 4), its weights and full-width scaling are eliminatedwhile a per-token scalar is retained on the decoupled RoPE-key path.\n\nOn an NVIDIA T4 GPU, FlashNorm achieves 33-35% lower latency on the norm-then-project operation in the compute-bound (prefill)\nregime at SmolLM2-135M scale, and 12-14% at Llama-7B scale. We verify zero-loss weight folding on three models and validate the norm\ncancellation on Gemma-4-E2B, Gemma-4-12B, MiniCPM3-4B, and DeepSeek-V2-Lite.\n\nBeyond inference speed, FlashNorm simplifies model implementations by reducing parameter tensor count.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}