Bergmeir 2018 - Monte Carlo Results for AR and MLP Forecasters

Summary

Tables 1-2 of Bergmeir, Hyndman & Koo report how far each evaluation procedure’s error estimate lands from the true future error.

  • AR(3) and MA(1) data: 5-fold CV and LOOCV are the most precise (RMSE-MAPAE ≈ 0.09-0.11 vs OOS ≈ 0.16-0.19 for linear models), with bias comparable to OOS.
  • Non-dependent CV is badly pessimistic (positive MPAE). It explodes to MAPAE 6.1-10.2 for AR(5) because its models are fitted on a sliver of data.
  • Seasonal counterexample: every candidate underfits, CV’s precision edge nearly vanishes, and CV becomes strongly optimistic. RMSE-MPAE for the linear AR models (Table 1) is −43.5 to −95.2 for 5-fold CV and −44.1 to −100.7 for LOOCV, against −25.6 to −42.4 for OOS. For the MLPs (Table 2) it is −37.9 to −62.5 for 5-fold CV, −38.0 to −82.2 for LOOCV and −17.9 to −33.2 for OOS.

MLPs confirm the pattern. The one-lag MLP fails everywhere.

Overview

Rows are fitted models (number of lags) within each procedure. Columns are MAPAE (precision; lower is better) and MPAE (bias; near 0 is better, negative means optimistic) for the RMSE and MAE versions of PE. Definitions are in Bergmeir 2018 - Monte Carlo Design and MAPAE-MPAE Metrics. The numbers below are transcribed from p. 12. Series length is 200 in all experiments. DGP “AR(12)” in the tables is the seasonal AR of Experiment 3.

Main Content

§5.1 Linear models: narrative (p. 11)

  • Experiment 1 (AR(3)). For RMSE, “the 5-fold CV and LOOCV procedures achieve values around 0.09 for MAPAE, whereas the OOS procedure has higher values around 0.16, so that the CV procedures achieve more precise error estimates”. nonDepCV “performs considerably worse, which is due to the fact that the fitted models are less accurate as they are fitted with less data”. On MPAE, LOOCV has “consistently low-biased estimates with absolute values smaller than 0.003”, while OOS and 5-fold CV reach up to 0.01 and 0.007, “comparable to each other”. The MAE results are similar.
  • Experiment 2 (MA(1)). MAPAE is similar to Experiment 1: CV is more precise than OOS. On MPAE, “OOS now slightly outperforms the CV procedures with absolute values between 0.003 and 0.01”. 5-fold CV and LOOCV lie between 0.008-0.013 and 0.005-0.011 respectively. nonDepCV “again is not competitive”.
  • Experiment 3 (seasonal AR). “Where all models are heavily misspecified, we see that the advantage of the CV procedures w.r.t. MAPAE has nearly vanished, and the CV estimates are more biased than the estimates obtained with the OOS procedure.”

§5.2 MLP models: narrative (p. 11)

  • Overall. The MLP results “essentially confirm the findings for the linear models”.
  • One-lag MLP. With only one lag, “the model fitting procedure has difficulties and the resulting models are not competitive, yielding high values of both MAPAE and MPAE throughout all model selection procedures and experiments”.
  • Experiments 1-2. CV gives lower MAPAE and comparable MPAE relative to OOS.
  • Experiment 3. “The advantages of the CV procedures for MAPAE have mainly vanished and the disadvantages of high bias prevail.”

Table 1: fitted model linear AR, series length 200 (p. 12)

