M-Competitions (Makridakis Competitions)
The M-competitions are a series of large-scale forecasting competitions organized by Spyros Makridakis and colleagues, run to produce empirical evidence about which methods work in practice rather than which have the better theory. Each released a large set of real time series, asked participants to forecast them, and compared the results under common error metrics.
The five competitions
- M1 (1982) — 1,001 series at monthly, quarterly and annual frequencies. No single method dominated, and simple ones (naive, exponential smoothing) did about as well as complex statistical ones.
- M2 (1993) — not a larger dataset but a different design: a small set of series forecast in real time, with participating organizations and judgmental input. Combining statistical and judgmental forecasts improved accuracy, and simple statistical models were again competitive.
- M3 — 3,003 series, run in 1998 with results published in 2000. Exponential smoothing and ARIMA remained strong, and combining forecasts from several methods consistently helped.
- M4 (2018, results 2020) — 100,000 series and 61 methods. The top point-forecasting entry combined exponential smoothing with a recurrent neural network, and combinations were again among the strongest performers.
- M5 (2020, on Kaggle) — hierarchical Walmart unit sales, with separate accuracy and uncertainty challenges. Gradient boosting dominated: leading solutions used global LightGBM models pooled across related products and stores, and the winning method averaged direct and recursive variants. Probabilistic forecasting was a headline task rather than an afterthought.
Read in order, the sequence does not describe one method displacing another. It describes the same finding arriving five times: combinations win, and no family of models wins everywhere. That finding is worth taking apart, because the usual summary of it overstates what averaging does.
What combining forecasts actually buys
import numpy as np
from itertools import combinations
from scipy.stats import norm
rng = np.random.default_rng(0)
n_series, h = 20_000, 12
truth = norm.ppf(rng.random((n_series, h)))
"""Five methods over the same series. One is genuinely good, three are
ordinary, one is poor, and each carries a bias of its own. This is closer
to a real competition field than five equally good methods."""
bias = np.array([0.05, 0.25, -0.15, 0.40, -0.35])
noise = np.array([0.35, 0.85, 1.00, 1.10, 1.20])
tilt = norm.ppf(rng.random((n_series, 1, 1)))
f = (truth[:, None, :] + bias[None, :, None] * (1 + 0.8 * tilt)
+ noise[None, :, None] * norm.ppf(rng.random((n_series, len(bias), h))))
err = np.sqrt(((f - truth[:, None, :]) ** 2).mean(axis=2))
combo = f.mean(axis=1)
combo_err = np.sqrt(((combo - truth) ** 2).mean(axis=1))
best_i = err.mean(axis=0).argmin()
print(f" {n_series:,} series, five methods, horizon {h}:")
print(f"{'method':>24}{'mean RMSE':>12}{'best on':>12}")
for i in range(len(bias)):
print(f"{f'method {i + 1}':>24}{err[:, i].mean():>12.4f}"
f"{np.mean(err.argmin(axis=1) == i) * 100:>11.1f}%")
print(f"{'the simple average':>24}{combo_err.mean():>12.4f}")
print(f" beats a randomly chosen member "
f"{np.mean(combo_err[:, None] < err) * 100:>8.2f}% of the time")
print(f" beats the strongest member "
f"{np.mean(combo_err < err[:, best_i]) * 100:>8.2f}% of series")
print(f" beats every one of its members "
f"{np.mean(combo_err < err.min(axis=1)) * 100:>8.2f}% of series")
print(f"{'m':>8}{'mean RMSE':>12}{'gain over one':>16}{'beats the best single':>24}")
solo = err.mean()
for m in range(1, 6):
vals, wins = [], []
for c in combinations(range(5), m):
e = np.sqrt(((f[:, c, :].mean(axis=1) - truth) ** 2).mean(axis=1))
vals.append(e.mean()); wins.append(np.mean(e < err[:, best_i]))
g = (1 - np.mean(vals) / solo) * 100
g = 0.0 if abs(g) < 0.05 else g
print(f"{m:>8}{np.mean(vals):>12.4f}{g:>15.1f}%"
f"{np.mean(wins) * 100:>23.1f}%")
print(f" mean RMSE of the five methods {err.mean():>10.4f}")
print(f" RMSE of the averaged forecast {combo_err.mean():>10.4f}")
b = np.abs((f.mean(axis=1) - truth).mean())
print(f" mean bias left in the average {b:>10.4f}")
# 20,000 series, five methods, horizon 12:
# method mean RMSE best on
# method 1 0.3494 99.7%
# method 2 0.8885 0.2%
# method 3 0.9973 0.1%
# method 4 1.1867 0.0%
# method 5 1.2517 0.0%
# the simple average 0.4182
# beats a randomly chosen member 85.19% of the time
# beats the strongest member 26.64% of series
# beats every one of its members 26.58% of series
# m mean RMSE gain over one beats the best single
# 1 0.9347 0.0% 0.1%
# 2 0.6804 27.2% 2.9%
# 3 0.5527 40.9% 7.3%
# 4 0.4738 49.3% 15.2%
# 5 0.4182 55.3% 26.6%
# mean RMSE of the five methods 0.9347
# RMSE of the averaged forecast 0.4182
# mean bias left in the average 0.0411
Reading it against the usual summary
“Combining forecasts nearly always improves accuracy” is a claim that needs a comparison attached. Under the simulated error distribution, against a method chosen at random — the average beats a randomly chosen member 85% of the time. Against the method that turns out to be best, the average loses roughly three times in four. Both are consequences of the same arithmetic: averaging cancels independent error, and it also pulls a good forecast toward worse ones.
An ensemble can reduce the risk of selecting a poor member, and can sometimes outperform even the best component. Knowing the best component in advance would not by itself establish that it beats the ensemble. The rates above illustrate the chosen error distribution, not a law of forecast combination.
The last block shows the mechanism and its limit together. The averaged forecast’s error is well below the average of the members’ errors, because independent noise cancels. The bias left over is exactly the average of the members’ biases, so opposing biases can cancel while a shared direction remains. A set of methods that all lean the same way produces a combination that leans the same way, however many of them there are.
What the series changed
Four lessons hold across all five. No universal winner — performance depends on the data. Simple benchmarks are hard to beat and belong in every comparison. Combining helps, in the specific sense measured above. And the emphasis has moved from point forecasts toward probabilistic ones, which M5 made a scored task in its own right.
One conclusion the results do not support is that any family dominates. M4’s strongest point-forecasting entry was a statistical–machine-learning hybrid; M5’s were pooled gradient-boosting models. Those are different answers from consecutive competitions on different data, and the consistent finding across them is the absence of a universal winner rather than the arrival of one.
The wider effect was on how forecasting is argued about. Claims about accuracy became things to demonstrate on shared data under a fixed metric rather than to assert, simple methods and combinations gained standing in industry practice, and the format seeded the later generation of competitions on Kaggle and elsewhere. As with any competition result, a ranking is evidence about a dataset and a scoring rule, and the deployment question — whether a smaller error changes any decision — is separate.
References
- Rob J Hyndman, “Forecasting competitions”. robjhyndman.com
- SciPy documentation,
scipy.stats.norm. docs.scipy.org
Discover more from Insightful Data Lab
Subscribe to get the latest posts sent to your email.
