Safety timelines: How long will it take to solve alignment?

post by Esben Kran (esben-kran), JonathanRystroem, Steinthal · 2022-09-19T12:53:55.847Z · LW · GW · 7 comments

This is a link post for https://forum.effectivealtruism.org/posts/9iGFjYnRquxiy29jm/safety-timelines-how-long-will-it-take-to-solve-alignment

Contents

    Prelude
    A case for hope
  Safety timelines
    What does it mean to solve alignment?
    Importance of measuring progress
    Benchmarks & data
  Next steps
    Forecasting and keeping track of progress
  Appendix
    P(doom) data
None
7 comments

TLDR; no one talks about how far we are towards safe AGI and the focus is on when AGI doom arrives. We want to readjust this focus and measure progress, guide and facilitate research, and evaluate projects in AI safety for impact. We also ask you to add your views to this survey.

Prelude

It was a hot London Summer day and fourteen people had gathered to discuss the future of AI safety. To ascertain the mission criticality of our endeavor, we drew everyone’s AGI timelines on a whiteboard. The product of our estimates was close to the Metaculus estimate and some expressed concern at the stress of impending doom.

We then proceeded to draw our expected timelines for when alignment would be solved and very few had ever analyzed this. The few that expressed their timelines ended at 15 years hence, in 2037. And I thought this was a remarkably hopeful message!

A case for hope

Let us be optimistic and expect the median arrival for the solution to alignment is 2037 estimated as a Gaussian with a standard deviation of 10 years[1]. If we estimate the probability that the solution will come before AGI based on sampling the probability mass of the Metaculus’ forecast for AGI and our “Safety Timeline” (or “alignment solution timeline”), we can calculate the probability that alignment will be solved before an AGI is released:

We can then insert our conditional prior for the probability that the solution will also lead to human flourishing  and the prior probability of doom from AGI to calibrate P(AGI-caused doom)[2]. In this case, we set  at a 90% effectiveness probability and the  from 24 researchers in AI safety (see the list in the Appendix). From this, we can calculate the probability mass for the calibrated .

Now we introduce the previous graph with the updated  for any year on the AGI timelines. We calculate the uncalibrated  by multiplying  by the mean of  estimates while  is , i.e. P(doom) is multiplied by the complement of the cumulative probability distribution for safe AGI from alignment for that year:

Though it might be an optimistic prior in this case, having metrics and evaluations to measure how  far towards safe AGI we are seems incredibly valuable and surprisingly few attempts to measure this already exist.

Safety timelines

Even though no one seems to have explicitly forecast or evaluated our safety timelines, related literature exists to inform our work on forecasting safety timelines and what it means to have safe AGI.

What does it mean to solve alignment?

This is a very open question and something we ask your help in defining. In our novelty search for “the alignment algorithm”, most people anchor on rough judgements and BOTECs made from qualitative forecasts.

A popular judgement in AI safety is the evaluation of the so-called “P(doom)” or “the probability of doom” from our foray into artificial intelligence technology which we have already used above. The P(doom) concept has not been formally established and is most often used as a qualitative and rough estimate of our expected mission-criticality in AI safety. See the Appendix for an overview of people’s P(doom) estimates.

We imagine a proposal for qualitative evaluating alignment could look like the following survey-based evaluation:

> Will a panel of 15 recognized experts in AI safety expect a proposed alignment solution to make TAI increase human flourishing with an average above X% certainty given no malevolent human intervention if released during the subsequent 5 years?

We expect this to approximate a model of our uncertainty on what alignment looks like at this stage with the expert judgments that researchers often defer to. However, this is but one way to measure our progress towards alignment. We expect there to be many metrics [LW · GW] to track. Some examples can be seen in the survey.

Importance of measuring progress

There are several reasons why we would like to measure progress. Some of the most important include:

  1. Better markers of progress allows us to measure AI safety against AGI, providing further argumentation for when we can safely deploy or stop AGI development.
  2. Better models of alignment solutions give us better arguments for which solutions should work and which should not. This is relevant both for differential technology research but also for people in policy.
  3. Benchmarks can push the AI safety field forward (with caveats [AF · GW]): Benchmarks in ML development have guided research immensely, e.g. ImageNet and CNNs and CASP and AlphaFold.
  4. AI safety needs more wins [AF · GW], and showcasing these wins is important for AI safety to be seen as an attractive and serious field.
  5. AI safety is missing empiricism[3]: If we get measures of progress and an effectiveness / dollar spent for AI safety [EA · GW], this will integrate the empiricism of effective altruism more and make us better at evaluating the impact of future AI safety projects.
  6. A case for hope that has not existed until now becomes more tangible. If we understand where we made progress, we might elicit a feeling that we can actually solve alignment.

