Skip to main content
← Lab

stabgauge

confirmedcertificatePython · stdlibModel behavior & reasoningJuly 22, 2026

the question

Is the running-max stabilizer in xLSTM's sLSTM merely one overflow-safe choice, and is it the pointwise-minimal such gauge?

what came out

The stabilizer offset is a gauge: output h=C/N is exactly invariant to any offset schedule (naive and random within 3e-16 to 3e-14 of running-max). The running max is the pointwise-minimal overflow-safe gauge, hitting max-gate=1 at 1200/1200 steps, and it converts the normalizer's exact overflow horizon t*=1415 into linear growth.

method & receipts

  • Result: confirmed
  • Tested — a correctness/benchmark suite ships alongside the code.

→ read the code and re-run it

github.com/v-code01/stabgauge