Does Combining Parameter‐Efficient Modules Improve Few‐Shot Transfer Accuracy?

Nader Asadi, Mahdi Beitollahi, Yasser H. Khalil, Yinchuan Li, Guojun Zhang, Xi Chen

TL;DR

Instead of training new adapters from scratch for every new task, why not recycle existing ones? This paper demonstrates that linearly combining pre-trained Low-Rank Adaptation (LoRA) modules—either through simple averaging or learned weighting—significantly outperforms standard fine-tuning in few-shot scenarios for both vision and language models.

What Problem Does This Paper Address?

Fine-tuning massive foundation models is computationally expensive. Parameter-efficient methods like LoRA have become the industry standard, leading to a "hub" ecosystem where hundreds of specialized adapters exist for various tasks. However, when faced with a new "downstream" task and very little data (the few-shot regime), practitioners typically either use the base model as-is or try to train a new adapter from a handful of examples, which often leads to overfitting.

The authors ask a compelling question: Can we leverage the collective knowledge stored in existing LoRA modules to improve transfer accuracy on unseen tasks? They explore whether "merging" these specialized modules can provide a better starting point or even a final solution for new, low-data tasks.

Methods

The researchers propose two primary strategies for combining $N$ pre-trained "upstream" LoRA modules:

  1. Uniform Composition: A zero-shot approach where all upstream LoRA weights are averaged with equal importance ($1/N$). This requires no additional training on the downstream task.
  2. Learned Composition: A few-shot approach where a tiny weighting vector is learned using the downstream task's support set. The final adapter is a weighted sum of the upstream modules, normalized via a softmax function.
Overview of Uniform vs. Learned Composition methods.

They evaluate these methods across three types of data discrepancies:

  • Label Shift: Same dataset, but upstream and downstream tasks have disjoint sets of labels.
  • Domain Shift: Same task, but different data distributions (e.g., photos vs. sketches).
  • Task Shift: Entirely different datasets and objectives for upstream and downstream tasks.

Datasets

The study covers both Computer Vision (CV) and Natural Language Processing (NLP):

  • Vision: They used a ViT-base model pre-trained on ImageNet-21K. Evaluation datasets included CIFAR100, Food101, Stanford Cars, SUN397, Flowers, Eurosat, and the PACS dataset for domain shift experiments.
  • NLP: They used the Flan-T5 large model. Evaluation focused on multi-choice question answering using the CrossFit benchmark, specifically the SciQ, CommonSense, QuAIL, and ARC datasets.

Key Insights and Ideas

  • The "Wisdom of the Crowd" for Adapters: In extreme low-data settings (1-2 samples per class), even the simple Uniform Composition—which introduces zero new parameters—often beats training a LoRA from scratch. This suggests that the aggregate features of multiple specialized adapters are more robust than a single, poorly-tuned one.
  • Selective Recycling: Through Canonical Correlation Analysis (CKA), the authors found that the Learned Composition method successfully identifies and assigns higher weights to upstream modules that are feature-wise similar to the target downstream task.
  • Scaling Upstream Knowledge: As the number of available upstream modules increases, the performance of Learned Composition improves significantly. It effectively "interpolates" between existing experts to find a solution for the new task.
  • Efficiency at Scale: In full-shot scenarios, Learned Composition performs comparably to regular LoRA training but uses an order of magnitude fewer trainable parameters (only the mixing weights, rather than the full low-rank matrices).

Key Results

  • One-Shot Dominance: In one-shot transfer settings, both composition methods consistently outperformed full fine-tuning and standard LoRA. For example, on the Eurosat dataset, the composition methods showed a performance gain of nearly 27% relative to simple classifier tuning.
Performance comparison in the one-shot setting across various vision datasets.
  • NLP Gains: On the ARC-Challenge dataset, Uniform Composition improved zero-shot performance by 9.8% over the base Flan-T5 model.
  • Few-Shot Robustness: As shown in the Label Shift results, Learned Composition maintains a significant lead over baselines until the number of samples per class ($K$) becomes large, at which point standard fine-tuning eventually catches up.
Label shift results on Split-CIFAR100 showing the advantage of composition in low-data regimes.

Limitations and Future Work

  • Memory Overhead: While parameter-efficient in terms of training, Learned Composition requires loading all $N$ upstream LoRA modules into memory simultaneously. While LoRAs are small, this could become a bottleneck if $N$ grows into the thousands.
  • Upstream Diversity: The success of these methods relies on having a diverse and somewhat relevant set of upstream modules. If the upstream tasks are entirely unrelated to the downstream task, the benefits may diminish.
  • Future Directions: The authors suggest exploring dynamic routing (choosing different combinations for different input samples) and investigating how these merging techniques might apply across different model architectures.

Summary updated

BibTeX
@inproceedings{asadi2025does,
  author = {Nader Asadi and Mahdi Beitollahi and Yasser H. Khalil and Yinchuan Li and Guojun Zhang and Xi Chen},
  title = {{Does Combining Parameter‐Efficient Modules Improve Few‐Shot Transfer Accuracy?}},
  booktitle = {Artificial},
  year = {2025},
  doi = {10.1049/aie2.12002},
}
Figure