# Poster 28974

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28974

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello everyone, this is Qisan and I'm a doctor student at Science Tokyo. I'm also doing internship at Sakana AI. Today I'm very happy to share with you our latest work named Transformer Square and in this work we are focusing on how we can make the AI system better adapt at a specific task without extensive retraining. The core motivation behind this research drawn inspiration from nature.
Just as nature systems like army ants can collectively adapt to their environment forming bridge when needed, we aim to make the AI model similarly adaptable. Well, why the self-adaptation is important? There are two key reasons. First, we believe it allows the model to align up specific tasks.
Like we need to quickly prepare for different examination in the university. Second, it enables better skill integration, similar to how the system like MOE works, where different specialized components contribute to solve the same problem. And then here is the overlook of our self-adaptation system. As you can see, during the inference, it first employs a two-path mechanism.
Well, first a digital assistant identify the task properties, and then the task specific expert will be loaded, trained via the reinforcement learning and dynamically mixed to obtain the target behavior for incoming prompt. Well, in order to learn these adaptable memories, we propose a singular value fine tuning or SVF.
In the traditional fine tuning we often adjust most of most of the model weights which is very computationally extensive. Instead transformer square focus on tuning just the singular value of the weight matrix essentially adjust the different capacities within the model and this approach offers three significant advantage while it first requires negligible parameters it's like 10 times fewer than the popular Laura setting.
Second is provide a very strong regulation to focus on high-level representations, and finally it can enable a very high compositionalities between the different scales.
To train this adaptive capacity, we used the reforced learning with a simple reinforced algorithm to directly optimize the task performance and this can avoid the complex hand-designed solution and it works particularly well on task with clear reward signal just like the DeepSeek R1 did in their work. And what's more, we propose three strategies for adaptation. First is the prompt-based adaptation.
classification expert based also the few shot adaptation well in this case you can tell we just we use carefully engineering the prompt to help model classify and the response to different task type on the figure in the right you can see in our selected task it's very easy to distinguish their task type
And second, we also train specialized components to better identify the task category and trigger appropriate response. We collect samples from three tasks, and then we use a similar algorithm to train such expert. Finally,
In the few-shot learning, normally people do few-shot, people put the context, people put the question answer into the context. On the contrast, we use this example to learn, to use CEM to learn the optimal combination of this expert to better answer the target question.
In our experiment shows a promising result across multiple benchmark. The masked GSN-AK, code MBPPP, and general reasoning in the ARS challenge. On the right figure we also surprised by this generalized ability on a visual language task. On the unseen task the improvement is more significant and we also learned that as the adaptation strategy becomes more complex the result become better.
We also make analysis of the weight contributions on the Cn method. We learned the most expert vector from the similar training task contribute heavily to the corresponding unseen task. And we also notice that surprisingly some of the learned Z vectors actually can be transferred between this LAMA model and the MISTRAL model.
And to conclude, the truss-former square represents a very exciting direction in AI research, showing that with minimal parameter adjustment we can create more flexible and adaptive language models.
