All-optical graph representation learning using integrated diffractive photonic computing units

Tao Yan, Rui Yang, Ziyang Zheng, Xing Lin, Hongkai Xiong, Qionghai Dai · DOI

Introduction

Photonic Neural Networks (PNNs) have emerged as a promising alternative to electronic hardware, offering the potential for massive parallelism, low latency, and high energy efficiency. However, most existing photonic architectures are designed for Euclidean data, such as images or audio sequences, which possess a regular grid-like structure. In contrast, much of the world’s data is non-Euclidean, represented as graphs where nodes and edges define complex relationships—examples include social networks, molecular structures, and citation webs.

Researchers from Tsinghua University and Shanghai Jiao Tong University have addressed this gap by developing the Diffractive Graph Neural Network (DGNN). This architecture represents the first all-optical system capable of processing graph-structured data by implementing "message passing"—the fundamental operation of Graph Neural Networks (GNNs)—at the speed of light.

The Challenge of Non-Euclidean Photonic Computing

In a standard GNN, nodes must exchange information with their neighbors to update their own representations, a process known as message passing. This involves two primary functions: the message function (MSG), which extracts features from node attributes, and the aggregation function (AGG), which combines features from a node's neighborhood.

Implementing these relational operations in the optical domain is challenging because light typically propagates in a straight line or through fixed waveguides. Mapping the irregular, often dynamic connectivity of a graph onto a physical photonic substrate requires a rethink of how optical interference and diffraction are utilized.

The DGNN Architecture

The proposed DGNN architecture relies on three integrated pillars to perform all-optical graph processing:

  1. Diffractive Photonic Computing Units (DPUs): These serve as the feature extraction engine. Each DPU consists of successive layers of 1D metalines—tiny silica slots etched into a silicon-on-insulator (SOI) substrate. These metalines act as learnable diffractive layers that transform input optical fields to perform the MSG function.
  2. Optical Message Passing: To implement the AGG function, node attributes are encoded into the amplitude or phase of coherent light within strip waveguides. The architecture uses on-chip optical Y-couplers to physically merge signals from neighboring nodes, effectively performing the summation required for neighborhood aggregation.
  3. Scalable Modular Design: The DGNN is modular, allowing DPUs to be cascaded horizontally to capture deeper neighborhood information or stacked vertically to create "multi-head" features, analogous to the attention mechanisms found in modern Transformers.

To optimize hardware efficiency, the researchers integrated the PPRGo model. This approach allows the network to capture high-order neighborhood information in a single pass, significantly reducing the need for multiple energy-intensive iterations.

Experimental Results and Performance

The DGNN was benchmarked against several diverse datasets, including synthetic graphs (Stochastic Block Model), citation networks (Cora-ML and Citeseer), co-purchase graphs (Amazon Photo), and human action recognition data (UTKinect-Action3D).

Computing Power and Efficiency

The DGNN demonstrated performance metrics that significantly exceed current electronic state-of-the-art (SOTA) GPUs:

  • Computing Speed: The system achieved a throughput of 140.8 TOPs/s (Tera-Operations per second).
  • Energy Efficiency: It reached 14.080 POPs/W (Peta-Operations per Watt), several orders of magnitude more efficient than a Tesla V100 GPU.
  • Computing Density: At 305 TOPs/mm², the DGNN provides high processing power within an extremely compact footprint.

Accuracy and Generalization

On the Cora-ML dataset, the DGNN-E (the version using an electronic classifier) achieved 88.5% accuracy, surpassing the electronic PPRGo-S baseline of 86.9%. Notably, the DGNN showed superior performance in "data-scarce" scenarios. When training labels were extremely limited (e.g., only one labeled example per class), the optical features demonstrated a high inherent generalization capability, outperforming traditional electronic GNNs.

Robustness and Passive Inference

A key advantage of the DGNN is passive inference. Once the DPU’s metaline structures are fabricated, the computation occurs as light flows through the device. This process requires no additional power for logic gates, as the mathematics are performed via the physics of diffraction.

Furthermore, the system proved robust against experimental realities. Simulations involving significant Gaussian system noise and binary (on/off) modulations—which simplify the fabrication process—showed that the DGNN maintains competitive accuracy despite these perturbations.

Limitations and Future Outlook

While the DGNN represents a major milestone, the researchers identified several areas for future development:

  • Linearity: The current model is primarily linear. While GNNs are often less dependent on non-linearity than convolutional networks, integrating optical non-linear activation functions could further increase the model's capacity.
  • Programmability: The current Y-couplers use a fixed 50:50 ratio, meaning all neighbors are weighted equally. Future iterations could utilize phase-change materials to allow for programmable, weighted aggregation (optical attention).
  • In-situ Training: Currently, the metaline designs are optimized via numerical simulation before fabrication. Moving toward "in-situ" training, where the chip adjusts its own parameters in real-time, remains a primary goal for the field.

Conclusion

The DGNN successfully extends the benefits of photonic computing—speed, efficiency, and density—to the complex domain of graph-structured data. By combining diffractive optics with on-chip message passing, this work provides a scalable path forward for real-time processing of large-scale relational datasets in fields ranging from social network analysis to molecular biology.

Summary updated

BibTeX
@inproceedings{yan2022all,
  author = {Tao Yan and Rui Yang and Ziyang Zheng and Xing Lin and Hongkai Xiong and Qionghai Dai},
  title = {{All-optical graph representation learning using integrated diffractive photonic computing units}},
  booktitle = {Science},
  year = {2022},
  doi = {10.1126/sciadv.abn7630},
}
Figure