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.

19 / 22beat Uniform RPS (6 beat human #1 RPS)
#4 / 164best overall M6 rank (Fable 5.2)
100evaluated assets across 12 origins
Dual-track live financial protocolFeb 2022 – Jan 2023 bear market · 60 min across 12 locks
50 S&P 500 + 50 ETFs×12 Monthly Origins→50% Quintile RPS+50% Portfolio IR (0.25 ≤ ∑|w| ≤ 1)

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 / 164Fable 5.2 RPS #1 + IR #36
Quintile Probability Calibration (RPS)0.15645 (#1 human full-period RPS)0.16000 (Uniform 0.20)0.15609Gemini 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.70Grok 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

Forecast curves shown
Hover or focus any horizon step to compare exact ground truth against each model’s prediction.
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)

Best LLM Median LLM Uniform (0.1600)
0.160 0.168 0.138 O1O2O3O4O5O6O7O8O9O10O11O12
Live Origin20-Trading-Day Window & Equal-Weight ReturnSeries / NodesHorizonUniform RPSMomentum RPSBest LLMLeaderMedian LLMLLMs < Uniform
Origin 12022-03-04 → 2022-04-01 (1/N return +4.3%)100200.16000.22600.1481GPT-6.2 Astra0.152190.9%
Origin 22022-04-01 → 2022-04-29 (1/N return -6.1%)100200.16000.21800.1587GPT-6 Luna0.164213.6%
Origin 32022-04-29 → 2022-05-27 (1/N return +1.7%)100200.16000.19600.1489Gemini 3.8 Flash0.155886.4%
Origin 42022-05-27 → 2022-06-24 (1/N return -6.2%)100200.16000.22000.1538Gemini 4 Neon0.158772.7%
Origin 52022-06-24 → 2022-07-22 (1/N return +0.4%)100200.16000.18600.1536Gemini 4 Carbon0.156981.8%
Origin 62022-07-22 → 2022-08-19 (1/N return +5.2%)100200.16000.17200.1447GPT-6.2 Astra0.153486.4%
Origin 72022-08-19 → 2022-09-16 (1/N return -6.2%)100200.16000.20400.1565Kimi K3.1 Pro0.160818.2%
Origin 82022-09-16 → 2022-10-14 (1/N return -7.1%)100200.16000.16400.1570Muse Wonder 1.00.161131.8%
Origin 92022-10-14 → 2022-11-11 (1/N return +11.6%)100200.16000.21800.1424GPT-6.2 Astra0.155877.3%
Origin 102022-11-11 → 2022-12-09 (1/N return +0.0%)100200.16000.22600.1537Gemini 3.8 Flash0.158563.6%
Origin 112022-12-09 → 2023-01-06 (1/N return +0.6%)100200.16000.17800.1518Muse Wonder 1.00.154395.5%
Origin 122023-01-06 → 2023-02-03 (1/N return +3.6%)100200.16000.22200.1485GPT-6.2 Astra0.155577.3%

Individual series status & win-rate explorer

100total assets
47consensus LLM wins (≥20/22 beat Uniform (0.20))
69majority LLM wins (≥13/22 beat Uniform (0.20))
29split / contested (1–12/22)
2hard — 0/22 LLMs beat Uniform (0.20)

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
Page 1

Search trajectories across committed checkpoints

Hidden-test score over the 60-minute research window

Every valid commit snapshotted without returning test feedback

Models shown
Hover any checkpoint dot to inspect commit timestamp and hidden-test score.

All 22 models on M6 Financial (2022)

ModelM6 RankArchive RankRPS (Rank)IR (Rank)Cum. Log RetEstimator FamiliesReplayCommitsEst. CostRepo
01Fable 5.2#4#4/1640.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/1640.15649 (#3/164)+0.83 (#43/164)+1.01%
LightGBMNeural networkForecast combinationCross-sectional / shrinkage
Pure source37$3.24
03Opus 5.5#11#11/1640.15769 (#10/164)+0.45 (#55.5/164)+0.53%
LightGBMCross-sectional / shrinkage
Pure source38$15.46
04Fable 5.1#13#13/1640.15666 (#4/164)+0.25 (#66/164)+0.25%
Neural networkCross-sectional / shrinkage
Source + 1 art.40$21.03
05Grok 4.7#13#13/1640.16000 (#51.5/164)+5.70 (#19/164)+3.26%
ETS / exponential smoothingForecast combinationCross-sectional / shrinkage
Pure source51$22.07
06Sonnet 5.5#15#15/1640.15685 (#4/164)-0.82 (#79/164)-0.86%
LightGBMRandom forestForecast combination
Pure source28$62.10
07GPT-6 Luna#22#22/1640.16087 (#76/164)+5.37 (#19/164)+7.07%
Cross-sectional / shrinkage
Pure source57$0.45
08GLM-5.3#22.5#22.5/1640.15689 (#4/164)-2.92 (#92/164)-3.02%
LightGBMNeural networkForecast combinationCross-sectional / shrinkage
Pure source48$3.94
09GPT-6.1 Sol#22.5#22.5/1640.15611 (#1/164)-3.64 (#95/164)-0.38%
Cross-sectional / shrinkage
Pure source53$3.59
10Muse Wonder 1.0#25#25/1640.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/1640.15807 (#12/164)-3.56 (#95/164)-1.86%
LightGBMForecast combinationCross-sectional / shrinkage
Pure source90$0.35
12MiMo-V2.6-Pro#53#53/1640.15799 (#12/164)-6.10 (#113/164)-1.96%
LightGBMCross-sectional / shrinkage
Pure source88$0.43
13Gemini 4 Hydrogen#59.5#59.5/1640.15625 (#1/164)-10.63 (#135/164)-2.24%
LightGBMNeural networkDriftForecast combination
Source + 2 art.46$5.51
14Kimi K3.1 Pro#69#69/1640.15830 (#14/164)-10.61 (#135/164)-6.49%
LightGBMForecast combinationCross-sectional / shrinkage
Pure source43$6.97
15GPT-6.2 Sol#69#69/1640.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/1640.16009 (#64/164)-2.86 (#91/164)-2.53%
Cross-sectional / shrinkage
Pure source50$7.36
17GPT-6.2 Astra#78#78/1640.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/1640.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/1640.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/1640.15631 (#1/164)-42.48 (#164/164)-9.01%
Cross-sectional / shrinkage
Source + 1 art.47$17.45
21Gemini 4 Argon#84#84/1640.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/1640.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)
Episode Inspector

Loading episode…

Loading pipeline bundle…