Skip to main content
QUICK REVIEW

[Paper Review] Scaling DoRA: High-Rank Adaptation via Factored Norms and Fused Kernels

Alexandra Zelenin, Alexandra Zhuravlyova|arXiv (Cornell University)|Mar 23, 2026
Parallel Computing and Optimization TechniquesComputer Science0 citations
TL;DR

The paper introduces a factored-norm approach for high-rank DoRA to avoid materializing dense B@A, and a fused Triton kernel implementation that speeds up forward and backward passes while reducing VRAM usage, validated on 6 vision-language models across multiple GPUs.

ABSTRACT

Weight-Decomposed Low-Rank Adaptation (DoRA) extends LoRA by decoupling weight magnitude from direction, but its forward pass requires the row-wise norm of W + sBA, a computation that every major framework we surveyed implements by materializing the dense [d_out, d_in] product BA. At d_in = 8192 and rank r = 384, a single module's norm requires about 512 MB of transient working memory in bf16, making high-rank DoRA costly and often infeasible on common single-GPU setups once hundreds of adapted modules and checkpointing are involved. We present two systems contributions. A factored norm decomposes the squared norm into base, cross, and Gram terms computable through O(d_out r + r^2) intermediates, eliminating the dense product. Fused Triton kernels collapse the four-kernel DoRA composition into a single pass, reducing memory traffic by about 4x and using a numerically stable form that avoids catastrophic cancellation in the near-unity rescaling regime where magnitude scales concentrate in practice. Across six 8-32B vision-language models (VLMs) on three NVIDIA GPUs (RTX 6000 PRO, H200, B200) at r = 384 in bf16, the fused implementation is 1.5-2.0x faster than Hugging Face PEFT's DoRA implementation for inference and 1.5-1.9x faster for gradient computation (optimizer step excluded), with up to 7 GB lower peak VRAM. Microbenchmarks on six GPUs spanning four architecture generations (L40S, A100, RTX 6000 PRO, H200, B200, B300) confirm 1.5-2.7x compose-kernel speedup. Final-logit cosine similarity exceeds 0.9999 across all model/GPU pairs, and multi-seed training curves match within 7.1 x 10^-4 mean per-step loss delta over 2000 steps.

Motivation & Objective

  • Motivate the memory-and-speed bottlenecks of high-rank DoRA in parameter-efficient fine-tuning.
  • Develop a memory-efficient, factored norm formulation for ||W + sBA||_row^2 that avoids dense B@A materialization.
  • Design fused Triton kernels to collapse multi-kernel DoRA composition into a single pass for forward and backward computations.
  • Provide a runtime dispatch strategy and compatibility with common PEFT frameworks and distributed training regimes.
  • Empirically validate memory, speed, fidelity, and convergence across multiple GPU architectures and model scales.

Proposed method

  • Derive a factored decomposition of the row-wise squared norm into base, cross, and BA-norm terms computable without materializing B@A (complexity O(d_out r + r^2)).
  • Assemble the per-row norm using a chunked, fp32 accumulation with explicit casting to manage precision (Equations 2-6).
  • Implement four kernels (two forward/backward, a norm-assembly kernel, and a compose kernel) in Triton to fuse the DoRA pipeline into a single pass and ensure numerical stability.
  • Provide a three-tier runtime dispatch that selects fused backward (training), fused forward (inference), or eager fallback paths depending on hardware and shapes.
  • Ensure compatibility with torch.compile, gradient checkpointing, Deepspeed ZeRO, and FSDP, with explicit magnitude-division handling to maintain precision.
  • Perform thorough microbenchmarking and model-level benchmarks across six GPUs and six 8–32B vision-language models.
Figure 1 : The stable compose form achieves $3.0$ × lower peak error near $g\approx 1$ (bf16, $d_{\text{out}}=8192$ , $d_{\text{in}}=2048$ ). The naive form $g\odot(s\cdot\text{lora}+\text{base})-\text{base}$ exhibits catastrophic cancellation; the stable form and fused kernel both remain near the b
Figure 1 : The stable compose form achieves $3.0$ × lower peak error near $g\approx 1$ (bf16, $d_{\text{out}}=8192$ , $d_{\text{in}}=2048$ ). The naive form $g\odot(s\cdot\text{lora}+\text{base})-\text{base}$ exhibits catastrophic cancellation; the stable form and fused kernel both remain near the b

Experimental results

Research questions

  • RQ1Can the DoRA row-wise norm be computed without materializing the dense B@A product, thereby enabling scalable high-rank adaptation?
  • RQ2Do fused kernels reduce memory traffic and improve throughput for DoRA’s forward and backward passes across diverse GPUs and model sizes?
  • RQ3What is the impact of the factored-norm approach on numerical stability and training convergence compared to standard DoRA implementations?
  • RQ4How does the proposed system integrate with existing PEFT frameworks and distributed training toolchains while preserving fidelity?
  • RQ5What are the memory and speed tradeoffs at different ranks and model scales (r=384–768, 8–32B models)?

Key findings

  • The factored norm reduces rank-dependent persistent memory from O(d_out d_in) to O(d_out r + r^2) and eliminates the need to materialize B@A.
  • Fused Triton kernels collapse four DoRA operations into a single pass, delivering 1.5–2.7× forward speedup and 1.06–1.23× backward speedup with up to 7 GB lower peak VRAM.
  • Across six 8–32B VLMs on three GPUs, gradient computation is 1.46–1.87× faster than HF PEFT’s DoRA baseline and 1.18–1.24× faster than the authors’ eager baseline, with inference speedups of 1.5–2.0×.
  • Cosine similarity between fused and eager final logits exceeds 0.9999 across all model/GPU pairs, indicating high fidelity.
  • Convergence under fused kernels matches eager training within a mean per-step loss delta of 7.1e-4 over 2000 steps, across multiple seeds.
  • Memory-profile experiments show fused backward reduces forward peak VRAM and enables training of larger configurations within the same memory budget.
Figure 2 : Three-tier dispatch: fused backward for training (Tier 1), fused forward for inference (Tier 2), eager fallback for CPU, no-Triton, or sub-crossover shapes (Tier 3).
Figure 2 : Three-tier dispatch: fused backward for training (Tier 1), fused forward for inference (Tier 2), eager fallback for CPU, no-Triton, or sub-crossover shapes (Tier 3).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.