SPECIAL ISSUE PAPER
Open Access

Reproducible Ozaki-Based Matrix Multiplication on Photonic Matrix Processors With Algorithm-Based Fault Tolerance

Shoichi Hirasawa

Corresponding Author

Shoichi Hirasawa

Information Systems Architecture Science Research Division, National Institute of Informatics, Tokyo, Japan

Correspondence:

Shoichi Hirasawa (hirasawa@nii.ac.jp)

Michihiro Koibuchi (koibuchi@nii.ac.jp)

Search for more papers by this author
Michihiro Koibuchi

Corresponding Author

Michihiro Koibuchi

Information Systems Architecture Science Research Division, National Institute of Informatics, Tokyo, Japan

Correspondence:

Shoichi Hirasawa (hirasawa@nii.ac.jp)

Michihiro Koibuchi (koibuchi@nii.ac.jp)

Search for more papers by this author
First published: 10 August 2026

ABSTRACT

Photonic matrix processors are attracting attention in applications such as AI inference due to their low-power and low-latency properties. However, their applicability has been largely limited to low-precision computation due to inherent stochastic analog noise and device non-idealities. This limitation creates a large gap between the capabilities of photonic matrix processors and the potential demand for high-precision computation in scientific computing. In this study, we propose a method to reproduce the results of the Ozaki-based high-precision matrix multiplication on low-precision photonic matrix processors by combining the Ozaki scheme with a simple Algorithm-Based Fault Tolerance (ABFT). The Ozaki scheme decomposes high-precision operations into multiple low-precision computations, while the ABFT introduces algorithm-level redundancy to detect and correct errors caused by stochastic analog noise. Evaluation results show that ABFT significantly reduces failure probability by orders of magnitude in low-error regimes, despite the increased number of sub-computations introduced by the Ozaki decomposition. Furthermore, the overhead of ABFT remains small compared to the total number of photonic tensor-core invocations, enabling high-precision computation across a wide range of matrix sizes.

1 Introduction

Optical 8- to 16-bit matrix multiplication technology is attracting attention in applications such as energy-efficient AI inference. By exploiting the intrinsic properties of light, including superposition and interference, photonic multiply-accumulate (MAC) operations can achieve extremely low latency and massive parallelism compared to conventional digital processors. LightMatter's Mars photonic core can simultaneously calculate 64 × 64 $$ 64\times 64 $$ matrices and 64-element vectors at 1 GHz. Operands can be handled as 8-bit values [1]. The company's recently released photonic accelerator [2] is controlled by an embedded OS and a RISC-V core. The future photonic tensor core within it can handle 256 × 256 $$ 256\times 256 $$ matrix multiplication at a maximum speed of 2 GHz with comparable precision [2]. A Lightelligence photonic MAC achieves 1 GHz operation with 3 ns latency using a 64 × 64 $$ 64\times 64 $$ photonic core with 7.6-bit precision [3]. As such, photonic computing technology has undergone dramatic advances in recent years.

Despite these advances, a fundamental limitation remains: current photonic matrix processors would be inherently low-precision due to stochastic analog noise and device non-idealities. As a result, their applicability has been restricted to low-precision computational workloads. However, emerging applications in scientific computation would require higher numerical precision, such as FP32 or FP64. This creates a mismatch between the computational capabilities of photonic hardware and the precision requirements of modern workloads, which we refer to as the precision gap.

A key challenge in bridging this gap lies in the stochastic nature of errors in photonic systems. Unlike digital systems, where errors are typically discrete (e.g., bit flips), photonic MAC operations are affected by continuous-valued noise sources such as shot noise, thermal noise, and device imperfections. These errors can be modeled as additive white Gaussian noise (AWGN) or Gaussian Mixture Model (GMM), which perturbs the computed values prior to rounding. Consequently, even small analog perturbations can result in multi-unit-in-the-last-place (ULP) deviations in numerical representations, fundamentally limiting achievable precision.

To address this challenge, we propose a method for enabling high-precision matrix multiplication on photonic matrix processors by combining two complementary techniques: the Ozaki scheme [4, 5] and a simple Algorithm-Based Fault Tolerance (ABFT) [6]. The Ozaki scheme decomposes high-precision matrix operations into multiple low-precision computations, allowing arbitrary-precision arithmetic using low-bitwidth units. In parallel, ABFT introduces algorithm-level redundancy to detect and correct errors arising from stochastic analog noise during computation. In [7], the idea of combining the Ozaki scheme with the ABFT was presented for photonic matrix processors; however, the discussion was limited to a very simple analytical model.

This study does not assess accuracy in the conventional numerical linear algebra sense. We consider accuracy as reproducing the noise-free output of the Ozaki scheme, rather than minimizing numerical error to the exact product. Specifically, unlike conventional high-precision computing approaches, our objective is not to directly support native FP64 computation on photonic hardware. Instead, we aim to reproduce the numerical results of the error-free Ozaki scheme, which serves as the reference computation. Therefore, the notion of accuracy in this study is stated as the consistency with the Ozaki-based decomposition executed without stochastic analog noise.

The key insight of this study is that, although stochastic analog noise is inherently stochastic and continuous, its impact on floating-point representations can be systematically managed through structured decomposition and redundancy. By carefully co-designing precision decomposition (Ozaki) and error correction (ABFT), it becomes possible to mitigate the limitations of stochastic analog noise and achieve reliable high-precision computation on photonic hardware.

We analytically evaluate the proposed method under the AWGN-based and GMM-based noise models and introduce an ULP-based error metric. Our evaluation results reveal a fundamental tradeoff between numerical precision and noise robustness.

The main contributions of this paper are as follows:
  • We propose a method to reproduce the results of the Ozaki-based high-precision matrix multiplication on photonic matrix processors by combining the Ozaki scheme and ABFT, under stochastic analog noise.
  • The proposed method improves the reliability of Ozaki-based computation under stochastic analog noise with modest overhead, while revealing its limitations under burst-like error conditions.