Benchmarks & data

There are already a few existing benchmarks for progress on safe AGI that attempt to measure safety or correlates of safety in AI systems. One of the most famous ones (both in ML and alignment) is TruthfulQA which is a dataset that measures the truthfulness of language models given adversarially generated text examples. It seems there are multiple issues with using it as a safety measure (though it is good as a radicalization bug fixer) and it has not had many papers that attempt state-of-the-art[4] despite its citations. However, it did stir the media on language models when it came out.

Another is Safety Gym, an OpenAI gym environment for safe exploration experiments in RL. We could not find any benchmark tracking, however it seems to have a substantial amount of citations (154) in papers with related projects so maybe it has inspired other benchmarks.

SafeLife is a benchmark for reducing side effects of goal-oriented environment interaction in complex game-like environments made by the Partnership on AI. It seems to function as a benchmark, though it has received limited traction by the community.

The inverse scaling prize has a Google Colab that generates the plots necessary to evaluate if there is inverse scaling and the prize itself is given based on reviewer feedback and automatic auditing of the results using private models. This is not scalable as a benchmark but with a bit of tweaking, it can possibly be a fully-automatic process to identify future inverse scaling laws which are relevant for inferring the capability misalignment dimensions of future large models.

Additionally, The Center for AI Safety and its affiliates have recently released several competitions in machine learning safety. The benchmark-based ones are the NeurIPS Trojan Detection Challenge, the OOD robustness challenge, and the Moral Uncertainty Competition.

All these seem like good benchmarks for sub-problems in pragmatic AI safety [EA · GW] and from our perspective seem to have good potential. Here follows a short benchmark description of each.

The Trojan detection challenge has three tracks which all relate to the detection, generation, and analysis of neural networks that have been attacked with an adversarial perturbation that is intentionally hidden. The benchmark would consist of a training, test, and validation set of Trojaned and non-Trojaned neural networks which is quantifiable as an automatic auditing task [LW · GW] on relevant ML metrics.

The out-of-distribution generalization in computer vision (OOD-CV) challenge has three tracks which all relate to image transformation models’ ability to generalize beyond a given training set to images that show significant differences on six different properties in its test set. This also seems like a good benchmark for explicit OOD performance evaluation.

The moral uncertainty competition directly rewards performance (AUROC) and therefore seems ideal for a benchmark (which it already is based on its leaderboard). The task is to classify if the author in a text was in the moral wrong or right given a description of a situation. The data is from AmITheAsshole and examples created by MTurk (these two example types segregate into two distinct groups if you run an embedding algorithm so they seem qualitatively and quantitatively distinct).

These all seem like good first steps towards benchmarking safety in AI systems but it still seems like there are too few and that they do not have the traction of other machine learning benchmarks. If we missed any AI safety-related benchmarks, please do add them to this spreadsheet.

Next steps

Now, what can we do to measure and facilitate progress on alignment and AI safety? This is an important question that we want to tackle.

Forecasting and keeping track of progress

Apart Research will focus on measuring and reporting the progress towards safe AGI. We are starting the YouTube series Safe AI Progress Report, we have developed the first version of a kanban for AI safety (which will be updated to reflect this agenda), and we plan to build a progress tracker with a weekly updated database and API as an aggregate measure of our progress towards safe AGI compared to AGI progress.

Lastly, please add your thoughts in this survey so we can get feedback on which metrics of AI safety progress you think are valuable.

Thank you for your attention and we hope to hear from you! You are welcome to email us or set up a meeting.

Thank you to Jamie Bernardi, Oliver Zhang, Michael Chen, and the Apart Discord for valuable comments and discussion.

Appendix

P(doom) data

P(doom) is an often used term for the probability that AGI will be an existential risk for humanity. Here is a short survey of experts’ opinions explicitly represented in public writing. 5 numbers originate from the X-risk estimates database and 8 from the reviewers of Carlsmith’s report. The rest are found from a variety of sources. Also see Rob’s related survey.  Be aware that these are not all recent estimates (thank you to Julia Wise for pointing this out [EA(p) · GW(p)]). All estimates are P(doom|AGI) in some form or another. See all P(doom) estimates with their associated year here.

  1. ^

    This Gaussian distribution is used for illustration purposes only.

  2. ^

    Many AGI P(doom) estimates are already conditional on the fact that AI safety exists but this is most often not explicitly stated in casual writing.

  3. ^

    There was a post concerned about the empiricism and estimates in AI safety from both a quantitative and emotional perspective in relation to broader EA but we were not able to find it.

  4. ^

    TruthfulQA is a part of BIG-bench and so will have been tested a lot but papers do not seem to have reported the results.

