Emerging role of machine learning in light-matter interaction

Abstract

Machine learning has provided a huge wave of innovation in multiple fields, including computer vision, medical diagnosis, life sciences, molecular design, and instrumental development. This perspective focuses on the implementation of machine learning in dealing with light-matter interaction, which governs those fields involving materials discovery, optical characterizations, and photonics technologies. We highlight the role of machine learning in accelerating technology development and boosting scientific innovation in the aforementioned aspects. We provide future directions for advanced computing techniques via multidisciplinary efforts that can help to transform optical materials into imaging probes, information carriers and photonics devices.

Recently, artificial intelligence has rapidly altered many aspects of modern society, enhancing the role of the machine in competing against different human roles. Machine learning (ML), as a subfield of artificial intelligence, is fast becoming an essential part of every industry, with an unprecedented ability to rapidly classify and predict patterns within data and discern unforeseen trends that are otherwise impossible for a human observer to identify. Almost every scientific field is benefitting from this powerful tool, be it for prediction, the generation of data or parameter estimation.

The machine learning algorithm called deep learning is becoming increasingly popular. It has a strong capability of finding latent data structures and classifying highly nonlinear datasets, attributes that are ideal for physical sciences and, more particularly, photonics. Taking advantage of embedded codes and algorithms from realistic theoretical calculations, deep learning can stretch their abilities to quickly evolve into a method for accelerating screening efficiency and the theoretical prediction of nanomaterials.

Research relevant to the light-matter interaction, facilitated by materials science, physics, and photonic technologies, is being promoted to a new level with the engagement of ML. This is evidenced by two new trends: one is the emerging intelligent photonic technologies; the other is embedding ML into physical and chemical sciences for insightful knowledge acquisition and novel fundamental discoveries.

Intelligent photonics technology developments

“Intelligent” means that photonics technology with the upgrade functionality, which is enabled by machine learning techniques, is outperforming conventional photonics, which could be laborious, be time/cost consuming, and deliver limited performance.

Investigation of the light-matter interaction highly depends on optical microscopy, which allows the localized observation of an object in a controllable three-dimensional space and simultaneously translates the interaction into images or spectra. For further quantification of the image or spectra with correlated structural information, conventional studies rely on additional characterizations such as atomic force microscopy (AFM), transmission electron microscopy (TEM), and Raman spectroscopy. In the following two examples, we highlight the fact that ML shows great potential to develop new interpretation tools, resulting in user-friendly all-in-one technology.

Structure-optical property correlated microscopy

Two-dimensional (2D) materials are extremely interesting in view of their interlayer coupling and carrier transfer behavior. The identification of the number of layers and their heterogeneity is a general requirement to facilitate device engineering and to reach an understanding regarding optical phenomena such as blinking and quantum emission. While the existing technologies, including STM, AFM, and Raman spectroscopy, can sense the thickness of 2D materials, they normally need to be performed separately from optical imaging and are not very conclusive. Hence, Lin and coworkers developed an optical microscope with self-customized ML software, which enables in situ wide-field identification of 2D nanostructures, as demonstrated for graphene and MoS21. The training process established a database, and the machine learned the characteristic red-green-blue (RGB) information of the optical photographs, which was correlated to the layers of graphene or MoS2. During training, the ground-truth labels were the number of layers of the 2D samples provided by AFM characterization, which confirmed that the sample thickness was linked to different categories of RGB intensities and were further analyzed by the SVM algorithm to establish a training model. During testing, the false-color image visually displayed the number of layers and even impurities thanks to the classification made by the software based on logistic regression (Fig. 1a).

Fig. 1: Examples of technology development with the assistance of machine learning.
figure1

