DecisionReplay
Recorded outputs of 17 commercial decision models from 6 providers on 35 fixed-choice NLP benchmarks. A decision model is an endpoint that returns a probability for every answer option. For each of 106,845 requests and each model, the dataset holds the probability vector of every question of the request, the number of calls, the input and output token counts, the billed cost and the measured latency. With these records, a policy that selects or combines models (an ensemble, a router, a cascade) is evaluated offline, with no new model call.
Paper: https://arxiv.org/abs/2611.34627
The dataset holds no benchmark text, no option text and no gold answers. A request is known by an opaque id and an option by its position. Labels are rebuilt on the user's machine from the benchmark rows (see "Labels").
Tables
| Configuration | One row per | Rows |
|---|---|---|
items |
request | 106,845 |
fields |
field | 267,716 |
splits |
request | 106,845 |
predictions |
field and model | 4,551,172 |
usage |
request and model | 1,816,365 |
latency |
request and model | 1,816,365 |
benchmarks |
benchmark | 35 |
models |
model | 17 |
A request can hold several questions; the tables call a question a field (267,716 in all). The benchmarks cover these task areas: tools (5), retrieval (6), language (8), arts (6), knowledge (10).
from datasets import load_dataset
predictions = load_dataset(REPOSITORY, "predictions", split="train") # REPOSITORY: the name of this dataset
models = load_dataset(REPOSITORY, "models", split="train")
Columns
| Configuration | Columns |
|---|---|
items |
catalog_id (int32), item_index (int32), item_id (string), fold (int8), split_group_id (string), native_group_id (string), field_count (int32), row_sha256 (string) |
fields |
catalog_id (int32), item_index (int32), field_index (int32), question_type (string), n_options (int32) |
splits |
catalog_id (int32), item_index (int32), fold (int8), split_group (int32), run_rank (int32) |
predictions |
catalog_id (int32), model_index (int32), item_index (int32), field_index (int32), question_type (string), probabilities (list of float64), reported_choice (int32) |
usage |
catalog_id (int32), model_index (int32), item_index (int32), calls (int32), input_tokens (int64), output_tokens (int64), cost_usd (float64) |
latency |
catalog_id (int32), model_index (int32), item_index (int32), latency_s (float64) |
benchmarks |
catalog_id (int32), name (string), area (string), native_metric (string), requests (int32), fields (int32) |
models |
model_index (int32), model_code (string), model_name (string), organisation (string), base_model (string), input_price_usd_per_token (float64) |
catalog_idis the benchmark andmodel_indexthe model. The configurationsbenchmarksandmodelsgive their names, the task area and native metric of a benchmark, and the provider (columnorganisation), base model and listed input price of a model.benchmarks.csvandmodels.csvhold the same two lists as text.item_indexnumbers the requests of a benchmark andfield_indexthe fields of a request.question_typeischoiceornoul. Anoulfield is a yes/no question; its vector is[1 - p, p].probabilitiesis the vector as the model returned it, one entry per option, in the option order of the benchmark. It can contain zeros and is not normalised.reported_choiceis the position of the option that the model reported, where it reported one.foldis the frozen fold of the request (0 to 4). Requests with the samesplit_groupare in the same fold.run_rankis the rank of the request in the collection's run order.item_id,split_group_id,native_group_idandrow_sha256are opaque: benchmark rows are bound to requests by them.calls,input_tokens,output_tokensandcost_usdare the totals of a request for one model, andlatency_sis its measured latency in seconds. The serving host of a call is not recorded here.
Requests that are left out
corpus_manifest.json is the manifest of the corpus from which these tables were written (schema
decision-replay-corpus-v2). Under excluded_requests it declares, per benchmark, the requests that the release leaves
out for every model: 41 requests in 2 benchmarks. The remaining requests
of a benchmark are numbered in their order.
Labels
The code that accompanies the corpus rebuilds the labels. A user obtains the rows of a benchmark under that
benchmark's own terms; data/rehydrate.py of the code binds them to the requests by id, checks the binding and
writes the accepted option positions into a private copy. That command and the simulator read the corpus in its
own layout, one file per benchmark and model, which comes with the code. data/hub.py wrote the tables here from
that layout and compared every file with it.
Limits
- An option position has meaning within its field only. Comparisons across requests must account for different option sets.
- Raw vectors need normalising before a policy is replayed.
- A reported choice and the first maximum of the vector can differ on a tie.
- Binding the rows checks request and group identifiers, field counts and request order. A revision of a benchmark that changes only the accepted answers passes these checks and gives different labels.
release_notices.csvholds, for each model, what a review of the provider's terms found and the conditions it names.
- Downloads last month
- 1,029