Finite Factored Sets: Applications

post by Scott Garrabrant · 2021-08-31T21:19:03.570Z · LW · GW · 1 comments

Contents

  7.1. Inference
    Decidability of Temporal Inference
    Efficient Temporal Inference
    Temporal Inference from Raw Data and Fewer Ontological Assumptions
    Causality, Determinism, and Abstraction
    Conceptual Inference
    Inferring Time without Orthogonality
    Inferring Conditioned Finite Factored Sets
  7.2. Infinity
    The Fundamental Theorem of Finitely Generated Factored Sets
    Orthogonality and Time in Arbitrary Factored Sets
    Continuity and Physics
  7.3. Embedded Agency
    Embedded Observations
    Counterfactability
    Cartesian Frames
    Unraveling Causal Loops
    Conditional Time
    Logical Causality
    Orthogonality as Simplifying Assumptions for Decisions
    Conditional Orthogonality and Abstractions
None
1 comment

We will now discuss several different applications and directions for future work on finite factored sets [? · GW]. We will divide these research directions into three categories: 'Inference,' 'Infinity,' and 'Embedded Agency.'

This post will be much more speculative than the previous posts. It is very likely that some of these avenues for research will turn out to be dead ends, and some of the claims made here may not hold up to further investigation.

 

7.1. Inference

Decidability of Temporal Inference

In Finite Factored Sets: Inferring Time [LW · GW], we described a combinatorial problem of inferring temporal relations from an orthogonality database. However, it is not clear whether the question "Does a given temporal relation follow from a given orthogonality database?" is decidable.

One way we could hope to decide whether a temporal relation follows from some orthogonality database  over  would be to simply check all factored set models of  that model  up to a given size, and see whether the temporal relation always holds. For this to work, we would need an upper bound on the size of factored sets that we need to consider, as a function of the size of . (Note that the existence of such a bound would not mean that there are no models larger than this upper bound. Rather, it would mean that every model larger than this will have all of the same temporal relations as some smaller model.)

 

Efficient Temporal Inference

Assuming temporal inference is computable, we would further like to be able to infer temporal relations from an orthogonality database quickly.

The naive way to get negative results in temporal inference (i.e., to show that certain temporal relations need not hold) would be to search over the space of models. Without the upper bound discussed above, however, this method would only ever yield negative results.

The naive way to get positive results would be to formalize the kind of reasoning used to prove Propositions 34 and 36 [LW · GW], and search over proofs of this form. It is unclear whether this method can be made efficient.

Alternatively, we could hope to develop some new results and refine our understanding of temporal inference to the point where an alternative method can be made efficient.

 

Temporal Inference from Raw Data and Fewer Ontological Assumptions

In the Pearlian causal inference paradigm, we can infer temporal relationships from joint distributions on a collection of variables.

In Pearl's paradigm, however, this data is already factored into a collection of variables at the outset. Further, the Pearlian paradigm does not make explicit the assumptions that go into this factorization.

Our paradigm instead starts from a distribution on some set of observably distinct worlds. This approach allows us to make fewer ontological assumptions; we don't need to take for granted a particular way the world should be factored into variables. Thus, one might hope that the factored sets paradigm could be used to infer time or causality more directly from raw probabilistic data.

 

Causality, Determinism, and Abstraction

Another issue with the Pearlian causal inference paradigm is that it does not work well in cases where some of the variables are (partially) deterministic functions of each other. Our paradigm has determinism and abstraction built in, so it can be used to infer time in situations where the Pearlian paradigm might not apply.

 

Conceptual Inference

In Example 1 [LW · GW], we can infer that . We can think of this fact as being about time. However, we can also think of it as being about which concepts are more natural or fundamental. In that example,  and  were more primitive variables, while  was a more derived variable that was computed from  and .

Suppose we had a symbol that was either 0 or 1, chosen according to some probability, and was also colored either blue or green, chosen independently according to some other probability. We can reason about this symbol using concepts like color or number. Alternatively, we could define a new concept bleen meaning "the symbol is either blue and 0, or green and 1," and grue, meaning "the symbol is either green and 0, or blue and 1," and use these two concepts instead.

