# To adapt an AI model to a small device, keep its training notes concise

> Source: <https://www.csail.mit.edu/news/adapt-ai-model-small-device-keep-its-training-notes-concise>
> Published: 2026-11-27 11:42:22+00:00

**Recommendation:** When fine-tuning LLMs on memory-constrained edge devices, pool intermediate activations into a low-rank subspace instead of storing every calculation; LARS saved 9% more memory than LoRA at 128K context on an 8 GB Raspberry Pi 5.
More in the playbook "Inference and self-hosting": <https://wpnews.pro/playbooks/inference-serving>

Imagine trying to run AI models directly on a device with very limited computing power, like a smartphone or health wearable. It needs to respond in real time, so instead of training it in the cloud, you have to do that on-device, where it eats up a lot of gigabytes (GBs). The likely result is an out-of-memory error.

To make training more efficient, engineers have often used a technique called “Parameter-Efficient Fine-Tuning” (PEFT). It tweaks only a fraction of a model’s parameters — the values that capture patterns learned when taking in data — under the assumption that fewer updates mean less memory usage. But that’s not exactly the case, according to new research from MIT’s Computer Science and Artificial Intelligence Laboratory (CSAIL) and Harvard University.

The issue, they argue, is that the models write out all their mental notes during training. As an LLM is learning from different data, it uses something called “intermediate activation storage” to essentially describe its extensive calculations in a hidden place. During these moments, memory usage peaks sharply, so CSAIL engineers developed the “Low-memory Activation Rank Subspace” (LARS) method, which pools those details into something more concise, instead of stashing every calculation. The approach reduces LLMs’ memory footprint by over 23% on GPUs and about 47% on CPUs compared to top PEFT techniques.

“Imagine you’re attending a lecture,” says Irene Tenison, MIT electrical engineering and computer science (EECS) PhD student and CSAIL researcher. “And instead of summarizing what you’ve learned by transcribing it all, you recap it in a couple of sentences. That’s basically what LARS is doing to help us run AI on tiny devices. After all, models are fine-tuning their parameters more efficiently, but the hardware they rely on has memory limits, which we don’t upgrade as often.”

Tenison adds that LARS could be helpful when you want an on-device LLM to analyze long contexts. For example, if you’re wearing a fitness watch, you may want it to analyze your heart rate over the span of a few minutes. On a tiny device, this is challenging because of memory limits, but CSAIL’s approach could make that kind of intelligence possible directly on your hardware.

LARS might also be useful in tracking different units in a factory in real time, one day. That way, AI models can oversee workflows without relying on the cloud to process all their data. Likewise, this more efficient training approach could potentially help a robot process its surroundings locally.

**Memory (and energy) saved**

To better understand how much memory LARS saves, Tenison and her colleagues tried their method on Raspberry Pi 5, a small edge computing device with an 8 GB limit. They used LARS and top PEFT approach, [“LoRA,”](https://arxiv.org/abs/2106.09685) to adjust an LLM’s parameters (also called fine-tuning), where their approach saved 9% more memory at a 128,000 context length. Notably, savings increased with context length.

When the team asked LLMs to answer more detailed questions on chips with more memory available, the researchers noticed a subtle tradeoff. LARS saved significantly more GBs than all baselines, but was slightly less accurate than LoRA. Fittingly, MIT CSAIL’s approach saved the most GBs and performed the most competitively on long-context prompts, where it had to summarize detailed information. Across all questions, LARS saved about 10 GB more than its leading baseline on high-performance NVIDIA GPUs, and on less powerful AMD CPUs, it saved twice as much memory.

But LARS’ memory efficiency also has a downstream effect on energy consumption, as Tenison and her coauthors later found out. They tasked an LLM with short, intermediate, and long prompts on a CPU and observed that their method used roughly 22% less power and energy than comparable baselines.“The data we’ve collected so far shows LARS may be a more sustainable LLM fine-tuning approach,” says Tenison.

**Shrinking the memory footprint even further**

To maximize memory savings, MIT CSAIL’s method can be combined with approaches that address other parts of the training process, or the ways it completes prompts.

For instance, tools that optimize attention mechanisms (basically which parts of a prompt a model focuses on or how the prompts are processed within the kernels), or freeze certain layers processing the data, or partly or fully quantize a model, are compatible with LARS. This is because other tools don’t address models’ intermediate, hidden calculations.

“These approaches are actually complementary,” says Tenison. “We think that if you use them in tandem, you’ll save even more energy.”

The project was introduced in a [paper](https://arxiv.org/abs/2604.22783) that was presented at the Asia-Pacific Chapter of the Association for Computational Linguistics (AACL) in November. Tenison authored it with several MIT CSAIL colleagues: Stella Ahn ‘25, SM ‘26; visiting researcher and Harvard student Miriam Kim; Broad Institute of MIT and Harvard researcher Ebtisam Alshehri; and senior author Lalana Kagal, who is a Principal Research Scientist at the lab.
