Pith. sign in

REVIEW 3 cited by

Is Flash Attention Stable?

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2405.02803 v1 pith:VQLUMH5C submitted 2024-05-05 cs.LG cs.DC

classification cs.LGcs.DC
keywords trainingattentiondeviationflashnumericduringeffectsgiven
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Training large-scale machine learning models poses distinct system challenges, given both the size and complexity of today's workloads. Recently, many organizations training state-of-the-art Generative AI models have reported cases of instability during training, often taking the form of loss spikes. Numeric deviation has emerged as a potential cause of this training instability, although quantifying this is especially challenging given the costly nature of training runs. In this work, we develop a principled approach to understanding the effects of numeric deviation, and construct proxies to put observations into context when downstream effects are difficult to quantify. As a case study, we apply this framework to analyze the widely-adopted Flash Attention optimization. We find that Flash Attention sees roughly an order of magnitude more numeric deviation as compared to Baseline Attention at BF16 when measured during an isolated forward pass. We then use a data-driven analysis based on the Wasserstein Distance to provide upper bounds on how this numeric deviation impacts model weights during training, finding that the numerical deviation present in Flash Attention is 2-5 times less significant than low-precision training.

Discussion (0). Sign in to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. One QK Channel, Many Sources: Guarding Low-Precision Attention Collapse

    cs.LG 2026-08 conditional novelty 7.0 of 10

    Different low-precision errors converge on the same query-key spectral runaway, entry is gated by temporal sign-coherence, and a dormant query-key normalization guard contains it.

  2. Reference Traces for Auditing Invisible Weight Updates and Guiding Exact-Budget Protection

    cs.LG 2026-07 conditional novelty 6.5 of 10

    Weight updates that fall below half a ULP freeze coordinates deterministically, and freeze time is predictable a priori from a high-precision trajectory and mantissa length alone.

  3. FastTPS: An Optimized Method for LLM Token Phase for AI accelerators

    cs.LG 2026-07 conditional novelty 6.0 of 10

    FastTPS accelerates LLM token-phase inference via reloading-free static KV-cache management, tiled fused RoPE attention, and interlaced-weight MLP fusion, yielding up to 6× speedup at 93% bandwidth on AMD NPUs.

Pith tools