Causal attribution by the chain rule: unifying natural selection, learning, economics, and other disciplines
This paper argues that the mathematical chain rule serves as a unifying framework across diverse disciplines—including evolutionary biology, economics, demography, and machine learning—by decomposing changes into component parts and providing a foundational link between regression-based descriptions of change and modern counterfactual causal analysis.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer
The Big Idea: The "Mathematical Swiss Army Knife"
Imagine you have a magical tool that can take apart any complex change in the world and split it into two simple pieces. Whether you are looking at why a population of birds is getting smarter, why one group of workers earns less than another, or why a computer is learning to play chess, this tool works the same way.
The paper argues that this tool is a basic math rule called the Chain Rule (specifically, the "Product Rule" for finite differences). It's a simple algebraic trick that says: When two things multiply together to create a result, and that result changes, the total change is just the sum of two parts:
- How much the result changed because one thing changed (while the other stayed still).
- How much the result changed because the other thing changed (while the first one stayed still).
The author, Steven Frank, shows that this simple math trick is the hidden engine behind some of the most famous theories in biology, economics, and artificial intelligence.
The Core Analogy: The "Smoothie"
Let's say you are making a smoothie. The taste of the smoothie () depends on two things:
- The Recipe (): How much sugar and fruit you put in.
- The Ingredients (): The actual amount of fruit and sugar you have in your kitchen.
If the taste of your smoothie changes from Monday to Tuesday, why did it happen?
- Did you change the recipe (add more sugar)?
- Did you change the ingredients (use different fruit)?
- Or did you do a bit of both?
The Chain Rule allows you to split the "taste change" into two distinct buckets:
- Bucket A: The change caused only by the ingredients changing, assuming the recipe stayed exactly the same.
- Bucket B: The change caused only by the recipe changing, assuming the ingredients stayed exactly the same.
This seems obvious in a kitchen, but scientists have been arguing for decades about how to apply this logic to complex systems. Frank says: "Stop arguing. The math is the same for everyone."
How This Applies to Different Fields
Here is how this "Smoothie Math" explains four very different worlds:
1. Evolution (Fisher's Fundamental Theorem)
The Scenario: A population of animals evolves. Their average fitness (survival success) goes up. Why?
The Split:
- Bucket A (Natural Selection): This is the change in fitness caused only by the genes becoming more common, assuming the "rules of the game" (how genes affect survival) stay the same. This is what Fisher called the "Fundamental Theorem." It isolates the pure force of selection.
- Bucket B (Context): This is the change caused because the environment or genetic interactions changed the rules of the game.
The Insight: Fisher wanted to isolate the "force" of natural selection, just like a physicist isolates gravity from wind resistance. He used this math to say, "Look, this part of the change is purely due to selection."
2. Economics (The Oaxaca-Blinder Decomposition)
The Scenario: Group A earns \50k on average, and Group B earns \30k. Why the gap?
The Split:
- Bucket A (Characteristics): If Group B had the same education and experience as Group A, but kept their own "pay rates," how much would they earn? This part of the gap is explained by observable differences (like education levels).
- Bucket B (Discrimination/Context): If Group B had the same education as Group A, but was paid according to Group A's "pay rates," how much would they earn? The difference here is often attributed to discrimination or different market conditions.
The Insight: Economists use this exact same math to figure out how much of a wage gap is "fair" (due to skills) and how much is "unfair" (due to bias).
3. Artificial Intelligence (Back Propagation)
The Scenario: A neural network (AI) makes a mistake. It needs to learn.
The Split:
- The AI looks at its error and asks: "Which specific settings (parameters) caused this error?"
- It uses the Chain Rule to trace the error backward. It calculates: "If I tweak this specific knob slightly, how much does the error change?"
The Insight: This is how AI learns. It doesn't know the "whole truth" at once. It just tweaks one variable at a time, holding others constant, to see what causes the improvement. This is mathematically identical to how natural selection tweaks gene frequencies to improve survival.
4. Demography & Thermodynamics
- Demography: Why did the death rate change? Was it because the population got older (ingredients changed), or because medicine improved (recipe changed)?
- Thermodynamics: Why did the energy of a system change? Was it because the particles moved differently, or because the probability of them being in certain states changed?
The "Counterfactual" Secret Sauce
The paper makes a profound point about Causality.
In the real world, everything changes at once. Genes change, environments change, and people change their education levels all at the same time. You can't actually freeze time to see what would happen if only one thing changed.
However, the Chain Rule lets us create a Counterfactual (a "What If" scenario).
- What if the genes changed, but the environment stayed frozen?
- What if the education levels changed, but the pay scale stayed frozen?
By mathematically "freezing" one variable, we can assign credit or blame to the other.
- Fisher froze the environment to give credit to Natural Selection.
- Economists froze the pay scale to give credit (or blame) to Discrimination.
- AI freezes all other weights to give credit to a specific parameter update.
The Takeaway
The paper is a unifying theory. It tells us that:
- Nature and Machines use the same logic: Evolution and Machine Learning are both "learning" systems that use this specific math to figure out what caused success or failure.
- The math is simple, the interpretation is hard: The equation is just basic algebra. The hard part is deciding what to hold constant.
- If you hold the "rules" constant, you see the power of the "actors."
- If you hold the "actors" constant, you see the power of the "rules."
- We are all doing the same thing: Whether you are a biologist studying birds, an economist studying wages, or an engineer training an AI, you are all using the same "Chain Rule" to split a complex problem into two manageable pieces to understand cause and effect.
In short: The universe is complicated, but the math we use to understand why things change is surprisingly simple. It's all about splitting the difference.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.