Fitting Merge Weights in Activation Space for Undocumented Adapter Pools

Public model hubs hold thousands of LoRA adapters, which are small low-rank weight patches fine-tuned on top of a shared base language model. Most of them come with no usable description: roughly 60% of Hugging Face models are undocumented or have empty READMEs (Kahana et al.). Weight-space ensembling, meaning adding several fine-tuned weight updates into one model, promises to reuse this pool for a new task at no extra inference cost. The largest test of that promise was discouraging. On 958 wild Llama 3.1 8B-Instruct LoRAs and about 2,000 Qwen3-4B-Instruct LoRAs, the wild-LoRA recycling study found that merging a target LoRA with randomly initialized LoRAs worked about as well as merging it with real ones. It also found that selecting adapters by parameter similarity was no better than selecting them at random, and that the best adaptive merge (~0.67 accuracy over 62 tasks) barely beat training a fresh LoRA on the same 100 target examples (~0.66). The gains that did appear looked like regularization, not knowledge transfer.

We propose to find out whether real transfer is present in these pools but hidden by poor search, and to do it with a selector that is both cheap and tested against the right null. The method runs every adapter on five generic prompts and records how its final hidden state moves away from the base model's. This is the Delta Activations fingerprint of Xu et al.. It then trains a throwaway "scout" LoRA on a handful of target examples and solves a sparse nonnegative regression that writes the scout's fingerprint as a weighted sum of pool fingerprints. The regression output supplies both the selected adapters and their merge coefficients, with no search loop over merged models. The central test is whether a merge built only from pool adapters, with the scout discarded, beats a norm-matched random-LoRA control. If it does, the pool is transferring knowledge rather than acting as a regularizer.

Core Claim

Our claim is that the negative result on wild LoRAs comes from how candidates were represented, not from an absence of useful adapters. Raw parameter similarity is known to be a poor proxy for function. Flattened weights fail to cluster fine-tuned models by domain, while Delta Activations reach a silhouette score of 0.614 (Xu et al.). Dense weight metanetworks are swamped by permutation symmetries and training noise (Horwitz et al., ProbeX). Xu et al. also report that Delta Activations are roughly additive when a model is fine-tuned on mixed data. If the same additivity holds when weights are merged, the fingerprint space becomes a cheap stand-in for the merged model's behavior. Coefficients can then be fitted there rather than by evaluating merged models, which MergeBench finds takes 5–10 times longer than the merge itself.

Formally, let $\delta_i \in \mathbb{R}^d$ be the concatenated last-token final-layer hidden-state shift of pool adapter $i$ relative to the base model, taken over the five generic prompts. Let $\delta_s$ be the same quantity for the scout LoRA. We solve

$$ \hat{w} = \arg\min_{w \ge 0} \Big\| \delta_s - \sum_{i=1}^{K} w_i \delta_i \Big\|_2^2 + \lambda \|w\|_1 , $$

where $K$ is the pool size and $\lambda$ controls how many adapters survive. The merged model is $\theta_{\text{pre}} + \sum_i \hat{w}_i \tau_i$, where $\tau_i$ is adapter $i$'s weight update in the task-vector sense of Ilharco et al.. Optionally, the TIES trim-and-sign-election step of Yadav et al. is applied to the selected support first.

Relation to Prior Work

Three papers already connect metadata-free discovery to merging, and each leaves open the question we target. Xu et al. motivate us: they used Delta Activation similarity to choose adapters for LoraHub and gained 2.0% on Big-Bench Hard over random selection. Their pools were small and curated, and they still ran LoraHub's gradient-free coefficient search. They did not test wild pools, did not use the fingerprint to set coefficients, and did not control for regularization.

AutoLoRA retrieves undocumented image-generation LoRAs with a contrastively trained weight encoder. It fuses them through runtime gates rather than a static merge, and it requires training a heavy encoder. We need no encoder training and produce a single checkpoint.

The wild-LoRA recycling study both motivates and constrains the design. Its random-LoRA result means that any selector that only beats random real-LoRA selection proves nothing, so we adopt a norm-matched random null as the primary comparison. Its anchor finding means the regime without an anchor is the one that matters.

Other work supplies methods we reuse. LoraHub provides the few-shot coefficient search we compare against. TIES-Merging provides interference-aware merging of the selected set.

PAVE purifies task vectors with activation subspaces but needs task calibration data. We treat it as complementary rather than as a competitor. MoTHer and ProbeX assume a known model tree. We sidestep this by restricting each pool to one base checkpoint, which the recycling study's pools already satisfy.

Research Program

The first stage tests the premise. We take pairs and triples of pool adapters, merge them with known coefficients, and measure how well $\sum_i w_i \delta_i$ predicts the merged model's actual fingerprint. We also check whether fingerprint-space distance to the scout correlates with target accuracy across random merges. If additivity fails under merging, even though it holds under mixed-data training as reported by Xu et al., the coefficient-fitting half of the method collapses. The note would then shrink to a pure selection study.