a Optical identification of 2D nanostructures in graphene and MoS2 using a support vector machine (SVM) algorithm1. The training set contains optical microscope photographs of graphene or MoS2 samples at different light intensities. Following the judgment based on atomic force microscopy (AFM) and Raman spectroscopy, the red-green-blue (RGB) database and SVM model of graphene or MoS2 samples (denoted as “training results”) are established after SVM analyses of the RGB data collected from the training set. Referring to the “training results”, graphene, MoS2, or heterostructures of these two materials can then be identified according to their optical microscope photographs (denoted as “testing results”). b Optical information read-out via the RGB values of microscopy images based on an artificial neural-network12. Within a “4-bit” nanostructure geometry, the digital information is encoded in the four silicon blocks (block: “1”, no block: “0”). The structure corresponds to the 4-bit digit “1001” (decimal “9”). The L-shaped sidewall is necessary to distinguish symmetric arrangements via polarized optical spectroscopy. Representative polarized (X-polarizations and Y-polarizations) filtered dark-field color images of representative 3 × 3 arrays of the “4-bit” digit structures are collected to extract the input feature, including R, G, and B values in both polarizations and the intensity value. A scheme of the fully connected artificial neural network is used for the RGB classification task and generates the “4-bit” digit output

Decoding technology beyond the diffraction limit

With the fast-growing development of nanotechnology, sophisticated structures and their miniaturizations have become mature tools. The resulting challenge is to accurately resolve faint optical signals from a limited number of atoms or molecules, which are very likely to be buried in noise. Moreover, the larger the extent of the nanostructure control is, the larger the database of the relevant optical parameters. In this case, ML can play the role of an unprecedented interpretation method, replacing conventional algorithms or manual operations. Recent works have employed ML to predict the bandgap2,3,4, Fermi level5, and optical spectra of nanophotonic particles and metasurfaces6,7,8,9,10. Moreover, Aharon and coworkers proved that deep learning can efficiently mitigate the adversarial effects of noise11.

The same situation occurs in optical data storage. Nanomaterials are leading a large movement towards optical storage methods with ultrahigh capacity, ultralong lifetime and ultralow energy consumption. However, their subtle features are difficult to read out accurately. High-density optical data storage is limited by light diffraction. To overcome this problem, Wiecha et al. developed a robust ML-based read-out technology enabling encoding multiple-bit information (Fig. 1b)12. Optical information of silica nanostructures is stored in scattering spectra or simply as RGB values from dark-field imaging. A neural network was trained to output 4-bit encoding values upon the input of both X-polarized and Y-polarized RGB datasets and the scattering intensities. The demonstrated information retrieval of the network was almost error-free, so that the network was further expanded to 9-bit encoding sequences, leading to a 40% higher storage capacity than that of blu-ray discs. This new encoding technology has enabled up to nine bits of information per diffraction-limited area, far beyond the one bit of information per area of traditional technology. The ability of neural networks to find hidden underlying patterns and form nonlinear decision boundaries within datasets makes them ideal for solving such problems.

As image-based ML algorithms belong to one of the most rapidly developing and mature fields of ML, it is interesting to test this technology on microscopy applications using algorithms spanning a wide range of complexity, from very simple pixel-based algorithms that look at the relationships between neighboring pixels and their values to more complex ones such as deep learning, which interprets the hidden information based on the input features from the image data. Exemplified work includes a report from Ozcan’s group, who developed a virtual staining technology for the histological analysis of tissues, in which the diffraction-limited input images are transformed into super-resolved images with the help of a convolutional neural network13.

New ML tools for photonic materials discovery

The ‘black box’ principle of deep learning allows one to solve problems without a professional background or precise knowledge of the field. The ‘black box’ bypasses the intricate underlying physics and mechanisms, relying only on the training process and a large amount of data to carry out a task. To truly take advantage of artificial intelligence for human cognition and science advancement, the present tendency is to focus on solving a conventionally inextricable problem using new ML tools. The most challenging task is to choose the best input features for training the algorithm, which often requires in-depth knowledge of the problem, as well as of how the ML algorithm itself works. For cases where it is nearly impossible to engineer input features or have an intuition regarding the domain knowledge (the ‘black box’ remains unopen), ML provides opportunities to discover hidden relationships that humans are otherwise unable to perceive based on the unsupervised training from convolutional neural networks (CNNs) (Fig. 2a ⑴). By shedding light onto the black box of a deep neural network, after training and successful generalization, ML helps us further improve our intuition and domain knowledge through the alternative paths created by data-based inference. A possible method such as ‘transfer learning’ in deep learning could leverage the knowledge (features, weights, etc.) from previously trained models to train newer models and even tackle problems with less data for newer tasks14.