The following section describes related work in Section 2, and presents a matrix multiplication method using a photonic matrix processor in Section 3. Section 4 presents evaluation results of the proposed method. Section 5 provides a summary of this study.

2 Background and Related Work

2.1 Photonic Matrix Processors

Photonic matrix multiplication processors can be classified into three architectures: free-space optical systems, integrated photonic circuits using Mach-Zehnder interferometer (MZI) meshes, and wavelength-division multiplexing (WDM)-based approaches [8]. Among these, MZI-based integrated photonic processors have attracted significant attention due to their scalability and compatibility with silicon photonics platforms.

Optical AI inference accelerators are attracting attention [1, 2]. Recently, accelerators with photonic tensor cores, RISC-V cores, and embedded OSs have appeared, and they can perform multiplications of 64 × 64 $$ 64\times 64 $$ matrices and 64 × 1 $$ 64\times 1 $$ matrices, and 128 × 128 $$ 128\times 128 $$ matrices and 128 × 1 $$ 128\times 1 $$ matrices at once for numerical values with about 8-bit accuracy [2]. It is fabricated on GlobalFoundries' 45 nm silicon photonics platform, while advanced CMOS nodes (e.g., 12 nm) are used externally for high-performance electronic control/processing. In this way, research on photonic accelerators is moving to a level where contributions can be made not only from optical science and physics, but also from the fields of computer science.

Despite their high throughput and energy efficiency, photonic matrix processors inherently suffer from limited numerical precision due to analog noise sources such as shot noise, thermal noise, and device non-idealities. This limitation restricts their applicability to low-precision workloads such as AI inference, and creates a fundamental challenge for extending their use to high-precision scientific computing.

Another concern is the matrix-reconfiguration overhead of photonic matrix processors. While reconfiguration latency can be a concern in current implementations, it is expected to diminish with advances in device technologies such as fast tunable photonic elements, integrated control circuits, and improved calibration techniques. Moreover, emerging use cases, particularly in AI workloads with repeated or slowly changing weight matrices, naturally amortize reconfiguration costs over many computations. Therefore, although matrix reconfiguration remains an important system-level consideration, it is orthogonal to the core contribution of this study and is expected to become a less dominant factor in future photonic computing platforms.

2.2 Precision Limitations in Analog Computing

The precision limitation of analog computing systems has been widely studied in the context of compute-in-memory (CIM) and photonic computing. Commercial CIM products have recently emerged. Mythic has developed analog in-memory computing processors that perform matrix operations within memory arrays for low-power AI inference [9]. In CIM architectures, dominant error sources include device variability, nonlinearity, and IR drop, which often manifest as deterministic or structured errors that can be mitigated through calibration and device-aware mapping [10].

In contrast, photonic matrix processors are dominated by stochastic noise sources that can be modeled as additive perturbations, such as additive white Gaussian noise (AWGN). Prior work has shown that such noise fundamentally limits achievable floating-point precision, particularly in accumulation-heavy operations such as matrix multiplication [8]. As a result, there exists a practical precision ceiling beyond which increasing arithmetic precision does not improve effective computational accuracy.

2.3 High-Precision Computation With Low-Precision Units

To address precision limitations, several techniques have been proposed to enable high-precision computation using low-precision hardware. Mixed-precision methods, such as those used in GPU tensor cores, combine low-precision arithmetic with iterative refinement to recover high-precision results [11].

The Ozaki scheme is a representative approach that decomposes high-precision matrix multiplication into multiple low-precision operations [4, 5]. The original description of the scheme commonly represents each slice in a low-precision floating-point format. This study instead targets the integer-based implementation of the Ozaki scheme in [5]. It divides the shared mantissa space of each row of A $$ A $$ and each column of B $$ B $$ into successive bit ranges and stores the extracted mantissa slices as INT Q $$ \mathrm{INT}Q $$ matrices.

This representation is related to block floating point because all integer values in one row slice of A $$ A $$ , or one column slice of B $$ B $$ , share a power-of-two exponent. The shared exponents are retained as metadata by the xPU, whereas only the integer mantissa slices are sent to the photonic matrix-multiplication unit. Thus, block scaling here refers to this shared-exponent representation of each integer Ozaki slice. Microscaling is another possible shared-scale representation [12], but it is not assumed in this study.

However, existing applications of the Ozaki scheme do not explicitly consider stochastic analog noise on matrix-multiplication hardware units.

2.4 Algorithm-Based Fault Tolerance

In digital system communications, as a method of dealing with soft errors (temporary bit corruption), the sender adds an ECC (Error Checking and Correcting) code to the original data before transferring it, allowing the receiver to detect and correct soft errors within a certain number of errors.

Similarly, in ABFT, an array for error detection and correction is added to the original array in advance in matrix multiplication, making it possible to detect and correct soft errors within a certain number of errors from the calculation results [6, 13, 14]. ABFT is characterized by its ability to provide reliability for the entire hardware process, including arithmetic units and memory access, because it operates at the application level. In floating-point ABFT, distinguishing soft errors from rounding errors requires carefully designed detection thresholds. Prior work has explored adaptive and distributed threshold estimation, such as A-ABFT and V-ABFT, to control false positives and false negatives [15]. In contrast, our target is integer ABFT.

Most existing ABFT techniques are designed for discrete error models, such as bit flips in digital systems. Their applicability to analog computing environments, where errors are continuous-valued and stochastic, remains largely unexplored. In particular, it is unclear how ABFT interacts with floating-point representations under analog noise.

2.5 Gap and Contribution

Despite extensive research on precision recovery and fault tolerance, there has been limited work on integrating high-precision decomposition techniques with algorithm-level error correction under stochastic analog noise. Existing approaches either focus on deterministic error models or rely on calibration-based mitigation techniques that are not directly applicable to photonic systems.

In this paper, we address this gap by combining the Ozaki scheme with the ABFT under an AWGN-based noise model. Our approach provides a unified framework for enabling high-precision floating-point matrix multiplication on low-precision photonic processors, explicitly considering the impact of stochastic analog noise on floating-point representations.

3 Matrix Multiplication Using Photonic Tensor Cores With Precision and Reliability Co-Design

3.1 Computation Model and Decomposition

We consider a photonic tensor core that performs matrix-vector multiplication of size N × N $$ N\times N $$ with an N $$ N $$ -dimensional vector in a single operation. The overall future 2.5D integrated system is illustrated in Figure 1, which abstracts a photonic AI acceleration processor, which co-packaged a silicon photonics die and CMOS drivers, such as [2].

Details are in the caption following the image
A 2.5D heterogeneous integrated processor, consisting of xPUs and photonic tensor cores.

Our goal is to compute matrix-matrix multiplication C = A B $$ \mathbf{C}=\mathbf{AB} $$ , where A , B M × M $$ \mathbf{A},\mathbf{B}\in {\mathbb{R}}^{M\times M} $$ , using such tensor cores.

Matrix-matrix multiplication can be decomposed into a sequence of matrix-vector multiplications as:
C = [ A b 1 , A b 2 , , A b M ] , $$ \mathbf{C}=\left[\mathbf{A}{\mathbf{b}}_1,\mathbf{A}{\mathbf{b}}_2,\dots, \mathbf{A}{\mathbf{b}}_M\right], $$ (1)
where b i $$ {\mathbf{b}}_i $$ denotes the i th $$ i\mathrm{th} $$ column of B $$ \mathbf{B} $$ . Thus, M $$ M $$ tensor-core invocations are required in principle.
When M > N $$ M>N $$ , matrices are partitioned into N × N $$ N\times N $$ blocks. The number of output blocks is ( M / N ) 2 $$ {\left(M/N\right)}^2 $$ , and each block requires accumulation over M / N $$ M/N $$ partial products. Each block multiplication is further decomposed into N $$ N $$ matrix-vector operations, yielding a total number of tensor-core invocations:
M 3 N 2 . $$ \frac{M^3}{N^2}. $$ (2)

This decomposition indicates that computation is dominated by repeated matrix-vector operations.

3.2 Numerical Precision Recovery via Ozaki Decomposition

Photonic tensor-cores operate at low precision due to analog noise and limited bit representation. To enable high-precision computation, we employ the integer-based Ozaki scheme in [5], which decomposes high-precision matrix multiplication into multiple low-precision operations.

Let A $$ \mathbf{A} $$ and B $$ \mathbf{B} $$ be represented in high precision. They are decomposed into s $$ s $$ and t $$ t $$ low-precision matrices:
A = i = 1 s A i , B = j = 1 t B j . $$ \mathbf{A}=\sum \limits_{i=1}^s{\mathbf{A}}_i,\kern1em \mathbf{B}=\sum \limits_{j=1}^t{\mathbf{B}}_j. $$ (3)
The resulting matrix multiplication becomes:
C = i = 1 s j = 1 t A i B j . $$ \mathbf{C}=\sum \limits_{i=1}^s\sum \limits_{j=1}^t{\mathbf{A}}_i{\mathbf{B}}_j. $$ (4)

Each submatrix multiplication A i B j $$ {\mathbf{A}}_i{\mathbf{B}}_j $$ is realized as a sequence of matrix-vector multiplications using the photonic tensor core, while accumulation is performed on a digital processor (xPU). This decomposition allows arbitrary precision by increasing s $$ s $$ and t $$ t $$ , but also increases the number of partial computations, making the system more vulnerable to noise-induced errors.

3.3 ABFT for Error Detection and Correction

To ensure reliability under stochastic analog noise, we introduce a simple ABFT [6] at the level of each decomposed computation.

For each submatrix A i $$ {\mathbf{A}}_i $$ and B j $$ {\mathbf{B}}_j $$ , we construct augmented matrices with checksum rows and columns:
A i = A i 1 A i , B j = B j B j 1 . $$ {\mathbf{A}}_i^{\prime }=\left[\begin{array}{l}{\mathbf{A}}_i\\ {}{\mathbf{1}}^{\top }{\mathbf{A}}_i\end{array}\right],\kern1em {\mathbf{B}}_j^{\prime }=\left[{\mathbf{B}}_j\kern0.5em {\mathbf{B}}_j\mathbf{1}\right]. $$ (5)
We then compute:
C i j = A i B j . $$ {\mathbf{C}}_{ij}^{\prime }={\mathbf{A}}_i^{\prime }{\mathbf{B}}_j^{\prime }. $$ (6)

Due to the linearity of matrix multiplication, checksum consistency is preserved. Errors can be detected by comparing the checksum values with recomputed sums. Furthermore, the error location can be identified as the intersection of inconsistent row and column checksums, enabling single-error correction. This holds regardless of whether the error occurs in a data element or in a checksum element, due to the orthogonal redundancy provided by row and column checksums.

We illustrate the ABFT using a simple 2 × 2 $$ 2\times 2 $$ matrix multiplication.

