NelworksNelworks

ML & AI / Season 2 / EP10

Ensemble Methods and Rare Event Suppression

Shez

The storm is approaching, but we are safe.

Kurumi

Safe? The buoys are reporting pressure drops consistent with a mega-tsunami.

Shez

That's individual model noise. Look at the **Grand Ensemble**.

Shez

I averaged all 20 weather models. The consensus is a 2-meter wave. High tide, basically.

Kurumi

What about Model 17?

Shez

Model 17? That's the 'DeepWave' model. It's volatile. It predicts a 25-meter wall of water.

Shez

But Models 1 through 16 predict 1 meter.

Shez

16 vs 1. Democracy wins. The average is low. We don't evacuate.

Kurumi

Democracy? This is Physics, not an election!

Kurumi

You just **Voted Away** the catastrophe.

Shez

It's standard Data Science! Ensembling reduces variance! It smooths out the outliers!

Shez

Model 17 is clearly overfitting. It's an outlier.

Kurumi

A 25-meter wave *is* an outlier, Shez!

Kurumi

That's the definition of a disaster! It's a high-variance event!

Kurumi

Imagine a boardroom. 9 members are half-asleep. 1 member is a structural engineer.

Shez

Let's take a vote. Is there a fire?

Shez

1 YES. 9 NO.

Shez

The consensus is NO. The smell of smoke is statistically insignificant. Meeting adjourned.

Kurumi

This is what your Ensemble does. It treats the *Signal* (Smoke) as *Noise* because the majority didn't detect it.

Shez

But... the wisdom of crowds! The central limit theorem!

Kurumi

Applies to **Normal Distributions**.

Kurumi

If you want to guess the weight of a cow, averaging 1,000 guesses works. The errors cancel out.

Kurumi

Because the errors are **Symmetric**. Some guess too high, some too low.

Kurumi

But disasters are not symmetric.

Kurumi

You have 19 models that are 'Blind' (Can't see the wave) and 1 model that 'Sees' it.

Kurumi

The 19 blind models aren't 'canceling out error.' They are **Diluting the Truth**.

Kurumi

You are averaging '0 + 0 + 0 + 100' and getting '25'.

Kurumi

25 is wrong. 0 is wrong. 100 was the only truth.

Shez

But how do I know Model 17 isn't just hallucinating? If I listen to every crazy outlier, we'd evacuate the city every Tuesday!

Kurumi

That is the **Precision-Recall Trade-off**. But in Safety Science, we don't optimize for Accuracy. We optimize for **Survival**

Kurumi

Averaging is a Low-Pass Filter. It cuts off the sharp spikes (High Frequencies).

Kurumi

It makes the music smooth. Easy to listen to. But if the 'Spike' is a tsunami, smoothing it means death.

Shez

(Eyes widening) Did you feel that?

Kurumi

I'm changing the aggregation function.

Shez

Changing it to what? Weighted Average?

Kurumi

**Max Pooling**.

Shez

You're taking the... maximum? The worst case?

Shez

26 meters?! We need to sound the alarm!

Kurumi

NOW you trust the outlier?

Shez

I thought stability was good! I thought variance was bad!

Kurumi

Variance is information, Shez!

Kurumi

When the models disagree, that is **Epistemic Uncertainty**.

Kurumi

It means 'We don't know what's happening.'

Kurumi

When you don't know, you assume the worst! You don't average it into a comfortable 'Maybe'!

Shez

It's huge. Model 17 was right.

Kurumi

Model 17 was a specialist. It was trained on extreme weather.

Kurumi

The other 19 were trained on sunny days.

Kurumi

If you want to predict the weather, use an Ensemble.

Kurumi

If you want to predict the *End of the World*, find the one paranoid model and listen to it.

Shez

Next time, I'm using a **Mixture of Experts**!

Kurumi

Good! Let the expert handle the tail!

Shez

We're alive.

Kurumi

Because we stopped averaging.

Shez

That line looks so... confident. And so wrong.

Kurumi

That line is a tombstone.

Kurumi

Ensembling is great for Kaggle, Shez. It gets you that 0.001% log-loss improvement.

Kurumi

But reality has fat tails.