AIXI 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 several results regarding AIXI are proved in Hutter's 2005 book Universal Artificial Intelligence. AIXI is a reinforcement learning (RL) agent. It maximizes the expected total rewards received from the environment. Intuitively, it simultaneously considers every computable hypothesis (or environment). 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.
Etymology According to Hutter, the word "AIXI" can have several interpretations. AIXI can stand for AI based on Solomonoff's distribution, denoted by ξ (which is the Greek letter xi), or e.g. it can stand for AI "crossed" (X) with induction (I). There are other interpretations.
Definition AIXI is a reinforcement learning agent that interacts with some stochastic and unknown but computable environment μ. The interaction proceeds in time steps, from t=1 to t=m, where m∈ℕ is the lifespan of the AIXI agent. At time step t, the agent chooses an action at∈𝒜 (e.g. a limb movement) and executes it in the environment, and the environment responds with a "percept" et∈ℰ=𝒪×ℝ, which consists of an "observation" ot∈𝒪 (e.g., a camera image) and a reward rt∈ℝ, distributed according to the conditional probability μ(otrt|a1o1r1...at−1ot−1rt−1at), where a1o1r1...at−1ot−1rt−1at is the "history" of actions, observations and rewards. The environment μ is thus mathematically represented as a probability distribution over "percepts" (observations and rewards) which depend on the full history, so there is no Markov assumption (as opposed to other RL algorithms). Note again that this probability distribution is unknown to the AIXI agent. Furthermore, note again that μ is computable, that is, the observations and rewards received by the agent from the environment μ can be computed by some program (which runs on a Turing machine), given the past actions of the AIXI agent. The only goal of the AIXI agent is to maximize ∑t=1mrt, that is, the sum of rewards from time step 1 to <match>m</math>. The AIXI agent is associated with a stochastic policy π:(𝒜×ℰ)∗→𝒜, which is the function it uses to choose actions at every time step, where 𝒜 is the space of all possible actions that AIXI can take and ℰ is the space of all possible "percepts" that can be produced by the environment. The environment (or probability distribution) μ can also be thought of as a stochastic policy (which is a function): μ:(𝒜×ℰ)∗×𝒜→ℰ, where the ∗ is the Kleene star operation. In general, at time step t (which ranges from 1 to m), AIXI, having previously executed actions a1…at−1 (which is often abbreviated in the literature as a<t) and having observed the history of percepts o1r1...ot−1rt−1 (which can be abbreviated as e<t), chooses and executes in the environment the action, at, defined as follows:
at:=argmaxat∑otrt…maxam∑omrm[rt+…+rm]∑q:U(q,a1…am)=o1r1…omrm2−length(q) or, using parentheses, to disambiguate the precedences
at:=argmaxat(∑otrt…(maxam∑omrm[rt+…+rm](∑q:U(q,a1…am)=o1r1…omrm2−length(q)))) Intuitively, in the definition above, AIXI considers the sum of the total reward over all possible "futures" up to m−t time steps ahead (that is, from t to m), weighs each of them by the complexity of programs q (that is, by 2−length(q)) consistent with the agent's past (that is, the previously executed actions, a<t, and received percepts, e<t) that can generate that future, and then picks the action that maximizes expected future rewards. Let us break this definition down in order to attempt to fully understand it. otrt is the "percept" (which consists of the observation ot and reward rt) received by the AIXI agent at time step t from the environment (which is unknown and stochastic). Similarly, omrm is the percept received by AIXI at time step m (the last time step where AIXI is active). rt+…+rm is the sum of rewards from time step t to time step m, so AIXI needs to look into the future to choose its action at time step t. U denotes a monotone universal Turing machine, and q ranges over all (deterministic) programs on the universal machine U, which receives as input the program q and the sequence of actions a1…am (that is, all actions), and produces the sequence of percepts o1r1…omrm. The universal Turing machine U is thus used to "simulate" or compute the environment responses or percepts, given the program q (which "models" the environment) and all actions of the AIXI agent: in this sense, the environment is "computable" (as stated above). Note that, in general, the program which "models" the current and actual environment (where AIXI needs to act) is unknown because the current environment is also unknown. length(q) is the length of the program q (which is encoded as a string of bits). Note that 2−length(q)=12length(q). Hence, in the definition above, ∑q:U(q,a1…am)=o1r1…omrm2−length(q) should be interpreted as a mixture (in this case, a sum) over all computable environments (which are consistent with the agent's past), each weighted by its complexity 2−length(q). Note that a1…am can also be written as a1…at−1at…am, and a1…at−1=a<t is the sequence of actions already executed in the environment by the AIXI agent. Similarly, o1r1…omrm=o1r1…ot−1rt−1otrt…omrm, and o1r1…ot−1rt−1 is the sequence of percepts produced by the environment so far. Let us now put all these components together in order to understand this equation or definition. At time step t, AIXI chooses the action at where the function ∑otrt…maxam∑omrm[rt+…+rm]∑q:U(q,a1…am)=o1r1…omrm2−length(q) attains its maximum.
Parameters The parameters to AIXI are the universal Turing machine U and the agent's lifetime m, which need to be chosen. The latter parameter 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.
… excerpt ends here. Continue reading the full article.