TL;DR
This paper introduces a system-level performance model for photonic in-memory computing (pSRAM), crucial for bridging the gap between device-level advantages and real-world application performance. By accounting for key latencies like external memory access and opto-electronic conversion, they demonstrate that a compact pSRAM array can achieve significant computational throughput for scientific and machine learning workloads, offering a promising path beyond CMOS limitations.
What Problem Does This Paper Address?
As traditional CMOS technology approaches its scaling limits, the performance gains from parallel processing are increasingly hampered by latency and energy inefficiencies in electrical interconnects. Photonic computing, particularly photonic SRAM (pSRAM), offers a potential solution with its high operating frequencies and bandwidth. However, a critical gap exists in understanding how the theoretical advantages of pSRAM translate to actual system performance. Prior work has focused on device-level performance, but a comprehensive system-level model that accounts for essential overheads like external memory access and the opto-electronic conversion required to interface with the electrical domain has been missing. This paper aims to fill that gap by developing such a model to evaluate pSRAM's viability for high-performance computing.
Methods
The authors developed a system-level performance model by breaking down the pSRAM system into three key components: the pSRAM array itself (for in-memory computation), external electrical memory, and an opto-electronic interface. Their model quantifies the latency contributions from each of these parts. To facilitate algorithm mapping, they introduce a network model abstraction of the pSRAM array, defining computational primitives (multiply-accumulate) and communication primitives (neighbor exchange).
They then developed streaming algorithms for three representative high-performance computing workloads: the 1D Sod shock tube problem (plasma physics), Matricized Tensor Times Khatri-Rao Product (MTTKRP) (tensor decomposition for machine learning), and the Vlasov-Maxwell equation (kinetic plasma simulations). These streaming algorithms operate without intermediate optical storage, providing a conservative baseline performance estimate. The model allows for the analysis of architectural trade-offs, including memory bandwidth, operating frequency, array size, and bit width.
Datasets
Not discussed in the paper. The paper focuses on modeling and evaluating performance on representative computational kernels rather than training on specific datasets.
Key Insights and Ideas
- System-level modeling is crucial: Device-level performance doesn't automatically translate to system-level gains. Overheads like memory access and opto-electronic conversion are significant latency contributors that must be modeled.
- Streaming algorithms provide a conservative baseline: By avoiding intermediate optical storage, streaming algorithms highlight the worst-case performance, making architectural improvements more impactful when visualized.
- Workload dependency: The bottleneck (compute-bound vs. memory-bound) is workload-dependent and can be influenced by architectural parameters. For instance, increasing memory bandwidth significantly boosts performance for memory-bound tasks like MTTKRP.
- Scalability and trade-offs: The pSRAM architecture shows promise for scalability with increasing array size. However, achieving peak performance requires careful co-design of memory and I/O subsystems, especially at higher operating frequencies.
- Bit width matters: Reducing bit width can increase parallelism and performance by allowing more compute cells, but this comes at the cost of precision, necessitating a balance based on application requirements.
Key Results
The study demonstrates that a compact 1x256 bit single-wavelength photonic SRAM array, fabricated using a standard silicon photonics process, can achieve significant sustained throughput:
- Sod shock tube problem: Up to 1.5 TOPS
- MTTKRP: Up to 0.9 TOPS
- Vlasov-Maxwell equation: Up to 1.3 TOPS
This performance is achieved with an energy efficiency of 2.5 TOPS/W. The analysis also revealed that:
- Increasing external memory bandwidth significantly improves sustained performance for all workloads.
- Higher pSRAM operating frequencies lead to nearly linear increases in sustained performance for compute-bound workloads.
- Opto-electronic conversion latency becomes less significant for larger problem sizes where it can be amortized over many computations.
Limitations and Future Work
The authors acknowledge that their streaming algorithm approach, while providing a conservative baseline, does not account for potential benefits from architectural enhancements like optical buffering, which could further improve performance by enabling data reuse and better scheduling. Future work could explore these optimizations. Additionally, while the model accounts for key latencies, further refinement could incorporate more detailed device-level variations and error propagation. The paper also suggests that scaling to larger arrays and higher frequencies will require careful co-design of memory and I/O subsystems to fully realize the potential of photonic in-memory computing.
Summary updated