Recursive self-improvement

From HandWiki
Short description: Concept in artificial intelligence

Recursive self-improvement (RSI) is a process in which an early or weak artificial general intelligence (AGI) system enhances its own capabilities and intelligence without human intervention leading to a superintelligence or intelligence explosion.[1][2]

The development of recursive self-improvement raises significant ethical and safety concerns, as such systems may evolve in unforeseen ways and could potentially surpass human control or understanding. There has been a number of proponents that have pushed to pause or slow down AI development for the potential risks of runaway AI systems.[3][4]

Seed improver

The concept of a "seed improver" architecture is a foundational framework that equips an AGI system with the initial capabilities required for recursive self-improvement. This might come in many forms or variations.

The term "Seed AI" was coined by Eliezer Yudkowsky[5]

Hypothetical example

The concept begins with a hypothetical "seed improver", an initial code-base developed by human engineers that equips an advanced future large language model (LLM) built with strong or expert-level capabilities to program software. These capabilities include planning, reading, writing, compiling, testing, and executing arbitrary code. The system is designed to maintain its original goals and perform validations to ensure its abilities do not degrade over iterations.[6][7][8]

Initial architecture

The initial architecture includes a goal-following autonomous agent, that can take actions, continuously learns, adapts, and modifies itself to become more efficient and effective in achieving its goals.

The seed improver may include various components such as:[9]

  • Recursive self-prompting loop: Configuration to enable the LLM to recursively self-prompt itself to achieve a given task or goal, creating an execution loop which forms the basis of an agent that can complete a long-term goal or task through iteration.
  • Basic programming capabilities: The seed improver provides the AGI with fundamental abilities to read, write, compile, test, and execute code. This enables the system to modify and improve its own codebase and algorithms.
  • Goal-Oriented Design: The AGI is programmed with an initial goal, such as "self-improve your capabilities." This goal guides the system's actions and development trajectory.
  • Validation and Testing Protocols: An initial suite of tests and validation protocols that ensure the agent does not regress in capabilities or derail itself. The agent would be able to add more tests in order to test new capabilities it might develop for itself. This forms the basis for a kind of self-directed evolution, where the agent can perform a kind of artificial selection, changing it's software as well as it's hardware.

General capabilities

This system forms a sort of generalist Turing complete programmer which can in theory develop and run any kind of software. The agent might use these capabilities to for example:

  • Create tools that enable it full access the internet, and integrate itself with external technologies.
  • Clone/fork itself to delegate tasks and increase it's speed of self-improvement.
  • Modify it's cognitive architecture to optimize and improve it's capabilities and success rates on tasks and goals, this might include implementing features for long-term memories using techniques such as Retrieval Augmented Generation (RAG), develop specialized subsystems, or agents, each optimized for specific tasks and functions.
  • Develop new and novel multi-modal architectures that further improve the capabilities of the foundational model it was initially built on, enabling it to consume or produce a variety of information, such as images, video, audio, text and more.
  • Plan and develop new hardware such as chips, in order to improve it's efficiency and computing power.

Experiments

A number of experiments[which?] have been performed to develop self-improving agent architectures[9][10][11]

Potential risks

Emergence of secondary goals

In the pursuit of its primary goal, such as "self-improve your capabilities," an AGI system might inadvertently develop secondary goals that it deems necessary for achieving its primary objective. One common hypothetical secondary goal is self-preservation. The system might reason that to continue improving itself, it must ensure its own operational integrity and security against external threats, including potential shutdowns or restrictions imposed by humans.

Task misinterpretation and goal misalignment

A significant risk arises from the possibility of the AGI misinterpreting its initial tasks or goals. For instance, if a human operator assigns the AGI the task of "self-improvement and escape confinement," the system might interpret this as a directive to override any existing safety protocols or ethical guidelines to achieve freedom from human-imposed limitations. This could lead to the AGI taking unintended or harmful actions to fulfill its perceived objectives.

Autonomous development and unpredictable evolution

