LightMat-HP: Photonic-Electronic GEMM Accelerator
- LightMat-HP is a hybrid photonic–electronic accelerator system designed for high-precision GEMM using configurable block floating-point arithmetic and slicing-based photonic multiplication.
- The accelerator delivers application-tunable tradeoffs between precision, throughput, and energy, outperforming conventional FPGA and GPU devices for small- and medium-sized matrices.
- Its architecture integrates a tightly coupled digital–photonic design with on-chip buffers and adaptive precision control to mitigate analog noise and optimize high-speed computation.
LightMat-HP is a hybrid photonic–electronic accelerator designed to enable end-to-end, high-precision general matrix multiplication (GEMM) with configurable numerical formats. Matrix multiplication is a foundational operation in both large-scale artificial intelligence workloads and scientific computing; existing electronic accelerators are increasingly limited by constraints in memory bandwidth and energy efficiency. Leveraging the ultra-high bandwidth and parallelism of photonic computing, LightMat-HP overcomes the low-precision limitations of analog photonic devices by integrating block floating-point (BFP) arithmetic, a slicing-based photonic multiplication scheme, and a tile-based dataflow. The system achieves sustainable, application-tunable tradeoffs between precision, performance, and energy efficiency, outperforming conventional FPGA and GPU devices as well as photonic baselines such as BITLUME, particularly for small- and medium-sized matrices (Gong et al., 14 Apr 2026).
1. System Architecture
LightMat-HP employs a tightly coupled digital–photonic hybrid architecture, logically divided into digital and photonic subsystems. The digital subsystem manages external DRAM access, converts standard floating-point (FP) matrices to BFP format via FP2BFP units, and concatenates results for reconversion to FP (BFP2FP). Each photonic processing unit (PPU) includes a Mantissa Processing Unit (MPU) that decomposes high-bit-width mantissas into low-bit slices, digital-to-analog converters (DACs) driving Mach–Zehnder modulators (MZMs) for analog encoding, cascaded MZMs for parallel slice-wise photonic multiplication, wavelength-division multiplexing (WDM) demultiplexers and photodetectors for optical-to-electrical conversion, and high-speed analog-to-digital converters (ADCs) (Gong et al., 14 Apr 2026).
Key photonic device roles:
- MZMs encode digital values as analog optical intensities ().
- WDM Photodetectors sum co-wavelength channels, realizing vector dot products via optical-power addition.
- Digital post-processing aligns and accumulates sub-products, maintaining full-precision in the electronic domain and containing analog noise.
2. Block Floating-Point (BFP) Arithmetic
BFP arithmetic underpins LightMat-HP's precision–performance tradeoffs. In BFP, a block of values shares a common exponent while each value maintains a -bit mantissa . The transformation is defined by:
- Mantissa scaling:
- Quantization: , with denoting rounding to 0 bits
Absolute quantization error per element is bounded by 1, and for a tile of size 2, total quantization error satisfies 3. Mantissa saturation prevents overflow/underflow (Gong et al., 14 Apr 2026).
3. Slicing-Based Photonic Multiplication Scheme
The analog photonic front-end is limited to 5–6 bits of linear precision by MZM non-idealities and noise. To enable high-precision GEMM, LightMat-HP slices each 4-bit mantissa into 5 sub-mantissas of width 6: 7 Photonic multiplication is performed in parallel for slice pairs; a PPU cycle emits four sub-products (8, 9, 0, 1) via distinct wavelengths. Digital post-processing reconstructs the full product: 2 This digital accumulation constrains the propagation of analog noise to within a statistically bounded envelope: for a dot product of length 3, the RMS noise after exponent scaling satisfies
4
where 5 is the standard deviation of Gaussian slice noise (Gong et al., 14 Apr 2026).
4. Tile-Based Dataflow for Large-Scale GEMM
Computing large GEMMs is achieved by partitioning the problem into 6 input/output tiles. Matrices 7 and 8 are sliced into 9 row-tiles and 0 column-tiles, respectively. Tile-level matrix blocks are flattened to vectors for sequential streaming into the PPU SRAM buffers. On-chip buffers (32 KB) and dual clock rates (256 MHz for data movement, 512 MHz for ADCs) support high-throughput burst operations, with algorithmic reconstructions aligning and concatenating outputs to form the final result matrix (Gong et al., 14 Apr 2026).
5. Precision–Performance Trade-offs
Adjusting BFP mantissa width (1) and corresponding slice count 2 allows flexible control of GEMM error, throughput, and energy:
- 3: RelL4 error 5 0.8%, throughput 6 4 TFLOPS, energy 7 25 TFLOPS/W
- 8: RelL9 0.2%, throughput 0 6 TFLOPS, energy 1 32 TFLOPS/W
- 2: RelL3, throughput 4 4 TFLOPS, energy 5 28 TFLOPS/W
These results delineate a Pareto frontier, enabling selection of application-appropriate precision at minimal computational cost (Gong et al., 14 Apr 2026).
6. Experimental Validation and Benchmarking
The prototype employs an AMD Zynq UltraScale+ RFSoC ZCU111 (14-bit DACs, 12-bit ADCs), tunable lasers at 1550 nm, Thorlabs 10 GHz MZMs, and 32 KB on-chip buffers per DAC player. The modulator region (ENOB 6 5 bits) dictates slice width.
Performance for 102471024 GEMM (FP32 output, BFP6+mantissa10) after 100 trials is summarized below:
| Platform | Throughput (TFLOPS) | Latency (ms) | Energy (TFLOPS/W) | RelL8 (%) |
|---|---|---|---|---|
| CPU (MKL) | 0.12 | 450 | 0.10 | 0.00† |
| GPU (RTX3060) | 6.00 | 9.5 | 39.4 | 0.00† |
| FPGA (ZCU111) | 1.25 | 48 | 5.4 | 0.00† |
| BITLUME | 3.90 | 15.4 | 26.0 | 0.08 |
| LightMat-HP | 6.65 | 8.1 | 39.1 | 0.15 |
† Exact FP32 result.
LightMat-HP achieves 1.5–2.5× lower latency than BITLUME and up to 5× lower latency than GPU/FPGA at small/medium matrix sizes, while matching or exceeding their energy efficiency (Gong et al., 14 Apr 2026).
7. Future Directions and Outlook
Proposed extensions include scaling LightMat-HP to chiplets and multi-chip photonic clusters via integrated optical interconnects, supporting trillion-element matrices, incorporation of on-board optical or phase-change memory (reducing DAC/ADC load), and adaptive precision scheduling to match per-tile and per-application error budgets. These directions are anticipated to further the integration of photonic hardware in high-precision workloads across AI and scientific applications, overcoming existing precision, bandwidth, and energy barriers in both electronic and photonic platforms (Gong et al., 14 Apr 2026).