Puneet Varma (Editor)

AIXI

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

AIXI ['ai̯k͡siː] is a theoretical mathematical formalism for artificial general intelligence. It combines Solomonoff induction with sequential decision theory. AIXI was first proposed by Marcus Hutter in 2000 and the results below are proved in Hutter's 2005 book Universal Artificial Intelligence.

Contents

AIXI is a reinforcement learning agent; it maximizes the expected total rewards received from the environment. Intuitively, it simultaneously considers every computable hypothesis. In each time step, it looks at every possible program and evaluates how many rewards that program generates depending on the next action taken. The promised rewards are then weighted by the subjective belief that this program constitutes the true environment. This belief is computed from the length of the program: longer programs are considered less likely, in line with Occam's razor. AIXI then selects the action that has the highest expected total reward in the weighted sum of all these programs.

Definition

The AIXI agent interacts sequentially with some (stochastic and unknown to AIXI) environment μ . In step t, the agent outputs an action a t and the environment responds with an observation o t and a reward r t distributed according to the conditional probability μ ( o t r t | a 1 o 1 r 1 . . . a t 1 o t 1 r t 1 a t ) . Then this cycle repeats for t + 1. The agent tries to maximize cumulative future reward r t + + r m for a fixed lifetime m.

Given a current time t and history a 1 o 1 r 1 . . . a t 1 o t 1 r t 1 , the action AIXI outputs is defined as

arg max a t o t r t max a m o m r m [ r t + + r m ] q : U ( q , a 1 a m ) = o 1 r 1 o m r m 2 length ( q ) ,

where U denotes a monotone universal Turing machine, and q ranges over all programs on the universal machine U.

The parameters to AIXI are the universal Turing machine and the agent's lifetime m. The latter dependence can be removed by the use of discounting.

Optimality

AIXI's performance is measured by the expected total number of rewards it receives. AIXI has been proven to be optimal in the following ways.

  • Pareto optimality: there is no other agent that performs at least as well as AIXI in all environments while performing strictly better in at least one environment.
  • Balanced Pareto optimality: Like Pareto optimality, but considering a weighted sum of environments.
  • Self-optimizing: a policy p is called self-optimizing for an environment μ if the performance of p approaches the theoretical maximum for μ when the length of the agent's lifetime (not time) goes to infinity. For environment classes where self-optimizing policies exist, AIXI is self-optimizing.
  • However, AIXI does have limitations. It is restricted to maximizing rewards based on percepts as opposed to external states. It also assumes it interacts with the environment solely through action and percept channels, preventing it from considering the possibility of being damaged or modified. Colloquially, this means that it doesn't consider itself to be contained by the environment it interacts with. It also assumes the environment is computable. Since AIXI is incomputable (see below), it assigns zero probability to its own existence.

    Computational aspects

    Like Solomonoff induction, AIXI is incomputable. However, there are computable approximations of it. One such approximation is AIXItl, which performs as least as well as the provably best time t and space l limited agent. Another approximation to AIXI with a restricted environment class is MC-AIXI(FAC-CTW), which has had some success playing simple games such as partially observable Pac-Man.

    References

    AIXI Wikipedia