# Density Zero Exploration

The idea here is due to Scott Garrabrant. All I did was write it.

Let’s say a logical induction-based agent is making an infinite sequence of decisions, and is using -exploration on each decision. There are two desirable criteria, which are somewhat in conflict:

First, we want there to be enough exporation that traders attempting to bet that good strategies would have bad outcomes (and thus prevent the good strategies from being tried, so that the bet never gets settled) will lose arbitrarily large amounts of money if they try doing that every time. This requires that in total, there is an infinite amount of exploration. For example, if the agent -explores on step , then it is possible for a sufficiently wealthy malicious trader to bet against a good strategy by enough that the agent will avoid it every time, without the trader losing all its money, because the actions it is discouraging only are taken anyway finitely many times. But if the agent -explores on step for some fixed , then this is not possible, because each action is taken infinitely many times no matter what any of the traders do, so no trader can consistently make some good action appear bad without losing all its money.

Second, we want there to be sufficiently little exploration that the agent does not sacrifice a nontrivial amount of value to it. If actions only have short-term effects, then it is enough for the probability of exploration to approach as , in order for the agent to behave optimally in the limit (if actions can have lasting consequences, then this is not enough; for instance, if there is an action that destroys all value forever if it is ever taken, then that action needs to never be taken; this directly conflicts with the first criterion). For example, if the agent -explores on step for some fixed , then it never gets any closer to acting optimally, but if it -explores on step , then its probability of acting optimally will approach as .

Fortunately, there are sequences that converge to but whose sum diverges, like , so it is possible to satisfy both of these criteria. However, if there are important differences among what the agent should do for different steps, then this might not be enough. For example, if the agent -explores on step , and it is particularly important what action the agent takes on steps that are powers of , then a wealthy malicious trader could bet against good actions on every step that is a power of , then on the th time the malicious trader does this, the agent -explores, and the malicious trader will only lose a finite amount of money doing this. Thus we should strengthen the first criterion to ensure that a wealthy malicious trader cannot bet against a good strategy infinitely many times, rather than that it cannot bet against a good strategy every time. Thus, for every efficiently computable infinite subset , we want an infinite amount of exploration to occur on steps in , so that no malicious trader can bet against a good strategy on every step in without running out of money (we only need to consider efficiently computable subsets because only efficiently computable traders participate in the market, and they cannot pick out sets that are not efficiently computable).

To do this, pick some computable probability distribution over all efficiently computable subsets of , which does not assign probability to any of them. This can be done computably by picking a probability distribution over programs that provably run in polynomial time. For each efficiently computable set , we want to explore with probability at least on the th element of . Formally, let be if is the th element of , and if . On step , we explore with probability . Since we explore with probability at least on the th element of , this satisfies the strengthened version of the first condition. Since , for every and , and as for every , as , so the second condition is also satisfied.