# [Aspiration-based designs] Outlook: dealing with complexity

**Summary.** This teaser post sketches our current ideas for dealing with more complex environments. It will ultimately be replaced by one or more longer posts describing these in more detail. Reach out if you would like to collaborate on these issues.

Multi-dimensional aspirations
=============================

For real-world tasks that are specified in terms of more than a single evaluation metric, e.g., how much apples to buy and how much money to spend at most, we can generalize Algorithm 2 as follows from aspiration intervals to *convex aspiration sets*:

*   Assume there are $\def\lo#1{\underline{#1}} \def\hi#1{\overline{#1}} \def\A{{\cal A}} \def\E{\mathbb{E}} \def\H{\mathbb{H}} \def\I{\mathbb{I}} \def\O{{\cal O}} \def\P{\mathbb{P}} \def\Q{{\cal Q}} \def\R{\mathbb{R}} \def\S{{\cal S}} \def\V{{\cal V}} \def\X{{\cal X}} \def\ri{{\mathrm{ri}}} \def\conv{\mathrm{conv}} \def\aff{\mathrm{aff}} \def\total{\tau} \def\Easp{{\cal E}} \def\Rasp{{\cal R}} \def\step{\mathtt{step}} \newcommand{\interp}[3]{{#1}:{#2}:{#3}} \newcommand{\relpos}[3]{{#1}\,\backslash\,{#2}\,\backslash\,{#3}} \newcommand{\clip}[3]{{#1}\,{[}\,{#2}\,{]}\,{#3}} d>1$ many evaluation metrics $u_i$, combined into a vector-valued evaluation metric $u=(u_1,\dots,u_d)$. 
*   **Preparation**: Pick $d+1$ many linear combinations $f_j$ in the space spanned by these metrics so that their convex hull is full-dimensional and contains the origin, and consider the $d+1$ many policies $\pi_j$ each of which maximizes the expected value of the corresponding function $f_j$. Let $V_j(s)$ and $Q_j(s,a)$ be the expected values of $u$ when using $\pi_j$ in state $s$ or after using action $a$ in state $s$, respectively (see Fig. 1). Let the *admissibility simplices* $\V(s)$ and $\Q(s,a)$ be the simplices spanned by the vertices $V_j(s)$ and $Q_j(s,a)$, respectively (red and violet triangles in Fig. 1). They replace the *feasibility intervals* used in Algorithm 2. 
*   **Policy**: Given a *convex state-aspiration set* $\Easp(s)\subseteq\V(s)$ (central green polyhedron in Fig. 1), compute its midpoint (centre of mass) $m$ and consider the $d+1$ segments $\ell_j$ from $m$ to the corners $V_j(s)$ of $\V(s)$ (dashed black lines in Fig. 1). For each of these segments $\ell_j$, let $A_j$ be the (nonempty!) set of actions for which $\ell_j$ intersects $\Q(s,a)$. For each $a\in A_j$, compute the action-aspiration $\Easp(s,a)\subseteq\Q(s,a)$ by shifting a copy $C_j$ of $\Easp(s)$ along $\ell_j$ towards $V_j(s)$ until the intersection of $$$C_j$ and $\ell_j$ is contained in the intersection of $\Q(s,a)$ and $\ell_j$ (half-transparent green polyhedra in Fig. 1), and then intersecting $C_j$ with $\Q(s,a)$ to give $\Easp(s,a)$ (yellow polyhedra in Fig. 1). Then pick one candidate action from each $A_j$ and randomize between these $d+1$ actions in proportions so that the corresponding convex combination of the sets $\Easp(s,a)$ is included in $\Easp(s)$. Note that this is always possible because $m$ is in the convex hull of the sets $C_j$ and the shapes of the sets $\Easp(s,a)$ "fit" into $\Easp(s)$ by construction.
*   **Aspiration propagation**: After observing the successor state $s'$, the action-aspiration $\Easp(s,a)$ is rescaled linearly from $\Q(s,a)$ to $\V(s')$ to give the next state-aspiration $\Easp(s')$, see Fig. 2. 

(We also consider other variants of this general idea) 

![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/99f03a7b3d67760a33ce11b97a01930ee4fad8951242dfb4.png)

Fig. 1: Admissibility simplices, and construction of action-aspirations by shifting towards corners and intersecting with action admissibility simplices (see text for details).

![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/7b3d821a7f845fc13b409e98270a340126ce3dbf0b08a2da.png)

Fig. 2: An action admissibility simplex $\Q(s,a)$ is the convex combination of the successor states' admissibility simplices $\V(s')$, mixed in proportion to the respective transition probabilities $P_M(s'|s,a)$. An action aspiration $\Easp(s,a)$ can be rescaled to a successor state aspiration $\Easp(s')$ by first mapping the corners of the action admissibility sets onto each other (dashed lines) and extending this map linearly.

Hierarchical decision making
============================

A common way of planning complex tasks is to decompose them into a hierarchy of two or more levels of subtasks. Similar to existing approaches from hierarchical reinforcement learning, we imagine that an AI system can make such hierarchical decisions as depicted in the following diagram (shown for only two hierarchical levels, but obviously generalizable to more levels):

![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/d5845d90f17cf1f32e5f617a1f63782d6adf099a36c38c79.png)

Fig. 3: Hierarchical world model in the case of two hierarchical levels of decision making.