Английская Википедия:AI safety

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:Artificial intelligence

AI safety is an interdisciplinary field concerned with preventing accidents, misuse, or other harmful consequences that could result from artificial intelligence (AI) systems. It encompasses machine ethics and AI alignment, which aim to make AI systems moral and beneficial, and AI safety encompasses technical problems including monitoring systems for risks and making them highly reliable. Beyond AI research, it involves developing norms and policies that promote safety.

Motivations

Файл:Power-Seeking Image.png
Some ways in which an advanced misaligned AI could try to gain more power.[1] Power-seeking behaviors may arise because power is useful to accomplish virtually any objective[2] (see instrumental convergence).

AI researchers have widely differing opinions about the severity and primary sources of risk posed by AI technology[3][4][5] – though surveys suggest that experts take high consequence risks seriously. In two surveys of AI researchers, the median respondent was optimistic about AI overall, but placed a 5% probability on an “extremely bad (e.g. human extinction)” outcome of advanced AI.[3] In a 2022 survey of the Natural language processing (NLP) community, 37% agreed or weakly agreed that it is plausible that AI decisions could lead to a catastrophe that is “at least as bad as an all-out nuclear war.”[6] Scholars discuss current risks from critical systems failures,[7] bias,[8] and AI enabled surveillance;[9] emerging risks from technological unemployment, digital manipulation,[10] and weaponization;[11] and speculative risks from losing control of future artificial general intelligence (AGI) agents.[12]

Some have criticized concerns about AGI, such as Andrew Ng who compared them in 2015 to "worrying about overpopulation on Mars when we have not even set foot on the planet yet."[13] Stuart J. Russell on the other side urges caution, arguing that "it is better to anticipate human ingenuity than to underestimate it."[14]

Background

Risks from AI began to be seriously discussed at the start of the computer age:

Шаблон:Blockquote

From 2008 to 2009, the Association for the Advancement of Artificial Intelligence (AAAI) commissioned a study to explore and address potential long-term societal influences of AI research and development. The panel was generally skeptical of the radical views expressed by science-fiction authors but agreed that "additional research would be valuable on methods for understanding and verifying the range of behaviors of complex computational systems to minimize unexpected outcomes."[15]

In 2011, Roman Yampolskiy introduced the term "AI safety engineering"[16] at the Philosophy and Theory of Artificial Intelligence conference,[17] listing prior failures of AI systems and arguing that "the frequency and seriousness of such events will steadily increase as AIs become more capable."[18]

In 2014, philosopher Nick Bostrom published the book Superintelligence: Paths, Dangers, Strategies. He has the opinion that the rise of AGI has the potential to create various societal issues, ranging from the displacement of the workforce by AI, manipulation of political and military structures, to even the possibility of human extinction.[19] His argument that future advanced systems may pose a threat to human existence prompted Elon Musk, Шаблон:Citation needed Bill Gates,[20] and Stephen Hawking[21] to voice similar concerns.

In 2015, dozens of artificial intelligence experts signed an open letter on artificial intelligence calling for research on the societal impacts of AI and outlining concrete directions.[22] To date, the letter has been signed by over 8000 people including Yann LeCun, Shane Legg, Yoshua Bengio, and Stuart Russell.

In the same year, a group of academics led by professor Stuart Russell founded the Center for Human-Compatible AI at the University of California Berkeley and the Future of Life Institute awarded $6.5 million in grants for research aimed at "ensuring artificial intelligence (AI) remains safe, ethical and beneficial."[23]

In 2016, the White House Office of Science and Technology Policy and Carnegie Mellon University announced The Public Workshop on Safety and Control for Artificial Intelligence,[24] which was one of a sequence of four White House workshops aimed at investigating "the advantages and drawbacks" of AI.[25] In the same year, Concrete Problems in AI Safety – one of the first and most influential technical AI Safety agendas – was published.[26]

In 2017, the Future of Life Institute sponsored the Asilomar Conference on Beneficial AI, where more than 100 thought leaders formulated principles for beneficial AI including "Race Avoidance: Teams developing AI systems should actively cooperate to avoid corner-cutting on safety standards."[27]