Let the input matrices be:
A = 1 0 0 1 , B = 1 2 3 4 . $$ A=\left[\begin{array}{ll}1& 0\\ {}0& 1\end{array}\right],\kern1em B=\left[\begin{array}{ll}1& 2\\ {}3& 4\end{array}\right]. $$ (7)
à = 1 0 0 1 1 1 , B ˜ = 1 2 3 3 4 7 . $$ \overset{\widetilde }{A}=\left[\begin{array}{ll}1& 0\\ {}0& 1\\ {}1& 1\end{array}\right],\kern1em \tilde{B}=\left[\begin{array}{lll}1& 2& 3\\ {}3& 4& 7\end{array}\right]. $$ (8)
The result matrix is:
C ˜ = Ã B ˜ = 1 2 3 3 4 7 4 6 10 , $$ \tilde{C}=\overset{\widetilde }{A}\tilde{B}=\left[\begin{array}{lll}1& 2& 3\\ {}3& 4& 7\\ {}4& 6& 10\end{array}\right], $$ (9)
where the last column and last row represent row and column sums, respectively.
Assume that an error occurs in the ( 2 , 2 ) $$ \left(2,2\right) $$ element:
C 22 = 4 5 . $$ {C}_{22}=4\to \mathbf{5}. $$ (10)
Then, the checksum consistency is violated:
3 + 5 7 , 2 + 5 6 . $$ 3+5\ne 7,\kern1em 2+5\ne 6. $$ (11)

Thus, the erroneous element is identified as the intersection of the inconsistent row and column.

The correct value can be recovered using either checksum:
C 22 = 7 3 = 4 , or C 22 = 6 2 = 4 . $$ {C}_{22}=7-3=4,\kern1em \mathrm{or}\kern1em {C}_{22}=6-2=4. $$ (12)

This example demonstrates that the ABFT can both detect and correct a single error within a protection unit. The same principle holds for a general N × N $$ N\times N $$ protection unit. Assume that checksum consistency holds in the error-free case, and that at most one element in a protection unit is corrupted. Then, the erroneous element can be uniquely identified as the intersection of the inconsistent row and the inconsistent column, and its correct value can be recovered from the corresponding checksum relation. If two or more elements are corrupted within the same protection unit, the inconsistent rows and columns may no longer determine a unique intersection, and correct recovery is not guaranteed. This example and the above proposition demonstrate that the ABFT can both detect and correct a single error within a protection unit. It also differs from randomized detection methods, that is, Freivalds' algorithm, in that the recovery is deterministic within a protection unit and does not require re-execution after error detection.

3.4 Procedure

We describe the end-to-end procedure of the proposed method, which integrates matrix decomposition, precision recovery, and error correction.
  1. Precision decomposition (Ozaki scheme): Each matrix is decomposed into INT Q $$ \mathrm{INT}Q $$ mantissa slices on the xPU, following the integer-based Ozaki scheme.
  2. Checksum augmentation (ABFT encoding): For each submatrix, we construct augmented matrices with row and column checksums on xPU.
  3. Photonic computation (tensor-core execution): Each pair of submatrices is multiplied using the photonic tensor core.
  4. Error detection and correction (ABFT decoding): For each computed block, checksum consistency is verified on xPU. If an inconsistency is detected, the error location is identified as the intersection of inconsistent row and column checksums, and corrected accordingly.
  5. Accumulation (Ozaki reconstruction): The final result is reconstructed by rescaling and accumulating all corrected integer partial products on the xPU.

This procedure ensures that high-precision results are obtained from low-precision photonic computations and xPU's preprocessing and postprocessing. The original input matrices and the final reconstructed result are represented in floating-point format, that is, FP64 in this study. The xPU determines the shared scale vectors and extracts the integer mantissa slices by bit masking. Only these INT Q $$ \mathrm{INT}Q $$ slices are processed by the photonic tensor core. Checksum verification and error correction are performed using exact equality comparison on the integer matrices and their integer outputs. After error correction, the xPU applies the power-of-two row and column scales and accumulates the partial products in FP64.

The xPU stores the FP64 input matrices, the integer slices, the shared scale vectors, and the FP64 accumulator. It performs scale selection, mantissa-bit extraction, checksum generation and verification, single-error correction, power-of-two rescaling, and accumulation. The scale metadata is small compared with the matrix data, whereas the main xPU arithmetic costs are slice generation, checksum processing, and floating-point accumulation of the partial products.

The proposed method can be interpreted as a three-level co-design:
  • Decomposition: Matrix multiplication is decomposed into matrix-vector operations, exposing fine-grained computation units.
  • Precision: The Ozaki scheme reconstructs high-precision results from low-precision operations.
  • Reliability: ABFT introduces structured redundancy to detect and correct errors caused by analog noise.

4 Evaluation

4.1 Evaluation Objectives and Assumptions

The goal of this evaluation is to understand how stochastic analog noise affects reliability, and how the proposed method mitigates these effects.

We evaluate three aspects:
  • Computational overhead: Number of photonic tensor core invocations required.
  • Numerical robustness: Sensitivity of floating-point accuracy to analog noise.
  • Reliability: Probability of result computation failure.

These analyses collectively reveal the design tradeoffs between precision, redundancy, and noise tolerance.

The parameter values used in this evaluation are shown in Table 1. Each value in the target matrix multiplication is a double-precision floating-point number (FP64). Furthermore, the photonic tensor core supports Q $$ Q $$ -bit number representation, that is, INT Q $$ \mathrm{INT}Q $$ , for input values, and 3 Q $$ 3Q $$ -bit representation for output in order to prevent overflow in the multiplication and sum results. The output of the photonic MAC requires a wider bit width than the input precision due to accumulation. We assume that the Ozaki scheme works with the fast mode. The fast mode of the Ozaki scheme reduces computational complexity from O ( s t ) $$ O(st) $$ to approximately s ( s + 1 ) 2 $$ \frac{s\left(s+1\right)}{2} $$ by truncating low-order components and cross terms, trading exact reconstruction for efficiency at the cost of structured truncation errors. The value of s $$ s $$ is picked up from the results in [16].

