Sample Complexity of Scientific Discovery: PAC Learnability of Compositional Function Trees
This paper establishes that the sample complexity of learning compositional function trees for scientific discovery is governed by the tree depth and operator Lipschitz constants rather than the combinatorial explosion of symbolic structures, providing PAC learnability bounds and empirical validation that the generalization gap scales as .
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to teach a computer to discover the "laws of physics" (like $F=ma$ or how gravity works) just by looking at a pile of data points. Usually, scientists use a method called Symbolic Regression. Instead of giving the computer a black-box neural network, they ask it to build a formula using a specific set of Lego bricks: basic math operations like addition (), multiplication (), sine (), and exponentials ().
The big problem has always been: "There are too many ways to stack these Legos!"
If you stack 10 bricks deep, the number of possible structures explodes into the billions. For a long time, people thought this meant the computer would need an impossible amount of data to learn the right formula. They believed the "statistical cost" (the amount of data needed) would grow exponentially with the depth of the formula.
This paper says: "Not necessarily."
Here is the simple breakdown of what the authors found, using everyday analogies:
1. The "Lego Tower" vs. The "Wobbly Stack"
Think of building a formula as stacking a tower of Lego bricks.
- The Old Fear: People thought that because there are so many different shapes of towers you could build, the computer would get confused and need millions of data points to figure out which one is right.
- The New Insight: The authors argue that the difficulty isn't about how many shapes exist. It's about how stable the tower is.
If you build a tower where every brick is wobbly and slippery (mathematically, if the operations are "unstable" or have high Lipschitz constants), the whole thing might collapse or wiggle wildly with a tiny change in input.
- The Paper's Claim: If your Lego bricks are sturdy and stable (mathematically "Lipschitz"), then even a very tall tower (a deep formula) doesn't necessarily require a massive amount of data to learn. The "statistical cost" depends on how much the tower wobbles, not just how many different towers you could have built.
2. The "Ripple Effect" (Depth and Complexity)
The authors prove that the "complexity" of the formula grows in a specific way:
- Depth (): How many layers of math are stacked on top of each other.
- Stability (): How much each math operation amplifies small errors.
They found that the difficulty of learning scales roughly like .
- : If your bricks are slightly wobbly (), stacking them deep () makes the wobble multiply. This is the "bad news."
- : But, if you give the computer more data (), the learning gets easier. The more data you have, the more you can smooth out the wobble.
The Analogy: Imagine trying to balance a stack of 10 books.
- If the books are slippery (high ), you need a very steady hand (lots of data) to keep them from falling.
- If the books have rubber grips (low , stable), you can stack them higher with less effort.
- The paper shows that you don't need a "magic amount" of data just because the stack is tall; you just need enough data to counteract the slipperiness of the specific books you are using.
3. The "Physics Lab" Experiment
To prove this wasn't just math on paper, the authors built a computer program that acts like a scientist in a lab:
- They created fake "physics" data (like a ball rolling down a hill) with known formulas of different depths (1 layer, 2 layers, up to 4 layers).
- They trained their "Lego builder" on small amounts of data (50 to 5,000 examples).
- The Result: They measured how well the computer guessed the formula on new data it hadn't seen before (the "generalization gap").
They found that the computer's mistakes perfectly matched their prediction:
- When the formula was deeper or used "slippery" math (like ), the mistakes got bigger.
- When they added more data, the mistakes got smaller, exactly as their formula predicted.
4. What This Means for "Scientific Discovery"
The paper concludes that Symbolic Regression is statistically "learnable" even for deep formulas, provided the math operations used are stable.
- The Good News: We don't need infinite data to discover scientific laws. If the laws we are looking for are made of stable, smooth math, a computer can find them with a reasonable amount of data.
- The Catch: The paper does not say it is easy to find the formula. It only says it is possible to learn it once you have the right structure. The "hard part" of searching through billions of possible Lego shapes is still a computer speed problem, not a data problem.
In a nutshell:
The paper tells us that the "statistical difficulty" of discovering scientific formulas isn't about the sheer number of possible formulas. It's about how "wobbly" the math is. If the math is stable, we can discover deep, complex laws even with relatively small datasets. The computer just needs enough data to keep the wobbly tower from falling over.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.