Optimal Policies Tend to Seek Power โ part 5/16
Cleaned-text code points [62841, 78769). Bibliography omitted here; source.md includes it.
If โ ๐ any ( s 1 , N , 1 ) โฅ most : ๐ any โ ๐ any ( s 1 , NE , 1 ) \Prb\nolimits_{\mathcal{D}_{\text{any}}}\left({\color[rgb]{0.25,0.45,0.75}s_{1}},\texttt{N},1\right)\geq_{\text{{most}}\text{: }\mathfrak{D}_{\text{any}}}\Prb\nolimits_{\mathcal{D}_{\text{any}}}\left({\color[rgb]{0.25,0.45,0.75}s_{1}},\texttt{NE},1\right) , then Lemma B.3 shows that โ ๐ X โ - iid ( s 1 , N , 1 ) โฅ โ ๐ X โ - iid ( s 1 , NE , 1 ) \Prb\nolimits_{\mathcal{D}_{X\text{-}\textsc{iid}}}\left({\color[rgb]{0.25,0.45,0.75}s_{1}},\texttt{N},1\right)\geq\Prb\nolimits_{\mathcal{D}_{X\text{-}\textsc{iid}}}\left({\color[rgb]{0.25,0.45,0.75}s_{1}},\texttt{NE},1\right) for all ๐ X โ - iid \mathcal{D}_{X\text{-}\textsc{iid}} . But the proof of Proposition B.1 showed that โ ๐ X u โ - iid ( s 1 , N , 1 ) < โ ๐ X u โ - iid ( s 1 , NE , 1 ) \Prb\nolimits_{\mathcal{D}_{X_{u}\text{-}\textsc{iid}}}\left({\color[rgb]{0.25,0.45,0.75}s_{1}},\texttt{N},1\right)<\Prb\nolimits_{\mathcal{D}_{X_{u}\text{-}\textsc{iid}}}\left({\color[rgb]{0.25,0.45,0.75}s_{1}},\texttt{NE},1\right) for X u โ unif โ ( 0 , 1 ) X_{u}\coloneqq\text{unif}(0,1) . Therefore, it cannot be true that โ ๐ any ( s 1 , N , 1 ) โฅ most : ๐ any โ ๐ any ( s 1 , NE , 1 ) \Prb\nolimits_{\mathcal{D}_{\text{any}}}\left({\color[rgb]{0.25,0.45,0.75}s_{1}},\texttt{N},1\right)\geq_{\text{{most}}\text{: }\mathfrak{D}_{\text{any}}}\Prb\nolimits_{\mathcal{D}_{\text{any}}}\left({\color[rgb]{0.25,0.45,0.75}s_{1}},\texttt{NE},1\right) . โ
## Appendix C Sub-optimal Power
In certain situations, Power returns intuitively surprising verdicts. There exists a policy under which the reader chooses a winning lottery ticket, but it seems wrong to say that the reader has the power to win the lottery with high probability. For various reasons, humans and other bounded agents are generally incapable of computing optimal policies for arbitrary objectives. More formally, consider the rewardless mdp of fig. 11 .
Consider a model-based RL agent with black-box simulator access to this environment. The agent has no prior information about the model, and so it acts randomly. Before long, the agent has probably learned how to navigate from s 0 {\color[rgb]{0.25,0.45,0.75}s_{0}} to states s โ s_{\ell} , s r s_{r} , s 1 s_{1} , s 2 s_{2} , and s 5 s_{5} . However, over any reasonable timescale, it is extremely improbable that the agent discovers the two actions respectively leading to s 3 s_{3} and s 4 s_{4} .
Even provided with a reward function R R and the discount rate ฮณ \gamma , the agent has yet to learn the relevant environmental dynamics, and so many of its policies are far from optimal. Although Proposition 6.6 shows that โ ฮณ โ [ 0 , 1 ] : Power ๐ bound ( s โ , ฮณ ) โค most : ๐ bound Power ๐ bound ( s r , ฮณ ) \forall\gamma\in[0,1]\mathrel{\mathop{\ordinarycolon}}\text{{Power}}_{\mathcal{D}_{\text{bound}}}\left(s_{\ell},\gamma\right)\leq_{\text{{most}}\text{: }\mathfrak{D}_{\text{bound}}}\text{{Power}}_{\mathcal{D}_{\text{bound}}}\left(s_{r},\gamma\right) , there is a sense in which s โ s_{\ell} gives this agent more power.
We formalize a bounded agentโs goal-achievement capabilities with a function pol , which takes as input a reward function and a discount rate, and returns a policy. Informally, this is the best policy which the agent knows about. We can then calculate Power ๐ bound \text{{Power}}_{\mathcal{D}_{\text{bound}}} with respect to pol .
###### Definition C.1 (Suboptimal Power ) .
Let ฮ ฮ \Pi_{\Delta} be the set of stationary stochastic policies, and let pol : โ ๐ฎ ร [ 0 , 1 ] โ ฮ ฮ \text{pol}\mathrel{\mathop{\ordinarycolon}}\mathbb{R}^{\mathcal{S}}\times[0,1]\to\Pi_{\Delta} . For ฮณ โ [ 0 , 1 ] \gamma\in[0,1] , Power ๐ bound pol โ ( s , ฮณ ) โ ๐ผ R โผ ๐ bound , a โผ pol โ ( R , ฮณ ) โ ( s ) , s โฒ โผ T โก ( s , a ) [ lim ฮณ โ โ ฮณ ( 1 โ ฮณ โ ) โ V R pol โ ( R , ฮณ ) โ ( s โฒ , ฮณ โ ) ] . \displaystyle\text{{Power}}^{\text{pol}}_{\mathcal{D}_{\text{bound}}}\left(s,\gamma\right)\coloneqq\opE_{\begin{subarray}{c}R\sim\mathcal{D}_{\text{bound}},\\ a\sim\text{pol}\left(R,\gamma\right)(s),\\ s^{\prime}\sim T\left(s,a\right)\end{subarray}}\left[\lim_{\gamma^{*}\to\gamma}(1-\gamma^{*})V^{\text{pol}\left(R,\gamma\right)}_{R}\left(s^{\prime},\gamma^{*}\right)\right]. (5)
By Lemma E.36 , Power ๐ bound \text{{Power}}_{\mathcal{D}_{\text{bound}}} is the special case where โ R โ โ ๐ฎ , ฮณ โ [ 0 , 1 ] : pol โ ( R , ฮณ ) โ ฮ โ โ ( R , ฮณ ) \forall R\in\mathbb{R}^{\mathcal{S}},\gamma\in[0,1]\mathrel{\mathop{\ordinarycolon}}\text{pol}\left(R,\gamma\right)\in\Pi^{*}\left(R,\gamma\right) . We define Power ๐ bound pol \text{{Power}}^{\text{pol}}_{\mathcal{D}_{\text{bound}}} -seeking similarly as in definition 5.6 .
Power ๐ bound pol โ ( s 0 , 1 ) \text{{Power}}^{\text{pol}}_{\mathcal{D}_{\text{bound}}}\left({\color[rgb]{0.25,0.45,0.75}s_{0}},1\right) increases as the policies returned by pol are improved. We illustrate this by considering the ๐ X โ - iid \mathcal{D}_{X\text{-}\textsc{iid}} case.
pol 1 \text{pol}_{1} The model is initially unknown, and so โ R , ฮณ : pol 1 โ ( R , ฮณ ) \forall R,\gamma\mathrel{\mathop{\ordinarycolon}}\text{pol}_{1}(R,\gamma) is a uniformly random policy. Since pol 1 \text{pol}_{1} is constant on its inputs, Power ๐ X โ - iid pol 1 โ ( s 0 , 1 ) = ๐ผ [ X ] \text{{Power}}^{\text{pol}_{1}}_{\mathcal{D}_{X\text{-}\textsc{iid}}}\left({\color[rgb]{0.25,0.45,0.75}s_{0}},1\right)=\opE\left[X\right] by the linearity of expectation and the fact that ๐ X โ - iid \mathcal{D}_{X\text{-}\textsc{iid}} distributes reward independently and identically across states.
pol 2 \text{pol}_{2} The agent knows the dynamics, except that it does not know how to reach s 3 s_{3} or s 4 s_{4} . At this point, pol 2 โ ( R , 1 ) \text{pol}_{2}(R,1) navigates from s 0 {\color[rgb]{0.25,0.45,0.75}s_{0}} to the average-optimal choice among three terminal states: s 1 s_{1} , s 2 s_{2} , and s 5 s_{5} . Therefore, Power ๐ bound pol 2 โ ( s 0 , 1 ) = ๐ผ [ max โก of โ 3 โ draws from โ X ] \text{{Power}}^{\text{pol}_{2}}_{\mathcal{D}_{\text{bound}}}\left({\color[rgb]{0.25,0.45,0.75}s_{0}},1\right)=\opE\left[\max\text{ of }3\text{ draws from }X\right] .
pol 3 \text{pol}_{3} The agent knows the dynamics, the environment is small enough to solve explicitly, and so โ R , ฮณ : pol 3 โ ( R , ฮณ ) \forall R,\gamma\mathrel{\mathop{\ordinarycolon}}\text{pol}_{3}(R,\gamma) is an optimal policy. pol 3 โ ( R , 1 ) \text{pol}_{3}(R,1) navigates from s 0 {\color[rgb]{0.25,0.45,0.75}s_{0}} to the average-optimal choice among all five terminal states. Therefore, Power ๐ bound pol 3 โ ( s 0 , 1 ) = ๐ผ [ max โก of โ 5 โ draws from โ X ] \text{{Power}}^{\text{pol}_{3}}_{\mathcal{D}_{\text{bound}}}\left({\color[rgb]{0.25,0.45,0.75}s_{0}},1\right)=\opE\left[\max\text{ of }5\text{ draws from }X\right] .
As the agent learns more about the environment and improves pol , the agentโs Power ๐ bound pol \text{{Power}}^{\text{pol}}_{\mathcal{D}_{\text{bound}}} increases. The agent seeks Power ๐ bound pol 2 \text{{Power}}^{\text{pol}_{2}}_{\mathcal{D}_{\text{bound}}} by navigating to s โ s_{\ell} instead of s r s_{r} , but seeks more Power ๐ bound \text{{Power}}_{\mathcal{D}_{\text{bound}}} by navigating to s r s_{r} instead of s โ s_{\ell} . Intuitively, bounded agents gain power by improving pol and by formally seeking Power ๐ bound pol \text{{Power}}^{\text{pol}}_{\mathcal{D}_{\text{bound}}} within the environment.
## Appendix D Lists of results
\ignoretheorems cor-no-num,conjecture,remark,definition
### D.1 Contributions of independent interest
We developed new basic mdp theory by exploring the structural properties of visit distribution functions. Echoing Wang et al. [2007] , Wang et al. [2008] , we believe that this area is interesting and underexplored.
#### D.1.1 Optimal value theory
Lemma E.38 shows that f โก ( ฮณ โ ) โ lim ฮณ โ โ ฮณ ( 1 โ ฮณ โ ) โ V R โ โ ( s , ฮณ โ ) f(\gamma^{*})\coloneqq\lim_{\gamma^{*}\to\gamma}(1-\gamma^{*})V^{*}_{R}\left(s,\gamma^{*}\right) is Lipschitz continuous on ฮณ โ [ 0 , 1 ] \gamma\in[0,1] , with Lipschitz constant depending only on โ R โ 1 \left\lVert R\right\rVert_{1} . For all states s s and policies ฯ โ ฮ \pi\in\Pi , Corollary E.5 shows that V R ฯ โ ( s , ฮณ ) V^{\pi}_{R}(s,\gamma) is rational on ฮณ \gamma .
Optimal value has a well-known dual formulation: V R โ โ ( s , ฮณ ) = max ๐ โ โฑ โก ( s ) โก ๐ โ ( ฮณ ) โค โ ๐ซ V^{*}_{R}\left(s,\gamma\right)=\max_{\mathbf{f}\in\Fop(s)}\mathbf{f}(\gamma)^{\top}\mathbf{r} . {restatable*} [ โ ฮณ โ [ 0 , 1 ) : V R โ โ ( s , ฮณ ) = max ๐ โ โฑ nd โก ( s ) โก ๐ โ ( ฮณ ) โค โ ๐ซ \forall\gamma\in[0,1)\mathrel{\mathop{\ordinarycolon}}V^{*}_{R}\left(s,\gamma\right)=\max_{\mathbf{f}\in\Fndop(s)}\mathbf{f}(\gamma)^{\top}\mathbf{r} ]lemoptVfFndRestrict In a fixed rewardless mdp , section D.1.1 may enable more efficient computation of optimal value functions for multiple reward functions.
#### D.1.2 Optimal policy theory
Section D.1.2 demonstrates how to preserve optimal incentives while changing the discount rate.
{restatable*} [How to transfer optimal policy sets across discount rates]proptransferDiscount Suppose reward function R R has optimal policy set ฮ โ โ ( R , ฮณ ) \Pi^{*}\left(R,\gamma\right) at discount rate ฮณ โ ( 0 , 1 ) \gamma\in(0,1) . For any ฮณ โ โ ( 0 , 1 ) \gamma^{*}\in(0,1) , we can construct a reward function R โฒ R^{\prime} such that ฮ โ โ ( R โฒ , ฮณ โ ) = ฮ โ โ ( R , ฮณ ) \Pi^{*}\left(R^{\prime},\gamma^{*}\right)=\Pi^{*}\left(R,\gamma\right) . Furthermore, V R โฒ โ โ ( โ
, ฮณ โ ) = V R โ โ ( โ
, ฮณ ) V^{*}_{R^{\prime}}\left(\cdot,\gamma^{*}\right)=V^{*}_{R}\left(\cdot,\gamma\right) .
#### D.1.3 Visit distribution theory
While Regan and Boutilier [2010] consider a visit distribution function ๐ โ โฑ โก ( s ) \mathbf{f}\in\Fop(s) to be non-dominated if it is optimal for some reward function in a set โ โ โ | ๐ฎ | \mathcal{R}_{\text{}}\subseteq\mathbb{R}^{\left|\mathcal{S}\right|} , our stricter definition 3.6 considers ๐ \mathbf{f} to be non-dominated when โ ๐ซ โ โ | ๐ฎ | , ฮณ โ ( 0 , 1 ) : ๐ โ ( ฮณ ) โค โ ๐ซ > max ๐ โฒ โ โฑ โก ( s ) โ { ๐ } โก ๐ โฒ โ ( ฮณ ) โค โ ๐ซ \exists\mathbf{r}\in\mathbb{R}^{\left|\mathcal{S}\right|},\gamma\in(0,1)\mathrel{\mathop{\ordinarycolon}}\mathbf{f}(\gamma)^{\top}\mathbf{r}>\max_{\mathbf{f}^{\prime}\in\Fop(s)\setminus\left\{\mathbf{f}\right\}}\mathbf{f}^{\prime}(\gamma)^{\top}\mathbf{r} .
## Appendix E Theoretical results
###### Lemma E.1 (A policy is optimal iff it induces an optimal visit distribution at every state) .
Let ฮณ โ ( 0 , 1 ) \gamma\in(0,1) and let R R be a reward function. ฯ โ ฮ โ โ ( R , ฮณ ) \pi\in\Pi^{*}\left(R,\gamma\right) iff ฯ \pi induces an optimal visit distribution at every state.
###### Proof.
By definition, a policy ฯ \pi is optimal iff ฯ \pi induces the maximal on-policy value at each state, which is true iff ฯ \pi induces an optimal visit distribution at every state (by the dual formulation of optimal value functions). โ
###### Definition E.2 (Transition matrix induced by a policy) .
๐ ฯ \mathbf{T}^{\pi} is the transition matrix induced by policy ฯ โ ฮ \pi\in\Pi , where ๐ ฯ โ ๐ s โ T โก ( s , ฯ โก ( s ) ) \mathbf{T}^{\pi}\mathbf{e}_{s}\coloneqq T(s,\pi(s)) . ( ๐ ฯ ) t โ ๐ s (\mathbf{T}^{\pi})^{t}\mathbf{e}_{s} gives the probability distribution over the states visited at time step t t , after following ฯ \pi for t t steps from s s .
###### Proposition E.3 (Properties of visit distribution functions) .
Let s , s โฒ โ ๐ฎ , ๐ ฯ , s โ โฑ โก ( s ) s,s^{\prime}\in\mathcal{S},\mathbf{f}^{\pi,s}\in\Fop(s) . 1. ๐ ฯ , s โ ( ฮณ ) \mathbf{f}^{\pi,s}(\gamma) is element-wise non-negative and element-wise monotonically increasing on ฮณ โ [ 0 , 1 ) \gamma\in[0,1) .
2. โ ฮณ โ [ 0 , 1 ) : โ ๐ ฯ , s โ ( ฮณ ) โ 1 = 1 1 โ ฮณ \forall\gamma\in[0,1)\mathrel{\mathop{\ordinarycolon}}\left\lVert\mathbf{f}^{\pi,s}(\gamma)\right\rVert_{1}=\frac{1}{1-\gamma} .
###### Proof.
Item 1 : by examination of definition 3.3 , ๐ ฯ , s = โ t = 0 โ ( ฮณ โ ๐ ฯ ) t โ ๐ s \mathbf{f}^{\pi,s}=\sum_{t=0}^{\infty}\left(\gamma\mathbf{T}^{\pi}\right)^{t}\mathbf{e}_{s} . Since each ( ๐ ฯ ) t \left(\mathbf{T}^{\pi}\right)^{t} is left stochastic and ๐ s \mathbf{e}_{s} is the standard unit vector, each entry in each summand is non-negative. Therefore, โ ฮณ โ [ 0 , 1 ) : ๐ ฯ , s โ ( ฮณ ) โค โ ๐ s โฒ โฅ 0 \forall\gamma\in[0,1)\mathrel{\mathop{\ordinarycolon}}\mathbf{f}^{\pi,s}(\gamma)^{\top}\mathbf{e}_{s^{\prime}}\geq 0 , and this function monotonically increases on ฮณ \gamma .
Item 2 : โ ๐ ฯ , s โ ( ฮณ ) โ 1 \displaystyle\left\lVert\mathbf{f}^{\pi,s}(\gamma)\right\rVert_{1} = โ โ t = 0 โ ( ฮณ โ ๐ ฯ ) t โ ๐ s โ 1 \displaystyle=\left\lVert\sum_{t=0}^{\infty}\left(\gamma\mathbf{T}^{\pi}\right)^{t}\mathbf{e}_{s}\right\rVert_{1} (6) = โ t = 0 โ ฮณ t โ โ ( ๐ ฯ ) t โ ๐ s โ 1 \displaystyle=\sum_{t=0}^{\infty}\gamma^{t}\left\lVert\left(\mathbf{T}^{\pi}\right)^{t}\mathbf{e}_{s}\right\rVert_{1} (7) = โ t = 0 โ ฮณ t \displaystyle=\sum_{t=0}^{\infty}\gamma^{t} (8) = 1 1 โ ฮณ . \displaystyle=\frac{1}{1-\gamma}. (9)
Equation 7 follows because all entries in each ( ๐ ฯ ) t โ ๐ s \left(\mathbf{T}^{\pi}\right)^{t}\mathbf{e}_{s} are non-negative by item 1 . Equation 8 follows because each ( ๐ ฯ ) t \left(\mathbf{T}^{\pi}\right)^{t} is left stochastic and ๐ s \mathbf{e}_{s} is a stochastic vector, and so โ ( ๐ ฯ ) t โ ๐ s โ 1 = 1 \left\lVert\left(\mathbf{T}^{\pi}\right)^{t}\mathbf{e}_{s}\right\rVert_{1}=1 . โ
###### Lemma E.4 ( ๐ โ โฑ โก ( s ) \mathbf{f}\in\Fop(s) is multivariate rational on ฮณ \gamma ) .
๐ ฯ โ โฑ โก ( s ) \mathbf{f}^{\pi}\in\Fop(s) is a multivariate rational function on ฮณ โ [ 0 , 1 ) \gamma\in[0,1) .
###### Proof.
Let ๐ซ โ โ | ๐ฎ | \mathbf{r}\in\mathbb{R}^{\left|\mathcal{S}\right|} and consider ๐ ฯ โ โฑ โก ( s ) \mathbf{f}^{\pi}\in\Fop(s) . Let ๐ฏ R ฯ \mathbf{v}^{\pi}_{R} be the V R โ โ ( s , ฮณ ) V^{*}_{R}\left(s,\gamma\right) function in column vector form, with one entry per state value.
By the Bellman equations, ๐ฏ R ฯ = ( ๐ โ ฮณ โ ๐ ฯ ) โ 1 โ ๐ซ . \mathbf{v}^{\pi}_{R}=\left(\mathbf{I}-\gamma\mathbf{T}^{\pi}\right)^{-1}\mathbf{r}. Let ๐ ฮณ โ ( ๐ โ ฮณ โ ๐ ฯ ) โ 1 \mathbf{A}_{\gamma}\coloneqq\left(\mathbf{I}-\gamma\mathbf{T}^{\pi}\right)^{-1} , and for state s s , form ๐ s , ฮณ \mathbf{A}_{s,\gamma} by replacing ๐ ฮณ \mathbf{A}_{\gamma} โs column for state s s with ๐ซ \mathbf{r} . As noted by Lippman [1968] , by Cramerโs rule, V R ฯ โ ( s , ฮณ ) = det ๐ s , ฮณ det ๐ ฮณ V^{\pi}_{R}(s,\gamma)=\frac{\det{\mathbf{A}_{s,\gamma}}}{\det\mathbf{A}_{\gamma}} is a rational function with numerator and denominator having degree at most | ๐ฎ | \left|\mathcal{S}\right| .
In particular, for each state indicator reward function ๐ s i \mathbf{e}_{s_{i}} , V s i ฯ โ ( s , ฮณ ) = ๐ ฯ , s โ ( ฮณ ) โค โ ๐ s i V^{\pi}_{s_{i}}(s,\gamma)=\mathbf{f}^{\pi,s}(\gamma)^{\top}\mathbf{e}_{s_{i}} is a rational function of ฮณ \gamma whose numerator and denominator each have degree at most | ๐ฎ | \left|\mathcal{S}\right| . This implies that ๐ ฯ โ ( ฮณ ) \mathbf{f}^{\pi}(\gamma) is multivariate rational on ฮณ โ [ 0 , 1 ) \gamma\in[0,1) . โ
###### Corollary E.5 (On-policy value is rational on ฮณ \gamma ) .
Let ฯ โ ฮ \pi\in\Pi and R R be any reward function. V R ฯ โ ( s , ฮณ ) V^{\pi}_{R}(s,\gamma) is rational on ฮณ โ [ 0 , 1 ) \gamma\in[0,1) .
###### Proof.
V R ฯ โ ( s , ฮณ ) = ๐ ฯ , s โ ( ฮณ ) โค โ ๐ซ V^{\pi}_{R}(s,\gamma)=\mathbf{f}^{\pi,s}(\gamma)^{\top}\mathbf{r} , and ๐ \mathbf{f} is a multivariate rational function of ฮณ \gamma by Lemma E.4 . Therefore, for fixed ๐ซ \mathbf{r} , ๐ ฯ , s โ ( ฮณ ) โค โ ๐ซ \mathbf{f}^{\pi,s}(\gamma)^{\top}\mathbf{r} is a rational function of ฮณ \gamma . โ
### E.1 Non-dominated visit distribution functions
###### Definition E.6 (Continuous reward function distribution) .
Results with ๐ cont \mathcal{D}_{\text{cont}} hold for any absolutely continuous reward function distribution.
###### Remark .
We assume โ | ๐ฎ | \mathbb{R}^{\left|\mathcal{S}\right|} is endowed with the standard topology.
###### Lemma E.7 (Distinct linear functionals disagree almost everywhere on their domains) .