﻿# Orthogonal fine-tuning: what OFT preserves and what still changes

Explore orthogonal weight transformations, block-size choices, OFTv2 implementation changes and the difference between a geometric invariant and retained task quality.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-oft-orthogonal-finetuning/
Language: en

Orthogonal Fine-Tuning adapts pretrained weights through an orthogonal transformation instead of an unrestricted additive update. The original research focused on text-to-image diffusion. The central idea is geometric: transform a collection of weight vectors together while preserving their relative inner-product relationships under the stated construction.

## Interpret the invariant at the right level

An orthogonal transformation preserves vector lengths and pairwise inner products in exact arithmetic. That gives a concrete meaning to the research discussion of preserved angular relationships. It does not imply that every output of the nonlinear network remains unchanged. The adapted computation is intended to change task behavior. Nor does a geometric constraint establish that every language, image subject or downstream benchmark retains its earlier quality. Those are separate observations about the complete model and its data.

## Understand the block budget

A dense transformation can be expensive to train. OFT uses a block structure to restrict trainable interactions and reduce parameters. In the current PEFT configuration, the number of blocks and the block size are related to the layer dimension. The field called rank should not be interpreted as LoRA's low-rank update dimension. Compare actual tensor shapes and parameter totals. Choosing smaller blocks also restricts which coordinates can directly mix through that transformation, so the budget is a modeling choice rather than merely a memory knob.

## Identify the implementation generation

OFTv2 reformulates the computation around inputs and introduces a Cayley-Neumann approximation. This matters when reading an older benchmark or reconstructing an adapter's execution path. Record the library release and explicitly selected parameterization instead of treating all OFT implementations as interchangeable. Approximate numerical construction and finite-precision execution deserve their own checks. A theoretical property of an ideal transformation is not a substitute for examining the implemented path at the precision used for training and serving.

## Set a retention experiment

For illustrative subject customization, separate the desired subject prompts from prompts assessing unrelated existing capabilities. Keep the original checkpoint as a reference. Compare adaptation success and retention independently, using fixed prompt groups and a stated review procedure. For an LLM, substitute relevant language tasks and output checks rather than recycling an image-only score. The experiment should be able to report improved target behavior alongside a regression elsewhere; otherwise it cannot test the preservation claim that motivated choosing OFT.

## Preserve the frozen-base boundary

Inspect additional trained components such as biases or modules saved outside the adapter. If those change, disabling the orthogonal adapter alone may not restore the original computation. Save the complete set of updated tensors and keep the original base untouched. Validate a reload before considering a merged export. Distinguishing adaptation parameters from other trained components prevents a rollback procedure from silently retaining changes that were absent from the reference model.

## Evaluate cost on the chosen stack

The OFTv2 paper reports improvements for its evaluated setup. A different architecture, block layout or numerical backend can change the result. Measure a representative step and the actual peak memory with the intended sequence or image workload. OFT is a structured alternative to investigate when its constraints match the adaptation goal. It is not a guarantee that any model becomes cheaper to train or immune to forgetting simply because the configuration selects an orthogonal method.

## Primary references

[PEFT: OFT](https://huggingface.co/docs/peft/package_reference/oft).

[Original OFT research](https://arxiv.org/abs/2306.07280).

[OFTv2: Orthogonal Finetuning Made Scalable](https://arxiv.org/abs/2506.19847).

Related explanations: [additive low-rank updates](/journal/lora-low-rank-update-geometry/); [training and evaluation behavior](/journal/train-eval-dropout-model-behavior/).
