Submitted:
24 November 2026
Posted:
25 November 2026
You are already at the latest version
Abstract
Low-rank adaptation (LoRA) and its variants (DoRA, AdaLoRA, VeRA) fine-tune a frozen pretrained weight \(W_0\) through a structured low-rank update \(\Delta W\). We determine the worst-case complexity of the underlying fitting problem in a linear sequence-readout model and quantify the gap between exact low-rank solutions and what polynomial-time algorithms can return. (i) Deciding whether a rank-\(r\) update interpolates a rational dataset is \(\mathrm{ER}\)-complete for every fixed \(r \ge 1\), every frozen \(W_0\) and every full-row-rank linear readout. The same holds for DoRA at \(W_0 = 0\), for budget-one AdaLoRA with or without orthogonality constraints, and for VeRA with both scaling vectors trainable and any frozen bases in general position; with one scaling vector frozen, VeRA is a linear least-squares problem. (ii) An explicit repeated-squaring family with \(O(1)\)-bit data forces every exact rank-one solution to have Frobenius norm at least \(2^{2^{n-1}}\). Consequently every procedure whose output has norm \(2^{\mathrm{poly}(n)}\), which includes all polynomial-time algorithms in the bit model, step-bounded first-order methods and weight-decay descent, incurs mean-squared error at least \(1/(25N)\), whereas full fine-tuning interpolates the same data with a matrix of norm \(7\). (iii) Even on instances whose exact solutions have norm at most \(n\), distinguishing zero loss from mean loss at least \(c_0/N\) with \(c_0 = 1/62500\) is NP-hard. Hence no polynomial-time algorithm guarantees an inverse-polynomial excess risk unless \(\mathrm{P} = \mathrm{NP}\), while full fine-tuning solves the same instances exactly. Finally, these pathologies require ill-conditioned measurements: the repeated-squaring family has restricted strong convexity constant at most \(2^{-2^n}/N\), and under restricted strong convexity exact solutions are norm-bounded and parameter error is controlled by excess risk.
Keywords:
existential theory of reals
; low rank adaptation
; large language models
; LLMs
; real algebraic complexity
1. Introduction
Low-Rank Adaptation (LoRA) [8] adapts a frozen weight by a factored update with , trained by first-order methods. Variants decouple column magnitude and direction (DoRA [12]), prune singular triplets under a budget (AdaLoRA [23]), or train only diagonal scalings of frozen random bases (VeRA [11]). We ask two questions: how hard is the fitting problem that these methods attack, and how far can a polynomial-time procedure be from its exact solutions?
Contributions.
- Exact feasibility (Section 3). Deciding whether a rank-r update achieves zero empirical risk is -complete for every fixed (Theorem 1), for every frozen and every full-row-rank linear readout. The proof is the rank-one lift of quadratic systems pointed out to the author by M. Bläser. The result transfers to DoRA at , to budget-one AdaLoRA and to VeRA with both scalings trainable for any frozen bases in general position. With one scaling frozen, VeRA is linear least squares.
- Representation gap (Section 5.1). On an explicit repeated-squaring family, every exact rank-one solution has norm at least . Every output of norm has mean loss at least . Full fine-tuning interpolates with norm 7 (Theorem 5). This gap is unconditional but representational.
- Computational gap (Section 5.2). On instances whose exact solutions have norm at most n, it is NP-hard to distinguish from (Theorem 6). The gap is therefore not an artefact of solution size.
- Well-conditioned regime (Section 5.3). Under restricted strong convexity, exact solutions are norm-bounded and parameter error is controlled by excess risk. The repeated-squaring family violates restricted strong convexity doubly exponentially.
Related work.
Matrix rank over affine families of matrices is classical. Buss, Frandsen and Shallit [5] showed that the minimum rank of a matrix whose entries are constants or variables is polynomial-time equivalent to the existential theory of the field, with the rank part of the input. The author [13] proved -completeness of affine rank minimization at a constant rank. Theorem 1 sharpens this to rank one in the LoRA readout model. Abrahamsen, Kleist and Miltzow [1] proved -completeness of training two-layer networks with identity activations and adversarial (non-fully-connected) architectures. Their linear networks are factorizations with prescribed zero patterns in the factors. Our factors are dense, and hardness enters through the data. Bertschinger et al. [3] extended -completeness to fully connected two-layer ReLU networks. Gillis and Glineur [7] showed that rank-one weighted low-rank approximation is NP-hard, also approximately. Their measurements are entrywise, while Theorem 6 uses general linear measurements and gives a zero-versus-constant gap with norm-bounded solutions. Nonnegative rank is -complete by Shitov’s universality theorem [18] (NP-hardness: Vavasis [21]). Its hardness comes from nonnegativity, which is absent here. On the algorithmic side, nonconvex matrix sensing has no spurious local minima under a sufficiently small restricted isometry constant [4,6,14]. The threshold is sharp for symmetric rank one [24]. LoRA in the NTK regime has no spurious local minima once exceeds the number of constraints [9], and the expressive power of LoRA is analysed in [22]. Our results concern fixed small rank and worst-case data, which these results exclude.
2. Preliminaries
2.1. and Quadratic Systems
is the class of problems polynomial-time reducible to deciding sentences , with a Boolean combination of polynomial equations and inequalities with integer coefficients [16,17]. . The problem is defined as follows. Given symmetric and , decide whether some satisfies for all i. is -complete [17]. Auxiliary variables reduce any polynomial system to degree two. A coordinate with then absorbs linear and constant terms: becomes with and . We may therefore assume and , where .
2.2. Linear Sequence-Readout Model
Write . A frozen weight acts tokenwise on a sequence , and a frozen readout of full row rank returns
For this is the trace readout with . A dataset defines , , and
L denotes the bit-length of .
Lemma 1
(Realizability). For every , the sequence with satisfies and has bit-length polynomial in that of . For , . Hence any rational constraints are imposed exactly by samples , and then .
Proof.
. □
All reductions below are therefore stated as lists of linear constraints on . They are valid for every prescribed and every full-row-rank G, and in particular for and .
Definition 1.
For fixed , is the following problem. Given , decide whether there exist with .
3. Exact Feasibility
Theorem 1.
For every fixed , is -complete. Hardness holds for every polynomial-time computable family of frozen weights and full-row-rank readouts G.
Proof.
Membership. The conditions for form a polynomial system in real unknowns.
Hardness, . Take a instance with and . Impose, via Lemma 1,
on . If x solves , then satisfies (Q) and (S). Conversely, (S) makes X symmetric, so gives with . Constraint (Q) with gives , so , and then for all i.
Hardness, . Let and write in blocks. Impose (Q) and (S) on the leading block X. Also impose for , and whenever exactly one of exceeds n. Feasible matrices are exactly , and . So if and only if , and the rank-one case applies. For the converse take . □
Theorem 2
(DoRA). Let with , defined when all columns of C are nonzero. Deciding whether some with nonzero columns attains is -complete, and -hard already at .
Proof.
Membership. Introduce with and . These force and . Then is polynomial in the unknowns .
Hardness. At , , which is nonzero if and only if and . Then with , and w ranges over all of as m does. Hence the reachable set is , so on every dataset DoRA feasibility at coincides with . Theorem 1 applies. □
Remark 1.
At the magnitude-direction decoupling of DoRA collapses onto rank-one LoRA. Hardness for in general position is open.
Theorem 3
(AdaLoRA, budget one). Let with , , and , with or without the constraints . In both cases deciding is -complete.
Proof.
Membership. Orthogonality is polynomial, and is the disjunction .
Hardness. In both cases the reachable set is . On one side, . On the other, write with and . Take , , , and complete P and Q to orthonormal frames, which is possible since . Theorem 1 applies. □
Remark 2.
AdaLoRA enforces orthogonality by a penalty and selects triplets by importance scores [23]. Neither changes the set of updates reachable under budget one, which is all that zero-loss feasibility depends on.
Theorem 4
(VeRA). Let with frozen , , , , , and .
- With b and d trainable, zero-loss feasibility is in .
- Call admissible if has full row rank and some with makes entrywise nonzero. For every polynomial-time computable family of admissible bases, feasibility restricted to that family (with r part of the input) is -hard.
- If b or d is frozen, is minimized to exact rational optimality in polynomial time.
Proof. (1) is bilinear in .
(2) Write , let ∘ and ⊘ denote entrywise product and quotient, and set . Then . For a constraint on matrices, define by and . Then
As ranges over , Z ranges over all matrices of rank at most 1, and enters no constraint. Applying this transformation to the instance of Theorem 1 in dimension r and using Lemma 1 gives the reduction. The choice , is admissible.
(3) With d frozen, is linear in b, and is the least-squares objective for a rational H. The consistent normal equations are solved exactly by fraction-free elimination. The case of frozen b is symmetric. □
4. Algorithm Classes and Norm Bounds
Practical LoRA minimizes with . The penalty is the variational form of the nuclear norm [15,19]. We consider three output classes. In each, .
- : algorithms in the bit model with running time and rational output .
- : K iterations with and . This covers normalized and clipped gradient methods. It also covers Adam, whose per-coordinate step is bounded by a constant multiple of the learning rate [10], with , and AdamW with , since decoupled decay is then non-expansive.
- : any with , i.e., every output of a descent method on .
Lemma 2.
Outputs satisfy the following bounds.
- In : .
- In : .
- In : . For the standard initialization this is .
In particular whenever p, K, , and are polynomial.
Proof. (1) Entries have bit-length at most , so their magnitude is at most , and . (2) Use the triangle inequality and submultiplicativity. (3) . □
Remark 3.
Fixed-step gradient descent in exact real arithmetic is in none of these classes. Since is cubic, one step can map parameter norm ρ to , so K steps can reach norms . The results of Section 5.1 concern the classes above. Any floating-point implementation lies in .
5. Bounds on the Exact-Versus-Algorithm Gap
For an output define and, when is attained at , .
5.1. Representation Gap
Consider the system in , :
that is, , and . Let be the rank-one instance of Theorem 1 with and . It has samples, all matrix entries in and targets in .
Theorem 5.
On :
- , and every exact rank-one solution is with and for . Hence .
- Full fine-tuning interpolates with , which has .
- Every X with and satisfies .
Consequently, for every polynomial p and every output with , in particular every output of the classes in Lemma 2, we have for
Proof. (1) By Theorem 1, exact solutions are with x solving (2). Then , and , and .
(2) Substitute directly. The equation reads , and every other equation involves only zero entries.
(3) forces every residual below . Thus and . For , the symmetry residual and the -residual together give and . Let . Rank one gives , so
This also gives , so by induction . With we obtain .
The consequences follow from (1) and (3) and the reverse triangle inequality once . □
Remark 4.
Theorem 5 is unconditional but representational: doubly exponential solution sizes are the classical behaviour of (repeated squaring; see [2]). The rank constraint is responsible for it, since by (2) full fine-tuning has a solution of norm 7. Bit-model algorithms are covered because they cannot write down the solution. The next theorem removes the size effect.
5.2. Computational Gap with Norm-Bounded Solutions
Theorem 6.
There is a polynomial-time map from 3-CNF formulas φ to rank-one instances (, , measurement entries in , targets in ) with the following properties.
- If φ is satisfiable, some attains with .
- If φ is unsatisfiable, every X with has .
Proof.
Construction. Let have variables and clauses . Index coordinates by 0 (homogenizing), (variables) and one coordinate per clause, so . For a literal ℓ put if and if , so that when . For with auxiliary coordinate w, impose
Completeness. Take a satisfying assignment a and set with and . Then (B) holds because z is Boolean. (C1) holds by the definition of w. (C2) holds because . Finally .
Soundness. Let with every residual at most .
- By (P), . A rank-one matrix with satisfies , where and .
- By (S), . By (B), , so . If , the left side exceeds while the right side is below , a contradiction. Hence and . Since , the point lies within of some . Also .
- Writing and using the bounds of step 2, for all .
- Each has at most two nonzeros in . Hence (C1) gives , and (C2) gives . Both sides are integers, so equality holds exactly. Therefore for every clause, and a satisfies .
So if is unsatisfiable, some residual exceeds , and . □
Corollary 1.
Unless , no algorithm in outputs a rank-one with on all instances with , even when restricted to instances having a zero-loss solution of norm at most n. Full fine-tuning solves the same instances exactly in polynomial time by linear least squares.
Proof.
Run the algorithm on the instance of Theorem 6, evaluate of the output exactly, and accept if and only if . □
Remark 5.
Theorem 6 is an NP-hardness gap. Whether -hardness survives a constant additive gap is open, since no standard gap theory for is available.
5.3. Well-Conditioned Regime
Definition 2.
satisfies -RSC at rank k if for all Z with . Set . After rescaling, this is a restricted isometry with constant .
Proposition 1.
The following hold.
- If the lower bound holds at rank r and is attained at , then .
- If and the lower bound holds at rank , then every rank-r output satisfies .
- On , the best constant at rank one satisfies .
Proof. (1) .
(2) , so .
(3) Take . Then , while . □
Remark 6.
Under a sufficiently small absolute restricted-isometry constant, factored objectives have no spurious second-order critical points: [4] for the symmetric case, and [6,14] for the asymmetric case with a balancing regularizer. Local linear convergence from spectral initialization is given in [20]. These guarantees need aconstantthreshold. For symmetric rank one, is necessary and sufficient [24], so already admits spurious local minima, and a merely polynomial κ guarantees nothing. No such result covers the standard LoRA initialization . At that point when , and the first step moves to the rank-r sketch of the full fine-tuning gradient.
Table 1.
Summary.
| Setting | Complexity | Exact solution norm | Gap for polynomial-time output |
|---|---|---|---|
| LoRA, any fixed rank | -complete | — | — |
| LoRA, rank 1, family | — | , unconditional | |
| LoRA, rank 1, Thm. 6 | NP-hard gap | unless P=NP | |
| DoRA (), AdaLoRA (budget 1) | -complete | same reachable set as rank-1 LoRA: Thms. 5–6 transfer | |
| VeRA, both scalings trainable | -complete | — | — |
| VeRA, one scaling frozen | P | — | 0 (exact optimum) |
| Full fine-tuning | P | 7 on | 0 (exact optimum) |
| Lower RSC, | — | if | |
6. Conclusions and Open Problems
The data-fitting problem attacked by LoRA is -complete at every fixed rank, and so are its DoRA, AdaLoRA and two-sided VeRA counterparts. Polynomial-time procedures face two separate barriers. The first is an unconditional representation gap driven by doubly exponential solution sizes. The second is an NP-hard additive gap that persists when solutions are small. Full fine-tuning faces neither barrier on the same instances, so both are caused by the rank constraint. All hard instances are worst-case and ill-conditioned. Open problems:
- an -hard version of Theorem 6;
- hardness of DoRA for in general position;
- rank-r versions of Theorems 5 and 6, since padding transfers the exact statements but the approximate parts need a robust rank-r analogue of step 1 of the soundness proof;
- the dynamics of the standard initialization on these families;
- average-case behaviour for random readouts and data.
Acknowledgments
The author thanks Markus Bläser for pointing out the rank-one lift of quadratic systems that underpins Theorem 1.
References
- Abrahamsen, M.; Kleist, L.; Miltzow, T. Training neural networks is ∃ℝ-complete. NeurIPS 2021, 34, 18293–18306. [Google Scholar]
- Basu, S.; Pollack, R.; Roy, M.-F. Algorithms in Real Algebraic Geometry, 2nd ed.; Springer, 2006. [Google Scholar]
- Bertschinger, D.; Hertrich, C.; Jungeblut, P.; Miltzow, T.; Weber, S. Training fully connected neural networks is ∃ℝ-complete. NeurIPS 2023, 36, 36222–36237. [Google Scholar] [CrossRef]
- Bhojanapalli, S.; Neyshabur, B.; Srebro, N. Global optimality of local search for low rank matrix recovery. NeurIPS 2016, 29. [Google Scholar]
- Buss, J. F.; Frandsen, G. S.; Shallit, J. O. The computational complexity of some problems of linear algebra. J. Comput. Syst. Sci. 1999, 58(3), 572–596. [Google Scholar] [CrossRef]
- Ge, R.; Jin, C.; Zheng, Y. No spurious local minima in nonconvex low rank problems: a unified geometric analysis. ICML 2017. [Google Scholar] [CrossRef]
- Gillis, N.; Glineur, F. Low-rank matrix approximation with weights or missing data is NP-hard. SIAM J. Matrix Anal. Appl. 2011, 32(4), 1149–1165. [Google Scholar] [CrossRef]
- Hu, E. J.; et al. LoRA: Low-rank adaptation of large language models. ICLR 2022. [Google Scholar] [CrossRef]
- Jang, U.; Lee, J. D.; Ryu, E. K. LoRA training in the NTK regime has no spurious local minima. ICML, PMLR 2024, 235, 21306–21328. [Google Scholar]
- D. P. Kingma, J. Ba, Adam: A method for stochastic optimization. ICLR 2015. [Google Scholar]
- Kopiczko, D. J.; Blankevoort, T.; Asano, Y. M. VeRA: Vector-based random matrix adaptation. ICLR 2024. [Google Scholar] [CrossRef]
- Liu, S.-Y.; et al. DoRA: Weight-decomposed low-rank adaptation. ICML 2024. [Google Scholar] [CrossRef]
- Majumdar, A. Affine rank minimization is ∃ℝ-complete. arXiv 2026, arXiv:2602.14037. [Google Scholar]
- Park, D.; Kyrillidis, A.; Caramanis, C.; Sanghavi, S. Non-square matrix sensing without spurious local minima via the Burer–Monteiro approach. AISTATS 2017. [Google Scholar] [CrossRef]
- Recht, B.; Fazel, M.; Parrilo, P. A. Guaranteed minimum-rank solutions of linear matrix equations via nuclear norm minimization. SIAM Rev. 2010, 52(3), 471–501. [Google Scholar] [CrossRef]
- Schaefer, M. Complexity of some geometric and topological problems. Graph Draw. 2009, LNCS 5849, 334–344. [Google Scholar] [CrossRef]
- Schaefer, M.; Štefankovič, D. Fixed points, Nash equilibria, and the existential theory of the reals. Theory Comput. Syst. 2017, 60(2), 172–193. [Google Scholar] [CrossRef]
- Shitov, Y. A universality theorem for nonnegative matrix factorizations. arXiv 2016, arXiv:1606.09068. [Google Scholar]
- Srebro, N.; Rennie, J.; Jaakkola, T. Maximum-margin matrix factorization. NeurIPS 2005, 17. [Google Scholar] [CrossRef]
- Tu, S.; Boczar, R.; Simchowitz, M.; Soltanolkotabi, M.; Recht, B. Low-rank solutions of linear matrix equations via Procrustes flow. ICML 2016. [Google Scholar] [CrossRef]
- Vavasis, S. A. On the complexity of nonnegative matrix factorization. SIAM J. Optim. 2009, 20(3), 1364–1377. [Google Scholar] [CrossRef]
- Zeng, Y.; Lee, K. The expressive power of low-rank adaptation. ICLR 2024. [Google Scholar] [CrossRef]
- Zhang, Q.; et al. Adaptive budget allocation for parameter-efficient fine-tuning. ICLR 2023. [Google Scholar] [CrossRef]
- Zhang, R. Y.; Sojoudi, S.; Lavaei, J. Sharp restricted isometry bounds for the inexistence of spurious local minima in nonconvex matrix recovery. J. Mach. Learn. Res. 2019, 20(114), 1–34. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.