TABLE 1. Parameters used in the evaluation.
Parameter Value Description
M $$ M $$ 8–4096 Input matrix size
N $$ N $$ 64, 256 (default) Photonic tensor core dimension
Q $$ Q $$ 4, 8 (default), 16 Bit-width of integer ( INT Q $$ {\mathrm{INT}}_Q $$ )
s $$ s $$ 10 (INT8), Ozaki decomposition parameter
6 (INT16)
t $$ t $$ Same as s $$ s $$ Number of submatrix partitions
σ $$ \sigma $$ 1 0 6 $$ 1{0}^{-6} $$ 1 0 1 $$ 1{0}^{-1} $$ Base noise standard deviation
π B $$ {\pi}_B $$ 0.01 Probability of burst state in GMM
α $$ \alpha $$ 10 Scaling factor ( σ B = α σ G $$ {\sigma}_B=\alpha {\sigma}_G $$ )
Δ Q $$ {\Delta}_Q $$ 2 2 Q 1 $$ \frac{2}{2^Q-1} $$ Quantization step size

In the GMM-based noise model, we set the burst probability π B = 0 . 01 $$ {\pi}_B=0.01 $$ and the variance scaling factor α = 10 $$ \alpha =10 $$ , where the high-noise state is defined as σ B = α σ G $$ {\sigma}_B=\alpha {\sigma}_G $$ . These values are chosen as representative parameters to capture burst-like error behavior observed in analog and photonic computing systems, where rare but significantly larger noise events occur intermittently. The chosen π B $$ {\pi}_B $$ reflects a low-probability burst regime, while α $$ \alpha $$ represents a moderate-to-severe noise amplification during burst events. Rather than targeting a specific hardware instance, these parameters are intended to provide a qualitative understanding of how correlated noise affects the reliability of the proposed method.

4.2 Computational Cost Analysis

When performing FP64 matrix operations (multiply-and-accumulate calculations) using the proposed method, we counted the number of calls to the photonic tensor core, taking into account this ABFT, in addition to the number of calls to the integer matrix operations in [5].

In the exact discrete model, the number of tensor-core invocations is determined by tiling boundaries. Without ABFT, an N × N $$ N\times N $$ photonic array processes an N × N $$ N\times N $$ payload block. With ABFT, one row and one column are reserved for checksums within the same array, and thus the effective payload becomes ( N 1 ) × ( N 1 ) $$ \left(N-1\right)\times \left(N-1\right) $$ . Therefore, the invocation counts are modeled as
K no = s ( s + 1 ) 2 M N 3 N , $$ {K}_{\mathrm{no}}=\frac{s\left(s+1\right)}{2}{\left\lceil \frac{M}{N}\right\rceil}^3N, $$ (13)
K ABFT = s ( s + 1 ) 2 M N 1 3 N . $$ {K}_{\mathrm{ABFT}}=\frac{s\left(s+1\right)}{2}{\left\lceil \frac{M}{N-1}\right\rceil}^3N. $$ (14)

This produces staircase-like curves, especially around tiling boundaries.

The number of calls to the photonic tensor core is approximated in Figures 2 and 3. Note that in digital circuits, the operations required for the Ozaki scheme can be simply realized with shift and addition operations when the original matrix is FP64.

Details are in the caption following the image
Number of invocations of the photonic tensor core required to perform the matrix multiplication (N = 64).
Details are in the caption following the image
Number of invocations of the photonic tensor core required to perform the matrix multiplication (N = 256).

In Figures 2 and 3, the horizontal axis represents the FP64 input matrix size ( M $$ M $$ ), and the vertical axis represents the number of invocations of the photonic tensor core. ABFT performs redundant calculations regardless of whether errors exist or not. Therefore, the number of invocations does not depend on the analog error levels.

Furthermore, as expected, we can see that the number of invocations of the photonic tensor core is determined by the matrix size that can be executed at one time ( N $$ N $$ ).

4.3 ULP Error Analysis

We analyze the impact of stochastic analog noise on integer quantized outputs produced by photonic tensor cores. We consider two noise models: AWGN and a two-state Gaussian mixture (burst-like) for representing independent and identically distributed and burst-like behavior via mixtures of low- and high-variance Gaussian components, respectively.

4.3.1 Error Model

We model the analog output of a photonic MAC as:
y = y ref + n opt , $$ y={y}_{\mathrm{ref}}+{n}_{\mathrm{opt}}, $$ (15)
where y ref $$ {y}_{\mathrm{ref}} $$ is the ideal (noise-free) output and n opt $$ {n}_{\mathrm{opt}} $$ is a noise modeled by AWGN or GMM.

Although integer representations have a constant unit in ULP in the code domain (i.e., ULP = 1 $$ \mathrm{ULP}=1 $$ ), the effective numerical sensitivity depends on the mapping from real-valued analog signals to discrete integer codes.

4.3.2 Normalized Quantization Model

We consider a normalized real-value domain [ 1 , 1 ] $$ \left[-1,1\right] $$ , which is uniformly quantized into 2 Q $$ {2}^Q $$ levels for an INT Q $$ \mathrm{INT}Q $$ format. The corresponding quantization step size is:
Δ Q = 2 2 Q 1 . $$ {\Delta}_Q=\frac{2}{2^Q-1}. $$ (16)
The analog noise perturbs the signal before quantization. Assuming round-to-nearest quantization, a numerical error occurs when the perturbation exceeds half of the quantization interval:
p e = P | n opt | > Δ Q 2 . $$ {p}_e=P\left(|{n}_{\mathrm{opt}}|>\frac{\Delta_Q}{2}\right). $$ (17)
Under the Gaussian noise assumption, this probability can be expressed as:
p e AWGN = erfc Δ Q 2 2 σ . $$ {p}_e^{\mathrm{AWGN}}=\operatorname{erfc}\left(\frac{\Delta_Q}{2\sqrt{2}\sigma}\right). $$ (18)

This formulation reveals that the error probability depends on the ratio between the noise magnitude and the quantization step size.