In 2018, the DeepMind Safety team outlined AI safety problems in specification, robustness, and assurance.[28] The following year, researchers organized a workshop at ICLR that focused on these problem areas.[29]

In 2021, Unsolved Problems in ML Safety was published, outlining research directions in robustness, monitoring, alignment, and systemic safety.[30]

In 2023, Rishi Sunak said he wants the United Kingdom to be the "geographical home of global AI safety regulation" and to host the first global summit on AI safety.[31]

Research focus

Шаблон:Primary sources AI safety research areas include robustness, monitoring, and alignment.[30][28]

Robustness

Adversarial robustness

AI systems are often vulnerable to adversarial examples or “inputs to machine learning (ML) models that an attacker has intentionally designed to cause the model to make a mistake”.[32] For example, in 2013, Szegedy et al. discovered that adding specific imperceptible perturbations to an image could cause it to be misclassified with high confidence.[33] This continues to be an issue with neural networks, though in recent work the perturbations are generally large enough to be perceptible.[34][35][36]

Файл:Illustration of imperceptible adversarial pertubation.png
Carefully crafted noise can be added to an image to cause it to be misclassified with high confidence.

All of the images on the right are predicted to be an ostrich after the perturbation is applied. (Left) is a correctly predicted sample, (center) perturbation applied magnified by 10x, (right) adversarial example.[33]

Adversarial robustness is often associated with security.[37] Researchers demonstrated that an audio signal could be imperceptibly modified so that speech-to-text systems transcribe it to any message the attacker chooses.[38] Network intrusion[39] and malware[40] detection systems also must be adversarially robust since attackers may design their attacks to fool detectors.

Models that represent objectives (reward models) must also be adversarially robust. For example, a reward model might estimate how helpful a text response is and a language model might be trained to maximize this score.[41] Researchers have shown that if a language model is trained for long enough, it will leverage the vulnerabilities of the reward model to achieve a better score and perform worse on the intended task.[42] This issue can be addressed by improving the adversarial robustness of the reward model.[43] More generally, any AI system used to evaluate another AI system must be adversarially robust. This could include monitoring tools, since they could also potentially be tampered with to produce a higher reward.[44]

Monitoring

Estimating uncertainty

It is often important for human operators to gauge how much they should trust an AI system, especially in high-stakes settings such as medical diagnosis.[45] ML models generally express confidence by outputting probabilities; however, they are often overconfident,[46] especially in situations that differ from those that they were trained to handle.[47] Calibration research aims to make model probabilities correspond as closely as possible to the true proportion that the model is correct.

Similarly, anomaly detection or out-of-distribution (OOD) detection aims to identify when an AI system is in an unusual situation. For example, if a sensor on an autonomous vehicle is malfunctioning, or it encounters challenging terrain, it should alert the driver to take control or pull over.[48] Anomaly detection has been implemented by simply training a classifier to distinguish anomalous and non-anomalous inputs,[49] though a range of additional techniques are in use.[50][51]

Detecting malicious use

Scholars[11] and government agencies have expressed concerns that AI systems could be used to help malicious actors to build weapons,[52] manipulate public opinion,[53][54] or automate cyber attacks.[55] These worries are a practical concern for companies like OpenAI which host powerful AI tools online.[56] In order to prevent misuse, OpenAI has built detection systems that flag or restrict users based on their activity.[57]

Transparency

Neural networks have often been described as black boxes,[58] meaning that it is difficult to understand why they make the decisions they do as a result of the massive number of computations they perform.[59] This makes it challenging to anticipate failures. In 2018, a self-driving car killed a pedestrian after failing to identify them. Due to the black box nature of the AI software, the reason for the failure remains unclear.[60]

One critical benefit of transparency is explainability.[61] It is sometimes a legal requirement to provide an explanation for why a decision was made in order to ensure fairness, for example for automatically filtering job applications or credit score assignment.[61]

Another benefit is to reveal the cause of failures.[58] At the beginning of the 2020 COVID-19 pandemic, researchers used transparency tools to show that medical image classifiers were ‘paying attention’ to irrelevant hospital labels.[62]

