arXiv:2610.08669cs.LGOct 2026

Manuscript Offprint

arXiv:2610.08669

MemFLoRA: Memory-Floor LoRA for CNN Adaptation at the Edge

Mehmet Emre Akbulut, Johannes Geier, Ulf Schlichtmann

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

On-device learning is necessary when the model encounters user-, sensor-, or environment-specific shifts after deployment. Although parameter-efficient fine-tuning (PEFT) methods, particularly Low-Rank Adaptation (LoRA) variants, enable efficient adaptation at the edge, the limiting resource for Convolutional Neural Network (CNN) adaptation is often not the number of trainable parameters but the activation state that must be retained until the backward pass. This paper introduces Memory-Floor LoRA (MemFLoRA), a low-rank CNN adapter built around a memory-first design principle rather than a direct application of transformer-oriented LoRA. Instead of merely reducing trainable weights, we define an activation-memory-floor criterion: trainable backward computations must not depend on full-width layer inputs. The resulting adapter freezes the down-projection, trains a scale-matched up-projection, and combines eval-mode backbone normalization with activation-minimal backward rules, reducing saved state to the low-rank branch.

Evaluated on three Human Activity Recognition (HAR) datasets and two CNN backbones under subject, body-location, and sensor-placement shifts, MemFLoRA reduces saved-activation memory by 98.5-98.7% and peak training-state memory by 94.9-97.3% relative to full fine-tuning, while matching or exceeding CNN PEFT baselines.

CCS Concepts

• Computing methodologies → Neural networks.

Keywords

LoRA, On-Device Learning, Edge AI, CNN

ACM Reference Format:

Mehmet Emre Akbulut, Johannes Geier, and Ulf Schlichtmann. 2027. MemFLoRA: Memory-Floor LoRA for CNN Adaptation at the Edge. In 32nd Asia and South Pacific Design Automation Conference (ASPDAC '27), January 25–28, 2027, Tokyo, Japan. ACM, New York, NY, USA, 8 pages. https://doi.org/10.1145/3840404.3848401

1 Introduction

Artificial Intelligence (AI) at the edge has become increasingly important as intelligent sensing devices become deeply embedded in everyday life. Smartphones, wearables, and Internet of Things (IoT) platforms interact with their environments and generate large amounts of domain-specific data. This trend pushes AI computation

Figure

Figure 1: Brief overview of MemFLoRA computation and saved-state graph, reducing persistent saved state from O(BCℓTℓ)O(BC_{\ell}T_{\ell}) to O(BrTℓ)O(BrT_{\ell}) plus a bit-packed ReLU mask.

closer to the data source, enabling lower latency, reduced communication costs, and improved privacy compared with sending all data to cloud servers [26].

However, a fixed pretrained model may fail to provide robust predictions after deployment. For example, in sensor-based HAR, the target stream can differ from the source data due to subject-dependent motion patterns, sensor-placement deviations, device heterogeneity, and evolving user behavior [16, 21]. These changes can lead to distribution shifts or concept drifts and degrade the out-of-distribution performance of fixed pretrained models. Since the corrective data are generated locally and may be privacy-sensitive, adapting the model on-device is preferable to repeated cloud-side retraining. However, full fine-tuning updates all model parameters and incurs substantial memory, compute, and energy overhead, which can exceed the resources of embedded systems and motivate more selective adaptation strategies.

Since its introduction [9], LoRA has become a widely used adaptation method for Large Language Models (LLMs), but its role in CNNs and extreme-edge learning scenarios remains much less explored. The standard reading of PEFT is that reducing the number of trainable parameters reduces the training-memory footprint. This assumption is often reasonable in LLMs, where optimizer state and trainable weight gradients dominate. However, for edge CNNs, memory is often dominated by the activation tensors that automatic differentiation retains for backward propagation, not by the optimizer state or the trainable parameter set [4].

This mismatch indicates that parameter-efficient methods may still be memory-expensive, motivating MemFLoRA 1^{1}: a LoRA-style CNN adapter with an activation-memory floor. The design rule is

Figure

This work is licensed under a Creative Commons Attribution 4.0 International License. ASPDAC '27, Tokyo, Japan © 2027 Copyright held by the owner/author(s). ACM ISBN 979-8-4007-2923-2/2027/01 https://doi.org/10.1145/3840404.3848401

1^{1}Code is available at https://github.com/mehmetemreakbulut/MemFLoRA.

Mehmet Emre Akbulut, Johannes Geier, and Ulf Schlichtmann

that no trainable backward computation should require the full-width activation tensor. The adapter satisfies this rule through a frozen down-projection, a trainable up-projection scale-matched to the frozen backbone, and eval-mode backbone normalization. This restricts the saved state to the low-rank branch while preserving adaptation capacity. In summary, our main contributions are:

  • By decomposing the saved-tensor cost into three pillars, we define an activation-memory-floor criterion requiring that no persistent full-precision activation tensor used by trainable backward computations scales with layer width, and show that MemFLoRA satisfies it with rank-r saved state. Enforcing this floor reduces saved-activation memory by 98.5-98.7% and total peak training-state memory by 94.9-97.3% relative to full fine-tuning.

  • We introduce a memory-floor CNN adapter that combines a frozen down-projection, a scale-matched trainable up-projection, eval-mode backbone normalization, and activation-minimal backward rules, together with a streaming-gradient (SG) variant that recovers the exact projection gradient without persistently saving the full-width activation.

  • Across three HAR datasets spanning subject, location, and sensor-placement shifts and two CNN backbones, we match or exceed all evaluated rank-dependent PEFT methods in mean Macro-F1 across ranks and backbones.

References (9)