Alternatively, under the two-component mixture model, this probability can be expressed as:
p e mix = ( 1 π B ) p e AWGN ( σ G ) + π B p e AWGN ( σ B ) , σ B = α σ G , $$ {p}_e^{\mathrm{mix}}=\left(1-{\pi}_B\right)\kern0.3em {p}_e^{\mathrm{AWGN}}\left({\sigma}_G\right)+{\pi}_B\kern0.3em {p}_e^{\mathrm{AWGN}}\left({\sigma}_B\right),{\sigma}_B=\alpha {\sigma}_G, $$ (19)
where π B $$ {\pi}_B $$ is the bad fraction and α $$ \alpha $$ scales the bad variance.

In both noise assumptions, higher-precision integer formats become increasingly sensitive to analog noise. In particular, INT4 exhibits strong robustness due to its coarse quantization while INT16 becomes highly sensitive even to small perturbations.

4.3.3 Analytical Results

In Figure 4, the curves for INT4, INT8, and INT16 for AWGN exhibit identical shapes but are horizontally shifted. This behavior arises because the error probability is governed by the normalized ratio. Therefore, increasing the bit width effectively shifts the tolerance to smaller noise magnitudes by an exponential factor. The analysis highlights a fundamental precision and noise tradeoff in analog photonic computation. While increasing the bit width improves numerical resolution, it simultaneously reduces robustness to stochastic noise. Importantly, although the ULP is constant ( = 1 $$ =1 $$ ) in the integer code domain, the effective ULP in the normalized real-value domain decreases with bit width, which ultimately determines error behavior. As expected, this distinction explains why integer representations can exhibit strong bit-width-dependent sensitivity under stochastic analog noise, despite having a constant ULP in the code domain.

Details are in the caption following the image
The bit-width dependent error probability of INT4, INT8, and INT16.

Another concern is the comparison of AWGN cases with the GMM cases. Unlike AWGN, the GMM introduces temporally correlated high-noise states, increasing the probability of multiple simultaneous errors within a protection unit, which directly undermines the single-error correction assumption of ABFT. Under AWGN, all samples are drawn from a single moderate-variance distribution, leading to consistently higher error probabilities. In contrast, GMM spends most of the time in a low-variance state, reducing the average error rate despite occasional high-noise events.

Figure 5 plots the probability of more than one error for INT4, INT8, and INT16. The X $$ X $$ -axis is the noise standard deviation in the normalized domain [ 1 , 1 ] $$ \left[-1,1\right] $$ . Since they can recover at most one error correction, the smaller is better in Y $$ Y $$ -axis for the proposed method. This result highlights a fundamental limitation of ABFT under burst-like noise: as the protection unit size increases, the probability of uncorrectable multi-error events grows rapidly, limiting the scalability of the proposed approach.

Details are in the caption following the image
The probability of more than one error for INT4, INT8, and INT16.

4.4 Failure Rate

Even with precision decomposition and algorithm-level error correction, residual errors may remain. In this section, we analytically characterize the failure probability of the proposed method under stochastic analog noise.

4.4.1 Failure Model

Let p e = P ( | error | > ULP / 2 ) $$ {p}_e=P\left(|\mathrm{error}|>\mathrm{ULP}/2\right) $$ denote the element-wise error probability of a single photonic MAC output, as derived in Section 4.3. Under the AWGN assumption, we consider that such errors occur independently across outputs.

4.4.2 Failure Probability Under AWGN

Let V $$ V $$ denote the number of output elements within a protection unit. For both the no-ABFT and ABFT cases, the protection unit corresponds to the output of a single photonic tensor-core invocation.

Since p e $$ {p}_e $$ is the element-wise error probability, the failure probability of one sub-computation is
p r e s no = 1 ( 1 p e ) V . $$ {p}_{res}^{\mathrm{no}}=1-{\left(1-{p}_e\right)}^V. $$ (20)
Thus, the overall failure probability without ABFT is
P fail no = 1 ( 1 p r e s no ) K n o . $$ {P}_{\mathrm{fail}}^{\mathrm{no}}=1-{\left(1-{p}_{res}^{\mathrm{no}}\right)}^{K_{no}}. $$ (21)
For small p e $$ {p}_e $$ , this can be approximated as
p r e s no V p e , P fail no K n o V p e . $$ {p}_{res}^{\mathrm{no}}\approx V{p}_e,\kern2em {P}_{\mathrm{fail}}^{\mathrm{no}}\approx {K}_{no}V{p}_e. $$ (22)

In the proposed ABFT scheme, each Ozaki sub-computation corresponds to one protection unit.

Since the ABFT can correct at most one error within a protection unit, a residual failure occurs when two or more errors exist in the unit. The residual failure probability is
p res A B F T = 1 ( 1 p e ) V V p e ( 1 p e ) V 1 . $$ {p}_{\mathrm{res}}^{ABFT}=1-{\left(1-{p}_e\right)}^V-V{p}_e{\left(1-{p}_e\right)}^{V-1}. $$ (23)

Each Ozaki sub-computation produces one output submatrix to which ABFT is applied. Therefore, each sub-computation corresponds to one protection unit.

The overall failure probability is approximately given by
P fail ABFT = 1 ( 1 p res A B F T ) K A B F T . $$ {P}_{\mathrm{fail}}^{\mathrm{ABFT}}=1-{\left(1-{p}_{\mathrm{res}}^{ABFT}\right)}^{K_{ABFT}}. $$ (24)

4.4.3 Failure Probability Under Burst-Like Noise (GMM)

The previous analysis assumes independent errors under AWGN. However, practical photonic systems may exhibit burst-like noise behavior, where multiple elements within a protection unit experience correlated noise.

We adopt a burst-aware model in which all elements within a protection unit (i.e., an augmented output submatrix) share the same noise state.