Transparency techniques can also be used to correct errors. For example, in the paper “Locating and Editing Factual Associations in GPT,” the authors were able to identify model parameters that influenced how it answered questions about the location of the Eiffel tower. They were then able to ‘edit’ this knowledge to make the model respond to questions as if it believed the tower was in Rome instead of France.[63] Though in this case, the authors induced an error, these methods could potentially be used to efficiently fix them. Model editing techniques also exist in computer vision.[64]

Finally, some have argued that the opaqueness of AI systems is a significant source of risk and better understanding of how they function could prevent high-consequence failures in the future.[65] “Inner” interpretability research aims to make ML models less opaque. One goal of this research is to identify what the internal neuron activations represent.[66][67] For example, researchers identified a neuron in the CLIP artificial intelligence system that responds to images of people in spider man costumes, sketches of spiderman, and the word ‘spider.’[68] It also involves explaining connections between these neurons or ‘circuits’.[69][70] For example, researchers have identified pattern-matching mechanisms in transformer attention that may play a role in how language models learn from their context.[71] “Inner interpretability” has been compared to neuroscience. In both cases, the goal is to understand what is going on in an intricate system, though ML researchers have the benefit of being able to take perfect measurements and perform arbitrary ablations.[72]

Detecting trojans

ML models can potentially contain ‘trojans’ or ‘backdoors’: vulnerabilities that malicious actors maliciously build into an AI system. For example, a trojaned facial recognition system could grant access when a specific piece of jewelry is in view;[30] or a trojaned autonomous vehicle may function normally until a specific trigger is visible.[73] Note that an adversary must have access to the system's training data in order to plant a trojan. This might not be difficult to do with some large models like CLIP or GPT-3 as they are trained on publicly available internet data.[74] Researchers were able to plant a trojan in an image classifier by changing just 300 out of 3 million of the training images.[75] In addition to posing a security risk, researchers have argued that trojans provide a concrete setting for testing and developing better monitoring tools.[44]

Alignment

Шаблон:Excerpt

Systemic safety and sociotechnical factors

Шаблон:Quotebox It is common for AI risks (and technological risks more generally) to be categorized as misuse or accidents.[76] Some scholars have suggested that this framework falls short.[76] For example, the Cuban Missile Crisis was not clearly an accident or a misuse of technology.[76] Policy analysts Zwetsloot and Dafoe wrote, “The misuse and accident perspectives tend to focus only on the last step in a causal chain leading up to a harm: that is, the person who misused the technology, or the system that behaved in unintended ways… Often, though, the relevant causal chain is much longer.” Risks often arise from ‘structural’ or ‘systemic’ factors such as competitive pressures, diffusion of harms, fast-paced development, high levels of uncertainty, and inadequate safety culture.[76] In the broader context of safety engineering, structural factors like ‘organizational safety culture’ play a central role in the popular STAMP risk analysis framework.[77]

Inspired by the structural perspective, some researchers have emphasized the importance of using machine learning to improve sociotechnical safety factors, for example, using ML for cyber defense, improving institutional decision-making, and facilitating cooperation.[30]

Cyber defense

Some scholars are concerned that AI will exacerbate the already imbalanced game between cyber attackers and cyber defenders.[78] This would increase 'first strike' incentives and could lead to more aggressive and destabilizing attacks. In order to mitigate this risk, some have advocated for an increased emphasis on cyber defense. In addition, software security is essential for preventing powerful AI models from being stolen and misused.[11]

Improving institutional decision-making

The advancement of AI in economic and military domains could precipitate unprecedented political challenges.[79] Some scholars have compared AI race dynamics to the cold war, where the careful judgment of a small number of decision-makers often spelled the difference between stability and catastrophe.[80] AI researchers have argued that AI technologies could also be used to assist decision-making.[30] For example, researchers are beginning to develop AI forecasting[81] and advisory systems.[82]

Facilitating cooperation

Many of the largest global threats (nuclear war,[83] climate change,[84] etc.) have been framed as cooperation challenges. As in the well-known prisoner's dilemma scenario, some dynamics may lead to poor results for all players, even when they are optimally acting in their self-interest. For example, no single actor has strong incentives to address climate change even though the consequences may be significant if no one intervenes.[84]

