# Improved Scaling for Fast Mode of Ozaki Scheme II

DevFeed: [Improved Scaling for Fast Mode of Ozaki Scheme II](<https://devfeed.tech/articles/improved-scaling-for-fast-mode-of-ozaki-scheme-ii-126689.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2606.29129>)

Author: Shota Kawakami, Daisuke Takahashi

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [Tensor Cores](<https://devfeed.tech/topics/tensor-cores.md>), [High-Performance Computing](<https://devfeed.tech/topics/high-performance-computing.md>), [quantization](<https://devfeed.tech/topics/quantization.md>)

Tags: [cauchy-schwarz](<https://devfeed.tech/tags/cauchy-schwarz.md>), [crt](<https://devfeed.tech/tags/crt.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-ms](<https://devfeed.tech/tags/cs-ms.md>), [cs-na](<https://devfeed.tech/tags/cs-na.md>), [fast](<https://devfeed.tech/tags/fast.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [int8](<https://devfeed.tech/tags/int8.md>), [invariance](<https://devfeed.tech/tags/invariance.md>), [invariant](<https://devfeed.tech/tags/invariant.md>), [math-na](<https://devfeed.tech/tags/math-na.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [throughput](<https://devfeed.tech/tags/throughput.md>), [trade](<https://devfeed.tech/tags/trade.md>)

## AI overview

Ozaki scheme II's fast scaling formula is not scale-invariant: multiplying input matrices by a constant can change the integer matrices' effective bit width, degrading accuracy or preventing CRT recovery. The paper proposes a revised formula derived from the CRT uniqueness condition using the Cauchy-Schwarz inequality. It is scale-invariant, guarantees that condition, and adds no overhead over the original fast mode. In experiments on an NVIDIA GH200 GPU, it achieved accuracy comparable to accurate mode, which estimates scaling factors with INT8 matrix multiplication, while retaining throughput comparable to fast mode, which uses the Cauchy-Schwarz inequality at lower computational cost.

## Source excerpt

arXiv:2606.29129v2 Announce Type: replace-cross Abstract: Ozaki scheme II emulates high-precision matrix multiplication using low-precision integer matrix operations based on the Chinese remainder theorem (CRT). It first scales the high-precision matrices to convert them into integer matrices. For this scaling step, Ozaki scheme II provides two modes: accurate mode, which uses INT8 matrix multiplication to estimate scaling factors, and fast mode, which applies the Cauchy--Schwarz inequality at lower computational cost. We show that the existing formula lacks scale invariance; multiplying the input matrices by a constant changes the effective bit width of the integer matrices in the scaling step, causing accuracy degradation or CRT recovery failure. To address this, we propose a revised scaling formula derived from the CRT uniqueness condition via the Cauchy--Schwarz inequality. The proposed formula is scale-invariant by construction, guarantees that the CRT uniqueness condition is always satisfied, and introduces no additional overhead over the original fast mode. Experiments on an NVIDIA GH200 GPU show that the proposed method achieves accuracy comparable to that of accurate mode while maintaining throughput comparable to that of fast mode. In the accuracy--throughput trade-off, the proposed method overcomes the accuracy limitation of fast mode and the throughput constraint of accurate mode, offering a superior accuracy and performance.