Fig. 2: Demonstration of how machine learning helps in achieving a knowledge upgrade.
figure2

a Flow chart highlighting the pathways leading to a knowledge upgrade with ( supervised training) or without ( unsupervised training) existing domain knowledge to extract meaningful features for ML. Upgraded knowledge is relative to existing knowledge in each domain, determined by the scientific problems we aim to solve. Two examples showcase the possible existing domain knowledge (b, d) and upgraded knowledge (c, e, f) for practical problems during ML. b, c Towards fast materials screening, the ML approach reveals key conditions for efficient Ce3+-activated scintillators and predicts good candidates15. b Left panel: 4 f vacuum-referred binding energies (VRBE) E4f (m, Q, A) of the divalent (Q= 2 + ; red squares) and trivalent (Q= 3 + ; blue squares) lanthanide ions; m represents the number of electrons in the 4 f shell: m=n for Q= 3 + , and m=n+ 1 for Q= 2 + ; “A” represents the chemical environment of the lanthanide ions. Right panel: Scheme depicting the changes in 4f-shell and 5d-shell electron binding energies in Ce3+ from a vacuum to a chemical environment A. c, Stacked-band scheme showing the DFT-computed relative valence and conduction band edges and ML-predicted VRBEs of an electron in the 4f and 5d1 levels of the Ce3+ activator for elpasolite compounds; known scintillators are highlighted with blue bars. df Towards the discovery of new aggregation-induced emission (AIE) materials, the ML approach predicts and understands the AIE effect based on quantum mechanics. d Triphenylamine (TPA) core: green circle represents central nitrogen atom, and gray ellipses represent adjacent carbons with charges Ei16. e Classifiers trained by N-3C and 3 C show similar performance, while the single N yields the worst result. f Classification of the qualities of the parameter D at different threshold levels; the dot-dash line refers to the best threshold

Path ⑵ in Fig. 2a shows the cases where it is possible to open the ‘black box’ directly by having a suitable background and fine scientific intuition for extracting effective features from experimental data via supervised training. Domain knowledge requires an in-depth mechanistic understanding of phenomena in addition to the phenomenological parameters of the studied materials, such as the size, shape, composition, and optical properties. New ML algorithms can subsequently determine the correlations between features and outputs. When the number of features is large and when they may include redundant members, pairwise relevance analysis allows one to reduce the number of features. This ability yields improved ML output performances and can reveal invaluable novel information. We present two examples pertaining to the connection between atomic or molecular characteristics and electronic behaviors.

The first case addresses Ce3+-activated scintillators, for which a strict requirement is that both the ground 4f1 and first excited 5d1 electronic configurations must lie within the bandgap of the host material. Pilania and coworkers developed a new ML model for the fast screening of numerous hosts, which correctly predicted that chloride and bromide elpasolites meet this condition and are good candidates (Fig. 2c)15. The generalized knowledge upgrade includes the following: a large 4f-vacuum band maximum (VBM) indicates a low hole capture probability leading to poor scintillation performance. The key background knowledge for performing this task is understanding the correlation between structural information and targeted parameters. The features selected as input for the ML model included density functional theory (DFT)-calculated bandgaps, ionization potentials, electronegativities, electron affinities, empirical radii, and atomic polarizations, among others. The ML model correctly predicted the two targeted parameters U (6, A), the energy difference between divalent and trivalent ions, and D (Ce3+, A), the crystal field splitting of the 5d1 configuration (Fig. 2b).

The second example addresses aggregation-induced emission (AIE) materials, which embody a unique optical property, standing in stark contrast to the more usual aggregation-induced quenching. Achieving targeted and controllable AIE is a real challenge, and most current syntheses are achieved through laborious trial and error because of our limited understanding of the luminescence-enhancing mechanism. Recently, Qiu and coworkers employed ML to predict the AIE activity of substituted triphenylamine (TPA) luminophores16. Inspired by previous experience, they chose the charge distribution of the TPA core (Fig. 2d), estimated by nature bond orbital analysis, as the input feature, and their ML model output a classification of the TPA derivatives as AIE active (P) or inactive (N). Compared with the training set, its predictions are classified as true P (TP), false N (FN), false P (FP), or true N (TN). Its performance is characterized by three parameters: accuracy (% of true answers), sensitivity, and specificity, where the latter two represent its ability to recognize P and N luminophores from the relevant classes. The model identified that AIE is sensitive to the charges on the three carbon atoms connected to the central nitrogen atom (Fig. 2e) and, more quantitatively, that AIE can be activated when the dipole moment (D) of the TPA core exceeds a given threshold (Fig. 2f).

