Sakana.ai Introduces Transformer2, a Self-Adaptive AI

3 months ago 21
  • Published on January 17, 2025
  • In AI News

The researchers explain that Transformer2 can adapt like a living brain.

Sakana.ai, a Tokyo-based AI and R&D startup, just released a self-adaptive AI system called Transformer2. The company proposed this as an ML system that dynamically adjusts its weights for various tasks.

Sharing a video on X, the company announced on Wednesday, saying, “Adaptation is a remarkable natural phenomenon, like how the octopus can blend in with its environment or how the brain rewires itself after injury.”

We’re excited to introduce Transformer², a machine learning system that dynamically adjusts its weights for various tasks!https://t.co/ci028qPUWt

Adaptation is a remarkable natural phenomenon, like how the octopus can blend in with its environment, or how the brain rewires… pic.twitter.com/GLODSaZnu4

— Sakana AI (@SakanaAILabs) January 15, 2025

This system, introduced in a research paper ‘Transformer2: Self-adaptive LLMs’, offers a dynamic approach to task handling, setting it apart from traditional, static AI models.

Transformer² utilises a two-step process to adapt its weight matrices in real time, tailoring its operations for specific tasks such as mathematics, coding, reasoning, and visual understanding. 

“This model analyses incoming tasks, adjusts its weights, and delivers optimal results through task-specific adaptations,” the researchers said

Check out the GitHub repository here: https://github.com/SakanaAI/self-adaptive-llms

The Brain of LLMs

The system uses a mathematical technique called Singular Value Decomposition (SVD) to understand which parts of the AI are important for different tasks. 

Left: LLM’s “brain” (i.e., weight matrices) into several independent components using SVD. | Right: Using RL to train the combination of these components for various tasks. 

It then uses a method combining SVD fine-tuning with reinforcement learning (RL) to create instructions for adjusting the model’s behaviour, represented as compact ‘z-vectors’.

During inference, the tool employs three strategies—prompt-based, classifier-based, and few-shot adaptation—to detect task types and adjust accordingly. 

The researchers noted, “This approach ensures robust and efficient adaptation, outperforming static systems like LoRA across a range of scenarios.”

Superior Performance

Tests on tasks across both the Llama and Mistral LLMs, including GSM8K (math), HumanEval (coding), and TextVQA (visual understanding), revealed superior performance, with significant gains in adaptability and efficiency.

One surprising discovery was that when solving complex math problems, Transformer2 combines different types of reasoning—not just mathematical but also programming and logical thinking—similar to how humans approach complex problems.

In an unexpected breakthrough, the researchers found that knowledge gained by one AI model could be transferred to another. 

When they moved the learning patterns from one model (Llama) to another (Mistral), the second model showed improved performance on most tasks. However, the researchers note that this worked because both systems had similar underlying structures.

Left: Self-adaptation on unseen tasks. | Right: Learned z-vectors interpolation weights.

“This marks a significant step toward creating ‘living intelligence’ in AI systems,” the research team explained. They envision future AI systems that can continuously learn and adapt like living beings rather than remaining fixed after their initial training.

They concluded, “This marks a shift from static AI to dynamic models capable of lifelong learning and adaptation, redefining how we interact with intelligent systems.”

Picture of Sanjana Gupta

Sanjana Gupta

An information designer who loves to learn about and try new developments in the field of tech and AI. She likes to spend her spare time reading and exploring absurdism in literature.

Association of Data Scientists

GenAI Corporate Training Programs

India's Biggest Developers Summit

February 5 – 7, 2025 | Nimhans Convention Center, Bangalore

Download the easiest way to
stay informed

Subscribe to The Belamy: Our Weekly Newsletter

Biggest AI stories, delivered to your inbox every week.

February 5 – 7, 2025 | Nimhans Convention Center, Bangalore

Rising 2025 | DE&I in Tech & AI

Mar 20 and 21, 2025 | 📍 J N Tata Auditorium, Bengaluru

Data Engineering Summit 2025

15-16 May, 2025 | 📍 Taj Yeshwantpur, Bengaluru, India

AI Startups Conference.
April 25 / Hotel Radisson Blu / Bangalore, India

17-19 September, 2025 | 📍KTPO, Whitefield, Bangalore, India

MachineCon GCC Summit 2025

19-20th June 2025 | Bangalore

discord icon

Our Discord Community for AI Ecosystem.

Read Entire Article