PAIR: Pool-Adapter Inference for Routing in Training-Free LoRA Composition
Anonymous authors
ICLR 2027
Abstract. Large language models are increasingly deployed with growing libraries of task-specific low-rank adaptation (LoRA) adapters that share a backbone. A practical router must operate without task labels or examples, accommodate newly arriving adapters, and avoid scoring the entire pool for every input. We introduce PAIR (Pool-Adapter Inference for Routing), a training-free hierarchical router that treats a LoRA library as a searchable index rather than a flat list. PAIR constructs weight-only fingerprints from each adapter's last-block LoRA factors and organizes them with an online Dirichlet-process Gaussian mixture. New adapters are incorporated from their LoRA weights alone; no learned router is trained or retrained. For routing, a single adapter-free backbone forward produces the hidden state used to rank cluster representatives. PAIR then evaluates additional candidates only within selected clusters and composes the selected adapters with a calibrated compatibility score. We evaluate PAIR on 26 datasets, three 7B/8B backbones, and three backbone-specific pools of 260 adapters. On LLaMA-3.1-8B, PAIR achieves a five-family macro score of , versus for the strongest evaluated non-PAIR baseline. Holding top- uniform composition fixed, hierarchical routing alone improves the macro by points while reducing adapter-score evaluations from to a median of per input. In an isolated single-threaded CPU benchmark, median per-adapter insertion time is --~ms across the tested pool sizes of -- adapters, with no backbone forward.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 24 Nov 2026, 17:10 UTC.
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 3/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
This paper studies routing over a large pool of LoRA adapters sharing the same backbone. PAIR builds compact fingerprints for adapters, clusters them, and uses hierarchical routing to select and combine a small set of adapters for each input. It does not require task labels or a trained router. Experiments across several backbones and datasets show better performance than existing routing baselines while reducing the number of adapter evaluations.
Strengths
- Scoring every adapter becomes expensive as the pool grows, so this is a useful problem to study.
- Fixing the composition strategy while changing only the router gives a cleaner comparison.
Weaknesses
- Eq. (4) worries me because changes with the set of adapters scored together. Level-1 and Level-2 use different sets, but the paper still reuses and compares these scores. I do not see why they should be comparable across stages.
- I am also not convinced by the JL argument. The projection is only applied to one side of , while the standard JL lemma assumes a full random projection. The paper should clarify what is actually preserved and what assumptions on are needed.
Questions for the authors
- Table 1 reports around 190 adapter-score evaluations per input, while the last row of Table 3 reports 92 for what seems to be the same setting. What causes this difference?
- How were the routing hyperparameters chosen, eg. , top-20 composition, , and ? The paper says no evaluation examples are used for tuning, so it would be useful to clarify what data was used.
4 comments
Comment 2
Q1. Why 190 in Table 1 but 92 in Table 3?
We traced the difference to the Level-1 counter of Table 3, which counted 80 clusters instead of 178 representatives and therefore undercounts by 98. The complete count has median 190 and range 185–200. A replay of all 60,619 inputs with unchanged routed sets confirms it. The count includes repeated scores of the same adapter across stages; the number of distinct adapters has median 179 (Update 3).
Q2. Hyperparameter selection
The configuration was developed on LLaMA with BBH sweeps and a fixed subset of up to 128 examples per task. Both overlap the evaluation suite, which updates the submission's statement that no evaluation examples informed tuning (Update 1). The composition cap of 20 matches LoGo. The stored development runs vary , , the per-cluster quota, , and the selection and scoring rules on these sets, including the rule that expands from four to five clusters. Six scoring variants were also compared on the full suite, and the final configuration had the highest macro.
Qwen and DeepSeek use the LLaMA configuration without further tuning. After excluding all BBH tasks and the development subset, 57,562 examples remain across 18 tasks. On their four-family macro, a post-hoc analysis gives a matched LLaMA selection difference of +0.91 [0.76, 1.06] (Update 1).
Summary. This reply gives the stage-specific scoring definitions, a direct standardisation ablation, and the row-wise argument for the raw-sketch guarantee. Together with the updated count and the fixed-composition comparison that your review recognises, they are the evidence for PAIR's selection procedure. We would appreciate your reassessment in light of these additions and of the configuration-selection protocol in Q2. Thank you again for your time and for the precise questions.
Thank you for the detailed response. The stage-specific scoring explanation and the clarification of the raw-sketch guarantee address much of my technical concern, and the evaluation-count discrepancy is now explained. However, the tuning protocol raises a more substantial concern: scoring variants were compared on the full evaluation suite, and the best-performing configuration was selected. Removing the development subset afterwards does not provide an independent evaluation. I would need results on an untouched test set with the configuration fixed to be convinced of the reported gains. I am therefore keeping my rating at 2.
Thank you for confirming that the scoring, sketch, and count questions are resolved.
We evaluated the unchanged submitted configuration on 6,799 previously unused validation examples from 14 non-BBH tasks. These examples were not used for development or for any reported evaluation. The arms, the primary comparison and both scoring rules were fixed in writing before the run. LoGo and LoRARetriever used their Table 1 settings and the same generation budgets as PAIR.
With ARC answers credited as either option letters or option text, and all other scoring unchanged, the four-family macro differences are:
| Contrast | Difference, 95% bootstrap interval |
|---|---|
| PAIR − Base | +1.79 [1.26, 2.34] |
| PAIR − Flat, matched adapter count | +0.91 [0.52, 1.31] |
| PAIR − LoGo | +1.63 [1.23, 2.05] |
| PAIR − LoRARetriever | +1.16 [0.68, 1.65] |
| PAIR − Fixed combination from development inputs | +0.05 [−0.16, 0.26] |
The fixed combination applies PAIR's average weights on the development subset to every input, without routing. Under the paper scorer the five differences are +1.51, +2.27, +1.52, +0.96 and −0.19; the first four intervals exclude zero.
The prespecified hierarchy−flat comparison, with uniform weights in both arms, gives +1.73 [1.23, 2.23] under the paper scorer and +0.28 [−0.09, 0.65] under the predefined ARC content-scoring check. On a separate evaluation of 19 BBH tasks outside the suite, exact match is below 5% in every arm because the outputs are mostly option text; scored by option content on the 17 multiple-choice tasks, a rule defined after those outputs were seen, the same comparison gives −0.99 [−2.37, 0.40].
The requested independent evaluation is now available: full PAIR retains positive gains over Base, Flat, LoGo, and LoRARetriever on previously unused examples. We distinguish these full-method gains from the more limited evidence for hierarchy alone or dynamic routing over fixed composition. We would appreciate your reassessment in light of this new evidence.
- Rating
- 3/4
- Confidence
- 2/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
PAIR proposes a training-free router for a growing library of LoRA adapters sharing a backbone. It builds an index from weight-only adapter fingerprints using an online Dirichlet-process Gaussian mixture, then selects adapters through representative-first, two-stage routing and combines them with input-dependent weights. The paper evaluates downstream task quality, routing efficiency, and incremental index maintenance. Its central finding is that structured selection can improve the resulting adapter set, rather than merely approximating exhaustive ranking more cheaply.
Strengths
- Practical and well-defined problem. Training-free, input-dependent selection from a changing LoRA library is an important deployment problem. The weight-only indexing setup directly addresses the lack of task data and the cost of retraining a learned router.
- Evidence for selection quality, not just search efficiency. The controlled comparison separating active-set selection from composition weights supports the paper's most consequential claim: the hierarchy can produce a more effective adapter set than flat ranking under matched composition.
Weaknesses
- The need for the proposed DP-based machinery is not established. The approach combines familiar sketching, clustering, and hierarchical retrieval components, without an adequately matched comparison to a simpler index. Consequently, the distinctive methodological contribution remains uncertain.
- The scalability case is not yet convincing. Representative scoring still covers much of the pool, the study uses relatively limited and homogeneous libraries, and the large serving-speed advantage is entangled with differences in backbone capture and adapter activation. This leaves the independent benefit of hierarchical indexing unclear.
Questions for the authors
- Methodological necessity: Under matched fingerprints, representative budgets, scoring, and composition, what does the DP-based index improve over K-means or a fixed-component GMM index?
- Scalability: As the pool grows and new task families arrive, how do representative count, routing quality, and the full per-insertion maintenance cost scale, including any reassignment of stored adapters?
- Efficiency attribution: Can flat and hierarchical routing be compared using the same backbone-state capture and adapter-activation implementation, so that the latency benefit of the search strategy is isolated?
1 comment
Thank you for your thoughtful review and clear questions. It identifies two strengths of PAIR: the practical problem of training-free, input-dependent routing over a changing adapter library, and the evidence for selection quality under matched composition.
Weight-only indexing addresses a deployment constraint. For a fixed configuration, PAIR builds and updates its index from adapter weights. It requires no adapter training examples and trains no router.
The matched control evaluates selection quality, not only search efficiency. On LLaMA, PAIR's selection improves the macro by 2.43 points [2.03, 2.84] over flat selection. Both arms use the same backbone capture, raw adapter-response computation, per-input composition cardinality, and uniform weights. The difference therefore comes from the selection procedure, not from composition size or weighting. As your summary states, the index guides the construction of the composed set; it does not only approximate a flat ranking at lower cost.
Q1. DP-GMA versus GMM and K-means: matched component count, shared caps
DP-GMA has the highest macro of the three tested indexes under shared routing rules and caps. It also determines the component count from the pool. DP-GMA selected components. We fitted the GMM and K-means at the same . All three indexes ran in one job over 60,619 inputs with identical fingerprints, routing rules, caps, and composition rule.
| Index | Representatives | Macro | Difference to DP-GMA |
|---|---|---|---|
| DP-GMA | 178 | 47.88 | — |
| Diagonal GMM | 185 | 47.03 | −0.85 [−1.20, −0.52] |
| K-means | 189 | 46.39 | −1.49 [−1.80, −1.17] |
Outside BBH and the development subset, the differences are −0.16 [−0.30, −0.02] and −1.90 [−2.08, −1.72]. With tasks also resampled, the intervals are [−0.41, 0.09] and [−3.35, −0.79]. Each arm replaces the complete index state, so the representative counts and the mean composition sizes (12.23/11.43/11.12) differ. K-means uses nearest-centroid representatives and cluster-size shares as weights.
Q2. Pool size, insertion cost, and arriving task families
Representative count. We denote by the number of Level-1 representatives and by the pool size. In separately fitted pools of 65/130/195/260 adapters (three random subsets per size and one refit of the full pool), the fraction falls from 97% to 70%. With one representative per cluster (Table 3), PAIR scores 80 representatives and uses a mean of 92 evaluations per input. This count is correct for this variant. Its macro is 47.42 against 47.94, and outside BBH and the development subset the difference is +0.01 [−0.15, 0.18].
Complete insertion, including the refresh that recomputes the assignment of every stored adapter, costs and takes 32–34 ms at 260 adapters (Update 4).
Arrival quality. We compare a streamed index with a fresh fit of the same final pool on 60,619 inputs. The streamed index scores lower:
| Initial pool and arrivals | Macro | Difference to full fit (47.71) |
|---|---|---|
| Random 200, then 60 arrivals | 45.30 | −2.41 [−2.79, −2.03] |
| 233 outside evaluation-task families, then those 27 arrivals | 46.16 | −1.56 [−1.97, −1.15] |
One likely contributor is poor representation of the arrivals by the PCA basis, which is frozen at the initial fit. Insertion makes new members available at once. A full rebuild takes about 6 s on eight CPU threads at this size. The 47.71 reference is a new fit of the 260 adapters. It assigns 235 of them to the same cluster as the paper's stored index (paired difference −0.17 [−0.47, 0.13]).
Q3. Isolating the search strategy's latency benefit
Hierarchical routing executes a median of 190 adapter evaluations, where flat scoring executes 260. The available timings do not isolate a wall-clock speedup from this reduction. The recorded hierarchical and flat routing profiles use different batch configurations, so they cannot be compared. Single-request measurements place the gap to LoGo in the capture step. Capture takes 1.08–1.36 s with all adapters active and 21–69 ms adapter-free, while scoring is below 3 ms for both. The serving-time difference reported in the paper should therefore not be read as a hierarchy-only speedup.
Summary. The central empirical finding is the LLaMA matched control: selection guided by the weight-only index improves the composed set under matched generation settings. The index comparison (Q1) and the maintenance measurements (Q2) characterise the trade-offs of this design. The reduction in adapter evaluations (Q3) is reported separately from end-to-end serving speed. Thank you again for your time and consideration.
- Rating
- 1/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper proposes PAIR, a training-free hierarchical router for LoRA composition. It constructs adapter fingerprints from last-block weights, organizes them through an online Dirichlet-process Gaussian mixture, and routes inputs by scoring cluster representatives followed by within-cluster candidates. Selected adapters are combined using input-dependent compatibility weights. Experiments cover 26 datasets and three 7B/8B backbones.
Strengths
- The paper addresses a practical problem: input-dependent composition over a growing adapter library without task labels or router retraining. Building the index directly from adapter weights is a useful design choice.
- The evaluation covers multiple backbones and task families. The controlled comparisons with matched uniform composition help distinguish improvements from route selection and composition weighting.
Weaknesses
- Additional prefill overhead raises concerns about practical deployment benefits. PAIR requires an extra bare-backbone prefill before composed generation, without demonstrating reuse of this computation. This may substantially increase time to first token, particularly for long inputs. Comparisons against lightweight trained routers under matched composition settings are needed to justify this cost.
- The adapter-scoring counts are internally inconsistent. Table 3 reports 92 evaluations for the final PAIR configuration, whereas Section 4.4 specifies 178 unique Level-1 representatives. Scoring these representatives alone requires at least 178 evaluations; caching and candidate deduplication cannot explain the lower count. This discrepancy undermines confidence in the efficiency accounting.
- The insertion-complexity analysis omits the full-pool refresh. Algorithm 2, line 14, recomputes responsibilities for all stored fingerprints at cost, followed by rebuilding statistics and refreshing representatives. However, Appendix A.6 reports only . The complete complexity and whether the insertion benchmarks include this refresh need clarification.
- Generalization across model scales remains unverified. All evaluated backbones are approximately 7–8B parameters. It is unclear whether the fingerprint structure, routing effectiveness, and quality–cost tradeoff persist for substantially smaller models, such as 1B, or larger models, such as 30B+. Experiments across a broader range of model scales would strengthen the conclusions.
- Compatibility among composed adapters is insufficiently validated. PAIR’s compatibility score measures individual adapter–input and adapter–cluster relationships, without explicitly accounting for interference between adapters. Furthermore, weights derived from the last block are applied across all adapted layers. Analyses of update conflicts and comparisons with conflict-aware merging under the same selected adapter set are needed.
- The formulation is restricted to homogeneous adapter pools. PAIR assumes a common rank, insertion pattern, and set of adapted layers. This limits its applicability to libraries containing independently developed adapters. Can the method accommodate different LoRA ranks or target modules? The required changes to fingerprint construction, scoring, and composition should be clarified.
- The necessity of composing multiple adapters within each cluster is unclear. PAIR retains up to five adapters per selected cluster, although these members already have similar fingerprints. The global Top-1 comparison in Table A.2 does not distinguish within-cluster complementarity from cross-cluster complementarity. Fixing the selected clusters and varying the per-cluster quota—e.g., one, two, or five adapters—would clarify whether the additional composition justifies its generation cost.
Questions for the authors
See weakness.
4 comments
Comment 1
Thank you for the detailed and constructive review. We are grateful that it identified the accounting inconsistency and the controls needed to assess PAIR. Your review lists the weight-only index and the controlled comparisons with matched uniform composition among the strengths. We first state what this matched control shows about the method.
PAIR uses the structure of the adapter pool to construct the composed set, the set of adapters that is composed for an input. The index is part of the selection procedure; it is not only a way to reduce the cost of a flat ranking. Flat selection scores every adapter and keeps the highest-scoring ones. A full scan is exhaustive with respect to the individual scoring rule, but it is not an oracle for the quality of the composed set. PAIR first selects clusters of the weight-only index and then selects members within each selected cluster. The matched control tests this selection procedure. Both arms use the same backbone capture, raw adapter-response computation, per-input composition cardinality, and uniform weights; only the selection procedure changes. On LLaMA, PAIR's selection improves the macro by 2.43 points [2.03, 2.84] over flat selection. The paper's introduction presents this control as its more important result. The control is separate from serving time.
The points below address three separate questions. Points 2 and 3 update the cost accounting. The updated count comes from a replay that reproduces every routed set, so the update changes the accounting and not the selection result. Points 5 and 7 examine the composed set; the quota sweep that you requested shows that retaining several members of a selected cluster improves the composition. Points 1, 4 and 6 concern deployment cost and transfer.
1. Extra backbone prefill
PAIR performs one extra adapter-free prefill, and its KV cache is not reused for composed generation. We measured single requests on an H100, with 30 prompts per length, and report medians. For prompts of 114–1,834 tokens, routing takes 26–73 ms, while the base model's time to first token is 20–66 ms. Within routing, capture takes 21–69 ms and scoring about 2.6 ms. LoGo's capture, with all 260 adapters active, takes 1.08–1.36 s in the tested implementation. The extra prefill is therefore a cost that grows with prompt length. These are component timings. We did not run a comparison with a trained router.
As a shared-generation control, we composed LoRARetriever's top-20 sets and PAIR's routed sets (12.7 adapters on average) with the same uniform rule and generation code on 10,137 inputs. PAIR's routed sets lead by 8.2 points on BBH, which was used in development. Each other family differs by at most 1.5 points, in either direction.
2. Adapter-scoring counts
We traced the discrepancy to the Level-1 counter, which counted 80 clusters instead of 178 representatives .
| Quantity | Range | Median |
|---|---|---|
| Old counter | 87–102 | 92 |
| Complete adapter-score evaluations | 185–200 | 190 |
| Distinct adapters scored | 178–186 | 179 |
We obtained these counts from an instrumented replay of all 60,619 inputs. The replay changes only the instrumentation, not the executed path, and reproduces every routed set. Level 2 re-executes the factor chain for representatives that are also candidates, because raw responses are not cached. Each cluster has up to three representatives, so Level 1 already scores most candidates of the selected clusters, and Level 2 adds few new adapters (median one). In this configuration, Level 2 ranks the members within the selected clusters and sets the local factor of the weights. Table 3's two affected entries are per-input means, as in that column. They become 192 and 190.
Executed cluster rule. The implementation selects five clusters when the highest cluster score is below 1.3 times the second, and four otherwise. This rule was part of the default configuration in every reported run. It selects five clusters on 90.5% of LLaMA inputs. The ceiling on evaluations is therefore 253, where the paper states 238 for four clusters. To measure the rule's effect, we remove the fifth cluster's adapters from the routed sets, keep the first four clusters unchanged, and renormalise the weights. The macro changes by −0.35 [−0.72, 0.01] on 5,637 inputs.
Comment 2
3. Full insertion complexity
Complete insertion, including the refresh over the whole pool, takes 32.2–34.1 ms at 260 adapters on one CPU thread. Its cost is . Here is the fingerprint cost, the pool size, the number of components, and the fingerprint dimension. The times are per-order medians over three arrival orders, with adapter factors in memory. At 100 adapters they are 28.2–28.7 ms. The refresh recomputes responsibilities once and rebuilds the statistics and routing objects. It requires no backbone forward, PCA refit, or EM iterations. These measurements replace the original 20–21 ms, which omitted the refresh.
4. Model scale
We ran the matched control on the paper's two other backbones and added a 0.78B cross-architecture study. The advantage of hierarchical over flat selection varies with the backbone and the pool. Both other backbones use the LLaMA configuration without further tuning. The matched control with uniform weights gives:
| Backbone | Hierarchy minus flat |
|---|---|
| LLaMA-3.1-8B | +2.43 [2.03, 2.84] |
| DeepSeek-LLM-7B-Base | +1.09 [0.74, 1.45] |
| Qwen-2.5-7B | −0.35 [−0.59, −0.11] |
On flan-t5-large (0.78B; 196 LoRAHub adapters; 3,811 examples of 27 BBH tasks), an initial design with the probe in the decoder gave no gain over the base model. We then moved the probe to the encoder. In this setting, PAIR improves over the base model by 3.00 [2.25, 3.76] and trails flat selection of the same size by 1.11 [0.62, 1.61]. Scale, architecture, pool, and benchmark change together in this study. We did not evaluate models of 30B and above.
5. Adapter interference and last-block weights
Following your suggestion, we tested conflict-aware composition on the same routed sets and generation code. Neither norm-matched TIES variant improves on PAIR's weights. PAIR's score does not model pairwise interference. PAIR also applies one adapter-level weight, computed at the last block, to every adapted layer. The comparison uses 5,637 inputs and rescales each projection to the norm of the uniform linear merge:
| Composition | Five-family macro | Outside BBH and the development subset |
|---|---|---|
| PAIR weights | 48.59 | 46.50 |
| Norm-matched TIES, density 0.5 | 45.20 | 46.34 |
| Norm-matched TIES, density 0.2 | 44.78 | 46.26 |
Outside BBH and the development subset, the differences from PAIR's weights are −0.17 [−0.73, 0.39] and −0.25 [−0.82, 0.32]; both intervals include zero.
6. Different ranks and target modules
Rank equality is not required. The dimensions of and are set by the layer and the shared projection, not by the rank. Here and are the LoRA factors, is the projection, and is the hidden state. Zero-padding the factors for batching preserves each update exactly when each adapter keeps its own scaling factor. Different target modules require a common fingerprint representation and a rule for absent modules. As a pilot, we built an index over the last-block q/v updates shared by a pool that mixes two collections. The index builds, and 235 of the 260 original adapters keep their cluster assignment.
7. Within-cluster composition quota
Thank you for proposing this control. We ran the sweep with the selected clusters and the member ranking fixed. Only the per-cluster quota changes. Under PAIR's weights, on 5,637 inputs:
| Per-cluster quota | Mean adapters composed | Macro | Difference to quota 5 |
|---|---|---|---|
| 1 | 4.88 | 47.09 | −1.50 [−2.13, −0.87] |
| 2 | 8.35 | 48.48 | −0.11 [−0.42, 0.20] |
| 5 | 12.79 | 48.59 | — |
Retaining several members of a selected cluster improves composition quality. Quota five is 1.50 points above quota one, and a uniform-weight sweep on 10,137 inputs agrees (−1.57 [−2.09, −1.08]). Quota two is a lower-budget operating point. Its macro differs from quota five by −0.11 points [−0.42, 0.20], and it composes about 35% fewer adapters. The experiment supports multi-member composition and identifies an alternative to the default quota. The 4.88 adapters at quota one reflect the four-or-five-cluster rule (Update 2).
Thank you again for the thorough review and for the time you have given to this paper.
Response to Author
Thank you for the clarifications and additional experiments. While these address several of my questions, I remain concerned about the extra backbone prefill required for routing, which adds latency and computation before generation. It also remains unclear whether a fixed, pre-merged LoRA combination could achieve comparable performance without per-input routing. Without this comparison, I am not convinced that the additional routing cost is justified. I therefore maintain my original score.
Thank you for the follow-up. We ran the comparison you ask for, on 6,799 validation examples of 14 non-BBH tasks that no development or reported run had used.
A fixed PAIR composition improves quality without inference-time routing on these tasks. We took PAIR's routes on the development subset, averaged their composition weights, kept the 20 largest, and used this single fixed composition for every input, with no routing and no extra prefill. The table gives the gain of each method over the base model on the same inputs (four-family macro, 95% interval; ARC answers credited as option letter or option text).
| Method | Gain over the base model |
|---|---|
| PAIR, dynamic (per-input routing) | +1.79 [1.26, 2.34] |
| PAIR, fixed composition | +1.74 [1.23, 2.27] |
| LoRARetriever, dynamic | +0.62 [0.20, 1.07] |
| LoGo, dynamic | +0.15 [−0.34, 0.65] |
| TIES, static merge | −0.19 [−0.82, 0.43] |
| AdapterSoup, static merge | −2.21 [−3.00, −1.44] |
The fixed and dynamic versions achieve similar observed performance: dynamic minus fixed is +0.05 [−0.16, 0.26].
The fixed PAIR composition outperforms the evaluated static and dynamic baselines. Paired differences on the same inputs, fixed PAIR composition minus baseline: TIES +1.93 [1.39, 2.48], AdapterSoup +3.95 [3.21, 4.71], LoGo +1.59 [1.18, 2.00], LoRARetriever +1.12 [0.67, 1.56]. The paper's label-only evaluator leads to the same conclusions.
Serving cost. The fixed composition is constructed offline from development inputs and then folded into the backbone weights. Serving requires no routing prefill, route selection, or adapter computation. We measured time to first token (TTFT) on 120 requests with prompts of 114 to 1,834 tokens: at every tested prompt length, the median per-request TTFT difference between the folded model and the base model was within 2 ms.
On this validation set, the fixed composition improves over the base model and all four evaluated baselines; folded into the backbone, its median per-request TTFT difference from the base model is within 2 ms. This establishes a concrete low-latency deployment option derived from PAIR.
We would be grateful if you could reconsider the serving-cost concern in light of these results.
Comments on the paper
2 comments
We thank the three reviewers for their careful reading and constructive questions. PAIR's central contribution is a weight-only pool index that guides input-conditioned adapter selection without training a router. The central controlled result is the LLaMA matched control, which compares PAIR's selection with flat selection. Flat selection scores all 260 adapters and keeps the highest-scoring ones. Both arms use the same backbone capture, raw adapter-response computation, per-input composition cardinality (at most 20; 12.2 on average), and uniform weights. Only the selection procedure differs. PAIR's selection improves the five-family macro by 2.43 points [2.03, 2.84]. The comparison therefore attributes the gain to the selection procedure, which includes cluster-conditioned ranking and stage-specific standardisation.
Updates. We checked four statements of the submission against the code and the run records. The updated statements follow; the individual responses give the evidence and refer to this list.
- Configuration selection. The configuration was developed on examples that overlap the evaluation suite, and scoring variants were compared on the full suite. This replaces the submission's statement that no evaluation examples informed tuning (Reviewer mSum, Q2). Index fitting uses adapter weights only, and no router is trained. After excluding the development data (all BBH tasks and a fixed development subset of up to 128 examples per task), a post-hoc analysis of the matched control gives +0.91 [0.76, 1.06] on the remaining four-family macro. This is not an independent holdout, and reported intervals are conditional on the selected configuration.
- Executed configuration. The submission states a fixed number of selected clusters, . The reported runs select four or five clusters depending on the input. The rule and a fifth-cluster removal analysis are in the reply to Reviewer JYvK, point 2.
- Evaluation counts. Table 3 of the submission reports 92, which counted 80 clusters at Level 1 instead of 178 representatives. The medians are 190 executed evaluations and 179 distinct adapters. The implementation does not cache raw responses, so it can evaluate the same adapter twice. An instrumented replay confirms these counts and reproduces every routed set.
- Insertion cost. Complete insertion includes a refresh over the whole pool. It costs , where is the fingerprint cost, the pool size, the number of components, and the fingerprint dimension. It takes 32–34 ms at 260 adapters on one CPU thread. The original 20–21 ms measurement omitted the refresh.
Updated manuscript. We have uploaded a new manuscript that implements these updates.
New experiments. The additional experiments test within-cluster composition (Reviewer JYvK, point 7), stage-specific standardisation (Reviewer mSum, W1), and index choice and maintenance under adapter arrival (Reviewer 6eBv, Q1 and Q2). The selection gain varies across backbones (Reviewer JYvK, point 4). The reduction in adapter evaluations is reported separately from serving latency (Reviewer 6eBv, Q3).
Protocol. Intervals are paired 95% bootstrap intervals over examples within tasks unless stated otherwise. Subset experiments use the first 250 examples (5,637 inputs) or the first 500 examples (10,137 inputs) of every task, in dataset order. Both subsets include all BBH examples. Re-runs of the stored index on other GPUs with other batch sizes reproduce the routed set on 98.3% of inputs, the generated text on 90.9%, and the score on 94.1%; their macro is 47.88 against 47.94.
We are grateful to the reviewers and the area chair for their time and consideration.
Dear Area Chair,
PAIR makes a growing library of LoRA adapters searchable directly from their weights. When a new adapter arrives, PAIR indexes it without access to its training examples and without retraining a router; a complete insertion takes 32–34 ms at 260 adapters. At inference, PAIR uses representative adapters to select a composition for each input. Reviewer JYvK calls building the index directly from adapter weights "a useful design choice", and Reviewer 6eBv notes that it "directly addresses the lack of task data and the cost of retraining a learned router".
We responded to every point raised by the three reviewers, updated the manuscript's configuration and cost accounting, and completed both experiments requested in the final follow-ups. These two experiments were posted on 17 November, after the reviewers' latest comments.
Independent evaluation (mSum). We tested the submitted configuration on 6,799 previously unused examples from 14 non-BBH tasks, with the configuration and arms fixed before the run. Full PAIR outperforms the base model (+1.79 [1.26, 2.34]), matched-size flat selection (+0.91 [0.52, 1.31]), LoGo (+1.63 [1.23, 2.05]) and LoRARetriever (+1.16 [0.68, 1.65]). All four paired 95% bootstrap intervals exclude zero under both scoring rules of the reply.
Deployment (JYvK). A single 20-adapter composition derived from PAIR's routes on development inputs gains 1.74 points over the base model [1.23, 2.27] without online routing; dynamic PAIR minus this fixed composition is +0.05 [−0.16, 0.26]. On the same inputs it outperforms TIES (+1.93 [1.39, 2.48]), AdapterSoup (+3.95 [3.21, 4.71]), LoGo (+1.59 [1.18, 2.00]) and LoRARetriever (+1.12 [0.67, 1.56]). Merged into the backbone, it requires no routing prefill: across 120 requests, the median per-request difference in time to first token from the base model is within 2 ms at every tested prompt length.
Value of the index (6eBv). With the same fingerprints, component count and routing caps, PAIR's index achieves a macro score of 47.88, compared with 47.03 for a diagonal GMM and 46.39 for K-means.
Further controls requested in the reviews. Composing several adapters per cluster improves quality: quota one against quota five is −1.50 [−2.13, −0.87] (JYvK 7). Neither norm-matched TIES variant improves on PAIR's weights on the same routed sets (JYvK 5). Sharing one reference set across stages lowers the macro by 5.61 [4.97, 6.27], which supports stage-specific standardisation (mSum W1). An instrumented replay of all 60,619 inputs explains the evaluation counts and reproduces every routed set (JYvK 2, mSum Q1).
Reviewer mSum wrote that our explanations "address much of my technical concern", and Reviewer JYvK that the replies "address several of my questions". Each then asked for one further experiment, and both are reported above.
We would be grateful if the meta-review could consider these results alongside the revised manuscript. They show the practical value of the index both for selecting adapters on previously unused inputs and for constructing a single low-latency model from the same pool.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Comment 1
Thank you for your review. It recognises the practical routing problem and the comparison that fixes the composition and changes only the router. Your two technical concerns lead to the clarifications below: we state the stage-specific scoring rule, test a shared-reference alternative, and give the row-wise argument for the one-sided sketch. The Update are listed in the general response.
W1. Comparing scores across stages
The two stages make separate rankings with their own reference sets. Level-1 standardised scores are not reused in the Level-2 ranking. We denote by sm(x;S) the response of adapter m to input x, standardised within the reference set S. Eq. (4) then reads:
Here R contains all representatives and Mk the candidates of cluster k. Level 1 compares clusters within R. Level 2 ranks the candidates of a selected cluster within Mk. The final weight is
where sk(m) is the cluster score of adapter m and νm its centrality. The three factors are relative; they are not calibrated to a common absolute scale. On a fixed routed set, the product adds +0.30 [0.03, 0.56] over uniform weights.
We tested the shared-reference alternative that your concern suggests. The ablation standardises Level-2 responses with the Level-1 reference statistics, so that both stages share one reference set. The routed set stays the same for 99.5% of 5,637 inputs. The weights concentrate: the effective number of adapters 1/∑mwm2, with wm=πm/∑jπj, falls from 7.5 to 3.8. The macro falls by 5.61 [4.97, 6.27]. This supports local standardisation for the tested weighting rule.
The matched control does not depend on the weight product. It uses uniform weights. It evaluates the complete selection procedure, which includes the stage-specific standardisation. Algorithm 1 states that Level 2 reuses cached Level-1 outputs; this does not describe the implementation (Update 3).
W2. What the one-sided projection preserves
A full random projection of the vectorised update is not required. A one-sided Gaussian projection suffices for the Frobenius-distance guarantee on the raw sketch. Right multiplication by the sketch matrix Ξ applies a Gaussian projection to every row of the update. The argument has three steps: Gaussian concentration for each row, a union bound over rows and adapter pairs, and the sum over squared row norms. These steps bound the pairwise Frobenius distances within distortion ε, with failure probability δ, for sketch width N=O(ε−2log(dLM/δ)). Here dL is the number of rows and M the pool size. For a fixed nonzero difference D of two updates and independent entries Ξij∼N(0,1/N),
The second relation gives the scale of the distortion. The argument assumes a fixed finite pool that is independent of the shared Ξ. It requires no rank or incoherence condition.
The formal guarantee applies to the raw sketch. Normalisation and PCA are later representation stages, and the Appendix B sentence should not have extended the guarantee to them. At width N=64, we drew five independent sketches of all 33,670 LLaMA adapter pairs. The ratio of sketched to exact distances has pooled 1st–99th percentiles of 0.864–1.090, and the mean rank correlation is 0.995.