Amortizing Exact Orthogonality: Drift-Triggered Restoration for Orthogonal Fine-Tuning
Organizations: The University of Sydney · University of New South Wales · University of Cambridge
Abstract
Orthogonal finetuning (OFT) adapts a pretrained weight by an orthogonal transform and preserves its singular values and row angles, but existing methods construct an exact or approximate orthogonal transform at every optimization step. We measure how far a transform is from orthogonal by its orthogonality defect . For OFTv2, which truncates a Cayley-Neumann series, we show that the truncation order does not determine the defect. At its default order, block defects in checkpoints from the reference implementation span five orders of magnitude. We propose Restarted Tangent Orthogonal Finetuning (RTOFT), which uses the first-order update of a weight with a skew-symmetric and restores exact orthogonality by a polar decomposition only when the drift reaches a tolerance . The defect of is exactly . Therefore, reading the drift after every update and restoring before the next forward pass guarantees a defect of at most in every forward pass, independently of the loss, data, model, and optimizer. A final restoration makes the returned transform exactly orthogonal. On GLUE, RTOFT reduces the training time of block-diagonal, subspace, and butterfly parameterizations from - to - that of LoRA, and its block-diagonal version exceeds LoRA by points on the six-task average over five seeds. At , the largest drift read during training stays between and across DeBERTaV3, Qwen, and diffusion models, whereas it ranges from to when restoring once per epoch. In all seven settings of our ablation, the tangent update is worse without restoration than with it, and restoring after every step yields no measurable accuracy gain over restoring at the tolerance and costs - more per step.
Figures & tables
| CoLA | RTE | STS-B | spread | |
|---|---|---|---|---|
| Method | #P. (M) | Time | S2I | L2F | ||
|---|---|---|---|---|---|---|
| LoRA | mIoU | mAcc | aAcc | Error | ||
| LoRA r=16 | 2.50 | 1.00 | 24.58 | 37.74 | 60.31 | 8.01 |
| OFT | 26.40 | 1.11 | 27.18 | 40.23 | 62.58 | 7.03 |
| COFT | 26.40 | 1.11 | 26.81 | 39.95 | 62.82 | 6.97 |
| OFTv2 c=2 | 26.34 | 1.09 | 27.79 | 40.78 | 64.36 | 6.61 |
| BOFT | 26.40 | 1.44 | 29.01 | 41.43 | 67.94 | 5.60 |
| OFTv2 | OFT | PSOFT | BOFT | ||||
|---|---|---|---|---|---|---|---|
| Variant | GLUE 6-task avg. | Common. 8-task avg. | Arena retention | S2I mIoU | L2F error | Subspace 6-task avg. | Butterfly 6-task avg. |
| Reference | 88.81 | 86.82 | 27.18 | 7.03 | 88.01 | 87.76 | |
| Tangent update, no restoration | 87.77 | 86.84 | 26.32 | 6.86 | 87.03 | 87.07 | |
| Tangent update, restoration (one-epoch period) | 89.45 | 87.23 | 29.45 | 5.36 | 88.19 | 88.31 | |
| Map | No restoration | With restoration | Restoration gain |
| Tangent, | 87.77 | 89.45 | |
| Cayley–Neumann, | 88.81 | 88.59 | |
| minus | – |
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | CoLA | STS-B | RTE | MRPC | SST-2 | QNLI | Mean |
|---|---|---|---|---|---|---|---|
| Full finetuning | 3.56 | 0.40 | 2.10 | 1.28 | 0.71 | 0.35 | 1.40 |
| LoRA r=8 | 3.60 | 0.57 | 1.85 | 0.51 | 1.62 | 0.62 | 1.46 |
| PiSSA r=8 | 2.48 | 1.16 | 1.45 | 2.42 | 1.47 | 0.86 | 1.64 |
| DoRA r=8 | 1.15 | 0.94 | 3.26 | 1.75 | 2.31 | 0.37 | 1.63 |
| LoRA-XS r=136 | 2.86 | 0.65 | 2.58 | 1.97 | 0.34 | 0.28 | 1.45 |
| GiVA r=8 | 0.30 | 0.71 | 1.54 | 1.44 | 0.59 | 0.74 | 0.89 |
| Method | CoLA ( ) | SST-2 ( ) | QNLI ( ) |
|---|---|---|---|
| LoRA r=8 | 1.000 | 1.000 | 1.000 |
| PiSSA r=8 | 0.993 | 0.984 | 0.960 |
| DoRA r=8 | 1.274 | 1.113 | 1.029 |
| PSOFT r=46 | 2.422 | 1.492 | 1.096 |
| BOFT b=8,m=2 | 4.788 | 2.724 | 1.588 |
| OFTv2 b=32 , | 1.608 | 1.205 | 1.039 |
| OFTv2 | CoLA | STS-B | RTE | MRPC | SST-2 | QNLI | Mean |
|---|---|---|---|---|---|---|---|
| As released | 1.40 | 1.13 | 1.03 | 1.02 | 1.15 | 1.04 | 1.13 |
| Transform cached during evaluation | 1.38 | 1.11 | 1.03 | 1.02 | 1.14 | 1.04 | 1.12 |
| Method | Time | CoLA | STS-B | RTE | MRPC | SST-2 | QNLI | Avg. |
|---|---|---|---|---|---|---|---|---|
| PSOFT r=46 | 169:52 | 71.60 | 91.42 | 85.75 | 90.53 | 95.18 | 93.60 | 88.01 |
| RTOFT, no restoration | 141:44 | 70.54 | 89.88 | 84.27 | 90.50 | 94.61 | 92.36 | 87.03 |
| RTOFT, one epoch | 142:20 | 72.05 | 91.43 | 86.02 | 91.22 | 94.86 | 93.56 | 88.19 |
| RTOFT, trigger | 142:51 | 72.60 | 91.52 | 86.49 | 91.04 | 95.23 | 93.51 | 88.40 |
| Method | Time | CoLA | STS-B | RTE | MRPC | SST-2 | QNLI | Avg. |
|---|---|---|---|---|---|---|---|---|
| BOFT b=8,m=2 | 218:01 | 68.85 | 91.85 | 86.78 | 89.91 | 95.33 | 93.85 | 87.76 |
| RTOFT, no restoration | 153:01 | 68.35 2.58 | 90.91 1.25 | 84.41 3.14 | 90.72 1.76 | 94.88 1.30 | 93.16 2.28 | 87.07 |
| RTOFT, one epoch | 154:10 | 70.23 1.49 | 92.25 0.43 | 87.13 2.63 | 91.27 1.42 | 95.21 0.96 | 93.74 1.29 | 88.31 |
| RTOFT, trigger | 155:12 | 70.89 1.21 | 92.33 0.35 | 87.49 2.18 | 91.24 1.14 | 95.78 0.83 | 93.80 1.01 | 88.59 |
| Trainable parameters | 0.62M | 1.29M | 2.61M | 5.27M |
|---|---|---|---|---|
| OFTv2 step time RTOFT step time | ||||
| CoLA | 1.37 | 1.42 | 1.47 | 1.31 |
| SST-2 | 1.12 | 1.13 | 1.07 | 1.09 |
| QNLI | 1.05 | 1.04 | 1.03 | 1.04 |
| Restorations per run | ||||
| Operation | Time | Share |
|---|---|---|
| Drift reading, screened (step without restoration) | 25 ms | |
| Drift reading, every block exact (worst case) | 313 ms | |
| One restoration of every adapted matrix | 0.82 s | if every steps |
| Method | #P. (M) | S2I | L2F | ||
|---|---|---|---|---|---|
| mIoU | mAcc | aAcc | Error | ||
| DreamBooth | 859.52 | 7.72 | 14.40 | 33.61 | 146.19 |
| ControlNet | 361.30 | 20.88 | 30.91 | 61.42 | 7.61 |
| T2I-Adapter | 77.00 | 16.38 | 26.31 | 51.63 | 23.75 |
| LoRA r=16 | 2.50 | 24.58 | 37.74 | 60.31 | 8.01 |
| OFT | 26.40 | 27.18 | 40.23 | 62.58 | 7.03 |
| Method | Setting | Tr. Param | Target (%) | General (%) |
| Base | N/A | 7.61B | 35.30 (+0.00) | 46.97 (+0.00) |
| Full finetuning | N/A | 7.61B | 50.63 (+15.33) | 34.22 (-12.75) |
| OFT | block 16 | 8.49M | 42.33 (+7.03) | 42.58 (-4.39) |
| OFT | block 32 | 17.55M | 46.93 (+11.63) | 44.37 (-2.60) |
| OFT | block 64 | 35.68M | 46.23 (+10.93) | 35.97 (-11.00) |
| OFT | block 128 | 71.92M | 47.77 (+12.47) | 36.98 (-9.99) |
| Method | Config | #Param (M) | S2I time | LoRA | L2F time | LoRA |
|---|---|---|---|---|---|---|
| LoRA | 2.50 | 21:09:37 | 1.000 | 15:34:26 | 1.000 | |
| OFT | 4 blocks | 26.40 | 23:28:10 | 1.109 | 17:57:13 | 1.153 |
| COFT | 4 blocks | 26.40 | 23:31:53 | 1.112 | 18:00:33 | 1.156 |
| OFTv2 | 26.34 | 22:58:47 | 1.086 | 17:54:42 | 1.150 | |
| BOFT | , | 26.40 | 30:29:12 | 1.441 | 24:29:31 | 1.573 |
| HRA | , | 0.89 | 32:21:08 | 1.529 | 26:20:44 | 1.692 |
| CoLA | STS-B | MRPC | RTE | SST-2 | QNLI | |
|---|---|---|---|---|---|---|
| Learning rate | 4E-04 | 1E-03 | 8E-04 | 5E-04 | 4E-04 | 1E-04 |
| Epochs | 20 | 20 | 30 | 30 | 10 | 5 |
| Max. seq. len. | 64 | 128 | 256 | 256 | 128 | 256 |
| Batch size | 32 | 32 | 32 | 32 | 32 | 32 |
| Setting | Value |
|---|---|
| Backbone | Qwen3.5-9B (base) |
| Training data | commonsense_15k (15K examples) |
| Target modules | q_proj , k_proj , v_proj , in_proj_qkv , up_proj , down_proj |
| Batch size / micro-batch | 64 / 2 |
| Epochs | 3 |
| Warm-up steps | 100 |
Fine-Tuning
Fine-tuning adapts pretrained models to new tasks, domains, and behaviors by updating some or all of their parameters.
See all 267 papers