Future potential

Machine learning is starting to play a valuable role in building seamless connectivity between classical theories, scientific intuition and experiments from realistic optical responsive materials, but this approach is still in its infancy. The light-matter interaction is an intricate phenomenon, the description of which requires interactive work between materials science, physics, chemistry, optics, and engineering. There are many opportunities for machine learning to be invoked at different stages during the process of deciphering the mechanism of the light-matter interaction and while transforming optical materials into imaging probes, information carriers or optical devices. In turn, the machine learning paradigms must be adaptable to solve domain problems.

Materials screening and discovery

Materials control light-matter interactions and determine the performances of optical devices. In turn, application-specific requirements constrain materials properties such as the electronic configuration, defect energetics, and structure and symmetry. Conventional trial-and-error methods used to discover ideal materials are time-consuming and resource-consuming. Fueled by the availability of extensive databases, materials discovery is now trying to incorporate machine learning to uncover hidden empirical knowledge from both successful and failed experiments17,18 or for extracting atomic or molecular features19,20. In several cases, machine learning models outperform traditional human-based strategies with great success17. However, this does not mean that future work can completely rely on ML. To further enhance the role of ML, precise knowledge of a scientific problem is indispensable for optimizing ML algorithms. Moreover, experimental work is always inescapable when training ML and improving its prediction capability, as noted by Oliynyk and coworkers18.

Optical microscopy

Optical observation of an object at the microscale or nanoscale yields invaluable and indispensable information. Ideally, microscopy should be quick operating, have super-resolution and enable high throughput and multitasking. ML can upgrade current microscopy to a new level with significantly improved performances in resolution, throughput rate, and multitasking. Image analysis is crucial in extracting the sought after information, and specifically, ML algorithms have been reported to perform well in image processing. For example, deep learning enhances the imaging resolution21,22, accelerates the super-resolution imaging speed23,24, and performs image reconstruction25,26.

Characterization of the structural-optical property correlation

A significant number of research projects aim at exploring and describing the light-matter interaction through characterization using ML. Most of them try to establish structure-property correlations in a fast and accurate manner through microscopic characterization and demonstrating the capability of deep learning in recognizing subtle information hidden in a structure6,10,12. With the target of device miniaturization, technology development is presently shifting from microscale to nanoscale operations11, where nanomaterials become key components. Future promising optical nanomaterials will need a carefully controlled design in terms of their optical stability, uniformity and diversity. To achieve this, single object characterization, which pushes the burden onto the microscopic resolution, throughput, and denoising approach, is essential. By leveraging the automated nature of ML, as well as its ability to rapidly find optimal solutions, high resolution, high throughput and signal-to-noise ratio are anticipated to be achieved in single nanoparticle characterization.

Theoretical-calculation-guided optical materials exploration

The computation-guided design strategy has become a promising approach for materials studies based on high-throughput and accurate results. As a reliable theoretical method for probing the optical properties of both present and unknown materials, density functional theory (DFT) is able to supply initial recommendations for experimental trials based on a comprehensive understanding of optical processes, including the electronic state properties (such as the excitation energy and oscillator strength) and the dynamics of excited-state. These preliminary results will not only lower the experimental trial cost but also significantly contribute to the establishment of a broad-range optical materials database. Through the utilization of ML, the time-consuming issues of performing a theoretical calculation on complex systems will be further addressed, with the efficiency enhanced by several orders of magnitude. Given sufficiently large databases and sufficient domain knowledge, ML will achieve faster simulation and analysis of electronic structures, as well as the determination of unknown physical properties or applications by uncovering the hidden latent information within the experimental data27. The establishment of optical materials databases based on the collaboration between theoretical calculations and ML will accelerate unearthing the potential optical materials for a broad range of applications.

