Fine-Tuning and Low-Rank Adaptation
A pretrained encoder can be read by a probe, rewritten by full fine-tuning, or nudged inside a low-rank subspace. The factored update's first step is a random sketch of the full one, its two factors conserve a hyperbola under gradient flow, and what fine-tuning never touches is what it forgets least. On a toy encoder, the full update turns out to be nearly low-rank, and LoRA forgets more than full fine-tuning at ten times its rate but less at the same rate
Overview & Motivation
The aspect sentiment topic ended on a limit. One attention layer whose query is the aspect is a signed vote, and replacing one word by another moves the vote in a direction no context can reverse, so no such layer reads “sales were not weak this period”. It pointed to the standard escape: a pretrained encoder, fine-tuned, in which every word’s representation is already a function of its neighbors. This page does that. The encoder is the one the masked-LM topic trained from scratch on synthetic filings: an -word vocabulary, positions, width , two pre-LN blocks, parameters. The task is Topic 19’s: read the polarity of a gold aspect, from the mean of the encoder’s final states over the aspect’s words.
There are three ways to adapt a pretrained network to a task:
- Read it. Train a classifier on its frozen features, the linear probe of formalML’s
representation-learning. - Rewrite it. Train every weight from the pretrained start with a new head (Devlin and colleagues 2019).
- Nudge it. Freeze every weight and train a low-rank correction to each matrix (Hu and colleagues 2022).
On test aspects, the probe reads . The same encoder never pretrained, fine-tuned identically, reads . The pretrained encoder, fine-tuned, reads to over three seeds. The gap between the last two is what pretraining buys, and its largest part, construction by construction, is negation: negated adjectives are read at to against . Counted in rows, plain adjectives gain more, since there are four times as many of them.
The page proves what can be said exactly about the third way and measures the rest on this encoder, in order:
- One weight, two factors. What the factorization gives and costs.
- The first step. Why the scale must fall like .
- What two factors conserve. A hyperbola under gradient flow.
- Is the update low-rank? Full fine-tuning’s answer.
- What fine-tuning leaves alone. The span lemma, probe-first fine-tuning, and forgetting.
- Two lenses on why a small update suffices. Random subspaces and kernels.
- Reading negation in filings. A shortcut, its repair, and document tone.
One weight, two factors
Start with one number. A weight is frozen, and the adaptation moves it by , a product of two trained numbers and and a fixed scale . Every update is reached along a whole curve of pairs, the hyperbola , so the parameters are not identified by the function they compute. If starts at , the update starts at . The matrix version is the same picture in higher dimension.
Definition 1 (Low-rank adaptation).
A layer maps a row vector to with . Its low-rank adaptation freezes and trains
from with independent entries, , and . The scale is (Hu and colleagues) or (rank-stabilized, Kalajdzievski 2023), for a constant . A probe trains only a new head on frozen features; full fine-tuning trains every parameter.
Hu and colleagues write the transpose, for column vectors, with their zero and their random. We keep the roles: is the random factor and the one that starts at zero. Their text draws from a Gaussian; their reference code draws it from a uniform distribution.
Proposition 1 (What the factorization buys and costs).
(a) , with trained parameters in place of .
(b) , so after training the update merges into one matrix and inference costs nothing extra.
(c) For every invertible , the pair gives the same update, so the factors are not identified.
(d) When , two updates of rank can sum to rank , so the set of rank-at-most- updates is not a linear space.
Proof.
(a) The columns of are combinations of the columns of . (b) and (c) are associativity: . (d) The sum is times the stacked matrix of over , so it has rank when has independent columns and the stacked matrix has independent rows; at , has rank . Column spaces that meet only at are not enough: has rank .
∎On this encoder we adapt the query and value maps of both blocks, as Hu and colleagues do in most of their experiments. Each is a matrix once the four heads sit side by side, so rank trains numbers of the encoder’s . The One weight, two factors tab draws the one-dimensional picture: the loss in the plane, and the paths of gradient descent and of Adam from .
Theorem 2: gradient flow keeps a² − b² fixed, so the path rides its hyperbola to the one minimizer on it, and b can grow only as fast as a. GD's drift is O(η) over the run, so it grows with the step; Adam rescales each coordinate, and its paths drift much further. Both paths run 400 steps.
The first step of a factored update
Write for the gradient full fine-tuning would use at the current weights. The chain rule (formalCalculus jacobian, Theorem 2) gives the factors’ gradients in terms of , and at the zero start one of them vanishes.
Theorem 1 (The factored gradient and the first step).
(a) and .
(b) At , , and one SGD step of rate moves the weights by
the full step pushed through the random map of rank .
(c) , so : under the mean step shrinks like , and under it does not depend on . A single draw is noisy: , a relative deviation of .
(d) Adam’s first step from zero moments, with its set to , is the sign step , so , and when no entry of is zero,
Proof.
(a) depends on through , so a change changes by ; likewise .
(b) At the first gradient is . The step sets and leaves at , so .
(c) Write for the columns of , so and . The terms are independent with mean , so the expected squared norm of their sum is . For a Gaussian vector, and , which gives . Dividing by gives .
(d) Adam’s first update is with and after bias correction, which is when ; the sign of is the sign of . Let , an matrix of signs with columns , . Then , and each term lies between and .
∎For a Gaussian with , the singular values of lie within in expectation (Vershynin 2012, Theorem 5.32, with the tail bound of Corollary 5.35). So under Adam is about : it stays put as grows only under , for every draw. Kalajdzievski’s Theorem 3.2 proves the general version for SGD, at every fixed step as ; part (c) is its first step made exact, and part (d), for Adam, is ours.
On the encoder, from the probe’s head (at a zero head every encoder gradient is zero), we averaged draws of for each rank, with the same draws under both scales. Under Adam with , the first step’s size moves from at to at . With it falls to , exactly times the other. Under SGD with , the mean step is at every rank, but a single draw’s size at , averaged over the , is , and it falls toward the mean, reaching at . The moments behind part (c) give the exact law: for a Gaussian column , so and, for every , . A draw’s root-mean-square size is then times the mean at and times it at , so even at it stays about above the mean; over the draws the ratios are and . The Rank and scaling tab plots these, and what training made of them.
Trained for three epochs at one rate, the scale decides the update’s size more than its accuracy. Under , the merged update grows from at rank to at rank ; under it shrinks to . On this seed the accuracies cross ( against at rank , against at rank ), but both gaps sit inside the spread of the headline LoRA run over three seeds ( to ), so neither scale wins here. Rank stability promises that the right learning rate does not move with , not that one scale wins at a fixed rate.
What two factors conserve
Back in one dimension, gradient descent on for a loss of has and for the same scalar , so . The path never leaves the hyperbola it starts on, and from that is : the factor that started at zero can grow only as fast as the other.
Theorem 2 (Balancedness).
(a) Under gradient flow on , . From , for all time, and in particular .
(b) One gradient-descent step of size changes by exactly .
Proof.
(a) By Theorem 1(a), and . Then and , the same matrix. Taking traces gives the norms.
(b) With and , expand and . The terms linear in are equal, as in (a), and the quadratic terms are and .
∎This is Theorem 2.2 of Du, Hu, and Lee (2018), for consecutive linear layers, and part (b) is their Claim B.1; Arora, Cohen, and Hazan (2018) use the same invariant (their Equation 9). Part (b) makes the drift per step, so over a fixed time horizon it is . On a small least-squares problem, halving halves the drift at a fixed horizon: the slope against on log axes is .
Adam is not gradient descent. It divides every coordinate by its own running scale, and the invariant goes. Fine-tuning the encoder with Adam, the headline LoRA run ends with moved, in the worst of its four matrices, by times the size of . In the kernel experiment below ( rows, from the probe’s head, full-batch steps), gradient descent at its stable rate keeps it within , while Adam from the same start moves it by . In the lab, gradient descent drifts off only by the terms of part (b), and the Adam paths drift much further.
Is the update low-rank?
Hu and colleagues hypothesized that the update full fine-tuning makes has a low intrinsic rank, which is why a rank- correction can stand in for it. We can ask full fine-tuning directly: take its update to each of the twelve block matrices (query, key, value, output, and the two MLP maps, in both blocks) and look at its singular values.
Proposition 2 (Truncating the full update).
For any with singular values , the truncated SVD , which keeps the top singular triples, minimizes over all of rank at most , with .
This is the Eckart–Young–Mirsky theorem, proved in full as Theorem 2 of formalML’s svd. Two yardsticks say whether an update is low-rank. The first is a random matrix of the same size and the same Frobenius norm, whose largest singular value sits near with , the edge of the Marchenko–Pastur law (formalML’s double-descent, Theorem 1). The second is accuracy: merge the truncated update back in and score the result.
For full fine-tuning’s first seed, every one of the twelve updates has its top singular value to times above that edge, and a stable rank between and , out of a possible . The accuracy confirms it. With every block-matrix update removed and only the fine-tuned biases, embeddings, and head kept, the model reads ; with every update truncated to rank , ; to rank , ; to rank , ; to rank , ; and the full update reads . On the other two seeds rank keeps of and of , and on all three rank is within of the full update. The What full fine-tuning changed tab shows the spectra and slides the truncation.
So a rank- update to every block matrix exists that does nearly everything full fine-tuning does, and LoRA cannot express it: LoRA adapts only the query and value maps, and no embedding. Inside that class, full fine-tuning’s own update does little. Keep only its query and value updates, put every other weight, bias, and embedding back at its pretrained value, and refit the probe: it reads to at rank over three seeds, and at most at full rank. LoRA trained at rank in the same class reads under and under . The update that does the work is spread over all twelve matrices; inside its own class, LoRA finds a far better one than full fine-tuning did.
What fine-tuning leaves alone
Gradient descent on a linear layer has a simple structure: the gradient of is a sum of outer products of the layer’s inputs with the backpropagated signals, so every step lies in the span of the inputs the layer saw.
Theorem 3 (What fine-tuning leaves alone).
(a) Let a linear map be trained by SGD on fixed inputs , and let be their span. The columns of lie in , so for every orthogonal to .
(b) In the encoder, an embedding row whose token never occurs in the fine-tuning inputs has zero gradient at every step, so it never moves, under SGD, under Adam, and under the L2-SP penalty of Proposition 3.
(c) Let with and be trained by gradient flow on squared loss, from , on inputs spanning , with targets . Then for all and all . If the features are perfect, for an invertible , the training features span , and is the probe’s least-squares head, then the loss is at every input, in or not, for all .
Proof.
(a) The gradient of is , with the gradient of at . Its columns lie in , and so does every sum of such steps. For , .
(b) The embedding gradient is a sum over input positions of the backpropagated signal at that position, scattered to the row of the position’s token, so an absent token’s row receives at every step. Adam’s moments for that row then stay , and its update is . L2-SP adds , which is while the row sits at , so by induction it stays there.
(c) The flow is up to a constant factor, with the inputs as rows of , so whenever : that is Kumar and colleagues’ Lemma A.3. With perfect features, the head fits the targets exactly, since . The training features span , so it is the unique least-squares head, and the probe returns it. Without that hypothesis the claim fails: with and inputs along only, the minimum-norm head fits every training input and reads as . Its residual on the training inputs is , so both gradients are , nothing moves, and the identity holds at every input.
∎Part (c) is the easy half of Kumar and colleagues’ Proposition 3.7. The hard half, which we cite, is their Theorem 3.3: from a head that does not already fit, fine-tuning changes the features on while leaving them fixed off it, so the head it learns no longer matches the features of inputs off , and the out-of-distribution error is bounded below. Their remedy is LP-FT: fit the probe first, then fine-tune everything from there. On a toy of their form, with , , and a training span of dimension , the features never move off the span ( at most), and the out-of-distribution loss stays at from the probe’s head but reaches from a random one.
On the encoder, part (b) is exact. The training rows leave of the token rows unseen; full fine-tuning moves exactly the other and none of the , and LoRA moves no embedding at all. Part (a) is a gradient-descent fact. On a linear toy, SGD leaves the component of the update off the span at , and Adam, with the same data, at .
Forgetting is what fine-tuning does to the pretrained skill, and we measure it as the rise of held-out masked-LM loss on test filings, from for the pretrained encoder. Full fine-tuning ends at to over three seeds. LP-FT, from the probe’s head, ends at to while reading to , within a point of full fine-tuning on average (means and ; full fine-tuning spreads over to ) and with less than half its forgetting. LoRA ends at to while reading only to .
That ranking seems to contradict Biderman and colleagues (2024), who found on Llama-2-7B that LoRA learns less and forgets less. Here it learns less and forgets more, but LoRA runs at ten times full fine-tuning’s rate (Biderman and colleagues report the same gap in their best rates). Run the two at a shared rate and the ranking turns around. At full fine-tuning’s , LoRA reads to and ends at to , under full fine-tuning’s to . At , full fine-tuning reads to and ends at to ; LoRA reads to and ends at to . At LoRA’s , full fine-tuning reads to and ends at to , over LoRA’s to . In all nine seed-matched pairs, LoRA learns less and forgets less, which is the direction Biderman and colleagues found. Update size does not explain it: confined to the query and value maps, LoRA moves them by at rank , where full fine-tuning at moves the same four matrices by and at by about , while full fine-tuning, which forgets more at the shared rate, moves every other matrix too. LP-FT, at its own rate, forgets less than every LoRA run at every rate, and every LoRA run in the main grid is beaten by every LP-FT run on both counts.
A third way to keep the pretrained skill is to penalize distance from it.
Proposition 3 (L2-SP is a prior at the pretrained weights).
The penalty is up to a constant, so the penalized optimum is the MAP estimate under that prior. For a quadratic loss , the penalized optimum is
which shrinks the full displacement by along each eigenvector of with eigenvalue .
Proof.
The Gaussian log-density is plus a constant. Setting the gradient to gives . In the eigenbasis of both matrices are diagonal.
∎The first statement is Theorem 5 of formalStatistics’ regularization-and-penalized-estimation, and the shrinkage is its Remark 4 on ridge seen through the SVD, here centered at instead of . Li, Grandvalet, and Davoine (2018) introduced the penalty as L2-SP; they also penalize the new head toward , which we do not. Elastic weight consolidation (Kirkpatrick and colleagues 2017) replaces by the Fisher information, the metric of formalML’s information-geometry. L2-SP trades accuracy for retention: reads with loss , and reads with loss . Full fine-tuning at three-tenths of its rate reads with loss . LP-FT gets the retention without that price. The Learning vs. forgetting tab plots every run on these two axes.
Two lenses on why a small update suffices
LoRA restricts the update to a small set. Two older ideas explain why a small set can be enough, and both can be checked on this encoder.
A random subspace. Li and colleagues (2018) trained networks inside a random subspace, for a fixed matrix and trained , and called the least that reaches percent of ordinary training the intrinsic dimension. Aghajanyan, Gupta, and Zettlemoyer (2021) measured it for fine-tuning and found that pretraining lowers it. We use the cheapest such .
Proposition 4 (A random subspace step is unbiased).
Let have exactly one nonzero entry in each row, with equal probability, in a column uniform on , all independent. Then , , and for any gradient , . A gradient step in , , is the full step in expectation.
Proof.
. On the diagonal this is . Off it, has mean and is independent of the indicator. Then , and the step’s mean is .
∎This is the structure of Theorem 1(c) again, a random map whose mean is the identity. Li and colleagues normalize the columns of instead, and Aghajanyan and colleagues use the Fastfood transform with learned per-layer scales, and under Adam a column’s scale acts as its learning rate: scaling a column by scales its gradient in by , which Adam’s step in removes, so moves times as far. The entries here move every parameter at one rate. Inside subspaces of dimension , , and , out of encoder parameters, the pretrained encoder reads , , and , and the never-pretrained one , , and . Neither reaches percent of its own full fine-tuning ( and ) on this grid, so both intrinsic dimensions exceed . The pretrained encoder leads at every dimension tried, which is Aghajanyan and colleagues’ direction, measured.
A kernel. Near its starting point a network is close to its linearization, , where is the Jacobian of the outputs at .
Proposition 5 (Linearized fine-tuning is kernel gradient descent).
Let over training pairs (example, output), , and let be any differentiable loss of the training outputs. Gradient descent on for with rate moves the outputs by
For squared loss, .
Proof.
The gradient of in is , so a step moves by , and since is affine in , any output moves by times that. For squared loss, , and the recursion is linear.
∎Corollary 1 (LoRA's kernel).
At , LoRA’s kernel over its trained factors is , summed over the adapted matrices, where is the gradient of an output at with respect to . Its mean over is times the kernel of the adapted matrices themselves.
Proof.
By Theorem 1(a), at an output’s gradient in is and in is , so the kernel is . Its mean follows from (Theorem 1(c)).
∎The kernel is the neural tangent kernel of Jacot, Gabriel, and Hongler (2018). Malladi and colleagues (2023) asked when fine-tuning a language model behaves like gradient descent with it, found that prompt-based fine-tuning often does, and proved that LoRA’s kernel is close to the full one with high probability (their Theorem 7.2), the concentrated form of Corollary 1. The lazy-training section of formalML’s double-descent is the regime in general.
A zero head has a zero Jacobian, so we linearize LoRA (rank , query and value maps) around LP-FT’s start, the probe’s head held fixed, on training rows. Kernel gradient descent and the real LoRA model trained by full-batch gradient descent for steps agree on of test rows, end at training losses and , and the kernel moves by percent. But at a stable rate, gradient descent barely trains: the loss falls only from . Adam, from the same start, drives the training loss to , its kernel moves by percent, it agrees with the kernel predictor on of test rows, and its test accuracy falls from to . Malladi and colleagues describe Adam’s early steps with a kernel built from signs; on rows, Adam does not stay in any kernel regime for long.
Reading negation in filings
Where this sits
LoRA is one of a family of parameter-efficient methods. Adapters (Houlsby and colleagues 2019) insert small trained modules instead of correcting the weights, and the methods differ in where the small set lives, not in the questions this page asked of it. The page’s answers on one toy encoder:
- the factored step is a random sketch of the full one;
- the factors are balanced only under gradient descent;
- the full update is nearly low-rank but spread over every matrix, where LoRA’s class cannot hold it;
- probe-first fine-tuning keeps what pretraining learned better than LoRA does, and at a shared rate LoRA forgets less than full fine-tuning.
Sun, Huang, and Qiu (2019) gave the encoder the aspect as a second sentence. Our reader takes the aspect’s own contextual states instead, which fits Topic 19’s definition and read better than a pair input averaged over every position when we prototyped both. The extraction topics fine-tune the same kind of encoder for span labeling, and formalRAG’s dense-retrieval-dual-encoders bounds the rank of a dual encoder’s scores, where this page bounded the rank of an update.
Honest caveats
Implementation
The companion notebook (notebookPath) imports fine_tuning_low_rank_adaptation.py, which owns every number on this page. That module imports the masked-LM topic’s module for the encoder, its training run, its corruption channel, and its vocabulary. It imports the aspect sentiment topic’s module for the aspect rows, the constructions, the contrast sets, the tone-bearing sentences, and, through it, the linear classifiers topic’s Newton solver and the document baselines. The encoder’s backward pass is lifted from the masked-LM training loop and pinned equal to it, and its attention is rewritten as flattened matrix products, pinned equal to the transformer topic’s. The harness checks:
- every gradient against central differences;
- Theorem 1’s identities exactly, its means and the fluctuation law by Monte Carlo, and Adam’s bounds on random instances;
- Theorem 2’s one-step identity and its drift’s order;
- Proposition 3’s shrinkage, Proposition 4’s moments, and Proposition 5 and Corollary 1 on random linear models;
- Theorem 3 on the linear toys and, for the embeddings, on every fine-tuning run;
- every comparison this page states, across the fine-tuning runs, including both methods at three shared rates, the truncations at every seed and inside LoRA’s class, and what the encoder calls the deleted-”not” copies.
The laboratory reads its data from a JSON file that one of the harness’s tests requires to equal the module’s viz_payload() exactly, so the figure cannot drift from the code.
Connections
- Topic 19's single attention layer cannot read negation (its Theorem 1(c)); the fine-tuned encoder here is the deep escape that topic pointed to, scored on its aspect rows and its negation quadruples. aspect-based-sentiment
References & Further Reading
- paper LoRA: Low-Rank Adaptation of Large Language Models — Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen (2022) ICLR 2022 (arXiv:2106.09685). Section 4.1: A Gaussian, B zero, the scale α/r; Section 7.2: the small intrinsic rank of the update
- paper A Rank Stabilization Scaling Factor for Fine-Tuning with LoRA — Damjan Kalajdzievski (2023) arXiv:2312.03732. Theorem 3.2: under SGD, adapters are rank-stabilized if and only if the scale is Θ(1/√r), as r grows
- paper Algorithmic Regularization in Learning Deep Homogeneous Models: Layers are Automatically Balanced — Simon S. Du, Wei Hu, and Jason D. Lee (2018) Advances in Neural Information Processing Systems 31. Theorem 2.2: gradient flow conserves the difference of consecutive linear layers' Gram matrices; Appendix B, Claim B.1: the exact change in one step
- paper On the Optimization of Deep Networks: Implicit Acceleration by Overparameterization — Sanjeev Arora, Nadav Cohen, and Elad Hazan (2018) Proceedings of the 35th ICML, PMLR 80:244–53. Equations 7 and 9: balancedness at initialization persists under gradient flow
- paper Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution — Ananya Kumar, Aditi Raghunathan, Robbie Jones, Tengyu Ma, and Percy Liang (2022) ICLR 2022. Theorem 3.3: the out-of-distribution lower bound for fine-tuning; Lemma A.3: features never move off the training span; Proposition 3.7: LP-FT on perfect features
- paper Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuning — Armen Aghajanyan, Sonal Gupta, and Luke Zettlemoyer (2021) Proceedings of ACL-IJCNLP 2021, 7319–28. d₉₀, the least subspace dimension reaching 90% of fine-tuning, and the finding that pretraining lowers it
- paper Measuring the Intrinsic Dimension of Objective Landscapes — Chunyuan Li, Heerad Farkhoor, Rosanne Liu, and Jason Yosinski (2018) ICLR 2018. Training in a random subspace θ₀ + Pz, with dense, sparse, and Fastfood projections
- paper A Kernel-Based View of Language Model Fine-Tuning — Sadhika Malladi, Alexander Wettig, Dingli Yu, Danqi Chen, and Sanjeev Arora (2023) Proceedings of the 40th ICML, PMLR 202:23610–41. When prompt-based fine-tuning behaves as a kernel method, a sign-based kernel for Adam, and LoRA's kernel (Theorem 7.2)
- paper Neural Tangent Kernel: Convergence and Generalization in Neural Networks — Arthur Jacot, Franck Gabriel, and Clément Hongler (2018) Advances in Neural Information Processing Systems 31, 8571–80. The kernel JJᵀ that governs a network trained near its initialization
- paper LoRA Learns Less and Forgets Less — Dan Biderman, Jacob Portes, Jose Javier Gonzalez Ortiz, Mansheej Paul, Philip Greengard, Connor Jennings, Daniel King, Sam Havens, Vitaliy Chiley, Jonathan Frankle, Cody Blakeney, and John P. Cunningham (2024) Transactions on Machine Learning Research, August 2024. LoRA against full fine-tuning on Llama-2-7B, with forgetting measured on HellaSwag, WinoGrande, and ARC-Challenge
- paper Explicit Inductive Bias for Transfer Learning with Convolutional Networks — Xuhong Li, Yves Grandvalet, and Franck Davoine (2018) Proceedings of the 35th ICML, PMLR 80:2825–34. L2-SP, a penalty toward the pretrained weights
- paper Overcoming Catastrophic Forgetting in Neural Networks — James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A. Rusu, Kieran Milan, et al. (2017) Proceedings of the National Academy of Sciences 114, no. 13: 3521–26. Elastic weight consolidation, a Fisher-weighted penalty toward the old weights
- paper Parameter-Efficient Transfer Learning for NLP — Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin de Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly (2019) Proceedings of the 36th ICML, PMLR 97:2790–99. Adapters: small trained modules inside a frozen network
- paper BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding — Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova (2019) Proceedings of NAACL-HLT 2019, 4171–86. Pretrain by masked-LM, then fine-tune every weight with a new head
- paper Utilizing BERT for Aspect-Based Sentiment Analysis via Constructing Auxiliary Sentence — Chi Sun, Luyao Huang, and Xipeng Qiu (2019) Proceedings of NAACL-HLT 2019, 380–85. The aspect as a second sentence for a fine-tuned encoder
- paper Learning the Difference that Makes a Difference with Counterfactually-Augmented Data — Divyansh Kaushik, Eduard Hovy, and Zachary C. Lipton (2020) ICLR 2020. Minimally edited, label-flipping training examples against spurious features
- paper Evaluating Models' Local Decision Boundaries via Contrast Sets — Matt Gardner, Yoav Artzi, Victoria Basmov, Jonathan Berant, Ben Bogin, Sihao Chen, Pradeep Dasigi, et al. (2020) Findings of EMNLP 2020, 1307–23. Small label-changing edits of test examples, the method of the negation quadruples
- book Introduction to the Non-Asymptotic Analysis of Random Matrices — Roman Vershynin (2012) In Compressed Sensing: Theory and Applications, edited by Yonina C. Eldar and Gitta Kutyniok, 210–68. Cambridge University Press. Theorem 5.32 and Corollary 5.35: a Gaussian matrix's extreme singular values