We want to say that color and number are in some sense better or more useful concepts, while bleen and grue are less useful. Finite factored sets help give formal content to the idea that color and number are more primitive, while bleen and grue are more derived; and this primitiveness seems to point at part of what it means to be a good concept for the purpose of thinking about the world.

 

Inferring Time without Orthogonality

In this sequence, we have focused on inferring time from an orthogonality database. Such a database may have been inferred in turn from observed independence and dependence facts drawn from a probability distribution.

We could instead consider inferring time directly from a probability distribution. Cutting out the orthogonality database in this way could even allow us to infer time from a probability distribution that has no nontrivial conditional independencies at all.

To see why it might be possible to infer time without any orthogonality, consider a set , and a model of , where  has  binary factors, and .

There are  degrees of freedom in an arbitrary probability distribution on , and thus at most  degrees of freedom in a probability distribution  on  that comes from a probability distribution on . However, there are  degrees of freedom in an arbitrary distribution on .

As such, the probability distribution on  will lie on some surface without full dimension in the space of probability distributions on , which could be used to infer some of the properties of .

However, if  is much smaller than , and  is chosen at random, it is unlikely that there will be any conditional orthogonality relations on partitions of  at all (other than the trivial conditional orthogonality relations that come from one partition being finer than another).

 

Inferring Conditioned Finite Factored Sets

If we modify the temporal inference definition to instead allow for  to be a partial function from  to , we get a new, weaker model of temporal inference. This can be thought of as allowing for the possibility that our distribution on  passes through some filter that only shows us some of the observably distinct worlds.

 

7.2. Infinity

The Fundamental Theorem of Finitely Generated Factored Sets

Throughout this sequence, we have assumed finiteness fairly gratuitously. It is likely that many of the results can be extended to arbitrary finite sets. However, this generalization will not be immediate. Indeed, even history [? · GW] is not well-defined on arbitrary factored sets.

One intermediate possibility is to consider finite-dimensional [LW · GW] factored sets. In this case, history would be well-defined, but our proof of the fundamental theorem would not directly generalize. However, we conjecture that the finite-dimensional analogue of the fundamental theorem [LW · GW] would in fact hold.

Conjecture 1. Theorem 3 [LW · GW] can be generalized to finite-dimensional factored sets.

On the other hand, we do not expect the fundamental theorem to generalize to arbitrary factored sets. To see why, consider the following example.

Example 3. Let , where , and . Let , and let 

In this example, it seems that in the correct generalization of orthogonality to arbitrary factored sets, we likely want to say that  is not orthogonal to . However, it also seems like we want to say that in every distribution on , at least one of  and  has probability zero, so this should give a counterexample to the fundamental theorem. 

Even without the fundamental theorem, we believe that orthogonality and time in arbitrary-dimensional factored sets will be important and interesting.

 

Orthogonality and Time in Arbitrary Factored Sets

In the infinite-dimensional case, it is not even clear how we should define orthogonality, time, and conditional orthogonality. There are three main contenders.

First, we could say that (sub)partitions  and  are orthogonal if there exist disjoint  such that  and . We could then define time as a closure property on orthogonality.

Second, we could just define the history of a (sub)partition  to be the intersection of all  such that , and leave the definitions of orthogonality and time alone. This second option has some unintuitive behavior. Consider the following example.

Example 4. Let , where , and . Let .

In this example,  is orthogonal to itself according to the second option, in spite of having more than one part. However, it is possible that this is a feature, rather than a bug, since it seems to interact nicely with Kolmogorov's zero–one law.

Third, we could define a way to flatten factored sets by merging some of the factors into their common refinement, and we could say  and  are orthogonal given  in  if  and  are orthogonal given  in some finite-dimensional flattening of 

The main difference between the first and third options comes from the case where  has infinitely many parts. In the third option, we must fix a single finite-dimensional flattening such that  and  have disjoint histories for all .

