How MiniMax M3 Was Built: Sparse Attention and Native Multimodality — Olive Song
- Source
- youtube.com
- Author
- AI Engineer
- Date
MiniMax M3 is an open-weight model with a 1M-token context window, and this talk is a rare look at the engineering behind that number. Olive Song describes MSA, a block-retrieval form of sparse attention, along with GPU-aware kernels written so the savings show up on real hardware rather than only in theory. She also explains why DSA, another sparse attention approach, did not fit the model's grouped-query attention layout. The second finding is about multimodality: MiniMax reports that training text and vision together from the first step gave more stable results than bolting vision on afterward. For builders, the attention work explains where long-context prefill and decoding cost goes and why it can be cut. The training note is useful when comparing multimodal models or planning a fine-tune, since a model that learned vision late may behave differently from one trained on both from the start.
Context
MiniMax's M3 uses sparse to reduce the work involved in processing long inputs. The talk description explains a two-part design: an index branch picks which blocks of earlier input matter, and a sparse branch attends only to those blocks.
That selection is the mechanism behind the model's long- approach: it concentrates attention on chosen portions of the available material. The model repository reports a 1M-token context and names MiniMax Sparse Attention as the technique that improves long-context efficiency. Capacity describes how much input the model can accept; the sparse design describes how it manages the associated computation.
- Song says MiniMax's MSA sparse attention runs about 9x faster on prefill and 15x faster on decoding than full attention.
- MSA has two branches: an index branch picks which blocks of context matter, and a sparse branch attends only to those blocks.
- Separately from joint text and vision training, she argues that 3D attention inside the vision improves visual understanding.
- attention — The mechanism that lets a model weigh which earlier words matter for the word it's currently processing — the core operation of a transformer.
- Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
- Open-weight model — A model whose trained weights can be downloaded and run outside the maker's hosted API.
- transformer — The neural network architecture behind modern AI models, built on attention — letting every word directly consider every other word in parallel.
videoSoftware Factories: Escape from Trash Mountain — Steve Yegge, Gas Town
videoHow to Ship Millions of Lines of Agent-Written Code — Jarred Sumner, Anthropic
video12 Rules for a Software Factory That Doesn't Ship Slop — Dex Horthy, Factory
videoBuild the Workshop Before the Software Factory — Armin Ronacher, Earendil
Checking sign-in…
Loading comments…


