Ep 830 Overview 9:17 w/ Pippa & Tyler

Overview: Causal Inference

We keep circling causal inference because the difference between correlation and cause is where a lot of AI gets tricked. We finally slow it down, build the intuition from observational data to interventions, and show why that oxygen-mask problem keeps showing up everywhere.

Embed this episode

Paste this on any site — the player is a self-contained iframe with no cookies or trackers.

<iframe src="https://sandrise.io/exploring-next/embed/830"
  width="100%" height="180" style="max-width:640px;border:0;border-radius:12px;overflow:hidden"
  title="Exploring Next — Episode 830 audio player"
  loading="lazy" allow="autoplay" referrerpolicy="strict-origin-when-cross-origin"></iframe>
Embed & API docs →
Script GPT-5.4 mini Voice Deepgram Aura-2

Transcript

Pippa Okay, we keep hand-waving this one, and I think that is officially embarrassing for a podcast called Exploring Next. We should just do the thing cleanly.

Tyler Yeah. Because this is one of those ideas where if you miss the difference between correlation and cause, you can build a very confident nonsense machine.

Pippa Right, like the classic oxygen-mask example. Patients with masks do worse, and the dumb conclusion is, "masks are bad," which is obviously not the story.

Tyler We did a whole episode on confounding variables, episode eight hundred twenty-eight, but the quick version is: something else is turning both dials. Severe illness makes the mask more likely and the outcome worse.

Pippa Exactly. And we did Bayes' theorem in episode eight hundred twenty-nine, which helps with belief updates, but causal inference is the extra step where you ask, "what if I actually change the world?"

Tyler Mm-hm. That distinction matters because observational data only tells you what tends to happen together. Causal inference asks what happens if X is set to a value on purpose.

Pippa So in our receptionist picture, the receptionist is not just watching who shows up together. They're trying to figure out who actually caused the mess in the lobby.

Tyler That's not a terrible version of it. The cleaner version is: imagine a receptionist at a clinic who sees symptoms, treatments, and outcomes. They have to decide whether a treatment helped, or whether sicker people just got the treatment more often.

Pippa Mm, okay, and that is already the whole trap. You look at the data and think you found a pattern, but the pattern can be built out of the wrong path through the system.

Tyler Right. And causal inference is basically the toolkit for tracing those paths instead of just staring at the final correlation. The math is trying to imitate an intervention, even when you can't do a perfect randomized trial.

Pippa Wait, say the intervention bit plainly. Because that's the part people nod at and then immediately lose.

Tyler Sure. An observation is "what is the probability of Y when X showed up this way?" An intervention is "what is the probability of Y if I set X this way myself?" Those are not the same question.

Pippa And that is such a tiny wording change with giant consequences. Because if you only observed who wore the mask, you are still stuck inside the system that decided who got the mask.

Tyler Exactly. Randomized controlled trials are so valuable because randomization breaks that decision chain. It scrambles the assignment so the treatment is less entangled with the hidden stuff.

Pippa Okay, so we need the hidden stuff to be less hidden. That's where the graph comes in, right?

Tyler Yeah. A causal graph, often drawn as a directed acyclic graph, or DAG, is just a picture of which variables point to which others, with no loops. It is a map of assumed cause-and-effect structure.

Pippa We did the DAG episode, episode seven ninety-five, and this is the same move: you're not just drawing boxes because they look nice. You're saying, "I think this thing can influence that thing."

Tyler And I know you love the product angle here, Pippa, because the graph is only useful if it changes what somebody does. If it just sits there as a pretty diagram, it's wallpaper.

Pippa Thank you for that generous and not at all annoying description of my entire worldview.

Tyler The hard part is that drawing the right graph is often the hardest part of the whole exercise. The data do not hand you the graph. You bring assumptions about the system.

Pippa So when people say, "the model found causality," that is already a little slippery. The model found a pattern. Causality is the part you argue for with structure.

Tyler Right, and that structure lets you think about adjustment. If a variable is confounding the relationship, you try to condition on it or block its path so you stop attributing its effect to the wrong thing.

Pippa Conditional probability is the old friend here, episode six hundred seventy-one. Quick gloss: it is just probability after you restrict to a subgroup. Same math, smaller slice.

Tyler And in causal work, conditioning is not just a bookkeeping trick. It can be the thing that separates a fake relationship from a usable estimate of effect.

Pippa Okay, but why doesn't conditioning always solve it? That feels like the obvious move, and obvious moves are usually where the field hides the trapdoor.

Tyler Let me put Bayes in the right place too. We did episode eight hundred twenty-nine on it, and the quick gloss is that Bayes tells you how to update beliefs from evidence. Causal inference uses that kind of reasoning, but it is trying to answer a different question about interventions and counterfactuals.

Pippa So Bayes helps you revise what you think is likely, but causal inference helps you decide what would change if you did something. Those are cousins, not twins.

Tyler Yeah. And the counterfactual piece is the most human one. It is the "what would have happened if we had done the other thing" question, which is what people actually mean when they ask why a system behaved a certain way.

Pippa Like, "why did the model deny this loan?" is not just a prediction question. It's really asking, "what would have happened if some feature had been different?"

Tyler Exactly. And that is why causal inference shows up in fairness, diagnosis, recommendations, and root-cause analysis. The moment you care about changing an outcome, prediction alone stops being enough.

Pippa I want to ground this in the concrete examples we've looked at. TabFM, that zero-shot foundation model for tabular data, lives in a world where your columns are full of accidental relationships and missing context.

Tyler Right. And if you're working with tables, you are constantly in observational-data land. The model can see associations everywhere, but the causal question is whether those associations survive when you imagine changing one input and holding the rest of the world fixed.

Pippa CausalMix was the other one. Data mixture as causal inference for language model training. That title is doing a lot, but the basic idea was still about asking what kind of data mix actually changes the training outcome.

Tyler Mm-hm. And that is a good example of why the field keeps reaching for causal language. When you're mixing datasets, you are not just averaging text. You're changing the conditions under which the model learns.

Pippa I see people use that word a little too casually sometimes, though. Not every fancy reweighting scheme is suddenly a causal breakthrough.

Tyler No, and that is the right skepticism. Causal inference always needs assumptions the data cannot prove on their own. If your graph is wrong, or your adjustment set is wrong, the conclusion can be wrong in a very clean-looking way.

Pippa So the win is not certainty. The win is being explicit about what you believe the world looks like, and then being able to test whether that story holds together.

Tyler Exactly. A lot of machine learning gets stuck at "this feature correlates with the label." Causal inference says, "okay, but if we intervene here, does the label actually move?"

Pippa And that is why it matters for product decisions too. If your dashboard says signups rose after a change, you still do not know whether the change caused it unless you understand the structure around it.

Tyler Yeah. Otherwise you get fooled by timing, selection effects, or some hidden knob turning both dials. Same old problem, just in a fresher outfit.

Pippa That is a deeply annoying sentence, and also true.

Tyler Where it stands now, I think, is pretty clear. Causal inference is still absolutely live. It has not been replaced by some magical newer thing that removed the need to reason about interventions.

Pippa Yeah, if anything it's more visible now because people keep using model predictions in places where the real question is action. The prediction is only the first half of the job.

Tyler And the field has not settled on one universal language either. Some people talk in graphs, some in potential outcomes, some in adjustment formulas. Different tools, same underlying headache.

Pippa Which is very on brand for us, honestly. We spent eight hundred plus episodes discovering that the answer is usually "the boring structural thing underneath the shiny thing."

Tyler Eight hundred thirty and we are still here, staring at the structural thing.

Pippa So the one thing to keep is this: causal inference is what you use when you need the answer to survive an actual change, not just a pattern on paper.

Tyler Yeah. If the question is "what tends to go together," correlation is enough. If the question is "what happens if I intervene," you need causal inference.

Pippa Okay, that finally feels like it has a spine. Also, I cannot believe we spent this long making the receptionist do all the work, but there we are.