Links: [PDF] [.bib]
Authors: Omatharv Bharat Vaidya | Connor T. Jerzak | Nhat Ho | Chandrajit Bajaj
Dynamic Low-Rank Fine-Tuning Without Text-to-Weight Generation
TL;DR: The paper’s central move is: instead of giving each layer one fixed LoRA correction, it lets each block query a shared memory of low-rank update atoms. The resulting adapter stays compact, but the effective update can vary by input, depth, and—optionally—instruction.
What problem does Queryable LoRA solve?
Standard LoRA is efficient because it freezes the base model and learns a small low-rank update for each adapted layer. Its weakness is that the update is static: the same adapter fires for every input, and recurring adaptation patterns must be relearned separately across layers.
Queryable LoRA keeps the low-rank bottleneck, but makes the correction retrievable. A block forms a query from the current rank-space state, a summary of previous blocks, and optionally an instruction embedding; it then retrieves a sparse convex mixture of shared rank-space atoms. The crux is not “generate weights from text.” The crux is route over a bounded memory of reusable low-rank transformations.
How does the method change LoRA?
The paper changes the adapter inside the low-rank space. Standard LoRA applies a fixed update of the form:
ΔWℓ = (α/r) BℓAℓ
Queryable LoRA inserts a routed rank-space operator:
ΔWℓ(hℓ; c) = (α/r) Bℓ(Ir + gℓSb(c))Aℓ
Here, Sb(c) is an r × r operator assembled from shared atoms. Because it acts only in rank space, it can rotate or rescale LoRA’s adaptation direction without producing a full dense weight matrix.
| Component | Role | Why it matters |
|---|---|---|
| Shared atom bank | A global set of learned r × r rank-space update atoms. | Lets different layers and tasks reuse the same structural corrections. |
| Blockwise router | Computes one routed operator per block rather than a separate route for every layer. | Amortizes routing cost and encourages coherent depth-wise adaptation. |
| Depth summary | Attention over earlier block summaries. | Lets later blocks condition on the computational trajectory, not only the current layer state. |
| Instruction prior | Adds τlang log pm(c) to routing logits. | Biases atom selection toward semantically relevant updates without unconstrained text-to-weight generation. |
| Sparse top-k route | Selects a small active set of atoms and forms a convex mixture. | Keeps the routed operator interpretable, bounded, and cheap relative to generated full-rank updates. |
Why is this not text-to-weight generation?
The instruction does not directly synthesize adapter matrices. It changes which already-learned rank-space atoms are retrieved. In the paper’s routing equation, the instruction appears as a log-prior added to the state-dependent routing score:
joint route score = state score + τlang · log(instruction prior)
This distinction is the paper’s strongest design choice. It gives language a controlled influence over the adapter while preserving the norm control of a convex mixture over bounded atoms.
What does the empirical evidence show?
The evidence supports a qualified claim: queryable rank-space memory helps most when the target requires heterogeneous, depth-dependent corrections. The gains are clearest on Dropwave-style non-convex regression and on several small-model reasoning benchmarks. The gains are not uniform, and that non-uniformity is informative.
Selected synthetic non-convex test results
Lower MSE is better. The paper reports five independent runs for the main synthetic study. Queryable LoRA is strongest where a single static correction appears too rigid; it is less impressive on smoother or highly regular landscapes.2
| Function | LoRA test MSE | Queryable LoRA test MSE | Reading |
|---|---|---|---|
| Dropwave | 64.5079 | 2.2263 | Large gain; the method seems to help with local heterogeneity. |
| Levy | 1.3273 | 1.3028 | Small but favorable gain. |
| Matyas | 0.0255 | 0.0229 | Small gain on a smoother target. |
| Styblinski-Tang | 67.2361 | 62.2928 | Meaningful but not transformative improvement. |
| Ackley | 0.3734 | 0.3726 | Near tie; RepLoRA is slightly better in the paper’s table. |
| Rastrigin | 98.7647 | 99.6905 | Queryable routing does not dominate static LoRA here. |
Qwen0.5B general-task results
Higher accuracy is better. On these seven general benchmarks, the instruction-queryable variant improves over LoRA on every listed task and is best on six of seven; HellaSwag is the exception, where RepLoRA is slightly higher.3
| Benchmark | LoRA | Queryable LoRA | Instruction-Queryable LoRA | Instruction gain vs. LoRA |
|---|---|---|---|---|
| GPQA-Diamond | 0.253 | 0.293 | 0.323 | +0.070 |
| MBPP | 0.290 | 0.290 | 0.300 | +0.010 |
| ARC | 0.595 | 0.656 | 0.651 | +0.056 |
| SuperGLUE | 0.793 | 0.795 | 0.797 | +0.004 |
| OpenBookQA | 0.700 | 0.696 | 0.708 | +0.008 |
| RACE | 0.595 | 0.585 | 0.599 | +0.004 |
| HellaSwag | 0.617 | 0.602 | 0.623 | +0.006 |
Mathematics and reasoning results
The mathematics table is a bit more heterogeneous. The strongest queryable variant improves over LoRA on most task/model pairs, but there are a few ties or reversals. This is consistent with a method that helps when reusable depth-wise corrections matter.
| Task / model | LoRA | Best queryable variant | Best variant | Change vs. LoRA |
|---|---|---|---|---|
| GSM8K / Qwen0.5B | 0.312 | 0.324 | Instruction-queryable | +0.012 |
| GSM8K / Mistral7B | 0.375 | 0.375 | Tie | 0.000 |
| MATH / Qwen0.5B | 0.133 | 0.156 | Queryable | +0.023 |
| MATH / Mistral7B | 0.153 | 0.158 | Instruction-queryable | +0.005 |
| Orca-Math / Qwen0.5B | 0.304 | 0.344 | Tie between queryable variants | +0.040 |
| Orca-Math / Mistral7B | 0.320 | 0.352 | Queryable | +0.032 |
| Numina-Math / Qwen0.5B | 0.203 | 0.234 | Instruction-queryable | +0.031 |
Does the instruction actually matter?
The GPQA-Diamond ablation suggests that the instruction is not merely adding capacity. With the same trainable parameter count, the correct instruction reaches 0.3125 evaluation accuracy, while shuffled or random embeddings fall to 0.1875. That pattern supports the semantic-prior interpretation: useful language helps routing, mismatched language can hurt it.4
| Routing condition | Best eval accuracy | Interpretation |
|---|---|---|
| No instruction | 0.2420 | Dynamic routing alone helps less than the full semantic route. |
| Generic instruction | 0.2500 | Language without task specificity gives only a modest signal. |
| Correct instruction | 0.3125 | Task-aligned language provides the strongest route prior. |
| Shuffled instruction | 0.1875 | Semantic mismatch damages routing. |
| Random embedding, same norm | 0.1875 | The benefit is not explained by adding any vector of the right size. |
| State query only, no prior | 0.2500 | The state query remains useful, but instruction guidance changes the route. |
What does dynamic routing cost?
Queryable LoRA is slower than static LoRA, but faster than several more expressive dynamic baselines in the paper’s inference diagnostic. The reported FLOP overhead is only 0.6% relative to LoRA, so the practical cost likely comes from routing, dispatch, and implementation overhead rather than the low-rank arithmetic itself.5
| Method | Forward / prefill latency | Latency overhead vs. LoRA | Generation throughput | FLOP overhead vs. LoRA |
|---|---|---|---|---|
| LoRA | 33.1 ms | 0.0% | 31.8 tokens/s | 0.0% |
| RepLoRA | 53.0 ms | 60.2% | 18.0 tokens/s | 0.0% |
| HyRA | 83.3 ms | 151.7% | 11.3 tokens/s | 0.0% |
| Queryable LoRA | 42.3 ms | 27.9% | 22.0 tokens/s | 0.6% |
| Instruction-Queryable LoRA | 46.5 ms | 40.5% | 20.1 tokens/s | 0.6% |
What guarantees does the theory provide?
The theory does not prove that Queryable LoRA will outperform LoRA on every task. It proves something narrower and useful: the dynamic route is a controlled optimization over bounded atoms, and the shared memory receives structured gradient signals from the blocks that use it.
| Result | Plain-language meaning | Why it matters |
|---|---|---|
| Variational routing | The route uniquely maximizes state utility while staying close to the instruction prior. | Language guidance is formalized as a KL-regularized retrieval objective. |
| State-prior tradeoff | The language prior cannot arbitrarily override the state signal when the state-preferred atom has reasonable prior support. | Instruction conditioning is constrained, not absolute. |
| Norm-controlled updates | The routed operator stays inside the convex hull of bounded atoms, so the adapter update remains bounded. | Dynamic adaptation does not require unconstrained parameter generation. |
| Blockwise gradient factorization | Each retrieved atom receives gradients through the block in which it is used. | Shared atoms can learn reusable update directions from many layers and contexts. |
Bottom line
Queryable LoRA is a helpful next step for parameter-efficient fine-tuning because it attacks a real rigidity in static LoRA without jumping to unconstrained weight generation. Its best formulation is simple: keep the low-rank bottleneck, share a small bank of rank-space atoms, and route over that bank using the model’s current state, depth history, and optional instruction semantics.
The method is most compelling when the adapter must reuse corrections across depth or switch corrections across examples. It is least compelling when a static low-rank update already captures the task, or when latency matters more than adaptivity.
FAQ
Is Queryable LoRA just MoE-LoRA?
No. Both use routing, but Queryable LoRA routes over shared r × r rank-space atoms inside the LoRA bottleneck and conditions the route on block state, depth summary, and optional instructions. The routed object is a compact operator in rank space, not a full expert adapter per route.
Does the method require a natural-language instruction?
No. The router can use the model state, layer prior, and depth summary without language. Instructions add a semantic prior over atoms; setting the language terms to zero recovers a state-dependent dynamic adapter.
When should Queryable LoRA help?
It should help when the task requires different corrections for different examples or depths, especially when useful update directions recur across layers. The synthetic Dropwave result and several reasoning benchmarks support this pattern, but the claim remains task-dependent.
References
Omatharv Bharat Vaidya, Connor T. Jerzak, Nhat Ho, Chandrajit Bajaj. Queryable LoRA: Instruction-Regularized Routing Over Shared Low-Rank Update Atoms. ArXiv Preprint, 2026.
[PDF] [BibTeX]
[Overview]
Related Work
Samuel Balter, Ethan Jerzak, Connor T. Jerzak. Multiplication in Multimodal LLMs: Computation with Text, Image, and Audio Inputs. Findings of the Association for Computational Linguistics (ACL), 2026
[PDF] [BibTeX]
[Overview] [Data] [>]
Nicolas Audinet de Pieuchon, Adel Daoud, Connor T. Jerzak, Moa Johansson, Richard Johansson. Benchmarking Debiasing Methods for LLM-based Parameter Estimates. Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2025.
[PDF] [BibTeX]
[Overview] [Video] [Data] [>]
Satiyabooshan Murugaboopathy, Connor T. Jerzak, Adel Daoud. Platonic Representations for Poverty Mapping: Unified Vision-Language Codes or Agent-Induced Novelty? ArXiv Preprint, 2025.
[PDF] [BibTeX]
[Overview] [Video] [Data]
Brian Libgober, Connor T. Jerzak. Linking Datasets on Organizations Using Half-a-Billion Open-Collaborated Records. Political Science Research and Methods: 1-20, 2024.
[PDF] [BibTeX]
[Overview] [Data] [Code] [>]
Connor T. Jerzak, Gary King, Anton Strezhnev. An Improved Method of Automated Nonparametric Content Analysis for Social Science. Political Analysis, 31(1): 42-58, 2023.
[PDF] [BibTeX]
[Overview] [Data] [Code] [>]
Adel Daoud, Connor T. Jerzak, Richard Johansson. Conceptualizing Treatment Leakage in Text-based Causal Inference. Proceedings of the Annual Conference of the North American Chapter of the Association for Computational Linguistics (NAACL): 5638-5645, 2022.
[PDF] [BibTeX]
[Overview] [Video] [>]
Nicolas Audinet de Pieuchon, Adel Daoud, Connor T. Jerzak, Moa Johansson, Richard Johansson. Can Large Language Models (or Humans) Disentangle Text? Proceedings of the Sixth Workshop on Natural Language Processing and Computational Social Science (NLP+ CSS 2024): 57-67, 2024.
[PDF] [BibTeX]
[Overview] [Data] [Code] [>]
