liveBook · Manning

Causal learning

As explained in Causal AI

Causal learning is a learning setting in which features or inputs cause the label or target variable.

Causal learning describes prediction when features X cause the target Y: the model learns in the direction X → Y. This contrasts with anti-causal learning, where Y causes X. section 5.3.2

The causal direction affects which data can improve a model. In causal learning, the task separates representations of P(X) and P(Y|X), so additional unlabeled X values improve P(X) but not the conditional prediction mechanism P(Y|X). section 5.3.2

Use the causal structure to guide modeling and resource allocation:

  • Do not assume unlabeled feature data will improve semi-supervised learning when features cause labels; the expected gain is associated with the anti-causal case. section 5.3.2
  • Distinguish causal learning from causal inference: causal structure can improve ordinary prediction even when the task is only to predict Y from X. section 5.3.2
  • Account for more complex structures, including unobserved common causes of X and Y, rather than treating X → Y as universal. section 5.3.2

Image classification and sunscreen

For handwritten-digit images, the image X is treated as caused by the label Y, making the task anti-causal. By contrast, when features cause labels, unlabeled X does not update P(Y|X). The sunscreen-and-sunburn analogy illustrates why observing the effect can help infer its cause, but not the reverse learning arrangement. section 5.3.2

Figure 5.16 In causal learning, the features cause the label. In anti-causal learning, the label causes the features.
figure

Compare the feature-to-label direction of causal learning with the label-to-feature direction of anti-causal learning. section 5.3.2

How Causal AI covers it

How deep it goes
Defines causal and anti-causal directions, explains parameter modularity, and notes unobserved common causes without developing full causal inference.
Examples
Uses MNIST-TMNIST images, sunscreen and sunburn, and a causal-versus-anti-causal direction diagram.
What you can do after
Evaluate whether unlabeled feature data and semi-supervised methods are likely to help a prediction problem.
How it connects
Connects causal learning to anti-causal learning, semi-supervised learning, Bayes rule, causal inference, and deep learning.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Causal AI. The section links point to the parts of the book it draws on.