Papers › Mixtral of Experts

Mixtral of Experts

8 Jan 2024arXiv:2401.04088archive 2025-07-28

Albert Q. Jiang, Alexandre Sablayrolles, Antoine Roux, Arthur Mensch, Blanche Savary, Chris Bamford, Devendra Singh Chaplot, Diego de Las Casas, Emma Bou Hanna, Florian Bressand, Gianna Lengyel, Guillaume Bour, Guillaume Lample, Lélio Renard Lavaud, Lucile Saulnier, Marie-Anne Lachaux, Pierre Stock, Sandeep Subramanian, Sophia Yang, Szymon Antoniak, Teven Le Scao, Théophile Gervet, Thibaut Lavril, Thomas Wang, Timothée Lacroix, William El Sayed

We introduce Mixtral 8x7B, a Sparse Mixture of Experts (SMoE) language model. Mixtral has the same architecture as Mistral 7B, with the difference that each layer is composed of 8 feedforward blocks (i.e. experts). For every token, at each layer, a router network selects two experts to process the current state and combine their outputs. Even though each token only sees two experts, the selected experts can be different at each timestep. As a result, each token has access to 47B parameters, but only uses 13B active parameters during inference. Mixtral was trained with a context size of 32k tokens and it outperforms or matches Llama 2 70B and GPT-3.5 across all evaluated benchmarks. In particular, Mixtral vastly outperforms Llama 2 70B on mathematics, code generation, and multilingual benchmarks. We also provide a model fine-tuned to follow instructions, Mixtral 8x7B - Instruct, that surpasses GPT-3.5 Turbo, Claude-2.1, Gemini Pro, and Llama 2 70B - chat model on human benchmarks. Both the base and instruct models are released under the Apache 2.0 license.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2401.04088")

Code

Syntology Ran 5 of 5 code samples harvested from 2 repositories linked to this paper; 0 have no recorded run. Of those that ran: 5 ran with no contract checked.

By repository: community (archive-listed): 5 samples from 2 repositories, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

consequentai/fneval mentioned on GitHub report
hit-scir/chinese-mixtral-8x7b mentioned on GitHubpytorch report
jingyaogong/minimind mentioned on GitHubpytorch report
kamanphoebe/look-into-moes mentioned on GitHubpytorch report
ymcui/chinese-mixtral mentioned on GitHubpytorchApache-2.0 report
pwc-1/Paper-9 mindspore report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

5 samples harvested; 5 ran; 0 honoured the contract we drafted; 0 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

5ran

Licence: 0 of the 5 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

FeedForward jingyaogong/minimind/model/model_minimind.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 549cdd919dd3f999 · report
FeedForward kamanphoebe/look-into-moes/mixtral_instruct/modeling_mixtral_instruct.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 3678349ac16c8826 · report
MOEFeedForward jingyaogong/minimind/model/model_minimind.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · ca104baa2bcf757c · report
MiniMindConfig jingyaogong/minimind/model/model_minimind.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · b2a516613396ed08 · report
MoE kamanphoebe/look-into-moes/mixtral_instruct/modeling_mixtral_instruct.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 253c6ed84c1f2c72 · report

Tasks

Code GenerationCommon Sense ReasoningLanguage ModelingLanguage ModellingMath Word Problem SolvingMixture-of-ExpertsMulti-task Language UnderstandingQuestion Answering

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Code Generation MBPP Mixtral 8x7B (3-shot) Accuracy 60.7 #48 of 99 Archive leaderboard report
Common Sense Reasoning ARC (Easy) Mixtral 8x7B (0-shot) Accuracy 83.1 #12 of 47 Archive leaderboard report
Common Sense Reasoning ARC (Easy) Mistral 7B (0-shot) Accuracy 80.5 #14 of 47 Archive leaderboard report
Common Sense Reasoning WinoGrande Mixtral 8x7B (0-shot) Accuracy 77.2 #20 of 77 Archive leaderboard report
Common Sense Reasoning WinoGrande Mistral 7B (0-shot) Accuracy 74.2 #30 of 77 Archive leaderboard report
Math Word Problem Solving MATH Mixtral 8x7B (maj@4) Accuracy 28.4 #93 of 135 Archive leaderboard report
Math Word Problem Solving MATH Mistral 7B (maj@4) Accuracy 12.7 #113 of 135 Archive leaderboard report
Math Word Problem Solving MATH Mistral 7B (maj@4) Parameters (Billions) 7 #113 of 135 Archive leaderboard report
Multi-task Language Understanding MML Mixtral 8x7B (5-shot) Average (%) 70.6 #11 of 44 Archive leaderboard report
Multi-task Language Understanding MML Mistral 7B (5-shot) Average (%) 62.5 #17 of 44 Archive leaderboard report
Question Answering PIQA Mixtral 8x7B (0-shot) Accuracy 83.6 #13 of 67 Archive leaderboard report
Question Answering PIQA Mistral 7B (0-shot) Accuracy 82.2 #22 of 67 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

AdamAttentionAttention DropoutBASEBPECosine AnnealingDense ConnectionsDropoutGPT-3Layer NormalizationLinear LayerLinear Warmup With Cosine AnnealingMulti-Head AttentionResidual ConnectionSoftmaxWeight Decay

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections