arXiv ScienceSearch

arXiv · 2504.19692

All-Optical Doubly Resonant Cavities for ReLU Function in Nanophotonic Deep Learning

Abstract

We present a novel approach to implementing all-optical Rectified Linear Unit (ReLU) activation functions using compact doubly-resonant cavities with dimensions of approximately $10\,μ\mathrm{m}$. Our design leverages $χ^{(2)}$ nonlinear processes within carefully engineered photonic structures that simultaneously resonate at both fundamental and second-harmonic frequencies. By exploiting the phase-sensitive nature of second-harmonic generation, we demonstrate an optical analog to the ReLU function, achieving femtojoule-level activation energy-comparable to state-of-the-art approaches-while reducing device footprint by two orders of magnitude compared to previous implementations. We develop the theoretical framework using coupled-mode theory and validate it through rigorous finite-difference time-domain simulations. Beyond ReLU, we show that the same physical structure can implement alternative activation functions such as ELU and GELU through simple adjustments to input conditions. Neural network simulations demonstrate that our proposed optical activation functions achieve classification accuracy within $0.4\%$ of ideal electronic implementations while offering significant advantages in energy efficiency and processing speed. This work represents a significant advancement toward realizing energy-efficient, high-density optical neural networks for next-generation artificial intelligence hardware.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Amirreza Ahmadnejad, Mohmmad Mehrdad Asadi, Somayyeh Koohi. 2025-04-28. All-Optical Doubly Resonant Cavities for ReLU Function in Nanophotonic Deep Learning. https://doi.org/10.1371/journal.pone.0345850

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Selective sparsity-enhanced synchronization in disordered semiconductor laser networks

Biological networks tend to leverage selective sparsity as an economic strategy to optimize function while minimizing wiring costs. In contrast, achieving synchronization in engineered systems such as semiconductor laser arrays is traditionally expected to require resource-intensive coupling %strong connections to overcome intrinsic frequency disorders. We demonstrate that selectively coupled sparse networks can outperform fully connected architectures, achieving near-complete synchronization with a significantly reduced coupling budget. Using an evolutionary algorithm, we identify a ``pairing opposites" principle: optimal structures specifically prioritize connections between oscillators with the largest opposite frequency detuning. This topology neutralizes dynamical interference induced by redundant links, leading to stable synchronization. We formalize this mechanism through a thermodynamic potential framework, mapping time-delayed phase dynamics to an energy landscape where optimal sparsity prunes additional states to stabilize global phase-locking. Furthermore, we show that the optimal connectivity scales inversely with system size. This principle provides a resource-efficient blueprint for synchronizing and stabilizing diverse complex networks, from photonic arrays to neuromorphic hardware.

physics.optics

Super-resolution microscopy via fluctuation-enhanced spatial mode demultiplexing

We introduce a superresolution technique that combines spatial mode demultiplexing (SPADE) with emitter blinking. We show that temporal fluctuations not only enhance the precision of SPADE imaging, but also drastically simplify the measurement required to recover full object information---in the presence of fluctuations, SPADE can be replaced by the much simpler image inversion interferometry. Both gains are enabled by exploiting temporal cumulants of the detected signal. We further show that the proposed fluctuation-enhanced techniques are significantly more robust to dark-count noise than conventional SPADE.

physics.optics

Phase-controlled transport of Floquet-driven compact chiral photonic states

The Aharonov-Bohm (AB) effect remains a cornerstone of fundamental and applied physics. In this work, we utilize the AB caging effect originated from an effective magnetic field induced by multiorbital interactions, creating an all flat band (FB) lattice system. Normally, FB states are known for being compact in space and having a zero tail; therefore, their mobility in a linear environment is generally understood as impossible. We propose a Floquet driving protocol in an all-FB photonic system to fully control the dynamics of localized photonic states. The modulation of the Hamiltonian along the propagation coordinate allows the translation of compact states in the direction of constructive interference, resulting in an effective stroboscopic quantum walk-like effect. We find that the traveling states exist in chiral pairs. We experimentally implement the Floquet driven protocol using femtosecond laser written photonic waveguides and demonstrate directional control of the propagation, determined by the relative phase of the input condition.

physics.optics