Amortizing Exact Orthogonality: Drift-Triggered Restoration for Orthogonal Fine-Tuning

Lanxin Zhao, Xiaoyu Li, Dai Shi, Junbin Gao, Andi HanarXiv 2026

TL;DR

When fine-tuning large models, rotating their weights instead of just adding to them helps preserve their original knowledge—a technique called Orthogonal Fine-Tuning (OFT)—but forcing the math to stay strictly on a curved surface at every single step is painfully slow. This paper introduces RTOFT, which takes cheap, straight-line steps along the tangent and only snaps the weights back to exact orthogonality when they drift past a set tolerance. The result? You get LoRA-level training speeds alongside superior accuracy and knowledge retention, backed by a rock-solid mathematical guarantee on how far the model can ever drift.

What Problem Does This Paper Address?

If you want to adapt a massive pretrained model on a budget, LoRA is the standard go-to: it freezes the original weight matrix $W$ and adds a low-rank update $\Delta W$. Orthogonal Fine-Tuning (OFT) takes a more geometric route, multiplying $W$ by an orthogonal matrix $R$ ($W^+ = WR$). Because orthogonal matrices act like pure rotations (and reflections), they preserve the lengths and angles between weight rows, helping the model learn new tasks without catastrophic forgetting of its general capabilities.

The catch is speed. Constructing an orthogonal matrix (and backpropagating through it) at every optimization step is computationally heavy, making OFT variants $1.10\times$ to $2.06\times$ slower than LoRA. Recent methods like OFTv2 speed things up by approximating the rotation with a truncated infinite series. However, the authors show that fixing the series length doesn't actually control the orthogonality defect ($\|A^\top A - I\|_2$, which measures how much a matrix $A$ stretches space instead of purely rotating it). In OFTv2's default setup, this defect varies across five orders of magnitude depending on the task and layer! This begs the question: do we really need to build an orthogonal matrix at every single step?

Methods

The authors propose Restarted Tangent Orthogonal Finetuning (RTOFT). Instead of curving along the manifold of orthogonal matrices at every step, RTOFT walks along the flat tangent space and periodically projects back onto the curve.

  • Cheap Tangent Updates: Around the identity matrix, all standard rotation maps look the same to first order: $I + S$, where $S$ is a skew-symmetric matrix ($S^\top = -S$). Between restorations, RTOFT simply uses $W(I + S)$, requiring just one lightweight matrix multiplication per forward pass and zero matrix inversions.
  • Exact Defect Tracking: Because $S$ is skew-symmetric, $(I+S)^\top(I+S) = I - S^2$. That means the orthogonality defect of $I + S$ is exact and trivial to track: it is simply $\|S\|_2^2$, the square of the spectral norm of $S$ (which the authors call the drift).
  • Drift-Triggered Restoration: After each optimizer step, RTOFT checks the drift $\|S\|_2$ (outside the gradient tape). Only when $\|S\|_2$ hits a user-chosen tolerance $\tau$ (e.g., $\tau = 0.10$, corresponding to at most a $\sim0.5\%$ stretch in any direction) does RTOFT trigger a restoration. It computes the closest orthogonal matrix via polar decomposition, folds that rotation into $W$, and resets $S \leftarrow 0$. A final restoration at the end of training ensures the saved adapter is $100\%$ orthogonal.

Datasets

No new datasets are introduced; the authors evaluate across established language and vision benchmarks:

  • Natural Language Understanding: GLUE benchmark (CoLA, STS-B, RTE, MRPC, SST-2, QNLI, MNLI, QQP) using DeBERTaV3-base.
  • Commonsense Reasoning: Commonsense-15K training protocol evaluated on 8 tasks (BoolQ, PIQA, SIQA, HellaSwag, WinoGrande, ARC-e, ARC-c, OBQA) with Qwen3.5-9B and Llama-3.1-8B.
  • Knowledge Retention: PEFT-Arena (math target tuning vs. general capability retention) on Qwen2.5-7B.
  • Controllable Image Generation: Segmentation-to-image (ADE20K) and landmark-to-face (CelebA-HQ) on Stable Diffusion.

