MiniMax M4: Domestic computing power + large-scale RL, now we can continue to scale.

CN
39 minutes ago

NPX7NEtFFCzMJU_fdUJ8YaFxu24GD4sbR4azYenD68o.jpg

Author|Wang Zhaoyang

First, let’s take a look at a remarkable finished product:

prompts:

Make a Chinese movable type printing press that can be used in a browser. At the start, two pieces of wooden type will drop, one engraved with the reversed character "氵" and the other with the reversed character "每". Let the audience push the wooden blocks, and after assembling, pull down the lever, flip the paper, and see a正字 "海" with wood grain and ink smudges. Then add a few sets of type that can spell "明", "林", and "好". The wooden blocks have weight and will tilt slightly when colliding together.

The details of the ink and wood grain are in place, and there are timely sounds and special effects when the wooden boards are inserted into the device. The model also understands that "reversed" in the prompt means flipped left and right.

Now, let’s look at another one:

An SVG web pocket watch that can tell time. As you can see, when you drag the crown to the right, the pocket watch unfolds along an axis, and when you release it, the layers come back together sequentially. The golden movement, originally hidden behind the dial, is now fully exposed and still in motion, allowing the audience to compare the positions of the various layers within the case.

Also, there’s this high-end pelican riding a bicycle video that everyone may have come across and has gone viral on social media:

These works were all created using MiniMax M4 with a single prompt.

On the evening of December 3, MiniMax finally officially released the highly anticipated M4 model. According to the latest official technical report, M4 is a native open-source weight multimodal MoE model with a total parameter size of 2.74T, activated parameters 66B, and a context window of 1M. This is also MiniMax's largest model to date.

In the official release article, MiniMax stated, “On most of the tasks we can observe, including programming, specialized knowledge, RSI, chip design, finance and commerce, design (3D modeling, games, video production), and computer use, M4 stands at the forefront of intelligence among domestic models and open-source models.”

0miOvt4x3MjMcnPO-hSwyX-W6Ikd73pSlmbZsSbOpq4.png

The key is still the physical experience. From our prior experiences, it has become one of the strongest domestic models, especially continuing to exhibit a strong multimodal gene, with solid capabilities in 3D generation, Code2Video, office, finance, and code security.

But more importantly, it is the most exciting Chinese model we have encountered in a long time.

In recent months, Chinese models have collectively "stagnated," as the acquisition of high-end NVIDIA GPUs and external distillation methods as significant means of catching up were quickly cut off, disrupting many rhythms, and what is most needed today is a straightforward answer, a complete solution that falls into a real model production environment.

M4 is the first to provide this complete answer.

1

1

This release of M4, as always, includes a technical report. This technical report contains a wealth of information, but the main line is very clear:

Using domestic chips as the default rather than a fallback, on this basis, collaborating on architecture and large-scale RL innovations to prove that intelligence can still scale on limited computing power.

TRNcB1I88fwqQ7oOwLR6YiRMvqjYr3Xu6UuMjgWLbF0.png

Domestic computing power + large-scale RL is actually a very clever idea.

In the past, everyone was accustomed to dividing large models into two stages: "training" and "inference." The reality is that domestic cards have basically run through inference but face significant challenges in training cutting-edge models due to limitations in interconnectivity and video memory specifications. However, RL precisely breaks down this wall - as RL becomes an increasingly important training phase for raising the intelligence ceiling of models, its significant computational load, such as massive rollout sampling and expert scoring, operates fundamentally as inference.

Thus, based on the technical report, an important technical judgment of MiniMax behind M4 is that the returns of RL have not peaked; we must continue to add computational power to RL, and domestic computational power can play a key role. This judgment is also reflected in how computational resources are allocated in M4. Data shows that its post-training RL consumed 21% of the pre-training computational budget, while the core agent benchmark's performance is still climbing with no signs of saturation.

Implementing this judgment is not so simple; when you increase computational power for RL, you soon hit two walls. One is that the real bottleneck in RL is trajectory sampling (rollout), and long-range agent rollout is fundamentally a long context inference, which is a core challenge that LLMs have faced over the past few years. At the same time, another practical challenge is that the available chips for domestic models are severely limited in memory capacity and computational power.

Therefore, viewed from this angle, all of the architecture, systems, and algorithm innovations in this M4 can actually be understood as addressing one question: how to inject more effective computational power into RL on constrained chips.

To achieve this goal, M4 has done two important things.

First, it made each rollout inexpensive, involving improvements in architecture and the inference stack.

Long-range agents interact for dozens or hundreds of rounds, and the exponentially growing KV cache (historical state cache) can quickly overwhelm video memory and lower concurrency, which is particularly fatal on domestic chips with halved video memory.

M4's solution is the new generation of sparse attention MSA2 and its accompanying caching system MFlashKV. It can understand long contexts as an ever-expanding data room. Each time M4 generates a token, a lightweight index first selects the historical segments that need to be referenced for the current layer calculation, followed by attention computation. The complete history remains intact, although the less frequently used parts can be moved to SSD. The key is that the index starts working two layers in advance, allowing the system to retrieve data while computing in the intermediate layers. The model architecture and storage system thus work together to maintain longer interactions with less video memory. This collaboration even extends to the dimensions of storage blocks: a KV block precisely corresponds to a 4KiB page on the SSD, minimizing the wastage of reading irrelevant data.

For the same purpose, extremely high sparsity in MoE (384 routing experts activating only 4 at a time), DSpark's inference decoding, and allowing training forward, RL sampling, and online deployment to share the same FP4/FP8 quantization scheme minimize the sampling costs while also reducing the risk of RL training collapsing due to training and inference precision misalignment.

