Double-Precision Matrix Multiplication Emulation via Ozaki-II Scheme with FP8 Quantization
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Computer Science. The day in computer science: software, systems and theory on arXiv.
Tom: We're looking at the paper: "Double-Precision Matrix Multiplication Emulation via Ozaki-II Scheme with FP8 Quantization".
Paper summary: Tom: So we're looking at this paper called "Double-Precision Matrix Multiplication Emulation via Ozaki-II Scheme with FP8 Quantization". Basically, the main idea is they're trying to figure out how to copy double-precision matrix multiplication, that's DGEMM, using these lower precision eight bit units.
Jane: So what that means for us right now is they're tackling a big problem in high performance computing where you need full accuracy but you want to use faster hardware that favors lower precision formats. They claim this new method lets you do FP64 emulation on these eight bit units, which is really important because INT8 performance has been dropped on some recent chips.
Lu: The core thesis here is that the Ozaki-II scheme, which relies on Chinese Remainder Theorem for long integer multiplication, has this structure that naturally fits well with those eight bit matrix multiply accumulate units they're using. But the paper points out a major hurdle with direct FP8 quantization because it severely limits how many integers you can reconstruct accurately when you combine all those low precision products.
Meng: I worry about the practicality of that limitation, because if you limit your integer range too much, you lose the ability to even get decent FP32 accuracy, let alone full FP64. What they're proposing is a hybrid approach where they mix in a Karatsuba extension and a modular reduction formulation to try and overcome that dynamic range issue with the FP8 units.
Lalam: I see how they are trying to solve that dynamic range problem by using different math techniques depending on the size of the modulus they choose, which is pretty smart because it shows you don't have to use just one trick for every case.
Tom: So the method involves combining a Karatsuba based extension with this modular reduction formulation, and they select their moduli from a specific set that scans down from two fifty six and picks numbers that are pairwise coprime to all the others. They claim this selection strategy ensures that at least fourteen moduli are needed to emulate FP64 arithmetic <ref:2603.10634#pg1>.
Paper summary: Jane: Fourteen moduli sounds like a lot of work, but it’s what they need for the principle of accurate approximation, which they say when you pick fourteen moduli, the product P becomes large enough so that the matrices A prime and B prime provide sufficiently accurate approximations of the diagonal elements multiplied by A and B respectively.
Lu: That part about needing fourteen moduli is key because it sets a minimum requirement for how many low precision operations you have to do, which directly impacts how much computation you need to run this emulation scheme <ref:2603.10634#pg1>. They're essentially saying that to get close to FP64, you have to multiply a lot more than just a few numbers together.
Meng: From my side, I’m looking at the trade-off here: they say this approach reduces the number of matrix multiplications compared to an existing FP8 based Ozaki-I scheme, but it requires about two point five times more matrix multiplications than the INT8 based Ozaki-II scheme. That sounds like a significant overhead when you're thinking about deployment costs and latency.
Lalam: It means that while they are reducing the raw count of multiplications, they are adding complexity in terms of the total number of operations required for every single multiplication step.
Tom: And they do give us some performance modeling results, predicting that under Rubin like hardware specifications, this FP8 based Ozaki-II emulation could actually exceed two hundred teraflops per second. That’s a substantial number when you compare it to native FP64 DGEMM performance on those same chips.
Jane: But we have to remember the caveats they mentioned earlier; even with all those moduli selected, the resulting product P still has a limit where it's less than two to the power of forty seven, which severely limits the dynamic range of integers reconstructed via that Chinese Remainder Theorem.
Lu: That limitation is important because it means even when you use this new hybrid construction, you are still working within constraints that make accurately emulating FP32 arithmetic difficult, not just FP64. It's a constraint they’ve had to manage carefully.
Paper summary: Meng: So what this means for someone actually deploying a model, it suggests that if your hardware really struggles with INT8 capacity, this method might be necessary for getting the accuracy you need without jumping straight back to full FP64 operations everywhere. But we also see a caveat in their working memory analysis where they say this FP8 based method requires a larger working memory footprint than the INT8 based Ozaki-II scheme because of extra temporary buffers needed.
Lalam: So, to summarize, it's a way to bridge the gap when you can't use INT8 effectively on newer hardware by using an FP8 quantization technique with a hybrid math approach.
Tom: Exactly. And while they show this method is faster than some other emulation schemes in terms of raw multiplication count, they’re not saying it’s better for every single scenario; the comparison between the INT8 based and FP8 based Ozaki-II shows that on platforms where INT8 capacity is sufficient, the simpler INT8 approach is actually preferable for both throughput and working memory.
Jane: So the big picture here seems to be that this paper explores a specific pathway for achieving high precision emulation when low precision hardware forces you away from simple integer schemes, but it clearly shows that there are still trade-offs in terms of memory usage and operation count compared to other established methods.
Lu: I think what this paper really contributes is showing how to adapt the Ozaki-II framework—which is usually tied to lower precision—to a format like FP8 while still maintaining enough accuracy for demanding matrix operations, even if you have to add complexity in the way you select your moduli.
Meng: For production deployment, we need to keep an eye on that memory increase and the overhead of those extra Karatsuba and modular reduction steps they introduced; those are things that will eat up resources at scale.
Lalam: So for now, this paper gives us a blueprint for how to try and get double precision results when you can't afford the full double precision math everywhere because of hardware constraints on eight bit units.
Conclusion: Tom: So we’ve been looking at how this paper tackles emulating double precision matrix multiplication using eight bit units, specifically focusing on the Ozaki-II scheme with FP8 quantization, and now we’re getting to what all this actually means for us.
Jane: It basically takes a very accurate way to do matrix math—double precision—and tries to squeeze it onto hardware that prefers low precision like eight bit units by using this specific mathematical trick called the Ozaki-II scheme with FP8 quantization.
Lu: The authors are building a technique where they use long integer multiplication via the Chinese Remainder Theorem to reconstruct those high precision results from lower precision pieces, and they’re testing how that works when you use FP8 units.
Meng: What I’m looking at is the title itself; it sounds like they’re trying to build a bridge between two very different worlds: high accuracy matrix math and low power hardware. But the paper suggests this isn't a simple swap of numbers.
Tom: Right, it's more than that. The authors are showing how you can actually get results that are close to what you’d get from full double precision, even on these eight bit units, by carefully choosing how they decompose the matrices and pick their specific low precision moduli.
Jane: So the main point is that this method opens up a way for those demanding matrix problems to run on hardware that isn't designed for full double precision arithmetic, which is pretty cool when you’re trying to make things efficient.
Lu: They’ve got a hybrid construction going on too, mixing a Karatsuba extension with some modular reduction stuff depending on the size of the number they are working with, which helps them manage those limitations we talked about earlier regarding dynamic range.
Meng: From a deployment standpoint, it seems like this is aimed at architectures where INT8 performance has been cut way down and you still need decent accuracy for certain workloads, but I'm watching that working memory analysis closely because they say it needs more memory than the simpler INT8 version.
Tom: Exactly. The paper shows the trade-off: you can get comparable or higher precision while reducing the number of matrix multiplications compared to some other FP8 schemes, but you have to accept a bigger operation count for each step.
Jane: So it’s about finding that sweet spot where you get better accuracy without completely abandoning the low precision units, even if it means more work per calculation.
Lu: What this really changes is how we think about deploying complex AI models on these new specialized hardware platforms; it suggests a viable path for maintaining numerical integrity while leveraging low precision computation.
Meng: And it’s definitely interesting because they do give us some performance modeling that predicts this could hit over two hundred teraflops per second under certain hardware setups, which is a big number compared to native FP64 on those chips.
Tom: So the conclusion is that this paper provides a practical way to emulate double precision matrix multiplication using FP8 units through a specific hybrid approach, showing it’s viable for architectures where INT8 capacity is limited.
Jane: And what you have to watch next is how they handle those performance predictions and see if those numbers actually hold up when you put them into real-world production systems.
Center for Computational Science at RIKEN · Department of Mathematical Science at Shibaura Institute of Technology
cs.DC
Submitted: 2026-03-11
Updated: 2026-04-06
Comments: 12 pages, 8 figures
Journal ref: Y. Uchino, K. Ozaki and T. Imamura, "Double-Precision Matrix Multiplication Emulation via Ozaki-II Scheme with FP8 Quantization," in SC26, Chicago, IL, USA, 2026, pp. 1477-1503
DOI: 10.1109/SC51908.2026.00093
Code: https://github.com/RIKEN-RCCS/GEMMul8
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 79/100
The gist: Double-Precision Matrix Multiplication Emulation via Ozaki-II Scheme with FP8 Quantization proposes a method for emulating double-precision general matrix–matrix multiplication (DGEMM) using FP8…
Key concepts
- DGEMM Emulation
- This is the process of simulating a high-precision calculation (FP64 matrix multiplication) using hardware optimized for lower precision (like FP8). Since direct FP64 units are scarce, the scheme breaks down the complex double-precision problem into simpler, manageable low-precision steps that can be handled by available units.
- Ozaki-II Scheme
- This is a framework for matrix multiplication emulation based on Chinese Remainder Theorem (CRT) and long integer multiplication. It works by decomposing an FP64 matrix into several lower-precision matrices, multiplying those pieces, and then combining the results to reconstruct the final high-precision answer.
- FP8 Quantization Limitation
- Directly using FP8 for emulation is difficult because it severely limits the range of reconstructed integers due to fixed-point representation. The proposed method overcomes this by using a hybrid construction: modular reduction for square moduli and a Karatsuba extension for nonsquare ones, ensuring sufficient dynamic range.
Terminology
Summary
Double-Precision Matrix Multiplication Emulation via Ozaki-II Scheme with FP8 Quantization proposes a method for emulating double-precision general matrix–matrix multiplication (DGEMM) using FP8 MMA units, which is crucial because it enables efficient FP64 emulation on architectures where INT8 performance has been reduced. p. 0 jp
Abstract—In this paper, we propose a method for emulating double-precision general matrix–matrix multiplication
(DGEMM), a fundamental and performance-critical kernel in
many high-performance computing applications. Ozaki-I and
Ozaki-II are established DGEMM emulation schemes via lowprecision matrix multiply-accumulate (MMA) units. In several recent architectures, such as
NVIDIA Blackwell Ultra and NVIDIA Rubin, INT8 performance
has been reduced, making reliance on INT8 alone insufficient. Therefore, we introduce a novel technique to demonstrate
DGEMM emulation based on the Ozaki-II scheme that operates
on FP8 MMA units.Where the paper says it
Where the paper says it
Background and Motivation
In high-performance computing (HPC) applications, FP64 arithmetic remains a fundamental building block for ensuring sufficient numerical accuracy and stability.<ref:2603.10634#pg1, "In high-performance computing (HPC) applications, FP64 arithmetic remains a fundamental building block for ensuring sufficient numerical accuracy and stability. p. 0 INTRODUCTION
A. Background
In high-performance computing (HPC) applications, FP64
arithmetic remains a fundamental building block for ensuring
sufficient numerical accuracy and stability. Background
In high-performance computing (HPC) applications, FP64
arithmetic remains a fundamental building block for ensuring
sufficient numerical accuracy and stability. However, recent
computing architectures, driven by strong market demand for
accelerating rapidly expanding AI workloads, have achieved
exceptionally high performance and energy efficiency in
low-precision arithmetic. Background
In high-performance computing (HPC) applications, FP64
arithmetic remains a fundamental building block for ensuring
sufficient numerical accuracy and stability. However, recent
computing architectures, driven by strong market demand for
accelerating rapidly expanding AI workloads, have achieved
exceptionally high performance and energy efficiency in
low-precision arithmetic. In particular, low-precision matrix
multiply-accumulate (MMA) units designed for matrix operations have improved rapidly across hardware generations. As a result, low-precision arithmetic formats such as FP4,
FP6, FP8, INT8, FP16, and BF16 now provide computational
throughput that far exceeds that for conventional FP32 and
FP64 arithmetic, for which performance improvements have
been limited. In particular, low-precision matrix
multiply-accumulate (MMA) units designed for matrix operations have improved rapidly across hardware generations. As a result, low-precision arithmetic formats such as FP4,
FP6, FP8, INT8, FP16, and BF16 now provide computational
throughput that far exceeds that for conventional FP32 and
FP64 arithmetic, for which performance improvements have
been limited. Under such hardware trends,
achieving sustained performance improvements for HPC applications increasingly requires mixed-precision algorithms and
emulation techniques that effectively leverage low-precision
arithmetic to realize high-precision computations. In recent architectures, such as NVIDIA Blackwell Ultra
and NVIDIA Rubin, INT8 computational resources have been
substantially reduced, with greater emphasis placed on lowprecision floating-point arithmetic such as FP4 and FP8. Under such hardware trends,
achieving sustained performance improvements for HPC applications increasingly requires mixed-precision algorithms and
emulation techniques that effectively leverage low-precision
arithmetic to realize high-precision computations. In recent architectures, such as NVIDIA Blackwell Ultra
and NVIDIA Rubin, INT8 computational resources have been
substantially reduced, with greater emphasis placed on lowprecision floating-point arithmetic such as FP4 and FP8. In recent architectures, such as NVIDIA Blackwell Ultra
and NVIDIA Rubin, INT8 computational resources have been
substantially reduced, with greater emphasis placed on lowprecision floating-point arithmetic such as FP4 and FP8. This architectural shift is clearly reflected in the peak dense
throughput of recent NVIDIA GPUs (Table I).Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
The Ozaki-II Scheme and Limitations
The Ozaki-II scheme is a framework for matrix multiplication emulation based on long integer multiplication via the Chinese Remainder Theorem (CRT).<ref:2603.10634#pg2, "The Ozaki-II scheme is a framework for matrix multiplication emulation based on long integer multiplication via the Chinese Remainder Theorem (CRT)>". This scheme decomposes an FP64 matrix into multiple low-precision matrices and combines their products to reconstruct the result. p. 1 Two representative approaches
for DGEMM emulation are the Ozaki-I scheme [14], [15]
and the Ozaki-II scheme [16]. Both schemes share a common
fundamental structure in which an FP64 matrix is decomposed
into multiple low-precision matrices, and the products of
these matrices are combined to reconstruct the results of
DGEMM. Two representative approaches
for DGEMM emulation are the Ozaki-I scheme [14], [15]
and the Ozaki-II scheme [16]. Both schemes share a common
fundamental structure in which an FP64 matrix is decomposed
into multiple low-precision matrices, and the products of
these matrices are combined to reconstruct the results of
DGEMM. Both schemes share a common
fundamental structure in which an FP64 matrix is decomposed
into multiple low-precision matrices, and the products of
these matrices are combined to reconstruct the results of
DGEMM. Because the decomposed low-precision matrices
are represented in a fixed-point form that does not involve
exponent components, these schemes exhibit particularly high
affinity with INT8 MMA units. Both schemes share a common
fundamental structure in which an FP64 matrix is decomposed
into multiple low-precision matrices, and the products of
these matrices are combined to reconstruct the results of
DGEMM. Because the decomposed low-precision matrices
are represented in a fixed-point form that does not involve
exponent components, these schemes exhibit particularly high
affinity with INT8 MMA units. For the Ozaki-I scheme, it is possible to
employ FP16 or FP8 MMA units while preserving the same
algorithmic structure as that in the INT8-based formulation;
implementations exploiting FP16 and FP8 MMA units have
been reported [20], [21]. In contrast, due to its algorithmic
characteristics, the Ozaki-II scheme cannot be directly applied
to FP16 or FP8 MMA units with its original algorithmic
structure for emulating DGEMM. For the Ozaki-I scheme, it is possible to
employ FP16 or FP8 MMA units while preserving the same
algorithmic structure as that in the INT8-based formulation;
implementations exploiting FP16 and FP8 MMA units have
been reported [20], [21]. In contrast, due to its algorithmic
characteristics, the Ozaki-II scheme cannot be directly applied
to FP16 or FP8 MMA units with its original algorithmic
structure for emulating DGEMM.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
FP8-Based Emulation Strategy
The proposed method introduces an FP8-based Ozaki-II scheme that combines a Karatsuba-based extension and a modular reduction formulation to effectively exploit FP8 MMA units.<ref:2603.10634#pg3>. This approach addresses the limitation where direct FP8 quantization fails because it severely limits the dynamic range of reconstructed integers. p. 2 As a consequence, the dynamic
range of integers reconstructed via the CRT is severely limited,
making it difficult to accurately emulate not only FP64 but
even FP32 arithmetic. This fundamental limitation highlights
a major challenge in applying the Ozaki-II scheme with
FP8 E4M3 quantization. Possible candidates
for moduli satisfying pℓ ≤ 32 can be selected, for example,
from the following set:
{32, 31, 29, 27, 25, 23, 19, 17, 13, 11, 7}. Even when all moduli in this set are employed, the resulting
product P satisfies P/2 < 2
47. Even when all moduli in this set are employed, the resulting
product P satisfies P/2 < 2
47. As a consequence, the dynamic
range of integers reconstructed via the CRT is severely limited,
making it difficult to accurately emulate not only FP64 but
even FP32 arithmetic. CONCLUSION
In this paper, we presented an FP8-based DGEMM emulation method based on the Ozaki-II scheme. By combining a
Karatsuba-based extension with a modular reduction technique
for selected square moduli, we enabled Ozaki-II-style FP64-
targeted emulation on FP8 MMA units and reduced the
number of required FP8 matrix multiplications via a hybrid
construction. Hybrid Method
By combining the proposed modular reduction technique
with the Karatsuba method, the moduli pℓ can be selected, for
example, from the following set:
{1089, 1024, 961, 841, 625, 529, 511, 509, 503, 499,
491, 487, 481, 479, 467, 463, 461, 457, 449, 443,
439, 433, 431, 421, 419, 409, 401, 397, 389, · · · }. In this construction, we first prioritize square moduli by
selecting pairwise coprime squares in descending order from
1089. The resulting matrix products
are then computed using the proposed modular reduction
technique described above. For these pℓ, A
′(1)
ℓ
and B
′(1)
ℓ
are
obtained as
(A
′(1)
ℓ
)ij := round(s
−1
(A
′
ℓ
)ij ),
(B
′(1)
ℓ
)ij := round(s
−1
(B
′
ℓ
)ij ).Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Performance and Comparison
The proposed FP8-based method reduces the number of required matrix multiplications compared to existing methods, achieving comparable or higher precision while significantly reducing the number of multiplications.<ref:2603.10634#pg6, "Compared to the FP8-based Ozaki-I scheme, the proposed approach achieves comparable or higher precision while significantly reducing the number of multiplications. p. 4 Table II summarizes the effective precision and the number of FP8/INT8 matrix multiplications required for these
methods. Compared to the FP8-based Ozaki-I scheme, the
proposed approach achieves comparable or higher precision while significantly reducing the number of multiplications. However, compared to the INT8-based Ozaki-II scheme, the
proposed approach requires approximately 2. By contrast, each FP8 matrix multiplication in the proposed
method can in principle be realized by a single-level Karatsuba
method using three FP4 matrix multiplications. Accordingly, if
future hardware provides effective FP4 throughput far exceeding three times that of FP8, such a construction may become
advantageous. By contrast, each FP8 matrix multiplication in the proposed
method can in principle be realized by a single-level Karatsuba
method using three FP4 matrix multiplications. Accordingly, if
future hardware provides effective FP4 throughput far exceeding three times that of FP8, such a construction may become
advantageous. while significantly reducing the number of multiplications. However, compared to the INT8-based Ozaki-II scheme, the
proposed approach requires approximately 2. The performance prediction in
Fig. 2 suggests that, under Rubin-like hardware specifications,
the proposed FP8-based Ozaki-II emulation could exceed
this 200 TFLOP/s reference level by a substantial margin. NVIDIA’s published Rubin GPU specification
reports that the peak performance of FP64 DGEMM using
emulation is 200 TFLOP/s [1]. The performance prediction in
Fig. The performance prediction in
Fig. 2 suggests that, under Rubin-like hardware specifications,
the proposed FP8-based Ozaki-II emulation could exceed
this 200 TFLOP/s reference level by a substantial margin.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
. Performance modeling predicts that under Rubin-like hardware specifications, the proposed FP8-based Ozaki-II emulation could exceed 200 TFLOP/s. p. 6
.Where the paper says it
Where the paper says it
Where the paper says it
Conclusion and Practical Implications
The study concludes that on platforms where INT8 MMA capacity is sufficient, INT8-based approaches are preferable in terms of throughput and working memory footprint.<ref:2603.10634#pg11, "Our results indicate that, on platforms where INT8 MMA capacity is sufficient (e. p. 9 Through analytic performance modeling, working memory
footprint analysis, and empirical benchmarking, we compared
the proposed method against INT8-based emulation methods. Our results indicate that, on platforms where INT8 MMA
capacity is sufficient (e. Our results indicate that, on platforms where INT8 MMA
capacity is sufficient (e. , INT8 throughput is at least about
half of the FP8 throughput), the INT8-based approaches are Under such hardware trends,
achieving sustained performance improvements for HPC applications increasingly requires mixed-precision algorithms and
emulation techniques that effectively leverage low-precision
arithmetic to realize high-precision computations. In recent architectures, such as NVIDIA Blackwell Ultra
and NVIDIA Rubin, INT8 computational resources have been
substantially reduced, with greater emphasis placed on lowprecision floating-point arithmetic such as FP4 and FP8. Under such hardware trends,
achieving sustained performance improvements for HPC applications increasingly requires mixed-precision algorithms and
emulation techniques that effectively leverage low-precision
arithmetic to realize high-precision computations. In recent architectures, such as NVIDIA Blackwell Ultra
and NVIDIA Rubin, INT8 computational resources have been
substantially reduced, with greater emphasis placed on lowprecision floating-point arithmetic such as FP4 and FP8.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Working Memory Analysis
The working memory footprint comparison shows that the FP8-based method requires a larger working memory footprint than the INT8-based Ozaki-II scheme.<ref:2603.10634#pg9, "A comparison of the two models shows that the FP8-based method requires a larger working memory footprint than that for the INT8-based Ozaki-II scheme. p. 6 (19)
We note that in practice, all matrix dimensions are padded to
multiples of 256, both to avoid implementation-specific issues
in the native BLAS INT8/FP8 matrix multiplication kernels
and to ensure high performance for the overall workload. A comparison of the two models shows that the FP8-based
method requires a larger working memory footprint than
that for the INT8-based Ozaki-II scheme. A comparison of the two models shows that the FP8-based
method requires a larger working memory footprint than
that for the INT8-based Ozaki-II scheme. This increase is
mainly due to the additional temporary buffers needed to
represent each residue using multiple FP8 matrices and to store
intermediate results in INT16 instead of INT8.Where the paper says it
Where the paper says it
Accuracy and Throughput Modeling
The accuracy analysis shows that accurate mode typically yields higher accuracy because it uses a direct low-precision matrix multiplication for bound estimation.<ref:2603.10634#pg9> To assess the validity of the
performance models, we measured the sustained throughput
of the underlying INT8 and FP8 matrix multiplications. It
was found to be approximately 3 PFLOP/s on the B200. The correction parameter c was set, as in Section IV-B, to the number of
low-precision matrix multiplications. Substituting these values
into the analytic models yields predicted throughput values of
140 TFLOP/s for the INT8-based Ozaki-II in both fast and
accurate modes, 69 TFLOP/s for the FP8-based Ozaki-II in fast
mode, and 73 TFLOP/s in accurate mode.. The performance models for both schemes are validated by measured throughput values on the B200. p. 9
.Where the paper says it
Where the paper says it
Time Breakdown Analysis
The time breakdown analysis shows that for large m and n, the fraction of time spent in GEMMs increases with k, eventually dominating the end-to-end runtime.<ref:2603.10634#pg10, "For large m and n, the fraction of time spent in gemms increases with k, and eventually dominates the end-to-end runtime. p. 9 7 and 8 show the time breakdown for the RTX 5080 and
the B200, respectively. For large m and n, the fraction of time
spent in gemms increases with k, and eventually dominates
the end-to-end runtime. This behavior follows from data-volume
scaling: requant and dequant scale primarily with the output
size (mn), while quant scales with the input sizes (mk and
kn). The FP8-based emulation spends a larger fraction of time
in gemms than does the INT8-based emulation because each
modulus requires three FP8 matrix multiplications, whereas
the INT8-based Ozaki-II formulation uses one INT8 matrix
multiplication per modulus. This behavior follows from data-volume
scaling: requant and dequant scale primarily with the output
size (mn), while quant scales with the input sizes (mk and
kn). The FP8-based emulation spends a larger fraction of time
in gemms than does the INT8-based emulation because each
modulus requires three FP8 matrix multiplications, whereas
the INT8-based Ozaki-II formulation uses one INT8 matrix
multiplication per modulus.Where the paper says it
Where the paper says it
Where the paper says it
Numerical Results Summary
Empirical benchmarking confirms that on low-FP64-throughput GPUs, all emulation schemes provide substantially higher throughput than native FP64 DGEMM even for m = n = k = 1024.<ref:2603.10634#pg9, "On low-FP64-throughput GPUs, such as the RTX 4090 Laptop, RTX 5080, RX 9070 XT, and GB10, all emulation schemes provide substantially higher throughput than native FP64 DGEMM even for m = n = k = 1024. p. 8 A clear platform
dependence is observed. On low-FP64-throughput GPUs, such
as the RTX 4090 Laptop, RTX 5080, RX 9070 XT, and GB10,
all emulation schemes provide substantially higher throughput
than native FP64 DGEMM even for m = n = k = 1024. 1× on the RTX 5080
across the evaluated parameter ranges. On the B200, for m = n = 1024, both Ozaki-II schemes underperform native DGEMM: the INT8-based Ozaki-II attains
0. These examples suggest that the relative
balance between INT8 and FP8 remains hardware-dependent. arXiv:2603. 7× of native DGEMM throughput. For
m = n = 16384, the INT8-based Ozaki-II achieves a 1. On the RTX 5080, the
INT8-based Ozaki-II achieves a 4. 8–15× speedup over native
DGEMM for m = n = 1024, and a 7.Where the paper says it
. On the B200, both Ozaki-II schemes underperform native DGEMM for m = n = 16384, with the INT8-based scheme being faster by a factor of 0. p. 8
.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Platform Dependence
A clear platform dependence is observed in throughput comparisons across diverse sets of platforms.<ref:2603.10634#pg9, "A clear platform dependence is observed in throughput comparisons across diverse sets of platforms. p. 8 A clear platform
dependence is observed. On low-FP64-throughput GPUs, such
as the RTX 4090 Laptop, RTX 5080, RX 9070 XT, and GB10,
all emulation schemes provide substantially higher throughput
than native FP64 DGEMM even for m = n = k = 1024. 1× on the RTX 5080
across the evaluated parameter ranges. On the B200, for m = n = 1024, both Ozaki-II schemes underperform native DGEMM: the INT8-based Ozaki-II attains
0. On the B200, for m = n = 1024, both Ozaki-II schemes underperform native DGEMM: the INT8-based Ozaki-II attains
0. 7× of native DGEMM throughput, and the FP8-based
Ozaki-II attains 0. On the B200, for m = n = 1024, both Ozaki-II schemes underperform native DGEMM: the INT8-based Ozaki-II attains
0. 7× of native DGEMM throughput, and the FP8-based
Ozaki-II attains 0. By contrast, each FP8 matrix multiplication in the proposed
method can in principle be realized by a single-level Karatsuba
method using three FP4 matrix multiplications. Accordingly, if
future hardware provides effective FP4 throughput far exceeding three times that of FP8, such a construction may become
advantageous. By contrast, each FP8 matrix multiplication in the proposed
method can in principle be realized by a single-level Karatsuba
method using three FP4 matrix multiplications. Accordingly, if
future hardware provides effective FP4 throughput far exceeding three times that of FP8, such a construction may become
advantageous. 1× on the RTX 5080
across the evaluated parameter ranges. On the B200, for m = n = 1024, both Ozaki-II schemes underperform native DGEMM: the INT8-based Ozaki-II attains
0.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
References
[1] NVIDIA Corporation (2026) NVIDIA Vera Rubin NVL72.<ref:2603.10634#pg1>
[5] —— (2025) Nvidia h100 tensor core gpu architecture v1.04.<ref:2603.10634#pg9>
[8] —— (2025) Amd instinct mi325x accelerator.<ref:2603.10634#pg9>
[16] K. Ozaki, Y. Uchino, and T. p. 0 Double-Precision Matrix Multiplication Emulation
via Ozaki-II Scheme with FP8 Quantization
Yuki Uchino
Center for Computational Science
RIKEN
Hyogo, Japan
yuki. jp
Katsuhisa Ozaki
Department of Mathematical Science
Shibaura Institute of Technology
Saitama, Japan
ozaki@sic. In addition, the predicted throughput indicates that, if the
throughput of the FP8 matrix multiplication is only about a
factor of two faster than that of the INT8 matrix multiplication,
the INT8-based emulation will likely remain faster. Predicted throughput heatmaps for DGEMM emulation using INT8-based Ozaki-II scheme, shown as functions of sustained
BLAS GEMM throughput and sustained memory bandwidth.Where the paper says it
Where the paper says it
[19] —— (2025) “High-performance and power-efficient emulation of matrix multiplication using INT8 matrix engines,” in Proceedings of the SC ’25 Workshops.<ref:2603.10634#pg9>
[21] D. Mukunoki, “DGEMM using FP64 Arithmetic Emulation and FP8 Tensor Cores with Ozaki Scheme,” in Proceedings of the Supercomputing Asia. p. 0 Compared to the FP8-based Ozaki-I scheme,
our method significantly reduces the computational cost and
enables efficient FP64 emulation. Index Terms—emulation, matrix multiplication, Ozaki scheme,
FP8, Tensor Cores, DGEMM
I.Where the paper says it
[25] A. Schwarz et al. p. 3 Then, the scaling vectors are chosen such that
2µiw¯ijνj < P holds for all (i, j). In fast mode, the upper
bound of 2
Pk
h=1 |a
′
ih||b
′
hj | is obtained based on the Cauchy–
Schwarz inequality, even in the FP8-based emulation, where it
can be implemented in a way similar to that in the INT8-based
emulation. Compared to the FP8-based Ozaki-I scheme,
our method significantly reduces the computational cost and
enables efficient FP64 emulation. Index Terms—emulation, matrix multiplication, Ozaki scheme,
FP8, Tensor Cores, DGEMM
I.Where the paper says it
Where the paper says it
[26] S. R. Bernabeu, “Energy-Efficient Supercomputing Through Tensor Core-Accelerated Mixed-Precision Computing and Floating-Point Emulation,” Oral presentation at NVIDIA GTC 2025. p. 0 Under such hardware trends,
achieving sustained performance improvements for HPC applications increasingly requires mixed-precision algorithms and
emulation techniques that effectively leverage low-precision
arithmetic to realize high-precision computations. In recent architectures, such as NVIDIA Blackwell Ultra
and NVIDIA Rubin, INT8 computational resources have been
substantially reduced, with greater emphasis placed on lowprecision floating-point arithmetic such as FP4 and FP8.Where the paper says it
[18] Y. Uchino, K. Ozaki, and T. p. 0 Double-Precision Matrix Multiplication Emulation
via Ozaki-II Scheme with FP8 Quantization
Yuki Uchino
Center for Computational Science
RIKEN
Hyogo, Japan
yuki. jp
Katsuhisa Ozaki
Department of Mathematical Science
Shibaura Institute of Technology
Saitama, Japan
ozaki@sic. jp
Abstract—In this paper, we propose a method for emulating double-precision general matrix–matrix multiplication
(DGEMM), a fundamental and performance-critical kernel in
many high-performance computing applications. Ozaki-I and
Ozaki-II are established DGEMM emulation schemes via lowprecision matrix multiply-accumulate (MMA) units.Where the paper says it
Where the paper says it
[22] Y. Uchino, Q. Ma, T. Imamura, K. p. 0 shibaura-it. jp
Toshiyuki Imamura
Center for Computational Science
RIKEN
Hyogo, Japan
imamura. Double-Precision Matrix Multiplication Emulation
via Ozaki-II Scheme with FP8 Quantization
Yuki Uchino
Center for Computational Science
RIKEN
Hyogo, Japan
yuki. jp
Katsuhisa Ozaki
Department of Mathematical Science
Shibaura Institute of Technology
Saitama, Japan
ozaki@sic. Throughout this paper, we assume that INT8 MMA takes
INT8 inputs and accumulates in INT32, whereas FP8 MMA
takes FP8 E4M3 inputs and accumulates in FP32. OZAKI-II SCHEME
The Ozaki-II scheme is a framework for matrix multiplication emulation based on long integer multiplication via
the Chinese Remainder Theorem (CRT).Where the paper says it
Where the paper says it
Where the paper says it
[17] H. Ootomo et al., “DGEMM on integer matrix multiplication unit,” The International Journal of High Performance Computing Applications. p. 0 toshiyuki@riken. jp
Abstract—In this paper, we propose a method for emulating double-precision general matrix–matrix multiplication
(DGEMM), a fundamental and performance-critical kernel in
many high-performance computing applications.Where the paper says it
[15] —— (2013) “Generalization of error-free transformation for matrix multiplication and its application,” Nonlinear Theory and Its Applications.<ref:2603.10634#pg9>
[23] S. M. Rump, “Error estimation of floating-point summation and dot product,” BIT Numerical Mathematics. p. 3 Therefore,
rounding errors arise only in the accumulation. The rounding
error in the summation of a floating-point vector v ∈ R
k
admits the following bound:
X
k
i=1
vi − z
≤ (k − 1)u
X
k
i=1
|vi
|,
where z is the computed result of the summation and u is the
unit roundoff [23].Where the paper says it
[24] SAKURA internet Inc. (2026) SAKURAONE: a managed high performance computing cluster. p. 7 • An NVIDIA B200 SXM GPU with an Intel Xeon 6960P
CPU in SAKURA internet Inc. ’s managed HPC cluster service, SAKURAONE [24], using CUDA Toolkit
13.Where the paper says it
[11] Intel Corporation (2025) Intel Core Ultra 200H and 200U Series Processors, Datasheet, Volume 1 of 2.<ref:2603.10634#pg9>
[14] K. Ozaki et al. p. 0 Double-Precision Matrix Multiplication Emulation
via Ozaki-II Scheme with FP8 Quantization
Yuki Uchino
Center for Computational Science
RIKEN
Hyogo, Japan
yuki. jp
Katsuhisa Ozaki
Department of Mathematical Science
Shibaura Institute of Technology
Saitama, Japan
ozaki@sic. From this and Pk
h=1(A
′(x)
ℓ
)ih(B
′(y)
ℓ
)hj ∈ Z,
all results of arithmetic in the matrix multiplication comply
with the definition of FP32; thus, no rounding error occurs in
FP8 matrix multiplication in (8). Therefore, the computation
of A′
ℓB′
ℓ
can be realized using three error-free FP8 matrix
multiplications.Where the paper says it
Where the paper says it
[12] Google Cloud (2026) Tpu v6e.<ref:2603.10634#pg9>
Performance Modeling and Throughput Comparison
The performance models derived for the INT8-based Ozaki-II scheme and the proposed FP8-based method predict throughput values that are in close agreement with measured values on the B200.<ref:2603.10634#pg10, "These predictions are in close agreement with the measured values. p. 9 Substituting these values
into the analytic models yields predicted throughput values of
140 TFLOP/s for the INT8-based Ozaki-II in both fast and
accurate modes, 69 TFLOP/s for the FP8-based Ozaki-II in fast
mode, and 73 TFLOP/s in accurate mode. These predictions
are in close agreement with the measured values. 7 and 8 show the time breakdown for the RTX 5080 and
the B200, respectively. For large m and n, the fraction of time
spent in gemms increases with k, and eventually dominates
the end-to-end runtime. 7 and 8 show the time breakdown for the RTX 5080 and
the B200, respectively. For large m and n, the fraction of time
spent in gemms increases with k, and eventually dominates
the end-to-end runtime.Where the paper says it
. The time breakdown indicates that for large m and n, the fraction of time spent in GEMMs increases with k, eventually dominating the end-to-end runtime. p. 9
.Where the paper says it
Where the paper says it
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Optimizing DGEMM emulation for low-precision architectures: The proposed FP8-based Ozaki-II scheme enables
efficient FP64 emulation
with a significant reduction in computational cost compared to previous methods, achievingcomparable or higher precision while significantly reducing the number of multiplications.
-
Enabling broader hardware applicability: The method allows for DGEMM emulation on architectures where INT8 capacity is reduced, such as NVIDIA B300 and NVIDIA Rubin, by exploiting FP8 MMA units rather than relying solely on INT8.
-
Improving numerical accuracy in low-precision emulation: The hybrid method utilizes a Karatsuba-based extension combined with modular reduction to achieve
accuracy close to that of the cuBLAS Ozaki-I baseline
even in accurate mode, by avoiding the inflation issues found in INT8-based methods when using ceiling operations. -
Enhancing performance modeling: The paper develops analytic performance models for both INT8 and FP8 Ozaki-II schemes, which are shown to predict throughput values
in close agreement with the measured values,
providing more accurate estimates for deployment planning. -
Reducing working memory footprint: By adopting blocking strategies on dimensions m and n while keeping k large, the method can
effectively reduce the working memory footprint
compared to existing methods, which is critical for large-scale HPC applications where workspace is a major constraint.
Abstract
In this paper, we propose a method for emulating double-precision general matrix--matrix multiplication (DGEMM), a fundamental and performance-critical kernel in many high-performance computing applications. Ozaki-I and Ozaki-II are established DGEMM emulation schemes via low-precision matrix multiply-accumulate (MMA) units. For the Ozaki-I scheme, INT8-, FP8-, and FP16-based implementations have been proposed, all of which can be realized based on the same underlying algorithmic structure. In contrast, although INT8-based implementations of the Ozaki-II scheme have been reported, the original algorithm cannot be directly adapted to exploit FP8 MMA units. In several recent architectures, such as NVIDIA Blackwell Ultra and NVIDIA Rubin, INT8 performance has been reduced, making reliance on INT8 alone insufficient. Therefore, we introduce a novel technique to demonstrate DGEMM emulation based on the Ozaki-II scheme that operates on FP8 MMA units. Compared to the FP8-based Ozaki-I scheme, our method significantly reduces the computational cost and enables efficient FP64 emulation.
Sources
- Ozaki Scheme II: A GEMM-oriented emulation of floating-point matrix multiplication using an integer modular technique
- Emulation of Complex Matrix Multiplication based on the Chinese Remainder Theorem
Related papers
- CoordRoute: Coordinated Multi-Model Routing for Maximum Compute-Budget Utility
- A Datalog Framework for Conflict-Free Replicated Data Types
- Equal Opportunity: A Correctness Condition for Ordered Consensus
- The Complexity of Distributed Minimum Weight Cycle Approximation
- Sensor Placement for Tsunami Early Warning via Large-Scale Bayesian Optimal Experimental Design
- Programmable Probabilistic Computer with 1,000,000 p-bits