📄 科技报告 | 🤗 模型 | 💻 代码
今天我们发布 Olmicro,这是一套包含五个完全开源的基础语言模型的组合,参数量从 2.75 亿到 27 亿不等。Olmicro 专为研究和实验而构建,为研究人员和开发者提供了一条利用适度计算资源来研究和适应现代语言模型的路径。
模型组合(或称模型家族)是指在多种规模上使用一致的配方训练的模型系列,它为研究人员提供了一种受控的方式来研究语言模型的学习过程。2023 年发布的 Pythia 成为同类中最广泛使用的模型组合之一。研究人员依赖其共享的训练配方和中间检查点来调查模型如何记忆信息以及发展出新能力。但自那以后,语言模型取得了显著进步。Pythia 的最大模型在 MMLU 上的得分仅略高于随机水平,且仅支持 2,048 个 token 的上下文长度。
研究人员曾向我们请求小型、开源的模型,以便他们在适度的硬件上进行研究。通过 Olmicro,我们将 Pythia 的方法应用到了新一代语言模型上。
我们最大的模型 Olmicro 2.7B 在性能上可与同规模的强大开源基础模型相媲美,而其训练所使用的 token 数量却远少于大多数同类模型。所有五个模型均支持长达 64K token 的上下文长度,其混合架构减少了处理长输入所需的内存。我们还证明,即使是较小的 Olmicro 模型,也可以通过后训练以相对较少的计算资源大幅提升其数学推理能力。
我们公开了完整的训练过程,包括全部五个模型、中间检查点、训练数据和代码以及评估结果。我们希望这些资源能降低学术实验室和独立开发者研究语言模型学习机制、测试新训练技术以及为自身应用构建模型的门槛,使他们无需访问前沿规模的计算资源即可实现上述目标。
Olmicro 是我们“Beyond the Model”系列中的首个发布内容,该系列是一周完全开源的研究发布活动,旨在促进 AI 的更高透明度和问责制。
五种规模,一种开放配方
所有 Olmicro 模型共享一种混合架构,该架构结合了 80% 的循环门控 DeltaNet 层和 20% 的全注意力层,建立在我们之前的 Olmo Hybrid 架构之上。Olmicro 还摒弃了位置编码(positional encodings),我们在下文将解释这一设计选择。
我们使用相同的三阶段配方训练所有五种规模(2.75 亿、4.5 亿、8.1 亿、14 亿和 27 亿参数)的模型。预训练涵盖 4,230 亿到 5.07 万亿个 token,具体数量取决于模型规模。中期训练增加 1,000 亿个精心策划的 token,长上下文扩展再增加 1,000 亿个 token,从而将上下文长度扩展到 64K token。
在单个拥有八块 NVIDIA B300 GPU 的节点上,预训练我们最小的模型 Olmicro 275M 大约需要一天时间。在 16 个这样的节点上训练 Olmicro 2.7B 大约需要一周时间。
每个 Olmicro 模型的架构。深青色代表循环门控 DeltaNet 层,粉红色代表全注意力层。训练 token 计数包括预训练、中期训练和长上下文扩展。
在所有三个训练阶段和五种模型规模中,我们发布了 1,707 个中间检查点,每 1,000 个训练步骤保存一次(对于小于 2.7B 的模型,在长上下文扩展期间每 5,000 个步骤保存一次)。研究人员可以使用这些检查点来调查特定能力何时出现、恢复训练运行,或从相同的起点比较不同的训练方法。
Olmicro 的性能表现
我们在 OlmoBaseEval 上对 Olmicro 与另外 37 个开源基础模型进行了评估。OlmoBaseEval 是我们随 Olmo 3 引入的基准测试套件,涵盖多项选择题、阅读理解、数学和编程等领域。
尽管在多数情况下使用的训练Token数量较少,Olmicro的性能仍可与体量相近的模型相媲美。例如,Olmicro 2.7B在OlmoBaseEval的五项任务集群中平均得分为56.5,大致与SmolLM3 3B的56.7分持平,而其使用的训练Token数量不到后者的一半(5.27万亿对11.2万亿)。我们还根据已公布的Token数量估算了对未蒸馏模型的训练算力。在此比较中,仅在相似的算力预算下,Falcon-H1的得分高于Olmicro。
以一致的配方训练全部五个模型,也让我们得以洞察性能是如何随规模扩展的。拟合到四个较小规模的Olmicro模型结果的趋势线,预测Olmicro 2.7B在OlmoBaseEval上的得分误差仅在0.3分以内。这种可预测性使得Olmicro成为小规模实验的有用测试平台。
实线显示了对四个较小规模Olmicro模型的对数线性拟合。虚线将该拟合外推至留出的2.7B模型。训练预算随模型规模的增大而增加。
我们还考察了不同能力开始显现所需的模型规模和算力预算。我们测量的许多能力在2.75亿参数时已清晰可见:我们最小的模型在多项选择题上的表现远高于随机猜测水平,并能解决那些Pythia等旧模型得分接近随机猜测或近乎为零的数学和编程问题。
Olmicro在阅读理解和问答方面尤为出色。在OlmoBaseEval的生成式QA集群中(包括阅读理解、开放域问答以及DROP、SQuAD和CoQA等常识任务),Olmicro在大多数规模下均持平或超越了最佳的可比开源模型。Olmicro 2.7B得分为68.6,相比之下SmolLM3 3B为67.8,Qwen2.5 3B为64.5。
虽然Olmicro在一些更强调数学和代码训练的基座模型中略逊一筹,但我们下文描述的后期训练实验表明,其数学表现可以通过相对较少的额外算力得到显著改善。
在长上下文任务方面,Olmicro的表现与其他开源模型基线相当。在我们比较的所有模型所支持的最长上下文长度32,768个Token处,Olmicro在评估现实长上下文任务的HELMET以及测试从长输入中检索信息等能力的RULER上,均优于大多数体量相近的基座模型。
Olmicro的混合架构如何减少内存使用
我们开发Olmicro的目标之一,是让在GPU内存有限的硬件上处理长文档变得更加实用。
标准Transformer在每个层中都使用全注意力机制。为了高效生成文本,它们维护一个键值(KV)缓存,用于存储早期Token的表示,并随输入长度的增加而增长。对于长文档,此缓存会消耗大量内存。
Olmicro基于我们的Olmo混合架构构建,将循环门控DeltaNet层与全注意力层的比例从3:1提高到4:1。循环层无论输入长度如何,都维持固定大小的早期Token表示,而全注意力层允许Token直接关注早期Token。因此,只有五分之一(即每五个层中的一个)的层需要增长KV缓存。
Olmicro重复由四个Gated DeltaNet层后接一个全注意力层组成的块。循环层维持固定大小的状态,而注意力层的KV缓存随上下文长度增长。
在65,536个Token处,我们估算Olmicro 2.7B仅需1.55 gibibytes (GiB)的上下文内存,这大致相当于同等全注意力模型所需内存(7.50 GiB)的五分之一,也远低于SmolLM3 3B(4.50 GiB)或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。
对于Olmicro 2.7B而言,跟踪完整65,536个token上下文所需的内存小于模型权重所占用的内存。这使得在笔记本电脑和消费级GPU上处理长文档变得更加可行,同时降低了并发服务多个长上下文请求所需的内存。每个序列的内存使用量降低还可以为强化学习(RL)期间并行生成更多响应留出空间,这在GPU内存有限的训练场景中是一个优势。
Olmicro的循环层提供了另一项架构优势。由于它们按顺序处理token,我们可以消除显式位置编码(如旋转位置编码RoPE),而传统Transformer在扩展上下文长度时通常需要对这类编码进行重新缩放。由于无需对位置编码进行重新缩放,我们可以在保持架构在所有三个训练阶段不变的情况下扩展Olmicro的上下文长度。因此,移除位置编码简化了长上下文扩展的架构和方法论。
用于后训练研究的可靠起点
我们还希望了解小型基础模型在开发更强推理能力方面的适应效果如何。我们使用两种方法——强化学习(RL)和监督微调(SFT)——对全部五个Olmicro模型进行了数学推理的后训练实验。
首先,我们尝试直接将RL应用于每个基础模型,在不进行任何先前的指令微调的情况下奖励正确的数学答案。仅通过RL,在400个训练步骤内,所有五个模型尺寸在MATH-500上的准确率至少翻了一番。如图所示,较大的Olmicro模型在RL后始终获得更高的MATH-500分数。Olmicro 2.7B在MATH-500上的得分从37.4%提升至77.3%,而在具有挑战性的AIME 2026竞赛问题上的pass@1准确率也从1.5%上升至14.5%。
对于参数量不超过14亿(1.4B)的模型,这些RL训练运行在单个GPU节点上耗时不到七小时,使Olmicro成为在有限计算预算下进行后训练研究的实用测试平台。
深青色方块显示基础模型的准确率;粉色方块显示直接从基础检查点经过400步RL(无SFT)后的准确率。对于每种模型尺寸,我们展示的是最终MATH-500准确率最高的运行结果。评估使用每个提示四个样本、32,768个token的响应限制、温度1.0和top-p 0.95。达到token限制的响应被判定为错误。275M和450M的运行过滤了恒定奖励组,且不同尺寸的训练提示池有所不同。
我们还使用Dolci 3 Think SFT(即Olmo 3监督推理训练背后的数据集)中的推理示例对所有五个模型进行了微调。微调后,Olmicro 2.7B在AIME 2026上的得分为35%,接近更大的Qwen3.5 4B(38.9%)。我们发现SFT性能通常随模型尺寸增大而提升,尽管810M模型在多个数学基准测试中优于1.4B模型。
综上所述,这些实验表明,即使是我们最小的模型也为后训练研究提供了可靠的起点。研究人员可以利用Olmicro调查不同训练技术对推理能力的影响,或开发专用模型,而无需承担使用更大基础模型所带来的计算成本。
探索Olmicro
小规模实验是我们开发大型语言模型的重要组成部分。我们正在将经 Olmicro 验证的训练配方改进措施纳入到即将进行的 Olmo 训练运行中,并计划分享更多内部研究产物,包括此类扩展阶梯(scaling ladders)。
通过开源 Olmicro 背后的模型、数据、代码和中间检查点,我们希望为更多研究人员提供资源,使他们能够自行开展这类实验。无论您是在研究模型能力的发展过程、探索新架构或训练后技术,还是将小型语言模型适配到您自己的应用中,我们都邀请您基于 Olmicro 进行构建。
请阅读我们的技术报告以获取完整的实验与评估结果,在 Hugging Face 上浏览 Olmicro 模型,并在 GitHub 上访问我们的训练代码。
📄 Tech Report | 🤗 Models | 💻 Code
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.
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.
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.
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 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
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.
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.
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.
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.
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.
How Olmicro performs
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.
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.
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.
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.
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 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.
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 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.
How Olmicro’s hybrid architecture reduces memory use
One of our goals with Olmicro was to make working with long documents more practical on hardware with limited GPU memory.
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 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 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.
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).
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.
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’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
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).
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%.
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.
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.
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.
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.
Explore Olmicro
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.
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.
Read our technical report for the full experiments and evaluations, explore the Olmicro models on Hugging Face , and access our training code on GitHub .
首次收录 · 2026-12-01 · 10.66 分