RepoAmazon (Nova)Amazon (Nova)published Nov 3, 2026seen 3w

amazon-science/Vendster

Python

Open original ↗

Captured source

source ↗
published Nov 3, 2026seen 3wcaptured 3whttp 200method plain

amazon-science/Vendster

Description: An Evaluation Arena to Investigate How Forecasting Tool Quality Affects LLM Agent Behaviors in Buyer–Vendor Negotiation

Language: Python

License: NOASSERTION

Stars: 0

Forks: 1

Open issues: 0

Created: 2026-11-03T02:31:22Z

Pushed: 2026-11-03T04:27:28Z

Default branch: main

Fork: no

Archived: no

README:

Vendster

Vendster is a reusable buyer–vendor negotiation-arena benchmark for measuring how demand-forecast quality and bias affect LLM agent decisions. In each episode a Buyer (who has a sales target and privately sees a demand forecast) negotiates promotional discounts against a Vendor (who maximizes portfolio profit and privately knows unit margins) over a basket of products. By varying only the forecast the Buyer sees — real time-series models spanning the SOTA quality/bias landscape, plus a controlled bias/interval-width perturbation grid — and holding the negotiation arena, demand data-generating process (DGP), and action space fixed, Vendster isolates the causal effect of forecast information on negotiation outcomes. The reference instance (Vendster-M5) is grounded in real M5 retail demand data.

The benchmark is run across a co-equal panel of frontier LLMs — Claude Opus 4.6, OpenAI GPT-5.6, Qwen3-235B, and DeepSeek-V3.2 — in self-play. The cross-model comparison is a first-class result: whether an agent translates forecast information into negotiation behavior turns out to be model-dependent. A full 4×4 Buyer×Vendor role-cross (a preliminary exploration in the paper's appendix) localizes the effect to the Buyer, the only role shown the forecast. Claude Sonnet 4.6 was used only to *design* the benchmark (operating point, power analysis) and is then deliberately held out of the evaluated panel so no model is scored on a task tuned to it.

For more information, refer to our FMTS @ NeurIPS 2026 paper: Vendster: An Evaluation Arena to Investigate How Forecasting Tool Quality Affects LLM Agent Behaviors in Buyer-Vendor Negotiation.

This code is being released solely for academic and scientific reproducibility purposes, in support of the methods and findings described in the associated publication. Pull requests are not being accepted in order to maintain the code exactly as it was used in the paper.

Install / setup

Requires Python >= 3.10 and `uv`.

uv sync

The dependency set is heavy: torch, chronos-forecasting, neuralforecast, and timesfm[torch] pull in the full GPU stack (a CUDA GPU is used automatically if present; otherwise these run on CPU, slowly). The M5 dataset is auto-downloaded on first run from a single public mirror (github.com/Nixtla/m5-forecasts, no Kaggle credentials) and cached locally under data/m5_cache/ — subsequent runs read from cache.

On macOS, LightGBM needs the OpenMP runtime (brew install libomp). Without it every lightgbm_global episode fails with a libomp load error and the cell reports no episodes.

The benchmark: Vendster-M5

vendster/reference.py composes the frozen, versioned reference BenchmarkConfig (version = vendster-m5-v1): M5 data source, elasticity demand model, the vendster buyer–vendor scenario, and 26 experimental conditions —

  • 10 real forecasters across four families: classical (seasonal_naive, auto_ets,

auto_theta), gradient-boosted (lightgbm_global), foundation (chronos2, chronos_bolt, timesfm25), and deep learning (nf_nhits, nf_patchtst, nf_deepar), plus a no_forecast control; and

  • a 15-cell perturbation grid: an 8-level signed-bias dose-response ladder

(±{0.05,0.10,0.15,0.20}, spanning the empirically-realistic range real forecasters exhibit — |bias_log| ≲ 0.20) at calibrated width, the clean unbiased oracle, and a 6-level interval-width ladder (variance ×{0.25,0.5,0.75,1.5,2,3}) at zero bias.

Each episode's Buyer sales target is the P80 of the basket's total-sales distribution under a uniform-random reference policy — the "challenging threshold" operating point where a forecast becomes decision-relevant. The percentile was picked so the held-out Sonnet 4.6 no-forecast agent lands nearest 0.30; the evaluated panel's own no-forecast attainment ranges 0.11–0.25, so uplifts are not comparable across models. The hypotheses, the effect-blind selection rule, and the locked design (P80, K=16 baskets, m=25 episodes per cell, seed held out from the operating-point sweep) are stated in the paper: see the Hypotheses and Pre-experiment Sizing paragraphs and the Environment Setup appendix of [overleaf/main.tex](overleaf/main.tex).

Changing the reference instance's components or params requires bumping task_core.REFERENCE_VERSION so published numbers stay comparable. Deriving your own instance (different data, forecasters, or scenario) needs no core edits — see [EXTENDING.md](EXTENDING.md).

Quick start

Verify the install (mock LLM, zero Bedrock)

Runs the full paired pipeline end-to-end against a deterministic mock LLM — no AWS credentials, tiny panel and episode counts:

uv run python scripts/run_experiment.py \
--model mock --sets 2 --episodes 2 --panel-size 200 --out /tmp/x

Evaluate one model

Needs an AWS profile with bedrock:InvokeModel on the target model id (see [Authentication](#authentication)). build_model_bundle.sh is the general per-model pipeline, and the way to evaluate a model of your own on Vendster-M5: it builds one model's entire evidence bundle (pool-level forecast quality, per-basket quality, the 26-condition paired negotiation experiment, and the assembled tables/figures/robustness panel) at the locked design, so the result is directly comparable with the paper's four. Defaults to Opus 4.6; any Bedrock model id via MODEL_ID:

bash scripts/build_model_bundle.sh # Opus 4.6 (default), foreground
nohup bash scripts/build_model_bundle.sh & # detached
MODEL_ID=us.anthropic.claude-sonnet-4-6 OUT=experiments/sonnet_holdout \
bash scripts/build_model_bundle.sh # any other model / output slot
INC=experiments/panel/opus_4_6 OUT=/tmp/opus_rebuild \
bash scripts/build_model_bundle.sh # + replication check vs a prior bundle
CONC=8 CELLCONC=8 MODEL_ID=... bash scripts/build_model_bundle.sh # throttle for a tight TPM quota

It is...

Excerpt shown — open the source for the full document.