A salient AI cooperation challenge is avoiding a ‘race to the bottom’.[85] In this scenario, countries or companies race to build more capable AI systems and neglect safety, leading to a catastrophic accident that harms everyone involved. Concerns about scenarios like these have inspired both political[86] and technical[87] efforts to facilitate cooperation between humans, and potentially also between AI systems. Most AI research focuses on designing individual agents to serve isolated functions (often in ‘single-player’ games).[88] Scholars have suggested that as AI systems become more autonomous, it may become essential to study and shape the way they interact.[88]

Challenges of Large Language Models

In recent years, the development of large language models (LMs) has raised unique concerns within the field of AI safety. Researchers Bender and Gebru et al.[89] have highlighted the environmental and financial costs associated with training these models, emphasizing that the energy consumption and carbon footprint of training procedures like those for Transformer models can be substantial. Moreover, these models often rely on massive, uncurated Internet-based datasets, which can encode hegemonic and biased viewpoints, further marginalizing underrepresented groups. The large-scale training data, while vast, does not guarantee diversity and often reflects the worldviews of privileged demographics, leading to models that perpetuate existing biases and stereotypes. This situation is exacerbated by the tendency of these models to produce seemingly coherent and fluent text, which can mislead users into attributing meaning and intent where none exists, a phenomenon described as 'stochastic parrots.' These models, therefore, pose risks of amplifying societal biases, spreading misinformation, and being used for malicious purposes, such as generating extremist propaganda or deepfakes. To address these challenges, researchers advocate for more careful planning in dataset creation and system development, emphasizing the need for research projects that contribute positively towards an equitable technological ecosystem.[90][91]

In governance

AI governance is broadly concerned with creating norms, standards, and regulations to guide the use and development of AI systems.[80]

Research

AI safety governance research ranges from foundational investigations into the potential impacts of AI to specific applications. On the foundational side, researchers have argued that AI could transform many aspects of society due to its broad applicability, comparing it to electricity and the steam engine.[92] Some work has focused on anticipating specific risks that may arise from these impacts – for example, risks from mass unemployment,[93] weaponization,[94] disinformation,[95] surveillance,[96] and the concentration of power.[97] Other work explores underlying risk factors such as the difficulty of monitoring the rapidly evolving AI industry,[98] the availability of AI models,[99] and ‘race to the bottom’ dynamics.[85][100] Allan Dafoe, the head of longterm governance and strategy at DeepMind has emphasized the dangers of racing and the potential need for cooperation: “it may be close to a necessary and sufficient condition for AI safety and alignment that there be a high degree of caution prior to deploying advanced powerful systems; however, if actors are competing in a domain with large returns to first-movers or relative advantage, then they will be pressured to choose a sub-optimal level of caution.”.[86] A research stream focuses on developing approaches, frameworks, and methods to assess AI accountability, guiding and promoting audits of AI-based systems.[101][102][103]

Scaling Local AI Safety Measures to Global Solutions

In addressing the AI safety problem it is important to stress the distinction between local and global solutions. Local solutions focus on individual AI systems, ensuring they are safe and beneficial, while global solutions seek to implement safety measures for all AI systems across various jurisdictions. Some researchers[104] argue for the necessity of scaling local safety measures to a global level, proposing a classification for these global solutions. This approach underscores the importance of collaborative efforts in the international governance of AI safety, emphasizing that no single entity can effectively manage the risks associated with AI technologies. This perspective aligns with ongoing efforts in international policy-making and regulatory frameworks, which aim to address the complex challenges posed by advanced AI systems worldwide.[105][106]

Government action

Шаблон:See also Some experts have argued that it is too early to regulate AI, expressing concerns that regulations will hamper innovation and it would be foolish to “rush to regulate in ignorance.”[107][108] Others, such as business magnate Elon Musk, call for pre-emptive action to mitigate catastrophic risks.[109]

