cs.LGSep 29, 2026

When Can Prefixes Compile LoRA? Exact Resource-Capped Tests for Frozen Attention

Authors: Joyanta Jyoti Mondal, Ibne Farabi Shihab

Organizations: Department of Computer and Information Sciences, University of Delaware, USA · Department of Computer Science, Iowa State University, USA

Abstract

Can a fixed continuous prefix replace a given low-rank adapter while the attention head stays frozen? In this research, we show that the answer depends on the adapter's target through three conditions. First, observability: at one causal readout, every independent key--value prefix sees the content only through the query, attention partition, and value numerator, so a target that differs on two inputs with equal summaries incurs an error floor at every prefix length; norm caps extend this floor to nearly equal summaries. Second, realizability: at a common query, any prefix reduces exactly to two aggregate variables, and the norm-capped optimum is an attained second-order-cone program, also after a fixed output projection; it places two equal-norm rank-one value updates on opposite sides of compilability. Third, implementation: under affine query exposure, 2r2r signed slots approximate a rank-rr value update, but their values grow as O(ε−3/2)O(ε^{-3/2}), and the construction passes all 400 tolerance checks in float64 yet only 38 in bfloat16. A first-layer GPT-2 readout with fixed token and position meets the common-query condition without clamping activations; at three such heads, the capped optimum leaves 18.4% to 74.2% of the projected adapter effect uncompiled, with a head-dependent value--query ordering. All claims concern local approximation at one head, not whole-network equivalence.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Finer Parameter Steps for Low-Rank PEFT: A Controlled Study with CP Tensor Adapters

    May 29, 2026Xinjue Wang, Xiuheng Wang, Yejun Zhang +3Tensor DecompositionAdapter Tuning

  2. Rethinking Adapter Placement: A Dominant Adaptation Module Perspective

    May 7, 2026Suoxin Zhang, Run He, Di Fang +3LLM Fine-TuningAdapter Tuning

  3. Prefix-Tuning for Arbitrary Output Sequences on Pretrained Transformers

    Oct 16, 2026Peter Cho-Ho Lam, Ziyi Wang, Zirui ZhouPrefix TuningParameter-Efficient Fine-Tuning