BID-LoRA: Bi-Directional Low-Rank Adaptation
- The paper introduces BID-LoRA, a framework that employs three separate low-rank adapter pathways—retain, new, and forget—to balance continual learning unlearning tasks.
- It uses an escape unlearning objective that geometrically drives forget-class embeddings away from retain-class centroids, effectively mitigating knowledge leakage.
- The approach achieves competitive performance on benchmarks like CIFAR-100 and CASIA-Face100 with approximately 5% trainable parameters through isolated, staged adapter updates.
Searching arXiv for the cited BID-LoRA and related LoRA variants to ground the article in the relevant papers. arXiv search query: BID-LoRA (Rachapudi et al., 14 Apr 2026) BoRA (Wang et al., 2024) Bi-LoRA (Liu et al., 27 Aug 2025) Bi-Directional Low-Rank Adaptation (BID-LoRA) is a parameter-efficient framework for Continual Learning Unlearning (CLU), a setting in which a model must repeatedly forget designated data or classes, learn new data or classes, and retain previously useful knowledge over multiple adaptation cycles. In its defining formulation, BID-LoRA uses three dedicated low-rank adapter pathways—retain, new, and unlearn—applied to attention layers, together with an escape unlearning objective that pushes forget-class embeddings to positions maximally distant from retained knowledge, while updating only about of parameters (Rachapudi et al., 14 Apr 2026). The framework is motivated by the claim that naively combining existing continual learning (CL) and machine unlearning (MU) methods causes knowledge leakage, understood as a gradual degradation of foundational retained knowledge across repeated learn–forget cycles (Rachapudi et al., 14 Apr 2026).
1. CLU as the problem setting
BID-LoRA is defined for a unified regime called Continual Learning Unlearning. In this regime, a pretrained model must support three simultaneous requirements at each step of adaptation: precise deletion of unwanted knowledge, efficient integration of new knowledge while preserving prior information, and minimizing knowledge leakage across cycles (Rachapudi et al., 14 Apr 2026). The motivating scenarios explicitly include identity management systems, privacy compliance under GDPR/CCPA, dynamic face recognition, and models that must adapt to changing users, policies, or classes (Rachapudi et al., 14 Apr 2026).
The paper formalizes a pretrained model as a mapping , with denoting data to forget, the full retain set, new data to learn, and a replay buffer. The assumptions are
Before adaptation, the intended behavior is that the model maps to and 0 to 1, but not 2 to 3. After adaptation, the desired behavior reverses this status for the forget and new sets: the model should no longer map 4 to 5, should preserve mapping on 6, and should now map 7 to 8 (Rachapudi et al., 14 Apr 2026).
For the continual setting over tasks 9, the update rule is written as
0
Successful CLU is then defined through three operational criteria:
- forgetting: 1,
- retention: 2,
- learning: 3, where 4 is the number of classes (Rachapudi et al., 14 Apr 2026).
This formulation places BID-LoRA in a distinct category from one-shot unlearning and standard class-incremental learning. The emphasis is sustained adaptation without cumulative drift. A plausible implication is that the method is intended less as an isolated PEFT variant and more as a systems-level mechanism for repeated state correction under retention constraints.
2. Tri-path low-rank architecture
The architectural point of departure is standard LoRA. In the paper’s notation, standard LoRA modifies a frozen weight matrix 5 by
6
with 7, 8, 9 frozen, 0, 1, and 2 a scaling factor (Rachapudi et al., 14 Apr 2026). BID-LoRA argues that, in CLU, a single adapter is overloaded because it must simultaneously support retention, learning, and forgetting; the consequence is gradient interference and eventually knowledge leakage (Rachapudi et al., 14 Apr 2026).
BID-LoRA replaces that single update space with three dedicated low-rank pathways: 3 These are applied jointly as
4
while the backbone 5 remains frozen (Rachapudi et al., 14 Apr 2026).
The separation is the central design principle. The retain adapter preserves prior knowledge, the new adapter learns new classes, and the forget adapter removes unwanted knowledge. Because they are trained with separate objectives and gradient masking, they do not directly interfere (Rachapudi et al., 14 Apr 2026). The paper applies these adapters to attention layers and classifier heads, preserving the PEFT premise that only small low-rank modules are updated.
This decomposition is called “bi-directional” in the paper’s title, but the operative mechanism is actually tri-path. The term therefore refers less to two opposing optimization directions than to coordinated directional control over retention and change within the CLU pipeline. This suggests that the distinctive contribution lies in pathway specialization rather than in a single algebraic modification of the LoRA parameterization.
3. Escape unlearning and the geometry of forgetting
The forget mechanism in BID-LoRA is escape unlearning. Its goal is to delete knowledge without damaging retained classes by moving forget-class embeddings toward a target that is maximally distant from retained knowledge (Rachapudi et al., 14 Apr 2026).
The construction proceeds geometrically. For each class 6, the class centroid is
7
where 8 is the learned embedding of sample 9 (Rachapudi et al., 14 Apr 2026). Using retain-class centroids 0, the paper defines the escape direction as
1
Here, 2 measures alignment with retain centroid 3; the inner 4 selects the retain centroid most aligned with 5; and the outer minimization chooses the direction least aligned with all retain classes (Rachapudi et al., 14 Apr 2026). The interpretation given is that 6 is the direction maximally distant from retained knowledge.
Because placing the escape point on the unit sphere can be unstable, the paper scales it as
7
with 8 a scaling factor (Rachapudi et al., 14 Apr 2026). Forget samples are then driven toward this target through
9
The stated effect is that the model maps forget samples toward the same escape target, producing a many-to-one collapse that destroys class-discriminative structure (Rachapudi et al., 14 Apr 2026).
The retain and new pathways use distinct objectives. Retention combines classification and embedding anchoring: 0 where 1 are logits on retain samples, 2 retain labels, 3 student embeddings, and 4 frozen teacher embeddings from the initial model (Rachapudi et al., 14 Apr 2026). New knowledge uses the standard classification loss
5
Taken together, these losses assign distinct geometric roles to the three pathways: anchoring for retention, discrimination for acquisition, and collapse toward a distant point for deletion. A plausible implication is that BID-LoRA treats unlearning not as simple error induction but as controlled relocation in embedding space.
4. Optimization protocol, isolation, and efficiency
Training is organized as isolated updates. The algorithm performs three stages per cycle:
- retention update: freeze forget and new adapters, and update the retain adapter and retain classifier head using 6;
- forget update: freeze retain and new adapters, and update the forget adapter and forget head using 7;
- new knowledge update: freeze retain and forget adapters, and update the new adapter and new head using 8 (Rachapudi et al., 14 Apr 2026).
At inference, the adapters are merged into the frozen backbone as
9
The subtractive forget term appears in the merge expression exactly as written in the algorithm description (Rachapudi et al., 14 Apr 2026).
The framework is explicitly parameter-efficient. BID-LoRA trains small low-rank adapters on attention layers and classifier heads while keeping the backbone frozen. The reported tunable-parameter ratio is about 0 on CIFAR-100 and 1 on CASIA-Face100 (Rachapudi et al., 14 Apr 2026). The paper presents this as practical for large pretrained ViTs and transformers, repeated adaptation cycles, settings where full retraining is too costly, and privacy-sensitive deployment where “surgical” updates are preferred (Rachapudi et al., 14 Apr 2026).
The adapter configuration used in the main protocol assigns rank 2 to the retain adapter, rank 3 to the new adapter, and rank 4 to the forget adapter. The replay buffer 5 is 6 of the full retain set (Rachapudi et al., 14 Apr 2026). These design choices matter because the framework depends on both pathway separation and limited replay. The ablations report that performance saturates around rank 7, that more buffer helps retention, and that removing any one of the three pathways harms its corresponding objective (Rachapudi et al., 14 Apr 2026).
5. Experimental protocol and empirical behavior
The empirical evaluation covers CIFAR-100 and CASIA-Face100, the latter described as a curated subset of 8 identities from CASIA-WebFace. The backbones are Data-efficient image transformer (DeiT) for classification and Face Transformer for face recognition (Rachapudi et al., 14 Apr 2026). The evaluation uses a six-task sliding window protocol:
- start from classes 9–0,
- task 1: 1–2,
- task 2: 3–4,
- task 3: 5–6,
- task 4: 7–8,
- task 5: 9–0,
- task 6: 1–2.
Each task retains 3 classes, forgets 4 classes, and learns 5 new classes (Rachapudi et al., 14 Apr 2026). The reported metrics are forget accuracy 6, retain accuracy 7, new accuracy 8, overall accuracy 9, MIA success rate, KL divergence to oracle, and tunable parameter ratio (Rachapudi et al., 14 Apr 2026).
On CIFAR-100, BID-LoRA uses only 0 tunable parameters and achieves very low forget accuracy, roughly 1–2 across tasks; retain accuracy around 3–4; new accuracy up to 5; overall accuracy close to oracle; MIA near 6–7; and low KL divergence (Rachapudi et al., 14 Apr 2026). The examples given are task 1 overall accuracy 8 and task 6 overall accuracy 9, corresponding to only about a 00 drop across the six-task sequence (Rachapudi et al., 14 Apr 2026).
On CASIA-Face100, BID-LoRA again uses about 01 tunable parameters and maintains forget accuracy near 02–03, high retain and new accuracy, overall accuracy around 04–05, MIA close to 06, and low KL divergence (Rachapudi et al., 14 Apr 2026). The paper reports task 1 overall accuracy 07 and task 6 overall accuracy 08, an overall drop of about 09 (Rachapudi et al., 14 Apr 2026).
The baselines are LSF, CLPU-DER++, UniCLUN, UG-CLU, and UnCLe. The paper characterizes these as representing replay, distillation, hypernetworks, and gradient-based unified strategies (Rachapudi et al., 14 Apr 2026). The comparative interpretation is that BID-LoRA gives the best tradeoff between forgetting, retaining, learning new classes, and parameter efficiency, while several baselines either forget well at the cost of overall accuracy, show unstable retention, or exhibit inconsistent MIA or lower stability (Rachapudi et al., 14 Apr 2026).
The ablation results sharpen this interpretation. Standard LoRA is reported to be inferior to BID-LoRA in CLU, supporting the claim that pathway separation matters. A larger escape scaling factor improves forgetting, with 10 giving the best reported forgetting performance. The paper also presents t-SNE and 3D sphere plots showing forget embeddings migrating toward the escape point (Rachapudi et al., 14 Apr 2026). This suggests that the claimed deletion mechanism is not only metric-based but also geometrically observable in the learned representation space.
6. Relation to adjacent “bi-directional” LoRA variants, misconceptions, and limitations
The expression “Bi-Directional Low-Rank Adaptation” is potentially ambiguous because several LoRA variants use related nomenclature while solving different problems. The following comparison helps disambiguate the literature.
| Method | Defining mechanism | Primary setting |
|---|---|---|
| BID-LoRA | retain, new, and unlearn adapters plus escape unlearning | continual learning and unlearning |
| Bi-LoRA | primary LoRA and auxiliary LoRA for SAM-style perturbations | sharpness-aware fine-tuning |
| BoRA | row-wise and column-wise magnitude adaptation around a low-rank direction update | bi-dimensional weight decomposition |
BID-LoRA in the strict sense refers to the CLU framework with three dedicated pathways and escape unlearning (Rachapudi et al., 14 Apr 2026). By contrast, “Bi-LoRA: Efficient Sharpness-Aware Minimization for Fine-Tuning Large-Scale Models” introduces a dual-module design in which a primary LoRA module performs task adaptation via gradient descent and an auxiliary LoRA module models SAM-style perturbations via gradient ascent; only the primary branch is retained for inference (Liu et al., 27 Aug 2025). That method addresses the mismatch that arises when SAM perturbations are forced into the same low-rank subspace used for adaptation, and it is framed around generalization and efficient sharpness-aware training rather than CLU (Liu et al., 27 Aug 2025).
BoRA, in turn, is “Bi-dimensional Weight-Decomposed Low-Rank Adaptation,” a symmetric extension of DoRA that learns both row-wise and column-wise magnitude information around a low-rank directional update. Its claim is symmetry across horizontal and vertical dimensions of the weight matrix, with trainable magnitude vectors 11 and 12 inserted into a two-stage normalization and scaling pipeline (Wang et al., 2024). The paper explicitly states that BoRA can be interpreted as a bi-directional or bi-dimensional LoRA variant, but it does not use “BID-LoRA” as the method name (Wang et al., 2024).
A common misconception is therefore to treat BID-LoRA, Bi-LoRA, and BoRA as interchangeable. They are not. BID-LoRA is a unified continual learning plus machine unlearning framework; Bi-LoRA is a SAM-inspired fine-tuning method; and BoRA is a symmetric magnitude-direction decomposition for PEFT (Rachapudi et al., 14 Apr 2026).
The limitations of BID-LoRA are also explicit. The framework relies on a replay buffer 13, assumed to be at least 14 of the retain set; it is validated mainly on vision classification and face recognition; it assumes a structured tri-partite setting with known retain, forget, and new partitions; and future work is needed to remove the buffer entirely and extend the method to other biometric modalities (Rachapudi et al., 14 Apr 2026). These constraints indicate that the framework is presently strongest in controlled, transformer-based identity or classification pipelines where repeated enrollment, revocation, and retention are all first-class requirements.