Outside of formal legislation, government agencies have put forward ethical and safety recommendations. In March 2021, the US National Security Commission on Artificial Intelligence reported that advances in AI may make it increasingly important to “assure that systems are aligned with goals and values, including safety, robustness and trustworthiness."[110] Subsequently, the National Institute of Standards and Technology drafted a framework for managing AI Risk, which advises that when "catastrophic risks are present – development and deployment should cease in a safe manner until risks can be sufficiently managed."[111]

In September 2021, the People's Republic of China published ethical guidelines for the use of AI in China, emphasizing that AI decisions should remain under human control and calling for accountability mechanisms. In the same month, The United Kingdom published its 10-year National AI Strategy,[112] which states the British government "takes the long-term risk of non-aligned Artificial General Intelligence, and the unforeseeable changes that it would mean for ... the world, seriously."[113] The strategy describes actions to assess long-term AI risks, including catastrophic risks.[113] The British government held first major global summit on AI safety. This took place on the 1st and 2nd of November 2023 and was described as "an opportunity for policymakers and world leaders to consider the immediate and future risks of AI and how these risks can be mitigated via a globally coordinated approach."[114][115]

Government organizations, particularly in the United States, have also encouraged the development of technical AI safety research. The Intelligence Advanced Research Projects Activity initiated the TrojAI project to identify and protect against Trojan attacks on AI systems.[116] The DARPA engages in research on explainable artificial intelligence and improving robustness against adversarial attacks.[117][118] And the National Science Foundation supports the Center for Trustworthy Machine Learning, and is providing millions of dollars in funding for empirical AI safety research.[119]

Corporate self-regulation

AI labs and companies generally abide by safety practices and norms that fall outside of formal legislation.[120] One aim of governance researchers is to shape these norms. Examples of safety recommendations found in the literature include performing third-party auditing,[121] offering bounties for finding failures,[121] sharing AI incidents[121] (an AI incident database was created for this purpose),[122] following guidelines to determine whether to publish research or models,[99] and improving information and cyber security in AI labs.[123]

Companies have also made commitments. Cohere, OpenAI, and AI21 proposed and agreed on “best practices for deploying language models,” focusing on mitigating misuse.[124] To avoid contributing to racing-dynamics, OpenAI has also stated in their charter that “if a value-aligned, safety-conscious project comes close to building AGI before we do, we commit to stop competing with and start assisting this project”[125] Also, industry leaders such as CEO of DeepMind Demis Hassabis, director of Facebook AI Yann LeCun have signed open letters such as the Asilomar Principles[27] and the Autonomous Weapons Open Letter.[126]

See also

References

Шаблон:Reflist

External links

