AI usage statement: I worked heavily with GPT6.2-Astra to further develop and formalize my decision theory intuitions from my earlier (fully human) post. Astra derived basically all of the math and wrote the first draft of this post with me directing at a high level. I then subsequently heavily edited the draft.
One thing that has always struck me as somewhat strange about decision theory is that there is so much disagreement about what is, at some level, an extremely simple idea – that you should do the thing which leads to the best consequences according to your preferences.
Naively, it seems that there really shouldn’t be that much to say here, and definitely that this should not be a seemingly intractable philosophical problem. Given some set of possible things you can do, and some model of the consequences of doing each of these things, and some utility function over those consequences, you just compute the expected utility of each option and pick the best one.
Of course, there is an enormous literature in decision theory precisely because it turns out that fleshing out this apparently simple idea is surprisingly difficult. Specifically, there are a whole class of decision problems, starting with Newcomb’s problem, where different decision theories give radically different answers about what you should do, even in extremely simplified settings where there is no computational difficulty, no ambiguity about your preferences, and potentially no uncertainty whatsoever.
Here, I want to argue that much of this disagreement is actually located in a somewhat different place than is conventionally assumed. Rather than needing a new theory of how to make decisions, I think we primarily need a more precise way of specifying what the decision problem actually is rather than relying purely on potentially ambiguous verbal descriptions.
Specifically, we need to distinguish between the things in the world which an agent can independently vary, the structural consequences of varying those things, and the actual optimization process over these consequences. It turns out that if we do this carefully, we can derive a surprisingly large amount of existing decision theory as special cases of a single, extremely simple framework.
One particularly interesting result is that we can derive a kind of structural Bellman theorem. I.e. we can derive a precise set of structural conditions under which an agent optimizing its entire policy or program should simply optimize its local actions using standard causal decision theory (CDT) versus a more global UDT-style perspective.
This is quite appealing because there is something obviously correct about CDT in a large class of problems. If I’m an agent trying to navigate around a room, for instance, it seems quite reasonable to figure out what the best thing to do from my current location is and then do it. I don’t want to need some fundamentally different theory of rationality to explain why I should do this versus why I should one-box in Newcomb’s problem.
Ideally, we would like a theory in which the standard local causal optimization which underlies much of reinforcement learning and optimal control just falls out as a special case of a more general framework which also handles Newcombian problems.
And indeed we can precisely do this. Moreover, we can show exactly which of the structural assumptions behind this local optimization break down in many of the classic Newcombian problems.
A second interesting result is that we can mathematically characterize when it is sufficient to optimize over some simpler representation of a controller – for instance, an action rather than a policy, or a policy rather than a program.
Somewhat surprisingly, this shows that the problem with CDT in Newcomb’s problem is not fundamentally that it optimizes over actions instead of policies. We can perfectly legitimately formulate some versions of Newcomb’s problem purely in terms of actions, and still obtain the FDT answer!
Similarly, it is perfectly possible for the information an agent receives to be sufficient for determining its current situation without this implying that the agent can independently optimize its action in this situation. These are two quite different properties which I think it is important to distinguish.
Finally, there is a fairly strong sense in which, once we have fully specified the decision problem, there cannot be any residual disagreement between different consequentialist decision theories. The seemingly intractable philosophical debate over decision-making procedures can instead be moved to a mathematical question of how to specify the environment and its structural interactions with the agent.
Of course, an immediate objection to this is that we have simply shifted the difficulty into specifying the decision problem in the first place. And indeed we have. However, I think there is something fundamentally correct about doing this. Decision theory is supposed to tell us what to do given a decision problem, not give us a complete theory of epistemology, causal discovery, or the physics of agency. We also derive some simple impossibility results which show why no decision theory can dispense with supplying some substantive structural or counterfactual information about the world.
I’ll come back to this at the end.
The fundamental ambiguity in Newcomb’s problem
Let’s start with the classic Newcomb’s problem.
You are presented with two boxes. One box is transparent and contains \$1,000. The other box is opaque and contains either \$1 million or nothing. You can either take just the opaque box (one-boxing) or take both boxes (two-boxing).
However, before you arrive, a superintelligent predictor, Omega, has predicted which of these things you will do. If Omega predicted you would one-box, it put \$1 million in the opaque box. If it predicted you would two-box, it left the opaque box empty.
Suppose Omega is extremely accurate. There are two extremely compelling and apparently contradictory arguments about what to do.
The first is that you should one-box because, pretty obviously, almost everyone who one-boxes walks away with \$1 million and almost everyone who two-boxes walks away with \$1,000. If the point of rationality is to achieve your goals in the world, then it seems pretty strange to endorse the decision theory which systematically results in you being a factor of 1,000 poorer.
Conversely, there is the standard causal decision theory (CDT) argument. By the time you are standing in front of the boxes, the money is either there or it isn’t. You cannot causally affect the contents of the box because the contents have already been determined. So, in either possible state of the world, you are \$1,000 better off if you take both boxes.
| Contents of opaque box | One-box | Two-box |
|---|---|---|
| Full | \$1,000,000 | \$1,001,000 |
| Empty | \$0 | \$1,000 |
Two-boxing strictly dominates!
How can it simultaneously be true that two-boxing strictly dominates one-boxing and that agents who one-box are systematically much better off than agents who two-box? The standard interpretation is that there is some fundamental disagreement here about the correct counterfactuals to consider when evaluating a potential action.
Evidential decision theory (EDT) says that we should condition on the action we are considering taking.
Causal decision theory says that we should perform a causal intervention on the action and compute the expected consequences of this intervention.
Functional decision theory (FDT) instead says that we should consider varying the output of the mathematical function which computes our decision, and allow other computations which are logically or subjunctively dependent on this function to vary accordingly.
However, I think there is a slightly different and, in some ways, simpler way of thinking about this problem.
Suppose you are an AI agent and Omega’s prediction procedure works by taking your source code, running it in a simulated version of the environment, and seeing what you do.
Imagine we have two possible programs.
- Program A simply one-boxes.
- Program B simply two-boxes.
Suppose we plug each program into the world and run the world forward, including running Omega’s prediction procedure.
In the world where we plug in program A, Omega predicts one-boxing, fills the box, and the agent then one-boxes and obtains \$1 million, and in the world where we plug in program B, Omega predicts two-boxing, leaves the box empty, the agent then two-boxes and obtains \$1,000.
There is actually very little that is philosophically confusing about this. We have two possible programs that we could instantiate in a world, and we can compute the consequences of instantiating each of them. One program just straightforwardly does much better than the other.
There is no backwards causation going on here. Omega simply has access to some information about the program which will eventually be run.
But now imagine a slightly different Newcomb’s problem.
Suppose Omega has already inspected your source code and filled the boxes accordingly. After this happens, you are given access to a new and genuinely independent control mechanism which allows you to override whatever action your program would have taken.
Crucially, Omega did not predict this override and the override is independent of whatever information Omega used to make its prediction.
What should you do now?
Pretty obviously, you should take both boxes!
And this remains true even if Omega has predicted that you will one-box and put \$1 million in the opaque box. If you really have the option of independently changing your action while keeping Omega’s prediction constant, you should exercise this option and obtain an extra \$1,000.
What I find interesting here is that I don’t think we need two different normative theories of rationality to explain these two different answers.
The first problem and the second problem are just different decision problems. The difference lies in what can actually be independently varied.
In the first problem, you have one program which is both being predicted by Omega and being executed in the environment. In the second problem, you have an additional degree of freedom – the ability to override the execution of the program independently of the prediction.
Much of the philosophical disagreement, I think, comes from implicitly conflating these two situations. Specifically, the standard dominance argument for two-boxing compares four possible combinations of actions and box contents. But in the perfect prediction version of the program-level problem, only two of these four combinations are actually feasible!
| Controller | Box contents | Action | Reward |
|---|---|---|---|
| Program A | Full | One-box | \$1,000,000 |
| Program B | Empty | Two-box | \$1,000 |
It is not that we have some philosophical aversion to obtaining \$1,001,000. We would obviously like to obtain this amount of money. It is simply not an option in our decision problem.
If we want to argue that two-boxing on a full box actually is an option, we need to provide some account of how this option arises given the structure of the problem.
And if our account is that we have gained some additional degree of freedom which Omega couldn’t predict, then we have just changed the decision problem.
This distinction becomes particularly important in some of the more counterintuitive examples which have been presented as objections to FDT, such as MacAskill’s bomb problem. We will get to this later.
What have people suggested before?
These ideas are definitely not entirely new. In fact, a number of different strands of work in decision theory seem to be converging on something quite similar from different directions.
In the original formulation of updateless decision theory (UDT), Wei Dai introduced the idea of thinking about the consequences of decisions in terms of their effects on whole world programs rather than just their immediate causal effects.
In UDT1.1 (Explicit Optimization of Global Strategy), he explicitly moved from optimizing the output of a decision function for a particular input to optimizing the entire input-output mapping of the decision function.
Interestingly, in UDT2, he went even further and suggested optimizing over programs themselves rather than just input-output mappings, because properties of the computation such as how long it takes to run can themselves be decision-relevant.
The distinction between policy selection and logical counterfactuals is also discussed explicitly in Soares and Fallenstein’s Toward Idealized Decision Theory, and the latter idea was developed further in Yudkowsky and Soares’ Functional Decision Theory.
There is also a substantial literature on trying to obtain the desirable properties of FDT-like theories from within causal decision theory itself.
For instance, Wolfgang Spohn develops a richer reflexive causal model which can rationalize one-boxing in Newcomb’s problem. Samuel Barnett’s policy-based causal decision theory explicitly considers causal interventions on policies rather than just actions and gives predictors and simulations an important role in the decision problem.
Mariam Thalos’ Diagnostic Preliminaries to Applying a Decision Theory makes a particularly relevant philosophical point – that before we can apply a decision theory, we need to make a substantive diagnosis of what the actual degrees of freedom in the decision problem are.
More recently, MacDermott, Everitt, and Belardinelli’s Characterising Decision Theories with Mechanised Causal Graphs explicitly introduces the mechanisms generating decisions into causal graphs and uses this to give a unified graphical characterization of a number of different decision theories.
In my own previous note on Formulating Decision Theory as Program Search, I suggested that we could simply formulate the decision theory problem as a search over programs (policies) embedded inside a larger environment program.
The basic idea was just something like:
\[\pi^*=\underset{\pi}{\arg\max}\;\text{Env}(\pi)\]where the environment can be an arbitrary program and can do arbitrarily complicated things with the policy, including simulating it, inspecting its source code, executing multiple copies of it etc.
This formulation makes a lot of Newcombian problems seem much less philosophically mysterious.
However, in this formulation, there is a huge amount of important structure hidden inside the function \(\text{Env}\).
For instance, how do we know that we need to optimize over an entire program rather than just an action? When is a policy sufficient? If we break the program up into a bunch of smaller modules, can we independently optimize these modules? Can we obtain the usual Bellman equations of reinforcement learning in some limit of this framework?
And, more fundamentally, in what sense can this actually be a unification of different decision theories rather than just yet another decision theory?
Here I want to flesh this out into a more precise mathematical framework.
The basic ingredients of the framework are not particularly novel individually. The idea of optimizing over contingent mappings rather than individual actions goes back at least to Savage’s The Foundations of Statistics, and explicit optimization over policies is well established in classical decision theory, for instance in the literature on influence diagrams. Optimizing over entire programs, and allowing the environment to depend on properties of the computation itself rather than just its input-output behavior, are also relatively well-established ideas in the UDT literature, particularly in Wei Dai’s formulations of UDT1.1 and UDT2.
What I think is interesting is that we can prove a set of results which connect these ideas together, and which suggest that we can largely dispense with the distinction between different normative decision rules, at least conditional on having a sufficiently well-specified model of the decision problem.
In particular, rather than just asserting that we should globally optimize policies or programs, we can derive when this more general problem actually reduces to the much simpler decision problems that existing theories are good at solving.
Specifying a decision problem
I think there are basically three things we need to specify.
- A set of things which the agent can vary – what we shall call its feasible control interface.
- A structural model of the world which tells us what happens when we vary each of these things.
- The agent’s preferences over the resulting possible worlds.
Given these three things, we simply optimize.
Let’s formalize this a bit. Suppose we have a set of feasible controllers \(\mathcal C\). A controller can be a program, a neural network, a policy table, a stochastic state machine, or whatever else. The important point is that each controller \(c\in\mathcal C\) is a fully specified candidate for the mechanism we are optimizing. For the moment, it is easiest to think of it as an entire executable program.
Next, suppose we have a set \(\Omega\) of possible complete worlds (or world histories). By ‘complete’ here I don’t necessarily mean that we have to represent the position of every particle in the universe. I just mean that the worlds are described in sufficient detail to include everything that is relevant to the agent’s preferences. For instance, if the agent cares not just about how much money it receives but also about whether it obtained the money by cheating, we need to include this information in the world description. If it cares intrinsically about its autonomy or how much computation it performed, we need to include that too.
Let \(\Delta(\Omega)\) be the space of probability distributions over these worlds. The fundamental semantic object we want to obtain from our world model is then a function
\[\boxed{K:\mathcal C\rightarrow\Delta(\Omega).}\]I will call this the controller-to-world kernel.
All this function does is take in a possible controller and return the distribution over possible complete worlds which would result from instantiating that controller. If the world is deterministic, this distribution is just a point mass on one world. In a probabilistic world, we get some distribution over different possible worlds. Finally, the agent has some preferences \(\succeq\) over the lotteries in \(\Delta(\Omega)\).
A decision problem is thus just the triple
\[\mathcal P=(\mathcal C,K,\succeq).\]If the agent has a standard expected utility function \(u:\Omega\rightarrow\mathbb R\), then the value of a controller is
\[V(c)=\mathbb E_{\omega\sim K(c)}[u(\omega)]\]and the decision theory is simply
\[\boxed{c^*\in\underset{c\in\mathcal C}{\arg\max}\;\mathbb E_{\omega\sim K(c)}[u(\omega)].}\]So far, this is very simple and, of course, it doesn’t seem like we have really solved anything yet. All the hard and interesting stuff is going to be in how we obtain \(K\) and in the structure of \(\mathcal C\). For simplicity, throughout most of this post we will assume finite outcome spaces and that the relevant maxima exist. There are various obvious generalizations we could make here, but I don’t think they are necessary for getting across the core ideas.
The world as a program with a hole in it
The most natural way for me to think about the structural model of the world is as a large program which has a hole in it.
We can write this as
\[M[-].\]We have a bunch of mechanisms which determine how the world operates, but we leave one particular mechanism unspecified – namely, the controller.
We can then take any controller \(c\) from our set of feasible controllers and plug it into the hole in our world program, to obtain a complete world program
\[M[c].\]We then evaluate this program. Crucially, multiple different parts of the world can have access to the thing we plug into the hole. For instance, in Newcomb’s problem, one part of the world – Omega – can take in the program and simulate its behavior. Another part of the world can take in exactly the same program and execute it in the actual environment.
Mathematically, suppose we have structural equations of the form
\[\begin{aligned} P &= \operatorname{Predict}(c,e_P),\\ B &= \operatorname{Fill}(P),\\ A &= \operatorname{Execute}(c,H). \end{aligned}\]Here \(P\) is Omega’s prediction, \(B\) is the contents of the opaque box, \(H\) is the information provided to the controller when we execute it, \(A\) is the controller’s eventual action, and \(e_P\) is some exogenous randomness that might affect the accuracy of Omega’s prediction.
We can schematically represent this as two uses of the same controller.
Controller c
/ \
v v
Predictor Executor
| |
v v
Box contents Action
\ /
v v
Outcome
The important thing here is that we don’t have two independent controllers. We have one controller that is fed into two different parts of the world program.
Now suppose we substitute the one-boxing controller into this model. Both the executor and the predictor receive the one-boxing controller. Conversely, if we substitute the two-boxing controller into the model, both receive the two-boxing controller. Suppose Omega has a symmetric prediction accuracy of \(p\), and for simplicity our utility is linear in money.
The value of the one-boxing controller is
\[V(c_1)=p\cdot 10^6.\]The value of the two-boxing controller is
\[V(c_2)=(1-p)\cdot 10^6+1000.\]So one-boxing is strictly optimal among these two controllers whenever
\[p\cdot10^6>(1-p)\cdot10^6+1000,\]or
\[\boxed{p>0.5005.}\]Interestingly, Omega does not even have to be particularly good at predicting us for one-boxing to be optimal in this model.
At no point do we need to perform some special logical intervention on the action. Nor do we need to condition the world on the event of our one-boxing. We simply instantiate each possible program in the world according to the structural mechanisms we have specified. Notice also that the prediction accuracy here is a property of the world model for each of our candidate controllers, not just some empirical correlation between predictions and actions that we have observed in the actual world. This is an important distinction which we will come back to.
The slightly more general formulation
To make this work for more general worlds, suppose we have some exogenous state \(e\in\mathcal U\) drawn from a distribution \(\mu\). This represents all the background uncertainty in our model – coin flips, hidden environmental states, uncertainty about predictors etc. Given a controller \(c\) and an exogenous state \(e\), our structural model induces a distribution over endogenous world states \(x\in\mathcal X\). We can write this solution distribution as
\[S_M(x\mid c,e).\]For a deterministic acyclic structural model, this is just a point mass on the solution we obtain by executing all the structural equations in order. For more complicated or cyclic models, we might need to explicitly specify some other solution semantics. We will come back to this later. Finally, we have a function \(O:\mathcal X\rightarrow\Omega\) which extracts the normatively relevant features of the world state.
Our controller-to-world kernel is then just
\[\boxed{K_M(B\mid c)=\int_{\mathcal U} S_M(O^{-1}(B)\mid c,e)\,\mu(de)}\]for any event \(B\subseteq\Omega\).
This equation looks a bit more complicated than it actually is. All we are doing is:
- Plugging a candidate controller into the world.
- Sampling from our distribution over exogenous states.
- Solving the resulting structural model.
- Extracting the consequences we care about.
I will call models of this form controller-open structural models. There is a nice connection here to the notion of open causal models developed by Lorenz and Tull in Causal Models in String Diagrams, where we can similarly have structural models with external inputs. However, we are being very general about what sort of thing can be provided to this input. In particular, it need not be an action or even a policy. It can be a program which various parts of the world can interact with in various ways.
Do we actually need to optimize over entire programs?
There is something slightly unsatisfying about always insisting that the fundamental object of decision theory should be an entire program.
In most everyday decision problems, it seems perfectly fine to think about choosing an action. And in a large number of more complex decision problems, it seems sufficient to think about choosing a policy. If I’m choosing between ordering a coffee or a tea, I presumably don’t need to optimize over all possible Turing machines which could implement my entire brain. And indeed it turns out that we can give a very precise mathematical characterization of when it is valid to optimize over an action, a policy, or some other representation instead of the full controller.
The underlying idea is extremely simple. Suppose we have two different programs \(c_1\) and \(c_2\), but the world cannot tell the difference between them, in the sense that
\[K(c_1)=K(c_2).\]Then, clearly, there is no consequentialist decision-theoretic reason to distinguish between these two programs. If they lead to exactly the same probability distribution over all possible worlds I care about, then I am necessarily indifferent between them, irrespective of what my preferences over worlds actually are.
We can generalize this. Suppose we have some function
\[q:\mathcal C\twoheadrightarrow Q\]which takes in a controller and extracts some simpler representation of the controller. For instance, \(q(c)\) might extract the action that a controller takes in a particular situation. Or it might extract the complete policy of the controller. Or some other higher-level property of the program. We will assume this function is surjective, which just means that every possible value in \(Q\) corresponds to at least one feasible controller. When is this representation sufficient for solving the decision problem?
Exactly when any two controllers which have the same representation also have the same consequences. I.e.
\[\boxed{ q(c_1)=q(c_2) \implies K(c_1)=K(c_2). }\]We shall call any interface satisfying this property an outcome-sufficient interface. The intuitive idea is that the interface has thrown away no information about the controller which is necessary to determine the consequences of the controller in the world. This is a stronger property than simply requiring that the compressed representation is good enough to get the right answer for one particular utility function. We want the representation to preserve the actual lotteries over worlds and hence be sufficient for any preferences over these lotteries.
The sufficient interface factorization theorem
There is a useful equivalent way of stating this property. If \(q\) is outcome-sufficient, then there exists a unique function
\[\bar K:Q\rightarrow\Delta(\Omega)\]such that
\[\boxed{K=\bar K\circ q.}\]I.e. instead of going directly from controllers to worlds, we can go from controllers to our simpler decision variable, and from there to worlds.
Controllers ───────── K ─────────> World lotteries
| ^
| q |
v | K̄
Decision interface ───────────────────────┘
The proof is very straightforward.
For some value \(x\in Q\), pick any controller \(c\) such that \(q(c)=x\) and define
\[\bar K(x)=K(c).\]Since we have assumed outcome sufficiency, it doesn’t matter which controller we pick. All controllers with the same \(q(c)\) lead to the same \(K(c)\). And because \(q\) is surjective, this defines \(\bar K\) everywhere and uniquely.
Conversely, if we have such a factorization, then
\[q(c_1)=q(c_2)\]necessarily implies
\[\bar K(q(c_1))=\bar K(q(c_2)),\]which is just \(K(c_1)=K(c_2)\).
So these two properties are equivalent.
The interesting consequence is that we can now optimize over our simpler decision variable without losing anything whatsoever.
Define
\[\bar V(x)=\mathbb E_{\omega\sim\bar K(x)}[u(\omega)].\]Then we have
\[V(c)=\bar V(q(c)).\]So if we find an optimal \(x^*\) in our simpler representation, every controller which maps to \(x^*\) is also optimal in the original problem.
More precisely, if \(\operatorname{Opt}_{\mathcal C}\) and \(\operatorname{Opt}_Q\) denote the sets of optimal controllers and optimal interface values respectively, then
\[\boxed{\begin{aligned} q(\operatorname{Opt}_{\mathcal C})&=\operatorname{Opt}_Q,\\ \operatorname{Opt}_{\mathcal C}&=q^{-1}(\operatorname{Opt}_Q). \end{aligned}}\]This, I think, is a nice result because it gives us a mathematically precise answer to what has often been treated as a somewhat philosophical question in decision theory – what is the correct thing that we should be optimizing over?
The answer is that it doesn’t really matter, so long as the thing we are optimizing over retains sufficient information about the consequences of our choices.
Can we find the simplest possible decision variable?
It turns out that we can also mathematically characterize the coarsest possible lossless decision interface for any given problem. Define an equivalence relation on controllers such that
\[c_1\sim_K c_2 \quad\Longleftrightarrow\quad K(c_1)=K(c_2).\]We can then construct the quotient space
\[Q_K=\mathcal C/{\sim_K}.\]If you aren’t familiar with quotient spaces, all we are doing here is taking our original set of controllers and grouping together all the controllers which have identical consequences.Each of these groups becomes a single element of our new space.
The map
\[q_K:\mathcal C\rightarrow Q_K\]just takes a controller and returns the group it belongs to.
By construction, this interface is outcome-sufficient. But we can also show that every other outcome-sufficient interface must contain at least as much information as this one Specifically, for any other sufficient interface \(q\), there exists a unique function \(r\) such that
\[\boxed{q_K=r\circ q.}\]Why?
If two controllers have the same value of \(q\), then they have the same world kernel by sufficiency, and therefore must belong to the same equivalence class in \(Q_K\). So we can just define \(r(q(c))=q_K(c)\), and this is well-defined and unique.
In other words, any sufficient representation can be further compressed into this minimal representation. We have thus obtained a canonical coarsest decision variable for any given decision problem. Of course, this doesn’t necessarily provide us with a computationally efficient way of finding the minimal representation. In fact, computing whether two arbitrary programs induce exactly the same world lotteries may be extremely hard. But it does tell us exactly what property we are looking for when we try to simplify a decision problem.
Somewhat surprisingly, even actions can be sufficient in Newcomb’s problem
There is a subtlety here which I think is worth emphasizing. Naively, we might think that the problem with CDT is that it optimizes over actions and that we therefore need to instead optimize over policies or programs. But that isn’t quite right.
Suppose our Newcomb’s problem only has two feasible controllers – the one which always one-boxes and the one which always two-boxes. In this case, the action taken is a sufficient representation of the controller. If you tell me which action the controller takes, you have also told me which of the two controllers it is. So it is perfectly valid to optimize over actions in this problem. However, the correct induced kernel associated with each action is the kernel obtained from substituting the corresponding controller into the world. This kernel is not generally the same as the kernel obtained by performing a surgical causal intervention on the action node in the structural graph.
In our idealized Newcomb model, the induced action-level kernel is
\[\bar K(a)=K(c_a)\]where \(c_a\) is the corresponding controller. This induces different predictions for different actions. A surgical intervention on the action node instead leaves the prediction unchanged. Indeed, in the perfect predictor case, we can write down the entire decision problem in terms of an action variable without ever explicitly referring to a program:
\[\begin{aligned} \bar K(\text{one-box})&=\delta_{\$1,000,000},\\ \bar K(\text{two-box})&=\delta_{\$1,000}. \end{aligned}\]Here \(\delta\) just denotes a deterministic outcome, and for simplicity we only care about the money obtained. This is an entirely valid action-level decision problem. And it straightforwardly tells us to one-box.
So there are two quite distinct questions here.
First, is an action sufficient to represent the choice we are making? Second, what are the consequences associated with varying this action?
The answer to the first question can be yes without the answer to the second being given by an ordinary local causal intervention. The problem, then, is not fundamentally the choice of the label of the decision variable. It is the semantics we associate with varying that decision variable. I think this is important because it suggests that we don’t need to make the choice of whether to optimize actions, policies or programs into some fundamental philosophical distinction between decision theories. What we need to do is preserve the semantics of the decision problem when we go from one representation to another.
Why different faithful representations cannot disagree
There is a fairly strong consequence of all of this. Suppose we have two different representations of a decision problem. One representation might look more like CDT, with some set of decision variables in a structural graph. The other might look more like FDT, with some set of decision functions and dependencies between them. Write these two representations as
\[(Q_1,q_1,K_1)\]and
\[(Q_2,q_2,K_2).\]Suppose both are actually faithful representations of the same underlying semantic decision problem. I.e. both preserve the feasible alternatives and the full controller-to-world semantics, such that
\[K=K_1\circ q_1=K_2\circ q_2.\]Then, applying the previous theorem to both representations, we immediately obtain
\[\boxed{\begin{aligned} K_1(\operatorname{Opt}_{Q_1}) &=K(\operatorname{Opt}_{\mathcal C})\\ &=K_2(\operatorname{Opt}_{Q_2}). \end{aligned}}\]The set of optimal world lotteries must be exactly the same in both representations. I will call this representation consensus.
Note that they don’t necessarily have to describe their choices using the same words or variables. There may also be multiple different controllers that achieve the same consequences, or different consequences which the agent values equally. But they cannot disagree about the set of consequences which are optimal. This is a somewhat obvious theorem mathematically, but I think it has an interesting philosophical interpretation. If CDT and FDT actually disagree about the optimal consequences in some decision problem, then, under the ordinary assumptions of consequentialist choice, they cannot both be faithful representations of the same semantic decision problem.
They must disagree about at least one of the following:
- What the feasible alternatives actually are.
- What the structural consequences of these alternatives are.
- What the preferences over those consequences are.
There is no additional normative degree of freedom left over.
In some sense, this is the strongest claim I want to make in this post. Once the semantics of the decision problem are fully specified, we don’t need a further choice about whether to use CDT or FDT. Of course, this doesn’t establish which of two competing accounts of the structural semantics of Newcomb’s problem is correct. That requires an additional argument. But it tells us where such an argument has to take place.
You can’t manufacture new degrees of freedom just by drawing a different causal graph
One concern with the above formulation is that it seems like the choice of controller boundary is doing a huge amount of work.
And indeed it is.
Suppose I have an AI agent, and I originally represent the agent’s entire control mechanism as one variable \(c\). However, I then decide to refactor my world model and split this controller into two pieces:
\[c\mapsto(c_1,c_2).\]For instance, perhaps \(c_1\) represents some upstream computational mechanism which Omega can predict, and \(c_2\) represents the final actuator which actually takes the action. In my new model, there is an arrow from \(c_1\) to Omega’s prediction and an arrow from \(c_2\) to the action. Can I now perform an intervention on \(c_2\) while keeping \(c_1\) fixed?
Not necessarily!
Suppose, for simplicity, that there are only two feasible complete controllers, and they correspond to the following values of the two subcomponents.
| Complete controller | Predicted component | Executed component |
|---|---|---|
| One-box controller | One-box | One-box |
| Two-box controller | Two-box | Two-box |
The feasible set in the new representation is
\[D=\{(1,1),(2,2)\}.\]However, if we naively assume that each subcomponent is independently controllable, we instead obtain the feasible set
\[D'=\{(1,1),(1,2),(2,1),(2,2)\}.\]And, unsurprisingly, in this latter problem with a perfect predictor we will choose \((1,2)\) – i.e. to have Omega predict that we one-box while we actually two-box.
But this wasn’t a feasible option in our original decision problem!
We have obtained a different decision not because we have found a better way to represent the original problem but because we have introduced an additional control capability into the world. It is as if we have magically given the agent the ability to cause a perfectly timed cosmic ray to flip its output bit after Omega has made its prediction. Of course, if the agent actually has this capability, then it should use it. But we don’t want to give it this capability merely because we drew a graph with an additional node in it. There is a broader point here which I think is sometimes overlooked when using causal graphs to represent decision problems. The fact that it is mathematically possible to perform a surgical intervention on a variable in a causal graph doesn’t imply that the agent in the world has access to such an intervention. We can write down a causal graph of the weather and perform a surgical intervention which causes the sun to shine tomorrow. This doesn’t imply that I should choose to make the sun shine tomorrow.
It just isn’t in my feasible set of actions.
Similarly, the fact that we can write down a surgical intervention which changes an agent’s final actuator output while holding fixed everything else about the agent’s computation doesn’t necessarily imply that the agent has the ability to realize this intervention.
Conservative interface refinement
We can formalize this with a very simple result. Suppose we have some original controller space \(\mathcal C\) with world kernel \(K\), and we introduce a more detailed controller space \(\mathcal D\) with world kernel \(K'\). This refinement is conservative if there is a surjective map
\[q:\mathcal D\twoheadrightarrow\mathcal C\]such that
\[K'(d)=K(q(d))\]for every \(d\in\mathcal D\).
This just means that the more detailed representation introduces no new consequences and loses none of the old ones. But, applying essentially the same argument as before, we have
\[\boxed{\operatorname{Opt}_{\mathcal D}=q^{-1}(\operatorname{Opt}_{\mathcal C}).}\]So conservative refinements leave the optimal decision unchanged. In the example above, splitting the controller into two subcomponents while preserving the original set of feasible combinations is a conservative refinement. Making the two components independently controllable is not.
I think of this as a kind of no free control principle.
You cannot manufacture new degrees of freedom by changing the granularity at which you describe the agent or the world.
Invariance to structural refactoring
We can also give a somewhat stronger structural result here. Suppose we have two structural world models \(M\) and \(M'\) which describe the same world but at different levels of abstraction. For instance, one might represent a predictor as a single variable, whereas the other explicitly represents the simulation algorithm, the simulated agent, the output of the simulation etc. We want some structural criterion for when these are actually equivalent decision problems, which doesn’t just amount to checking that they predict the same actual-world outcomes. Suppose there is a correspondence \(\phi\) between the controllers of the two models, a map \(\psi\) between their exogenous states, and a map \(r\) between their endogenous world states. The crucial thing we want is that substituting a controller and then translating the resulting world state is equivalent to translating the controller first and then solving the new world model. Mathematically,
\[r_*S_M(\cdot\mid c,e)=S_{M'}(\cdot\mid\phi(c),\psi(e))\]for every controller \(c\) and every exogenous state \(e\). Here \(r_*\) just means the distribution obtained by applying the map \(r\) to the states sampled from the original distribution. If the corresponding outcome maps also commute, i.e.
\[O'\circ r=\rho\circ O\]for some translation \(\rho\) between the outcome descriptions, then we can show that
\[\boxed{K_{M',\psi_*\mu}(\phi(c))=\rho_*K_{M,\mu}(c).}\]The proof is just to integrate the pointwise structural equality over the exogenous distribution.
Crucially, this holds for any exogenous distribution \(\mu\). If \(\rho\) preserves utility, corresponding controllers have identical value. And if \(\phi\) is a bijection between feasible controllers, optimal controllers correspond exactly. This is a stronger property than merely requiring the two representations to predict the same observational distribution in the actual world. Two world models might make identical predictions for the agent that actually exists, but give entirely different predictions about what would happen if we substituted a different controller. Such models are not equivalent for decision-theoretic purposes. There is a nice connection here to the literature on causal abstraction, especially Beckers and Halpern’s work on abstracting causal models, where preserving the effects of interventions is a much stronger property than simply preserving observational distributions. The important additional thing here is to preserve the semantics of the control interface through the refactoring.
When should an agent actually behave like a causal decision theorist?
One extremely appealing property of CDT is that it works very well for most of the decision problems we actually encounter in everyday life.
If I’m trying to solve some ordinary sequential decision problem, I don’t want to have to optimize over my entire contingent policy from the beginning of time. I want to be able to reach some state, figure out what the best thing to do from that state is, and then do it. In fact, this is very closely related to a fundamental property we exploit throughout reinforcement learning and optimal control – the Bellman principle of optimality.
The basic idea behind the Bellman principle is that if we have an optimal policy for some sequential decision problem, then the continuation of this policy from any reached state should itself be optimal for the remaining problem from that state. This is an extraordinarily useful property computationally. Rather than having to do some horrible combinatorial search over all possible complete policies, we can break the problem up into a bunch of smaller optimization problems and solve these individually. For instance, in standard reinforcement learning, we can compute an optimal action at a state \(s\) using the Bellman optimality equation
\[V^*(s)=\max_a\mathbb E\left[r+\gamma V^*(s')\mid s,a\right].\]The reason this works is that changing what we will do in state \(s\) doesn’t change the world before we get into state \(s\), and it doesn’t change anything in worlds where we never get into state \(s\). Of course, we need to be a little careful here about recurrent states and policies. More precisely, the relevant property is that we can vary a continuation from some history onward without changing the structure of the world leading up to this history or the worlds in which this history never occurs. In ordinary Markov decision processes, the transition model gives us exactly this kind of structure, and Markov sufficiency and the other standard assumptions allow us to express the resulting recursion in terms of states rather than full histories.
Why shouldn’t this also work in Newcomb’s problem?
Suppose we have a globally optimal policy which one-boxes. Surely when the agent actually gets to the boxes, it can just locally improve this policy by taking the extra \$1,000? It turns out that we can give a very precise structural condition under which this kind of local policy improvement is actually valid. And Newcombian problems violate exactly the sorts of structural assumptions which are required for this reduction.
Structurally autonomous continuations
Suppose we have a complete controller \(c\) and some history \(h\) that the controller might encounter in the world. A history here can just be the sequence of observations and actions leading up to some particular point in the execution of the controller. Let \(\Gamma_h\) be some set of possible continuation controllers which could take over from this history onward.We will write
\[c\oplus_h\gamma\]for the complete controller obtained by replacing the continuation of \(c\) at history \(h\) with \(\gamma\).
Now suppose the world has the following properties. First, all these replacements actually give us feasible controllers. We can freely splice in any \(\gamma\in\Gamma_h\) without needing to alter other parts of the controller. Second, the probability of actually reaching history \(h\) is independent of which continuation we choose. I.e.
\[\Pr(h\mid c\oplus_h\gamma)=p\]for every \(\gamma\).
Thirdly, the distribution of outcomes in all the worlds where we don’t reach history \(h\) is also independent of which continuation we choose. Finally, in the worlds where we do reach \(h\), the continuation affects the world only through the structural dynamics from \(h\) onward. In particular, the distribution of the relevant state upon arrival at \(h\) must not depend on which continuation we have selected.
We shall call a continuation satisfying these properties structurally autonomous.
Intuitively, this just means that the continuation really is a local subdecision. Changing what you will do in this situation doesn’t change the probability that you get into the situation, doesn’t change the world before you get into the situation, and doesn’t do anything in worlds where you never get into the situation.
Deriving a structural Bellman principle
Let’s define the conditional value of some continuation \(\gamma\) given that we actually reach the history \(h\):
\[J_h(\gamma)=\mathbb E[u(\omega)\mid h,c\oplus_h\gamma].\]What is the total expected utility of our complete controller?
By the law of total expectation, it is just
\[\begin{aligned} V(c\oplus_h\gamma)={}&pJ_h(\gamma)\\ &+(1-p)\mathbb E[u(\omega)\mid\neg h,c\oplus_h\gamma]. \end{aligned}\]But because we assumed structural autonomy, the second term doesn’t depend on \(\gamma\) at all.
Let’s call it \(B\).
We thus have
\[\boxed{ V(c\oplus_h\gamma)=B+pJ_h(\gamma). }\]And that’s basically the entire proof.
If \(p>0\), then maximizing the global value of the controller with respect to the continuation \(\gamma\) is exactly equivalent to maximizing the conditional value of the continuation at \(h\).
\[\boxed{\underset{\gamma\in\Gamma_h}{\arg\max}\; V(c\oplus_h\gamma) =\underset{\gamma\in\Gamma_h}{\arg\max}\; J_h(\gamma).}\]Any improvement we can make to the local continuation must also be an improvement to the global controller. In particular, if our complete controller is globally optimal, it must already have optimal continuations at every positively reached structurally autonomous history. Otherwise, we could construct a better complete controller by simply splicing in a better continuation.
This gives us a kind of structural Bellman theorem.
And when the continuation alternatives are just the local actions available to the agent, and their consequences are given by ordinary downstream causal dynamics, this reduces exactly to the usual local causal expected utility optimization of CDT.
So we can derive CDT-like behavior directly from global controller optimization. We don’t need to have a separate CDT rule and decide that we are going to use it in some subset of problems. Rather, we have shown that when the structural conditions of a certain class of decision problems are satisfied, global controller optimization mathematically reduces to local causal optimization.
Note that the first three structural conditions are enough to obtain the affine decomposition itself. The fourth condition is what further allows us to interpret the conditional optimization problem as an ordinary local causal optimization problem.
This distinction ends up being quite important in Newcomb’s problem.
Why doesn’t the same argument work in Newcomb’s problem?
Let’s examine the assumptions.
Imagine a controller \(c\) which one-boxes when it arrives at the boxes. We now want to replace the continuation with one which two-boxes. Suppose Omega predicts the entire controller, including this continuation. Then changing the continuation from one-boxing to two-boxing can change what Omega does before we reach the boxes. Even if the probability of arriving at the boxes is exactly the same, the state of the world upon our arrival is not independent of which continuation we choose.
So structural autonomy fails.
We might still be able to write down a perfectly valid conditional optimization problem. However, the conditional distribution over the contents of the box now depends on which continuation we are evaluating. What we cannot do is compute the value of splicing in this alternative continuation while holding fixed the previous distribution over box contents. That is not the correct conditional world distribution for the alternative complete controller.
Conversely, in the modified Newcomb’s problem where we really have an independent late override, the structural autonomy conditions are satisfied relative to this override. We should then locally optimize and take the extra \$1,000.
This also gives a useful way of thinking about some of the discussion of dynamic consistency in decision theory. If the globally optimal policy and an apparently locally optimal continuation disagree, then something about the structural conditions which justify reducing the problem to local causal optimization must have failed. It is not necessarily evidence of a fundamental conflict between ex-ante rationality and ex-post rationality. It may simply be that the problem doesn’t possess the decomposition into independent subdecisions that we thought it did. There is an interesting connection here to J. Dmitri Gallow’s Escaping the Cycle, which emphasizes the importance of carefully characterizing what constitutes a genuine subdecision in CDT.
When are observations sufficient?
There is another useful distinction we can make here.
In reinforcement learning, we often want to compress the full history of the agent into a much simpler representation of its current state. For instance, if I’m playing chess, I generally don’t need to know the entire sequence of moves that led to the current board configuration. It is sufficient to know the board configuration, plus a few additional pieces of information such as whose turn it is, castling rights, repetition information etc. Suppose we have a map
\[s=f(h)\]which extracts some state representation from a history. In an ordinary structurally autonomous problem, this state representation is sufficient for continuation optimization if histories which map to the same state have the same feasible continuation alternatives and induce the same relevant conditional outcome distributions for each of these alternatives. I.e. for the relevant conditional kernels \(K_h^\gamma\), we want something like
\[f(h)=f(h') \implies K_h^\gamma=K_{h'}^\gamma \quad\forall\gamma.\]Then we can optimize conditional on \(s\) rather than \(h\). This is essentially the same factorization idea we had before, except that we are now compressing our representation of the world or information state of the agent rather than our representation of the controller.
However, there are two logically distinct properties here. One is whether the information we have is sufficient to characterize a conditional decision problem. The other is whether this conditional decision problem is an autonomous subproblem of the original global decision problem. Having the first property doesn’t give us the second property for free.
In transparent Newcomb, for instance, the agent can directly see the contents of the boxes. There is no need for it to do some additional Bayesian inference about whether the opaque box contains money. It knows perfectly well how much money is on the table. But this doesn’t imply that the agent has acquired any additional degree of freedom relative to the predictor. The observation gives it information about the world induced by its controller. It doesn’t make this world state independent of the controller.
I think this is a particularly important distinction when thinking about Newcombian problems in which the agent is given full information about the relevant state of the world. There is a very strong intuition that, once all uncertainty has been resolved, surely you should just take the action that leads to the best outcome given the state you are actually in. And indeed this is precisely what the structural Bellman theorem tells us to do whenever we have a genuine autonomous subdecision. But the mere fact that we know what state we are in does not imply that the decision problem has this structure.
Probably the most interesting and counterintuitive example of this is MacAskill’s bomb problem.
MacAskill’s bomb problem
In his critique of functional decision theory, Will MacAskill presents what I think is one of the most intuitively compelling counterexamples to FDT. The basic problem is a particularly nasty variant of transparent Newcomb.
There are two transparent boxes, Left and Right. Taking Right costs you \$100. Left contains either nothing or a bomb which, if you take the box, will kill you. A highly accurate predictor has predicted which box you will take. If it predicted you would take Right, it put the bomb in Left. Otherwise it left Left empty. The predictor’s probability of error is only one in a trillion trillion. However, you are now standing in front of the boxes and you can see that there actually is a bomb in Left. Moreover, the predictor has long since ceased to exist, there are no other agents left in the universe, and you will never again find yourself in a situation where anybody predicts what you will do.
What should you do?
The putative FDT answer is that you should take Left.
This seems completely insane!
You know with certainty that there is a bomb in Left. There is no way that taking Left now can make the bomb disappear. There is no reputation to uphold. You don’t need to worry about other agents making predictions about you in the future. You are literally choosing between certain death and losing \$100.
If ever there was an intuitively compelling case for CDT, surely it is this one.
However, I think it is quite illuminating to formulate this problem from the program-level perspective we have been discussing.
How do we actually implement the bomb problem?
Suppose we are trying to implement a computer simulation of this decision problem. We write some environment code which takes in a candidate agent program. The environment first inspects the agent program to determine what the agent would do if it were shown a bomb in Left. It then either puts a bomb in Left or doesn’t, depending on the result. Finally, it executes the agent program in the resulting environment.
I’m going to be explicit about what the predictor is predicting here because the original problem is slightly ambiguous on this point, as Wei Dai and others note in the discussion. In particular, we want it to predict the agent’s behavior in the situation which actually provides the incentive to be the sort of agent that takes Left – namely, being shown the bomb. We can represent the agent as a simple deterministic policy
\[\pi:\{0,1\}\rightarrow\{L,R\}\]where 0 corresponds to seeing no bomb and 1 corresponds to seeing a bomb.
Let
\[B\in\{0,1\}\]denote whether the bomb is actually present.
Suppose, initially, that the predictor is perfect.
The structural model is then simply
\[\begin{aligned} P&=\pi(1),\\ B&=\mathbf 1[P=R],\\ A&=\pi(B). \end{aligned}\]I.e. the predictor looks at what the policy would do if it saw a bomb, places a bomb there if the policy would take Right, and then the policy is actually executed given the resulting observation. Notice that there is no backwards causation here. There isn’t even any particularly complicated logical counterfactual reasoning. This is an ordinary, acyclic computer program which we can very easily evaluate for each candidate policy.
There are four possible deterministic policies.
| Policy | No bomb | Bomb | Does predictor place bomb? | Result |
|---|---|---|---|---|
| \(\pi_{LL}\) | Left | Left | No | Save \$100 |
| \(\pi_{LR}\) | Left | Right | Yes | Lose \$100 |
| \(\pi_{RL}\) | Right | Left | No | Lose \$100 |
| \(\pi_{RR}\) | Right | Right | Yes | Lose \$100 |
The optimal controller is \(\pi_{LL}\).
In fact, in this version of the problem, none of the controllers ever dies. The controllers which would take the bomb never actually encounter it. And the controllers which wouldn’t take the bomb are presented with it and then pay the \$100 to avoid it. This seems like an entirely uncontroversial optimization result. If we are building an AI agent and we know that it will be placed into this environment, surely we should just build the first controller.
Why can’t we commit to taking the bomb and then not take it?
The obvious objection here is that there is a much better strategy.
First, commit to taking Left, so that the predictor doesn’t place the bomb there. But then, if we actually find ourselves in the situation where there is a bomb there, just take Right. Surely this dominates the strategy of taking Left no matter what?
However, let’s actually try to implement this strategy. What does the program do when its observation is that there is a bomb?
It takes Right.
But that is exactly the property of the program that the predictor is looking at!
So this is not the first policy in the table. It is the second policy.
The predictor looks at this program, finds out that it would take Right in the bomb situation, puts the bomb in Left, and then the program takes Right and loses \$100.
There is no magical distinction from the perspective of the environment between a policy which says
If there is a bomb, take Right.
and a policy which says
I am totally committed to taking Left, but if there actually is a bomb, reconsider my decision and take Right.
Both are programs which take Right when there is a bomb.
This, I think, is the fundamental intuition behind why the apparently superior strategy of committing to taking the bomb but not actually taking the bomb is not feasible. The commitment needs to be a property of the actual controller, not just a statement about what the controller ostensibly intends to do. If the commitment is only cheap talk, then it is irrelevant to a predictor which examines the program’s behavior.
Yet if the commitment is genuine, then the subsequent behavior of the program is constrained by this commitment.
You cannot simultaneously specify a controller which takes Left when it encounters a bomb and a continuation of this controller which takes Right when it encounters a bomb.
Unless, of course, you have a genuinely separate mechanism for overriding the controller which the predictor doesn’t have access to.
But this is exactly the independent override problem we discussed before!
In this case, the set of things you can independently vary has changed.
One way to see this is to imagine that Omega only has access to the source code of the controller you initially upload to a robot. After Omega has finished its prediction, you get access to some independent hardware control which changes the robot’s behavior without changing the controller that was predicted. Then it is possible to upload a controller which would take Left and subsequently use the override to take Right if there is a bomb. But the fact that we can imagine and implement this different environment doesn’t mean that this control capability exists in the original environment.
A controller which contains a routine to reconsider its decision and avoid the bomb is not an example of such an override if the entire routine is part of the program accessible to Omega.
Adding the tiny probability of predictor error
Of course, in the original bomb problem, the predictor is not perfect. This is important because otherwise the situation in which an optimal controller actually sees the bomb is inconsistent with the construction of the problem. Let’s suppose that with probability \(\epsilon\) the predictor gets the disposition of the controller wrong. We can represent this by drawing an exogenous error bit
\[E\sim\operatorname{Bernoulli}(\epsilon)\]and flipping the predicted action whenever \(E=1\). Suppose we normalize our utilities such that saving the \$100 gives us a utility of zero, losing the \$100 gives us utility \(-100\), and dying gives us utility \(-D\). Of course, \(D\) is going to be very large. But suppose for the moment that it is finite and that we are an expected utility maximizer.
What is the expected utility of the policy which always takes Left?
With probability \(1-\epsilon\), the predictor correctly predicts that the policy would take Left even if it encountered the bomb, so there is no bomb and the agent obtains utility zero.
With probability \(\epsilon\), the predictor makes a mistake, there is a bomb, and the agent obtains utility \(-D\).
So
\[V(\pi_{LL})=-\epsilon D.\]What about the policy which takes Left when there is no bomb, but Right when there is?
With probability \(1-\epsilon\), the predictor correctly predicts that the policy would take Right if it encountered the bomb, so there is a bomb and the agent loses 100.
With probability \(\epsilon\), the predictor makes a mistake, doesn’t place a bomb, and the agent saves 100.
So
\[V(\pi_{LR})=-(1-\epsilon)100.\]The complete table of expected utilities is thus:
| Policy | Expected utility |
|---|---|
| Always Left | \(-\epsilon D\) |
| Left if empty, Right if bomb | \(-(1-\epsilon)100\) |
| Right if empty, Left if bomb | \(-(1-\epsilon)100-\epsilon D\) |
| Always Right | \(-100\) |
Assuming \(D>100\) and a sufficiently accurate predictor, the policy of always taking Left is optimal precisely when
\[\epsilon D<(1-\epsilon)100,\]or
\[\boxed{ \epsilon<\frac{100}{D+100}. }\]For instance, if the disutility of death is equivalent to losing \(10^{12}\) dollars, and the probability of predictor error is \(10^{-24}\), then the expected disutility of the always-Left policy is equivalent to losing \(10^{-12}\) dollars. It is quite straightforwardly the best policy in expected utility terms. Of course, if we really have infinitely negative utility for dying, or sufficiently extreme risk aversion, or the predictor isn’t sufficiently accurate, then this may no longer be the optimal policy. There is nothing in the framework which requires taking arbitrary risks.
But suppose we actually see the bomb!
This is where the counterintuitiveness comes in.
Suppose we are executing the optimal policy and actually encounter a bomb. We are in the extremely unlikely world where Omega made a mistake. Surely now we should just change our mind?
But notice that if we had instead implemented the policy which changes its mind in this situation, we would not be executing the same controller.
In fact, there is a nice way to see this by holding fixed the exogenous randomness in our structural model. Consider the two candidate policies in each of the two exogenous states.
| Predictor error | Always-Left policy | Left-if-empty policy |
|---|---|---|
| No error | No bomb; take Left; utility 0 | Bomb; take Right; utility -100 |
| Error | Bomb; take Left; utility \(-D\) | No bomb; take Left; utility 0 |
Notice what happens if we change the controller while holding fixed the fact that the predictor made an error.
We don’t obtain a world where we see a bomb and then take Right. We obtain a world where there is no bomb!
The reason is that the predictor’s error is relative to the controller it is trying to predict.
So the counterfactual in which we have the alternative controller but also hold fixed all the properties of the original controller’s induced world isn’t in our feasible set of worlds for that exogenous state. It combines pieces of two different executions of the world model. More specifically, the outcome we would really like to achieve is something like:
- Be the sort of controller which takes Left when confronted with the bomb, so that the predictor ordinarily leaves Left empty.
- Nevertheless, take Right if we are actually confronted with the bomb.
This conjunction of properties simply isn’t realizable by any of our four feasible policies. The outcome of seeing a bomb and taking Right is perfectly feasible for a different controller. What is not feasible is obtaining this outcome while retaining the predictor-relevant disposition of the always-Left controller. This is not some philosophical stipulation about what sorts of counterfactuals we should or shouldn’t consider. It follows from how we have implemented the decision problem.
What happens to the Bellman principle?
The structural Bellman theorem makes the problem here very clear. Let \(h\) be the history where the agent sees the bomb. Consider replacing the continuation at this history from taking Left to taking Right. Under the first continuation,
\[\Pr(h\mid\pi_{LL})=\epsilon.\]Under the second continuation,
\[\Pr(h\mid\pi_{LR})=1-\epsilon.\]Changing our continuation at \(h\) changes the probability of reaching \(h\) by an enormous amount!
So the very basic structural condition that the reach probability be independent of the continuation fails. We are not permitted to treat the conditional optimization problem at \(h\) as an autonomous subproblem of the original decision problem. If we nevertheless condition on \(h\) separately for each policy, then of course we get
\[\begin{aligned} J_h(\pi_{LL})&=-D,\\ J_h(\pi_{LR})&=-100. \end{aligned}\]And, conditional on seeing the bomb, the second policy is much better. But this is not the same comparison as the global policy optimization because we have thrown away the enormous difference in the probability of encountering the bomb in the first place. In the Bellman decomposition, the term multiplying the conditional utility is itself a function of the continuation. We have
\[V(\gamma)=B(\gamma)+p(\gamma)J_h(\gamma)\]rather than
\[V(\gamma)=B+pJ_h(\gamma).\]And therefore it is no longer valid to just maximize \(J_h(\gamma)\) and ignore the other terms. This seems like a much simpler explanation of why this problem produces the counterintuitive answer than appealing to some fundamentally different form of logical counterfactual reasoning.
Doesn’t this still give us the crazy answer in the actual bomb situation?
Yes, in the sense that the globally optimal controller in this particular idealized environment really does implement the continuation of taking Left in the very rare case where it encounters the bomb. I don’t want to try to hide this conclusion by claiming that there is actually no bomb when the agent sees it, or that the agent somehow obtains additional causal benefits from taking it. There really is a bomb there. The controller really does encounter a terrible outcome in this world. And, conditional on having already encountered the bomb and having an independent control over its subsequent action, avoiding the bomb would be much better.
The issue is whether the agent actually has access to the latter decision problem. It is perfectly reasonable to dislike the outcome. But it is also quite straightforward to show that a program which reliably avoids this outcome by having the disposition to take Right in the bomb situation is systematically worse off according to the prior expected utility criterion we have specified. The environment is deliberately designed to make this true. And the question of which program we should instantiate in such an environment is not particularly difficult mathematically.
I think what gives the bomb problem so much intuitive force is that it describes the decision problem to us from the perspective of the agent already in the very bad state, and we naturally bring to bear our intuitions about ordinary autonomous local decisions.
We implicitly assume that the agent has independent control over what it does next, without this affecting the process by which it arrived in this state. And in virtually all everyday situations, this is a very reasonable assumption. But the whole point of the construction of the bomb problem is that this assumption is false for the program-level control interface. The intuition is thus telling us something true about a different decision problem.
If somebody just describes the situation of there being a bomb in front of you and you having the option of avoiding it, without providing the structural information about how your controller generated the situation, then of course we have no reason to reach the FDT-like answer. Likewise, if a real late override is feasible, the structural Bellman theorem tells us to avoid the bomb.
The more interesting question is whether the original informal description has actually established that such a late override is available. I don’t think it has. This doesn’t completely resolve all the philosophical issues with the original bomb argument. For instance, there are separate questions about agents whose preferences are intrinsically indexical, or who evaluate consequences only relative to their present observer-moment. There are also questions about exactly which information the predictor has and which computations it predicts. But it does give us a precise account of why the globally optimal program can exhibit this seemingly crazy behavior, and why the apparently dominating program which takes advantage of the predictor without ever taking the bomb is not, in fact, available.
We don’t need some additional theory of rationality to explain this. We just need to carefully specify and optimize the feasible set.
Deriving updateless decision theory as a quotient
Let’s now look at the other side of the spectrum. Suppose we have a very general structural world where predictors, simulations and other agents can all interact with our controller. However, suppose they can only interact with the controller through its input-output behavior. They can’t see the source code, they don’t care how long the computation takes, and they have no other way of inspecting how the controller produces its outputs.
In this case, it seems like we shouldn’t need to optimize over the space of all possible programs. It should be sufficient to optimize over the space of possible behaviors of those programs. Let’s introduce a map
\[\beta:\mathcal C\rightarrow\mathcal B\]where \(\beta(c)\) is the behavioral semantics of the controller.
In the simplest deterministic case, \(\beta(c)\) might just be a function
\[\pi:\mathcal H\rightarrow\mathcal A\]from possible histories to possible actions, i.e., it is the complete policy implemented by the program. There is a slight subtlety here in the case of stochastic controllers. Suppose we have two controllers which each output 0 or 1 with probability 50% on every time step. However, the first controller samples a fresh random bit at each time step, whereas the second controller samples one random bit at the beginning and then outputs that same bit forever.
If we simply characterize the controllers by their unconditional action probabilities at each time step, they look identical. But they are clearly implementing very different behaviors.
If the environment gives the agent a reward for outputting the same bit a million times in a row, one controller always receives the reward and the other almost never does. So, in general, our behavioral semantics needs to capture the full joint distribution over action histories for the relevant admissible observation contexts, not merely pointwise action marginals. If there are multiple executions of the controller which share randomness or internal state, then we may also need to capture the relevant correlations between these executions.
Now, suppose the environment only depends on this behavioral semantics. This means precisely that
\[\beta(c_1)=\beta(c_2) \implies K(c_1)=K(c_2).\]But we have already seen exactly this condition before! It is just our sufficient interface condition, applied to the behavioral semantics of the controller. We thus immediately have a factorization
\[\boxed{K=\bar K\circ\beta.}\]And we can simply optimize over the set of feasible policies \(\beta(\mathcal C)\) instead of the set of all programs.
\[\pi^*\in\underset{\pi\in\beta(\mathcal C)}{\arg\max}\;\mathbb E_{\omega\sim\bar K(\pi)}[u(\omega)].\]This gives us the essential global policy optimization structure of UDT1.1. There is no particular reason to only optimize our action at the input we actually receive. The world might depend in important ways on what we would do for entirely different inputs, so we need to optimize the entire input-output mapping.
An illustrative example
Suppose Omega makes two copies of your program and gives one copy the observation 1 and the other copy the observation 2. Each copy can output either A or B. If the two copies output different letters, they both receive \$10. If they output the same letter, they both receive nothing. The two copies can’t communicate with each other, but they are running the same program.
There are four possible deterministic policies.
| Policy | Output on input 1 | Output on input 2 | Reward per copy |
|---|---|---|---|
| \(\pi_1\) | A | A | \$0 |
| \(\pi_2\) | B | B | \$0 |
| \(\pi_3\) | A | B | \$10 |
| \(\pi_4\) | B | A | \$10 |
From the perspective of global controller optimization, the problem is trivial. We simply implement one of the latter two policies, with the same tie-breaking convention in both copies. Conversely, it becomes quite confusing to try to reason directly about the logical implications of choosing the output A conditional on receiving observation 1, without simultaneously specifying what the program would do upon receiving observation 2.
The fundamental problem is that the consequences depend on more properties of the controller than just its output for the current input. But, again, we don’t need any additional principle of rationality to solve this problem. We just need an interface which retains the relevant information about the controller. In this case, the complete policy does exactly this.
When policies themselves are insufficient
Of course, as Wei Dai pointed out in UDT2, there are also cases where policies aren’t sufficient. Suppose we have two different programs which implement exactly the same input-output mapping, but one program takes a millisecond to compute its outputs and the other takes a year. Now suppose the predictor only gives the agent \$1 million if it takes less than a second to reach its decision.
Clearly these two controllers have different consequences despite having the same policy, where our definition of policy abstracts away computation time. Or suppose the predictor inspects some aspect of the source code of the agent. Or requires that it provide a particular proof of its own behavior. Or looks for some particular property of how the controller might self-modify. We can then have
\[\beta(c_1)=\beta(c_2)\]but
\[K(c_1)\ne K(c_2).\]In this case, our sufficient interface theorem tells us that it is mathematically impossible to represent the problem faithfully using only the extensional policy as the decision variable. There is no well-defined function from policies to world lotteries because the same policy can lead to different world lotteries depending on which program implements it. We need to retain some information about the intensional properties of the program – the way in which the program actually implements the policy.
This gives us a unified way of understanding the successive generalizations from action-based decision theory to policy-based decision theory to program-based decision theory.
| What the world depends on | Potentially sufficient decision variable |
|---|---|
| The action | Action |
| The full input-output behavior | Policy |
| The implementation of the behavior | Program or relevant program properties |
The correct level of representation is not something we should have to decide a priori as part of our normative theory of rationality.
It is a property of the structural decision problem.
Can we compile functional decision theory into this framework?
There is a somewhat more direct connection we can make to FDT. Suppose we have a formal structural model of the kind we might use in policy-level functional decision theory. There is some variable \(\tilde D\) which represents the entire decision rule of the agent. Different parts of the world can depend on \(\tilde D\). For instance, Omega might depend on \(\tilde D\) via a simulation, and other copies of the agent might also depend on \(\tilde D\). In such a formulation, we evaluate a candidate policy \(\pi\) by performing some kind of logical or mechanised intervention
\[\operatorname{do}_L(\tilde D:=\pi).\]We then compute the distribution over worlds resulting from this intervention, which we can denote by
\[K_F(\pi).\]But suppose we have already explicitly specified all of the structural mechanisms by which the rest of the world depends on this decision rule, and that our logical intervention is defined by replacing this decision-rule variable. There is then a very simple transformation we can perform.
We simply delete the structural equation which determines \(\tilde D\) and expose this variable as an open input to the world model. Instead of the world internally determining the value of the decision rule and us then intervening on it, we construct a world model which takes the value of the decision rule as an input. We can then just plug the candidate policy \(\pi\) into this open input.
What happens?
Exactly the same thing as in the FDT model.
In both cases, we replace the mechanism determining the decision rule with the constant value \(\pi\). All the other structural equations, including all the dependencies of predictors and copies on this rule, remain exactly the same. Consequently, for every exogenous state, the two resulting closed world models have identical structural equations. Assuming we preserve the solution semantics as well, this gives us the pointwise equality
\[\boxed{ K_{\mathrm{controller}}(\pi)=K_F(\pi) }\]for every candidate policy \(\pi\). So the two formulations necessarily give identical recommendations.
Conversely, any extensional open-controller model can be encoded into a mechanised causal model by representing its controller input as an endogenous decision-rule variable and then intervening on that variable. In this precise sense, this form of policy-level FDT and structural controller substitution are equivalent representations.
What this does not mean is that we have solved the general problem of logical counterfactuals.
The logical dependencies which FDT wants to exploit still have to be represented somewhere. We have simply moved them into the independently specified structural model of the world. If we don’t know how a predictor or another mathematically related computation depends on our decision rule, this formulation doesn’t magically tell us.
However, conditional on having specified these dependencies, we no longer need an additional special logical intervention operator in order to make the decision. Ordinary substitution of the controller into the structural model is sufficient.
A few other classic decision problems
One thing I find particularly appealing about this way of formulating decision theory is that a large number of the classic decision theory problems can be understood using exactly the same structural argument.
The smoking lesion
In the smoking lesion problem, there is some lesion in the brain which both causes you to want to smoke and causes you to get cancer. However, in this hypothetical problem, smoking itself doesn’t cause cancer, and you enjoy smoking. EDT potentially gives the wrong answer here because smoking provides evidence that you have the lesion and thus that you are going to get cancer. However, in our structural controller model, we simply represent the lesion as some background state of the world which is not changed by substituting the relevant controller. For instance,
\[\begin{aligned} L&\sim\mu_L,\\ H&=\operatorname{Observation}(L),\\ A&=c(H),\\ Y&=\operatorname{Cancer}(L). \end{aligned}\]Here \(Y\) is the cancer outcome. Substituting different controllers changes the action \(A\), but it doesn’t change the lesion or the distribution over cancer outcomes.
So, assuming positive utility from smoking and no other negative effects in this hypothetical, we choose to smoke. We have thus obtained the standard desirable CDT answer without having to use a different choice rule from the one we used to one-box in Newcomb’s problem. The difference is simply that in one problem the relevant upstream mechanism structurally depends on the controller, and in the other problem it doesn’t. This is also why the structural formulation isn’t just a slightly more complicated version of EDT. Mere correlations between actions and good outcomes are not enough to tell us the consequences of instantiating different controllers.
The twin Prisoner’s Dilemma
Suppose there are two copies of an agent playing the Prisoner’s Dilemma with each other. If the two copies are both generated from the same source program, and the relevant controller interface is this shared program, then substituting a new controller into the world changes both copies. In the simplest symmetric deterministic version, the feasible joint behaviors are just
\[(C,C)\quad\text{or}\quad(D,D).\]Since mutual cooperation is better than mutual defection, we cooperate.
But suppose instead that the two copies have already been compiled into separate binaries and we genuinely only have control over patching one of the binaries. Then the other binary is fixed relative to our control interface, and we have a different decision problem. In the ordinary one-shot Prisoner’s Dilemma, defection is then locally optimal.
Again, it is extremely important to distinguish between the mathematical fact that the agents were initially running identical programs and the structural question of what the feasible alternatives actually are. The framework doesn’t say that all agents running identical software should always be treated as being controlled by one shared decision variable. It says that if their behavior is jointly determined by the feasible controller substitution, then this joint dependence needs to be represented in the world kernel.
Transparent Newcomb and mechanical blackmail
Suppose Omega’s box in Newcomb’s problem is now transparent. You can actually see that it contains \$1 million. Surely, now that you know this, it is optimal to two-box?
But the policy
One-box in general, except when I see that the box is full, in which case I two-box
is just another candidate policy.
If Omega is predicting your complete policy, it can potentially take this behavior into account. Exactly what happens depends on how Omega makes predictions about observation-dependent policies, and whether the corresponding structural model admits consistent solutions.
The fact that you have received an observation doesn’t, by itself, give you a new independent control mechanism which Omega could not have predicted. The same issue arises in mechanical blackmail, where a predictor only threatens to blackmail you if it predicts you will pay.
A policy of not paying blackmail, except in the particular case where you are actually blackmailed, is not a policy of refusing blackmail! It is a policy of paying blackmail whenever you receive the relevant demand. And the predictor can potentially determine this.
Of course, if we introduce a genuine predictor-invisible override that becomes available after the threat has been made, then the structural Bellman principle applies and paying might be optimal. But receiving the threat isn’t itself evidence that we have gained such an override.
This is really just the same structure as the bomb problem. We can be very pleased about the fact that we have implemented a policy of refusing blackmail when we aren’t being blackmailed. However, in order for this policy to actually have the desirable effect of preventing blackmail, it has to be a property of the controller in the counterfactual world where we actually are being blackmailed.
There is no point in having a policy of refusing blackmail which ceases to be a policy of refusing blackmail precisely when it is relevant.
Counterfactual mugging
In counterfactual mugging, Omega flips a fair coin. If the coin lands heads, Omega gives you \$10,000, but only if it predicts you would have paid it \$100 in the counterfactual world where the coin landed tails. If the coin lands tails, it asks you for \$100. Suppose we consider two complete deterministic policies.
- Pay the \$100 if asked.
- Refuse to pay the \$100 if asked.
With a perfect predictor and linear utility in money, the first policy has expected value
\[V(\pi_{\mathrm{pay}})=\frac12(10000)-\frac12(100)=4950.\]The second policy has expected value zero. So we choose the policy which pays.
But suppose we now receive the observation that the coin landed tails. Shouldn’t we update away the heads branch, at which point paying \$100 just looks like throwing away money?
The problem is that our decision problem is over a complete controller whose properties influence both branches of the world. If we change the controller’s continuation in the tails branch, we also change what Omega would have done in the heads branch. So the assumption that the off-path outcomes are invariant to our choice of continuation fails, and we cannot apply the structural Bellman theorem.
Interestingly, this is a different failure of the Bellman conditions from the bomb problem. In the bomb problem, changing the continuation changes the probability of encountering the situation. In counterfactual mugging, changing the continuation doesn’t affect the probability of getting tails at all. But it changes the outcomes in the other branch where we get heads. We can thus use the structural Bellman conditions as a kind of diagnostic for the precise ways in which various Newcombian decision problems fail to decompose into local autonomous subdecisions.
Parfit’s hitchhiker has essentially the same general structure. Whether the agent is rescued can depend on its disposition to pay for the rescue after it has already happened. These cases thus don’t require us to explicitly stipulate that the agent should somehow be forbidden from Bayesian updating. Rather, they require us to distinguish between using an observation as an input to a controller and redefining the optimization problem over complete controllers to be conditional on that observation. These are different mathematical operations.
What does this say about the value of information and commitment?
There is a nice general principle that we can derive from the framework which ends up being applicable to a number of classic questions in decision theory.
Suppose we have two different decision problems, \(A\) and \(B\), with the same utility function over worlds. Suppose that for every feasible controller in problem \(B\), there is some feasible controller in problem \(A\) which achieves exactly the same distribution over worlds. We can formalize this as the existence of a simulation map
\[s:\mathcal C_B\rightarrow\mathcal C_A\]such that
\[K_A(s(c))=K_B(c)\]for every \(c\in\mathcal C_B\).
Then, pretty obviously,
\[\boxed{ \max_{a\in\mathcal C_A}V_A(a) \geq \max_{b\in\mathcal C_B}V_B(b). }\]Anything we can achieve in problem \(B\), we can also achieve in problem \(A\). And maybe we can do even better in problem \(A\). If both problems can simulate each other, then their optimal values are equal. This is a trivial result mathematically, but the requirement that we be able to simulate the entire world lottery, rather than just the output actions of the agent, is quite useful.
Can information have negative value?
There is a standard intuition in decision theory that obtaining free additional information should never be bad for you.
If you don’t want to use the information, you can always just ignore it.
But there are a number of Newcombian decision problems in which obtaining information appears to reduce the utility achievable by the agent. The simulation result helps us clarify exactly what is going on here. Suppose we augment the agent with an additional signal \(S\).
If every controller in the original problem can be implemented in the new problem by simply ignoring \(S\), and doing so results in the exact same world consequences, then
\[\boxed{V^*_{\mathrm{with}\ S}\geq V^*_{\mathrm{without}\ S}.}\]This also gives us a structural version of the usual Blackwell informativeness result. Suppose \(S_2\) is a garbling of \(S_1\), in the sense that it can be generated by applying some stochastic transformation to \(S_1\). If an agent which receives \(S_1\) can privately simulate this garbling, then it can simulate any controller which only receives \(S_2\). Provided there are no additional world effects from receiving the more informative signal or performing the garbling, we have
\[V^*(S_1)\geq V^*(S_2).\]The interesting qualification here is that just because an agent can behaviorally ignore some information doesn’t mean the entire world can ignore the fact that the agent has obtained that information. For instance, suppose a predictor looks at whether a piece of information has been made available to the agent, or at whether the agent’s source code contains a particular information-processing routine.
Then the agent’s obtaining the information can have additional world effects irrespective of how it eventually behaves. In this case, the old problem might not be semantically simulable in the new problem, and the value-of-information result doesn’t apply. The theorem still works, but we need a slightly richer notion of what it means for information to actually be ‘free’.
Do we need commitment devices?
A similar argument applies to commitment.
Suppose we give an agent access to a device which allows it to commit to some course of action in the future. If everything the agent can achieve using the commitment device can also be achieved by some feasible complete controller without the device, then the device provides no additional optimal value. If the simulation also works in the other direction, then the two problems have exactly the same optimal value. This is why, in sufficiently idealized versions of updateless or policy-based decision theory, we often don’t need an explicit commitment mechanism. The agent simply implements the optimal complete contingent controller, which might involve doing something locally costly at a later time. In some sense, any complete deterministic program already specifies what the agent is ‘committed’ to doing for any possible input. We don’t have to additionally introduce some kind of special normative force associated with making a commitment.
However, commitment devices can still be extremely valuable if they allow the agent to implement behaviors which it otherwise couldn’t implement, or if other parts of the world can observe the commitment device itself and respond to it. For instance, an externally verifiable commitment to some policy might be treated very differently by another agent than merely claiming that you will implement that policy. The commitment device has changed the world kernel, even if the actual behavior would have been identical. There is nothing special or mysterious about commitment itself in this formulation. Its value comes from the consequences it makes feasible.
What have we actually shown about rationality?
Throughout most of the post, we have assumed expected utility maximization. But there is actually a slightly more general argument we can make about why the optimization rule itself isn’t where the distinctively Newcombian difficulty lies.
Suppose we want a consequentialist decision theory to satisfy a couple of fairly natural properties.
First, if we redescribe a decision problem in a mathematically equivalent way, we should not change the recommendation.
Secondly, if two feasible controllers induce identical distributions over complete worlds, then they should be equally good options.
If we care about some difference between the controllers, such as the computation they perform or how much autonomy they allow us, we should include this in our description of the complete worlds. Assuming also that irrelevant duplications of options don’t change our choices between the resulting consequences, the only thing that matters for choice is the menu of achievable lotteries
\[\mathcal L=K(\mathcal C)\subseteq\Delta(\Omega).\]All the details about how we have represented the structural model, what language the programs are written in etc. have disappeared from the choice problem once they have been accounted for in the world kernel. We can then ask what it means to choose consistently from such menus.
Suppose our choice correspondence \(\chi(\mathcal L)\) always picks a nonempty set of options from every finite nonempty menu, and satisfies the standard Weak Axiom of Revealed Preference (WARP) for choice correspondences.
Intuitively, we don’t want our ranking of two possible lotteries to depend arbitrarily on whether some third irrelevant option is also available. We can define a revealed preference relation by
\[P\succeq Q\quad\Longleftrightarrow\quad P\in\chi(\{P,Q\}).\]Nonempty choice from pairs gives completeness of this relation. Consistency across the full domain of finite menus gives transitivity and ensures that the selected elements of any menu are exactly the maximal elements according to this preference relation. Thus we obtain
\[\boxed{ \chi(\mathcal L)=\max_{\succeq}\mathcal L. }\]This is just standard revealed-preference rationalizability. There is nothing particularly novel about the choice-theoretic part of this argument. If we additionally assume the usual von Neumann–Morgenstern axioms, including independence and continuity, over the lottery domain, then we obtain the usual expected utility representation
\[V(c)=\mathbb E_{\omega\sim K(c)}[u(\omega)].\]However, we don’t actually need expected utility theory for most of the results in this post. We could have some other consistent preference relation over world lotteries and still obtain the sufficient interface theorem, the minimal quotient, conservative refinement, and representation consensus. Expected utility is important for some of the additional results, such as the affine Bellman decomposition, but not for the basic idea of structural controller optimization.
There is a broader connection here to Hammond’s consequentialist foundations for expected utility, and to the classical idea that different representations of a decision tree shouldn’t lead to different choices over the same attainable consequences. The point of our construction is to extend this kind of consequential equivalence explicitly to structural decision problems involving predictors, copies, and decision mechanisms.
The obvious objection: haven’t we just hidden all the difficult decision theory inside the world model?
To some extent, yes!
Suppose we have successfully specified our controller-to-world kernel \(K\). Obviously, it is then extremely easy to make an idealized rational decision, since we already know the distribution of consequences of every possible thing we can do. The difficult question is how we actually obtain this kernel.
However, I think there is an important distinction here between the difficulty of decision theory and the difficulty of obtaining a model of the world. In some sense, the fact that we need to provide a fully specified decision problem to our decision theory is not a limitation which is unique to this framework. It is fundamental to the entire enterprise of decision theory. To see why, we can prove two very simple impossibility results.
The actual world doesn’t determine the counterfactual worlds
Suppose we observe that the actual controller in the world is \(c_0\) and that we know its entire world lottery \(K(c_0)\). Can we infer what the correct decision is from this?
In general, obviously not.
But we can demonstrate this very directly.
Suppose there is another feasible controller \(c_1\) and three possible world outcomes \(\omega^+\), \(\omega^0\), \(\omega^-\) such that
\[u(\omega^+)>u(\omega^0)>u(\omega^-).\]We can construct two different world kernels \(K^+\) and \(K^-\).
| Controller | World model \(K^+\) | World model \(K^-\) |
|---|---|---|
| \(c_0\) | \(\omega^0\) | \(\omega^0\) |
| \(c_1\) | \(\omega^+\) | \(\omega^-\) |
Here each entry denotes a deterministic outcome.
Both world models agree exactly about the consequences of the actual controller. However, in the first model, \(c_1\) is strictly preferable to \(c_0\), whereas in the second model, \(c_0\) is strictly preferable to \(c_1\). So even complete information about the actual-controller lottery doesn’t, in general, determine the rational ranking of alternative controllers. We need some additional information about the structure of the world and how it responds to different feasible controllers.
Importantly, no amount of cleverness in our normative theory of rationality can get us around this. Suppose there is some decision rule which takes as input the actual-world lottery and outputs the correct controller. Since the actual-world lottery is identical in our two decision problems, the decision rule must give the same answer for both of them.
But the correct answers are different!
So the rule must fail on at least one of the two problems.
This is just a very elementary information-theoretic limitation. There is an irreducible amount of information about the consequences of alternatives which has to be supplied to a decision theory somehow.
Any controller-to-world kernel can be represented as a structural world model
There is an even stronger cautionary result we can derive here. Suppose we have some arbitrary function
\[K:\mathcal C\rightarrow\Delta(\Omega).\]Can we always construct a controller-open structural model which realizes exactly this kernel?
At least for finite controller and outcome spaces, the answer is yes.
The construction is extremely easy. Let the world have one exogenous variable
\[U\sim\operatorname{Uniform}[0,1].\]For every controller \(c\), we can construct a function \(f_c\) which maps a uniform random number into an outcome sampled from \(K(c)\). For instance, if \(K(c)\) assigns probability 0.3 to outcome \(\omega_1\) and probability 0.7 to outcome \(\omega_2\), we just define
\[f_c(U)= \begin{cases} \omega_1 & U<0.3,\\ \omega_2 & U\geq 0.3. \end{cases}\]We can then define our entire structural model to be
\[X=f_c(U)\]and take \(X\) itself to be the complete outcome.
By construction,
\[\boxed{K_M(c)=K(c)}\]for every controller c. So every finite controller-to-world kernel can be represented by some structural model.
This is an important limitation.
The mere fact that we can describe our decision problem using structural equations imposes essentially no restriction on the possible decision problems we can represent. In particular, if we first decide that some arbitrary decision is optimal and then work backwards to construct a structural model in which that decision has the best consequences, we haven’t actually accomplished anything. The substantive claim of structural controller optimization is instead that we should independently specify the world mechanisms and the feasible control interface, and then apply the same controller substitution semantics uniformly across all the alternatives. There is no additional choice operator which can modify these semantics after the fact.
So the structural model doesn’t get us out of the problem of providing a correct account of the world. However, I think it is important to realize that neither does any other decision theory.
All decision theories already require this!
Suppose I tell you that I subscribe to causal decision theory.
Does this tell me what to do in Newcomb’s problem?
Not by itself.
I still need to specify a causal model of the problem. In particular, I need to specify which variables I am performing interventions on, which other variables are descendants of these variables, and what the causal mechanisms relating these variables actually are.
Given this information, CDT tells me how to compute the consequences of the relevant interventions and then optimize. But CDT itself does not provide me with a general account of how to learn the correct causal model of the world. Indeed, there is a whole separate field of causal discovery precisely because this is an extremely difficult problem.
Similarly, suppose I tell you that I subscribe to FDT. What should I do in some arbitrary environment containing other agents which perform complex computations related to my own computation?
FDT tells me that I should take into account the relevant logical or subjunctive dependencies between these computations.
But FDT does not, just by virtue of being a decision theory, provide a general solution for deriving these dependencies from a description of the physical world.
This is one of the fundamental open problems in the FDT literature.
And EDT similarly requires us to specify a joint probability distribution over actions and outcomes, from which it computes the relevant conditional probabilities. It does not provide an epistemology for obtaining this joint distribution.
We can summarize the situation as follows.
| Decision theory | Information which needs to be supplied |
|---|---|
| EDT | Joint probabilistic model of actions and outcomes |
| CDT | Causal model and specification of available interventions |
| FDT | Model of the relevant functional or subjunctive dependencies |
| UDT | Prior world model and semantics of alternative complete policies |
| Structural controller optimization | Feasible controller interface and structural world semantics |
All of these decision theories assume that some model of the world has been supplied to them.
They differ partly in the kind of model that they require us to supply and how they propose that we obtain consequences for alternatives from these models. But none of them, as a normative decision rule, gives us a fully general theory of how to infer the relevant structure from observations of the world. And none of them could completely dispense with this kind of structural information, as the counterfactual underdetermination result above shows.
This is particularly clear if we think about decision theory in the context of reinforcement learning.
We usually distinguish between the problem of learning an accurate model of the transition dynamics of the environment and the problem of computing an optimal policy given a model of the transition dynamics. These are obviously closely related problems. We can design agents which perform both operations simultaneously. And we can sometimes learn an optimal policy without explicitly representing a model. But conceptually they are different problems. If I give you an algorithm for solving Markov decision processes, it isn’t a criticism of the algorithm that I still need to give it a Markov decision process to solve!
Similarly, if I give you a theory of what an agent should do given a well-specified structural decision problem, it isn’t a special deficiency of the theory that we still need to specify the structural decision problem. The question is whether the sort of structure we require to be specified is independently meaningful and justified, and whether we can use it to give a unified account of rational choice. This is the contribution I think the framework makes.
What if we are uncertain about the world model itself?
Of course, in reality, we almost never have a fully specified model of the world which we know to be correct.
Maybe I am uncertain about whether Omega is actually predicting my program or just predicting some upstream variable which is correlated with my program.
Maybe I am uncertain about whether two copies of an agent really share the same relevant control mechanism.
Or maybe I don’t know how accurate the predictor is, or whether I have access to some additional independent control mechanism.
Does structural controller optimization require us to first resolve all of this uncertainty before we can make a decision?
No.
A fully specified decision problem is importantly different from a fully known world.
A fully specified decision problem can contain enormous amounts of uncertainty, including uncertainty about the structural model itself. For instance, suppose I have a set of candidate structural models
\[\{M_1,M_2,\ldots,M_n\}\]and I have some probability distribution over these models, such that
\[\Pr(M=M_i)=w_i.\]Suppose also, for simplicity, that the models have a common feasible controller interface and a common outcome space. Then each controller induces the mixture of its world lotteries across the models:
\[\boxed{ K(c)=\sum_i w_iK_{M_i}(c). }\]And therefore its value is just
\[\begin{aligned} V(c) &=\mathbb E_{\omega\sim K(c)}[u(\omega)]\\ &=\sum_i w_i \mathbb E_{\omega\sim K_{M_i}(c)}[u(\omega)]. \end{aligned}\]We simply optimize over this expected utility. For instance, imagine that I am uncertain whether Omega actually has access to my controller. With probability \(q\), I think I am in an ordinary perfect-prediction Newcomb problem. With probability \(1-q\), I think Omega’s prediction is instead independent of my controller, so my decision is an ordinary local causal decision. Suppose in the second model the opaque box contains \$1 million with some probability \(r\), independent of which controller I implement. The value of one-boxing is
\[V(c_1)=q\cdot10^6+(1-q)r\cdot10^6.\]The value of two-boxing is
\[V(c_2)=1000+(1-q)r\cdot10^6.\]So
\[V(c_1)-V(c_2)=q\cdot10^6-1000.\]And hence we should one-box whenever
\[\boxed{q>0.001.}\]I.e. even if I think there is only a relatively small chance that the predictor actually has the structural dependence on my controller required for the ordinary Newcomb problem, one-boxing can still be optimal.
There is no need here to invent some special new decision theory which is a mixture of CDT and FDT. We simply have uncertainty about which structural world we are embedded in. We can also allow the controller to receive observations which provide information about which of these structural models is correct. Indeed, the optimal controller might actively perform experiments to learn about the structure of the world, update its beliefs, and then take actions on the basis of these updated beliefs.
All of these operations can be part of a complete feasible controller. The framework can therefore accommodate uncertainty about the world model and controllers which actively learn about the world. What it doesn’t do is give us a theory of how we should have obtained the initial distribution over models, how to construct the hypothesis space of models, or how to efficiently perform inference over this space.
And this is exactly the same distinction we should make for other decision theories.
CDT can incorporate uncertainty about causal models once we supply a distribution over the possible causal models. FDT could similarly incorporate uncertainty about functional dependencies once we specify a model of this uncertainty. But neither decision theory, by itself, solves the epistemological problem of determining which models we should entertain and what credence we should assign to them. In other words, there is a difference between handling uncertainty within a specified decision problem and providing an epistemology which tells us what our uncertain beliefs should be.
The first is an ordinary part of decision theory. The second is a broader problem about how agents should learn and reason about the world.
Is this really a solution to the problem of embedded agency?
Definitely not.
Throughout this post, we have essentially taken the perspective of an external designer who has access to some structural world model with an exposed controller interface.
Real agents are embedded within the world. They don’t necessarily have a neatly specified boundary which tells them exactly what they control, and they generally don’t have access to a perfect model of how their own computation relates to everything else in the universe. In particular, the fact that we can write down an abstract controller-to-world kernel does not mean that it is computationally possible to evaluate this kernel.
There are some very serious difficulties here. For instance, suppose an agent tries to predict a predictor which is itself trying to predict the agent.
Naively, if we implement this via literal recursive simulation, we might just get an infinite loop. However, from the semantic perspective, we don’t necessarily have to interpret this system as a recursive execution process. We can instead specify the world as some set of mutually dependent equations and give it a fixed-point semantics. There are then three importantly different possibilities.
- There is a unique fixed point, which determines the world.
- There are multiple fixed points, in which case we need to specify how we select between them.
- There are no consistent fixed points, in which case our stipulated structural model doesn’t actually have a valid solution for this controller.
For the third case, consider an agent which has access to a purported perfect prediction of its binary output and simply outputs the opposite of the prediction. The relevant equations would be
\[P=A,\qquad A=1-P.\]There is clearly no binary solution. We can’t just assume the existence of an arbitrarily powerful perfect predictor for all possible controllers and then hope that our decision theory will resolve the inconsistency. We either need to restrict the feasible controller class, weaken the predictor, or otherwise change the solution semantics of the model. This is also why I think it is important to actually write down structural models of the kinds of decision problems that we use to compare different decision theories.
An informal verbal description might seem perfectly sensible, while the structural equations reveal that there are some feasible controllers for which the problem doesn’t have a solution at all. In such a case, we haven’t necessarily uncovered an irrational decision theory. We may have just constructed an ill-defined environment.
Similarly, the problem of how to reason under logical uncertainty, how to delegate to successors which are smarter than oneself, and how a computationally bounded agent can approximately optimize over possible self-modifications are all still extremely difficult. The structural formulation doesn’t solve these problems. What it does allow us to do is separate out a number of different questions which are often conflated.
Agency: What is the feasible control interface of the agent?
World semantics: What distribution over worlds is induced by each alternative setting of this interface?
Epistemology and computation: How can the agent learn or approximate these distributions?
Normative choice: Which of the resulting lotteries over worlds should the agent prefer?
Our results are primarily about the last of these questions, conditional on the preceding ones, and about when we can simplify or transform the representations of the preceding ones without changing the answer.
There is also a separate and extremely important class of problems concerning multiple independently optimizing agents. We can easily include other agents as structural mechanisms in the world model of a single agent. But if we simultaneously want to optimize the controllers of multiple agents with distinct preferences, then we have a game rather than a single-agent decision problem, and we need some additional solution concept for bargaining, equilibrium etc.
In conclusion
The basic claim of this post is that, in idealized decision theory, once we have correctly specified the feasible control interface and the structural model of the world, the actual normative theory of choice is just ordinary consequentialist optimization. Much of the proliferation of different decision theories, I think, can be understood as reflecting disagreements about these first two inputs rather than requiring fundamentally different theories of rational choice.
There are a number of relatively precise mathematical results we can obtain from this way of thinking.
First, we can derive exactly when it is valid to optimize over actions, policies, or some other simpler representation of the controller, and we can characterize the minimal sufficient decision variable for any semantic decision problem. This shows that the question of what sort of variable we should optimize over is not fundamentally a philosophical disagreement about rationality. It is a question of whether the representation preserves the relevant information about the consequences of our choices.
Secondly, we can show that faithful representations of the same decision problem cannot disagree about optimal consequences, and that merely refactoring the description of a controller cannot give us additional control over the world.
Thirdly, we can derive a structural Bellman principle, which gives us precise conditions for when a local continuation is an autonomous subdecision and thus when global controller optimization reduces to the local causal optimization of CDT.
I find this result particularly appealing because it connects the kinds of optimization procedures that we use very successfully throughout reinforcement learning and optimal control with the much more general kinds of problems studied in Newcombian decision theory. We don’t need to give up local causal optimization to get a decision theory that handles Newcombian problems. We just need to understand the structural assumptions which make this kind of optimization valid.
Fourthly, we can derive UDT1.1-style global policy optimization whenever the world depends on the controller only through its extensional behavior, and explain exactly why policies become insufficient when the world interacts with the intensional properties of the computation.
And finally, we can show that formal policy-level FDT can be compiled into an equivalent open-controller structural model once the relevant structural dependencies have been specified.
Of course, this framework still requires that we somehow obtain the correct structural world model and specify the feasible control interface.
But this requirement is not an unusual concession which we have to make in order to get the framework to work. It is something that all decision theories already fundamentally require in some form or another. Indeed, we can prove that the actual-world distribution alone is not enough to determine the correct decision, and that the mere existence of a structural representation isn’t enough to establish that this representation is justified. We cannot derive a theory of counterfactual worlds from a theory of rational preference alone. We need some account of the structure of the world and the agent embedded within it.
I think this provides a reasonably satisfying unified picture of idealized decision theory. The most fundamental question in Newcomb’s problem isn’t necessarily whether you should use a causal counterfactual or a logical counterfactual when contemplating the action of taking the second box.
It is whether you actually have a degree of freedom corresponding to taking the second box independently of the process which Omega predicted.
If you do, then take the extra \$1,000.
If you don’t, then optimize the thing which you actually can vary, taking into account all the consequences of varying it.
Similarly, the reason the apparently superior strategy in MacAskill’s bomb problem doesn’t work isn’t that there is some mysterious additional benefit to dying in the actual world where you encounter the bomb. It is that the strategy of genuinely being committed to taking the bomb while also avoiding the bomb if you encounter it is not an element of the feasible set of controllers. We are imagining an outcome which would be extremely desirable to us, and then implicitly assuming that because this outcome is desirable and physically conceivable, it must correspond to a feasible choice in our decision problem. But a large part of specifying a decision problem is figuring out precisely which desirable outcomes are and aren’t available to us. Once we have answered that question, and obtained the corresponding structural model of the world, the decision itself need not be particularly philosophically mysterious.
Appendix: a few further consequences of the framework
There are a couple of other interesting mathematical results which fall out of this formulation quite naturally, but which aren’t necessary for the central argument.
A.1. Do we need a hierarchy of meta-controllers?
One potentially confusing aspect of thinking about decision theory as program optimization is that we might worry about some kind of regress of meta-controllers.
Suppose I am a controller which searches over a space of policies and implements the best policy. But then perhaps I should also optimize over the algorithm I use to search over policies. And then perhaps I should optimize over the meta-algorithm I use to optimize over that algorithm etc. The thing to notice here is that any meta-controller is itself just a program.
If I have a program which searches over policies, self-modifies, implements the policy it finds, and then potentially searches over further self-modifications, this is still just one complete executable controller. We can make this precise.
Suppose \(\mathcal M\) is a space of meta-controllers and we have some flattening map
\[F:\mathcal M\rightarrow\mathcal C\]which takes a meta-controller and returns a complete executable controller implementing the same overall process. If this flattening preserves the world kernel, i.e.
\[K_{\mathrm{meta}}(m)=K_{\mathrm{flat}}(F(m)),\]then we immediately have
\[\boxed{\max_{m\in\mathcal M}V_{\mathrm{meta}}(m)=\max_{c\in F(\mathcal M)}V_{\mathrm{flat}}(c).}\]And if the flattening map is surjective, the optimal values and optimal consequence sets coincide exactly.
The point here is that there is no need for an infinite hierarchy of in-world decision theories merely because, from our external perspective, we are characterizing the best program using an argmax. The argmax is a mathematical specification of an optimum, not necessarily an additional computational process that has to be implemented inside the world. Of course, as always, the flattening has to preserve all of the relevant world effects. If the predictor cares about the exact implementation, runtime, or structure of the meta-controller, then we can’t just throw away these properties.
A.2. When is randomization actually useful?
Suppose we have some set of complete controllers and, rather than selecting one particular controller deterministically, we privately randomize over these controllers according to some distribution \(\sigma\). Suppose also that the environment cannot observe this randomization except through the actual controller that ends up being selected, and that the selector samples independently of the exogenous world state. Then the world kernel of this randomized selection process is just
\[K_\sigma=\sum_{c\in\mathcal C}\sigma(c)K(c).\]Its expected utility is thus
\[\begin{aligned} V(\sigma) &=\mathbb E_{\omega\sim K_\sigma}[u(\omega)]\\ &=\sum_c\sigma(c)V(c)\\ &\leq\max_c V(c). \end{aligned}\]So we obtain
\[\boxed{V(\sigma)\leq\max_c V(c).}\]Private mixing over the complete controllers cannot give us a strictly higher expected utility than the best individual controller. This is just a consequence of the linearity of expected utility in lotteries.
However, there are clearly some decision problems where randomization is extremely useful. For instance, the world might contain an adversary which can see your decision rule and will exploit it if it is deterministic, but which can’t predict the outputs of some randomized computation. In this case, the adversary is responding to the stochastic controller itself rather than merely to the realization of some private external mixture over otherwise fixed controllers. The induced world lottery of the stochastic controller need not be the corresponding mixture of the world lotteries of the deterministic controllers. So the assumption of our theorem fails.
This distinction is quite important. We aren’t saying that an optimal complete controller should never use randomness internally. We are saying that, once we have specified the world semantics of each feasible complete controller, privately randomizing over these alternatives cannot improve the maximum attainable expected utility under the stipulated mixing semantics.
A.3. A more general semantics of controller programs
Earlier, we defined two controllers to be equivalent if they give the same complete-world lottery in a particular world model.
\[c_1\sim_K c_2 \iff K(c_1)=K(c_2).\]This gives us the minimal sufficient representation for a specific world. But what if we want some more general notion of the semantics of a controller which works across a large class of possible worlds?
We can use a construction which is very reminiscent of contextual equivalence and full abstraction in programming language theory. Let \(\mathcal W\) be some class of admissible open world models. We can define two controllers to be contextually equivalent if no world in this class can distinguish between them, i.e.
\[\boxed{ c_1\approx_{\mathcal W}c_2 \iff K_W(c_1)=K_W(c_2) \quad\forall W\in\mathcal W. }\]For instance, if our class of worlds only interacts with controllers via their extensional behavioral semantics, then extensionally identical controllers will be contextually equivalent.
Conversely, if our class of worlds contains predictors which inspect source code, then two programs with exactly the same input-output mapping might not be contextually equivalent.
We can also derive a useful compositionality property.
Suppose \(T[-]\) is some controller-transforming context – perhaps a wrapper around a program which preprocesses its inputs or postprocesses its outputs. Suppose the class of world models is closed under composition with such contexts – i.e. for any \(W[-]\in\mathcal W\),
\[W[T[-]]\in\mathcal W.\]Now suppose that
\[c_1\approx_{\mathcal W}c_2.\]Then, for any world \(W\), contextual equivalence in the composite world \(W[T[-]]\) gives us
\[K_W(T[c_1])=K_W(T[c_2]).\]Since this is true for every \(W\), we have
\[\boxed{ c_1\approx_{\mathcal W}c_2 \implies T[c_1]\approx_{\mathcal W}T[c_2]. }\]In other words, contextual equivalence is a congruence with respect to the admissible controller transformations. We can therefore construct a quotient space
\[D_{\mathcal W}=\mathcal C/{\approx_{\mathcal W}}\]which represents the canonical controller semantics relative to this entire class of worlds. Defining the denotation of a controller as
\[\mathopen{[\![}c\mathclose{]\!]}=[c],\]we immediately obtain
\[\boxed{\mathopen{[\![}c_1\mathclose{]\!]}=\mathopen{[\![}c_2\mathclose{]\!]}\iff c_1\approx_{\mathcal W}c_2.}\]Moreover, the admissible controller transformations are well-defined operations on this quotient space. This is precisely the standard notion of full abstraction – two things have identical denotational semantics if and only if they are indistinguishable in all admissible contexts.
What I like about this is that it gives us a principled way to think about how much of the structure of a controller we actually need to retain. There is no absolute answer to this question independent of the class of worlds we are considering.
A very simple behavioral policy might be a perfectly adequate semantics of an agent across a large class of worlds. But if we expand the class of possible worlds to include sufficiently sophisticated predictors and agents which reason about each other’s implementations, we might need a much richer semantics. Again, the correct level of abstraction is determined by the structure of the world, rather than imposed on it by our decision theory.