RoSA: Rotational Sparse Adaptation for Memory-Efficient Fine-Tuning
Muhammad Azeem Lodhi, chao zhou, Rebekka Burkholz
NeurIPS page · Open on the map
Category: Interpretability & Model Adaptation › Mixture-of-Experts Optimization · Type: new method · Keywords: memory-efficient fine-tuning, layer-wise freezing, trainable block rotation, optimizer-state reduction, parameter-efficient adaptation
Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Mixture Architectures
Summary
RoSA is a memory-efficient fine-tuning method that rotates a trainable block over layers, freezing lower layers to reduce optimizer-state memory and speed up training.
Explained to a 5-year-old
We have a big computer brain that we want to teach new tricks. Usually we change many parts of the brain, which uses a lot of memory. This new idea only changes a small part at a time and moves that part around, so it uses less memory and is faster. It still learns the new tricks well. It can be used with other ways of changing the brain, which helps when you have a small computer.
Explained to a 5-year-old, longer
A big computer brain, like a very smart robot, can learn new things by changing its inside parts. Changing many parts at once needs a lot of memory, like a big backpack. The new idea only changes a few parts at a time, so the backpack is lighter. It moves the small group of parts around to different layers of the brain, one after another. This way, more layers near the start stay frozen, which saves even more memory. Because fewer parts are active, the training goes faster and uses less computer power. The brain can still learn the new tricks as well as before. This method works with other tricks that also change only a few parts. It can be used for many different kinds of tasks, like understanding language or solving math problems. It helps when you have a computer with limited memory, like a laptop or a small robot. By reducing memory use, more people can run big models on everyday devices. Overall, it makes teaching computers smarter easier and cheaper.
For a technical reader
RoSA introduces a layer-wise training scheme where lower layers are frozen and a trainable block is rotated over higher layers during fine-tuning. This reduces the optimizer’s state memory because fewer parameters are updated at any time, and it also shortens backpropagation and can cache activations for faster forward passes. The approach is orthogonal to existing parameter-efficient techniques, so it can be combined with methods like LoRA or adapters inside the active block. Experiments across several large language models and downstream tasks show that RoSA maintains performance while cutting peak memory usage. This makes it practical to fine-tune large models on hardware with limited memory, such as single GPUs or edge devices.
Problem
Adapting large foundation models to new tasks is computationally expensive, requiring large memory for optimizer states and long training times. Efficient fine-tuning methods aim to reduce this cost while preserving performance.
Method
The approach freezes lower layers near the input and iteratively rotates a trainable block over subsequent layers, increasing frozen layers over time. This reduces optimizer-state memory, shortens backpropagation, and can cache activations to speed up forward passes. It can be combined with any parameter-efficient technique used within the active block.
Results
The approach reduces peak memory usage while preserving fine-tuning performance across various language model tasks.
Contributions
A layer-wise freezing and rotating scheme that lowers optimizer-state memory and speeds up training, and a demonstration that it works with existing parameter-efficient fine-tuning methods.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction