介绍 Olmicro:小巧、高效、开放开发的混合模型
原题Introducing Olmicro: Small, efficient hybrid models built in the open
推荐理由研究混合架构的人可以用成套训练检查点追踪不同尺寸模型在中途学到什么,避免仅拿最终指标推测变化原因。
读前速览
Olmicro 是一套包含 5 个完全开放的基础语言模型的系列,参数量从 275 million 到 2.7 billion 不等,采用混合架构,旨在降低长上下文处理的内存需求,供研究和实验使用。
Olmicro 为研究语言模型规模效应提供了一个可控环境。
研究人员可以用统一的训练方案训练 5 种不同规模的模型,从而可靠地研究性能如何随规模变化,并找出不同能力开始显现的具体模型规模。
混合架构显著降低了内存需求。
模型中 80% 的层采用循环式 Gated DeltaNet,从而大幅缩小键值缓存,使模型能够在 GPU 内存有限的硬件上处理长文档,最长可达 64k 个 token。
Olmicro 为后训练研究提供了坚实基础。
基础模型展现出很大的提升潜力;强化学习和监督微调实验都显著提高了数学推理准确率,充分证明了这一点。
完整摘要
Olmicro 为研究人员提供了一个可控环境,用于研究语言模型的学习过程。它包含 5 种规模的模型,采用一致的训练方案,并结合循环层与全注意力层,构成混合架构。尽管训练所用的 token 更少,这些模型仍能与同类模型竞争;其设计也支持高效处理长文档。此次发布还包括中间检查点和评估数据,可支持广泛的实验研究。
目录 · 5 节
📄 技术报告 | 🤗 模型 | 💻 代码📄 Tech Report | 🤗 Models | 💻 Code
今天,我们发布 Olmicro,这是一个包含五款完全开放的基础语言模型的系列,参数量从 2.75 亿到 27 亿不等。Olmicro 专为研究和实验而打造,让研究人员和开发者能够使用有限的计算资源来研究和调整现代语言模型。Today we’re releasing Olmicro, a suite of five fully open base language models ranging from 275 million to 2.7 billion parameters. Built for research and experimentation, Olmicro gives researchers and developers a way to study and adapt modern language models with modest compute resources.
模型套件,也就是按照统一方案训练、涵盖多种规模的一系列模型,为研究人员提供了一种受控方式来研究语言模型的学习过程。Pythia 于 2023 年发布,成为同类模型套件中使用最广泛的之一。研究人员借助其统一的训练方案和中间检查点,研究模型如何记忆信息、发展新能力。但自那以后,语言模型已取得长足进步。Pythia 中规模最大的模型在 MMLU 上的得分接近随机猜测水平,且支持的上下文长度仅为 2,048 个 token。Model suites, or families of models trained with a consistent recipe across several sizes, give researchers a controlled way to study how language models learn. Pythia, released in 2023, became one of the most widely used suites of its kind. Researchers have relied on its shared training recipe and intermediate checkpoints to investigate how models memorize information and develop new capabilities. But language models have advanced considerably since then. Pythia’s largest model scores around chance on MMLU and supports a context length of just 2,048 tokens.
研究人员希望我们提供能够在普通硬件上运行、供他们研究的小型开放模型。借助 Olmicro,我们将 Pythia 的方法带入新一代语言模型。Researchers have asked us for small, open models they can study on modest hardware. With Olmicro, we’re bringing Pythia’s approach to a newer generation of language models.
我们最大的模型 Olmicro 2.7B,在使用的训练 token 数量远少于大多数同类模型的情况下,表现可与同等规模的强大开放基础模型相媲美。五款模型均支持最长达 64K token 的上下文长度,其混合架构还能降低处理长输入所需的内存。我们还展示了,即使是最小的 Olmicro 模型,也能通过后训练显著提升数学推理能力,而所需算力相对较少。Our largest model, Olmicro 2.7B, matches strong open base models of similar size while training on substantially fewer tokens than most of its peers. All five models support context lengths of up to 64K tokens, and their hybrid architecture reduces the memory required to work with long inputs. We also demonstrate that even the smallest Olmicro models can be post-trained to substantially improve their mathematical reasoning capabilities with relatively little compute.
我们将公开整个训练流程,包括全部五个模型、中间检查点、训练数据和代码,以及评估结果。我们希望这些资源能帮助学术实验室和独立开发者更轻松地研究语言模型的学习方式、测试新的训练技术,并在无法使用前沿规模算力的情况下,为自己的应用构建模型。We’re opening the entire training process, including all five models, intermediate checkpoints, training data and code, and evaluation results. We hope these resources make it easier for academic labs and independent developers to study how language models learn, test new training techniques, and build models for their own applications without access to frontier-scale compute.
Olmicro 是我们“超越模型”系列四项发布中的首项。该系列将在一周内陆续发布完全开放的研究成果,旨在提升人工智能领域的透明度和问责性。Olmicro is the first of four releases in our Beyond the Model series, a week of fully open research releases designed to enable greater transparency and accountability in AI.
五种尺寸,一份开放配方 Five sizes, one open recipe
所有 Olmicro 模型都采用混合架构,在 Olmo Hybrid 架构的基础上,结合了 80% 的循环式 Gated DeltaNet 层和 20% 的全注意力层。Olmicro 还取消了位置编码,下面将说明这一设计选择。All Olmicro models share a hybrid architecture that combines 80% recurrent Gated DeltaNet layers with 20% full-attention layers, building on our Olmo Hybrid architecture. Olmicro also dispenses with positional encodings, a design choice we explain below.
我们使用相同的三阶段方案训练全部五种规模的模型(参数量分别为 275M、450M、810M、1.4B 和 2.7B)。预训练所用 token 数量因模型规模而异,从 4230 亿到 5.07 万亿不等。中期训练增加 1000 亿个精选 token,长上下文扩展阶段再增加 1000 亿个 token,将上下文长度扩展至 64k 个 token。We train all five sizes (275M, 450M, 810M, 1.4B and 2.7B parameters) with the same three-stage recipe. Pretraining covers 423 billion to 5.07 trillion tokens, depending on size. Mid-training adds 100 billion curated tokens, and long-context extension adds another 100 billion, which extends the context length to 64k tokens.
在单个配备八块 NVIDIA B300 GPU 的节点上,预训练我们最小的模型 Olmicro 275M 大约需要一天。在 16 个这样的节点上训练 Olmicro 2.7B 大约需要一周。Pretraining our smallest model, Olmicro 275M, takes about a day on a single eight-GPU NVIDIA B300 node. Training Olmicro 2.7B takes about a week on 16 such nodes.
每个 Olmicro 模型的架构。深青色表示循环 Gated DeltaNet 层,粉色表示全注意力层。训练 token 数量包括预训练、中期训练和长上下文扩展阶段。The architecture of each Olmicro model. Dark teal represents recurrent Gated DeltaNet layers, and pink represents full-attention layers. Training token counts include pretraining, mid-training, and long-context extension.
在全部三个训练阶段和五种模型规模中,我们将发布 1,707 个中间检查点,每经过 1,000 个训练步保存一次(对于小于 2.7B 的模型,在长上下文扩展阶段每 5,000 步保存一次)。研究人员可以利用这些检查点探究特定能力何时涌现、恢复训练任务,或从相同的起点比较不同的训练方法。Across all three training stages and five model sizes, we’re releasing 1,707 intermediate checkpoints, saved every 1,000 training steps (every 5,000 steps during long-context extension for models smaller than 2.7B). Researchers can use these checkpoints to investigate when particular capabilities emerge, resume training runs, or compare training methods from the same starting point.
Olmicro 的运行方式 How Olmicro performs
我们使用随 Olmo 3 一同推出的基准测试套件 OlmoBaseEval 对 Olmicro 和另外 37 个开放基础模型进行了评估。该套件涵盖选择题、阅读理解、数学和编程。We evaluated Olmicro alongside 37 other open base models on OlmoBaseEval, the benchmark suite we introduced with Olmo 3 that covers multiple-choice questions, reading comprehension, math, and coding.
尽管在许多情况下使用的训练 token 更少,Olmicro 的表现仍可与规模相近的模型媲美。例如,Olmicro 2.7B 在 OlmoBaseEval 的五个任务类别上的平均分为 56.5,和 SmolLM3 3B 的 56.7 大致相当,但训练 token 不到后者的一半(5.27 万亿对比 11.2 万亿)。我们还估算了已公布 token 数量的非蒸馏模型所需的训练计算量。在这项比较中,只有 Falcon-H1 在相近的计算预算下得分高于 Olmicro。Olmicro is competitive with similarly sized models despite training on fewer tokens in many cases. For example, Olmicro 2.7B averages 56.5 across OlmoBaseEval’s five task clusters, roughly matching SmolLM3 3B at 56.7 while using less than half the training tokens (5.27 trillion versus 11.2 trillion). We also estimated training compute for non-distilled models with published token counts. In this comparison, only Falcon-H1 scored higher than Olmicro at a similar compute budget.
使用一致的训练方案训练全部五个模型,也让我们得以深入了解性能如何随规模变化。根据四个较小的 Olmicro 模型结果拟合出的趋势线,预测 Olmicro 2.7B 在 OlmoBaseEval 上的得分,误差不超过 0.3 分。这种可预测性使 Olmicro 成为开展小规模实验的理想平台。Training all five models with a consistent recipe also gives us insight into how performance scales. A trend line fitted to the results of the four smaller Olmicro models predicts the score of Olmicro 2.7B on OlmoBaseEval to within 0.3 points. This predictability makes Olmicro a useful testbed for small-scale experimentation.
实线表示对四个较小的 Olmicro 模型进行的对数线性拟合。虚线将该拟合外推至留出的 2.7B 模型。训练预算随模型规模增大而增加。The solid line shows a log-linear fit to the four smaller Olmicro models. The dashed line extrapolates that fit to the held-out 2.7B model. Training budgets increase with model size.
我们还研究了不同能力开始显现时对应的模型规模和计算预算。我们测量的许多能力在参数量达到 2.75 亿时就已显现:我们最小的模型在选择题上的表现远高于随机猜测水平,并且能够解决数学和编程问题,而 Pythia 等较早期模型在这些问题上的表现仅为随机猜测水平或接近于零。We also examined the model sizes and compute budgets at which different capabilities begin to emerge. Many of the capabilities we measure are already evident at 275M parameters: our smallest model answers multiple-choice questions well above chance and solves math and coding problems on which older models like Pythia score at random chance or near zero.
Olmicro 在阅读理解和问答方面尤为出色。在 OlmoBaseEval 的生成式 QA 基准组中,该组涵盖阅读理解、开放域问答,以及 DROP、SQuAD 和 CoQA 等常识任务,Olmicro 在大多数模型规模下的表现都能媲美或超过最佳同类开放模型。Olmicro 2.7B 的得分为 68.6,而 SmolLM3 3B 和 Qwen2.5 3B 的得分分别为 67.8 和 64.5。Olmicro is particularly strong at reading comprehension and question answering. On OlmoBaseEval’s generative QA cluster, which includes reading comprehension, open-domain question answering, and commonsense tasks such as DROP, SQuAD, and CoQA, Olmicro matches or exceeds the best comparable open models at most sizes. Olmicro 2.7B scores 68.6, compared with 67.8 for SmolLM3 3B and 64.5 for Qwen2.5 3B.
虽然 Olmicro 的表现不及一些训练时更加侧重数学和代码的基础模型,但下文介绍的后训练实验表明,只需相对较少的额外算力,就能大幅提升其数学表现。While Olmicro trails some base models trained with a greater emphasis on math and code, our post-training experiments, described below, show that its math performance can be improved substantially with relatively little additional compute.
在长上下文任务上,Olmicro 的表现也可与其他开放模型基线相媲美。在 32,768 个 token 的上下文长度下(这是我们比较的所有模型都支持的最长上下文长度),Olmicro 在 HELMET(用于评估真实场景中的长上下文任务)和 RULER(用于测试从长输入中检索信息等能力)上的表现优于大多数规模相近的基础模型。Olmicro also performs comparably to other open-model baselines on long-context tasks. At 32,768 tokens, the longest context length supported by all models in our comparison, Olmicro outperforms most similarly sized base models on HELMET, which evaluates realistic long-context tasks, and RULER, which tests capabilities such as retrieving information from long inputs.
Olmicro 的混合架构如何降低内存使用量 How Olmicro’s hybrid architecture reduces memory use
我们开发 Olmicro 的目标之一,是让在 GPU 内存有限的硬件上处理长文档变得更加实用。One of our goals with Olmicro was to make working with long documents more practical on hardware with limited GPU memory.
标准 Transformer 在每一层都使用全注意力机制。为了高效生成文本,它们会维护一个键值(KV)缓存,用于存储先前 token 的表示,并随着输入长度增加而增长。对于长文档,这个缓存可能会占用大量内存。Standard transformers use full attention in every layer. To generate text efficiently, they maintain a key-value (KV) cache that stores representations of earlier tokens and grows with the length of the input. For long documents, this cache can consume a substantial amount of memory.
Olmicro 基于我们的 Olmo Hybrid 架构构建,将循环 Gated DeltaNet 层与全注意力层的比例从 3:1 提高到 4:1。循环层会以固定大小的表示来存储较早的 token,无论输入长度如何;而全注意力层则允许 token 直接关注较早的 token。因此,每五层中只有一层需要不断增长的 KV 缓存。Olmicro builds on our Olmo Hybrid architecture, increasing the ratio of recurrent Gated DeltaNet layers to full-attention layers from 3:1 to 4:1. The recurrent layers maintain a fixed-size representation of earlier tokens, regardless of input length, while the full-attention layers allow tokens to attend directly to earlier tokens. As a result, only one in five layers requires a growing KV cache.
Olmicro 会重复使用一个包含四层 Gated DeltaNet 层、后接一层全注意力层的模块。循环层会维护固定大小的状态,而注意力层的 KV 缓存则会随着上下文长度增长。Olmicro repeats a block of four Gated DeltaNet layers followed by one full-attention layer. The recurrent layers maintain a fixed-size state, while the attention layers’ KV cache grows with context length.
在 65,536 个 token 的上下文长度下,我们估算 Olmicro 2.7B 仅需 1.55 吉比字节(GiB)的上下文内存,大约相当于同等规模全注意力模型所需内存(7.50 GiB)的五分之一,且远少于 SmolLM3 3B(4.50 GiB)或 Llama 3.2 3B(7.00 GiB)。At 65,536 tokens, we estimate that Olmicro 2.7B requires just 1.55 gibibytes (GiB) of context memory, roughly a fifth of what an equivalent all-attention model would require (7.50 GiB) and considerably less than SmolLM3 3B (4.50 GiB) or Llama 3.2 3B (7.00 GiB).
在 32,768 个 token 的上下文长度下,Qwen3.5、Gemma 4 和 Granite 4.0 H 等较新的混合型或滑动窗口模型,以相近或更低的内存成本取得了更高的长上下文综合得分。然而,在长文档问答和上下文学习方面,Olmicro 2.7B 的表现优于 Qwen3.5 4B 和 Gemma 4 E4B;上下文学习衡量的是模型从提示中提供的示例里学习的能力。At 32,768 tokens, newer hybrid or sliding-window models such as Qwen3.5, Gemma 4, and Granite 4.0 H achieve higher aggregate long-context scores at similar or lower memory costs. However, Olmicro 2.7B outperforms Qwen3.5 4B and Gemma 4 E4B on long-document question answering and in-context learning, which measures how well models learn from examples provided in a prompt.
对于 Olmicro 2.7B,跟踪完整 65,536 个 token 的上下文所需的内存,比模型权重占用的内存还少。这让笔记本电脑和消费级 GPU 更便于处理长文档,同时降低了并发服务多个长上下文请求所需的内存。每个序列占用的内存更少,也能为强化学习(RL)期间并行生成更多响应腾出空间;在 GPU 内存有限的情况下进行训练时,这是一项优势。For Olmicro 2.7B, the memory required to track a full 65,536-token context is smaller than the memory occupied by the model’s weights. This makes working with long documents more feasible on laptops and consumer GPUs while reducing the memory needed to serve multiple long-context requests concurrently. Lower memory use per sequence can also leave room to generate more responses in parallel during reinforcement learning (RL), an advantage when training with limited GPU memory.
Olmicro 的循环层还带来了另一项架构优势。由于它们按顺序处理 token,我们可以省去显式的位置编码,例如旋转位置编码(RoPE);传统 Transformer 在扩展上下文长度时通常需要对这类编码进行重新缩放。无需重新缩放位置编码,我们就能扩展 Olmicro 的上下文长度,同时在所有三个训练阶段保持架构不变。因此,移除位置编码既简化了架构,也简化了长上下文扩展的方法。Olmicro’s recurrent layers offer another architectural benefit. Because they process tokens in sequence, we can eliminate explicit positional encodings, such as rotary positional encodings (RoPE), which conventional transformers often need to rescale when extending their context length. Without positional encodings to rescale, we can extend Olmicro’s context length while keeping the architecture unchanged across all three training stages. Thus, removing position encodings simplifies both the architecture and the methodology for long-context extension.
适用于后训练研究的强大起点 Capable starting points for post-training research
我们还希望了解,如何有效地调整小型基础模型,使其具备更强的推理能力。我们尝试采用两种方法对全部五个 Olmicro 模型进行后训练,以提升其数学推理能力:强化学习(RL)和监督微调(SFT)。We also wanted to see how effectively small base models could be adapted to develop stronger reasoning capabilities. We experimented with post-training all five Olmicro models for mathematical reasoning using two approaches: reinforcement learning (RL) and supervised fine-tuning (SFT).
首先,我们尝试直接对每个基础模型应用强化学习,在没有进行任何预先指令微调的情况下,对正确的数学答案给予奖励。仅用强化学习,在 400 个训练步骤内,五种模型规模在 MATH-500 上的准确率都至少翻了一倍。如下图所示,经过强化学习后,规模更大的 Olmicro 模型在 MATH-500 上始终取得更高的分数。Olmicro 2.7B 在 MATH-500 上的得分从 37.4% 提升至 77.3%,而它在 AIME 2026 中高难度竞赛题上的 pass@1 准确率也从 1.5% 上升至 14.5%。First, we experimented with applying RL directly to each base model, rewarding correct math answers without any prior instruction tuning. RL alone at least doubled accuracy on MATH-500 across all five model sizes in just 400 training steps. Larger Olmicro models consistently achieved higher MATH-500 scores following RL, as the chart below shows. Olmicro 2.7B improved from 37.4% to 77.3% on MATH-500, while its pass@1 accuracy on the challenging competition problems in AIME 2026 rose from 1.5% to 14.5%.
对于参数量最高为 14 亿的模型,这些强化学习训练运行在单个 GPU 节点上不到七小时便完成,使 Olmicro 成为适用于有限算力预算下开展后训练研究的实用测试平台。For models up to 1.4B parameters, these RL training runs finished in under seven hours on a single GPU node, making Olmicro a practical testbed for post-training research on modest compute budgets.
深青色方块表示基础模型的准确率;粉色方块表示从基础检查点直接进行 400 步 RL、未经过 SFT 后的准确率。对于每种模型规模,我们展示 MATH-500 最终准确率最高的运行结果。评估时,每个提示词生成四个样本,响应上限为 32,768 个 token,温度为 1.0,top-p 为 0.95。达到 token 上限的响应计为错误。275M 和 450M 的运行会过滤奖励恒定的组,并且不同规模的训练提示词池各不相同。Dark teal squares show base-model accuracy; pink squares show accuracy after 400 steps of RL directly from the base checkpoint, without SFT. For each model size, we show the run with the highest final MATH-500 accuracy. Evaluations use four samples per prompt, a 32,768-token response limit, temperature 1.0, and top-p 0.95. Responses reaching the token limit are scored as incorrect. The 275M and 450M runs filter constant-reward groups, and training prompt pools differ across sizes.
我们还使用 Dolci 3 Think SFT 中的推理示例对全部五个模型进行了微调。该数据集是 Olmo 3 监督式推理训练所用的数据集。微调后,Olmicro 2.7B 在 AIME 2026 上的得分为 35%,接近更大型的 Qwen3.5 4B(38.9%)的表现。我们发现,SFT 的表现通常会随着模型规模增大而提升,不过 810M 模型在若干数学基准测试中的表现优于 1.4B 模型。We also fine-tuned all five models on reasoning examples from Dolci 3 Think SFT, the dataset behind Olmo 3’s supervised reasoning training. Following fine-tuning, Olmicro 2.7B scores 35% on AIME 2026, approaching the performance of the larger Qwen3.5 4B (38.9%). We found that SFT performance generally improved with model size, although the 810M model outperforms the 1.4B model on several math benchmarks.
总的来说,这些实验表明,即使是我们最小的模型,也能为后训练研究提供可靠的起点。研究人员可以使用 Olmicro 探究不同训练技术对推理能力的影响,或开发专用模型,而无需承担使用大得多的基础模型所需的计算成本。Together, these experiments demonstrate that even our smallest models provide capable starting points for post-training research. Researchers can use Olmicro to investigate how different training techniques affect reasoning capabilities or develop specialized models without the compute costs of working with much larger base models.
探索 Olmicro Explore Olmicro
小规模实验是 Ai2 开发更大型语言模型的重要组成部分。我们正在将通过 Olmicro 验证的训练方案改进纳入即将开展的 Olmo 训练,并计划分享更多内部研究成果,包括像这样的扩展阶梯。Small-scale experiments are an important part of how we develop larger language models at Ai2. We’re incorporating improvements to the training recipe validated through Olmicro into upcoming Olmo training runs, and we plan to share more of our internal research artifacts, including scaling ladders like this one.
通过开放 Olmicro 背后的模型、数据、代码和中间检查点,我们希望为更多研究人员提供资源,让他们能够亲自开展这类实验。无论你是在研究模型能力如何发展、探索新的架构或后训练技术,还是为自己的应用改造小型语言模型,我们都欢迎你在 Olmicro 的基础上继续探索。By opening the models, data, code, and intermediate checkpoints behind Olmicro, we hope to give more researchers the resources to conduct these kinds of experiments themselves. Whether you’re investigating how model capabilities develop, exploring new architectures or post-training techniques, or adapting a small language model for your own application, we invite you to build on Olmicro.
阅读我们的技术报告,了解完整的实验和评估;在 Hugging Face 上探索 Olmicro 模型,并在 GitHub 上获取我们的训练代码。Read our technical report for the full experiments and evaluations, explore the Olmicro models on Hugging Face, and access our training code on GitHub.





