OLMO-EVAL:モデル開発ループのための評価ワークベンチ
本文の状態
日本語全文を表示中
詳細モードで約11分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Allen AI (AI2)
Allen AI(AI2)は、大規模言語モデルの開発プロセスを支援するオープンソースの評価ワークベンチ「OLMO-EVAL」を発表した。これは最終スコアの再現性から日常の開発ループへと拡張されたものであり、開発者が異なるチェックポイント間でベンチマークの追加・実行・分析を容易に行えるように設計されている。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
LLM を構築している間、あなたは多くの介入を通じて何度も評価を行います。データ、アーキテクチャ、ハイパーパラメータのあらゆる調整、およびスケールアップのすべてのステップは、同じループに戻ります:ベンチマークの追加または再構成、各新しいモデルチェックポイントでの再実行、結果の記録、そして小規模な実験で役立ったものが大規模なトレーニングランでも有効かどうかの確認です。ほとんどの評価ツールはこの目的のために設計されていません—それらは完成したモデルに対して確立されたベンチマークを実行するために作られているか、サンドボックス内で多段階のツール使用問題を通じてモデルを実行するものです。常に変化し続けるモデルに追いつくことはできず、特定の現実世界の条件下でモデルがどのように振る舞うかを反映するものでもありません。
この評価課題に対処するための私たちの前回のプロジェクトは OLMES、すなわち Open Language Model Evaluation Standard(オープン言語モデル評価標準)です。2024 年に導入されたこの基準は、異なるリリース間での LLM ベンチマークスコアの比較を容易にする意図を持っていました。同じモデルが異なる方法で同じベンチマークにスコア付けされており—プロンプトのフォーマットやタスクの定式化といった側面は論文ごとにしばしば異なりました—そのため、どのモデルが最もよく機能したかという主張は再現できないことが多々ありました。OLMES はベンチマーキングの選択事項をオープンで文書化された標準に固定し、Olmo から Tulu までの私たちのオープンモデルの評価の基礎となりました。
しかし、モデルの最終スコアは評価プロセスの一部に過ぎません。そのため、OLMES に基づき LLM 開発の残りの部分へと拡張された新しいワークベンチ olmo-eval を公開します。OLMES と比較して、olmo-eval は新規評価の実装にかかる作業を削減し、評価を実行する場所や方法を定義する際の柔軟性を高め、個々のコンポーネントをより大きなワークフローに組み立てやすくします。エージェント型および多ターン評価はファーストクラスユースケースとしてサポートされており、強力な分析ツールによって、介入がベースラインに対して実際に改善をもたらしたのか、それとも単なるノイズの差に過ぎないのかを判断しやすくなっています。
olmo-eval と既存ツールの違い
olmo-eval は、コンテナ化されたサンドボックス環境内で AI エージェントを評価するためのオープンフレームワークである Harbor と、いくつかの点で重複しています。しかし、両者のツールは範囲において異なります。Harbor は主にエージェントベンチマークの実行と公開を対象としていますが、olmo-eval はモデル開発における日常的な作業のために構築されました。具体的には、ベンチマークの追加と設定、チェックポイント間での実行、そして単一の総合スコアではなくプロンプトごとに結果を分析する作業です。
Harbor は、すべてを密封された再現可能なコンテナ内で同じ方法で実行します。コンテナはリソースを多く消費する可能性があるため、olmo-eval では各ベンチマークの実行方法をユーザーが選択できます。質問に答えるだけで済むモデルが必要なベンチマークは直接実行でき、これはより高速かつ低コストです。一方、コードを実行するなど厳格な環境が必要なベンチマーク(例:モデルが作成したコードを実行するもの)には、隔離されたコンテナセットアップが用意されます。軽量なパスがデフォルトであり、olmo-eval はベンチマークが実際にそれを必要とする場合にのみ、重いセットアップを選択します。
Harbor のベンチマーク追加プロセスは、公開して共有することを計画した評価(evals)向けに設計されており、それに伴う追加の検証ステップが含まれています。一方、olmo-eval は開発中の迅速な移動を目的としており、ベンチマークの追加方法はベンチマークが何を必要とするかによって異なります。基本的な評価には短い定義を提供し、モデルがツールを使用できるオプションを追加したり、すでに独自のコードと手順を持つベンチマークには薄いラッパー(wrapper)を追加して、olmo-eval がそのまま実行できるようにし、他のベンチマークスコアと同じ形式で結果を報告できるようにします。
Harbor と olmo-eval の両方とも、ベンチマークをランタイムポリシー(モデルの回答生成方法)から分離して設計しているため、一方を変更しても他方を再記述する必要はありませんが、olmo-eval はより高いモジュール性を備えています。olmo-eval では、評価対象となるモデル、使用可能なツール、コンテナ化された環境、そして LLM-as-a-judge(LLM を用いた採点者)のようなヘルパーモデルなど、すべてが交換可能なコンポーネントとして構成されています。一つのツールを多数のハーンネスで再利用したり、あるベンチマークに評価モデルを組み込んだりしても他のベンチマークに影響を与えずに済みますし、プロンプトの正確な文言といった細かい設定も多大な労力なく調整可能です。
Harbor は各モデルに対して総合スコアを報告します。olmo-eval も同様にスコアを報告しますが、それには標準誤差と検出可能な最小効果(ノイズから確実に区別できる最小限の差異)が併記されます。しかし、より有用な視点として、同じ質問を2 つのモデルチェックポイントにわたって並べ、他はすべて固定した状態で一つずつ比較するアプローチがあります。これにより、総合平均における微小な変化が実際の改善を示しているのか、単なるノイズに過ぎないのかを判断しやすくなります。
もしあなたが探しているものが…なら、olmo-eval は以下を提供します
複数例を含むベンチマークの作成:Task サブクラスと DataSource、メトリクス、スコアリングサーフェスの定義
既存のエージェント型ベンチマークを独自のランナーでラップする:ExternalEval または SandboxedExternalEval;ベンチマーク自体のループとスコアリングは維持され、結果はスキーマに格納されます
固定されたベンチマークharnessとharnessのプリセットの下でランタイムを切り替えること; harness はプロバイダー、ツール、スケフォールド、サンドボックス、および補助プロバイダーを担う
並列コンテナ実行: 能力ベースルーティングを持つ並列実行用のサンドボックスインスタンス。Docker または Modal モードに対応
タスクやharness間で再利用可能なツールの定義:@toolデコレーターとオプションのグローバルレジストリ
多ターン実行ループ: openai_agentsなどのスケフォールド。harness ごとに選択され、タスク定義に埋め込まれるものではない
統合された評価スタック
olmo-eval は、それぞれ単独でも有用でありながら、実験的な大規模言語モデル (LLM) の開発ループを強化するために連携して動作するように設計された4つのコンポーネントで構成されています:
- ベンチマークロジックとランタイムポリシーを分離するタスク/スイート/ハーン抽象化。タスクとは、olmo-eval におけるベンチマークの定義方法(何を評価するか)です。スイートは実行するセットとしてタスクをグループ化し、ハーンは各タスクの実行方法を制御します。この分離により、測定対象を変更することなく、同じタスクを標準ベースラインとして、あるいはツールやスケフォールディング付きで実行することが可能になります。
- 非同期サンドボックスプランナーを含むサンドボックスおよび機能ルーティングレイヤー。これは、モデルの応答がツールを使用したアクション(コードの記述と実行やウェブブラウジングなど)に依存する評価をサポートします。目的は、モデルの実際のツール使用を評価することです。ベンチマークでツールの利用が必要となる場合、olmo-eval はそのツールを実行し、結果をモデルにフィードバックします。
- 各ラン、その構成、および結果を同じ構造化形式で記録する正規化された実験スキーマ。これにより、関連する実験のグループ化や、時間経過に伴うチェックポイントの比較が可能になり、長期にわたるモデル開発ワークフローで蓄積しがちな不整合性を回避できます。
- 2 つのモデルを対比して比較するための結果ビューア:質問ごとに 2 つのモデルまたはチェックポイントを並べることで、全体の平均値では隠れてしまう小さくても実在するパフォーマンスの変化を浮き彫りにします。
ほとんどのモデル評価設定において、ベンチマークを追加するには大規模な統合プロジェクトが必要です。しかし olmo-eval では、*タスク* 1 つで十分です。タスクは、ベンチマークデータセットの定義、評価リクエストの構築方法、およびモデル回答の採点方法を規定します:
from olmo_eval.common.formatters import ChatFormatter
from olmo_eval.common.metrics import AccuracyMetric
from olmo_eval.common.scorers import ExactMatchScorer
from olmo_eval.common.types import Instance, SamplingParams
from olmo_eval.data import DataLoader, DataSource
from olmo_eval.evals.tasks.common import Task, register, register_variant
@register("internal_freshqa")
class InternalFreshQA(Task):
data_source = DataSource(path="s3://evals/internal/freshqa.jsonl", split="test")
formatter = ChatFormatter()
sampling_params = SamplingParams(temperature=0.0)
metrics = (AccuracyMetric(scorer=ExactMatchScorer),)
@property
def instances(self):
loader = DataLoader()
for idx, doc in enumerate(loader.load(self.config.get_data_source())):
yield Instance(
question=doc["question"],
gold_answer=doc["answer"],
metadata={"id": doc.get("id", f"freshqa_{idx}"),}
)
バリアントは、ベンチマークを複製することなく評価ポリシーの変更を表します:
register_variant("internal_freshqa", "3shot", num_fewshot=3, fewshot_seed=1234)
register_variant("internal_freshqa", "zero", num_fewshot=0)
スイートは、まとめて実行する標準セットとしてベンチマークをグループ化します:
from olmo_eval.evals.suites import Suite, register
register(Suite(
name="base_qa_few_shot",
tasks=(
"sciq:mc:3shot",
"arc_challenge:mc:3shot",
"internal_freshqa:mc:3shot",
),
))そして、ランタイムポリシーがタスク定義ではなくハネス(harness)内に存在するため、生成されたポイントトラックが単に妥当に見えるかどうかに依存するのではなく、異なる実行環境下で同じベンチマークを容易に再実行できます。
ベースライン
olmo-eval run -m my-instruct-checkpoint -t internal_freshqa:zero
同じタスク、同じスコアリング、検索/ツールランタイム有効化
olmo-eval run -m my-instruct-checkpoint -t internal_freshqa:zero --harness search_agent
再現可能な評価のオープン化
評価が一度きりの実行ではなく、継続的なモデル開発の一部である場合、つまり、再現可能な条件下でチェックポイント間で同じベンチマークを繰り返し実行し、集計レベルと個別質問レベルの両方で介入を比較する必要がある場合は、olmo-eval を使用してください。
「このチェックポイントは前回のものとどう異なり、具体的にどこで改善または後退したのか?」という繰り返し質問がある場合、それが olmo-eval が構築されたワークフローです。
再現可能な評価は、モデルが完成して一度スコアリングされる方法だけでなく、モデルがどのように構築されるかにも合わせて進化するべきです。olmo-eval は OLMES 標準をアクティブなモデル開発に持ち込み、コミュニティがこれに基づいて構築できるようにオープンにリリースしています。
Ai2 の最新ニュースに関する月次更新を受け取るには購読してください。
原文を表示
While you're building an LLM, you evaluate it over and over across many interventions. Every adjustment to its data, architecture, or hyperparameters – and every step up in scale – sends you back through the same loop: adding or reconfiguring benchmarks, re-running them on each new model checkpoint, noting the results, and checking whether something that helped in a small experiment still holds up on the full training run. Most evaluation tools aren't designed for this—they’re either built to run established benchmarks across finished models or run a model through multi-step, tool-using problems in a sandbox. They don’t keep up with a model that's constantly changing, nor do they reflect how a model might behave under specific real-world conditions.
Our last project to address this evaluation challenge was OLMES, the Open Language Model Evaluation Standard. Introduced in 2024, it was meant to make LLM benchmark scores easier to compare across releases. The same models were being scored on the same benchmarks in different ways – aspects like prompt formatting and task formulation often varied from paper to paper – so claims about which models performed best often weren't reproducible. OLMES pinned benchmarking choices down in an open, documented standard, and it became the basis for evaluating our open models from Olmo to Tulu.
But a model's final score is only part of the evaluation process—which is why we're releasing olmo-eval, a new workbench that builds on OLMES and extends it across the rest of LLM development. Compared to OLMES, olmo-eval cuts down the work of implementing new evaluations, offers more flexibility in defining where and how they run, and makes it easier to compose individual components into larger workflows. Agentic and multi-turn evaluation is supported as a first-class use case, and stronger analysis tools help you judge whether an intervention actually improved on the baseline or the difference amounts to noise.
How olmo-eval differs from existing tools
olmo-eval overlaps in some ways with Harbor, an open framework for evaluating AI agents inside containerized, sandboxed environments. But the two tools differ in their scope. Harbor is aimed mainly at running and publishing agent benchmarks; olmo-eval was built for the everyday work of developing a model—adding and configuring benchmarks, running them across checkpoints, and analyzing the results prompt by prompt instead of as a single overall score.
Harbor runs everything the same way—inside sealed, reproducible containers. Because containers can be resource-intensive, olmo-eval lets you choose how each benchmark runs instead. A benchmark that just needs a model to answer questions can run directly, which is faster and cheaper; a benchmark that needs a locked-down environment – say, one that runs code the model wrote – gets an isolated container setup. The lightweight path is the default, and olmo-eval only opts for the heavy setup when a benchmark actually requires it.
Harbor's process for adding a benchmark is built for evals you plan to publish and share publicly, with the extra verification steps that entails. olmo-eval is built for moving quickly while you develop, and how you add a benchmark depends on what the benchmark needs: a short definition for a basic eval, with options to let a model use tools as it works through a benchmark, or – for a benchmark that already has its own code and procedure – a thin wrapper so olmo-eval can run it as is and report the results alongside other benchmark scores in the same format.
Both Harbor and olmo-eval keep benchmarks separate from the runtime policy (how the model is run to produce its answers) so you can change one without rewriting the other, but olmo-eval is designed for greater modularity. In olmo-eval, the model being evaluated, the tools it can use, the containerized environment, and any helper models – like an LLM-as-a-judge – are all swappable components. You can reuse a tool across many harnesses, or plug a grading model into one benchmark without perturbing the others, and adjust small settings (e.g., the exact wording of the prompt) without extensive effort.
Harbor reports an overall score for each model. olmo-eval reports those scores too, each with a standard error and a minimum detectable effect (the smallest difference that can be reliably distinguished from noise). But the more useful view lines the same questions up across two model checkpoints and compares them one by one, with all else held fixed. This helps you to see whether a tiny change in an overall average might indicate a real improvement or simply noise.
| If you’re looking for… | olmo-eval offers |
|---|---|
| Authoring a multi-example benchmark | Task subclass with a DataSource, metrics, and scoring surface |
| Wrapping an existing agent-style benchmark with its own runner | ExternalEval or SandboxedExternalEval; the benchmark keeps its loop and scoring, results land in schema |
| Swapping the runtime under a fixed benchmark | --harness and harness presets; the harness carries provider, tools, scaffold, sandboxes, and auxiliary providers |
| Parallel container execution | Sandbox instances for parallel executors with capability-based routing, Docker or Modal modes |
| Tool definitions reusable across tasks and harnesses | @tool decorator with optional global registry |
| Multi-turn execution loops | Scaffolds, e.g., openai_agents, selected per harness, not baked into the task definition |
An integrated evaluation stack
olmo-eval is composed of four components that are useful on their own but designed to work together to tighten the experimental LLM development loop:
- A task/suite/harness abstraction that decouples benchmark logic from runtime policy. A task is how you define a benchmark in olmo-eval—what's being evaluated. A suite groups tasks into a set you run together, and a harness controls how each task is run. This separation lets the same task run as a standard baseline or with tools and scaffolding, without changing what it measures.
- A sandbox and capability-routing layer, including an asynchronous sandbox planner. This supports evaluations where a model's response depends on the actions it takes using tools, like writing and running code or browsing the web. The point is to evaluate the model's real tool use: when a benchmark calls for tools, olmo-eval runs those tools and feeds the results back to the model.
- A normalized experiment schema that records every run, its configuration, and the results in the same structured format. This makes it possible to group related experiments, compare checkpoints over time, and avoid the inconsistencies that often accumulate in long-running model development workflows.
- A results viewer for pairwise model comparison: lining two models or checkpoints up question by question surfaces small but real performance changes that an overall average can hide.
In most model evaluation setups, adding a benchmark is a sizeable integration project. In olmo-eval, all that’s needed is a *task*—tasks define the benchmark dataset, how evaluation requests are built, and how model answers are scored:
from olmo_eval.common.formatters import ChatFormatter
from olmo_eval.common.metrics import AccuracyMetric
from olmo_eval.common.scorers import ExactMatchScorer
from olmo_eval.common.types import Instance, SamplingParams
from olmo_eval.data import DataLoader, DataSource
from olmo_eval.evals.tasks.common import Task, register, register_variant
@register("internal_freshqa")
class InternalFreshQA(Task):
data_source = DataSource(path="s3://evals/internal/freshqa.jsonl", split="test")
formatter = ChatFormatter()
sampling_params = SamplingParams(temperature=0.0)
metrics = (AccuracyMetric(scorer=ExactMatchScorer),)
@property
def instances(self):
loader = DataLoader()
for idx, doc in enumerate(loader.load(self.config.get_data_source())):
yield Instance(
question=doc["question"],
gold_answer=doc["answer"],
metadata={"id": doc.get("id", f"freshqa_{idx}")},
)Variants express changes in evaluation policy without duplicating the benchmark:
register_variant("internal_freshqa", "3shot", num_fewshot=3, fewshot_seed=1234)
register_variant("internal_freshqa", "zero", num_fewshot=0)Suites group benchmarks into standard sets you run together:
from olmo_eval.evals.suites import Suite, register
register(Suite(
name="base_qa_few_shot",
tasks=(
"sciq:mc:3shot",
"arc_challenge:mc:3shot",
"internal_freshqa:mc:3shot",
),
))And because runtime policy lives in the harness rather than the task definition, the same benchmark can be easily rerun under different execution rather than relying on whether a generated point track merely looks plausible.
# Baseline
olmo-eval run -m my-instruct-checkpoint -t internal_freshqa:zero
# Same task, same scoring, search/tool runtime enabled
olmo-eval run -m my-instruct-checkpoint -t internal_freshqa:zero --harness search_agentReproducible evaluation made open
Use olmo-eval when evaluation is part of ongoing model development rather than a one-off run—when you need to run the same benchmarks repeatedly across checkpoints under reproducible conditions and compare interventions at both the aggregate and per-question level.
If your recurring question is "How does this checkpoint differ from the last one, and where exactly did it improve or regress?", that’s the workflow olmo-eval is built for.
Reproducible evaluation should keep pace with how models are built—not only how they're scored once they're finished. olmo-eval carries the OLMES standard into active model development, and we're releasing it openly so the community can build on it.
Subscribe to receive monthly updates about the latest Ai2 news.
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み