Let p G $$ {p}_G $$ and p B $$ {p}_B $$ denote the element error probabilities under the good and bad (high-noise) states, respectively. The residual failure probability per unit is defined as
p res n o ( p ) = 1 ( 1 p ) V , $$ {p}_{\mathrm{res}}^{no}(p)=1-{\left(1-p\right)}^V, $$ (25)
p res A B F T ( p ) = 1 ( 1 p ) V V p ( 1 p ) V 1 . $$ {p}_{\mathrm{res}}^{ABFT}(p)=1-{\left(1-p\right)}^V- Vp{\left(1-p\right)}^{V-1}. $$ (26)
Under the GMM model, the residual failure probability becomes
p res GMM = ( 1 π B ) p res ( p G ) + π B p res ( p B ) , $$ {p}_{\mathrm{res}}^{\mathrm{GMM}}=\left(1-{\pi}_B\right)\kern0.3em {p}_{\mathrm{res}}\left({p}_G\right)+{\pi}_B\kern0.3em {p}_{\mathrm{res}}\left({p}_B\right), $$ (27)
where π B $$ {\pi}_B $$ is the probability of the burst state.
The overall failure probability is then given by
P fail = 1 ( 1 p res GMM ) K , $$ {P}_{\mathrm{fail}}=1-{\left(1-{p}_{\mathrm{res}}^{\mathrm{GMM}}\right)}^K, $$ (28)
where K $$ K $$ is given by Equations (13) or (14) depending on whether ABFT is applied.

4.4.4 Analytical Results

Assume that photonic tensor core provides 8-bit precision, N = 256 $$ N=256 $$ , Figure 6 plots the failure probability without error correction. It uses the fast-mode Ozaki scheme. As expected, the failure probability increases rapidly with matrix size, and large-scale computations become unreliable even at moderate error rates. Figure 7 shows the failure probability with the ABFT. The results demonstrate a substantial reduction in failure probability across all matrix sizes, confirming the quadratic suppression effect predicted by the analytical model.

Details are in the caption following the image
Failure rate of matrix multiplication with no ABFT under AWGN.
Details are in the caption following the image
Failure rate of matrix multiplication with the ABFT under AWGN.

Overall, the analysis demonstrates that although the Ozaki scheme increases the number of sub-computations, the integration of ABFT enables scalable and reliable high-precision computation on noisy photonic hardware.

Figures 8 and 9 show the failure probabilities under the GMM model for the same configurations as Figures 6 and 7. The X $$ X $$ -axis represents the base noise standard deviation ( σ $$ \sigma $$ ) of the stochastic analog noise added to the photonic MAC output before quantization. Compared to the AWGN case, the GMM results exhibit a significantly higher failure probability, particularly in the low-error regime. This is because the burst-like model increases the likelihood of multiple simultaneous errors within the same protection unit. While ABFT effectively suppresses failure probability under AWGN due to its single-error correction capability, its effectiveness degrades under GMM, where correlated errors violate the single-error assumption. As a result, even when the average noise level is low, the presence of rare but high-variance noise events leads to a sharp increase in failure probability.

Details are in the caption following the image
Failure rate of matrix multiplication with no ABFT under GMM.
Details are in the caption following the image
Failure rate of matrix multiplication with the ABFT under GMM.

These results indicate that ABFT effectiveness is strongly dependent on the error distribution, not only the average error rate. In particular, burst-like error patterns can significantly degrade reliability, even when the mean error rate remains unchanged. That is, the reduction in failure rate achieved by ABFT is significantly smaller under GMM than under AWGN.

4.4.5 Applicability to Other Noise Sources

AWGN is used as a tractable baseline for aggregate independent perturbations from analog readout and interface circuits. The two-state GMM extends this baseline by modeling rare high-variance samples and heavy-tailed error behavior, which stress the proposed recovery method beyond a single-variance Gaussian assumption.

For shot noise, the variance depends on optical signal intensity. In a high-photon-count regime, the Poisson distribution can be locally approximated by a Gaussian distribution with signal-dependent variance. Therefore, a similar reliability analysis can be applied by using value-, channel-, or tile-dependent error probabilities rather than a single uniform error probability.

For correlated or burst errors, the dominant factor is the probability of multiple simultaneous errors within one ABFT protection unit. Since the simple ABFT scheme corrects one erroneous output per protection unit, long-range correlation or burst errors can increase the probability of uncorrectable multi-error events and thus reduce the effectiveness of the method.

4.5 System-Level Execution-Time Model

The execution time is influenced not only by computation and memory transfer, but also by analog-to-digital conversion (ADC) latency. In photonic tensor cores, each analog multiply-accumulate (MAC) result must be converted into a digital representation before further processing, introducing a non-negligible overhead.

Assuming square matrices of size M $$ M $$ , the total execution time is modeled as
T total = s ( s + 1 ) 2 · max T comp + T adc , T mem , $$ {T}_{\mathrm{total}}=\frac{s\left(s+1\right)}{2}\cdotp \max \left({T}_{\mathrm{comp}}+{T}_{\mathrm{adc}},{T}_{\mathrm{mem}}\right), $$ (29)
where s ( s + 1 ) / 2 $$ s\left(s+1\right)/2 $$ represents the number of low-precision matrix multiplications in the fast-mode Ozaki scheme.
The computation time is given by
T comp = 2 M 3 P eff , $$ {T}_{\mathrm{comp}}=\frac{2{M}^3}{P_{\mathrm{eff}}}, $$ (30)
where P eff $$ {P}_{\mathrm{eff}} $$ denotes the effective arithmetic throughput.
The memory-transfer time is
T mem = V eff B eff , $$ {T}_{\mathrm{mem}}=\frac{V_{\mathrm{eff}}}{B_{\mathrm{eff}}}, $$ (31)
where B eff $$ {B}_{\mathrm{eff}} $$ is the effective memory bandwidth, and V eff $$ {V}_{\mathrm{eff}} $$ is defined as
V eff = M 2 b in r A + M 2 b in r B + M 2 b acc r C + M 2 b acc . $$ {V}_{\mathrm{eff}}=\frac{M^2{b}_{\mathrm{in}}}{r_A}+\frac{M^2{b}_{\mathrm{in}}}{r_B}+\frac{M^2{b}_{\mathrm{acc}}}{r_C}+{M}^2{b}_{\mathrm{acc}}. $$ (32)
The ADC latency is proportional to the number of photonic tensor-core invocations. Thus, it is modeled as
T adc = K · t adc , $$ {T}_{\mathrm{adc}}=K\cdotp {t}_{\mathrm{adc}}, $$ (33)
where K $$ K $$ is given by Equations (13) or (14) depending on whether ABFT is applied, and t adc $$ {t}_{\mathrm{adc}} $$ is the ADC latency per tensor-core invocation.

