Math That Clicks: Look for Two-Way Correspondences

Andrew Critch made this explicit to me.

Suppose you want to formalize “information”. What does it mean to “gain information about something”?

You know about probability distributions, and you remember that Shannon came up with information theory, but you aren’t allowed to look that up, because you’re stranded on a desert island, and your “rescuers” won’t take you to safety until you can formalize this.

Don’t you hate it when this happens?

Anyways, you’re starving, and so you think:

Suppose I’m trying to figure out the bias on a coin someone is flipping for me. I start with a uniform prior over , and observe the process for a while. As I learn more, I become more confident in the true hypothesis,[1] and so my credence increases.

So maybe, I gain information about a hypothesis when the Bayesian update increases the hypothesis’s probability!

You sanity-check your guess by checking this against remembered instances of information gain: memorizing facts in history class, a friend telling you their address, and so on.

Your stomach rumbles. This guess should be good enough. You tell your would-be rescuers your final answer...

🚨 No! Wrong! 🚨 That’s not how you should discover new math. True, you formalized a guess that was prompted by examples of the thing-in-question (information gain) – there was a one-way correspondence from intuitive concept math. That’s not enough.

Recovering the intuition from the math

Don’t think for a second that having math representing your thoughts means you’ve necessarily made progress – for the kind of problems I’m thinking about right now, the math has to sing with the elegance of the philosophical insight you’re formalizing.

~ How I Do Research

I claim that you should create math such that the math suggests the intuitive concept it’s formalizing. If you obfuscate any suggestive notation and show the math to someone who already knows the intuitive concept, would the concept jump back out at them?

Above, information gain was formalized as increase in credence; roughly,

Assuming we already know about probability and arithmetic and function notation, what does the obfuscated version bring to mind?

When this value is high, you’re just becoming more confident in something. What if you gain information that makes you confused?

What if you thought Newtonian mechanics was The Truth, and then Mercury’s perihelion shows up with a super-wack precession. Are you gonna say you’ve “lost information about the Newtonian hypothesis” with a straight face? Uh, awkward...

Heuristic: show that only your quantity achieves obviously desirable properties

In the case of information, the winner is “formalize for-sure properties that the quantity should obey”, like

  1. The more sure you are something will go a certain way, the less you expect to learn from it, and

  2. You can’t have “negative” information, and

  3. Totally predictable events give you 0 information, and

  4. Information is additive across independent events.

By proving that only your function meets the desiderata, this decomposes “does this formalize the right thing?” into “do we really need the desiderata, and are they correctly formalized?”. Decomposition is crucial here in a Debate sense: disagreement can be localized to smaller pieces and simpler claims.

You can’t always pull this off, but when you can, it’s awesome.

Heuristic: compound concepts

If you have a really solid concept, like the expected-value operator , and another really solid concept, like “surprisal at seeing an event of probability ”, you can sometimes build another intuitively correct concept: expected surprisal, or entropy: . Just make sure the types match up!

More examples

Sometimes, you can’t mathematically prove the math is right, given desiderata, but you can still estimate how well the math lets a fresh-eyed reader infer the intuitive concept. Here are some examples which mathematically suggest their English names.

Why might the second correspondence be good?

By itself, “intuition math” can anchor you on partial answers and amplify confirmation bias; in my fictional example above, counterexamples to “information = change in credence” were not considered.

Here’s my advice: Whenever possible, clarify your assumed desiderata. Whenever possible, prove your construction is basically the only way to get all the desiderata. Whenever possible, build the math out of existing correct pieces of math which correspond to the right building blocks (expected + surprisal = expected surprisal).

If something feels wrong, pay attention, and then mentally reward yourself for noticing the wrongness. When you’re done, give the math a succinct, clear name.

Make the math as obviously correct as possible. In my personal and observed experience, this advice is not followed by default, even though you’d obviously agree with it.

Strive for clearly correct math, informative names, and unambiguously specified assumptions and desiderata. Strive for a two-way correspondence: the concept should jump out of the math.


  1. ↩︎

    Assuming they actually are flipping a coin with a stationary bias (a Bernoulli process).

  2. ↩︎

    And some basic background assumptions, like “the laws of physics are spatially, temporally, and rotationally invariant”, etc.