Designing materials with targeted optical properties

Quantum optics, optical communications, photonics, and green energy production all require specific optical materials with improved performances. This means investigating the light-matter interaction within specific environmental constraints, targeting one or more vital characteristics. For example, constraining light resonance in a cavity is a requirement of laser materials, while the Q factor reflects the efficiency of the cavity with respect to its lasing capability. Recently, by using ML, Asano and coworkers reported that the Q factor of two-dimensional photonic crystal nanocavities could be optimized to 1.58 × 109, more than two orders of magnitude higher than the base cavity28. Therefore, it seems that an increasing number of optical device fabrications and pilot trials will benefit from ML, increasing the success rate while reducing both the cost and fabrication time.

Explainable machine learning for optical materials

The properties and characteristics of optical materials are governed by underlying physical principles. However, as most existing machine learning methods are black box in nature, the physics is ignored. The negative consequence of this situation is that researchers have difficulties interpreting the extent to which a cause and effect can be observed within a machine learning model. This indicates the significance of investigating explainable machine learning methods that will enable users to understand how the models make predictions and decisions. Several directions may be viable to achieve this goal. For example, Bayesian deep learning, which leverages the information on uncertainty, will be capable of telling what the models know and what they do not know29. It provides insights when the black box fails. Another paradigm for explainable machine learning is human-in-the-loop learning, which combines human and machine intelligence to create effective learning models based on a continuous feedback loop30. This means that expert knowledge will be fed into the model so that causal relations could be better constructed, and model bias will be avoided.

Addressing uncertainty to capture fundamental optical properties

Machine learning relies on data, most of which are obtained through the experimentation of materials under various settings. The diverse combination of materials, research objectives, experimental settings, and operators will inevitably lead to inconsistency in the data distribution. This means that a model trained in one environment will fail to work properly in a new environment. To investigate this issue, one should pay attention to the impact of the concept drift of data31. In this scenario, transfer learning and drift learning may contribute to mitigating the problem. It is essential to investigate these learning paradigms in the area of light-matter interactions. This means that the understanding and characterization of the domains and data topology are critical. New criteria to evaluate the similarity or dissimilarity of problem domains should be developed. Correspondingly, although ML will undoubtedly bring photonic materials into a new age, novel learning methods and benchmark datasets are needed to keep it pointed in the right direction.

