Abstract
The widespread availability of fine-tuned LoRA modules for open pre-trained models has led to an interest in methods that can adaptively merge LoRAs to improve performance. These methods typically include some way of selecting LoRAs from a pool and tune merging coefficients based on a task-specific dataset. While adaptive merging methods have demonstrated improvements in some settings, no past work has attempted to recycle LoRAs found "in the wild" on model repositories like the Hugging Face Hub. To address this gap, we consider recycling from a pool of nearly 1,000 user-contributed LoRAs trained from the Llama 3.1 8B-Instruct language model. Our empirical study includes a range of adaptive and non-adaptive merging methods in addition to a new method designed via a wide search over the methodological design space. We demonstrate that adaptive merging methods can improve performance over the base model but provide limited benefit over training a new LoRA on the same data used to set merging coefficients. We additionally find not only that the specific choice of LoRAs to merge has little importance, but that using LoRAs with randomly initialized parameter values yields similar performance. This raises the possibility that adaptive merging from recycled LoRAs primarily works via some kind of regularization effect, rather than by enabling positive cross-task transfer. To better understand why past work has proven successful, we confirm that positive transfer is indeed possible when there are highly relevant LoRAs in the pool. We release the model checkpoints and code online.
Introduction
Low-Rank Adaptation (LoRA) has democratized fine-tuning, leading to an explosion of thousands of task-specific "adapters" shared on platforms like the Hugging Face Hub. Naturally, researchers have wondered: can we "recycle" these existing modules to solve new tasks without full retraining? While previous studies on model merging showed promise, they usually operated in "laboratory conditions"—using small, curated sets of adapters trained under controlled settings. This paper addresses the "in the wild" gap, asking if the massive, messy, and heterogeneous pool of user-contributed LoRAs can actually be used as a resource to improve performance on diverse downstream tasks.
The Adaptive Merging Design Space
To systematically evaluate recycling, the authors formalized a design space for Adaptive Merging, breaking methods down into four key decisions:
- Selection: How to pick $k$ LoRAs from a pool of $N$ (e.g., random, ranking by accuracy, or parameter similarity).
- Granularity: Whether to learn one merging coefficient per model, per layer, or per module (e.g., separate weights for Query vs. Value matrices).
- Coefficient Activation: How to transform raw weights (e.g., Softmax, Linear, or Leaky ReLU).
- Tuning: Using gradient-based or gradient-free optimization on a small "target" dataset (typically 100 samples).
By searching this space, they developed a high-performing configuration ("Ours") and compared it against established methods like LoraHub, $\pi$-Tuning, and AdaMerging, as well as non-adaptive baselines like TIES and Simple Averaging.
Experimental Setup: The "Wild" Pool
The study utilizes a pool of 958 user-contributed LoRAs for the Llama 3.1 8B-Instruct model, scraped from Hugging Face. These varied wildly in rank, target modules, and training data. Evaluation was conducted on 62 downstream tasks spanning math, science, multilingual inference, and domain-specific classification. For each task, they used only 100 samples (80 for training merging coefficients, 20 for validation).
Key Insights: Regularization vs. Transfer
A surprising "aha moment" in the study was the Regularization Hypothesis. The authors found that merging the target-task LoRA with randomly initialized LoRAs performed almost as well as merging it with "real" recycled LoRAs. This suggests that the benefit of merging might not be "knowledge transfer" from other tasks, but rather a sophisticated form of regularization that prevents overfitting on the tiny 100-sample target set.
Furthermore, when a LoRA specifically trained for the target task is included in the pool, the optimizer assigns it the lion's share of the weight. In this scenario, the choice of which other LoRAs to include becomes almost irrelevant. Positive transfer was only consistently seen in a "bespoke" pool (adapters trained specifically on the 62 tasks), implying that "wild" pools are currently too noisy or lack the "coverage" needed for reliable cross-task transfer.
Comparative Results
Adaptive merging significantly outperforms the base Llama 3.1 8B-Instruct model (e.g., "Ours" achieved 0.652 average accuracy vs. 0.467 for zero-shot prompting). However, a single LoRA trained on the 100 target samples achieved 0.657, meaning most adaptive merging methods failed to consistently beat this simple, non-merged baseline.
As shown in the figure above, while most adaptive methods provide substantial gains over the base model (indicated by the large blue segments), they do not consistently offer a significant advantage over standard few-shot fine-tuning. The study also confirmed that module-level granularity—learning separate weights for different Transformer components—was consistently more effective than learning a single weight per model.
Conclusion and Future Work
For LoRA recycling to become a practical reality, the community needs better infrastructure, including standardized metadata and training logs for uploaded adapters. Additionally, improved search tools are needed to discover "rare matches"—adapters that are highly relevant to specific niche tasks. Future methodologies must move beyond simple weighted averaging toward methods that can better extract specific features from diverse adapters without being overshadowed by a single target-task module.
Summary updated