arXiv:2610.05318cs.LGOct 2026

Manuscript Offprint

arXiv:2610.05318

Robust Parameter-Efficient LLM Adaptation on Analog Hardware

Jindan Li, Zhaoxian Wu, Tianyi Chen

Abstract

Analog in-memory computing is a promising platform for on-device execution of large language models because it performs matrix–vector multiplications (MVMs) in memory and in parallel, reducing data movement. However, limited digital-to-analog converter precision, input noise, and finite conductance states can degrade model accuracy, while full-model retraining to address these effects can be costly. We develop an optimizer-agnostic, parameter-efficient adaptation method based on Low-Rank Adaptation (LoRA), keeping the pretrained weights stored on analog arrays fixed while training the LoRA weights to adapt to downstream tasks and hardware non-idealities. Reliable adaptation requires handling errors in both forward and backward MVMs and physical weight updates. We use input reshaping to reduce input-induced MVM errors and update accumulation to retain small updates before programming them to finite-state analog devices. Across Llama-3.2-1B-Instruct and Llama-3-8B with both Muon and AdamW, input reshaping improves analog LoRA fine-tuning under noisy MVM computation. Update accumulation separately preserves sub-threshold updates and substantially improves adaptation under finite-resolution programming, including configurations with as few as 20 conductance states. Additional experiments show consistent held-out negative log-likelihood improvements across noisy analog settings.

1 Introduction

Large language models (LLMs) rely heavily on matrix–vector multiplications (MVMs) in their linear layers [1, 2]. Analog in-memory computing (AIMC) [3, 4] is an attractive hardware platform for these operations because weights can be stored directly in memory and MVMs can be performed in place and in parallel [5–7]. This reduces data movement and can improve energy efficiency and latency [8, 7, 9], making AIMC a promising candidate for on-device intelligence.

However, deploying pretrained LLMs on analog hardware can degrade model accuracy because limited digital-to-analog converter (DAC) precision, input noise, and finite conductance states introduce errors into the model's computation. Hardware-aware retraining can mitigate this degradation by accounting for analog non-idealities during training [9–11]. However, retraining the full model requires gradients and optimizer states for all trainable weights, as well as computation to update those weights. Repeating this process for downstream tasks can therefore incur substantial training-memory and computation costs. These costs motivate parameter-efficient fine-tuning (PEFT) for on-device analog adaptation [12]. We consider Low-Rank Adaptation (LoRA) [13, 14] to adapt the model to downstream tasks and compensate for hardware-induced degradation while keeping the pretrained weights fixed. In our setting, the deployed pretrained weights and the corresponding LoRA weights are executed on analog arrays, with digital support for input reshaping and update accumulation.

Reducing the number of trainable weights does not remove the errors introduced by analog computation and programming. Limited DAC precision and input noise perturb the forward and backward

NeurIPS 2026 Workshop on On-Device Intelligence: Foundation Models under Real-World Constraints.

Figure

Figure 1: Overview of analog LoRA fine-tuning. Pre-fine-tuning calibration provides channel statistics for input reshaping. For the frozen base path, function-preserving base-path rescaling reduces the input range. For the trainable LoRA path, outlier-channel splitting routes persistent outlier channels through the protected analog path and keeps the remaining channels on the noisy analog path. During weight programming, digital mini-batch aggregation combines sample gradients, and the update accumulator stores sub-threshold updates until they can be converted into programming pulses. Blue and green denote analog and digital computation, respectively.

MVMs used to compute LoRA gradients. Finite conductance states and non-ideal programming also limit how accurately the resulting updates can be written to the LoRA weights [5, 15, 10]. Our input reshaping treats the fixed pretrained weights and trainable LoRA weights differently. For the pretrained weights, function-preserving base-path rescaling jointly rescales the weights and their inputs to reduce the input range without changing the ideal computation [16]. For the LoRA weights, we route persistent input-outlier channels through a protected perfect-I/O analog path, so that their large values no longer set the quantization scale for the remaining analog inputs. For weight programming, we use mixed-precision update stabilization: digital mini-batch aggregation combines gradients before the optimizer step, and update accumulation retains updates smaller than a conductance step until they can be programmed [7]. Figure 1 summarizes the method.

Our contributions are threefold. First, we develop a lightweight adaptation method for LLMs on analog hardware, motivated by the needs of on-device intelligence. The method keeps pretrained weights fixed and trains only a small set of LoRA weights to address hardware-induced degradation. Second, we address noisy MVM computation through input reshaping and limited weight-update resolution through mixed-precision update stabilization using digital mini-batch aggregation and update accumulation. Third, we evaluate the optimizer-agnostic design in simulation on Llama-3.2-1B-Instruct and Llama-3-8B using Muon [17, 18] and AdamW [19]. Input reshaping remains effective with both optimizers under noisy MVM computation, while its gains largely disappear when MVM input perturbations are removed. Update accumulation separately improves adaptation under finite-resolution weight programming. Additional model and task results show consistent held-out negative log-likelihood improvements under noisy analog settings.

References (42)