(∃ Stochastic Natural Latent) Implies (∃ Deterministic Natural Latent)
[EDIT: A step in this proof turned out to be invalid and we couldn’t repair it. 1 year later: A new proof!]
Our posts on natural latents have involved two distinct definitions, which we call “stochastic” and “deterministic” natural latents. We conjectured that, whenever there exists a stochastic natural latent (to within some approximation), there also exists a deterministic natural latent (to within a comparable approximation). Four months ago, we put up a bounty to prove this conjecture.
We’ve been bottlenecked pretty hard on this problem, and spent most of the last four months attacking it. At long last, we have a proof. As hoped, the proof comes with some qualitative new insights about natural latents, and we expect it will unbottleneck a bunch of future work. The main purpose of this post is to present the proof.
This post officially closes the corresponding bounty.
Recap: What Was The Problem Again?
(This section is mostly copied from the bounty post.)
Some Intuition From The Exact Case
In the exact case, in order for a natural latent to exist over random variables
Each value of
Notably, that block label is a deterministic function of X.
However, we can also construct other natural latents for this system: we simply append some independent random noise to the block label. That natural latent is not a deterministic function of X; it’s a “stochastic” natural latent.
In the exact case, if a stochastic natural latent exists, then the distribution must have the form pictured above, and therefore the block label is a deterministic natural latent. In other words: in the exact case, if a stochastic natural latent exists, then a deterministic natural latent also exists.
Our goal here is to prove that this still holds in the approximate case, using the same information theoretic approximation methods used in our other posts on natural latents (and explained here).
The Problem
“Stochastic” Natural Latents
Stochastic natural latents were introduced in the original Natural Latents post. Any latent
… and
Key thing to note: if
“Deterministic” Natural Latents
Deterministic natural latents were introduced in a post by the same name. Any latent
… and
See the linked post for explanation of a variable appearing multiple times in a diagram, and how the approximation conditions for those diagrams simplify to entropy bounds.
Note that the deterministic natural latent conditions, either with or without approximation, imply the stochastic natural latent conditions; a deterministic natural latent is also a stochastic natural latent.
The Goal
We’d like a proof that, if a stochastic natural latent exists over two variables
The Proof
Key Ideas
There are two key ideas to the proof.
The first key idea is to use resampling to obtain a latent which satisfies one of the natural latent conditions exactly, and the others approximately.
The second key idea is to consider pareto optimal stochastic natural latents—i.e. latents with pareto minimal error on the three natural latent conditions.
It turns out that stochastic natural latents which exactly satisfy one of the natural latent conditions and are pareto optimal work like the exact case, even when no exact natural latent exists.
Specifically: pareto optimal stochastic natural latents
with probability 1 for some and , and are independent conditional on .
So,
This was a big and very welcome surprise to us!
Math
Assumptions & Preconditions
We will assume
The main preconditions for our proof are that three random variables
or, written out (and simplified a little),
First redundancy condition:
Second redundancy condition:
Mediation condition:
Resampling Conserves Naturality
A previous post showed that resampling conserves redundancy. Specifically, we can construct a new latent
Given the two redundancy conditions and
Now, imagine that instead of constructing
By the same “resampling conserves redundancy” theorem, the
Putting that all together: starting from a latent
We’ll use that new latent as our starting point for the second half of the proof, in which we look for pareto improvements upon
Pareto Minimization → Single Objective Minimization
In the second half of the proof, we’ll consider taking pareto improvements upon
First, we convert our pareto minimization problem into a single objective minimization problem in the standard way, in order to use the standard optimization toolset.
A latent
(Note that we’ve written these slightly differently from the previous section. They are equivalent, and these expressions will save some minor rearrangement in the proof.)
To use the usual optimization toolset, we convert the pareto minimization problem into a single objective minimization problem by assigning weights
Any pareto minimum for the original problem must be a minimum of
Lagrangian & First Order Conditions
Now we turn the crank.
We (implicitly so far) have two constraints on our optimization problem:
We introduce Lagrange multipliers
Differentiating
where the Lagrange multiplier
Note that, while the term
Putting The Pieces Together & Solving The Equations
Earlier, we established that a latent exists which satisfies the second redundancy condition perfectly and has error at most
Perfect satisfaction of the second redundancy condition means
Now, pick values
Note that one of those terms depends on
Both of those equations must hold for all X such that
Notably, our assumption
must hold for all
Sum on
In short: given two
Furthermore, since
anywhere that both of those quantities are nonzero.
A (Non-Strict) Pareto Improvement Via Coarse Graining
A quick recap of where that last section leaves us. We’ve established that:
For any two
values for which the support of overlaps, we have for all .Furthermore,
wherever the two distributions overlap (i.e. wherever both quantities are nonzero).
Now, assume the supports of
Since
is exactly the same for both values, the error on will be the same; mediates between and exactly as well as does.Since
, the coarse grained variable cannot do any worse on the redundancy conditions and .
So, without making the errors on any of the three natural latent conditions any worse, we can coarse grain all
Once all such coarse graining is performed, we have a new coarse grained latent g(
In other words:
Finally, A Deterministic Natural Latent
Lastly, note that
on the first deterministic redundancy condition0 on the second deterministic redundancy condition
on the mediation condition.
Can we do better?
The main room for improvement of the bounds in this proof is in the resampling step. The resampling conserves redundancy post notes where those bounds could be improved, and presents a little empirical evidence that they can be improved to
What’s Next?
We’ve been bottlenecked pretty hard on this theorem for the past 3-4 months.
Now that we finally have it, we expect to largely abandon stochastic natural latents in favor of deterministic natural latents. For instance, one immediate next step will be to rewrite our Illiad paper from last year to work with deterministic natural latents, which will eliminate the weakest parts of that paper and give a much more compelling case. (No, we’re not linking to the old paper, because the new one is going to be a lot better.)
On another front: stochastic natural latents are relatively easy to test for in datasets, by looking for three variables each of which mediates between the other two. Now we have some idea of what to do with those triples when we find them: compute the deterministic constraint between them.
Beyond those two immediate projects, we expect this result to be foundational for basically all of our work on natural latents going forward.
- Natural Latents: Latent Variables Stable Across Ontologies by (4 Sep 2025 0:33 UTC; 124 points)
- Redux: (∃ Stochastic Natural Latent) Implies (∃ Deterministic Natural Latent) by (11 Aug 2026 5:52 UTC; 100 points)
- $500 Bounty Problem: Are (Approximately) Deterministic Natural Latents All You Need? by (21 Apr 2025 20:19 UTC; 93 points)
- $500 + $500 Bounty Problem: Does An (Approximately) Deterministic Maximal Redund Always Exist? by (6 May 2025 23:05 UTC; 74 points)
- Small Steps Towards Proving Stochastic → Deterministic Natural Latent by (8 Jan 2026 12:27 UTC; 58 points)
Congratulations!
I’m very glad to see some serious progress on this agenda. If I’m being honest, I was less than excited by the latest long stretch of (published) results on it. It felt like there was no progress on the core ideas being made, only the shoring-up of the foundations and some minor peripheral insights. It looked concerningly plausible that this path routed through regions of math-space so thorny they were effectively impassable. (This might be an unfair characterization, particularly if those results looked more important in the context of unpublished research/considerations. Sorry if so.)
This result I am very much excited about. It seems to be a meaningful step “depthwards”, and serves as an existence proof that depthwards progress is possible at all. Great job!
I wrote this tl;dr for a friend, and thought it worth sharing. I’m not sure it’s accurate. I’ve only read the “Recap”
Here is how I understand it.
Suppose that, depending on the temperature, your mirror might be foggy and you might have goose pimples. As in, the temperature helps you predict those variables. But once you know the temperature, there’s (approximately) nothing you learn about the state of your mirror from your skin, and vice versa. And! Once you know whether your mirror is foggy, there’s basically nothing left to learn about the temperature by observing your skin (and vice versa).
But you still don’t know the temperature once you observe those things.
This is a stochastic (approximate) natural latent. The stochasticity is that you don’t know the temperature once you know the mirror and skin states.
Their theorem, iiuc, says that there does exist a variable where you (approximately) know its exact state after you’ve observed either the mirror or your skin.
(I don’t currently understand exactly what coarse-graining process they’re using to construct the exact natural latent).
Yup, good example!
The theorem doesn’t actually specify a coarse-graining process. The proof would say:
We can construct a new variable T’ by sampling a temperature given mirror-state. By construction, mirror-state perfectly mediates between T’ and goosebumps.
There exists some pareto-optimal (under the errors of the natural latent conditions) latent which is pareto-as-good-as T’
Any pareto optimal latent which is pareto-as-good-as T’ can be perfectly coarse-grained, by graining together any values of the latent which give exactly the same distribution P[mirror|latent value].
Because the middle bullet is not constructive, we don’t technically specify a process. That said, one could specify a process straightforwardly by just starting from T’ and pareto-improving the latent in a specific direction until one hits an optimum.
In this case, the coarse-graining would probably just be roughly (temperatures at which the mirror fogs) and (temperatures at which it doesn’t), since that’s the only nontrivial coarse-graining allowed by the setup (because the coarse-grained value must be approximately determined by the mirror-state).
Noticing this only works as an example if the two signals are (approximately) the same partition of T, i.e. (temperatures at which the mirror fogs) is approximately the same as (temperatures at which you have goosebumps).
Yeah I think
is supposed to be scoped under the “Suppose that” from the beginning of the paragraph
This is fantastic. I was a bit annoyed by the pareto optimality section and felt that surely there must be a way to skip that part of the proof. I tried a number of simple transformations on Λ′ that intuitively I thought would makes the X1|λi‘s equal for the appropriate i’s. None worked. Lesson learned (again), test out ideas first before trying to prove them correct.
How did you work out you could use pareto-optimality? I’m guessing you got it from looking at properties of optimized and unoptimized empirical latents?
Why is it that stochastic natural latents are easier to test for than deterministic? It is that you can use just use the variables themselves as the latent and quickly compute mediation error?
No, actually. The magic property doesn’t always hold for pareto optimal latents; the resampling step is load bearing. So when we numerically experimented with optimizing the latents, we often got latents which didn’t have the structure leveraged in the proof (though we did sometimes get the right structure, but we didn’t notice that until we knew to look for it).
We figured it out by algebraically playing around with the first-order conditions for pareto optimality, generally trying to simplify them, and noticed that if we assumed zero error on one resampling condition (which at the time we incorrectly thought we had already proven was a free move), then it simplified down a bunch and gave the nice form.
Yup.
Congrats!
Some interesting directions I think this opens up: Intuitively, given a set of variables X, we want natural latents to be approximately deterministic across a wide variety of (collections of) variables, and if a natural latent Y is approximately deterministic w.r.t a subset of variables S⊆X, then we want S to be as small as possible (e.g. strong redundancy is better than weak redundancy when the former is attainable)
The redundancy lattice seems natural for representing this: Given an element of the redundancy lattice α⊂P(X), we say Y is a redund over α if it’s approximately deterministic w.r.t each subset in α. E.g.Λ is weakly redundant over X if it’s a redund over {{¯¯¯¯¯¯Xi}|Xi∈X} (approximately deterministic function of each ¯¯¯¯¯¯Xi), and strongly redundant if it’s a redund over {{Xi}|Xi∈X}. If Y is a redund over α⊂P(X), our intuitive desiderata for natural latents correspond to α containing more subsets (more redundancy), and each subset Ai∈α being small (less “synergy”). Combine this with the mediation condition can probably give us a notion of pareto-optimality for natural latents.
Another thing we could do is when we construct pareto-optimal natural latents Y over X, we add them to the original set of variables to augment the redundancy lattice, so that new natural latents can be approximately deterministic functions over (collections of) existing natural latents, and this naturally allows us to represent the “hierarchical nature of abstractions” where lower-level abstractions makes it easier to compute higher-level ones.
A concrete setting where this can be useful is where a bunch of agents receive different but partially overlapping sets of observations and aims to predict partially overlapping domains. Having a fine grained collection of natural latents redundant across different elements of the redundancy lattice means we get to easily zoom in on the smaller subset of latent variables that’s (maximally) redundantly represented by all of the agents (& be able to tell which domains of predictions these latents actually mediate).