Logical Benchmarks and Instances¶
Executive Summary¶
This document specifies logical benchmarks and benchmark instances, and how an experiment binds to a logical benchmark so results from diverse experiments can be aggregated in a standardized, domain-agnostic way.
To register a problem and instance, see How to add a benchmark problem and instance. To bind an experiment to a benchmark instance, see How to bind an experiment to a benchmark instance.
The design rests on three complementary abstractions:
-
Logical Benchmark Definition — a declarative description of an abstract benchmark problem: what properties define it and what values those properties can take.
-
Benchmark Instance Definition — a concrete instantiation of a logical benchmark problem. Defines specific values for the problem properties and optionally provides instance specific files generated based on those property values.
-
Benchmark Instance Binding — metadata that maps an
adoexperiment's internal properties and metrics to the properties and metric names of a benchmark instance. This tells the system how to extract and label the relevant results from that experiment's data.
Together, these abstractions allow the benchmarking system to remain agnostic to domain-specific concepts. All domain knowledge is expressed by the logical benchmark, benchmark instance and benchmark experiment authors; the system only needs to read the metadata and apply it.
Requirements to Design Mapping¶
| Requirement | Design interpretation |
|---|---|
| REQ 2.1 | A logical benchmark is registered as benchmarks/<id>/benchmark.yaml |
| REQ 2.2 | A benchmark instance is registered as benchmarks/<id>/instances/<name>/instance.yaml |
| REQ 2.5 | Logical benchmarks and instances are listed by scanning benchmarks/ |
| REQ 3.3 | A logical benchmark or instance can be referenced by any experiment or submission |
| REQ 5.2 | Bindings map experiment outputs onto the logical benchmark's properties and metric names so stored results share a schema |
| REQ 5.3 | Bindings and instance metadata carry the domain-specific context stored alongside results |
| REQ 7.1 | Logical benchmarks and instances live under top-level benchmarks/, independent of any Nexus package |
1. Motivation¶
1.1 Challenges¶
Three challenges arise when aggregating results from diverse benchmark experiments:
| Challenge | Description | Design Requirement |
|---|---|---|
| Heterogeneous Tooling for Homogeneous Tasks | Different experiments may evaluate the same logical problem. For example, both vllm-bench and guide-llm measure inference-serving performance, but the system has no way to know they can address the same logical benchmark. |
The system must recognize that disparate experiments can address the same logical benchmark. |
| Ambiguous and Domain-Specific Properties | Benchmarking domains are too diverse to share a fixed schema. A synthetic math logical benchmark has no "dataset" column; a quantum max-cut logical benchmark is characterized by graph_type and node_count. |
The system must support dynamic, per-logical-benchmark, properties. |
| Benchmark Instance Property Fragmentation | Defining a benchmark instance often involves a matrix of runtime properties. If results are differentiated by raw property values, results from minor variations (concurrency=100 vs concurrency=105) can never be aggregated. Further, the properties required to address the same logical benchmark with different experiments may differ |
The design must allow related property combinations to be collapsed into a single canonical value. |
2. Logical Benchmark Definition¶
2.1 Concept¶
A logical benchmark is an abstract, reusable definition of a problem class or evaluation task (the benchmark problem). It defines:
- a unique identifier
- the problem properties that are used for defining an instance of the problem. When creating a benchmark instance, these properties are used for defining the complexity or size of the problem to be benchmarked.
- the canonical metric names that results should be reported under
2.2 Schema¶
Top-level fields:
| Field | Type | Required | Description |
|---|---|---|---|
benchmarkidentifier |
string | Yes | Unique identifier for this benchmark. |
title |
string | No | Short human-readable display name for this logical benchmark. |
description |
string | Yes | Human-readable description of the abstract problem being evaluated. |
problemProperties |
list of Property | Yes | The properties defining a benchmark problem. Each entry specifies the property name and an optional human-readable description. |
metrics |
list of Property | No | Canonical metric names for this logical. Each entry specifies the metric name and an optional human-readable description. |
ranking |
Ranking | No | Defines how benchmark results are ordered on a leaderboard. See Ranking fields below. |
owner |
string | No | Team or individual responsible for maintaining this definition. |
metadata |
map of string to string | No | Optional arbitrary key-value annotations (flat string-to-string dictionary, max 4,096 chars per key and value). |
Ranking fields:
| Field | Type | Required | Description |
|---|---|---|---|
metric |
string | Yes | Identifier of the metric used for ranking. Must be in the metrics list. |
order |
"asc" or "desc" | Yes | Sort order: "asc" for lower-is-better, "desc" for higher-is-better. |
2.3 Example¶
The logical benchmark definition lives inside
benchmarks/<benchmark-id>/benchmark.yaml. Bindings live separately in
experiments/<experiment-name>/bindings/ (see
Section 4).
benchmarkIdentifier: graph_coloring
title: Graph Coloring
description: >
Evaluates graph-coloring algorithms on their ability to produce valid
k-colorings with a small chromatic number. Instances span random
Erdős–Rényi graphs and structured benchmark graphs at varying densities.
problemProperties:
- identifier: graph_family
metadata:
description: Graph family (erdos_renyi, planar, random_regular).
- identifier: num_vertices
metadata:
description: Number of vertices in the graph.
- identifier: edge_density
metadata:
description: Edge probability / density parameter.
metrics:
- identifier: num_colors_used
- identifier: is_valid_coloring
- identifier: elapsed_ms
ranking:
metric: num_colors_used
order: asc
See the ado property domain documentation for more information about the types of domains that can be specified.
3. Benchmark Instance Definition¶
3.1 Concept¶
You can define concrete benchmark instances for a logical benchmark (e.g.
specific circuit compilation problem, portfolio optimization problem, or genai
inference workload). Each instance lives in its own folder under
instances/<instance-name>/ with an instance.yaml file and one or more
subfolders containing the actual artifact files for that instance.
3.2 Directory Layout¶
benchmarks/<benchmark-id>/instances/<instance-name>/
├── instance.yaml
└── <artifactsLocation>/ # subfolder name matches `artifactsLocation` in instance.yaml
├── graph.dimacs
└── graph.json
3.3 Schema¶
Each instance.yaml defines a concrete benchmark instance. Problem properties
match the problem property identifiers defined under problemProperties in
benchmark.yaml, while problemPropertyValues holds the values for each
property and instanceArtifacts identifies the artifacts that have been created
for this instance. Each artifact entry declares a property (its identifier
within the instance) and an artifactsLocation (the subfolder, relative to the
instance folder, that holds the artifact files).
| Field | Type | Required | Description |
|---|---|---|---|
instanceIdentifier |
string | Yes | Unique identifier for this benchmark instance. |
benchmarkIdentifier |
string | Yes | The benchmarkIdentifier of the benchmark this instance maps to. |
description |
string | No | Human-readable description of this specific instance. |
problemPropertyValues |
list of PropertyValue | No | Values for all problem properties defined in benchmark.yaml. |
instancePropertyValues |
list of PropertyValue | No | Optional generative properties used to produce the instance (e.g. seed). Not declared in benchmark.yaml. |
variants |
list of InstanceVariant | No | Problem property value combinations under this instance. See Section 3.5. |
instanceArtifacts |
list of InstanceArtifact | No | All artifacts available for this instance. See Section 3.4. |
metadata |
map of string to string | No | Optional arbitrary key-value annotations (flat string-to-string dictionary, max 4,096 chars per key and value). |
3.4 Instance Artifacts¶
An instance artifact is a file that is derived from the instance's problem properties and can be fed directly to algorithms as input. Rather than having each algorithm re-derive the same input representation from raw property values, the artifact is pre-generated once and stored alongside the instance.
For example, for a graph-coloring instance the problem properties might describe
a graph in terms of its family, number of vertices, and edge density. A
pre-processing step can consume those properties, generate the actual graph
using a tool such as an MPS converter, and write the resulting graph file (e.g.
graph.dimacs or graph.json) to an artifact folder. Benchmark experiments can
take one of these files as input rather than having to reconstruct the graph
themselves.
All instance artifacts live in the subfolder within the instance folder
specified in artifactsLocation and follow the below specification.
instanceArtifact fields:
| Field | Type | Required | Description |
|---|---|---|---|
property |
Property | Yes | Identifies this artifact slot within the instance. |
artifactsLocation |
string | Yes | Subfolder (relative to the instance folder) holding the files. |
instanceArtifacts:
- property:
identifier: "<instance-artifact-property-name>"
artifactsLocation: "<artifacts-subfolder>"
3.5 Instance Variants¶
A single instance can cover a sweep over the values of one or more problem
properties (e.g. the same graph generated for several edge_density values).
Instead of creating one instance per value, list the values under variants.
A problem property gets its value either in problemPropertyValues or
in every entry of variants, never both. Properties that vary are therefore
omitted from the top-level problemPropertyValues.
variant fields:
| Field | Type | Required | Description |
|---|---|---|---|
problemPropertyValues |
list of PropertyValue | Yes | Values of the varying problem properties for this variant. |
instanceArtifactValues |
list of artifact value lists | No | Per artifact (property), the values (files in its artifactsLocation) used by the variant. |
instanceIdentifier: erdos_renyi_50
benchmarkIdentifier: graph_coloring
description: 50-node Erdos-Renyi graphs with different edge densities
# edge_density varies, so it is given in the variants instead of here
problemPropertyValues:
- property:
identifier: graph_family
value: erdos_renyi
- property:
identifier: num_vertices
value: 50
instanceArtifacts:
- property:
identifier: graph
artifactsLocation: artifacts
variants:
- problemPropertyValues:
- property:
identifier: edge_density
value: 0.2
instanceArtifactValues:
- property:
identifier: graph
values:
- graph_02.dimacs
- graph_02.json
- problemPropertyValues:
- property:
identifier: edge_density
value: 0.5
instanceArtifactValues:
- property:
identifier: graph
values:
- graph_05.dimacs
- graph_05.json
Runs still map to the one instance; filtering per variant is done through the artifact file names listed in the variant.
Please note that:
- Problem properties that can match the same instance with different values
must have each of those values declared in
variants. - For artifacts that change with the variant, users must define all combinations of interest for each property that has variants.
3.6 Example¶
The following is an example instance definition at
benchmarks/graph-coloring/instances/erdos_renyi_50_02/instance.yaml:
instanceIdentifier: erdos_renyi_50_02
benchmarkIdentifier: graph_coloring
description: 50-node Erdos-Renyi graph with edge density 0.2
# Problem property values
problemPropertyValues:
- property:
identifier: graph_family
value: erdos_renyi
- property:
identifier: num_vertices
value: 50
- property:
identifier: edge_density
value: 0.2
# Artifact instance property
instanceArtifacts:
- property:
identifier: graph
artifactsLocation: artifacts
4. Benchmark Instance Binding¶
4.1 Concept¶
A benchmark instance binding defines how a given experiment can execute a benchmark instance and how to consume the experiments outputs.
An instance binding serves two purposes:
-
Declaration — it defines the benchmark instance an experiment maps to
-
Mapping — This maps instance property values and/or instance artifacts to one or more of the the experiments inputs. It also maps output properties to the metrics the logical benchmark defines.
The purpose of this approach is provide flexibility in what information benchmark experiment need to execute a benchmark instance. As an example, one experiment might have been designed solely for solving one specific instance problem, and therefore it requires no input parameters. While others might have a more generic implementation and require specific input data (an instance artefact, or the problem property values) to execute that specific instance.
4.2 Schema¶
Binding files live under experiments/<experiment-name>/bindings/. Each file
contains one instance binding.
Per-entry fields:
| Field | Type | Required | Description |
|---|---|---|---|
instanceBindingIdentifier |
string | Yes | The unique identifier of this binding. |
instanceReference |
string | Yes | It is formed as benchmarkIdentifier/instanceIdentifier for the instance it maps to. |
experiment |
ExperimentReference | Yes | The ado ExperimentReference object. |
targetMapping |
TargetMapping | No | Identifies the leaderboard target (row key) for this binding. Either a static string label or a reference to an experiment input property resolved at query time. Defaults to the experiment identifier when omitted. |
metricMapping |
list of metric mapping | No | Translates per-experiment metric names to the canonical metric names defined by the logical benchmark. Required when metric names differ across experiments targeting the same logical.benchmark. |
problemPropertyMapping |
list of problem property mapping | No | Remaps instance problem properties to experiment input properties. |
instanceArtifactMapping |
list of instanceArtifactMapping | No | Remaps benchmark instance artifact properties to experiment input properties. These mappings should be present even if the experiment and instance properties have the same name. Every property omitted here is considered not to be a property of the experiment and will not be used for resolving the mapping between experiment runs and benchmark instances. |
staticFilters |
list of PropertyValue | No | Sets static experiment properties to values implicit in the instance. |
metadata |
map of string to string | No | Optional arbitrary key-value annotations (flat string-to-string dictionary, max 4,096 chars per key and value). |
Target mapping¶
The targetMapping field identifies the leaderboard target (row key) for a
binding — typically the algorithm, model, or solver being benchmarked. When
omitted the experiment identifier is used as the target.
A TargetMapping can be specified in two ways:
-
static— a fixed string label applied to every run resolved through this binding: -
experimentProperty— the identifier of an experiment input property whose value is resolved at query time, allowing a single binding to cover multiple targets distinguished by that property:
Metric mapping¶
metricMapping:
- benchmark:
identifier: <canonical-benchmark-metric-name>
experiment:
identifier: <experiment-metric-name>
Metrics not listed are passed through under their original names. For two experiments to produce a merged metric column, both must map their respective metric names to the same canonical name defined by the logical benchmark.
Problem property mapping¶
The problemPropertyMapping list maps problem properties/parameters from the
benchmark instance to experiment inputs. types of entry are possible:
- field mapping: A 1-to-1 mapping for a benchmark instance property.
- Allows translating "WHERE problem_property_Z = X" to "WHERE experiment_param = X"
- categorical value mapping: 1-to-many mapping for the values of a categorical
benchmark instance property.
- Allows translating "WHERE problem_property_W = CategoryA" to e.g. "WHERE exp_param_1 > X and exp_param_2 = y"
Only benchmark instance problem property or instance artifacts that map to an experiment input need to be included here. All the mapped properties are used for creating a routing query.
Field mapping¶
Maps an experiment property to a benchmark instance problem property.
problemPropertyMapping:
- instance:
identifier: "<benchmark-instance-problem-property-name>"
experiment:
identifier: "<experiment-property-name>"
Categorical value mapping¶
Maps one or more values of a categorical benchmark instance problem property to a set of (experiment property:allowed value set) pairs.
problemPropertyMapping:
- categoricalValue:
property:
identifier: "<benchmark-instance-problem-property-name>"
value: "<categorical-value-from-benchmark-domain>"
predicate:
- identifier: "<experiment-property-name>"
propertyDomain: <PropertyDomain>
- ...
Instance artifact mapping¶
A list that maps experiment properties to instance artifacts. Each entry follows the structure in the table below.
instanceArtifactMapping fields:
| Field | Type | Required | Description |
|---|---|---|---|
instance |
Property | Yes | The property of the instance artifact being mapped. |
experiment |
Property | Yes | The property of the experiment being mapped. |
validValues |
list of string | Yes | The list of valid file names for that binding. |
instanceArtifactMapping:
- instance:
identifier: "<instance-artifact-property-name>"
experiment:
identifier: "<mapping-experiment-property-name>"
validValues:
- "filename1.ext"
- "filename2.ext"
Each filename in validValues must exist in the artifactsLocation subfolder
specified for that artifact property in the instance. Every artifact from the
instance with no mapping is considered not to have a counterpart input property
in the experiment, and will not be used for creating a
routing query.
Static filters¶
Static filters pin known-constant property values to a binding without recording them in experiment results or benchmark instances.
A property of the experiment is fixed to a value that is implicit in the
instance. Every query against this experiment automatically adds
AND <experiment-property> = <value>. For example, the experiment may expose a
mode property with values "debug" and "production", and the instance
always requires "production".
staticFilters:
- property:
identifier: "<experiment-property-name>"
value: "<experiment-property-value>"
Instances with variants¶
Bindings need no extra fields for instance variants.
instanceReference always names the one instance, and validValues lists the
files of any variant the experiment can run, so the routing query matches runs
of all of them. Which variant a run belongs to is resolved from the variant
property values, or from the artifact file name via instanceArtifactValues.
Validation¶
nexus validate experiments checks every binding in
experiments/<name>/bindings against the benchmarks:
schema, unique instanceBindingIdentifier, experimentIdentifier listed in
experiment_package.yaml, instanceReference pointing to an existing instance,
mapped metrics and problem properties defined in the benchmark, and
instanceArtifactMapping entries naming declared artifacts whose validValues
files exist in the artifactsLocation folder.
4.3 Examples¶
Artifact-Only Binding Example¶
This experiment only takes the artifact as input and does not have input parameters that match the problem properties.
instanceBindingIdentifier: coloring_rlx
instanceReference: graph_coloring/erdos_renyi_50_02
experiment:
actuatorIdentifier: custom_experiments
experimentIdentifier: rlx_coloring
experimentVersion: 1.0.0
instanceArtifactMapping:
- instance:
identifier: graph
experiment:
identifier: graph_file
validValues:
- graph.json
Properties and Static Artifact Binding Example¶
This experiment instead requires all the problem properties to be specified as inputs to the experiment, while it does not use any of the available artifacts.
instanceBindingIdentifier: coloring_rlx
instanceReference: graph_coloring/erdos_renyi_50_02
experiment:
actuatorIdentifier: custom_experiments
experimentIdentifier: rlx_coloring
experimentVersion: 1.0.1
problemPropertyMapping:
- instance:
identifier: graph_family
experiment:
identifier: family
- instance:
identifier: num_vertices
experiment:
identifier: n_vertices
- instance:
identifier: edge_density
experiment:
identifier: density
instanceArtifactMapping:
- instance:
identifier: graph
experiment:
identifier: graph_file
validValues:
- graph.json
5. Full End-to-End Example¶
This section traces a complete example for the llm_inference benchmark,
showing how a logical benchmark, an instance, and an experiment binding fit
together for evaluating LLM inference performance with
guidellm-bench-deployment.
5.1 Logical benchmark definition¶
The logical benchmark definition lives under
benchmarks/llm-inference/benchmark.yaml:
benchmarkIdentifier: llm_inference
title: LLM Inference Performance
description: >
Evaluates LLM serving systems on throughput and latency under different
traffic workloads. Instances are characterised by the workload category
(traffic intensity and concurrency regime).
problemProperties:
- identifier: workload
metadata:
description: >
Canonical workload category that captures traffic intensity
and concurrency regime.
metrics:
- identifier: throughput_tokens_per_second
metadata:
description: >
Total output tokens generated per second across all concurrent
requests.
- identifier: time_to_first_token_ms
metadata:
description: >
Time in milliseconds from request submission to the first
output token being produced.
ranking:
metric: throughput_tokens_per_second
order: desc
5.2 Benchmark instance definition¶
A concrete instance lives under
benchmarks/llm-inference/instances/steady_state_heavy/instance.yaml:
instanceIdentifier: steady_state_heavy
benchmarkIdentifier: llm_inference
description: >
Steady-state heavy workload: requests sent as fast as possible at high
concurrency.
problemPropertyValues:
- property:
identifier: workload
value: steady_state_heavy
5.3 Benchmark instance binding¶
The binding lives in experiments/guidellm/bindings/llm_inference_binding.yaml.
Each binding carries an instanceReference to identify which instance of which
logical benchmark it relates to.
instanceBindingIdentifier: guidellm_steady_state_heavy
instanceReference: llm_inference/steady_state_heavy
experiment:
actuatorIdentifier: vllm_performance
experimentIdentifier: guidellm-bench-deployment
experimentVersion: 1.1.0
targetMapping:
experimentProperty: model
problemPropertyMapping:
- categoricalValue:
property:
identifier: workload
value: steady_state_heavy
predicate:
- identifier: request_rate # -1 = send as fast as possible
propertyDomain:
values: [-1]
- identifier: max_concurrency
propertyDomain:
domainRange: [200, 500]
variableType: CONTINUOUS_VARIABLE_TYPE
metricMapping:
- benchmark:
identifier: throughput_tokens_per_second
experiment:
identifier: output_throughput
- benchmark:
identifier: time_to_first_token_ms
experiment:
identifier: mean_ttft_ms
staticFilters:
# The experiment's 'dataset' param controls synthetic prompt generation;
# pinned to 'random' because this binding does not vary the prompt dataset.
- property:
identifier: dataset
value: random
6. Leaderboards and Routing¶
6.1 How the Artifacts Combine¶
With a logical benchmark definition, benchmark instances, and one or more experiment instance bindings in place, the system can answer aggregation queries without any domain-specific logic:
- The instance defines what properties exist and what values they can take.
- Each instance binding defines how to query one experiment's results for those properties and how to label them consistently.
A leaderboard is simply a query over the instance properties and artifacts mapped by experiments. Omitting a property removes it from the query; specifying one filters to it. For properties omitted in the mapping the leaderboard might show aggregate metrics across all its values, or show all the available entries (i.e., show repeated entries for a specific instance binding.)
6.2 Routing Query¶
A deterministic routing query can be constructed from a result and the instance binding. The binding allows us to form a query to find all runs of experiment that correspond to a specific instance.
The query filters only on the mapped problem properties and instance artifacts properties. For each property, the name used for querying is the experiment property name. For instance artifact properties, the query is executed for the mapped experiment property to match any of the values specified in the instance.
Below is an example query:
experimentIdentifier=$experimentIdentifier AND
experimentVersion>=$experimentVersion AND
experimentVersion<$nextBindingExperimentVersion AND
mappedProblemPropertyIdentifier=instanceValue AND
mappedInstanceArtifactPropertyIdentifier in [possible instance values]
Experiment version matching¶
The experimentVersion in a binding's experiment reference is the first
version the binding applies to. A binding matches all runs of the experiment
whose version is greater than or equal to its experimentVersion, up to but not
including the experimentVersion of the next higher binding for the same
experiment and benchmark instance. If there is no higher binding, it matches all
later versions.
For example, with two bindings for the same experiment and instance, at
1.0.0 and 1.3.0:
| Run version | Binding used |
|---|---|
0.9.0 |
none |
1.0.0, 1.2.5 |
1.0.0 |
1.3.0, 2.0.0 |
1.3.0 |
So a binding keeps applying to later versions of the experiment without being
edited, until a newer binding takes over. If something changes in a later version
that the existing binding does not describe correctly (for example a renamed
experiment property, or a non-default value that must now be set, see
Section 7), do not edit the existing binding.
Add an additional binding with the new experimentVersion and the changed
mappings. It takes over from that version onwards, and the existing binding keeps
covering the earlier versions.
Binding versions say which runs are matched. They do not make data exist: runs
are only available for the experiment versions that have actually been executed.
Each version of the experiment that will have data must be installable, so the
experiment's experiment_package.yaml needs a requirement_specifier for every
such version (see
Benchmark Experiments and Submissions).
6.3 Dynamic Property Resolution¶
Property resolution — mapping from raw experiment properties to canonical benchmark properties — is performed at query time. This means only one database of raw results needs to be maintained.
The leaderboard population process for a given query:
- Identify all experiments with a binding to an instance of the queried
logicalBenchmark. - For each experiment, use its instance binding to construct a query against
the result store (ado
samplestore) (using the experiment's own internal property names as the filter criteria). - Rename result dataframe columns using
problemPropertyMapping,artifactMappingandmetricMapping(metric names). - Merge the resulting dataframes. All share the same canonical column names.
6.4 Cross-Experiment Aggregation Example¶
A second experiment, vllm-bench-deployment, targets the same logical benchmark
in Section 5. Both experiments share the same
parameter names, so no metricMapping is needed and the
problemPropertyMapping uses the same predicate identifiers — only the
concurrency ranges differ, reflecting each tool's calibration of what
constitutes "steady-state heavy":
instanceBindingIdentifier: vllm_bench_steady_state_heavy
instanceReference: llm_inference/steady_state_heavy
experiment:
actuatorIdentifier: vllm_performance
experimentIdentifier: vllm-bench-deployment
experimentVersion: 1.1.0
targetMapping: model # this is the name of the experiment property that carries the value of the target mapping
problemPropertyMapping:
- categoricalValue:
property:
identifier: workload
value: steady_state_heavy
predicate:
- identifier: request_rate
propertyDomain:
values: [-1]
- identifier: max_concurrency
propertyDomain:
domainRange: [100, 500]
variableType: CONTINUOUS_VARIABLE_TYPE
staticFilters:
- property:
identifier: dataset
value: random
A leaderboard query for
logical_benchmark=llm_inference, workload=steady_state_heavy will:
- Fetch the benchmark instances where
workload=steady_state_heavyANDbenchmarkIdentifier=llm_inference. One instance in this example:steady_state_heavy. - Fetch the bindings where
instanceReference=llm_inference/steady_state_heavy. Two bindings in this example:guidellm_steady_state_heavyandvllm_bench_steady_state_heavy. - Query
guidellm_steady_state_heavyresults whereexperiment=guidellm-bench-deploymentANDdataset=randomANDrequest_rate=-1ANDmax_concurrencybetween 100 and 500. Theoutput_throughputandmean_ttft_mscolumns are renamed tothroughput_tokens_per_secondandtime_to_first_token_ms. - Query
vllm_bench_steady_state_heavyresults whereexperiment=vllm-bench-deploymentANDdataset=randomANDrequest_rate=-1ANDmax_concurrencybetween 100 and 500. No metric renaming is needed (output column names are identical). - Merge both dataframes. Both now share the same canonical column names and can be displayed in a single leaderboard.
6.5 Displaying Source Metadata on Leaderboards¶
While Nexus does not interpret the custom keys inside a metadata block, leaderboards or other visualization tools can
use these conventions to link benchmarks and instances back to their original sources (such as public libraries like
QOBLIB).
For example, a leaderboard query could read the following metadata definitions from benchmark.yaml:
metadata:
benchmark-source-name: QOBLIB
benchmark-source-url: https://zib-aopt.github.io/QOBLIB/problem/07/
And the corresponding metadata from instance.yaml:
metadata:
benchmark-source-name: QOBLIB
benchmark-instance-source-name: ibm32
benchmark-instance-source-url: https://zib-aopt.github.io/QOBLIB/instance.html?problem=07&name=ibm32
Using these fields, the leaderboard can render clickable links to the original QOBLIB pages for the problem and the specific instance.
7. Instance Binding Versioning¶
A binding matches the runs of its experiment from its experimentVersion up to
the experimentVersion of the next higher binding (see
Experiment version matching). Users are
encouraged to add an additional binding with a higher experimentVersion,
rather than modify an existing one, when something needs to change for newer
versions of the experiment. The earlier binding then keeps covering the earlier
versions.
A new binding is needed when:
- The experiment property names or values used in
problemPropertyMapping,instanceArtifactMapping, orstaticFilterschange- This should result in a new experiment major version and a new binding
with that
experimentVersion - The binding for the previous experiment major version is kept and stops applying where the new binding starts
- This should result in a new experiment major version and a new binding
with that
- The logical benchmark
problemPropertiesor their values change- If the original logical benchmark parameters/values and mappings are now invalid, the existing logical benchmark and its bindings can be updated in place (this is a change to the benchmark itself, not a response to a new experiment version)
- If the original logical benchmark parameters/values and mappings are still valid, a new logical benchmark should be created
- Additional experiment properties are added that must be set to non-default
values AND only the experiment minor version changes
- A new binding with that minor
experimentVersionmust be added with the changedproblemPropertyMappingorstaticFilters, since different sets of experiment data will be aggregated under it - Note: This applies to non-default values only — by ado versioning convention a minor version change means that the new parameters with default values measure output metrics the same way as the previous experiment with the same major version but without those parameters
- A new binding with that minor
8. Relationship to Existing Benchmark Design¶
8.1 Implicit Benchmark Target¶
Benchmark Experiments and Submissions establishes that the benchmark target is implicit from the enclosing model definition for model-level benchmark submissions. The binding does not need to name the target property explicitly — the target identity is determined by the enclosing model or algorithm definition that owns the benchmark submission.
8.2 Benchmark Package Registration and Submissions¶
Benchmark experiment packages are registered in
experiments/<name>/experiment_package.yaml. Benchmark submissions live under
experiments/<name>/submissions/<submission>/space.yaml. Instance bindings live
under experiments/<name>/bindings/. Each binding file contains one binding
whose entries reference the target logical benchmark and instance via
instanceReference field, and describe the mapping via
problemPropertyMapping, metricMapping, instanceArtifactMapping, and
staticFilters as defined in Section 4.2.
9. Benchmark Source Metadata¶
The optional metadata block of benchmark.yaml and instance.yaml can record where a benchmark, or one of its
instances, comes from. This is useful for public benchmark libraries such as
QOBLIB.
Nexus does not interpret these keys directly. They are conventions that tools reading Nexus manifests can rely on.
| Key | Description |
|---|---|
benchmark-source-name |
Name of the source of the benchmark. |
benchmark-source-url |
URL of the source of the benchmark. |
benchmark-instance-source-name |
Name of the matching instance in the source. |
benchmark-instance-source-url |
URL of the matching instance in the source. |
benchmark-source-name names the source and the other keys qualify it, so set it whenever any of the other keys is
present. A logical benchmark typically sets only the two source-level keys (benchmark-source-name and
benchmark-source-url). An instance typically sets benchmark-source-name together with the two instance-level keys.
An instance does not inherit the metadata of its benchmark, so repeat the source keys in every file that should carry
them.