# Elementary Infra-Bayesianism

*TL;DR: I got nerd-sniped into working through some rather technical work in AI Safety. Here's my best guess of what is going on. Imprecise probabilities for handling catastrophic downside risk.*

**Short summary**: I apply the updating equation from Infra-Bayesianism to a concrete example of an Infradistribution and illustrate the process. When we "care" a lot for things that are unlikely given what we've observed before, we get updates that are extremely sensitive to outliers.

* * *

I've [written previously](https://universalprior.substack.com/p/the-greedy-doctor-problem?s=w) on how to act when confronted with something smarter than yourself. When in such a precarious situation, it is difficult to trust “the other”; they might dispense their wisdom in a way that steers you to their benefit. [In general](https://arbital.com/p/Vinge_principle), we're screwed.

But there are ideas for a constrained set-up that [forces “the other” to explain itself and point out potential flaws in its arguments](https://openai.com/blog/debate/). We might thus leverage “the other”'s ingenuity against itself by slowing down its reasoning to our pace. “The other” would no longer be an oracle with [prophecies that might or might not kill us](https://en.wikipedia.org/wiki/Pythia) but instead a teacher who lets us see things we otherwise couldn't.

While that idea is nice, there is a severe flaw at its core: [obfuscation](https://www.alignmentforum.org/posts/PJLABqQ962hZEqhdB/debate-update-obfuscated-arguments-problem). By making the argument sufficiently long and complicated, “the other” can sneak a false conclusion past our defenses. Forcing “the other” to lay out its reasoning, thus, is not a foolproof solution. But ([as some have argued](https://www.alignmentforum.org/posts/huNvfttDpxCApC3xZ/an-132-complex-and-subtly-incorrect-arguments-as-an-obstacle#:~:text=I%E2%80%99m%20not%20really%20sure%20whether%20I%20expect%20this%20to%20be%20a%20problem%20in%20practice)), it's unclear whether this will be a problem in practice.

Why am I bringing this up? No reason in particular.

**Why Infra-Bayesianism?**
==========================

Engaging with the work of Vanessa Kosoy is a [rite](https://www.alignmentforum.org/posts/SzrmsbkqydpZyPuEh/my-take-on-vanessa-kosoy-s-take-on-agi-safety) [of](https://www.alignmentforum.org/posts/Zi7nmuSmBFbQWgFBa/infra-bayesianism-unwrapped) [passage](https://www.alignmentforum.org/posts/beLgLr6edbZw4koh2/an-143-how-to-make-embedded-agents-that-reason) in the AI Safety space. Why is that?

*   The [pessimist](https://universalprior.substack.com/p/pop-culture-alignment-research-and?s=w#:~:text=going%20on%20here%3F-,When,-I%20put%20my) answer is that alignment is really, really difficult, and if you can't understand complicated math, you can't contribute.
*   The [optimist](https://universalprior.substack.com/p/im-not-getting-in-that-van?s=w#:~:text=It%27s%20driving%20a%20fire%20engine%20through%20the%20desert%20and%20rejoicing) take is that math is fun, and (a certain type of) person gets nerd sniped by this kind of thing.
*   The realist take naturally falls somewhere in between. Complicated math can be important *and* enjoyable. It's okay to have fun with it.

But being complicated is (in itself) not a mark of quality. [If you can't explain it, you don't understand it](https://en.wikiquote.org/wiki/Richard_Feynman#:~:text=You%20know%2C%20I%20couldn%27t%20do%20it.%20I%20couldn%27t%20reduce%20it%20to%20the%20freshman%20level.%20That%20means%20we%20really%20don%27t%20understand%20it.). So here goes my attempt at "Elementary Infrabayesianism", where I motivate a portion of Infrabayesianism using pretty pictures and high school mathematics[^k2lhojtoan].

Uncertain updates
=================

Imagine it's late in the night, the lights are off, and you are trying to find your smartphone. You cannot turn on the lights, and you are having a bit of trouble seeing properly[^m8099bttdz]. You have a vague sense about where your smartphone should be (your prior, panel **a**). Then you see a red blinking light from your smartphone (sensory evidence, panel **b**). Since your brain is [really good at this type of thing](https://www.sciencedirect.com/science/article/abs/pii/S0928425704000841), you integrate the sensory evidence with your prior optimally (despite your disinhibited state) to obtain an improved sense of where your smartphone might be (posterior, panel **c**).

![](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fjans-ideas%2Fu1_958IvU-.png?alt=media&token=c91b7222-8dbc-4208-b9c7-4a18b58245dd)

That's just boring old Bayes, nothing to see here, move along.

| $$ \\mathbb{P}(S\\|E) = \\frac{\\mathbb{P}(E\\|S)\\mathbb{P}(S)}{\\mathbb{P}(E)} $$ |
| --- | --- | --- |

Now let's say you are even more uncertain about where you put your smartphone.[^d07lvbgrne] It might be one end of the room or the other (bimodal prior, panel **a**). You see a blinking light further to the right (sensory evidence, panel **b**), so your overall belief shifts to the right (bimodal posterior, panel **c**). Importantly, by conserving probability mass, your belief that the phone might be on the left end of the room is reduced. [The absence of evidence is evidence of absence](https://www.alignmentforum.org/posts/mnS2WYLCGJP2kQkRn/absence-of-evidence-is-evidence-of-absence).

![](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fjans-ideas%2FADS86JstM9.png?alt=media&token=add81634-208b-4ca2-878c-c0c7dab307a0)

This is *still* only boring old Bayes. To go Infra, we have to go weird.

Fundamentally uncertain updates
===============================

Let's say you are *really, fundamentally* unsure about where you put your phone. If someone were to ~~put a gun to your head~~ threaten to [sign you up for sweaters for kittens](https://universalprior.substack.com/p/the-tale-of-gandhi-and-the-devil?s=w#:~:text=sweaters%20for%20kittens) unless you give them your best guess, you could not.[^o8nliq8xcy] 

![](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fjans-ideas%2FF93ZTW5CYa.png?alt=media&token=6ea58bdc-cdd5-4fb0-9062-7a13ffa5e357)

This is the situation Vanessa Kosoy finds herself in[^4lrg11t6gy9].[^zjcloomk23] With Infra-Bayesianism, she proposes a theoretical framework for thinking in situations where you can't (or don't want to) specify a prior on your hypotheses. Because she is a mathematician, she is using the proper terminology for this:

*   a *signed measure* is a generalization of probability distributions,
*   an *indicator function for a fuzzy set* is a generalization of your observation/sensory evidence,
*   a continuous function $g \in \mathcal{C}(X,[0,1])$ is... wait, what is $g$?

$g$ tells you how much you care about stuff that happens in regions that become very unlikely/impossible given the sensory evidence you obtain. Why should you care about that, you ask? Great question, let's just not care about it for now. Let's set it equal to zero, $g=0$.

When $g=0$, the updating equation for our two priors, $\mathbb{P}_1$ and $\mathbb{P}_2$, becomes very familiar indeed:

| $$ \\mathbb{P}_1(S\\|E) = \\frac{\\mathbb{P}_1(E\\|S)\\mathbb{P}_1(S)}{\\mathbb{P}_+(E)} $$ | $$ \\mathbb{P}_2(S\\|E) = \\frac{\\mathbb{P}_2(E\\|S)\\mathbb{P}_2(S)}{\\mathbb{P}_+(E)} $$ |
| --- | --- | --- | --- | --- | --- |

This is basically Bayes' theorem applied to each prior separately. Still, the evidence term (the denominator) is computed in a wonky way[^xmxnbi3pvii] but this doesn't make much difference since it's a shared scaling factor. Consistently, things also look very normal when using this updating rule to integrate sensory information. We shift our two priors towards the evidence and scale them proportional to how unlikely they said the evidence is.

![](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fjans-ideas%2F8EteMqjF5u.png?alt=media&token=a05e467b-cf0b-413e-9655-e4c5d941654d)

While this picture looks almost identical to the previous section, notice that the prior is still split in two! Thus, we can still tell which one of our initial guesses turned out to be "more accurate".

Fundamentally *dangerous* updates
=================================

Alright, you know where this is going. We will have to start caring about things that become less likely after observing the evidence. Why we have to care is a bit hard to motivate; Vanessa Kossoy and Diffractor motivate in [three parts](https://www.alignmentforum.org/s/CmrW8fCmSLK7E25sa/p/YAa4qcMyoucRS2Ykr#:~:text=will%20confuse%20you.-,First,-%2C%20what%20sorts%20of) where I don't even get the first part[^okafmejfo3].[^vt3mawq8jp7]

Instead, I will motivate why you might care about things that seem very unlikely given your evidence by revealing more information about the thought experiment:

![](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fjans-ideas%2FEbW1w1i3y1.png?alt=media&token=b8253c8a-04b7-465b-b380-13c3cdaa0885)

It's not so much that you *can't* give your best guess estimate about where you put your smartphone. Rather, you *dare* not. Getting this wrong would be, like, *really bad*. You might be unsure whether it's even your phone that's blinking or if it's the phone of the other person sleeping in the room[^0h38gfkzozhr]. Or perhaps the bright red light you see is the [bulbous red nose](https://astralcodexten.substack.com/p/deceptively-aligned-mesa-optimizers?s=r#:~:text=prime%20minister.-,So,-%3A%20suppose%20we%20train) of somebody else sleeping in the room. Getting the location of your smartphone wrong would be messy. Better not risk it. We'll set $g = 1$.

The update rule doesn't change too much at first glance:

| $$ \\mathbb{P}_1(S\\|E) = \\frac{\\mathbb{P}_1(E\\|S)\\mathbb{P}_1(S)}{\\mathbb{P}_-(E)} + \\varkappa_1 $$ | $$ \\mathbb{P}_2(S\\|E) = \\frac{\\mathbb{P}_2(E\\|S)\\mathbb{P}_2(S)}{\\mathbb{P}_-(E)} + \\varkappa_2 $$ |
| --- | --- | --- | --- | --- | --- |

Again, the denominator changes from one wonky thing ($P_+$) to another wonky thing ($P_-$);[^4v3fu07n35f] but that still doesn't matter, since it's the same for both equations. 

And, of course, then there is a $\varkappa$ that showed up out of nowhere. $\varkappa$ is a variable that tells us how good our distribution is at *explaining things that we did not get any evidence for*[^1k0f14tynmf]. Intuitively, you can tell that this will favor the prior distribution that was previously punished for not explaining the observation. And indeed, when we run the simulation:

![](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fjans-ideas%2FMBgP6mFaJ1.png?alt=media&token=61762094-0869-45be-8f8e-5cc7ed65b08a)

One of the two "distributions"[^cdd4t4eoc0s] is taking off! Even though the corresponding prior was bad at explaining the observation, the updating still *strongly* increases the mass associated with that hypothesis.

Intuitively this translates into something like:

> You are unsure about the location of your smartphone (and mortally afraid to get it wrong). You follow the red blinking light, but you never discard your alternative hypothesis that the smartphone might be at the other end of the room. At the slightest indication that something is off you'll discard all the information you have collected and start the search from scratch.

This is a *very* cautious strategy, and it might be appropriate when you're in dangerous domains with the potential for catastrophic outliers, basically what Nassim Taleb calls [Black Swan](https://en.wikipedia.org/wiki/The_Black_Swan:_The_Impact_of_the_Highly_Improbable) events. I'm not sure how *productive* this strategy is, though; noise might dramatically mess up your updates at some point.

Closing thoughts
================

This concludes the introduction to Elementary Infrabayesianism. I realize that I have only scratched the surface of what's in [the sequence](https://www.lesswrong.com/s/CmrW8fCmSLK7E25sa), and there is [more](https://www.lesswrong.com/posts/gHgs2e2J5azvGFatb/infra-bayesian-physicalism-a-formal-theory-of-naturalized) coming [out](https://www.lesswrong.com/posts/PrYbdKcj89f8swCkr/infra-topology) every other month, but letting yourself get nerd-sniped is just about as important as being able to [stop working on something and publish](https://universalprior.substack.com/p/via-productiva?s=w#:~:text=Don%27t%20fight%20the%20Hydra.). I hope what I wrote here is helpful to some, in particular in conjunction with the other explanations on the topic ([1](https://www.lesswrong.com/posts/SzrmsbkqydpZyPuEh/my-take-on-vanessa-kosoy-s-take-on-agi-safety) [2](https://www.alignmentforum.org/posts/Zi7nmuSmBFbQWgFBa/infra-bayesianism-unwrapped) [3](https://www.alignmentforum.org/posts/beLgLr6edbZw4koh2/an-143-how-to-make-embedded-agents-that-reason)) which go a bit further than I do in this post.

I'm afraid at this point I'm obliged to add a hot take on what all of this means for AI Safety. I'm not sure. I can tell myself a story about how being *very careful* about how quickly you discard alternative hypotheses/narrow down the hypothesis space is important. I can also see the outline of how this framework ties in with [fancy decision theory](https://www.lesswrong.com/tag/updateless-decision-theory). But I still feel like I only scratched the surface of what's there. I'd really like to get a better grasp of that [Nirvana trick](https://www.lesswrong.com/s/CmrW8fCmSLK7E25sa/p/zB4f7QqKhBHa5b37a#:~:text=to%20formalize%20the%20%22-,Nirvana,-trick%22%20(elaborated%20below), but timelines are short and there is a lot out there to explore.

[^k2lhojtoan]: French high school though, not American high school. 

[^m8099bttdz]: If there's been alcohol involved, I want to know nothing of it. 

[^d07lvbgrne]: The idea that alcohol might have been involved in navigating you into this situation is getting harder to deny. 

[^o8nliq8xcy]: Is this ever a reasonable assumption? I don't know. It seems to me you can always just pick an uninformative prior. But perhaps the point is that sometimes you should acknowledge your cluelessness, otherwise you expose yourself to severe downside risks? But I'm not convinced. 

[^4lrg11t6gy9]: Not the coming home drunk situation, only the fundamental confused part. Oh no, that came out wrong. What I mean is that she is trying to become less fundamentally confused. Urgh. I'll just stop digging now. 

[^zjcloomk23]: A proper infradistribution would have to be a convex set of distributions and upper complete and everything. Also, the support of the Gaussians would have to be compact. But for the example I'm constructing this won't become relevant, the edge points (the two Gaussians) of the convex set fully characterize how the entire convex set changes. 

[^xmxnbi3pvii]: \(P_g^H(L) = \mathbb{E}_H(L) = \min_{p\in\{p_1 , p_2\}} \int_R L(x)p(x)\mathrm{d}x\) rather than \(\int_R \frac{p_1(x)+p_2(x)}{2}L(x)\mathrm{d}x\) for an uninformative prior. 

[^okafmejfo3]: Despite having read it at least twice! 

[^vt3mawq8jp7]: A more "natural" way to motivate it might be to talk about possible worlds and updateless decision theory, but this is something that you apparently get out of Infrabayesianism, so we don't want to use it to motivate it. 

[^0h38gfkzozhr]: The story is coming together. This is why you can't turn on the light, btw. 

[^4v3fu07n35f]: Actually, in this particular example, it turns out that \(P_+ = P_-\),\[P_g^H(L) = \mathbb{E}_H(1) - \mathbb{E}_H(1-L) = 1 - \min_{p\in\{p_1 , p_2\}} \int_R (1-L(x)) p(x)\mathrm{d}x\]\[\; = \min_{p\in\{p_1 , p_2\}} \int_R L(x) p(x)\mathrm{d}x\], since we've got two normalized probability distributions. 

[^1k0f14tynmf]: You can't find any \(\varkappa\) in Vanessa Kosoy's paper because she is thinking more generally about Banach spaces and also a situation where there is no Radon-Nikodyn derivative. But if we have a density for our measures, we can write \(\varkappa\) as \(\int_X \varkappa \mathrm{d}m = b\) for an inframeasure \((m,b)\). Also, you can't find \(\varkappa\) basically nowhere because almost nobody uses it! 

[^cdd4t4eoc0s]: I'm still calling them distributions, although we've left that territory already in the last section. More appropriate would be something like "density function of the signed measure" or "Radon-Nikodym derivative".