We are most optimistic about the third option, because we conjecture that it can satisfy the compositional semigraphoid axioms, while the other two options cannot. It is also possible that other options give the compositional semigraphoid axioms for partitions with finitely many parts, but not general partitions.

 

Continuity and Physics

A major reason why we are interested in exploring arbitrary-dimensional factored sets is because it could allow us to talk about continuous time. 

The Pearlian paradigm takes advantage of the parenthood relationship between nodes to make inferences. E.g., the nodes are thought of as probabilistic functions of their parents, and the existence of edges between nodes is a central part of temporal inference.

In the factored set paradigm, there is no mention of parenthood; instead,  is both reflexive and transitive, and so can be thought of as an ancestry relation. Further, by working with arbitrary partitions rather than a fixed collection of variables, we allow for "zooming in" on our variables.

These two properties together suggest that the factored set paradigm is much closer to being able to talk about continuous time, if the theory can be extended naturally to infinite dimensions.

As pointed out by Eliezer Yudkowsky in his blog post "Causal Universes [LW · GW],'' physics looks an awful lot like a continuous analogue of Pearlian causal diagrams. We are thus hopeful that when extended to arbitrary dimensions, factored sets could provide a useful new way of looking at physics.

 

7.3. Embedded Agency

Embedded Observations

We can use finite factored sets to build a new way of thinking about observations.

Definition 46 (observes an event). Let  be a finite factored set. Let  and  be partitions of , and let  be a subset of . Let  be the partition of  given by  if  or , and  otherwise. We say  observes  with respect to  (in ) if the following two conditions hold.

  1. .
  2. .

 can be thought of as an agent, with the different parts in  representing options available to  represents some fact about the world.  can be thought of as some high-level world model. We will especially think of  as a model that captures all of the information about the world that the agent cares about.

When we say that  observes , this does not necessarily mean that  holds. Rather, we are saying that  can safely assume that  holds.  can safely make this assumption if it is the case that 's choice can't affect whether  holds, and if, when  does not hold, 's choice can have no effect on any part of the world that  cares about. This is exactly what is represented by the two conditions in Definition 46.

In Drescher's transparent Newcomb thought experiment, the agent cannot be said to observe the contents of the box, because the first condition in Definition 46 is violated. In Nesov's counterfactual mugging [LW · GW] thought experiment, the agent cannot be said to observe the result of the coin flip, because the second condition is violated.

We can extend this definition to give a notion of an agent observing a partition rather than an event. 

Definition 47 (observes a partition). Let  be a finite factored set. Let , and  be partitions of . Let . We say  observes  with respect to  (in ) if  and there exist partitions of  for  such that

  1. .
  2. .

Saying that  observes  is roughly saying that  can be divided into subagents, where each subagent observes a different part in .

 

Counterfactability

The factored set paradigm also has some interesting things to say about counterfactuals. The chimera functions [? · GW] can be thought of representing a way of taking counterfactuals.

Given a finite factored set , and , let .

We can think of  as the result of starting with , then performing a counterfactual surgery that changes the value of  to match its value in .

Unfortunately, while we can tell this story for , we cannot tell the same story for an arbitrary partition of .

Definition 48 (counterfactability). Given a finite factored set , a partition  is called counterfactable (in ) if .

When a partition  is counterfactable, the chimera function gives a well-defined way to start with an element of , and change it by changing what part in  it is in.

Being counterfactable is rather strong, but we have a weaker notion of relative counterfactability.

Definition 49 (relative counterfactability). Given a finite factored set , a partition  is called counterfactable relative to another partition  (in ) if .

 is counterfactable relative to  if  screens off the history of  from . This means that if we want to counterfact on the value of , we can safely counterfact on the finer partition . As long as we only care about what part in  the result is in, choices about which subpart in  to counterfact will not matter, so we can think of counterfacting on the value of  as well-defined up to the partition .

This notion of counterfactability explains why counterfactuals sometimes seem clear, and other times they do not seem well-defined. In the factored set ontology, sometimes partitions are not counterfactable because they are not fine enough to fully specify all the effects of the counterfactual.

 

Cartesian Frames

