zFLoRA: Zero-Latency Fused Low-Rank Adapters
Dhananjaya Gowda, Seoha Song, Harshith Goka, Junhyun Lee
TL;DR
The paper tackles the latency overhead of adapter-based PEFT methods in LLM inference by introducing zFLoRA, a zero-latency fused low-rank adapter that merges adapter computations with base model projections. It designs a fusion strategy that expands input from $d$ to $d+r$ once and merges back to $d$ only at the LM head, enabling cross-block fusion across MHA and FFN while avoiding per-layer input-expansion and output-merge costs. Empirically, zFLoRA matches the performance of LoRA and full fine-tuning (FFT) across 18 tasks on 1B, 3B, and 7B LLaMA models, while delivering negligible latency on both GPU (NVIDIA H100, via vLLM) and mobile NPU (Galaxy S25+), underscoring its practicality for on-device and edge deployments. The results indicate that zFLoRA provides a practical path to fast, task-specific fine-tuning with minimal compute overhead, enabling broader deployment of adaptable LLMs in latency-constrained environments.
Abstract
Large language models (LLMs) are increasingly deployed with task-specific adapters catering to multiple downstream applications. In such a scenario, the additional compute associated with these apparently insignificant number of adapter parameters (typically less than 1% of the base model) turns out to be disproportionately significant during inference time (upto 2.5x times that of the base model). In this paper, we propose a new zero-latency fused low-rank adapter (zFLoRA) that introduces zero or negligible latency overhead on top of the base model. Experimental results on LLMs of size 1B, 3B and 7B show that zFLoRA compares favorably against the popular supervised fine-tuning benchmarks including low-rank adapters (LoRA) as well as full fine-tuning (FFT). Experiments are conducted on 18 different tasks across three different categories namely commonsense reasoning, math reasoning and summary-dialogue. Latency measurements made on NPU (Samsung Galaxy S25+) as well as GPU (NVIDIA H100) platforms show that the proposed zFLoRA adapters introduce zero to negligible latency overhead.
