What it evaluates
- What is under test
- LLM prompted per template or pipeline stage, without memory or tools (author-stated)
- How tasks are built
- Programmatically generated questions from 183 market series in six asset classes (equities 126, commodities 16, bonds 15, crypto 12, real estate 10, cash equivalents 4) with macro and filing or news context; no human annotation. Pipeline replay uses 98 series with matched price histories.
- Size
- QA release: 6,269 items (T1-T5 1,000 each, T6 778, T7 491); Hugging Face splits train 1,941, val 2,700, test 1,628. Paper QA evaluation: 50 test items per template per model, 10 models, 3,500 responses. Pipeline: 120 model-profile-period evaluations (10 models, 3 profiles, 4 periods); real-time run: 72 decisions from six models over 12 trading days (2026-07-16 to 2026-07-31).
- Authors
- Zhao, Yuxuan; Chen, Sijia; Su, Ningxin
- Affiliations
- Yantai Research Institute of Harbin Engineering University (Zhao); The Hong Kong University of Science and Technology (Guangzhou) (Zhao, Chen, Su)
- First public
- 2026-05-27
The task environment. PortBench has two parts. The static QA set has 6,269 programmatically generated questions over seven templates (direction, risk and return numbers, weight vectors and partial-credit items) built from 183 market series; the test split has 1,628 items and the paper scores 50 per template per model. The pipeline part runs five decision stages ending in an allocation over historical stress and normal windows for three investor profiles, with 5 bps commission and 10 bps slippage, and scores stage quality (CEPS) and portfolio metrics against six classical baselines.
Sample tasks
Each task is taken from the evaluation's own released material or the authors' worked examples, never written by us. The provenance under each task says exactly where it comes from.
Task 1 From T2
T2 historical-simulation VaR for HAUZ
Quoted from the source
What the system receives
Asset: HAUZ
Daily returns (past 60 days): mean=0.0011, std=0.0069, min=-0.0153, max=0.0167
Market regime: bull
Using the historical simulation method, compute the 1-day VaR at 95% confidence level for HAUZ. Express as a decimal (e.g., -0.02).
- Inputs and tools
- Summary statistics of 60 daily returns and the market regime label, decision date 2025-10-27. The 60 returns themselves are not in the question.
- Expected output
- -0.0108 (answer_numeric -0.0108). Released explanation: 5th percentile of the 60 daily returns; CVaR(95%) = -0.0126.
- How this item is graded
- T2 rule: score = max(0, 1-|y_hat-y|/|y|); unparseable answers score 0.
- Split
- test
- Licence
- apache-2.0 (PortBench-QA dataset card)
How it is graded
Deterministic scoring rules per QA template; pipeline scored by stage scores and replayed portfolio metrics against six classical baselines.
- Metric
- QA: T1 exact direction label (flat within +/-1%); T2 and T3 max(0, 1-|y_hat-y|/|y|); T4 and T5 cosine similarity; T6 and T7 weighted partial credit; overall score is the equal mean of templates. Pipeline: allocation stage 0.5*s_acc + 0.5*s_corr; CEPS = clip(mean stage score - 0.1 x sum of positive drops between stages, 0, 1); plus Sharpe, return, maximum drawdown and volatility against EqW, 60/40, risk parity, CRP, minimum variance and Black-Litterman.
What it cannot establish
Source facts: authors list deterministic costs, a short real-time window and agents without memory or tools. The v6 abstract reports LLMs beating equal-weight Sharpe in 54.2% (65 of 120) of evaluations. QA split periods differ between the paper appendix and the Hugging Face card. Own audit of the released test split (synthesis, cause not established): 20 of 255 T1 items have a future return of exactly 0.0 labelled flat, mostly crypto items whose 60-day history return is also 0.0, which suggests stale or missing prices; T2 VaR items ask for historical simulation but give only mean, std, min and max of the 60 returns, so the gold value cannot be computed from the question; macro context labels a CPI level (326.031) as cpi_yoy and a GDP level (24055.749) as gdp_growth_qoq; attached filing or news text is often unrelated to the asset (a WMT 10-Q for EFA, a CVX 10-K for XLP) or a stale Kaggle stub for crypto.
Sources checked: 2026-11-19. Sources for this description: https://arxiv.org/html/2605.27887v6; https://huggingface.co/datasets/AgenticFinLab/PortBench-QA/…; https://huggingface.co/datasets/AgenticFinLab/PortBench-QA/…; https://portbench.github.io/