The factored set paradigm can be seen as capturing many of the benefits of the Cartesian frame [? · GW] paradigm. We have already seen this in part in our discussion of embedded observations. We feel that the factored set paradigm successfully captures a meaningful notion of time, while the Cartesian frame paradigm mostly fails at this goal.

The connection between factored sets and Cartesian frames is rather strong. For example, a 2-dimensional factored set model of a set  is in effect a Cartesian frame over . The only difference is that the factored set model forgets which factor is the agent, and which factor is the environment. When one Cartesian frame over  is a multiplicative subagent of another, we can construct a 3-dimensional factored set model of , with the subagent represented by one of the factors, and the superagent represented by a pair of the factors.

 

Unraveling Causal Loops

Whenever an agent makes a decision, there is a temptation to think of the effects of the decision as causally "before" the decision being made. This is because the agent uses its model of the effects as an input when making the decision. This causes a problem, because the effects of the decision can of course also be seen as causally after the decision being made.

On our view, part of what is going on is that there is a distinction between the agent's model of the effects, and the effects themselves. The problem is that the agent's model of the effects is highly entangled with the actual effects, which is why we feel tempted to combine them in the first place.

One way to model this situation is by thinking of the agent's model of the effects as being a coarser version of the actual world state after the decision. It is thus possible for the model of the effects to be before the decision, which is before the effects themselves.

By allowing for some variables to be coarsenings or refinements of other variables, the factored set paradigm possibly gives us the tools to be able to straighten out these causal loops.

 

Conditional Time

We can define conditional time similarly to how we define conditional orthogonality.

Definition 50 (conditional time). Given a finite factored set , partitions , and , we say that  is before  given  (in ), written , if .

It is not clear if this notion has any important philosophical meaning, but it seems plausible that it does. In particular, this notion could be useful for reasoning about situations where time appears to flow in multiple directions at different levels of description, or under different assumptions. Incorporating conditional time could then be used to flatten some causal loops.

 

Logical Causality

Upon discovering logical induction, one of the first things we considered was the possibility of inferring logical causality using our probabilities on logical sentences. We considered doing this using the Pearlian paradigm, but it now seems like that approach was doomed to fail, because we had many deterministic relationships between our variables.

The factored set paradigm seems much closer to allowing us to correctly infer logical causality from logical probabilities, but it is still far from ready. 

One major obstacle is that the factored set paradigm does not have a reasonable way to think about the uniform distribution on a four-element set. The independence structure of the uniform distribution on a four-element set is not a compositional semigraphoid, because if we take , and  to be the three partitions that partition the four-element set into two parts of size two, then  is independent of  and of , but not independent of the common refinement of  and .

Since the uniform distribution on a four-element set will likely (approximately) show up many times in logical induction, it is not clear how to do the causal inference.

 

Orthogonality as Simplifying Assumptions for Decisions

While we largely have been thinking of orthogonality as a property of the world, one could also think of orthogonality as something that an agent assumes to make decisions.

For example, when an agent is looking at a coin that came up heads, the agent might make the assumption that its decision has no effect on the worlds in which the coin came up tails. This assumption might only be approximately true, but part of being an embedded agent is working with approximations. Orthogonality seems like a useful language for some of the simplifying assumptions agents might make.

 

Conditional Orthogonality and Abstractions

Given some complicated structure , one might want to know when a simpler structure  is a good abstraction for . One desirable property of an abstraction is that  screens off  from all of the properties of the world that an agent cares about, . In this way, by thinking in terms of , the agent does not risk missing any important information.

We could also consider weaker notions than this, by taking  to just be that which the agent cares about within a certain context in which the agent is using the abstraction. 

This is all very vague and rough, but the point is that conditional orthogonality seems related to what makes a good abstraction, so being able to talk about conditional orthogonality and abstractions together seems like it could prove useful.

1 comments

Comments sorted by top scores.

comment by TurnTrout · 2021-09-01T00:40:11.108Z · LW(p) · GW(p)

Throughout this sequence, we have assumed finiteness fairly gratuitously. It is likely that many of the results can be extended to arbitrary finite sets.

To arbitrary factored sets?