Theorem 1: optimal policies under domain shifts identify the causal Bayesian network
ProvedRobustAgentsCausal.optimal_policies_identify_cbnLet the chance variables take values, let the decision set be finite and nonempty, and fix the decision parents and the chance parents of the utility. There is a procedure , which uses only the utility function and a policy oracle, with the following property. For every DAG on the chance variables and Lebesgue-almost every parameter of the CID with valid, satisfying Assumption 2, let
be any optimal policy oracle on the set of mixtures of local interventions with masked inputs. Then returns:
- the set of chance variables in ;
- the parent set in of every ;
- the conditional distribution of every .
That is, the oracle determines the graph and the joint distribution .
In words, an agent that acts optimally under every mixture of local domain shifts carries enough information to reconstruct the causal Bayesian network of every variable relevant to its utility.
Formalization Note "We can identify" is stated as the existence of a decoder chosen before the graph and the parameters. Its inputs are the known data: the variables and their domains, , and . It must work for every optimal oracle, since optimal policies are not unique at ties. The hypothesis is not in the paper. Without it the statement is false: a one-valued variable has the constant conditional distribution , so its parent set, and its role as a parent, are invisible to every oracle. Assumption 1 holds by construction (see the definitions).
import Mathlib import Definitions.Def_RobustAgentsCausal_Basic open MeasureTheory
namespace RobustAgentsCausal
theorem optimal_policies_identify_cbn {ι : Type*} [Fintype ι] [DecidableEq ι] (k : ι → ℕ)
(hk : ∀ i, 2 ≤ k i) {A : Type*} [Fintype A] [DecidableEq A] [Nonempty A]
(paD paU : Finset ι) :
∃ F : UParam k A paU → Oracle k A →
Set ι × (ι → Finset ι) × ((i : ι) → Cfg k → Fin (k i) → ℝ),
∀ pa : ι → Finset ι, IsAcyclic pa →
∀ᵐ θ : CPDParam k pa × UParam k A paU, ValidParam pa θ.1 →
DomainDependent pa paD (utilOf paU θ.2) →
∀ O : Oracle k A, IsOptimalOracle paD (cpdOf pa θ.1) (utilOf paU θ.2) O →
(F θ.2 O).1 = ancU pa paD paU ∧
∀ i ∈ ancU pa paD paU, (F θ.2 O).2.1 i = pa i ∧ (F θ.2 O).2.2 i = cpdOf pa θ.1 i := by sorry
end RobustAgentsCausalRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix the following data:
- A finite index set of chance variables , with decidable equality.
- Numbers with for every . Variable takes values in .
- A finite, nonempty set of decisions, with decidable equality.
- Two arbitrary finite subsets .
Write for the set of joint states . For , is the restriction of to the coordinates in .
Nothing ties or to any graph:
- Either or both may be empty.
- The decision and the utility are not themselves among the variables in .
Claim. There exists a function that takes:
- a utility parameter , and
- an oracle (both described below),
and returns a triple consisting of:
- a subset ;
- an assignment of a finite set to each ;
- a family of real functions for , , .
may depend on . It receives neither the graph nor the distribution parameters . A single must work for every graph.
The property must satisfy is as follows. For every assignment of parent sets that is acyclic, the conclusion below holds for Lebesgue-almost every pair . Acyclic means there is no directed cycle, including self-loops, in the graph with edges for .
The parameter space. The pair ranges over a finite-dimensional real space with the product Lebesgue measure. The exceptional null set may depend on (and on ).
- assigns an arbitrary real number to each , each configuration of the variables in , and each .
- assigns an arbitrary real number to each and each configuration of the variables in .
If a coordinate space is zero-dimensional, "almost every" means "every". This happens, for example, when is empty, or for when is empty.
Definitions used in the conclusion. From define the following.
A policy with input is a function such that:
- ;
- for each ;
- depends on only through .
For a real function on , the expected utility is
is optimal for if it is a policy with input and for every policy with input .
A local intervention is a choice of an arbitrary map for every . A mixture assigns a weight to every local intervention , with . The intervened joint function is
The hypotheses. For almost every the following holds. Suppose:
-
Validity. for all entries, and for every and .
-
Domain dependence. There exist two families satisfying both conditions below, where and :
- Each and is nonnegative, sums to over , and depends on only through .
- Every policy that is optimal for is not optimal for .
Here are arbitrary such families, not necessarily of the form .
Then, for every oracle the conclusion below holds, provided is optimal in the following sense:
- An oracle is any function that assigns to each finite and each weight function a function .
- is optimal if, for every and every mixture , is optimal for .
The existence of such an oracle is not asserted. If none exists, or if domain dependence fails, the conclusion holds vacuously for that .
The conclusion. Let
A proper ancestor means there is a directed path of length along edges with . With , the conclusion is:
and for every :
- ;
- for all and all .
Nothing is asserted about or for .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.