potentialpaper

Pretraining Transformers with Quantized Softmax in Attention

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:22 UTC · 9d261488df34 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "nJGXlsplVB"
- }
- ],
- "title": "Pretraining Transformers with Quantized Softmax in Attention",
- "authors": [],
- "abstract": "Low-precision Transformer systems increasingly quantize attention matrix multiplications, while softmax often remains at higher precision. During pretraining,\nan approximate softmax changes the gradients that train the model as well as its\nforward computation. We study this interaction with K-interval attention, which\napproximates the exponential using K+1 grid values. We vary per-row grid calibration, interpolation versus hard rounding, and the placement of a straight-through\nsurrogate relative to normalization. We derive the corresponding backward rules,\nincluding calibration derivatives, and compare these choices in pretraining experiments matched on model, data, and optimizer. Detaching the row extrema leaves\nthe forward computation unchanged but produces a delayed increase in validation\nloss. With hard rounding at K=4, min–max calibration and a pre-normalization\nsurrogate incur a large loss gap; changing either choice substantially reduces it.\nAt 124M parameters and 2.5B training tokens, fixed-window calibration with a\npost-normalization surrogate yields a validation loss gap of +0.019 nats relative to\nsoftmax at K=4; with a pre-normalization surrogate yields +0.004 nats at K=16.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "ac280e4e-4abe-48d1-9cdc-861ae8c7dade"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Pretraining Transformers with Quantized Softmax in Attention",
+ "authors": [],
+ "abstract": "Low-precision Transformer systems increasingly quantize attention matrix multiplications, while softmax often remains at higher precision. During pretraining,\nan approximate softmax changes the gradients that train the model as well as its\nforward computation. We study this interaction with K-interval attention, which\napproximates the exponential using K+1 grid values. We vary per-row grid calibration, interpolation versus hard rounding, and the placement of a straight-through\nsurrogate relative to normalization. We derive the corresponding backward rules,\nincluding calibration derivatives, and compare these choices in pretraining experiments matched on model, data, and optimizer. Detaching the row extrema leaves\nthe forward computation unchanged but produces a delayed increase in validation\nloss. With hard rounding at K=4, min–max calibration and a pre-normalization\nsurrogate incur a large loss gap; changing either choice substantially reduces it.\nAt 124M parameters and 2.5B training tokens, fixed-window calibration with a\npost-normalization surrogate yields a validation loss gap of +0.019 nats relative to\nsoftmax at K=4; with a pre-normalization surrogate yields +0.004 nats at K=16.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}