DGPProcedureModelRMSE MAPAERMSE MPAEMAE MAPAEMAE MPAE
AR(3)5-fold CVAR(1)0.098−0.0000.084−0.004
AR(3)5-fold CVAR(2)0.0890.0040.0780.000
AR(3)5-fold CVAR(3)0.0900.0060.0770.001
AR(3)5-fold CVAR(4)0.0920.0060.0780.001
AR(3)5-fold CVAR(5)0.0940.0070.0800.001
AR(3)LOOCVAR(1)0.098−0.0020.084−0.005
AR(3)LOOCVAR(2)0.0890.0020.077−0.002
AR(3)LOOCVAR(3)0.0900.0020.077−0.002
AR(3)LOOCVAR(4)0.0910.0010.078−0.003
AR(3)LOOCVAR(5)0.0930.0010.079−0.003
AR(3)nonDepCVAR(1)0.4230.4110.2830.271
AR(3)nonDepCVAR(2)0.5100.5050.3410.336
AR(3)nonDepCVAR(3)0.6300.6280.4190.418
AR(3)nonDepCVAR(4)1.0141.0140.6200.619
AR(3)nonDepCVAR(5)6.1376.1372.5802.580
AR(3)OOSAR(1)0.170−0.0100.143−0.002
AR(3)OOSAR(2)0.157−0.0040.1340.002
AR(3)OOSAR(3)0.158−0.0020.1350.003
AR(3)OOSAR(4)0.160−0.0020.1360.003
AR(3)OOSAR(5)0.163−0.0010.1390.003
MA(1)5-fold CVAR(1)0.1130.0130.0960.007
MA(1)5-fold CVAR(2)0.1060.0080.0900.003
MA(1)5-fold CVAR(3)0.1020.0120.0870.007
MA(1)5-fold CVAR(4)0.1000.0090.0850.005
MA(1)5-fold CVAR(5)0.1000.0120.0850.006
MA(1)LOOCVAR(1)0.1130.0110.0960.005
MA(1)LOOCVAR(2)0.1050.0050.0900.001
MA(1)LOOCVAR(3)0.1010.0090.0860.004
MA(1)LOOCVAR(4)0.0990.0050.0840.001
MA(1)LOOCVAR(5)0.0980.0070.0840.002
MA(1)nonDepCVAR(1)0.2640.2440.2010.179
MA(1)nonDepCVAR(2)0.3590.3520.2660.258
MA(1)nonDepCVAR(3)0.4820.4800.3430.340
MA(1)nonDepCVAR(4)0.8620.8610.5450.543
MA(1)nonDepCVAR(5)10.22510.2244.0384.037
MA(1)OOSAR(1)0.192−0.0100.161−0.002
MA(1)OOSAR(2)0.181−0.0060.153−0.001
MA(1)OOSAR(3)0.173−0.0030.1450.003
MA(1)OOSAR(4)0.171−0.0030.1440.004
MA(1)OOSAR(5)0.171−0.0050.1430.001
AR(12)5-fold CVAR(1)150.890−43.549128.103−41.810
AR(12)5-fold CVAR(2)154.210−50.193129.217−46.432
AR(12)5-fold CVAR(3)158.004−59.821132.424−54.444
AR(12)5-fold CVAR(4)166.364−80.904139.967−71.794
AR(12)5-fold CVAR(5)172.824−95.194145.233−83.965
AR(12)LOOCVAR(1)150.661−44.063127.822−42.250
AR(12)LOOCVAR(2)154.152−52.161129.122−47.950
AR(12)LOOCVAR(3)157.858−62.983132.123−56.868
AR(12)LOOCVAR(4)166.496−84.866139.968−74.659
AR(12)LOOCVAR(5)173.410−100.682145.731−88.044
AR(12)nonDepCVAR(1)206.934126.776159.91684.506
AR(12)nonDepCVAR(2)245.753187.501181.995126.540
AR(12)nonDepCVAR(3)332.597292.792223.966184.539
AR(12)nonDepCVAR(4)690.263664.060382.009354.904
AR(12)nonDepCVAR(5)8101.9538090.2373090.7193077.161
AR(12)OOSAR(1)157.690−25.556135.948−16.516
AR(12)OOSAR(2)161.896−28.484138.869−18.247
AR(12)OOSAR(3)165.107−34.500140.313−22.344
AR(12)OOSAR(4)171.390−40.088145.932−25.820
AR(12)OOSAR(5)177.577−42.417152.985−28.486
^tbl-1

Table 2: fitted model neural networks (MLP), series length 200 (p. 12)

”# Lags” here is the number of lagged inputs to the MLP, written AR() in the source.

