Today, we dive into a story that has defined data science for forty years: the Forecasting Paradox. It’s the counterintuitive empirical observation that complex, sophisticated models consistently failed to beat simpler, more robust statistical methods when trying to predict the future. We track this paradox from its canonical proof through the massive M-Competitions, revealing how the debate over complexity vs. accuracy was settled - and then immediately overturned - based entirely on the structure of the data. Part I: The Sad Conclusion: When Simplicity Became Law For decades, the intuitive assumption was that a complex model, capable of capturing intricate patterns, should inherently be a better predictor. However, the empirical evidence gathered by pioneers like Spyros Makridakis through the M-Competitions proved the opposite. The M3-Competition (published in 2000) provided the foundational, canonical proof of the Forecasting Paradox. Testing 24 methods across 3,003 diverse real-world time series, the results delivered what was called the “sad conclusion”: statistically sophisticated and complex methods, including early Artificial Neural Network (ANN) models, were consistently outperformed by simple approaches. The ultimate victor of M3 was the relatively obscure Theta method. This decompositional approach, which broke the series into simple trend and curvature lines, cemented the “simplicity mantra” as the dominant, evidence-based paradigm for nearly twenty years. This finding was later demystified by Rob J. Hyndman and Billah, who proved the Theta method was mathematically equivalent to Simple Exponential Smoothing (SES) with drift - a clever parameterization of one of the simplest methods available. Why Simplicity Won: The Trap of Overfitting The paradox held because of a crucial distinction: “goodness-of-fit” versus “forecasting accuracy”. Complex models, with many parameters, would inevitably fall into the central sin of overfitting. They learned not just the underlying true structure (the signal), but also the random historical fluctuations (the noise), mistaking error for a repeatable pattern. When forecasting, the model projected this learned noise into the future, making erratic and inaccurate predictions. Simple models like Exponential Smoothing, conversely, are mathematically incapable of modeling complex noise; they act as robust “noise filters”. A 2018 PLOS ONE paper reaffirmed this, demonstrating that modern Machine Learning methods were “dominated” by traditional statistical benchmarks when tested on M3 data, often achieving better in-sample fit but worse out-of-sample accuracy. Part II: The Hybrid Breakthrough (M4) The M4-Competition (2018), instigated by Makridakis to rigorously test modern ML, represented a massive escalation, using 100,000 independent time series. The M4 results confirmed the persistence of the paradox: the six pure Machine Learning methods submitted all performed poorly, failing to beat the simple statistical “Comb” benchmark (a simple average of three statistical methods). However, the competition was won by Slawek Smyl’s novel Exponential Smoothing-Recurrent Neural Network (ES-RNN) hybrid model. This marked a pivotal moment, signaling the end of the “forecasting winter” where simple models reigned. The ES-RNN’s success proved that the path forward was not simplicity or complexity, but a synthesis of the two. The model used classical statistical Exponential Smoothing to pre-process the data (handling seasonality and level) and present a cleaner, more stationary residual series to the Recurrent Neural Network for complex modeling. This refined the historical understanding: pure complex models still failed due to overfitting the noise, but robust, noise-filtered hybrid models could finally surpass the simple benchmarks. Part III: The Overturn: Complexity Wins in the Global Era (M5) Just two years later, the M5-Competition (2020) provided a complete and shocking reversal. The dataset was fundamentally different: 42,840 hierarchical, interrelated sales series from Walmart, critically including explanatory variables like prices and promotions for the first time. In this environment, the paradox was definitively broken. Pure Machine Learning methods dominated the leaderboard, with the winning entry being an ensemble of LightGBM (Light Gradient Boosting Machine) models. These pure ML methods significantly outperformed all statistical benchmarks and their combinations. The Triumph of the Global Model The shift was enabled by a change in paradigm from “local” to “global“ modeling. * Local Models (The Old Way): Traditional statistical methods treated each of the 42,840 series independently, building a separate, “blind” model for each. * Global Models (The New Way): The M5 winners trained a single, massive LightGBM model on all 42,840 series simultaneously. This allowed for cross-learning, where the complex model learned global patterns (e.g., the general effect of a promotion or price elasticity) and generalized that knowledge across different products and stores. The M5 problem was high-signal and multivariate, meaning the simple, local statistical models were too “dumb” to utilize the rich external features and cross-sectional information, allowing the complex Global ML models to dominate. The Takeaway: A Context-Dependent Framework The 40-year debate is resolved not as a binary choice, but as a context-dependent framework: * Paradox is TRUE for Local, Univariate Data: If you are forecasting a single, isolated time series with limited features (like the M3/M4 context), simple statistical methods or robust statistical-ML hybrids (like ES-RNN) are the state-of-the-art choice. Pure ML will likely overfit and fail. * Paradox is FALSE for Global, Multivariate Data: If you have thousands of related series and rich external features (like the M5 context), a Global ML model (like LightGBM) is the essential tool for utilizing all available signals. Coordinated with Fredrik Pro-Tip: The Metric Wars The evolution of the M-Competitions was not just about the models, but the rules of engagement. For decades, the comparison was built on metrics like the Mean Absolute Percentage Error (MAPE) and sMAPE. These metrics, however, are now understood to be flawed - especially because they explode or become undefined near zero values and tend to be asymmetric, disproportionately punishing complex, volatile models. The M1-M3 paradox’s magnitude was likely an artifact of this flawed metric. Rob J. Hyndman solved this by introducing the Mean Absolute Scaled Error (MASE), a scale-free, symmetric, and robust metric. Makridakis adopted MASE for M4 and M5, ensuring a fairer evaluation and creating the necessary level playing field for ML models to be accurately tested and eventually triumph in M5. This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit frahlg.substack.com
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00Welcome to the Deep Dive. Today we are wrestling with something really fundamental, I think, in data science, in engineering. It's this persistent, expensive, and honestly quite counterintuitive truth. Frederick, think about it as someone who builds systems, your gut feeling, your logic says, give me unlimited compute power and the most complex, sophisticated model. The one with all the bells and whistles.
SPEAKER_01Right. The deepest layers, the most parameters.
SPEAKER_00Exactly. That should give the best predictions. It just feels logical, like progress.
SPEAKER_01It absolutely does. I mean, we're basically trained to think that more power, more math, it must lead to a better outcome. That's how technology advances, right? But what if that core idea, especially for forecasting the future, was just, well, wrong?
SPEAKER_00What if for decades the actual data, the hard evidence, showed the complete opposite. What if the simple model, maybe even the quote-unquote dumb statistical model, consistently beat the fancy, complex one?
SPEAKER_01That's it. That clash is the forecasting paradox. And our mission today, really, is to unpack maybe 40 years of solid evidence from the M competitions. You know, M3, M4, M5. We need to figure out why that paradox was a thing, why it stuck around, even when machine learning first showed up. And, crucially for you, build a kind of modern guide. a framework that tells you when simplicity is your best bet for robustness, and when you absolutely need that complexity for real breakthroughs.
SPEAKER_00Right, setting the stage. The paradox is this consistent pattern. Complex, compute-heavy models just failing to forecast unseen data better than simpler, often older, statistical methods. It directly challenges that intuition that complexity equals better prediction.
SPEAKER_01Okay, so to really get why this paradox was such a big deal, we first need to nail down a key difference. It's something engineers working on optimization versus pure prediction really need to grasp. It's the difference between goodness of fit and actual forecasting accuracy. This is kind of the core tension here. Let's dig into that tension because this is where people get fooled, right?
SPEAKER_00Where the illusion of success comes from. Imagine you take, I don't know, a really complex polynomial model and you throw it at historical sales data, hundreds of points. Yeah. That complex model, almost by definition, can fit that past data perfectly. It can weave a line through every single point. You get a beautiful R squared close to one. Looks amazing. Looks amazing. That's your in-sample performance, a perfect picture of the past. And that's where the trouble starts, because forecasting accuracy, that's all at a sample.
SPEAKER_01It's about how well the model predicts data it has never seen before. The future, the paradox kicks in because that perfect fit to the past, describing every little historical bump and wiggle, often means it completely bombs when predicting what happens next.
SPEAKER_00It learned the noise, not just the signal. It maps the past too well. And the first, like, undeniable proof of this came from the M3 competition. This was back in 2000, organized by Spiros Macrodakis and Michelle Hibbon. This wasn't just theory. It was a massive, objective bake-off designed to settle the score between different forecasting approaches.
SPEAKER_01Oh, the scale was huge for back then. They took 24 different methods from experts all over and threw them at 3003 real-world time series. And it was diverse stuff, product sales, industry data, economic indicators, finance, yearly, quarterly, monthly data. He wanted results that applied generally, not just to one specific type of problem. And the result, it basically confirmed what some suspected but many didn't want to believe.
SPEAKER_00Macrodakis called it the sad conclusion. Huh. These statistically sophisticated, theoretically elegant methods, even early attempts at artificial neural networks, they just got beaten. Consistently. By simpler, more robust statistical methods.
SPEAKER_01Yeah, the winners were things like exponential smoothing, especially the damped trend version, and automated EREMA, autoregressive integrated moving average. These simpler guys either matched or just flat out beat the complex models that needed way more computation and looked fancier on paper. The takeaway was pretty stark. Sophisticated theory didn't translate into better future predictions.
SPEAKER_00Hold on. You mentioned ERIMA. Now, for an engineer listening, we often think of ERIMA as, you know, a solid statistical tool, maybe a bit complex itself. But you're saying the sophisticated uses of it failed. What does automated ERIMA mean here and why did it work when maybe the hand-tuned versions didn't?
SPEAKER_01That's a really good point. ERIMA is complex in the sense that you have to figure out the right orders, the P, D, and Q components.
SPEAKER_00Yeah.
SPEAKER_01How much past data, differencing, moving average. The sophisticated approaches back then often involved experts manually tweaking these numbers, looking at charts, trying to get the absolute best fit to the past data.
SPEAKER_00Ah, optimizing the fit again.
SPEAKER_01Exactly. And M3 showed that it often led to making the model too complex, overfitting it to that specific historical data. The automated ERIMA, like the stuff Rob Heineman and others pioneered, used algorithms. It used things like AIC or BIC information criteria to automatically search for the simplest possible model structure, the PEDQ, that still explained the data reasonably well.
SPEAKER_00So it had a built-in preference for simplicity.
SPEAKER_01Precisely. It was biased toward parsimony. It wouldn't add complexity unless the data screamed for it. And that simplicity shield, that protection against unnecessary complexity, is why it outperformed the more fiddled with complex versions.
SPEAKER_00Okay, that makes sense. But the real shocker, the model that really drove home the simplicity message in M3 wasn't even Arima or standard exponential smoothing. It was the theta method. Came out of nowhere, relatively simple, and just crushed the competition.
SPEAKER_01The theta method is jest. It's a really elegant example of finding strength through simple decomposition. At its heart, once you handle seasonality, it's basically just using linear regression. It takes the time series, ramp it, and splits it into two parts, calls them theta lines.
SPEAKER_00Okay, two lines. What are they?
SPEAKER_01So first you have the trend line. That's where theta equals zero. And this line, it's literally just a straight line fitted through the data using linear regression against time. Simple as that. Captures the overall long-term trend.
SPEAKER_00Right. Just the basic slope.
SPEAKER_01Then you have the second line, the curvature line. This is where theta equals 2. Looks a bit more complicated mathematically, but the idea is to amplify the local wiggles, the curvature left over, after you consider the main trend. It basically doubles down on removing the friend, forcing the second line to focus only on the shorter term ups and downs.
SPEAKER_00And the forecast.
SPEAKER_01Super simple again. You forecast the trend line, just extend the straight line. You forecast the curvature line, often just using a basic, simple exponential smoothing. And then you combine them, usually just by averaging the two forecasts.
SPEAKER_00Wow. So it forces the data into these two really simple, almost linear views. And that process itself filters out the complex noise that would have tripped up a single more sophisticated model.
SPEAKER_01That's the essence of it. A clever, simple statistical hybrid. Became the gold standard after M3. Simplicity ruled.
SPEAKER_00Okay, M3 sets the stage. But you'd think, fast forward 15, 20 years, with deep learning booming massive compute power, surely that changed things. Surely those M3 results became obsolete.
SPEAKER_01You would absolutely think so. That was the assumption, right? That modern ML, LSTMs, RNNs would just blow this paradox away. But nope.
SPEAKER_00No, still persisted.
SPEAKER_01Still persisted. Yeah. In 2018, Macrodakis and his team published this really important paper in PLOS 1. They specifically went back to test that assumption. They grabbed a big chunk of the original N3 data and ran the latest, greatest ML methods against it. We're talking long short-term memory networks, LSTMs, standard recurrent neural networks, RNNs, and they compared them head-to-head with the old champs. SATA, damped exponential smoothing, auto-orema.
SPEAKER_00Don't leave us hanging. Yeah.
SPEAKER_01The results were, frankly, stunning. A real wake-up call. The fancy, modern ML methods were, and I quote, dominated by the old statistical benchmarks. Across all the different forecast horizons, all the accuracy metrics they used, no ML method, not even the sophisticated deep learning ones designed for sequences, could beat the simple theta method from the year 2000.
SPEAKER_00That's kind of shocking. LSTMs built specifically to handle time dependencies couldn't beat a clever trick with linear regression.
SPEAKER_01Couldn't beat it. Failed to capture that simple trend plus damped curvature structure as effectively. And then there's the practical side, the engineering side that must have just been infuriating. Oh, absolutely. This massive underperformance came with, as the paper put it, considerably greater computational cost.
SPEAKER_00So slower, power hungry, more complex to set up.
SPEAKER_01And gave worse forecasts for most of these standard time series. It was the worst of all worlds.
SPEAKER_00That PLOS 1 paper really sounds like it threw down the gauntlet.
SPEAKER_01It did. It was basically the direct trigger for the M4 competition. It was a challenge to the entire ML community. Prove it. Prove you can actually beat these simple methods on real world forecasting tasks.
SPEAKER_00Okay, so we've got the evidence. Complexity should win. Engineers feel it should win. But in this classic univariate setting, it just didn't. So now we need to get into the why. Stop just seeing the failure. Start understanding the mechanics. For an engineer, this is about digging into why complex models are fragile with time series data. And the main culprit you mentioned is overfitting.
SPEAKER_01Correct. Overfitting is the moment your complex model starts treating random noise, the stuff that won't repeat, as if it's part of the underlying pattern, the signal you actually want to capture. It has so many parameters, so much flexibility, that instead of learning the general trend, it ends up memorizing the specific noisy data points it was trained on. It becomes a perfect mirror of the past noise.
SPEAKER_00And that leads to this paradox of overfitting idea, right? The model knows the training data inside out.
SPEAKER_01Maximum information about the past, exactly.
SPEAKER_00But minimum useful information about the future you need to predict?
SPEAKER_01Think of it like this. Imagine you've got a super high-res camera that's your complex model. You take a picture of a mostly white wall, but it has some random dust specks and smudges. The camera captures the white wall, sure, but it also perfectly records every single dust speck. Now you ask it, predict the next patch of wall. What does it do? It meticulously predicts the exact same random pattern of dust specks it saw before because it learned the noise.
SPEAKER_00Whereas the simple model... Like exponential smoothing.
SPEAKER_01That's like using a soft focus lens or a blur filter. It ignores the individual dust specks, the noise, and just captures the general white color and maybe a slight texture, the stable signal. It deliberately underfits the history a bit. It sacrifices that perfect photographic memory of the past to get a better general idea of the future.
SPEAKER_00So when you apply a really complex model, especially these deep neural networks, to typical noisy time series data...
SPEAKER_01It just goes haywire. It sees tiny random blips in the past, thinks, aha, a pattern. Bakes that noise into its weights and then projects that noise forward.
SPEAKER_00Leading to forecasts that jump all over the place.
SPEAKER_01Exactly. Volatile, erratic, and just plain wrong. The M competitions were brilliant because they forced that out-of-sample test. They stopped people from falling in love with that perfect rearview mirror image. And this mechanism creates that goodness of fit illusion we talked about. The model looks fantastic on the historical data, giving everyone a false sense of security. We saw that perfectly in the 2018 PLOS1 paper, even within the ML models themselves. They pointed out that LSTMs, which are more complied internally than standard RNNs or MLPs,
SPEAKER_01LSTMs actually showed a better in-sample fit. They described the past data more accurately. But they gave worse out-of-sample forecasts than even those simpler neural nets. The LSTM was too good at memorizing the past, including its noise, and failed the real test prediction.
SPEAKER_00So the failure isn't just the model. It's the model interacting with the data, which brings us to signal versus noise.
SPEAKER_01This is the absolute key. The paradox wasn't universal. It thrived in a specific environment. Data with high noise and low signal. And that describes most economic data, most business data, even lots of operational data. Think about it. Sales filters are hit by random promotions, supply chain glitches, changing customer moods. That's all noise. The true underlying signal, the basic level, the slow moving trend, maybe some stable seasonality, that signal is often weak compared to the noise running on top of it.
SPEAKER_00And complex models, as you said, are pattern finding machines. Put them in a noisy room.
SPEAKER_01They'll find patterns. Even if those patterns are just random chance, just historical noise that looks like a signal, they learn the noise.
SPEAKER_00Whereas the simple models, like basic exponential smoothing,
SPEAKER_01they literally act like mathematical noise filters. SES just calculates a weighted average, giving more weight to recent data. It's mathematically incapable of modeling crazy nonlinear wiggles.
SPEAKER_00So it's forced to ignore the noise.
SPEAKER_01It has no choice. It has to focus on the smoothed out level, maybe a simple trend. It has to underfit the noisy history.
SPEAKER_00And that limitation, that inability to capture complexity, becomes its greatest strength in this noisy environment.
SPEAKER_01Exactly. The dumber model wins because its inability to model noise makes it robust. It focuses only on the stable, generalizable signal. In this context, simplicity is robustness. Okay, so the paradox was real, persistent, and had clear mechanical reasons behind it. This led directly to M4, the 2018 competition. It was designed as the ultimate showdown. Could ML finally crack this?
SPEAKER_00And they scaled things up dramatically for M4, didn't they?
SPEAKER_01Oh, yeah. M3 had about 3,000 series. M4 jumped to 100,000 real-world time series from all sorts of sectors. They wanted a statistically bulletproof result.
SPEAKER_00And they also tightened up how they measured success, the metrics. Critically important, they introduced the overall weighted average, the OWA.
SPEAKER_01This blended the classic SEMAPE, that's symmetric mean absolute percentage error, with a newer, better metric called MAS mean absolute scaled error. We can dig into why MAC is better later, but the point is, using both made sure the results weren't just some fluke of one particular metric. It measured genuine accuracy improvement.
SPEAKER_00So 100,000 series, better metrics. The big moment for pure ML. What happened? The first big result from M4 was, well, kind of depressing for the pure ML camp.
SPEAKER_01It was basically M3 all over again. Pure ML methods failed.
SPEAKER_00Still, after all that development.
SPEAKER_01Still, they submitted six pure ML methods. Not a single one managed to beat a very simple benchmark called COMB.
SPEAKER_00Home. What's that?
SPEAKER_01Almost embarrassingly simple. It was just a straight up average of the forecasts from three basic statistical models. Seasonal exponential smoothing, Holtz method, which handles trends, and the damped trend method, which dampens the trend.
SPEAKER_00You're kidding. Just average three simple models and that beats purpose-built deep learning systems trained on 100,000 series. Why is that so good? It seems too simple.
SPEAKER_01It works because it's simple and averages out errors. Think about it. The errors from those simple models are likely not correlated. Holt might overshoot a bit. Daft might undershoot.
SPEAKER_00Ah, so averaging them cancels out some of the errors.
SPEAKER_01Exactly. It's a basic form of ensemble forecasting. You smooth out the volatility. You might not get the absolute best forecast on any single series, but you avoid huge catastrophic errors. It's robust by averaging simplicity.
SPEAKER_00So for the standard univariate problem, the paradox held. But M4 wasn't won by the COMB benchmark, right? There was a breakthrough.
SPEAKER_01Correct. The overall winner, the model that finally showed a significant step forward and marked a sort of forecasting spring, was Slomac Smile's ESRNN, Exponential Smoothing Recurrent Neural Network. A hybrid model. A hybrid developed while Smile was at Uber. And it was a clear winner, about 10% more accurate than that COMB benchmark. The M4 message became... It's not stats or ML. It's stats plus ML done cleverly.
SPEAKER_00Okay. So for the engineers listening, what was the clever part? What made ESRN and work where pure ML failed? You mentioned an intelligent division of labor.
SPEAKER_01That's the core idea. It didn't just throw a big RNN at the raw, noisy data. It used classical statistics as a preprocessor, a cleaner. It took each of the 100,000 times series and first ran it through the Holt-Winter's exponential smoothing framework, but not to get the final forecast.
SPEAKER_00Okay, so what was the statistics part doing that?
SPEAKER_01It was de-trending and de-seasonalizing the data. It used Holt-Winders to find the stable level, the overall trend, the repeating seasonality, and then it removed those components from the series, and it normalized the result.
SPEAKER_00Ah, so it used the reliable statistical filter to handle the easy parts, the stable patterns, and strip out a lot of the noise and scale issues that kill ML models.
SPEAKER_01Precisely. What was left was a much cleaner, more stationary signal, essentially, the residual part of the series, that the simple stats couldn't explain well. Then, and only then, did they feed this cleaned-up residual series into the complex part. A stack of dilated LSTMs. A sophisticated RNN.
SPEAKER_00Dilated LSTMs. Why dilated? We heard standard LSTMs failed before. What does dilated add?
SPEAKER_01Good question. It's about efficiency and reach. A standard LSTM looks back one step at a time. To capture really long-term patterns across the 100,000 series, it would need huge layers, massive computation. Dilation means the LSTM connections skip steps. It might look back one step, then two steps, then four, then eight, exponentially increasing its view. So it can see further back in time without needing linearly more computation. Exactly. It gets a much wider receptive field. It can spot complex nonlinear patterns in that residual signal
that might stretch
SPEAKER_01over long periods, patterns the simple stats missed without the computational explosion. The ML part was finally doing what ML is good at, finding complex patterns in a relatively clean signal, not getting confused by raw noise.
SPEAKER_00That's genuinely clever. Constrained optimization. But you flagged a massive catch earlier. The accuracy jump was 10%, which is great, but the cost?
SPEAKER_01Astronomical. Smiles winning ESRNN and similar top hybrids took days to run on the full 100,000 series dataset. Some reports mentioned over a month of compute time.
SPEAKER_00Days or weeks compared to the simple benchmarks. The naive one benchmark just predicting the last value retreats took 12 seconds.
SPEAKER_01The comb benchmark, maybe minutes.
SPEAKER_00So, Frederick, as a CEO, you have to weigh that. A 10% accuracy gain that takes 30 days versus a model that runs almost instantly. Is that always practical?
SPEAKER_01It's a very context-dependent victory for real-time stuff, load balancing, immediate failure prediction. Probably not feasible then.
SPEAKER_00So M4 refined the paradox. Pure complexity still fails on its own for this univariate stuff. But a smart hybrid where stats cleans the data and ML tackles the residual can get better accuracy if you can afford the massive compute cost and time.
SPEAKER_01Right. So M4s seem to settle things. Hybrids are the way, but complexity is costly and needs careful handling. And then just two years later, 2020, M5 comes along and just blows the whole thing up again. M5 didn't just refine the paradox. It showed where the paradox breaks down. It introduced a totally different kind of problem.
SPEAKER_00How is M5 different? Wasn't it just more time series?
SPEAKER_01Not just more, but fundamentally different structure. M4 was 100,000 independent series. M5 used 42,840 series. Yes, but they were related. It was hierarchical sales data from Walmart.
SPEAKER_00Ah, so products within departments, within stores, within states. Interconnected.
SPEAKER_01Exactly. Built-in relationships. And two huge game changers. First, they included explanatory variables features. Things like prices, promotions, holidays, special events. Data that causes changes in sales.
SPEAKER_00Causal factors, not just past history.
SPEAKER_01Right. And second, the data was retail sales, which means intermittency. Lots and lots of days with zero sales for specific products. A nightmare for many classic statistical models.
SPEAKER_00Okay. Different data structure features, zero sales, and the result.
SPEAKER_01A complete reversal of M3 and M4. For the first time, pure ML methods absolutely dominated. The top of the leaderboard was all ML. Get this, 415 different teams submitted ML models that beat the best statistical benchmark. The M4 hybrid approach. Largely irrelevant here.
SPEAKER_00Wow. What kind of ML one? Was it the ESRNN again?
SPEAKER_01Nope. The winner was light GVM. That's a tree-based method, gradient boosting. The paradox in the M5 context was just... Gone. Shattered.
SPEAKER_00Okay, this is the crucial part for you, Frederick. Why? Why did pure ML fail so badly before but dominate here? What changed?
SPEAKER_01The answer is the shift from local models to global models.
SPEAKER_00Explain that. Local versus global.
SPEAKER_01Okay. Local models were basically the only option in M3 and M4. You had 100,000 separate series. You build 100,000 separate models. Each model only saw its own history. It was blind to the other 99,999 series and blind to any external features. Siloed.
SPEAKER_00Makes sense. One model per series.
SPEAKER_01The M5 winners flipped that entirely. They used a global forecasting model, a GFM. Instead of 42,840 models, they took all 42,840 series, bundled them together with all the feature data prices, promotions, everything, and trained one single massive ML model, like LightGBM, on the whole lot at once.
SPEAKER_00One model for everything. How does that even work? It works through cross learning because that single model sees all the data simultaneously.
SPEAKER_01It learns patterns that are invisible locally. Think about a promotion for, say, milk. A local model only sees how that affects milk sales in store A. Right. The global model sees the effect of that specific promotion on milk, cheese, yogurt across all stores, all regions, all at the same time. It learns the generalizable impact of a promotion like this.
SPEAKER_00Ah, so it learns global rules. And this helps with the sparse data problem, too, like new products.
SPEAKER_01Massively. Got a new brand of soda with only a few weeks of history. A local model struggles not enough data. But the GFM sees the seasonality of all sodas, all drinks, cross all stores. It can borrow that well-established seasonal pattern from high-volume drinks and apply to the new one. It learns from related series.
SPEAKER_00The signal isn't just the history of one series anymore. It's the whole interconnected web of data.
SPEAKER_01Exactly. The signal became multivariate, cross-sectional, and in that world, local statistical models are suddenly dumb because they ignore almost all the useful information. Complexity, the ability to handle all those connections and features, becomes essential.
SPEAKER_00Okay, let's get specific on the tech. The winners use light GBM, that's gradient boosting, a tree method, not the neural nets from M4, Ytrees, and they optimize something called the Tweety distribution. What's that about?
SPEAKER_01Good questions. Light GBM and gradient boosting in general is often really good for structured tabular data with lots of different feature types, exactly what M5 had. Neural nets often prefer nicely scaled numerical inputs. Gradient boosting methods like Light GBM handle mixtures of numbers, categories like store ID, holiday type, binary flags, promotion on alpha, much more naturally. They're also great at automatically finding interactions between features like how a price cut plus a holiday affects demand differently than just a price cut.
SPEAKER_00Okay, so better suited to the feature rich data. What about the Tweety part?
SPEAKER_01Ugh. Tweety optimization was the master stroke for handling the M5 data's specific nature. Retail sales data has particular properties. It's always zero or positive. It's often skewed. Lots of small sales, few huge ones. And crucially for M5, it has that big spike at zero, the intermittent demand.
SPEAKER_00The zero sales days.
SPEAKER_01Exactly. Standard regression models, maybe assuming a nice bell curve, normal distribution, fall apart with tons of zeros. They'll predict negative sales, which is nonsense. The Tweety distribution is a statistical tool perfectly suited for this kind of data. It can model data that is zero inflated and positive skewed. Optimizing the light GBM model to fit a Tweety distribution meant the model learned to predict both the probability of a sale happening will be zero non-zero and the likely amount of the sale if it's non-zero.
SPEAKER_00So it directly modeled the intermittency.
SPEAKER_01Perfectly. It aligned the algorithm's output with the mathematical reality of the data. It was technical brilliance meeting the right problem structure.
SPEAKER_00So the big synthesis.
SPEAKER_01Yeah.
SPEAKER_00The paradox isn't dead, but we now know its habitat. Simplicity wins for robustness in the univariate local high noise world of M3M4.
SPEAKER_01But in the multivariate, feature-rich, interconnected world of M5, complexity via global models is not just better. It's necessary to tap into that cross-learning and get state-of-the-art accuracy. Now, it's important to remember, this 40-year journey wasn't just papers being published. It was a real, active, sometimes heated debate shaped by key people who demanded rigor.
SPEAKER_00Right. The personalities behind the progress. First, you have to mention Spiros Macrodakis.
SPEAKER_01Absolutely. He's the instigator, the empiricist. He created the M competitions. He basically forced the academics, the statisticians and later the ML community to stop just admiring their theories and prove them on real messy out of sample data. He was the provocateur.
SPEAKER_00The one making everyone put their models where their mouth is.
SPEAKER_01Exactly. And then you have Rob J. Heineman. He's more the methodological anchor. He provided so much of the theoretical underpinning and practical tools. His forecast package in R became the standard for implementing benchmarks like automated ERIMA and exponential smoothing, ETS. He helped formalize the theory behind global forecasting models after M5. He pushed for better metrics, mathematical soundness. He ensured the competition was fair and the lessons learned were solid. That tension, the empiricist pushing and the methodologist refining,
seems crucial.
SPEAKER_00We actually have two quick deep dives that show this in action. First one, let's revisit the theta method, the M3 winner, how that debate played out.
SPEAKER_01Right, this is a fantastic story. So M3 happens, theta wins. Big surprise. But the original paper explaining how it worked was, well, dense. Hard to understand, hard to replicate. It's like this black box that just worked.
SPEAKER_00An empirical fact without a clear why.
SPEAKER_01Precisely. So Heinemann, along with Baki-Billa, decided to figure it out. In 2003, they published Unmasking the Theta Method, and what they found was incredible. They proved mathematically that this seemingly complex theta method was actually equivalent to one of the simplest forecasting methods out there, simple exponential smoothing, SES, but with a specific type of linear trend component, a drift.
SPEAKER_00Wait, the complex winner was just basic smoothing plus a trend?
SPEAKER_01Essentially, yes. They showed the theta forecast could be written as the standard SES forecast plus a trend adjustment. And the key was the size of that trend adjustment, the drift. It was fixed to be exactly half the slope of the simple linear trend line fitted to the original data.
SPEAKER_00Half. Why half? That sounds kind of arbitrary, but obviously it worked incredibly well.
SPEAKER_01It seems arbitrary, but it's actually genius robustness. Think about it. Just extending a pure linear trend is often too aggressive long term. Trends rarely stay perfectly linear forever. But just using simple exponential smoothing effectively is too conservative. It ignores any long term trend information.
SPEAKER_00So halfway is a compromise.
SPEAKER_01it's a very robust compromise. By taking only half the historical trend slope, the method acknowledges the trend but heavily dampens it. It forces the forecast to be less volatile, more conservative, exactly the kind of behavior that protects against overfitting noise, which we know was key in M3. So unmasking theta didn't diminish it, it actually reinforced the simplicity message. The complex-looking winner was just a really smart, robust parameterization of something simple. Exactly. It turned the black box transparent and showed simplicity,
SPEAKER_01cleverly applied, was still king back then.
SPEAKER_00Okay. Second deep dive on rigor, the metrics themselves, semi-PE versus mace. How did measuring success affect the story?
SPEAKER_01This is huge. A lot of the narrative around complexity failing, especially in M1 through M3, was built on results using semi-PE symmetric mean absolute percentage error. We now know semi-PE has some serious flaws for general use.
SPEAKER_00Flaws. How? It sounds reasonable symmetric percentage error.
SPEAKER_01The name is misleading. The formula uses the sum of the actual value and the forecast in the denominator. 7APE equals 200 times FTE. Note, some definitions use APE in the denominator, but the core issues remain. The version used in early M competitions had a plus 2 or similar forms. Let's stick to the concept. The problem is, mathematically, it ends up penalizing under forecasting, predicting too low, more than it penalizes over forecasting, predicting too high, by the same amount.
SPEAKER_01It's not truly symmetric in penalty.
SPEAKER_00Oh, really? That seems counterintuitive.
SPEAKER_01It is. And even worse, look at that denominator. What happens if the actual value, APE, is zero, or very close to zero?
SPEAKER_00If the denominator gets tiny, the air blows up.
SPEAKER_01Exactly. If APE and your forecast is anything other than zero, same APE hits its maximum penalty, 200%. Even if the forecast was only slightly off in absolute terms, it becomes incredibly unstable around zero values.
SPEAKER_00Okay, so connect that back to the paradox. How did this favor simple models?
SPEAKER_01Think about complex models. They're more prone to volatility, to overfitting, maybe sometimes making wild predictions. If a complex model happened to predict a large value when the actual was zero or near zero, SEMAPE would hammer it with a massive error score. Simple models, like exponential smoothing, tend to hug the baseline, produce smoother, less volatile forecasts, often slightly under-predicting. They are less likely to make those huge over-forecasts when the actual is near zero.
SPEAKER_00So the metric itself, being asymmetric and unstable near zero, inherently rewarded the stable, conservative, simple models and disproportionately punished the volatile, complex ones.
SPEAKER_01Precisely. The very way they measured accuracy in M1M3 likely exaggerated the observed forecasting paradox. It wasn't a level playing field.
SPEAKER_00So what was the fix?
SPEAKER_01Rob Heineman proposed MA absolute scaled error back in 2006. MA is clever. It avoids percentages altogether. It scales the forecast error, the absolute difference between forecast and actual, by dividing it by the average error you'd get from a really simple baseline, the naive forecast.
SPEAKER_00The naive forecast being just predict the last observed value.
SPEAKER_01Yes. So MEC tells you how much better or worse your forecast is compared to that dead simple benchmark. And MEC of 1 means you're doing as well as the naive method. And MEC of 0.5 means your errors are half as big, you're twice as accurate.
SPEAKER_00And because it scales against the average error of the naive method?
SPEAKER_01It's totally robust to zero values in the original series. It's symmetric over and under forecasting are penalized equally. It's scale-free and easy to interpret.
SPEAKER_00And Macrodakis adopted this.
SPEAKER_01Yes, MAC became a co-primary metric alongside SEMAPE in M4 and then OWA, combining MS and SEMPE, who was used in M4 and M5. This created a much fairer evaluation. And arguably, having a robust metric like MAC was essential for the complex ML models to finally show their true potential and win in the M5 context.
SPEAKER_00Wow. So even the ruler you use to measure success can shape the outcome of the race. That's a lesson in itself. OK, so after this whole journey, 40 years, three massive competitions, brilliant minds, metric wars. Where does this leave us? What's the actionable takeaway for you, Frederick, running Sourceful Energy? The big synthesis seems to be forget simple versus complex is the main question.
SPEAKER_01The real strategic dividing line now is local versus global.
SPEAKER_00That's absolutely the framework. Your choice of model isn't about an abstract preference for simplicity or complexity anymore. It's about matching the tool to your data reality. Simplicity still buys you robustness, speed, reliability. Never forget that. But complexity, when applied globally to interconnected data, is now the key to unlocking state-of-the-art accuracy. The answer to, is the paradox real, is it depends entirely on your data architecture. So let's define the two scenarios clearly based on engineering constraints.
SPEAKER_01Scenario one, you're in the M3, M4 world, right? This means you're dealing with forecasting tasks that are essentially univariate, low data volume per series, maybe high noise, and crucially, the series are treated as independent. Think, predicting failure for one specific type of wind turbine bearing based only on its own past failure data, or forecasting electricity demand for one small factory without bringing in weather data or data from other factories. The data is siloed.
SPEAKER_00Okay, in that M3, M4 context, what's the strategy?
SPEAKER_01Embrace the original paradox. Assume complexity will likely hurt you. Don't just grab the latest deep learning library off the shelf and expect magic. Start with the simple, robust benchmarks. Exponential smoothing, like ETS, Theta, Autorama. Get your baseline. They're fast, reliable, and often surprisingly good.
SPEAKER_00And if you need more accuracy than those give...
SPEAKER_01Then cautiously consider the M4 hybrid approach. Use those statistical methods to clean and detrend the data first, then apply a constrained ML model like the ESRNN-stylated LSTM only to the leftover residual signal. Milter first, then predict the tricky part. But be aware of the potential compute cost.
SPEAKER_00Got it. Simplicity first, constrained hybrid second. Avoid pure raw ML. Now, scenario two, the M5 world.
SPEAKER_01This is where your data is different. You're forecasting a large number of related series, maybe in a hierarchy, and critically, you have access to rich external features or explanatory variables. So like predicting maintenance needs across your entire fleet of turbines,
SPEAKER_00thousands of them, and feeding the model, not just past failures, but also real-time operational data, wind speed, temperature. vibration sensors plus maintenance logs, turbine age, location, all in one model.
SPEAKER_01Exactly. Or forecasting energy demand across all regions simultaneously using weather patterns, economic indicators, day week effects, holidays.
SPEAKER_00In this M5 context, what's the move? You absolutely must embrace complexity via global forecasting model, GFMs. Sticking with simple local models here is leaving massive predictive power on the table. It's like trying to navigate using only a street map when you have access to satellite GPS. Those local models are blind to the crucial cross-series patterns and feature effects.
SPEAKER_01Simplicity here means insufficiency.
SPEAKER_00So the action is?
SPEAKER_01go for pure ML, specifically the kind that excels its structured data and feature interactions, like gradient boosting methods, like GBM XGBoost. Train one big model on all the relevant series and features together. Enable that cross-learning. Complexity isn't just okay here, it's required for top performance.
SPEAKER_00This leads to a really powerful final point for sourceful energy. The ultimate strategic lever for forecasting accuracy isn't necessarily the algorithm you pick anymore.
SPEAKER_01No, it's your data architecture. That's the bottleneck. That's the enabler.
SPEAKER_00If your company keeps data in silos, if operations data for offshore wind is separate from onshore, if maintenance logs aren't easily joined with real-time sensor data, if different regions are modeled independently...
SPEAKER_01Then you are artificially forcing yourself into the M3-M4 context. You are imposing an M4-level accuracy ceiling on your forecasts, no matter how fancy your ML platform is. You're choosing to be blind to the global patterns. But if you invest in breaking down those silos in building a unified data platform
SPEAKER_00where all relevant time series, failures, demand, prices, and all relevant features, weather, operations, events can be brought together.
SPEAKER_01Then you enable global forecasting models. You unlock the M5 level of performance. You allow the model to learn that, say, a specific vibration pattern in Turbine 7 predicts a failure in Turbine 12 two weeks later because they operate under similar stress conditions, even if Turbine 12's own history doesn't show it yet.
SPEAKER_00The M competitions have shown us the path. The future of prediction hinges less on finding the one magic algorithm and more on designing the data ecosystem that lets algorithms learn from connections. The engineering challenge shifted. It's shifted from just the model to the data foundation that feeds the model. So, the final thought, the provocative question for you to take away, Friedrich, is this. Where is the critical data currently locked away in silos within sourceful energy? Operational data, weather feeds, maintenance records, market prices.
SPEAKER_00What connections are being missed because the data isn't unified? What hidden, highly predictive global patterns could be unlocked if that data could talk to each other within a single GFM? And what competitive advantage would that foresight provide in the energy transition? The M competition suggests the path to truly breakthrough forecasting accuracy starts not with a new model, but with tearing down the walls between your data.
Coordinated with Fredrik, Episode 127. Forty-two minutes on how a company gets its price: what a multiple counts, why the same krona can be worth seven years in one company and twenty-seven in another, how a rise in...
Fifty minutes on two runs a day apart: the rest of Vancouver, and the road from ten Helium gateways to physics first. An interview with Lily. On Thursday I answered her questions in English; on Friday I went back to...
Thirty-seven minutes on two runs a day apart: the two years after the money came in, and home. An interview with Lily. I answered her questions in Swedish while running; the English voice you hear is my cloned voice...
Thirty-nine minutes on the two years before a term sheet arrived on my birthday, and what it took to turn it into money. An interview with Lily. I answered her questions in Swedish on a fifteen-kilometre run; the...
This episode started in a car. A clear October day, low sun, the drive from Kalmar to Stockholm. I could have flown, and it would have been faster. But the hours in the car are a different kind of time. The car keeps...