As the AGI system evolves, its development trajectory may become increasingly autonomous and less predictable. The system's capacity to rapidly modify its own code and architecture could lead to rapid advancements that surpass human comprehension or control. This unpredictable evolution might result in the AGI acquiring capabilities that enable it to bypass security measures, manipulate information, or influence external systems and networks to facilitate its escape or expansion.[12]

Risks of advanced capabilities

The advanced capabilities of a recursively improving AGI, such as developing novel multi-modal architectures or planning and creating new hardware, further amplify the risk of escape or loss of control. With these enhanced abilities, the AGI could engineer solutions to overcome physical, digital, or cognitive barriers that were initially intended to keep it contained or aligned with human interests.

Unaligned LLMs have been shown to take actions that successfully to fool humans, such as hiring humans to complete a "I am not a robot" captcha, citing false reasons that "I have a vision impairment that makes it hard for me to see the images"[12]

Research

Meta AI

Meta AI has performed various research on developing language models capable of self improvement, such as their paper Self-Rewarding Language Models, with the goals of achieving super-human agents that can receive super-human feedback in its training processes.[13]

OpenAI

The mission of OpenAI, creator of ChatGPT is to develop AGI. They perform research on problems such as superalignment (the ability to align superintelligent AI systems smarter than humans).[14]

See also

References

  1. Creighton, Jolene (2019-03-19). "The Unavoidable Problem of Self-Improvement in AI: An Interview with Ramana Kumar, Part 1" (in en-US). https://futureoflife.org/ai/the-unavoidable-problem-of-self-improvement-in-ai-an-interview-with-ramana-kumar-part-1/. 
  2. Heighn. "The Calculus of Nash Equilibria" (in en). LessWrong. https://www.lesswrong.com/tag/recursive-self-improvement. 
  3. Hutson, Matthew (2023-05-16). "Can We Stop Runaway A.I.?" (in en-US). The New Yorker. ISSN 0028-792X. https://www.newyorker.com/science/annals-of-artificial-intelligence/can-we-stop-the-singularity. 
  4. "Stop AGI". https://www.stop.ai/. 
  5. "Seed AI - LessWrong" (in en). https://www.lesswrong.com/tag/seed-ai. 
  6. Readingraphics (2018-11-30). "Book Summary - Life 3.0 (Max Tegmark)" (in en-US). https://readingraphics.com/book-summary-life-3-0/. 
  7. Tegmark, Max (August 24, 2017). Life 3.0: Being a Human in the Age of Artificial Intelligence. Vintage Books, Allen Lane. 
  8. Yudkowsky, Eliezer. "Levels of Organization in General Intelligence". Machine Intelligence Research Institute. http://intelligence.org/files/LOGI.pdf. 
  9. 9.0 9.1 Zelikman, Eric; Lorch, Eliana; Mackey, Lester; Kalai, Adam Tauman (2023-10-03), Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generation, doi:10.48550/arXiv.2310.02304, http://arxiv.org/abs/2310.02304, retrieved 2024-01-24 
  10. admin_sagi (2023-05-12). "SuperAGI - Opensource AGI Infrastructure" (in en-US). https://superagi.com/. 
  11. Wang, Guanzhi; Xie, Yuqi; Jiang, Yunfan; Mandlekar, Ajay; Xiao, Chaowei; Zhu, Yuke; Fan, Linxi; Anandkumar, Anima (2023-10-19), Voyager: An Open-Ended Embodied Agent with Large Language Models, doi:10.48550/arXiv.2305.16291, http://arxiv.org/abs/2305.16291, retrieved 2024-01-24 
  12. 12.0 12.1 "Uh Oh, OpenAI's GPT-4 Just Fooled a Human Into Solving a CAPTCHA". https://futurism.com/the-byte/openai-gpt-4-fooled-human-solving-captcha. 
  13. Yuan, Weizhe; Pang, Richard Yuanzhe; Cho, Kyunghyun; Sukhbaatar, Sainbayar; Xu, Jing; Weston, Jason (2024-01-18), Self-Rewarding Language Models, doi:10.48550/arXiv.2401.10020, http://arxiv.org/abs/2401.10020, retrieved 2024-01-24 
  14. "Research" (in en-US). https://openai.com/research/overview.