The second stage fingerprints the full wild pools. Each adapter costs five forward passes, so the Llama pool of 958 adapters needs under five thousand passes in total. For every one of the 62 target tasks from the recycling study, we train scout LoRAs at 10, 20 and 100 examples, solve the regression, and build merges in two regimes. In the retrieval-only regime the scout is discarded, so pool adapters must carry the task alone. In the scout-plus regime the scout is merged alongside the retrieved set.

A variant replaces the five generic prompts with the target's own unlabeled inputs as probes. This tests whether task-specific probing is needed.

The third stage is a planted-recall control. We insert known domain specialists into the wild pool, for example MergeBench-style math, coding and multilingual adapters from the same base where available, or adapters we train on held-out target tasks. We then measure whether the regression puts weight on them when given a scout from the matching task. This provides ground truth that the wild pool itself lacks.

Baselines

The naive reference points are the base model with no adapter, and the scout LoRA alone trained on the same examples. The recycling study reports the 100-example LoRA at about 0.66 average accuracy over its 62 tasks. This is the bar any recycling method must clear, since it uses identical data and no pool at all. We train it with the same step budget used for the scout.

The strongest existing method is the best adaptive merging configuration from the recycling study, at about 0.67 average accuracy. We rerun it on the same pools, tasks and 100 samples, with its reported selection and optimization settings. On Big-Bench Hard, the strongest fingerprint-aware competitor is LoraHub with Delta Activation selection (Xu et al.), reported as +2.0% over random selection. Plain LoraHub is reported at 34.7% on FLAN-T5-large (LoraHub). We rerun both on the Llama and Qwen pools with the same number of candidates and target examples. We report LoraHub's coefficient-search cost in merged-model forward passes, next to ours.

The null that isolates the key ingredient is the fitted coefficient vector applied to random LoRAs. These are random low-rank adapters matched to the selected adapters in rank, per-layer norm and spectrum. We also include uniform-weight merges of randomly chosen real adapters, and parameter-cosine selection. Accuracy-ranking selection, which evaluates every adapter on the target examples, is included and costed separately.

Ablations remove each piece in turn. We replace regression coefficients with top-$k$ cosine selection and uniform weights, drop TIES, and swap generic probes for target-input probes.

Beating the field means three things on the recycling study's 62 tasks. In the scout-plus regime, the method must exceed both ~0.67 and the norm-matched null by a margin that is significant under a paired test across tasks. In the retrieval-only regime, it must exceed the scout alone on a meaningful fraction of tasks. Both must hold while using one to two orders of magnitude fewer evaluation passes than LoraHub or accuracy ranking.

Why not just…?

Why not just train a LoRA on the target examples? This is the most serious threat, because the recycling study shows it nearly matches the best merging. We do not argue it away; the scout-alone baseline is the reference point everything is measured against. The honest prediction is that recycling helps most at 10–20 examples, where the scout is weak but its fingerprint may still point in the right direction. We expect the advantage to shrink toward 100 examples. If the retrieval-only merge never beats the scout at any budget, we will conclude that wild pools offer no transfer worth retrieving, and report that as the finding.

Why not just read the model cards? For the adapters that have cards, we will run an LLM-based card-to-task retriever as a baseline. Coverage is the problem. About 60% of hub models lack usable documentation (Kahana et al.), machine-parseable metadata is scarce across more than 63,000 packages (Jiang et al.), and only about 1.23% of translation models carry language tags (Tiedemann et al.). We will report card-based results only on the documented subset, next to fingerprint retrieval on the same subset. This separates cases where text is merely missing from cases where it is misleading.

Why not just merge random LoRAs, since the effect is regularization anyway? This is exactly our primary null. It is cheap and, per the recycling study, surprisingly strong. If the norm-matched random control matches our fitted merge, the regularization account holds even with better search, and the method adds nothing. The experiment is designed so that this outcome is visible and publishable.

Why not just score every adapter on the target examples? Accuracy ranking is a direct, reasonable selector. It costs roughly pool size times the number of examples in forward passes, against five passes per adapter for fingerprints plus one regression. The recycling study found it did not escape the anchor ceiling. We run it as a baseline and report accuracy against compute, so that a reader can see whether fingerprints buy accuracy, speed, or neither.

Decisive Checks

Three results settle the proposal. The first is the additivity test. If the weighted sum of fingerprints predicts the merged model's fingerprint poorly (low $R^2$), coefficient fitting in activation space is unjustified. The second is planted recall. If the regression fails to put weight on known relevant specialists hidden among the 958 wild adapters, the fingerprint cannot find transfer even when transfer exists. The third, and most important, is the retrieval-only comparison with the scout discarded against the norm-matched random null. A clear win there would be the first evidence that undocumented public adapters carry transferable task knowledge that can be found without metadata. A tie would extend the regularization finding from the recycling study to fingerprint-guided search, which is also worth knowing.