References

  1. 1.

    Lin, X. Y. et al. Intelligent identification of two-dimensional nanostructures by machine-learning optical microscopy. Nano Res. 11, 6316–6324 (2018).

  2. 2.

    Zhuo, Y., Mansouri Tehrani, A. & Brgoch, J. Predicting the band gaps of inorganic solids by machine learning. J. Phys. Chem. Lett. 9, 1668–1673 (2018).

  3. 3.

    Lu, S. H. et al. Accelerated discovery of stable lead-free hybrid organic-inorganic perovskites via machine learning. Nat. Commun. 9, 3405 (2018).

  4. 4.

    Pilania, G. et al. Machine learning bandgaps of double perovskites. Sci. Rep. 6, 19375 (2016).

  5. 5.

    Sun, B. C., Fernandez, M. & Barnard, A. S. Machine learning for silver nanoparticle electron transfer property prediction. J. Chem. Inf. Model. 57, 2413–2423 (2017).

  6. 6.

    Malkiel, I. et al. Plasmonic nanostructure design and characterization via deep learning. Light Sci. Appl. 7, 60 (2018).

  7. 7.

    Peurifoy, J. et al. Nanophotonic particle simulation and inverse design using artificial neural networks. Sci. Adv. 4, eaar4206, (2018).

  8. 8.

    Ma, W., Cheng, F. & Liu, Y. M. Deep-learning-enabled on-demand design of chiral metamaterials. ACS Nano 12, 6326–6334 (2018).

  9. 9.

    Liu, Z. C. et al. Generative model for the inverse design of metasurfaces. Nano Lett. 18, 6570–6576 (2018).

  10. 10.

    Zhang, T. et al. Efficient spectrum prediction and inverse design for plasmonic waveguide systems based on artificial neural networks. Photonics Res. 7, 368–380 (2019).

  11. 11.

    Aharon, N. et al. NV center based nano-NMR enhanced by deep learning. Prepint at arXiv:1809.02583 (2018).

  12. 12.

    Wiecha, P. R. et al. Pushing the limits of optical information storage using deep learning. Nat. Nanotechnol. 14, 237–244 (2019).

  13. 13.

    Wang, H. D. et al. Deep learning enables cross-modality super-resolution in fluorescence microscopy. Nat. Methods 16, 103–110 (2019).

  14. 14.

    Rivenson, Y. et al. Virtual histological staining of unlabelled tissue-autofluorescence images via deep learning. Nat. Biomed. Eng. 3, 466–477 (2019).

  15. 15.

    Pilania, G. et al. Physics-informed machine learning for inorganic scintillator discovery. J. Chem. Phys. 148, 241729 (2018).

  16. 16.

    Qiu, J. et al. Prediction and understanding of AIE effect by quantum mechanics-aided machine-learning algorithm. Chem. Commun. 54, 7955–7958 (2018).

  17. 17.

    Raccuglia, P. et al. Machine-learning-assisted materials discovery using failed experiments. Nature 533, 73–76 (2016).

  18. 18.

    Oliynyk, A. O. & Mar, A. Discovery of intermetallic compounds from traditional to machine-learning approaches. ACC Chem. Res. 51, 59–68 (2018).

  19. 19.

    Zhou, Q. et al. Learning atoms for materials discovery. Proc. Natl Acad. Sci. USA 115, E6411–E6417 (2018).

  20. 20.

    Sanchez-Lengeling, B. & Aspuru-Guzik, A. Inverse molecular design using machine learning: generative models for matter engineering. Science 361, 360–365 (2018).

  21. 21.

    Rivenson, Y. et al. Deep learning microscopy. Optica 4, 1437–1443 (2017).

  22. 22.

    Liu, T. R. et al. Deep learning-based super-resolution in coherent imaging systems. Sci. Rep. 9, 3926 (2019).

  23. 23.

    Ouyang, W. et al. Deep learning massively accelerates super-resolution localization microscopy. Nat. Biotechnol. 36, 460–468 (2018).

  24. 24.

    Nehme, E. et al. Deep-STORM: super-resolution single-molecule microscopy by deep learning. Optica 5, 458–464 (2018).

  25. 25.

    Rivenson, Y. et al. Phase recovery and holographic image reconstruction using deep learning in neural networks. Light Sci. Appl. 7, 17141 (2018).

  26. 26.

    Yao, R. Y. et al. Net-FLICS: fast quantitative wide-field fluorescence lifetime imaging with compressed sensing–a deep learning approach. Light Sci. Appl. 8, 26 (2019).

  27. 27.

    Mannodi-Kanakkithodi, A. et al. Scoping the polymer genome: a roadmap for rational polymer dielectrics design and beyond. Mater. Today 21, 785–796 (2018).

  28. 28.

    Asano, T. & Noda, S. Optimization of photonic crystal nanocavities based on deep learning. Opt. Express 26, 32704–32717 (2018).

  29. 29.

    Gal, Y. & Ghahramani, Z. Dropout as a Bayesian approximation: representing model uncertainty in deep learning. In: International Conference on Machine Learning. 1050–1059 (ICML, New York, 2016).

  30. 30.

    Xin, D. et al. Accelerating human-in-the-loop machine learning: challenges and opportunities. In: Proceedings of the Second Workshop on Data Management for End-To-End Machine Learning. (ACM, Houston, 2018).

  31. 31.

    Lu, J. et al. Learning under concept drift: a review. IEEE Trans. Knowl. Data Eng. https://doi.org/10.1109/tkde.2018.2876857 (2018).

Download references

Acknowledgements

This work was supported by the Australian Research Council (ARC) Discovery Early Career Researcher Award Scheme (J.Z., DE180100669).

Editor information

Light: Science & Applications thanks Prof Dayong Jin for handling this article and for his advice on enhancing its presentation.

Author information

Correspondence to Jiajia Zhou.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark