All-optical binary convolution with a photonic spiking vertical-cavity surface-emitting laser (VCSEL) neuron is proposed and demonstrated experimentally for the first time, to the best of our knowledge. Optical inputs, extracted from digital images and temporally encoded using rectangular pulses, are injected in the VCSEL neuron, which delivers the convolution result in the number of fast (

- Photonics Research
- Vol. 9, Issue 5, B201 (2021)
Abstract
1. INTRODUCTION
Convolutional neural networks (CNNs) have seen tremendous success in many applications, such as speech and image recognition [1,2], computer vision [3], and document analysis [4]. However, CNN-based systems are computationally expensive due to their complicated architectures and the large number of parameters they rely on. CNNs therefore typically require the implementation of multicore central processing units and graphics processing units to compensate for the rather high computational expense [5,6]. This makes CNN architectures often unsuitable for smaller devices like phones and smart cameras, where power and speed have strict limitations. To address these drawbacks, the optimization and discovery of new high-speed and low power consumption platforms for CNNs are urgently required. For the optimization of CNNs, binary CNNs, which are simple, efficient, and accurate approximations of complete CNNs, can be introduced [7–9]. In binary CNNs, the weights given to the inputs of each convolutional layer are approximated with binary values [7]. Therefore, binary CNNs boast
Photonics is considered a highly promising candidate for future neural network implementations given the unique advantages it provides such as high speed, wide bandwidth, and low power consumption [12–21]. Photonics-based CNNs have therefore been proposed in order to increase the speed of convolutional operations [18–21]. A photonic CNN accelerator was proposed based on silicon photonic micro-ring weighting banks [18]. The full system design offers more than three orders of magnitude improvement in execution time, and its optical core potentially offers more than five orders of magnitude improvement compared to state-of-the-art electronic counterparts [18]. Xu
In this work, we propose an all-optical binary convolution system using a single vertical-cavity surface-emitting laser (VCSEL) operating as a spiking optical neuron, hence, dramatically reducing hardware requirements. In our approach, temporal encoding is used instead of spatial encoding, thus crucially helping to reduce (optical) hardware complexity. In our all-optical binary convolution technique, results are represented by the number of fast (
Sign up for Photonics Research TOC. Get the latest issue of Photonics Research delivered right to you!Sign up now
In this work, we use a VCSEL-based photonic approach for binary convolution to demonstrate image gradient magnitude calculation. This delivers an essential portion of the image edge detection functionality used by computer vision and image recognition systems. Here, a single VCSEL system is developed to solely perform a convolution operation; hence, no VCSEL-based CNN architecture, capable of providing learning and classification capabilities, is discussed in this work. The rest of the paper is organized as follows. Section 2 is devoted to the experimental setup of this work for the demonstration of all-optical binary convolution with a spiking VCSEL neuron and the theoretical model used to predict the response of the system. In Section 3, convolutional results are analyzed before the full calculation of image gradient magnitudes is performed both experimentally and theoretically. Finally, Section 4 summarizes the conclusions of this work.
2. EXPERIMENTAL SETUP AND THEORETICAL MODEL
We present here the experimental arrangement and theoretical model of the all-optical binary convolution system based on a photonic spiking VCSEL neuron. In this work, we set a source digital image and a kernel as the two inputs of the convolution system. The value of any one pixel in the source image or kernel is limited to 0 or 1.
A. Experimental Setup
Figure 1.Experimental setup of the binary convolution system based on a single VCSEL. TL, tunable laser; OI, optical isolator; VOA, variable optical attenuator; PC1, PC2, and PC3, polarization controllers; AWG, arbitrary waveform generator; Mod1, Mod2, Mach–Zehnder modulators; OC1, OC2, optical couplers; CIRC, circulator; Bias & T Controller, bias and temperature controller; PD, photodetector; PM, power meter; SCOPE, oscilloscope; OSA, optical spectrum analyzer.
Figure 2.(a) Optical spectrum of free-running VCSEL used in the experiment. (b) Optical spectrum of the VCSEL subject to constant optical injection. Two polarization modes of VCSELs are referred to as
B. Theoretical Model
We use an extension of the well-known spin-flip model (SFM) to model the operation of the VCSEL acting as a spiking optical neuron. In our formulation, we add extra terms to the model’s equations to account for the source image and kernel inputs. The rate equations can be described as follows [26,27]:
3. EXPERIMENTAL AND NUMERICAL RESULTS
In this section, we firstly provide an experimental proof-of-concept demonstration of all-optical binary convolution with a spiking VCSEL neuron. We then calculate the image gradient magnitudes from a basic “Square” source image and a complex “Horse head” source image by means of all-optical binary convolution. Simulation results on the binary convolution and the calculation of image gradient magnitudes are also presented using a “Horse” source image from the latest version of the Berkeley Segmentation Data Set [32]. Finally, the robustness of our binary convolution system is also tested numerically by adding noise to the source image and kernel inputs.
A. Experimental Results
Figure 3.Example of a single step during a 2D binary convolution operation. During this step, a Hadamard (element-wise) product is calculated for a submatrix of the image and the kernel, and all of the values in the multiplication result are summed up to obtain a single value.
Figure 4.Experimental convolution operation. (a) Inputs of Channel 1 (image in Fig.
Figure 5.Temporal map of 100 superimposed consecutive convolutional results measured experimentally at the output of spiking VCSEL neuron.
B. Calculation of Image Gradient Magnitudes
In this section, the image gradient magnitude, critical to image edge detection, is calculated using our approach based on a single spiking VCSEL neuron and optical binary convolution. The image gradient magnitude
Four binary convolutions, i.e.,
Figure 6.(a) Gray color: range of the local binary pattern descriptor of pixels. (b) A
For the red-highlighted pixel
In Eqs. (7) and (8),
Figure 7.Four convolutional results with four highlighted area kernels for one pixel, which has red box in Fig.
Figure 8.Gradient maps of the “Square” source image. Visualizations of (a)
Figure 9.“Horse head” image and the gradient maps of the “Horse head” image. (a) Source “Horse” image. The blue box indicates the “Horse Head” image used for analysis in (b). Visualizations of the (c)
C. Numerical Results
In this section, binary convolution based on a single VCSEL neuron is performed numerically. The robustness of the system to perform all-optical binary convolution under noisy inputs and for larger kernels is investigated. Finally, the calculation of image gradient magnitudes with our photonic approach using a single VCSEL neuron is presented numerically using the “Horse” image from the latest version of the Berkeley Segmentation Data Set [32].
Figure 10.(a1)–(a3) Inputs of Channel 1 (image in Fig.
Figure 11.“Horse” image and gradient maps of the “Horse” image. (a) “Horse” image. Visualizations of (b)
Optical binary convolution can be used in systems where simplified convolutional operations, with binary inputs (still able to provide high-performance accuracy), provide other key advantages in terms of increased operation speed, lowered energy consumption, and reduced hardware requirements. This is the case of the system reported in this work, using an extremely hardware friendly implementation of a single VCSEL to perform high-speed and low energy (
The utilization of binary convolution in the calculation of image gradient maps has been reported to outperform the alternative Canny implementation [35] of image gradient maps convolution, in the Intel i7 mobile processor [33]. In that report, the frequency of the binary gradient-based edge detector was 4.7 Hz, while the Canny convolution approach was found to operate at 0.5 Hz. This indicates that binary convolution can be performed at speeds faster than alternative convolution approaches. Additionally, mobile processors operate with powers of several watts (for example, the Intel i7 has a power of 15 W) [37], whilst VCSELs, such as the one used in this work, provide low power performance typically at milliwatt (mW) and sub-mW power levels. Hence, the energy consumption for the calculation of image gradient maps obtained with our VCSEL-based optical binary convolution system can be significantly more energy efficient, as well as yield faster operation speeds, than the performance achieved with traditional or binary convolution methods in digital processors.
4. CONCLUSION
In this work, we proposed and investigated experimentally and numerically an all-optical binary convolution system using a VCSEL operating as a photonic spiking neuron. The inputs (image and kernel) are encoded temporally using fast rectangular pulses (1.5-ns-long) and optically injected into the VCSEL neuron. The latter’s optical output directly provides the results of the convolution in the number of (sub-ns long) spikes fired. In addition to performing all-optical binary convolution, we demonstrated experimentally and numerically the ability of the proposed system to calculate the image gradient magnitudes from digital source images. This feature was successfully used to identify key edge features from a source image as well as its separate horizontal and vertical components. Furthermore, we investigated numerically the robustness of the proposed VCSEL-based convolutional system to input noise. This simple system, using a single commercially available VCSEL operating at the key telecom wavelength of 1300 nm, offers a novel photonic solution to binary convolution with the advantage of being highly energy efficient and hardware friendly. This opens exciting prospects for a new photonic spiking platform for future optical binary spiking CNNs. Furthermore, the high-speed, low cost, and neuronal functionalities of these photonic spiking systems hold promise for numerous processing tasks expanding into fields such as computer vision and artificial intelligence.
Acknowledgment
Acknowledgment. We thank Prof. T. Ackemann and Prof. A. Kemp (University of Strathclyde) for lending some of the equipment used in this work. All data underpinning this publication are openly available from the University of Strathclyde KnowledgeBase at https://doi.org/10.15129/51af27bc-8cc2-46a7-9088-1aad87e4340c.
References
[1] O. Abdel-Hamid, A. R. Mohamed, H. Jiang, G. Penn. Applying convolutional neural networks concepts to hybrid NN-HMM model for speech recognition. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 4277-4280(2012).
[2] J. Fu, H. Zheng, T. Mei. Look closer to see better: recurrent attention convolutional neural network for fine-grained image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 4438-4446(2017).
[3] K. Gopalakrishnan, S. K. Khaitan, A. Choudhary, A. Agrawal. Deep convolutional neural networks with transfer learning for computer vision-based data-driven pavement distress detection. Constr. Build. Mater., 157, 322-330(2017).
[4] P. Y. Simard, D. Steinkraus, J. C. Platt. Best practices for convolutional neural networks applied to visual document analysis. International Conference on Document Analysis and Recognition (ICDAR), 958-963(2003).
[5] C. Farabet, C. Couprie, L. Najman, Y. LeCun. Learning hierarchical features for scene labeling. IEEE Trans. Pattern Anal. Mach. Intell., 35, 1915-1929(2013).
[6] L. Cavigelli, M. Magno, L. Benini. Accelerating real-time embedded scene labeling with convolutional networks. Proceedings of the 52nd Annual Design Automation Conference, 108(2015).
[7] M. Rastegari, V. Ordonez, J. Redmon, A. Farhadi. Xnor-net: ImageNet classification using binary convolutional neural networks. European Conference on Computer Vision (ECCV), 525-542(2016).
[8] F. Juefei-Xu, V. N. Boddeti, M. Savvides. Local binary convolutional neural networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 19-28(2017).
[9] X. Lin, C. Zhao, W. Pan. Towards accurate binary convolutional neural network. Advances in Neural Information Processing Systems (NIPS), 345-353(2017).
[10] M. Courbariaux, Y. Bengio, J.-P. David. BinaryConnect: training deep neural networks with binary weights during propagations. Advances in Neural Information Processing Systems (NIPS), 3105-3113(2015).
[11] M. Courbariaux, I. Hubara, D. Soudry, R. El-Yaniv, Y. Bengio. Binarized neural networks: training deep neural networks with weights and activations constrained to +1 or -1(2016).
[12] M. Turconi, B. Garbin, M. Feyereisen, M. Giudici, S. Barland. Control of excitable pulses in an injection-locked semiconductor laser. Phys. Rev. E, 88, 022923(2013).
[13] P. R. Prucnal, B. J. Shastri, T. F. de Lima, M. A. Nahmias, A. N. Tait. Recent progress in semiconductor excitable lasers for photonic spike processing. Adv. Opt. Photon., 8, 228-299(2016).
[14] S. Xiang, Y. Zhang, J. Gong, X. Guo, L. Lin, Y. Hao. STDP-based unsupervised spike pattern learning in a photonic spiking neural network with VCSELs and VCSOAs. IEEE J. Sel. Top. Quantum Electron., 25, 1700109(2019).
[15] Y. Zhang, S. Xiang, X. Guo, A. Wen, Y. Hao. All-optical inhibitory dynamics in photonic neuron based on polarization mode competition in a VCSEL with an embedded saturable absorber. Opt. Lett., 44, 1548-1551(2019).
[16] J. Feldmann, N. Youngblood, C. D. Wright, H. Bhaskaran, W. H. P. Pernice. All-optical spiking neurosynaptic networks with self-learning capabilities. Nature, 569, 208-214(2019).
[17] J. Robertson, E. Wade, Y. Kopp, J. Bueno, A. Hurtado. Toward neuromorphic photonic networks of ultrafast spiking laser neurons. IEEE J. Sel. Top. Quantum Electron., 26, 7700715(2019).
[18] A. Mehrabian, Y. Al-Kabani, V. J. Sorger, T. El-Ghazawi. PCNNA: a photonic convolutional neural network accelerator. IEEE International System-on-Chip Conference (SOCC), 169-173(2018).
[19] H. Bagherian, S. Skirlo, Y. Shen, H. Meng, V. Ceperic, M. Soljacic. On-chip optical convolutional neural networks(2018).
[20] S. Xu, J. Wang, R. Wang, J. Chen, W. Zou. High-accuracy optical convolution unit architecture for convolutional neural networks by cascaded acousto-optical modulator arrays. Opt. Express, 27, 19778-19787(2019).
[21] S. Xu, J. Wang, W. Zou. High-energy-efficiency integrated photonic convolutional neural networks(2019).
[22] K. Iga, H. E. Li. Vertical-Cavity Surface-Emitting Laser Devices(2003).
[23] R. Michalzik. VCSELs: Fundamentals, Technology and Applications of Vertical-Cavity Surface-Emitting Lasers, 166(2013).
[24] A. Hurtado, J. Javaloyes. Controllable spiking patterns in long-wavelength vertical cavity surface emitting lasers for neuromorphic photonics systems. Appl. Phys. Lett., 107, 241103(2015).
[25] B. Garbin, J. Javaloyes, G. Tissoni, S. Barland. Topological solitons as addressable phase bits in a driven laser. Nat. Commun., 6, 5915(2015).
[26] S. Y. Xiang, A. J. Wen, W. Pan. Emulation of spiking response and spiking frequency property in VCSEL-based photonic neuron. IEEE Photon. J., 8, 1504109(2016).
[27] T. Deng, J. Robertson, A. Hurtado. Controlled propagation of spiking dynamics in vertical-cavity surface-emitting lasers: towards neuromorphic photonic networks. IEEE J. Sel. Top. Quantum Electron., 23, 1800408(2017).
[28] J. Robertson, T. Deng, J. Javaloyes, A. Hurtado. Controlled inhibition of spiking dynamics in VCSELs for neuromorphic photonics: theory and experiments. Opt. Lett., 42, 1560-1563(2017).
[29] A. Dolcemascolo, B. Garbin, B. Peyce, R. Veltz, S. Barland. Resonator neuron and triggering multipulse excitability in laser with injected signal. Phys. Rev. E, 98, 062211(2018).
[30] J. Robertson, M. Hejda, J. Bueno, A. Hurtado. Ultrafast optical integration and pattern classification for neuromorphic photonics based on spiking VCSEL neurons. Sci. Rep., 10, 1(2020).
[31] M. Hejda, J. Robertson, J. Bueno, A. Hurtado. Spike-based information encoding in VCSELs for neuromorphic photonic systems. J. Phys., 2, 044001(2020).
[32] P. Arbelaez, M. Maire, C. Fowlkes, J. Malik. Contour detection and hierarchical image segmentation. IEEE Trans. Pattern Anal. Mach. Intell., 33, 898-916(2011).
[33] P. L. St-Charles, G. A. Bilodeau, R. Bergevin. Fast image gradients using binary feature convolutions. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 1-9(2016).
[34] E. Nadernejad. Edge detection techniques: evaluations and comparisons. Appl. Math. Sci., 2, 1507-1520(2008).
[35] J. Canny. A computational approach to edge detection. IEEE Trans. Pattern Anal. Mach. Intell., 8, 679-698(1986).
[36] R. Hamerly, L. Bernstein, A. Sludds, M. Soljačić, D. Englund. Large-scale optical neural networks based on photoelectric multiplication. Phys. Rev. X, 9, 021032(2019).
[37] V. Spiliopoulos, G. Keramidas, S. Kaxiras, K. Efstathiou. Power-performance adaptation in Inter core i7. Proceedings of 2nd Workshop Computer Architecture and Operating System Co-design, 1-10(2011).

Set citation alerts for the article
Please enter your email address