DGPProcedureLagsRMSE MAPAERMSE MPAEMAE MAPAEMAE MPAE
AR(3)5-fold CV10.769−0.7240.665−0.632
AR(3)5-fold CV20.1510.0270.1070.009
AR(3)5-fold CV30.1950.0400.1330.017
AR(3)5-fold CV40.2070.0570.1350.028
AR(3)5-fold CV50.2580.0750.1590.040
AR(3)LOOCV10.769−0.7270.663−0.632
AR(3)LOOCV20.1520.0090.109−0.005
AR(3)LOOCV30.1700.0280.1180.005
AR(3)LOOCV40.2010.0330.1290.012
AR(3)LOOCV50.2050.0180.135−0.004
AR(3)nonDepCV10.580−0.1090.505−0.207
AR(3)nonDepCV20.8440.8380.6060.605
AR(3)nonDepCV30.8850.8620.6590.643
AR(3)nonDepCV40.8420.8260.6430.639
AR(3)nonDepCV50.7710.7500.6030.597
AR(3)OOS10.818−0.7290.693−0.619
AR(3)OOS20.2320.0080.1800.013
AR(3)OOS30.2620.0110.1980.016
AR(3)OOS40.2950.0020.2150.013
AR(3)OOS50.3260.0130.2400.024
MA(1)5-fold CV10.289−0.2530.252−0.228
MA(1)5-fold CV20.1590.0270.1140.012
MA(1)5-fold CV30.1820.0680.1250.043
MA(1)5-fold CV40.1870.0610.1270.038
MA(1)5-fold CV50.2040.0650.1320.040
MA(1)LOOCV10.296−0.2650.258−0.237
MA(1)LOOCV20.1570.0120.1150.002
MA(1)LOOCV30.1780.0190.1220.007
MA(1)LOOCV40.1850.0300.1240.017
MA(1)LOOCV50.1760.0000.120−0.012
MA(1)nonDepCV10.3520.2150.2560.107
MA(1)nonDepCV20.7120.7040.5330.531
MA(1)nonDepCV30.7610.7550.5890.587
MA(1)nonDepCV40.7270.7190.5780.575
MA(1)nonDepCV50.6590.6490.5340.532
MA(1)OOS10.368−0.2850.305−0.239
MA(1)OOS20.2470.0050.1910.013
MA(1)OOS30.2670.0150.1980.021
MA(1)OOS40.2760.0060.2060.016
MA(1)OOS50.2840.0420.2170.047
AR(12)5-fold CV1154.137−37.919130.981−37.587
AR(12)5-fold CV2157.743−49.764132.260−45.950
AR(12)5-fold CV3152.300−38.585127.494−38.171
AR(12)5-fold CV4155.298−55.475130.786−51.674
AR(12)5-fold CV5158.104−62.537132.781−58.896
AR(12)LOOCV1153.873−38.041130.153−37.107
AR(12)LOOCV2162.565−63.654135.013−56.950
AR(12)LOOCV3169.791−82.204140.290−70.038
AR(12)LOOCV4163.306−69.063136.467−61.480
AR(12)LOOCV5164.931−79.233136.795−70.160
AR(12)nonDepCV1195.267103.594156.11268.756
AR(12)nonDepCV2195.14596.722155.37864.679
AR(12)nonDepCV3204.659125.448158.24784.718
AR(12)nonDepCV4208.368136.821162.85296.170
AR(12)nonDepCV5205.205125.914162.81289.028
AR(12)OOS1159.824−23.745137.788−15.963
AR(12)OOS2163.665−33.175139.471−21.946
AR(12)OOS3168.314−17.899141.165−9.545
AR(12)OOS4173.594−28.360144.881−17.344
AR(12)OOS5179.041−29.841150.671−18.436
^tbl-2

Reading the tables

Empirical regularities (synthesised from Tables 1-2)

  1. Precision advantage of CV when residuals are white. For linear AR fits, 5-fold CV/OOS RMSE-MAPAE ratios are about 0.57-0.58 on AR(3) data (e.g. 0.090 vs 0.158 for AR(3)) and about 0.59 on MA(1) data (e.g. 0.100 vs 0.171 for AR(4)).
  2. Overfitting is harmless for CV’s accuracy. Going from AR(3) to AR(5) on AR(3) data raises 5-fold MAPAE only from 0.090 to 0.094.
  3. Non-dependent CV is pessimistic and unstable. In Table 1, MPAE ≈ MAPAE (all positive) means it overestimates error in nearly every trial. In Table 2 the pattern holds from 2 lags up; the one-lag MLP row is the exception (MPAE −0.109 on AR(3) data). The blow-up with model order (6.137, 10.225 and 8,101.953 for AR(5)) reflects AR(5) models fitted on very few surviving rows; see Bergmeir 2018 - Lag-Embedded K-Fold CV vs h-Block CV.
  4. Underfitting turns CV optimistic, increasingly so with more lags. In the seasonal experiment, 5-fold CV MPAE runs −43.5 → −95.2 from AR(1) to AR(5), and OOS −25.6 → −42.4. A plausible reading (the vault’s, not the paper’s): more lags let the model exploit correlated neighbouring rows more, without capturing the lag-12 structure.
  5. Underfitting erases the precision edge. In the seasonal experiment, 5-fold CV RMSE-MAPAE is 150.9-172.8 vs OOS 157.7-177.6. Lag by lag, CV is only 2.7-4.7% lower (AR(1) 4.3%, AR(2) 4.7%, AR(3) 4.3%, AR(4) 2.9%, AR(5) 2.7%; computed from Table 1). For MAE-MAPAE the gap is 4.1-7.0%. Compare the AR(3) experiment, where CV’s MAPAE is about 43% below OOS (0.090 vs 0.158 for the AR(3) model).
  6. One-lag MLPs fail under every procedure (on AR(3) data RMSE-MPAE ≈ −0.72 to −0.73 for 5-fold CV, LOOCV and OOS; nonDepCV has MAPAE 0.580), which is a model failure, not an evaluation failure.
  7. MAE behaves like RMSE, so the squared-error theory appears to carry over empirically.

Examples

What the numbers mean for model selection

Setup: suppose the true future RMSE of every candidate is about 1.0 and you choose among AR(1)-AR(5) by their estimated error.

Noise in each estimate: an OOS estimate is off by about 0.16 on average, a 5-fold CV estimate by about 0.09.

Consequence: with five candidates whose true errors differ by a few hundredths, OOS’s noise is large relative to those differences, so it will often pick a worse model by chance. Selection on a noisy holdout is also optimistically biased for the winner, the “winner’s curse”. Lower MAPAE therefore translates directly into better selection and smaller selection bias. See Model Selection and Overfitting and Q - Handling Multiple Comparisons When Selecting From Hundreds of Models.

Connections

See Also