Explore the research collection
2 entries · Follow this search
- Paper
Mamba-3: Improved Sequence Modeling using State Space Principles
Mamba-3 is the inference-first redesign of Mamba-2, derived from the continuous-time SSM viewpoint, with three core changes. (1) Exponential-trapezoidal discretization — a second-order scheme replacing the exponential-Euler discretization implicit in Mamba-1/2, giving a more expressive recurrence. (2) Complex-valued state updates — the state transition gains data-dependent rotations (equivalent in effect to data-dependent RoPE), which unlock state-tracking capability that real-valued linear models lack, including solving parity-style tasks Mamba-2 fails. (3) A multi-input multi-output (MIMO) formulation that raises arithmetic intensity during decoding — more model quality at essentially the same decode latency, addressing the hardware inefficiency of SISO decoding. At 1.5B scale, Mamba-3 improves average downstream accuracy by +0.6 points over the next-best sub-quadratic baseline (Gated DeltaNet), with the MIMO variant adding a further +1.2 points (+1.8 total over Gated DeltaNet, +1.9 over Mamba-2 per secondary summaries), and it matches Mamba-2 perplexity at half the state size.
- Paper
FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision
FlashAttention-3 redesigns FA2 for Hopper: warp-specialized TMA/WGMMA producer-consumer, pingpong scheduling so softmax hides under GEMM, and FP8 with in-kernel V transpose, block quantization, and Hadamard incoherent processing. H100 FP16 is 1.5-2.0× FA2 (up to 740 TFLOPs/s, 75% util) and 1.5-1.75× backward; FP8 reaches ~1.2 PFLOPs/s with 2.6× lower RMSE vs per-tensor FP8 on outlier-injected QKV. Competitive with or faster than cuDNN FA2 at seq≥1k. Code https://github.com/Dao-AILab/flash-attention.