In the evaluation, we assume P eff = 10 $$ {P}_{\mathrm{eff}}=10 $$ TFLOPS, B eff = 500 $$ {B}_{\mathrm{eff}}=500 $$ GB/s, and t adc = 5 $$ {t}_{\mathrm{adc}}=5 $$ ns. The input precision is modeled with b in = 1 $$ {b}_{\mathrm{in}}=1 $$ byte, and accumulation with b acc = 8 $$ {b}_{\mathrm{acc}}=8 $$ bytes. Reuse factors are set to r A = r B = 16 $$ {r}_A={r}_B=16 $$ and r C = 1 $$ {r}_C=1 $$ .

For the comparison between no ABFT and ABFT, both methods use the same Ozaki decomposition count. Therefore, the difference arises only from the additional checksum rows and columns.

Figure 10 shows the execution time for each method. Each panel separates the computation and ADC components and directly labels the total execution time above each bar. The relative ABFT overhead is also shown in each panel. It decreases from 0 . 587 % $$ 0.587\% $$ at M = 512 $$ M=512 $$ to 0 . 073 % $$ 0.073\% $$ at M = 4096 $$ M=4096 $$ . Under the evaluated parameters, computation plus ADC latency is larger than the overlapped memory-transfer time and therefore determines the total shown in the figure.

Details are in the caption following the image
Execution time comparison between no ABFT and the ABFT under the performance model.

More specifically, the overhead of the ABFT decreases as M $$ M $$ increases, since the relative impact of a single checksum row and column diminishes. These results indicate that, when the Ozaki decomposition count is fixed, the performance difference among the three methods is small. In the exact discrete tiling model, the effective payload size per tensor-core invocation becomes ( N 1 ) × ( N 1 ) $$ \left(N-1\right)\times \left(N-1\right) $$ when ABFT is applied, due to the inclusion of checksum rows and columns within the same array. This modifies the invocation count from M 3 / N 2 $$ {M}^3/{N}^2 $$ to approximately M 3 / ( N 1 ) 2 $$ {M}^3/{\left(N-1\right)}^2 $$ . However, since ( N / ( N 1 ) ) 2 1 $$ {\left(N/\left(N-1\right)\right)}^2\approx 1 $$ for practical values of N $$ N $$ (e.g., 1.03 for N = 64 $$ N=64 $$ and 1.008 for N = 256 $$ N=256 $$ ), this effect introduces only a minor constant-factor overhead and does not change the overall execution-time trend.

Overall, under the model with overlap and data reuse, the system behaves as compute-bound including ADC rather than memory-bound. This suggests that conventional architectural techniques such as blocking, buffering, and pipelining are effective in mitigating memory overhead.

Notice that the matrix-reconfiguration overhead of photonic matrix processors is not explicitly considered in this study, as our focus is on the intrinsic performance potential of analog photonic MAC operations. While reconfiguration latency can be a concern in current implementations, it is expected to diminish with advances in device technologies such as fast tunable photonic elements, integrated control circuits, and improved calibration techniques. Moreover, emerging use cases, particularly in AI workloads with repeated or slowly changing weight matrices, naturally amortize reconfiguration costs over many computations. Therefore, although matrix reconfiguration remains an important system-level consideration, it is orthogonal to the core contribution of this study and is expected to become a less dominant factor in future photonic computing platforms.

5 Conclusion

We proposed an ABFT-based design for enabling Ozaki-based high-precision matrix multiplication on photonic matrix processors. The proposed approach addresses the limitation of photonic matrix processors, where stochastic noise and device non-idealities restrict achievable numerical precision. The error location can be identified as the intersection of inconsistent row and column checksums, enabling single-error correction on the quantized integer matrices and their quantized outputs. Evaluation results show that ABFT significantly reduces failure probability by orders of magnitude in low-error regimes, despite the increased number of sub-computations introduced by the Ozaki decomposition. However, we also showed that this benefit strongly depends on the error distribution: burst-like noise modeled by GMM substantially degrades ABFT effectiveness compared to AWGN, highlighting the importance of realistic noise modeling. From a system perspective, the computational overhead of ABFT is small, and the overall execution is dominated by computation rather than memory transfer under the overlap-and-data-reuse model.

An important direction for future work is to extend the present simple ABFT scheme toward more advanced forms of algorithm-based resilience. In particular, a block-level ABFT is a natural next step for improving scalability and robustness under burst-like noise. Incorporating these techniques into Ozaki-based photonic matrix multiplication would be an important topic for future research.

Funding

This work was supported by the Japan Society for the Promotion of Science (JSPS) (Grant No. JP22H05193) and Japan Science and Technology Agency (JST) (Grant No. JPMJCR24R3).

ENDNOTES

  • 1 We distinguish between stochastic analog noise, error (ULP-level deviation), and failure (final result mismatch).

Data Availability Statement

The data that support the findings of this study are openly available on GitHub at https://github.com/KoibuchiLab/ozaki-photonic-abft-artifact.

    Volume38, Issue16

    August 2026

    e70895

    The full text of this article hosted at iucr.org is unavailable due to technical difficulties.