Шаблон:Existential risk from artificial intelligence

  1. Шаблон:Cite arXiv
  2. Шаблон:Cite web
  3. 3,0 3,1 Шаблон:Cite journal
  4. Шаблон:Cite journal
  5. Шаблон:Cite web
  6. Шаблон:Cite journal
  7. Шаблон:Cite thesis
  8. Шаблон:Cite journal
  9. Шаблон:Cite report
  10. Шаблон:Cite journal
  11. 11,0 11,1 11,2 Шаблон:Cite journal
  12. Шаблон:Cite journal
  13. Шаблон:Cite web
  14. Шаблон:Cite web
  15. Шаблон:Cite web
  16. Шаблон:Cite journal
  17. Шаблон:Cite web
  18. Шаблон:Citation
  19. Шаблон:Cite journal
  20. Шаблон:Cite AV media
  21. Шаблон:Cite news
  22. Шаблон:Cite web
  23. Шаблон:Cite web
  24. Шаблон:Cite web
  25. Шаблон:Cite web
  26. Шаблон:Cite journal
  27. 27,0 27,1 Шаблон:Cite web
  28. 28,0 28,1 Шаблон:Cite web
  29. Шаблон:Cite web
  30. 30,0 30,1 30,2 30,3 30,4 Шаблон:Cite journal
  31. Шаблон:Cite web
  32. Шаблон:Cite web
  33. 33,0 33,1 Шаблон:Cite journal
  34. Шаблон:Cite journal
  35. Шаблон:Cite journal
  36. Шаблон:Cite journal
  37. Шаблон:Cite journal
  38. Шаблон:Cite journal
  39. Шаблон:Cite journal
  40. Шаблон:Cite journal
  41. Шаблон:Cite journal
  42. Шаблон:Cite journal
  43. Шаблон:Cite journal
  44. 44,0 44,1 Шаблон:Cite journal
  45. Шаблон:Cite journal
  46. Шаблон:Cite conference
  47. Шаблон:Cite journal
  48. Шаблон:Cite book
  49. Шаблон:Cite journal
  50. Шаблон:Cite journal
  51. Шаблон:Cite journal
  52. Шаблон:Cite journal
  53. Шаблон:Cite journal
  54. Шаблон:Cite web
  55. Шаблон:Cite journal
  56. Шаблон:Cite web
  57. Шаблон:Cite web
  58. 58,0 58,1 Шаблон:Cite journal
  59. Шаблон:Cite journal
  60. Шаблон:Cite web
  61. 61,0 61,1 Шаблон:Cite journal
  62. Шаблон:Cite book
  63. Шаблон:Cite journal
  64. Шаблон:Cite journal
  65. Шаблон:Cite journal
  66. Шаблон:Cite journal
  67. Шаблон:Cite journal
  68. Шаблон:Cite journal
  69. Шаблон:Cite journal
  70. Шаблон:Cite journal
  71. Шаблон:Cite journal
  72. Шаблон:Cite web
  73. Шаблон:Cite journal
  74. Шаблон:Cite journal
  75. Шаблон:Cite journal
  76. 76,0 76,1 76,2 76,3 Шаблон:Cite web
  77. Шаблон:Cite journal
  78. Шаблон:Cite journal
  79. Шаблон:Cite journal
  80. 80,0 80,1 Шаблон:Cite AV media
  81. Шаблон:Cite journal
  82. Шаблон:Cite journal
  83. Шаблон:Citation
  84. 84,0 84,1 Шаблон:Cite web
  85. 85,0 85,1 Шаблон:Cite report
  86. 86,0 86,1 Шаблон:Cite report
  87. Шаблон:Cite journal
  88. 88,0 88,1 Шаблон:Cite journal
  89. Bender, E.M., Gebru, T., McMillan-Major, A., & Shmitchell, S. (2021). On the Dangers of Stochastic Parrots: Can Language Models Be Too Big? 🦜. FAccT '21: Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, 610-623. https://doi.org/10.1145/3442188.3445922.
  90. Strubell, E., Ganesh, A., & McCallum, A. (2019). Energy and Policy Considerations for Deep Learning in NLP. arXiv preprint arXiv:1906.02243.
  91. Schwartz, R., Dodge, J., Smith, N.A., & Etzioni, O. (2020). Green AI. Communications of the ACM, 63(12), 54-63. https://doi.org/10.1145/3442188.3445922.
  92. Шаблон:Cite journal
  93. Шаблон:Cite journal
  94. Шаблон:Cite journal
  95. Шаблон:Cite journal
  96. Шаблон:Cite conference
  97. Шаблон:Cite book
  98. Шаблон:Cite journal
  99. 99,0 99,1 Шаблон:Cite web
  100. Шаблон:Cite journal
  101. Шаблон:Citation
  102. Шаблон:Cite journal
  103. Шаблон:Cite journal
  104. Шаблон:Cite journal
  105. Шаблон:Cite news
  106. Шаблон:Cite news
  107. Шаблон:Cite news
  108. Шаблон:Cite journal
  109. Шаблон:Cite web
  110. Шаблон:Citation
  111. Шаблон:Cite journal
  112. Шаблон:Cite web
  113. 113,0 113,1 Шаблон:Cite web
  114. Шаблон:Cite web
  115. Шаблон:Cite web
  116. Шаблон:Cite web
  117. Шаблон:Cite web
  118. Шаблон:Cite web
  119. Шаблон:Cite web
  120. Шаблон:Cite journal
  121. 121,0 121,1 121,2 Шаблон:Cite journal
  122. Шаблон:Cite web
  123. Шаблон:Cite web
  124. Шаблон:Cite web
  125. Шаблон:Cite web
  126. Шаблон:Cite web