7 comments

Comments sorted by top scores.

comment by Daniel Kokotajlo (daniel-kokotajlo) · 2022-09-19T19:42:18.660Z · LW(p) · GW(p)

Not important: FWIW I'm up to more like 80% now.

comment by Steven Byrnes (steve2152) · 2022-09-19T22:26:30.513Z · LW(p) · GW(p)

The comment of mine that you linked to [LW(p) · GW(p)] was claiming more than 50% chance (perhaps much more) that any one particular debate training run (perhaps different runs would differ) would yield an AGI that wanted doom (but perhaps would not successfully get it), conditional on model-based RL AGI trained by debate. So that's different from what you wrote along multiple dimensions.

All-things-considered P(doom) isn't something I've thought about enough to have a strong opinion on. I guess if I had to pick a number it would be 90%, but a lot of that is flowing through things that I'm not super well informed on. (E.g. offense-defense balance.)

Replies from: esben-kran
comment by Esben Kran (esben-kran) · 2022-09-20T08:41:24.820Z · LW(p) · GW(p)

Nice, it's updated in the post now. The 50% was used as a lower bound but I see the discrepancy in representation.

comment by Rohin Shah (rohinmshah) · 2022-09-30T06:44:25.915Z · LW(p) · GW(p)

P(doom|AGI by debate) = 30% [LW(p) · GW(p)]

This is pretty misleading, that 30% was way more specific than "AI from debate" and really depended on the specific conditional. (Also right now I'm feeling like it should be higher, maybe 50%.) I had told a very specific story for some code you could write and then was talking about doom from that particular approach. In particular, the scenario ignores two major sources of optimism:

  1. As your model gets more capable, you can notice problems that your alignment scheme (debate in this case) failed to prevent, and fix them
  2. You can do better by having the debaters look at each other's activations, or use cross-examination, or provide mechanistic interpretability tools to help the judge, or training the judges, etc (in the story I was putting a probability on, there is just one neural net that produces text that is interpreted as two sides of a conversation)

If you instead ask me to condition on building AGI with debate, I think "oh good, that means we didn't fail to use alignment techniques entirely" and "oh no, that suggests we couldn't find anything better to do, probably because timelines were short", and then my number might be something like 10%.

EDIT: Also relevant is that all of these numbers are misalignment risk only rather than an unconditional doom estimate.

Replies from: esben-kran
comment by Esben Kran (esben-kran) · 2022-10-05T07:17:38.706Z · LW(p) · GW(p)

Thank you for pointing this out, Rohin, that's my mistake. I'll update the post and P(doom) table and add an addendum that it's misalignment risk estimates.

comment by Jacob Pfau (jacob-pfau) · 2022-09-19T21:02:41.891Z · LW(p) · GW(p)

Seems to me safety timeline estimation should be grounded by a cross-disciplinary, research timeline prior. Such a prior would be determined by identifying a class of research proposals similar to AI alignment in terms of how applied/conceptual/mathematical/funded/etc. they are and then collecting data on how long they took. 

I'm not familiar with meta-science work, but this would probably involve doing something like finding an NSF (or DARPA) grant category where grants were made public historically and then tracking down what became of those lines of research. Grant-based timelines are likely more analogous to individual sub-questions of AI alignment than the field as a whole; e.g. the prospects for a DARPA project might be comparable to the prospects for working out the details of debate. Converting such data into a safety timelines prior would probably involve estimating how correlated progress is on grants within subfields.

Curating such data, and constructing such a prior would be useful both in terms of informing the above estimates, but also for identifying factors of variation which might be intervened on--e.g. how many research teams should be funded to work on the same project in theoretical areas? This timelines prior problem seems like a good fit for a prize, where entries would look like recent progress studies reports (c.f. here and here).

Replies from: esben-kran
comment by Esben Kran (esben-kran) · 2022-09-20T08:37:19.578Z · LW(p) · GW(p)

Very good suggestions. Funnily enough, our next report post will be very much along these lines (among other things). We're also looking at inception-to-solution time for mathematics problems and for correlates of progress in other fields, e.g. solar cell efficiency <> amount of papers in photovoltaics research. 

We'd also love to curate this data as you mention and make sure that everyone has easy access to priors that can help in deciding AI safety questions about research agenda, grant applications, and career path trajectory.

Cross-posted on EAF