Song describes M3 as an open-weight model combining coding and agent capabilities, a one-million-token context window, and vision understanding trained alongside language from the start. She says MiniMax Sparse Attention makes prefill nine times faster and decoding 15 times faster than full attention, enabling long interactions and full-codebase use.
How MiniMax M3 Was Built: Sparse Attention and Native Multimodality
Speaker
Olive Song, a reinforcement learning researcher at MiniMax, explains how the team built MiniMax M3 with MiniMax Sparse Attention and native multimodal training at AI Engineer.
MiniMax Sparse Attention uses a lightweight index branch to identify important tokens, then a main branch attends to the selected tokens. Song says directly adapting existing designs to grouped-query attention can make different key-value heads select identical tokens and cause inefficient, scattered GPU memory reads. MSA preserves separate selections across KV heads and retrieves blocks instead of individual tokens, reducing top-k overhead while maintaining performance, according to Song.
MiniMax trained M3 on text and vision data from the beginning. Song says adding multimodal training late can degrade text performance, while introducing it earlier can make results sensitive to data mixtures and learning rates. Under the same text-token budget, native multimodal training nearly avoided hurting text capability; its attention maps also showed more integration between text and visual tokens.
Images and video are processed by a vision transformer, whose visual tokens are inserted into the language model’s input. Song says 3D attention lets patches from different video frames interact directly and improves visual understanding, with some gains transferring to image benchmarks. Four frames gave the best balance of performance and efficiency in their experiments.
Takeaways
- When adapting sparse attention to GQA, preserve per-head token selection so KV heads can retain diversity.
- Block-level retrieval can reduce top-k and memory-access overhead compared with selecting individual tokens.
- Introducing multimodal data from the start can help integrate vision while preserving text capability.
- Evaluate multimodal training choices at scale: data mixture and learning rate can make results sensitive.
- For video attention, test a limited frame count; MiniMax found four frames balanced performance and efficiency.
Mentioned in this talk
Search inside this talk
What was claimed 11
- built
MiniMax built
MiniMax M3
“our new model, MiniMax M3”
YouTube Verified2 sources· Talk, Web· archived
- works atOlive Song works at
MiniMax
RL Lead (reinforcement-learning research)“I work at MiniMax on reinforcement learning research.”
YouTube Verified4 sources· Talk, Web· archived
- feature
MiniMax M3: Open-weight model with a one-million-token context window and coding and agent capabilities
“an open-weight model with frontier performance”
YouTube Unverified1 source· Talk
- metricMiniMax Sparse Attention: Prefill nine times faster and decode 15 times faster than full attention
“making prefill nine times faster and decode 15 times faster than full attention”
YouTube Unverified1 source· Talk
- uses
“We trained it with MSA, MiniMax Sparse Attention”
YouTube Verified3 sources· Talk
- uses
“when using GQA, different KV heads can attend to different sets of tokens”
YouTube Unverified1 source· Talk
- featureMiniMax Sparse Attention: Block-level retrieval reduces top-k candidates and improves memory access efficiency
“we move from token-level selection to block-level retrieval”
YouTube Unverified1 source· Talk
- feature
MiniMax M3: Trained from scratch with text and vision understanding from step zero
“Our model, MiniMax M3, was trained from scratch with multimodal data.”
YouTube Unverified1 source· Talk
- uses
“the image or video is processed by a ViT”
YouTube Unverified1 source· Talk
- uses
“applying 3D attention inside the ViT is very helpful”
YouTube Unverified1 source· Talk
- metric3D attention: Four frames gave the best trade-off between performance and efficiency
“using four frames gave us the best trade-off between performance and efficiency”
YouTube Unverified1 source· Talk














