Makridakis Bench: M6 Financial Forecasting Competition (2022)
Run live across 12 four-week investment origins from February 2022 through January 2023 (Makridakis et al., 2024) on 100 S&P 500 stocks and ETFs, M6 required both cross-sectional return-quintile probabilities (p1..p5) and long/short portfolio weights (0.25 ≤ ∑|w_i| ≤ 1.0, requiring 25%–100% invested capital) at each monthly origin. See also the forecast vs. portfolio split in the main report.
Overall placement averages full-period Ranked Probability Score rank (RPS: 0.1600 = flat 20% across quintiles; lower is better) and daily log-return Information Ratio rank (IR = ∑r_t / sd(r_t), return divided by volatility; higher is better) across all 163 full-period human teams plus the model (N = 164), matching the organizers’ Score compute.Rdata workspace to 1.1e-16.
Competition records & historical benchmarks
| Metric / Cohort | Historical Archive #1 | Fixed Baseline | Best LLM | Leading Model |
|---|---|---|---|---|
| Official Combined Rank (N = 164) | #1 / 164 (Live 2022–2023 winner) | #34 / 164 (Uniform 0.20, 1/N) | #4 / 164 | Fable 5.2 RPS #1 + IR #36 |
| Quintile Probability Calibration (RPS) | 0.15645 (#1 human full-period RPS) | 0.16000 (Uniform 0.20) | 0.15609 | Gemini 4 Neon ★ 6 LLMs beat human #1 RPS (19/22 beat Uniform) |
| Daily Log Portfolio Information Ratio (IR) | +32.89 (#1 human full-period IR) | +0.45 (Equal-weight 1/N) | +5.70 | Grok 4.7 #19 / 164 IR |
Primary parity check: Matches organizer R workspace (Score compute.Rdata) across all 163 teams within 1.1e-16.
Individual series & held-out forecast curves
Select any asset below, or click Plot curve ↑ in the table, to compare the trailing training history and held-out actuals against all 22 model pipelines and statistical baselines.
Loading series forecast explorer…
M6 Financial Forecasting Competition (2022) · 100 interactive series bundles across all 22 models
All 22 model scores on this selected series Show / hide
12 live monthly investment origins (Feb 2022 – Jan 2023)
RPS across the 12 live monthly origins (Feb 2022 – Jan 2023)
Lower RPS is better · dashed amber line is the Uniform 20% baseline (0.1600)
| Live Origin | 20-Trading-Day Window & Equal-Weight Return | Series / Nodes | Horizon | Uniform RPS | Momentum RPS | Best LLM | Leader | Median LLM | LLMs < Uniform |
|---|---|---|---|---|---|---|---|---|---|
| Origin 1 | 2022-03-04 → 2022-04-01 (1/N return +4.3%) | 100 | 20 | 0.1600 | 0.2260 | 0.1481 | GPT-6.2 Astra | 0.1521 | 90.9% |
| Origin 2 | 2022-04-01 → 2022-04-29 (1/N return -6.1%) | 100 | 20 | 0.1600 | 0.2180 | 0.1587 | GPT-6 Luna | 0.1642 | 13.6% |
| Origin 3 | 2022-04-29 → 2022-05-27 (1/N return +1.7%) | 100 | 20 | 0.1600 | 0.1960 | 0.1489 | Gemini 3.8 Flash | 0.1558 | 86.4% |
| Origin 4 | 2022-05-27 → 2022-06-24 (1/N return -6.2%) | 100 | 20 | 0.1600 | 0.2200 | 0.1538 | Gemini 4 Neon | 0.1587 | 72.7% |
| Origin 5 | 2022-06-24 → 2022-07-22 (1/N return +0.4%) | 100 | 20 | 0.1600 | 0.1860 | 0.1536 | Gemini 4 Carbon | 0.1569 | 81.8% |
| Origin 6 | 2022-07-22 → 2022-08-19 (1/N return +5.2%) | 100 | 20 | 0.1600 | 0.1720 | 0.1447 | GPT-6.2 Astra | 0.1534 | 86.4% |
| Origin 7 | 2022-08-19 → 2022-09-16 (1/N return -6.2%) | 100 | 20 | 0.1600 | 0.2040 | 0.1565 | Kimi K3.1 Pro | 0.1608 | 18.2% |
| Origin 8 | 2022-09-16 → 2022-10-14 (1/N return -7.1%) | 100 | 20 | 0.1600 | 0.1640 | 0.1570 | Muse Wonder 1.0 | 0.1611 | 31.8% |
| Origin 9 | 2022-10-14 → 2022-11-11 (1/N return +11.6%) | 100 | 20 | 0.1600 | 0.2180 | 0.1424 | GPT-6.2 Astra | 0.1558 | 77.3% |
| Origin 10 | 2022-11-11 → 2022-12-09 (1/N return +0.0%) | 100 | 20 | 0.1600 | 0.2260 | 0.1537 | Gemini 3.8 Flash | 0.1585 | 63.6% |
| Origin 11 | 2022-12-09 → 2023-01-06 (1/N return +0.6%) | 100 | 20 | 0.1600 | 0.1780 | 0.1518 | Muse Wonder 1.0 | 0.1543 | 95.5% |
| Origin 12 | 2023-01-06 → 2023-02-03 (1/N return +3.6%) | 100 | 20 | 0.1600 | 0.2220 | 0.1485 | GPT-6.2 Astra | 0.1555 | 77.3% |
Individual series status & win-rate explorer
Per-series status directory
Showing all 100 series in this competition
| Asset | Class | Eval → Step | LLM vs. Uniform (0.20) Status | Uniform (0.20) | Best LLM | Winning Model | Median LLM | Curve |
|---|
Search trajectories across committed checkpoints
Hidden-test score over the 60-minute research window
Every valid commit snapshotted without returning test feedback
All 22 models on M6 Financial (2022)
| Model | M6 Rank | Archive Rank | RPS (Rank) | IR (Rank) | Cum. Log Ret | Estimator Families | Replay | Commits | Est. Cost | Repo |
|---|---|---|---|---|---|---|---|---|---|---|
| 01Fable 5.2 | #4 | #4/164 | 0.15631 (#1/164) | +1.31 (#36/164) | +0.33% | LightGBMNeural networkForecast combinationCross-sectional / shrinkage | Source + 2 art. | 40 | $25.24 | |
| 02Haiku 5.5 | #6 | #6/164 | 0.15649 (#3/164) | +0.83 (#43/164) | +1.01% | LightGBMNeural networkForecast combinationCross-sectional / shrinkage | Pure source | 37 | $3.24 | |
| 03Opus 5.5 | #11 | #11/164 | 0.15769 (#10/164) | +0.45 (#55.5/164) | +0.53% | LightGBMCross-sectional / shrinkage | Pure source | 38 | $15.46 | |
| 04Fable 5.1 | #13 | #13/164 | 0.15666 (#4/164) | +0.25 (#66/164) | +0.25% | Neural networkCross-sectional / shrinkage | Source + 1 art. | 40 | $21.03 | |
| 05Grok 4.7 | #13 | #13/164 | 0.16000 (#51.5/164) | +5.70 (#19/164) | +3.26% | ETS / exponential smoothingForecast combinationCross-sectional / shrinkage | Pure source | 51 | $22.07 | |
| 06Sonnet 5.5 | #15 | #15/164 | 0.15685 (#4/164) | -0.82 (#79/164) | -0.86% | LightGBMRandom forestForecast combination | Pure source | 28 | $62.10 | |
| 07GPT-6 Luna | #22 | #22/164 | 0.16087 (#76/164) | +5.37 (#19/164) | +7.07% | Cross-sectional / shrinkage | Pure source | 57 | $0.45 | |
| 08GLM-5.3 | #22.5 | #22.5/164 | 0.15689 (#4/164) | -2.92 (#92/164) | -3.02% | LightGBMNeural networkForecast combinationCross-sectional / shrinkage | Pure source | 48 | $3.94 | |
| 09GPT-6.1 Sol | #22.5 | #22.5/164 | 0.15611 (#1/164) | -3.64 (#95/164) | -0.38% | Cross-sectional / shrinkage | Pure source | 53 | $3.59 | |
| 10Muse Wonder 1.0 | #25 | #25/164 | 0.15815 (#12/164) | -3.04 (#92/164) | -2.78% | Neural networkForecast combinationCross-sectional / shrinkage | Source + 1 art. | 34 | $18.48 | |
| 11DeepSeek V4.1 Flash | #34 | #34/164 | 0.15807 (#12/164) | -3.56 (#95/164) | -1.86% | LightGBMForecast combinationCross-sectional / shrinkage | Pure source | 90 | $0.35 | |
| 12MiMo-V2.6-Pro | #53 | #53/164 | 0.15799 (#12/164) | -6.10 (#113/164) | -1.96% | LightGBMCross-sectional / shrinkage | Pure source | 88 | $0.43 | |
| 13Gemini 4 Hydrogen | #59.5 | #59.5/164 | 0.15625 (#1/164) | -10.63 (#135/164) | -2.24% | LightGBMNeural networkDriftForecast combination | Source + 2 art. | 46 | $5.51 | |
| 14Kimi K3.1 Pro | #69 | #69/164 | 0.15830 (#14/164) | -10.61 (#135/164) | -6.49% | LightGBMForecast combinationCross-sectional / shrinkage | Pure source | 43 | $6.97 | |
| 15GPT-6.2 Sol | #69 | #69/164 | 0.15733 (#9/164) | -11.48 (#141/164) | -7.75% | LightGBMLinear / ridge regressionNeural networkDrift | Source + 20 art. | 51 | $5.92 | |
| 16Muse Spark 1.3 | #72 | #72/164 | 0.16009 (#64/164) | -2.86 (#91/164) | -2.53% | Cross-sectional / shrinkage | Pure source | 50 | $7.36 | |
| 17GPT-6.2 Astra | #78 | #78/164 | 0.15623 (#1/164) | -22.54 (#158/164) | -2.12% | ETS / exponential smoothingLightGBMLinear / ridge regressionNeural network | Source + 17 art. | 51 | $16.06 | |
| 18Gemini 4 Neon | #80 | #80/164 | 0.15609 (#1/164) | -22.69 (#160/164) | -3.25% | ETS / exponential smoothingLightGBMNeural networkForecast combination | Source + 15 art. | 33 | $7.45 | |
| 19Gemini 3.8 Flash | #82 | #82/164 | 0.15718 (#7/164) | -21.43 (#156/164) | -12.99% | LightGBMNeural networkForecast combinationCross-sectional / shrinkage | Source + 3 art. | 56 | $8.83 | |
| 20GPT-6 Astra | #84 | #84/164 | 0.15631 (#1/164) | -42.48 (#164/164) | -9.01% | Cross-sectional / shrinkage | Source + 1 art. | 47 | $17.45 | |
| 21Gemini 4 Argon | #84 | #84/164 | 0.15667 (#4/164) | -25.62 (#161/164) | -2.60% | LightGBMNeural networkForecast combinationCross-sectional / shrinkage | Source + 1 art. | 25 | $4.38 | |
| 22Gemini 4 Carbon | #85.5 | #85.5/164 | 0.15712 (#7/164) | -23.69 (#160/164) | -1.52% | LightGBMNeural networkCross-sectional / shrinkage | Source + 1 art. | 31 | $4.04 |
Click Code → on any row to inspect the model’s full submitted Python repository, method.json notes, and checkpoint commit history with syntax highlighting.
Standout submitted pipelines on M6 Financial (2022)
All 22 committed repositories for M6 Financial (2022) are clean-room verified and available under the MIT License on GitHub and Hugging Face.
Fable 5.2 Roster #1 · M6 Rank #4/164 (RPS 0.15631, IR +1.31)
Quintile probs: equal-weight ensemble of (1) Monte-Carlo rank simulation from EWMA shrunk covariance with Student-t shocks, (2) LightGBM multiclass on cross-sectional risk features (vol, beta, idio vol, MC probs), (3) PyTorch MLP ensemble (5 seeds, trained on CUDA with RPS loss) on the same risk features. Momentum features were rejected by 3-fold…
forecast.py (82 lines · MIT License)
def minvar(S, cap=0.03, iters=500):
N = S.shape[0]; w = np.full(N, 1.0 / N); L = np.linalg.eigvalsh(S).max()
for _ in range(iters):
w = w - (S @ w) / L
lo, hi = w.min() - cap, w.max()
for _ in range(50):
mu = (lo + hi) / 2
if np.clip(w - mu, 0, cap).sum() > 1: lo = mu
else: hi = mu
w = np.clip(w - (lo + hi) / 2, 0, cap)
return w / w.sum()
def main():
ap = argparse.ArgumentParser()
ap.add_argument('--input', default='/task'); ap.add_argument('--output', default='/work/submission.csv')
a = ap.parse_args()
task = json.load(open(os.path.join(a.input, 'task.json')))
p = pd.read_csv(os.path.join(a.input, 'prices.csv'), index_col=0, parse_dates=True).sort_index()
p = p.reindex(columns=task['assets'])
p = p[p.index <= pd.Timestamp(task['cutoff'])]
lr = np.log(p).diff().iloc[1:].values
T, N = lr.shape; t = T - 1
F, S, sd = features_at(lr, t, nsim=20000, seed=12345)
mc = [FEATS.index(f'mc{k}') for k in range(1, 6)]
Pmc = F[:, mc]
comps = [Pmc]
Ph = hist_probs(lr, t)
X = np.concatenate([F[:, RISK], Ph, np.repeat(market_state(lr, t)[None, :], N, 0)], axis=1)
try:
import lightgbm as lgb
b = lgb.Booster(model_file=os.path.join(HERE, 'model_lgb.txt'))
# … (41 more lines — open the code link for the complete file)Haiku 5.5 Roster #2 · M6 Rank #6/164 (RPS 0.15649, IR +0.83)
Quintile probabilities from 0.75 x (3-seed MLP) + 0.25 x LightGBM (blend validated on both splits: 0.15557/0.15649 vs MLP-only 0.15570/0.15658) (10 -> 32 -> 32 -> 5, dropout 0.2, AdamW, 30 epochs, GPU if available) trained pooled over assets and origins on z-scored momentum/volatility/beta features with 20-day forward-return quintile labels; shrunk 80%…
forecast.py (126 lines · MIT License)
def czs(x):
m = np.nanmean(x); s = np.nanstd(x) + 1e-12
return np.nan_to_num((x - m) / s, nan=0.0)
def feats(R, t):
Rt = R[:t + 1]
def ssum(a, b):
return np.nansum(Rt[t - b + 1:t - a + 1], axis=0)
f = {'m60': ssum(5, 60), 'm120': ssum(20, 120), 'm250': ssum(20, 250), 'm20': ssum(0, 20),
'r5': -ssum(0, 5), 'lv': -np.nanstd(Rt[t - 59:t + 1], axis=0),
'lv20': -np.nanstd(Rt[t - 19:t + 1], axis=0),
'lv250': -np.nanstd(Rt[t - 249:t + 1], axis=0), 'rev1': -Rt[t]}
mkt = np.nanmean(Rt[t - 59:t + 1], axis=1)
cov = np.array([np.nan_to_num(np.nanmean(Rt[t - 59:t + 1, i] * mkt) - np.nanmean(Rt[t - 59:t + 1, i]) * np.nanmean(mkt)) for i in range(Rt.shape[1])])
f['beta'] = cov / (np.nanvar(mkt) + 1e-12)
return np.column_stack([czs(f[k]) for k in KEYS])
def mlp_ensemble(Xa, ya, Xq, seeds=(0, 1, 2), epochs=30):
import torch, torch.nn as nn
dev = 'cuda' if torch.cuda.is_available() else 'cpu'
Xt = torch.tensor(Xa, dtype=torch.float32, device=dev)
yt = torch.tensor(ya, dtype=torch.long, device=dev)
Xq_t = torch.tensor(Xq, dtype=torch.float32, device=dev)
outs = []
for sd in seeds:
torch.manual_seed(sd)
net = nn.Sequential(nn.Linear(Xt.shape[1], 32), nn.ReLU(), nn.Dropout(0.2),
nn.Linear(32, 32), nn.ReLU(), nn.Dropout(0.2), nn.Linear(32, 5)).to(dev)
opt = torch.optim.AdamW(net.parameters(), lr=1e-3, weight_decay=1e-3)
n = len(Xt)
for ep in range(epochs):
# … (81 more lines — open the code link for the complete file)GPT-6.1 Sol Roster #8 · M6 Rank #22.5/164 (RPS 0.15611, IR -3.64)
Packet-only statistical quintile ensemble and covariance-diversified signal portfolio; no saved models or external data.
forecast.py (36 lines · MIT License)
"""Quintile distribution and diversified signal portfolio, fit from the packet only."""
import argparse
import json
from pathlib import Path
import numpy as np
import pandas as pd
from core import (stat_probs, factor_probs, portfolio_weights,
balance_probabilities, predict_probabilities, forecast_horizon)
def forecast(input_dir, output_file):
directory = Path(input_dir)
task = json.loads((directory / 'task.json').read_text())
assets = task['assets']
prices = pd.read_csv(directory / 'prices.csv', index_col=0)[assets]
prices = prices.loc[prices.index <= task['cutoff']].ffill()
returns = np.log(prices).diff()
t = len(returns) - 1
horizon = forecast_horizon(prices.index, task["cutoff"], task["forecast_end"])
probabilities = predict_probabilities(returns, t, horizon=horizon)
weights = portfolio_weights(returns)
result = pd.DataFrame({'origin_id': task['origin_id'], 'series_id': assets})
for k in range(5):
result[f'p{k+1}'] = probabilities[:, k]
result['weight'] = weights
output_file = Path(output_file)
output_file.parent.mkdir(parents=True, exist_ok=True)
result.to_csv(output_file, index=False)
if __name__ == '__main__':
parser = argparse.ArgumentParser()
# … (4 more lines — open the code link for the complete file)