Abstract
Parameter-Efficient Fine-Tuning (PEFT) has become essential for adapting large-scale models to specific tasks. While Low-Rank Adaptation (LoRA) is widely used, its global low-rank assumption can limit expressivity by forcing all regions of a weight matrix into the same low-dimensional subspace. We present Localized LoRA, a framework that partitions weight matrices into a grid of blocks, each equipped with its own independent low-rank adapter. This approach captures localized spatial patterns and off-diagonal interactions more effectively than global or diagonal-only methods. Our empirical results on MNIST reconstruction and domain adaptation tasks show that Localized LoRA achieves lower approximation error and superior accuracy-to-parameter trade-offs compared to standard LoRA and MELoRA.
Introduction
The computational cost of fine-tuning Large Language Models (LLMs) has led to the rise of PEFT methods. LoRA, the current industry standard, represents weight updates ($\Delta W$) as a single global low-rank product $BA$. However, weight matrices in deep networks often exhibit "spatial" specialization, where different regions correspond to distinct features or semantic components. A global update ignores this structure, which can be overly restrictive. While variants like MELoRA attempt localization via diagonal blocks, they ignore critical off-diagonal interactions. Localized LoRA addresses these limitations by providing a structured, block-wise low-rank approximation that maintains parameter efficiency while significantly increasing representational power.
Methodology
Localized LoRA generalizes the low-rank adaptation process through three main steps:
- Block Partitioning: The target weight matrix $W$ is divided into a $K \times K$ grid of equal-sized blocks.
- Independent Adapters: Each block $(i, j)$ is assigned an independent low-rank adapter $B_{ij} A_{ij}$.
- Structured Assembly: The final update is the concatenation of these local updates into the original matrix shape.
To maintain parameter parity with standard LoRA, the rank of each local block ($r_{block}$) is scaled down relative to the global rank ($r_{global}$). This ensures that the total number of trainable parameters remains constant, allowing for a fair comparison of expressivity. The framework acts as a superset of existing methods: if $K=1$, it reduces to standard LoRA; if constrained to diagonal blocks, it resembles MELoRA.
Experimental Evaluation
We evaluated Localized LoRA against standard LoRA and MELoRA using the MNIST dataset in two scenarios: matrix reconstruction and domain adaptation.
Matrix Reconstruction
Using a test image of the digit "2" as a proxy for a weight matrix, we tested each method's ability to reconstruct complex spatial patterns under a strict budget of 224 parameters.
As shown in the figure above, standard LoRA captures the general silhouette but loses fine detail. MELoRA, being restricted to diagonal blocks, fails to represent the horizontal strokes of the digit. Localized LoRA successfully captures both the global structure and local nuances, achieving a normalized Frobenius error of 0.2119, compared to 0.2313 for LoRA and 0.9071 for MELoRA.
Domain Adaptation
We performed a multi-class classification task where a Multi-Layer Perceptron (MLP) pretrained on digits 0–4 was fine-tuned to recognize digits 5–9. We measured the accuracy drop relative to full fine-tuning across various parameter budgets.
Localized LoRA consistently demonstrated the smallest accuracy drop across all tested budgets. Notably, it matched MELoRA's performance while using approximately half the parameters and outperformed standard LoRA even when LoRA was granted a larger parameter budget. This suggests that distributing the parameter budget across independent local blocks is more effective than utilizing one large global matrix.
Conclusion
Localized LoRA offers a more flexible and expressive alternative to standard low-rank adaptation by leveraging the inherent spatial structure of weight matrices. By distributing the parameter budget across independent local blocks, it achieves superior reconstruction and adaptation performance. Future research will focus on scaling this method to multi-billion parameter Transformer architectures and exploring adaptive partitioning strategies to optimize block sizes based on gradient sensitivity.
Summary updated