Abstract
Fine-tuning large pretrained Transformer models often involves a difficult trade-off between parameter efficiency and computational overhead. While Low-Rank Adaptation (LoRA) provides a balanced baseline, many subsequent variants sacrifice training speed or memory efficiency to further reduce parameter counts. We propose Weight-Generative Fine-Tuning (WeGeFT), a novel approach that generates adaptation weights directly from pretrained weights using a multiplicative low-rank formulation. WeGeFT achieves "multi-faceted efficiency"—slashing parameter counts by up to 8x compared to LoRA—while maintaining or exceeding performance across reasoning, coding, and vision tasks without the massive compute overhead of other recent LoRA variants.
1. Introduction
Adapting Large Language Models (LLMs) to specific tasks typically relies on Parameter-Efficient Fine-Tuning (PEFT), with LoRA being the industry standard. LoRA works by adding a trainable low-rank matrix to frozen pretrained weights. However, the field has recently encountered a "trade-off wall." High-performance variants like DoRA improve accuracy but can increase training time by over 5x, while parameter-lean methods like VeRA suffer from accuracy degradation and significantly slower training.
WeGeFT (pronounced "wee-gift") addresses these limitations by unifying parameter and representation efficiency. By treating pretrained weights as a source of information to generate fine-tuning residuals rather than a static base, WeGeFT provides a unified approach that is efficient in parameters, memory, and compute simultaneously.
2. Methodology: Weight-Aware Parameter Sharing
The core innovation of WeGeFT is its multiplicative update rule. Unlike standard LoRA, which uses an additive update ($̂{W} = W + BA$), WeGeFT derives the update from the pretrained weights themselves:
$$\hat{W}^l = W^l \cdot (I + \phi \cdot \psi)$$
In this formulation, $\phi$ and $\psi$ are low-rank matrices that can be shared across all layers of the model. Because these shared matrices are multiplied by the unique pretrained weights ($W^l$) of each specific layer, the resulting update remains layer-specific and "aware" of the knowledge already stored in that layer. This allows the model to carry over pretrained knowledge more effectively than additive methods.
The authors explored various "Hypernetwork" architectures to generate these weights, including MLPs and Transformers. However, they discovered that a simple linear projection—termed the "Identity" schema—performed best and was the easiest to optimize, suggesting that the inherent structure of pretrained weights is a powerful prior for adaptation.
3. Experimental Evaluation
WeGeFT was evaluated across a diverse battery of benchmarks, including arithmetic reasoning (GSM8k), commonsense reasoning (8 benchmarks including HellaSwag and BoolQ), instruction following (MT-Bench), and code generation (HumanEval).
3.1 Performance and Parameter Efficiency
As shown in the figures below, WeGeFT consistently occupies the superior Pareto frontier of the accuracy-vs-parameters trade-off. On Llama 2 (7B), WeGeFT outperformed LoRA on the GSM8k math benchmark while using 4x fewer trainable parameters (0.068% vs 0.297%). On the more powerful Llama 3 (8B), WeGeFT matched or exceeded the state-of-the-art DoRA method while using 8x fewer parameters.
3.2 Multi-Faceted Efficiency
Crucially, WeGeFT avoids the "training tax" seen in other LoRA variants. It maintains the training speed and GPU memory footprint of standard LoRA, making it highly practical for researchers with limited hardware. In vision tasks (VTAB-1k and FGVC), WeGeFT improved LoRA’s accuracy by 0.68% while using roughly 6x fewer parameters. Furthermore, visualizations in vision tasks revealed emergent visual grounding, where the shared $\phi$ matrix automatically localized semantically meaningful parts of images, such as a bird’s beak or a car’s tire, without explicit supervision.
4. Conclusion
WeGeFT offers a robust and efficient alternative for model adaptation, bridging the gap between weight editing and representation editing. By leveraging the information already present in pretrained weights to generate task-specific updates, it achieves significant parameter reductions without sacrificing performance or computational efficiency. Future work will explore scaling WeGeFT to models beyond 70B parameters and investigating automated layer selection strategies to further optimize the adaptation process.
Summary updated