Key Insights and Ideas

  • Guaranteed bounds, wildly adaptive schedules: Because the drift is checked after every step, every forward pass is mathematically guaranteed to have a defect $\le \tau^2$—regardless of optimizer, learning rate, or dataset. At a fixed $\tau = 0.10$, Qwen3.5-9B needed only 10 restorations, while Stable Diffusion needed 1,872, yet both stayed tightly bounded while fixed once-per-epoch schedules drifted wildly.
  • Higher-order series aren't always more orthogonal: In OFTv2's reference implementation, truncation order $k=3$ actually produces a smaller orthogonality defect than the default $k=5$ (due to leading-term cancellations in odd powers) while using one fewer matrix multiplication!
  • Projecting at the very end isn't enough: If you train with $W(I+S)$ without restoring along the way and simply snap to the nearest orthogonal matrix after training finishes, Qwen2.5-7B still loses over 10 points of general capability. Keeping iterates near the orthogonal group during optimization is what does the heavy lifting.
  • Restoring every step is wasted effort: Projecting back to the manifold after every single step costs $4.5\text{--}27.5\%$ more time per step and yields zero measurable accuracy gain over waiting for the drift to hit $\tau$.
PEFT-Arena knowledge retention and adaptive restoration counts across models.

Key Results

  • GLUE Speed & Accuracy: RTOFT cuts training time across block-diagonal, subspace (PSOFT), and butterfly (BOFT) structures from $1.10\text{--}1.58\times$ down to $0.97\text{--}1.13\times$ of LoRA's time. Its block-diagonal variant scores 89.90% on the 6-task average, beating LoRA by $+1.98$ points and OFTv2 by $+1.09$ points while training $12\%$ faster than OFTv2.
  • Commonsense Reasoning: On Qwen3.5-9B, RTOFT trims OFTv2's training time from 175 minutes down to 134 minutes while boosting 8-task accuracy from $86.82\%$ to $88.38\%$.
  • Retention & Vision: On PEFT-Arena, RTOFT achieves higher math target gains ($+11.89$) and less general forgetting ($-2.35$) than OFTv2 ($+11.63$ / $-2.60$), while vastly outperforming LoRA ($+7.17$ / $-7.75$). On Stable Diffusion segmentation-to-image, it achieves the top mIoU (30.18 vs. LoRA's 24.58 and OFTv2's 27.79) at just $1.02\times$ LoRA's training time.

Limitations and Future Work

  • Fixed-support requirement: RTOFT works cleanly when $S$ lives in a fixed linear subspace (like block-diagonal or butterfly patterns). When parameterized by two trainable low-rank matrices ($S = UV^\top - VU^\top$), resetting $V \leftarrow 0$ at restoration zeroes out the gradient for $U$, slightly hurting performance ($-0.35$ GLUE points). Similarly, the tangent trick doesn't apply to chains of Householder reflections (like HRA).
  • Precision sensitivity: Even if the main model trains in bfloat16, the polar decomposition and weight multiplication during restoration must be computed in single precision (fp32) or better; doing them in bfloat16 leaves numerical errors $20\times$ larger than the theoretical bound.
  • Future directions: Rather than restoring all adapted matrices globally when the worst one hits $\tau$, triggers and tolerances could be tailored per-matrix or per-layer (an initial per-matrix test cut single-matrix restorations by $60\%$ at matching accuracy). More broadly, this "exact defect monitoring + lazy restoration" paradigm could be applied to other constrained optimization problems.

Summary updated

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 $A$ is from orthogonal by its orthogonality defect $\|A^\top A-I\|_2$. 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 $W(I+S)$ of a weight $W$ with a skew-symmetric $S$ and restores exact orthogonality by a polar decomposition only when the drift $\|S\|_2$ reaches a tolerance $τ$. The defect of $I+S$ is exactly $\|S\|_2^2$. Therefore, reading the drift after every update and restoring before the next forward pass guarantees a defect of at most $τ^2$ 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 $1.10$-$1.58\times$ to $0.97$-$1.13\times$ that of LoRA, and its block-diagonal version exceeds LoRA by $1.98\pm0.39$ points on the six-task average over five seeds. At $τ=0.10$, the largest drift read during training stays between $0.10$ and $0.12$ across DeBERTaV3, Qwen, and diffusion models, whereas it ranges from $0.17$ to $1.65$ 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 $4.5$-$27.5\%$ more per step.
BibTeX
@misc{zhao2026amortizing,
  author = {Lanxin Zhao and Xiaoyu Li and Dai Shi and Junbin Gao and Andi Han},
  title = {{Amortizing Exact Orthogonality: Drift-Triggered Restoration for Orthogonal Fine-Tuning}},
  year = {2026},
  eprint = {2611.33589},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33589},
}
Figure