An interesting piece of information in the report is that this software-hardware synergy even pushed the chips directly to the physical "power consumption wall" limit, as the team employed power-aware programming to save energy and increase frequency across operators, deriving nearly a 6% latency benefit from the physical boundary.

Then MiniMax proposed the method of first Scale-Out, then Scale-In, thereby expanding the total investment in RL to achieve Scale-Up.

kNIJbTtXXNPrzJbRw_aRUA1QrntrDMVAgY-ku9snHqk.png

First enlarge the computational power available for RL, that is Scale-Out.

Once single-card efficiency is maximized, how to increase the total amount? Mixing tasks with vastly different requirements such as code, office, and security in one pool for RL not only causes interference but also heavily relies on a single super-large homogeneous cluster.

M4 starts from the same SFT cold-start model, breaking RL down into 28 expert training lines covering fields like code, terminals and agents, computer operations, design, science, cybersecurity, and finance.

Each line operates independently and can be flexibly distributed across different clusters and chip models for parallel advancement, and can seamlessly integrate available domestic chips and existing GPUs into a massive total computational power pool for RL.

Then, the dispersed results are brought back, which is Scale-In. After training the 28 experts, M4 uses MOPD (multi-expert online policy distillation) to merge them back into one main model without loss.

The team adopted a phased strategy to extend trajectory length - first quickly aligning the problem-solving approach on short prefixes, then relaxing to complete lengths for verification, using only a small portion of GPU hours for regular distillation, enabling the main model to catch up or even slightly surpass each individual expert.

Betting on this RL system also directly assists in commercialization breakthroughs. The AFlow framework, paired with Forge, achieves zero-intrusion abstraction at the gateway layer, meaning no matter whether the integration is with Claude Code, Codex, or enterprise private business sandboxes, changing a single interface address allows direct access to the RL loop. Today, enterprises are increasingly requiring training models in their own private environments, and a model foundation that thoroughly integrates inference with post-training is also providing enterprises with stronger self-training capabilities.

This is a very complete construction, which is particularly important at this moment. Because finding the scale method for RL on heterogeneous computing power, including domestic chips, is allowing domestic cards to play a real core role in the model training phase.

This could become a decisive direction for domestic models and domestic computational power to continue to scale upward together.

1

2

These technological innovations are cleverly designed, but the implementation process is evidently very labor-intensive.

Every modeling team has its own guiding star goal: you can use a shorter cycle and more ingenious formula to quickly release models that excel at creating "first impressions" to influence a small group of people; or you can take longer, take on greater engineering risks, and tackle that underlying tough problem that you cannot avoid.

It is evident that M4 pursues the latter. According to this technical report, a massive 2.74T parameter model launching sparse attention from scratch and layering FP4 quantization did not experience a single loss spike during its training process. Behind this is a series of extremely tedious engineering work. These underlying labor-intensive tasks yielded tangible efficiency advantages.

In its provided empirical results of the core operator of sparse attention, regardless of whether it is BF16 training (forward, backward) or FP8 inference (pre-fill, decoding) across four dimensions, M4's MSA2 actual computational throughput ranks first, outperforming peers such as DeepSeek-V4-Pro (CSA), GLM-5 (DSA), and Qwen3.8-Next (QSA). Compared to its previous generation MSA, throughput for training forward and backward improved by 3.98 times and 1.54 times, with FP8 decoding throughput even achieving an 8-fold increase.

These are the foundations that allow it to perform large-scale RL; there are no shortcuts in this process. However, similar to what makes LLM technology most attractive, once you truly solve a system-level bottleneck, a “sufficiently large problem,” you can reap the benefits of scaling.

And a sufficiently large problem has never been exclusive to any one company. Today all Chinese model manufacturers face the same reality constraint: computational power and distillation. Within the industry, this has long been predictable; it’s just that before the window closes completely, the choice between continuing the inertia of releasing transitional versions or letting go of fantasies early and pouring resources into the reconstruction of underlying architecture and RL systems makes the difference.

Looking back at this model cycle, the earlier twists and turns of M3 actually led MiniMax to let go of fantasies sooner and to begin tackling this hard nut that everyone must eventually face. Thus, at this moment, M4 has become the most complete answer so far addressing “how to continue scaling on limited computational power” among domestic models, bringing some rare stimulation and inspiration to an industry that had been stagnant for a period of time.

According to MiniMax, on Huawei’s Ascend 950DT, which has single card memory capacity and bandwidth only half of NVIDIA's GB300, FP8 computational power only 1/5, and FP4 computational power only 13%, the 2.74T M4 achieved single card decoding throughput of 1589 tokens/s and single user generation speed of 100 tokens/s, with throughput and latency even surpassing many smaller peer models running on GB200 and GB300. This can be considered the strongest evidence of current domestic computational power scaling.

EEDg7S6MxHsOeIhm_cVtE6a4EVAAxgsD07GgKPUHu20.jpg

The constraints of computational power still exist and will continue for a long time, but should we give up pursuing more cutting-edge intelligence because of this?In a previous official tweet at the end of the M3 release, MiniMax stated: “The speed of updates for today's models is so fast that it's easy to overlook that this is still a process that requires advancing step by step. It has its own objective laws and rewards teams that advance solidly along those laws.”

Now, MiniMax has received its phased reward. We should continue to scale moving forward.

b2CvQYkrQCxRPJ5Zoc6pujeHiT2DZgJExDQHhbm4Sf0.png

Give a“heart” before leaving

免责声明:本文章仅代表作者个人观点,不代表本平台的立场和观点。本文章仅供信息分享,不构成对任何人的任何投资建议。用户与作者之间的任何争议,与本平台无关。如网页中刊载的文章或图片涉及侵权,请提供相关的权利证明和身份证明发送邮件到[email protected],本平台相关工作人员将会进行核查。

Share To
APP

X

Telegram

Facebook

Reddit

CopyLink