# Modelling Continuous Progress

I [have previously argued](https://www.alignmentforum.org/posts/5WECpYABCT62TJrhY/will-ai-undergo-discontinuous-progress) for two claims about AI takeoff speeds. First, almost everyone agrees that if we had AGI, progress would be very fast. Second, the major disagreement is between those who think progress will be discontinuous and sudden (such as Eliezer Yudkowsky, MIRI) and those who think progress will be very fast by normal historical standards but continuous (Paul Chrisiano, Robin Hanson).

> What do I mean by ‘discontinuous’? If we were to graph world GDP over the last 10,000 years, it fits onto a [hyperbolic growth pattern](https://slatestarcodex.com/2019/04/22/1960-the-year-the-singularity-was-cancelled/). We could call this ‘continuous’ since it is following a single trend, or we could call it ‘discontinuous’ because, on the scale of millennia, the industrial revolution exploded out of nowhere. I will call these sorts of hyperbolic trends ‘continuous, but fast’, in line with Paul Christiano, who argued for continuous takeoff, defining it [this way](https://sideways-view.com/2018/02/24/takeoff-speeds/):

> AI is just another, faster step in the [hyperbolic growth we are currently experiencing](https://sideways-view.com/2017/10/04/hyperbolic-growth/), which corresponds to a further increase in rate but not a discontinuity (or even a discontinuity in rate).

> I’ll be using Paul’s understanding of ‘discontinuous’ and ‘fast’ here. For progress in AI to be discontinuous, we need a switch to a new growth mode, which will show up as a step function in the capability of AI or in the rate of change of the capability of the AI over time. For takeoff to be fast, it is enough that there is one single growth mode that is hyperbolic or some other function that is very fast-growing.

This post tries to build on a simplified mathematical model of takeoff which was first put forward by Eliezer Yudkowsky and then refined by Bostrom in Superintelligence, modifying it to account for the different assumptions behind continuous, fast progress as opposed to discontinuous progress. As far as I can tell, few people have touched these sorts of simple models since the early 2010’s, and no-one has tried to formalize how newer notions of continuous takeoff fit into them. I find that it is surprisingly easy to accommodate continuous progress and that the results are intuitive and fit with what has already been said qualitatively about continuous progress.

_The code for the model can be found [here](https://pastebin.com/bC6Nb19U)._

The Model
=========

The original mathematical model was put forward [here](https://www.greaterwrong.com/posts/9wZnasT3uXzmFCcaB/sustained-strong-recursion) by Eliezer Yudkowsky in 2008:

> In our world where human brains run at constant speed (and eyes and hands work at constant speed), Moore’s Law for computing power _s_ is:

> s = R(t) = e^t

> ...

> So to understand what happens when the Intel engineers themselves run on computers (and use robotics) subject to Moore’s Law, we recursify and get:

> dy/dt = s = R(y) = e^y

> Here _y_ is the total amount of elapsed _subjective_ time, which at any given point is increasing according to the computer speed _s_ given by Moore’s Law, which is determined by the same function R that describes how Research converts elapsed subjective time into faster computers. Observed human history to date roughly matches the hypothesis that R is exponential with a doubling time of eighteen subjective months (or whatever).

In other words, we start with

I(t)=et

because we assume speed is a reasonable proxy for general optimization power, and progress in processing speed is currently exponential. Then when intelligence gets high enough, the system becomes capable enough that it can apply its intelligence to improving itself, the graph ‘folds back in on itself’ and we get

dI/dt=I′(t)=et

which forms a positive singularity. The switch between these two modes occurs when the first AGI is brought online.

In Superintelligence, Nick Bostrom gave a different treatment of the same idea:

![](https://i.imgur.com/mvnTM75.png)

For Bostrom, we have

I′(t)=optimization/recalcitrance

where recalcitrance is how hard the system resists the optimization pressure applied to it. Given that (we assume) we are currently applying a roughly constant pressure to improve the intelligence of our systems, but intelligence is currently increasing exponentially (again, equating computing speed with intelligence), recalcitrance declines as the inverse of the system’s intelligence, and the current overall rate of change of intelligence is given by  I′(t)=cI.

When recursive self-improvement occurs, the applied optimization pressure is equal to the outside world's contribution plus the system's own intelligence

I′(t)=(c+I)I=cI+I2

If we make a like-for-like comparison with Bostrom and Yudkowsky's equations, we get I′(t)=eI for Yudkowsky and I′(t)=I2 for Bostrom in the RSI condition. These aren't as different as they seem - Yudkowsky's solves to give I(t)=−ln(c−t) and Bostrom's gives I(t)=1/(c−t), the derivative of Yudkowsky's! They both reach positive infinity after finite time.

These models are, of course, very oversimplifed - Bostrom's does acknowledge the possibility of diminishing returns on optimization, although he thinks current progress suggests _accelerating_ returns. 'All models are wrong but some are useful' - and there does seem to be some agreement that these models capture some of what we might expect on the Bostrom/Yudkowsky model.

I'm going to take Bostrom's equation, since it clearly shows how outside-system and inside-system optimization combine in a way that Yudkowsky's doesn't, and try to incorporate the assumptions behind continuous takeoff, as exemplified by this from [Paul Christiano](https://sideways-view.com/2018/02/24/takeoff-speeds/):

> Powerful AI can be used to develop better AI (amongst other things). This will lead to runaway growth.

> This on its own is not an argument for discontinuity: before we have AI that radically accelerates AI development, the slow takeoff argument suggests we will have AI that _significantly_ accelerates AI development (and before that, _slightly_ accelerates development).

We model this by, instead of simply switching from I′(t)=cI to I′(t)=cI+I2 when RSI becomes possible, having a continuous change function that depends on I - for low values of this function only a small fraction of the system's intelligence can be usefully exerted to improve its intelligence, because the system is still in the regime where AI only 'slightly accelerates development'.

I′(t)=cI+f(I)I2

this f(I) needs to satisfy several properties to be realistic - it has to be bounded between 0 (our current situation, with no contribution from RSI), and 1 (all the system's intelligence can be applied to improve its own intelligence), and depend only on the intelligence of the system. The most natural choice, if we assume RSI is like most other technological capabilities, is the [logistic curve](https://intelligence.org/2017/11/26/security-mindset-and-the-logistic-success-curve/).

f(I)=11+e−d(I(t)−IAGI)

where d is the strength of the discontinuity - if d is 0, f(I) is always fixed at a single value (this should be 0.5 but I forced it to be 0 in the code). If d is infinite then we have a step function - discontinuous progress from cI to (c+I)I at AGI exactly as Bostrom's original scenario describes. For values between 0 and infinity we have varying steepnesses of continuous progress. IAGI is the Intelligence level we identify with AGI. In the discontinuous case, it is where the jump occurs. In the continuous case, it is the centre of the logistic curve. here IAGI=4

  

![](https://i.imgur.com/WIsrjcN.png)

All of this together allows us to build a (very oversimplified) model of some different takeoff scenarios, in order to examine the dynamics. The variables we have available to adjust are,

*   IAGI \- the approximate capability level required for RSI
*   d \- how sudden a breakthrough is RSI
*   I0 \- the initial capability of the system
*   c \- the strength of the constant optimization pressure applied to the system by the outside world

Discontinuities
===============

Varying d between 0 (no RSI) and infinity (a discontinuity) while holding everything else constant looks like this:

![](https://i.imgur.com/EamG21f.png)

If we compare the trajectories, we see two effects - the more continuous the progress is (lower d), the earlier we see growth accelerating above the exponential trend-line (except for slow progress, where growth is always just exponential) and the smoother the transition to the new growth mode is. For d=0.5, AGI was reached at t=1.5 but for discontinuous progress this was not until after t=2. As Paul Christiano says, [slow takeoff seems to mean that AI has a larger impact on the world, sooner.](https://sideways-view.com/2018/02/24/takeoff-speeds/)

![](https://unstylizedcom.files.wordpress.com/2018/02/takeoffimage-0011.png)

Or, compare the above with the graph in my earlier post, where the red line is the [continuous scenario:](https://www.lesswrong.com/posts/5WECpYABCT62TJrhY/will-ai-undergo-discontinuous-progress#Recursive_self_improvement)

![](https://i.imgur.com/RbuBJ30.png)

If this model can capture the difference between continuous and discontinuous progress, what else can it capture? As expected, varying the initial optimization pressure applied and/or the level of capability required for AGI tends to push the timeline earlier or later without otherwise changing the slope of the curves - you can put that to the test by looking at the code yourself, [which can be found here](https://pastebin.com/bC6Nb19U).

Speed
=====

Once RSI gets going, how fast will it be? This is an additional question which is connected to the question of discontinuities, but not wholly dependent on it. We have already seen some hints about how to capture post-RSI takeoff speed - to model a slow takeoff I forced the function f(I) to always equal 0. Otherwise, the function f(I) is bounded at 1. Suppose the speed of the takeoff is modelled by an additional scaling factor behind f(I) which controls how powerful RSI is overall - if this speed s is above 1, then the AGI can exert optimization pressure disproportionately greater than its current intelligence, and if s is below 1 then the total amount of optimization RSI can exert is bounded below the AGI's intelligence:

I′(t)=cI+sf(I)I2=cI+sI21+e−d(I(t)−IAGI)

Here are two examples with s = 2 and 0.5:

![](https://i.imgur.com/ExkntK4.png)

  

![](https://i.imgur.com/sBn3CfK.png)

I'm less sure than in the previous section that this captures what people mean by varying takeoff speed independent of discontinuity, but comparing the identical colours in the two graphs above seems to be a reasonable fit to my intuitions about what a differing takeoff would be like for the same level of continuity, but differing 'speed'.

Conclusion
==========

I've demonstrated a simple model of AI takeoff with two main variables, the suddenness of the discontinuity d and the overall strength of the RSI s, with a few simplifying assumptions - that Bostrom's 2012 model is correct and that RSI progress, like most technologies, follows a [logistic curve](https://www.wikiwand.com/en/Logistic_function#In_economics_and_sociology:_diffusion_of_innovations). This model produces results that fit with what proponents of continuous progress expect - progress to superintelligence is smoother with more warning time, and occurs earlier.

Appendix: 'Paul Slow' Takeoff
-----------------------------

Paul Christiano's view is that takeoff will be both continuous and relatively slow - sufficiently slow that [this is the case:](https://aiimpacts.org/precedents-for-economic-n-year-doubling-before-4n-year-doubling/)

> There will be a complete 4 year interval in which world output doubles, before the first 1 year interval in which world output doubles. (Similarly, we’ll see an 8 year doubling before a 2 year doubling, etc.)

Does a slow continuous takeoff on this model replicate this? What we want is a scenario where you don't get intermediate doubling intervals at all in the discontinuous case, but you get at least one in the continuous case. Setting _s_ relatively high appears to do the trick. [Here is a scenario](https://i.imgur.com/RSjIKQH.png) where we have very fast post-RSI growth with s=5,c=1,I0=1 and I_AGI=3.

I wrote some more code to produce plots of how long [each complete interval of doubling took](https://i.imgur.com/mw27P7H.png) in each scenario. The 'default' rate with no contribution from RSI was 0.7. All the continuous scenarios had two complete doubling intervals over intermediate time frames before the doubling time collapsed to under 0.05 on the third doubling. The discontinuous model simply kept the original doubling interval until it collapsed to under 0.05 on the third doubling interval. [It's all in this graph](https://i.imgur.com/mw27P7H.png).

Let's make the irresponsible assumption that this actually applies to the real economy, with the current growth mode, non-RSI condition being given by the 'slow/no takeoff', s=0 condition.The current doubling time is [a bit over 23 years](https://openborders.info/double-world-gdp/). In the shallow continuous progress scenario (red line), we get a 9 year doubling, a 4 year doubling and then a ~1 year doubling. In the discontinuous scenario (purple line) we get 2 23 year doublings and then a ~1 year doubling out of nowhere. In other words, this fairly random setting of the parameters (this was the second set I tried) gives us a Paul slow takeoff when progress is continuous. [You can see that graph here.](https://i.imgur.com/EE3AgMU.png)