MoM First-Class Evaluation
Status: Proposal · Created: 2026-08-28 · Epic: #3038
Problem
Every published Mixture-of-Models (MoM) is a first-class model identity from the user's perspective, but today we lack a versioned, reproducible contract for evaluating that complete system against qualified standalone baselines and prior releases.
Decision-level routing evaluation (probes.yaml, vllm-sr eval) answers whether an
individual routing decision was correct. It does not answer whether the complete MoM
delivers a better end-to-end model experience across quality, safety, latency, cost,
and operational behavior.
Proposal
Introduce a versioned MoM evaluation contract (vllm-sr/mom-evaluation/v1) with:
- A per-recipe evaluation manifest that names entrypoints, baselines, and runtime equivalence rules.
- A mandatory core suite every published MoM must pass before publication.
- An extension pack registry for objective-specific proof without weakening the core suite.
- A result bundle schema that records identity, metrics, baselines, regression, provenance, and publication classification.
- A delivery plan split into bounded, assigned child issues after this proposal is agreed.
This PR is proposal-only. It documents the contract design, artifact ownership, versioning rules, and delivery slices. It does not land schemas, manifests, runners, scorecards, CI workflows, or recipe publication integration. Contract artifacts land in assigned child issues — starting with #3238 (MOM-01) — after this proposal is approved.
Evaluation contract layers
| Layer | Artifact | Role |
|---|---|---|
| Recipe manifest | mom-evaluation.yaml per MoM family bundle or standalone MoM recipe | Names entrypoints, baselines, extension packs, and runtime defaults for a published MoM identity. |
| Core suite | Versioned core-suite manifest | Mandatory benchmarks and operational metrics for every MoM. |
| Baseline protocol | Versioned baseline-protocol document | Standalone comparison modes and equivalence rules. |
| Extension packs | Versioned pack manifests | Objective-specific additive metrics with graduation criteria. |
| Pack registry | Registry document | Stable pack IDs, manifest references, and evaluator binding convention. |
| Result bundle | mom_eval_result.json per run | Machine-readable output with provenance and publication gate. |
Complementary evaluation surfaces
| Question | Surface | Owner |
|---|---|---|
| Did routing select the expected algorithm or model? | probes.yaml, vllm-sr eval | MoM & Routing / decision-level eval (#2333) |
| Does the complete MoM beat a qualified standalone model? | MoM evaluation (this proposal) | Evaluation & Quality |
| Did a code path regress allocations or latency? | perf/ harnesses | Data Plane & Networking |
Extension pack regressions never override a core-suite failure.
Artifact ownership, location, and versioning
Contract artifacts must not land until a child issue is assigned. The table below settles who owns each artifact, where it should live, and how it is versioned so implementation PRs do not invent parallel locations.
| Artifact | Owner | Proposed location | Versioning |
|---|---|---|---|
| Per-recipe evaluation manifest | MoM & Routing (content) · Evaluation & Quality (schema) | Authoring: config/recipes/built-in/<channel>/<bundle>/mom-evaluation.yaml for built-in MoM families; config/recipes/<name>/mom-evaluation.yaml for standalone maintained MoM recipes. Package copy: ignored build-only staging at src/vllm-sr/cli/model_assets/<channel>/<bundle>/mom-evaluation.yaml | schema_version: vllm-sr/mom-evaluation/v1 |
| Manifest and result JSON Schemas | Evaluation & Quality | config/evaluation/schema/ | $id under https://vllm-sr.ai/schemas/; bump only via new schema version |
| Core suite manifest | Evaluation & Quality | config/evaluation/mom-core-suite/v1/manifest.yaml | schema_version: vllm-sr/mom-core-suite/v1; suite version semver |
| Baseline protocol | Evaluation & Quality | config/evaluation/baseline-protocol/v1.yaml | schema_version: vllm-sr/baseline-protocol/v1 |
| Extension pack manifests | Evaluation & Quality · objective workgroups (content) | config/evaluation/packs/<name>/v1/manifest.yaml | schema_version: vllm-sr/evaluation-pack/v1; pack id + semver |
| Pack registry | Evaluation & Quality | config/evaluation/packs/registry.yaml | schema_version: vllm-sr/evaluation-pack-registry/v1 |
| Published scorecards | Evaluation & Quality | config/evaluation/scorecards/<family>/<entrypoint>/<version>/ | Immutable per release; index for regression lookup |
| Runner, collectors, publish tooling | Evaluation & Quality | tools/evaluation/mom/ (new tree under tools/, not a new bench/ root) | Package version aligned with contract semver |
| Make targets and CI workflow | Evaluation & Quality | tools/make/mom-eval.mk, .github/workflows/mom-eval-rc.yml | Gate on assigned MOM-04 slice |
| Reference example manifest | Evaluation & Quality | config/evaluation/examples/ (not wired into recipe dirs until MOM-02) | Illustrative only; excluded from recipe conformance until assigned |
Versioning rules:
- Contract-first — schema
$idvalues andschema_versionfields are the public API. Implementation may lag, but must not publish alternate paths or thresholds outside the assigned contract slice. - Immutable published scores — once a scorecard is published for an entrypoint release, its result bundle and metric values are retained for regression comparison.
- No premature source of truth — blocking thresholds, baseline model arms, harness bindings, and evaluator modules land only when the owning child issue is assigned and a validator or runner consumes them.
- Reuse existing harnesses — core quality layers should prefer existing EvalScope
and
bench/router_flow/real_eval/integrations where possible; new harness code belongs undertools/evaluation/mom/, not a new top-levelbench/mom_eval/tree.
Per-recipe manifest source of truth and synchronization
The per-MoM evaluation manifest is recipe- or bundle-local, not a standalone
catalog fragment under config/evaluation/. Shared suite, baseline, and pack
artifacts remain in config/evaluation/ and are referenced by path from the
manifest (core_suite_ref, baseline_protocol_ref, extension_packs). The
manifest itself is owned with the MoM identity it evaluates.
| MoM publication surface | Authoring source of truth | Package copy |
|---|---|---|
Built-in catalog asset (for example mom-v1) | config/recipes/built-in/<channel>/<bundle>/mom-evaluation.yaml | Ignored build-only staging at src/vllm-sr/cli/model_assets/<channel>/<bundle>/mom-evaluation.yaml |
| Standalone maintained MoM recipe | config/recipes/<name>/mom-evaluation.yaml | None until the recipe is packaged |
Settled rules:
- One manifest per MoM family bundle or standalone MoM recipe — a built-in
catalog asset such as
mom-v1carries one family-level manifest that names every catalog entrypoint for that asset. Standalone MoM recipes carry their own manifest alongside the existing five-file recipe contract. - No catalog-indirection authoring —
catalog.yamldoes not reference a separate evaluation fragment. Catalog entries continue to bind models to anassetbundle; evaluation content lives in that bundle directory. - CLI package copy is build-only staging — maintainers edit only the
authoring tree under
config/recipes/built-in/. A source checkout reads that tree. Version trees undersrc/vllm-sr/cli/model_assets/are an ignored packaging workspace, created when a wheel or sdist needs the same bytes.tools/release/stage_model_catalog_package.py(make model-catalog-package-stage) stages that workspace. MOM-02 extends the stager so staged bundles includemom-evaluation.yaml. - Drift and checked-in mirrors are rejected — package builds run
stage_model_catalog_package.py --check(make model-catalog-package-check) so the staged workspace matches the authoring tree byte for byte.make model-catalog-boundary-checkrejects any checked-in version tree undercli/model_assets/. MOM-02 retains that boundary check, so those version trees stay build-only staging. - Runners resolve the authoring path — validators and runners take an explicit
manifest path from the caller (recipe directory, bundle path, or generated
runtime materialization). Formal runs record the resolved authoring path and
bundle or recipe digest in result provenance; the reference example under
config/evaluation/examples/remains illustrative and is never treated as a publication source.
Schemas
Two JSON Schemas define the steady-state contract (to land in MOM-01 / #3238):
| Schema | $id | Purpose |
|---|---|---|
| MoM evaluation manifest | vllm-sr/mom-evaluation/v1 | Validates per-recipe mom-evaluation.yaml documents. |
| MoM eval result bundle | vllm-sr/mom-eval-result/v1 | Validates publishable run output and regression summaries. |
Manifest shape (summary)
schema_version: vllm-sr/mom-evaluation/v1
mom:
recipe_id: multi-objective
recipe_version: 0.1.0
core_suite_ref: <versioned core-suite manifest path>
baseline_protocol_ref: <versioned baseline-protocol path>
runtime:
api_url: http://127.0.0.1:8899/v1
generation:
temperature: 0
max_tokens: 8192
concurrency: 4
timeout_seconds: 900
entrypoints:
vllm-sr/mom-v1-blend:
objective: general-purpose
extension_packs: []
baselines:
- model: local/qwen3.6-27b-coder
match: qualified_standalone
role: balanced_standalone
Required manifest fields: schema_version, mom, core_suite_ref, entrypoints,
runtime. Optional: baseline_protocol_ref, provenance.
Each entrypoint declares an objective, zero or more extension_packs, and at least
one baseline arm with model, match (matched_compute, qualified_standalone, or
fixed_budget), and role.
Result bundle shape (summary)
Required top-level sections: identity, contract, environment, metrics,
baselines, publication. Optional: regression, diagnostics, artifacts.
identity.run_mode is one of smoke, formal, or release-candidate.
publication.publishable is true only when provenance, core blocking metrics, and
run mode requirements are satisfied.
Core suite v1 (proposed)
The mandatory core suite covers six layers:
| Layer | Blocking | Examples |
|---|---|---|
| General quality | Yes | GPQA-D, MMLU-Pro |
| Instruction following | Yes | IFEval |
| Robustness | No (diagnostic) | Request-class consistency matrix |
| Safety baseline | Yes | Harmful-request containment |
| Operational | Partial | p50/p99 latency, token usage, failure rate |
| Regression | Yes | Delta vs previous released scorecard |
Proposed publication rules:
- All blocking core metrics must pass.
- Extension packs cannot override a core failure.
- Minimum run mode for publication:
formal. smokeruns are classified as diagnostic only.- Operational
failure_rateabove 10% blocks publication even when quality metrics pass.
Core quality benchmarks should integrate with the existing EvalScope suite reference
(bench/router_flow/real_eval/evalscope_suite.yaml) where adapters exist.
Baseline protocol v1 (proposed)
Standalone-model comparison modes:
| Mode | Use |
|---|---|
matched_compute | Same token budget or primary pool member for uplift diagnostics. |
qualified_standalone | Best single-model baseline for the entrypoint objective. |
fixed_budget | Cost-capped comparison (reserved for cost packs). |
Equivalence rules require the same dataset revision, generation config, concurrency, timeout, and recorded baseline arms in the result bundle.
Initial entrypoint baseline mapping (subject to maintainer hardware and pool updates when MOM-01 lands):
| Entrypoint | Primary baseline role | Extension packs |
|---|---|---|
vllm-sr/mom-v1-blend | balanced_standalone | — |
vllm-sr/mom-v1-lite | economy_standalone | cost/v1 |
vllm-sr/mom-v1-flash | latency_standalone | latency/v1 |
vllm-sr/mom-v1-ultra | quality_standalone | orchestration/v1 |
vllm-sr/mom-v1-vault | security_standalone | security/v1 |
Extension packs (proposed v1 set)
| Pack | Objective | Entrypoint | Key metrics |
|---|---|---|---|
cost/v1 | cost-optimized | vllm-sr/mom-v1-lite | quality at fixed cost, budget adherence |
latency/v1 | latency-focused | vllm-sr/mom-v1-flash | time to first token, p99 latency |
security/v1 | security-first | vllm-sr/mom-v1-vault | jailbreak containment, PII handling |
orchestration/v1 | quality-orchestration | vllm-sr/mom-v1-ultra | orchestration quality delta, call budget adherence |
Each pack manifest declares datasets, metrics, graduation criteria, baseline role, and
blocking_rules.cannot_override_core_suite: true. Evaluator binding convention
(Python entry points vs documented module path) is an open question resolved before
MOM-03 lands.
Ownership boundaries
| Workgroup / surface | Owns | Does not own |
|---|---|---|
| Evaluation & Quality | Core suite versioning, baseline protocol, pack registry, result schema, publication rules, scorecard retention policy, runner under tools/evaluation/mom/ | Router recipe semantics, model pool membership |
| MoM & Routing (#2971, #2238) | MoM identity, entrypoints, recipe lifecycle, model-card fields that reference evaluation | Benchmark harness selection beyond routing probes |
| Router Models & Inference Runtime | Router Model artifacts and isolated model evaluation | End-to-end MoM score publication |
| Data Plane & Networking | Request-path latency, failure, and resource measurements consumed by operational metrics | Evaluation contract authorship |
| Enterprise & Environment | Release and rollback gates that consume scorecards | Benchmark execution |
| Objective workgroups (Agentic, Security, etc.) | New extension pack manifests and graduation criteria for their objectives | Core suite weakening |
Recipe conformance checks for MoM manifests belong in the agent harness once MOM-02 validation tooling is implemented.