원시데이터 수집 시스템
선정목록으로

Deconvoluting Kinetic Rate Constants of Catalytic Substrates from Scanning Electrochemical Approach Curves with Artificial Neural Networks

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (6) PEM(고분자전해질막)

기본 정보

저자
  1. Dinuka Rajapakse — Department of Chemical & Petroleum Engineering, The University of Kansas, 4132 Learned Hall, 1530 West 15th Street, Lawrence, Kansas66045, United States|||Center for Environmentally Beneficial Catalysis, The University of Kansas, LSRL Building A, Suite 110, 1501 Wakarusa Drive, Lawrence, Kansas66047, United States
  2. Josh Meckstroth — Department of Chemical & Petroleum Engineering, The University of Kansas, 4132 Learned Hall, 1530 West 15th Street, Lawrence, Kansas66045, United States
  3. Dylan T. Jantz — Department of Chemical & Petroleum Engineering, The University of Kansas, 4132 Learned Hall, 1530 West 15th Street, Lawrence, Kansas66045, United States|||Center for Environmentally Beneficial Catalysis, The University of Kansas, LSRL Building A, Suite 110, 1501 Wakarusa Drive, Lawrence, Kansas66047, United States
  4. Kyle V. Camarda — Department of Chemical & Petroleum Engineering, The University of Kansas, 4132 Learned Hall, 1530 West 15th Street, Lawrence, Kansas66045, United States
  5. Zijun Yao — Department of Electrical Engineering & Computer Science, The University of Kansas, 2001 Eaton Hall, 1520 West 15th Street, Lawrence, Kansas66045, United States
  6. Kevin C. Leonard — Center for Environmentally Beneficial Catalysis, The University of Kansas, LSRL Building A, Suite 110, 1501 Wakarusa Drive, Lawrence, Kansas66047, United States|||Department of Chemical & Petroleum Engineering, The University of Kansas, 4132 Learned Hall, 1530 West 15th Street, Lawrence, Kansas66045, United States
DOI
10.1021/acsmeasuresciau.2c00056
저널
ACS Measurement Science Au
발행년도
2022
발행기관
American Chemical Society
피인용수
3
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1021/acsmeasuresciau.2c00056
토픽
Analytical Chemistry and Sensors
OpenAlex ID
W4309190516

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.80
근거 용어
scanning electrochemical microscopy, kinetic rate constants, artificial neural networks, catalytic substrates, Fe-doped nickel (oxy)hydroxide
판단 근거
이 논문은 인공신경망(ANN)을 활용하여 전기화학적 촉매 기질의 반응 속도 상수를 추출하는 분석 모델링 기술을 다룹니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC)용 촉매층(MEA) 및 전극 소재의 성능 분석 및 고속 데이터 처리에 응용될 수 있는 기술입니다.
R&D 활용 포인트
PEMFC의 MEA(막전극접합체) 개발 시, 촉매층의 전기화학적 활성 및 반응 속도를 정밀하고 빠르게 분석하는 머신러닝 기반 평가 모델로 활용 가능합니다.
평가 입력
본문 56,263자 중 30,032자 발췌

초록

Extracting information from experimental measurements in the chemical sciences typically requires curve fitting, deconvolution, and/or solving the governing partial differential equations via numerical (e.g., finite element analysis) or analytical methods. However, using numerical or analytical methods for high-throughput data analysis typically requires significant postprocessing efforts. Here, we show that deep learning artificial neural networks can be a very effective tool for extracting information from experimental data. As an example, reactivity and topography information from scanning electrochemical microscopy (SECM) approach curves are highly convoluted. This study utilized multilayer perceptrons and convolutional neural networks trained on simulated SECM data to extract kinetic rate constants of catalytic substrates. Our key findings were that multilayer perceptron models performed very well when the experimental data were close to the ideal conditions with which the model was trained. However, convolutional neural networks, which analyze images as opposed to direct data, were able to accurately predict the kinetic rate constant of Fe-doped nickel (oxy)hydroxide catalyst at different applied potentials even though the experimental approach curves were not ideal. Due to the speed at which machine learning models can analyze data, we believe this study shows that artificial neural networks could become powerful tools in high-throughput data analysis.

본문 56,263자

본문 펼치기
pubs.acs.org/measureau <mark>Article</mark> ## Deconvoluting Kinetic Rate Constants of Catalytic Substrates from Scanning Electrochemical Approach Curves with Artificial Neural Networks #### Dinuka Rajapakse, Josh Meckstroth, Dylan T. Jantz, Kyle Vincent Camarda, Zijun Yao, and Kevin C. Leonard* Cite This: _ACS_ _Meas._ _Sci._ _Au_ 2023, 3, 103−112 Read [Online](https://pubs.acs.org/doi/10.1021/acsmeasuresciau.2c00056?ref=pdf) ### ACCESS Metrics & More Article Recommendations * sı Supporting Information ABSTRACT: Extracting information from experimental measurements in the chemical sciences typically requires curve fitting, deconvolution, and/or solving the governing partial differential equations via numerical (e.g., finite element analysis) or analytical methods. However, using numerical or analytical methods for highthroughput data analysis typically requires significant postprocessing efforts. Here, we show that deep learning artificial neural networks can be a very effective tool for extracting information from experimental data. As an example, reactivity and topography information from scanning electrochemical microscopy (SECM) approach curves are highly convoluted. This study utilized multilayer perceptrons and convolutional neural networks trained on simulated SECM data to extract kinetic rate constants of catalytic substrates. Our key findings were that multilayer perceptron models performed very well when the experimental data were close to the ideal conditions with which the model was trained. However, convolutional neural networks, which analyze images as opposed to direct data, were able to accurately predict the kinetic rate constant of Fe-doped nickel (oxy)hydroxide catalyst at different applied potentials even though the experimental approach curves were not ideal. Due to the speed at which machine learning models can analyze data, we believe this study shows that artificial neural networks could become powerful tools in high-throughput data analysis. KEYWORDS: _scanning_ _electrochemical_ _microscopy,_ _machine_ _learning,_ _artificial_ _neural_ _networks,_ _convolutional_ _neural_ _networks,_ _data_ _analysis_ 1. INTRODUCTION Scanning electrochemical microscopy (SECM) is a scanning probe technique that can obtain spatial-dependent surface reactivity and topography of solid surfaces operating in a solution phase. <sup>1−8</sup> In SECM, the probe is typically a micro- or nanoelectrode (referred to as a tip electrode), and reactivity and topography of the surface (referred to as the substrate) are determined via detecting the flux of redox-active molecules between the tip and substrate through current measurements on the tip electrode. <sup>8−10</sup> Spatial-dependent information is typically obtained by raster-scanning the tip electrode in the _x_ - _y_ plane over the substrate of interest. <sup>11−16</sup> However, a challenge in SECM is that the reactivity and topography are often convoluted because the flux of the redox mediators is dependent on both the reactivity of the substrate and the tip/ substrate distance. <sup>17</sup> Thus, it is common practice to perform an additional _ex_ _situ_ imaging technique in parallel with SECM to obtain separate topography information so reactivity information can be inferred. <sup>18</sup> Recently, the Amemiya and Leonard groups have developed an intelligent mode of nanoscale SECM to image both reactivity and topography simultaneously of nonflat substrates © 2022 The Authors Published by with reactive and inert regions. <sup>19,20</sup> This intelligent imaging mode is based on the analysis of approach curves taken at different positions over the substrate of interest. The power of this approach curve mapping technique is that it can unequivocally determine the reactivity and the topography because the tip is approached toward the substrate at each pixel in the image. However, the challenge with intelligent SECM is converting the direct current measurement to topography and reactivity in real time. This deconvolution requires solving complex partial differential equations (e.g., Fick’s diffusion with potential-dependent flux boundary conditions) in three-dimensional space via finite element analysis software and/or postmeasurement fitting of experimental data to nonlinear analytical models. <sup>2</sup> This data analysis Received: September 26, 2022 Revised: October 28, 2022 Accepted: October 31, 2022 Published: November 15, 2022 <u>ACS</u> <u>Measurement</u> <u>Science</u> <u>Au</u> <u><mark>pubs.acs.org/measureau</mark></u> <u><mark>Article</mark></u> adds significant postprocessing time and limits the total number of pixels that can be obtained in an image. Here, we report on using machine learning techniques as an alternative to finite elemental analysis and nonlinear curve fitting for obtaining the substrate kinetics of SECM approach curves. Simply put, machine learning models use mathematical algorithms to uncover patterns within the data provided to the system. <sup>21</sup> Bond, Compton, Liu, and others have used machine learning and artificial neural networks to analyze electrochemical cyclic voltammetry data, mainly via classification algorithms to predict mechanisms. <sup>22−26</sup> Similar to voltammetry, the observed shape of an SECM approach curve is dependent on the kinetic rate constant of the substrate reaction. Our goal was to determine if machine learning algorithms could calculate the kinetic rate constant of a substrate without actually solving the partial differential equations that govern the process. Specifically, we investigated the use of two types of artificial neural network machine learning algorithms, multilayer perceptrons (MLP) and convolutional neural networks (CNN). MLP models pass an entire data set through multiple layers of nodes (i.e., perceptrons) where each node acts analogous to a transfer function where inputs are multiplied by weights and entered into an activation function to obtain an output. Training the model to convert the input data set into an output is done through back-propagation where the weights of the neural network are tuned based on the error of the previous iteration (i.e., epoch). <sup>27−30</sup> CNN models are typically used for image classification, for example, they are used to detect letters and numbers in handwriting analysis. <sup>31−43</sup> In general, a CNN makes a classification via scanning through the image to extract features in a hierarchical manner, starting with the low-level features and then utilizing the final feature map in an MLP for the final classification. All machine learning models need large amounts of data for training. Here, we used data generated from analytical expressions previously derived to capture how the shape of SECM approach curves changes as a function of the kinetic rate constant of the substrate. <sup>2</sup> We investigated two different methods of utilizing SECM approach curve data with MLP models�(1) only the measured current data and (2) the slope of the current vs _z_ -position data. Since CNN models are typically trained on image data, the approach curves were converted to image form for use in the CNN model. Validation of the model was performed by performing experimental approach curves on a Fe-doped nickel (oxy)hydroxide substrate. While this material has practical significance as an electrocatalyst for the oxygen evolution reaction (OER), <sup>44−46</sup> this material was chosen because it has the unique property of transitioning from completely insulating to completely conducting as a function of potential. Thus, on the same substrate, we can obtain electron-transfer kinetic rate constants on an outer-sphere redox process spanning several orders of magnitude. We observed that both the MLP and CNN models can obtain very high accuracy on ideal SECM approach curves. However, on nonideal SECM approach curves, where the nonideality occurs from a combination of rough surfaces with tip/substrate misalignment, the CNN model outperforms the MLP models. We attribute this to the CNN model being able to obtain the general trend via analyzing the image as opposed to the raw data. We envision this machine learning technique will not only impact the rapid analysis of SECM approach curves but could be applied to other areas of data analysis where numerous experiments need to be quantified. 2. EXPERIMENTAL AND COMPUTATIONAL METHODS 2.1. Computational Methods 2.1.1. Data Set and Data Processing. Two separate data sets were synthesized: one for the multilayer perceptron (MLP) and the other for the convolutional neural network (CNN). The data for the MLP consisted of 2250 approach curves, the current values of which were calculated using the expression derived by Lefrou et al. <sup>2</sup> NF _iT_ NF( _L_ _iT_, = _<u>T</u>_ ( _L_ ) _T_, , ln _LR_ g + _R_ 2 g ln(1 + 2 _RL_ 1.585 _R_ g 2.08 0.145 + _L_ yzzz g0.358 _R_ g <u>k</u> _R_ g0.358 _R_ g yzzz <u>{</u> g ijjj <u>k</u> 2.080.358 ( _L_ + 0.0023 _R_ g) _L_ _R_ g 2.080.358 ( _L_ + 0.0023 _R_ g) + 1.57 + _L_ g g _R_ g _L_ g _R_ g ( _L_ + 0.0023 _R_ g) + 1.57 + + ln 1 _L_ + 0.0023 _R_ + 0.0023 _R_ g) + 1.57 + + ln(1 + ### (1 + 2 RL g) g yzzzz { PF _iT_ PF( _L_ ) i 1 y = + + 1 2 arctan( _L_ _iT_, 4 arctan( _L_ ) jjjj 2 zzzz k { _iT_ ( _L_ ) i 1 y = + + 1 2 arctan( _L_ ) _iT_, 4 arctan( _L_ ) jjjj 2 zzzz k { (1) (2) = + + _T_, , ijjjj k _iT_ ( _L_, ) = _i_ PF( _L_ + 1) _iT_, _iT_, ( _L_, ) = PF 1 _i_ PF( _L_ + _<u>T</u>_ _i_ _T_, _T_, _T_, , NF ( _L_ ) 1 _iT_ + (1 + 2.47 _R_ g0.31 _L_ )(1 + _L_ 0.006 _R_ g+0.113 0.0236 _R_ g+0.91) + 2.47 _R_ g0.31 _L_ )(1 + _L_ 0.006 _R_ g+0.113 0.0236 _R_ g+ _R_ g0.31 _L_ )(1 + _L_ 0.31 0.006 _R_ g+0.113 0.0236 _R_ g+0.91 _iT_ NF( _L_ ) _iT_, _iT_, , _R_ g+0.113 0.0236 _R_ g g g+ g (3) where _R_ g is the ratio of the radius of the insulation sheath around the electrode to the radius of the disk electrode ( _r_ glass/ _a_ ); _L_ is the ratio of the distance the tip is away from the substrate to the radius of the disk electrode ( _d_ / _a_ ); and _κ_, _α_, and _β_ are described as follows = <sup>_ka_</sup> _D_ (4) i ln 2 + ln 2 1 2 arccos 1 jjjjjj = ln 2 + _R_ g yzzzzzzyzzzzzzz {{ yzzzzzzyzzzzzzz {{ ijjjjjjjjj k ijjjjjjj k ijjjjjjj k 2 ijjjjjj k i ln 2 1 2 arccosjjjjjj 1 _R_ ijjjjjj k g yzzzzzzyzzzzzzz {{ g yzzzzzzz { i y 1 + 0.639 1 2 arccos 1 0.186 jjjjjj zzzzzz (5) (6) = 1 + ijjjjjjj k _R_ g yzzzzzz { g yzzzzzzzzz { yzzzzzzz { ijjjjjjjjj k ijjjjjj k yzzzzzzzzz { ijjjjjjj k ijjjjjj k 2 i 1 2 arccosjjjjjj 1 É2 _R_ g yzzzzzz { ÉÑÑÑÑÑÑÑÑÑÑÑÑÖ2 Ö where _k_ is the kinetic rate constant of the substrate, _D_ is the diffusion coefficient of the redox mediator, and _a_ is the radius of the tip electrode. Each approach curve in the model was unique, each having a different substrate rate constant value and a final tip−substrate distance. The rate constant values range from 1 to 10 <sup>−5</sup> cm s <sup>−1</sup> with a diffusion coefficient of 10 <sup>−5</sup> cm <sup>2</sup> s <sup>−1</sup> . The final tip−substrate distances ranged _d_ / _a_ values (where _d_ is the tip−substrate distance and _a_ is the radius of the electrode) from 0.1 to 2. Each approach curve consisted of 150 points. The data for the CNN consisted of 3800 images of approach curves. These images were 100 pixel by 100 pixel grayscale images <u>ACS</u> <u>Measurement</u> <u>Science</u> <u>Au</u> <u><mark>pubs.acs.org/measureau</mark></u> <u><mark>Article</mark></u> Figure 1. Overview of three different methods of obtaining a substrate kinetic rate constant from SECM approach curves. Using finite elemental analysis or analytical expressions to solve diffusion equations, which govern how the tip current changes with substrate kinetics (top). Entering raw approach curve data into a multilayer perceptron model to obtain the kinetic rate constant (middle) and using the image of an approach curve in a convolutional neural network to obtain a kinetic rate constant (bottom). that did not include the _x_ and _y_ axes or axis labels. Each of these approach curves also has a unique rate constant value and a final tip− substrate distance. The rate constant values ranged from 1 to 10 <sup>−3</sup> cm s <sup>−1</sup>, the diffusion coefficient was 10 <sup>−5</sup> cm <sup>2</sup> s <sup>−1</sup>, and the final tip− substrate distance values ranged from _d_ / _a_ values of 0.01 to 0.3. 2.1.2. Machine Learning Packages. All machine learning algorithms were programmed in Python using Jupyter Notebooks. The Keras library, a wrapper for the Tensorflow, was used as the machine learning library to implement both the MLP and CNN algorithms. All source code for this study can be found in the Supporting Information. Two MLP models were built: MLP-C and MLP-S. Both models only used the ReLu activation function in all hidden layers. The MLP-C model consisted of three hidden layers each having 10 nodes. The MLP-S model consisted of four hidden layers, where the first three layers consisted of 10 nodes each and the last hidden layer consisted of five nodes. The MLP regression models were trained over 1000 epochs. The CNN model consisted of two feature extractors, each of which consisted of a convolutional layer followed by a max pooling layer. The dimension of all max pooling layers was 2 × 2. The first convolutional layer used a 10 × 10 kernel to output a 32 × 32 lower-level feature map. The second convolutional layer used a 5 × 5 kernel, which outputs a 10 × 10 higher-level feature map. Both feature extractors use ReLu as the activation function all throughout and a dropout of 0.25. The first and only hidden layer of the MLP attached to the second extractor consisted of 256 nodes and uses the ReLu activation function as well. The final output layer consisted of 10 nodes to represent the 10 classes, and it uses the softmax activation function. 2.1.3. Model Evaluation. Both data sets were split into training and testing sets, with an 80:20 split. Mean-squared error and mean absolute error were used to determine the quality of the regression MLP model. Accuracy, precision, recall, and _F_ -1 score were used to evaluate the multiclass classification CNN model. 2.2. Experimental Methods 2.2.1. Chemicals and Materials. Iron(III) nitrate nonahydrate (Fe(NO3)3·9H2O, 98%+, ACS Reagent, Acros), nickel nitrate hexahydrate (Ni(NO3)2·6H2O, 99%, Fisher Scientific), ethylene glycol ((CH2OH)2, 99.8%, anhydrous, Sigma-Aldrich), sodium hydroxide (NaOH, 98.7%, Certified ACS, Fisher Scientific), potassium chloride (KCl, 99%+, Certified ACS, Fisher Scientific), and hexaammineruthenium(III) chloride (Ru(NH3)6 Cl3, 99%, Strem Chemicals) were all used as received without additional purification. The electrolyte solution was prepared using ultrapure water (18.2 MΩ cm) from Millipore Synergy UV system. Platinum wire (purity 99.9%, 0.01 mm diameter, temper hard, Good Fellow) was used for tip electrode fabrication. The 10 _μ_ m Pt microelectrode was manufactured following the same procedure as previously described. <sup>4</sup> 2.2.2. Fe-Doped Nickel (Oxy)hydroxide Synthesis. The Fedoped nickel (oxy)hydroxide crystalline-derived catalyst was synthesized following the same procedure as previously described. <sup>44,45</sup> Briefly, mixtures of 0.02 M Ni(NO3)2·6H2O and 0.02 M Fe(NO3)3· 9H2O were prepared separately in ethylene glycol and subsequently added together in an 8:2 ratio. This solution was drop-cast on cleaned fluorine-doped tin oxide (FTO)-coated glass (Sigma-Aldrich) and placed into an oven at 135 °C for 30 min, then repeated once more for a second coating. The crystalline thin-film samples were further annealed at 525 °C for 3 h to create the Fe-doped nickel (oxy)hydroxide layer. The Fe-doped nickel (oxy)hydroxide was then electrochemically conditioned by applying an oxidation current of ca. 10 mA cm <sup>2</sup> in 1 M NaOH for 1 h. 2.2.3. Scanning Electrochemical Microscopy Measurements. All SECM experiments were performed via a custom-built SECM, as previously described. <sup>47</sup> The Fe-doped nickel (oxy)hydroxide crystalline catalyst was inserted into a custom electrochemical cell (Teflon) as the substrate electrode, which was then <u>ACS</u> <u>Measurement</u> <u>Science</u> <u>Au</u> <u><mark>pubs.acs.org/measureau</mark></u> <u><mark>Article</mark></u> mounted on the motion controller system. A 200 _μ_ m Pt wire coil was used as the counter electrode, and an Ag/AgCl electrode was used as the reference. The electrolyte solution used was 10 mM Ru(NH3)63+, thoroughly purged with argon before use. The 10 _μ_ m Pt microelectrode was used as the SECM tip electrode for SECM experiments. The Pt tip electrode was initially placed in close proximity to the desired hole in the Fe-doped nickel (oxy)hydroxide crystalline catalyst by visual alignment. The first series of SECM experiments were performed in the 10 mM Ru(NH3)63+ solution. A CV was performed from +0.05 to −0.3 mM Ru(NH3)63+ solution. A CV was performed from +0.05 to −0.3 V vs Ag/AgCl to verify the reduction potential range of Ru(NH3)63+ V vs Ag/AgCl to verify the reduction potential range of Ru(NH3)63+ to Ru(NH3)62+. To bring the tip close to the catalyst surface, a to Ru(NH3)62+. To bring the tip close to the catalyst surface, a reducing potential of −0.3 V vs Ag/AgCl was applied on the tip electrode as it was stepped toward the substrate until a current enhancement of 0.5 was reached. The tip electrode was then raster scanned over a 300 _μ_ m × 300 _μ_ m region while still holding −0.3 V vs Ag/AgCl to find the desired hole in the Fe-doped nickel (oxy)hydroxide crystalline catalyst. Once positioned, smaller reactivity maps (150 _μ_ m × 150 _μ_ m) with higher resolution (3 _μ_ m) and sample interval of 0.4 s were performed. For each of these maps, the tip electrode was held at −0.3 V vs Ag/AgCl, while the substrate was varied from +0.05 to +0.8 V vs Ag/AgCl. Finally, approach curves were obtained over the Fe-doped nickel (oxy)hydroxide sample at various substrate potentials to change the kinetics of the Ru(NH3)63+ various substrate potentials to change the kinetics of the Ru(NH3)63+ to Ru(NH3)62+ reaction. 3. RESULTS AND DISCUSSION Two different artificial neural networks, multilayer perceptron (MLP) and convolutional neural networks (CNN), were Figure 2. Example SECM approach curves showing pure positive feedback at fast substrate rate constants, pure negative feedback at slow substrate rate constants, and mixed feedback at intermediate rate constants ( _k_ = cm s <sup>−1</sup> ). evaluated to determine their ability to calculate the substrate kinetic rate constants of SECM approach curves. This was compared to traditional approaches of using finite elemental analysis or analytical solutions to Fick’s diffusion equations, which govern the flux of redox-active molecules between the tip and substrate of SECM experiments (Figure 1). To train the models, SECM approach curves were simulated using eqs 1−6 as shown above. <sup>2</sup> As shown in Figure 2, there is a dramatic change in the shape of an SECM approach curve Figure 3. Comparison between the predicted substrate kinetic rate constant from the MLP-C model to the known substrate kinetic rate constant (red points). The blue 45° line is the perfect prediction comparison line. Figure 4. Comparison between the predicted substrate kinetic rate constant from the MLP-S model to the known substrate kinetic rate constant (red points). The blue 45° line is the perfect prediction comparison line. Table 1. Range of Substrate Kinetic Rate Constants for Each Class, in the Multiclass Classification CNN Model class no. min _k_ (cm s <sup>−1</sup> ) max _k_ (cm s <sup>−1</sup> ) <u>0</u> <u>0.001</u> <u>0.0029</u> <u>1</u> <u>0.003</u> <u>0.0049</u> <u>2</u> <u>0.005</u> <u>0.0069</u> <u>3</u> <u>0.007</u> <u>0.0089</u> <u>4</u> <u>0.009</u> <u>0.0099</u> <u>5</u> <u>0.01</u> <u>0.029</u> <u>6</u> <u>0.03</u> <u>0.049</u> <u>7</u> <u>0.05</u> <u>0.069</u> <u>8</u> <u>0.07</u> <u>0.089</u> 9 0.09 0.1 based on the kinetics of the substrate. For rate constants slower than 10 <sup>−3</sup> cm s <sup>−1</sup>, the approach curve approaches pure negative feedback where the hindered diffusion caused by the close tip/ substrate distance governs the flux of the redox molecules towards the tip electrode. Contrastingly, when the substrate kinetic rate constants exceed 1 cm s <sup>−1</sup>, the approach curve 2+ reaction. <u>ACS</u> <u>Measurement</u> <u>Science</u> <u>Au</u> <u><mark>pubs.acs.org/measureau</mark></u> <u><mark>Article</mark></u> Table 2. Precision, Recall, and _F_ -1 Score of the Training Set for the CNN Model for Each of the 10 Classes class no. precision recall _F_ -1 score <u>0</u> <u>1.00</u> <u>0.98</u> <u>0.99</u> <u>1</u> <u>0.98</u> <u>0.98</u> <u>0.98</u> <u>2</u> <u>0.98</u> <u>0.96</u> <u>0.97</u> <u>3</u> <u>0.95</u> <u>1.00</u> <u>0.97</u> <u>4</u> <u>0.95</u> <u>0.99</u> <u>0.97</u> <u>5</u> <u>1.00</u> <u>0.93</u> <u>0.96</u> <u>6</u> <u>0.66</u> <u>0.97</u> <u>0.79</u> <u>7</u> <u>0.51</u> <u>0.20</u> <u>0.29</u> <u>8</u> <u>0.42</u> <u>0.78</u> <u>0.54</u> <u>9</u> <u>0.76</u> <u>0.23</u> <u>0.35</u> accuracy: 0.80 Figure 5. Confusion matrix showing the predicted result vs the actual result for each of the 16 classes for the multiclass CNN model. becomes pure positive feedback where the increase of mass transfer of the redox-active molecule is caused by complete conversion at the substrate. For all kinetics between these values, mixed feedback is observed. Because the shape of the approach curve is different for each kinetic rate constant, we hypothesized that machine learning models could accurately make correlations to predict the kinetic rate constant without actually solving the partial differential equations that govern SECM approach curves. 3.1. Multilayer Perceptron Models on Simulated SECM Approach Curves MLP models are traditionally not conducive for importing twodimensional data (e.g., current vs time). Thus, we investigated two different feature options. First, we used the raw normalized current value of each point rendering 150 features for each curve. This MLP model trained on these features will be named MLP-C moving forward. The other is selecting the slope of the normalized current and the normalized distance between two consecutive points rendering 149 features for each curve. This MLP model trained on these features will be named MLP-S moving forward. The MLP-C model consisted of three hidden layers, each of which consisted of 10 nodes (perceptrons). The activation function for each node in the hidden layer was the rectified linear unit (ReLu). Because this is a regression model, a linear activation function was used for the output layer. The MLP-C model was able to train without showing signs of overfitting. This was confirmed by the decrease of the mean absolute error and the mean-squared error of both the training set and the validation set at a similar rate while training over the 1000 epochs (see [Figure](https://pubs.acs.org/doi/suppl/10.1021/acsmeasuresciau.2c00056/suppl_file/tg2c00056_si_001.pdf) S1 for details). To evaluate the MLP-C model, we fed the model the experimental data from the testing set (i.e., the data that the model did not use for training) and compared the results from the model to the known kinetic rate constants from the analytical equations. As shown in Figure 3, very good agreement between the model prediction and the actual results was obtained. We measured a mean absolute error of 0.14 and a mean-squared error of 0.06 on the testing set. Most of the error is a result of the model’s lack of capability to predict extreme rate constant values (e.g., smaller than 10 <sup>−4.5</sup> and larger than 10 <sup>−0.5</sup> ). This is because the approach curves at these values are approaching pure negative feedback and pure positive feedback, respectively, and the difference between the approach curves in these regions is very small. The MLP-S model (the model trained on the normalized slope instead of only the normalized current) consisted of four hidden layers. The first, second, third, and fourth hidden layers consisted of 10, 10, 10, and 5 nodes. Again, the MLP-S model was also able to train without showing signs of overfitting as the mean absolute error and mean-squared error of both the training and validation error decreased at a similar rate (see [Figure](https://pubs.acs.org/doi/suppl/10.1021/acsmeasuresciau.2c00056/suppl_file/tg2c00056_si_001.pdf) S2 for details). Figure 4 shows the model-predicted kinetic rate constant vs the actual kinetic rate constant from the analytical expression. Again very good agreement between the model prediction and the actual results was obtained. In fact, the mean absolute error was measured to be 0.05 and the mean-squared error was measured to be 0.01 for the testing set data. As was the case for the MLP-C model, most of the error in the MLP-S model is a result of the model’s lack of capability to predict extreme rate constant values. Note that this model showed improved mean absolute error values and mean-squared error values compared to the model which was trained on the data where the current values were selected as features. This is because slopes contain information regarding the current and tip−substrate distance values. Therefore, we observed that using the slope as a method for incorporating time-dependent experimental data into MLP models can improve their accuracy and predicting power. 3.2. Convolutional Neural Networks The images used to train the CNN were 3800 grayscale 100 × 100 images of approach curves, each corresponding to a unique substrate rate constant and a final tip−substrate distance pair. The legends and the _x_ and _y_ axes of the graph were not included. Only the curve alone was included as input, with example images shown in [Figure](https://pubs.acs.org/doi/suppl/10.1021/acsmeasuresciau.2c00056/suppl_file/tg2c00056_si_001.pdf) S3. The CNN was trained as a multiclass classification model, with each approach curve belonging to one of 10 classes. Each class represented a range of rate constant values as shown in Table 1. Just as in the MLP model, each approach curve in the data set had a unique rate constant and final tip/substrate distance combination. The CNN consisted of two feature extractors, each consisting of two convolutional layers, one max pooling <u>ACS</u> <u>Measurement</u> <u>Science</u> <u>Au</u> <u><mark>pubs.acs.org/measureau</mark></u> <u><mark>Article</mark></u> Figure 6. SECM imaging in 10 mM Ru(NH3)63+ with 10 _μ_ m Pt tip electrode held at −0.3 V vs Ag/AgCl and substrate held at (a) off, (b) +0.05, (c) +0.4, (d) +0.6, (e) +0.7, and (f) +0.8 V vs Ag/AgCl. layer, with a window size of 2 × 2, and one dropout layer, the rate of which was set to 0.25 to minimize the risk of overfitting by randomly nullifying 25% of the filter parameters. This will reduce complexity, more of which leads to overfitting of the model. In the first convolutional layer, the low-level features of the original image were extracted using a 10 × 10 kernel, outputting a 32 × 32 filter. The most significant features of the filter were extracted using a max pooling layer. The resulting low-level feature map was then sent through the second extractor to extract high-level features using a 5 × 5 kernel, outputting a 64 × 64 filter. A larger filter size was selected for the second extractor to accommodate high-level feature extraction. The most significant features of this filter were then extracted using a final max pooling layer. Finally, the resulting feature map of the convolutional layers was subjected to flattening via a multilayer perception, which consisted of one layer with 256 nodes using the ReLU activation function. Accuracy, precision, and recall on the testing set were used to evaluate the CNN model, as shown in Table 2. In addition, the confusion matrix showing the accuracy of each of the classes is shown in Figure 5. Examination of Table 2 and Figure 5 shows that the CNN model was able to predict the rate constant to the appropriate class for classes 0−6, which are rate constants ranging from 0.001 to 0.049 cm s <sup>−1</sup> . Again, this is performed with the model only “looking” at the image without performing any additional calculations. For classes 7− 9, the accuracy is significantly lower; however, the confusion matrix shows that the CNN usually only predicts one class higher or lower than the true class. These inaccurate predictions arise from each of these classes having fast kinetic rate constants with values ranging from 0.05 to 0.1 cm s <sup>−1</sup> . Thus, each of the approach curves in classes 7−9 have very similar shapes and are approaching a pure positive feedback approach curve (see Figure 2). However, even though the prediction was inaccurate for some curves in these classes, <u>ACS</u> <u>Measurement</u> <u>Science</u> <u>Au</u> <u><mark>pubs.acs.org/measureau</mark></u> <u><mark>Article</mark></u> Figure 7. Experimental SECM approach curves of Ru(NH3)63+ to Ru(NH3)62+ over the Fe-doped nickel (oxy)hydroxide catalyst surface as a function of substrate potential (a). Analytical fits of the experimental approach curve to reveal the kinetics at each potential (b). Figure 8. Predicted rate constant vs actual rate constant of the experimental approach curves on the Fe-doped nickel (oxy)hydroxide sample. (a) Predicted vs true values of the MLP-C model and (b) that of the MLP-S model. performance shown in [Figure](https://pubs.acs.org/doi/suppl/10.1021/acsmeasuresciau.2c00056/suppl_file/tg2c00056_si_001.pdf) S4) and it holds the unique property of transition from insulating at low positive potentials to conducting at high positive potentials. Thus a single sample can span the entire range of effective kinetic rate constants (i.e., the measured rate encompassing both changes in the conductivity of the electrode and the rate of electron transfer) of outer-sphere, reversible electron-transfer reactions simply by changing the substrate potential. To demonstrate this, Figure 6a−f shows constant-height SECM images (150 _μ_ m × 150 _μ_ m) in 10 mM Ru(NH3)63+ of Figure 9. Confusion matrix showing the CNN predicted vs COMSOL determined effective rate constant for the experimental data on the Fe-doped nickel (oxy)hydroxide catalyst sample. most results were only one class away from the true value. Thus, the model can determine a lower bound for the kinetic rate constant that approaches pure positive feedback and provide a good estimate of the effective rate constant. 3.3. Model Utilization on Experimental Data As mentioned above, we set out to determine how well these models would work on nonideal experimental approach curves. To do this, we utilized the Fe-doped nickel (oxy)hydroxide as an example material because it is a popular OER catalyst (OER SECM images (150 _μ_ m × 150 _μ_ m) in 10 mM Ru(NH3)63+ of the crystalline Fe-doped nickel (oxy)hydroxide electrocatalyst with a defect shown in the center. Here, the Fe-doped nickel (oxy)hydroxide catalyst is on the outside of the defect, and at the defect, the conductive fluorine-doped tin oxide-coated glass is exposed to the electrolyte. For each of these images, the Pt tip electrode is held at −0.3 V vs Ag/AgCl and the substrate is (a) turned off, held at (b) +0.05, (c) +0.4, (d) +0.6, (e) +0.7, and (f) +0.8 V vs Ag/AgCl. While a potential of +0.05 V vs Ag/AgCl should be sufficient to oxidize the Ru(NH3)62+ back Ag/AgCl should be sufficient to oxidize the Ru(NH3)62+ back to Ru(NH3)63+ and create positive feedback, this was not to Ru(NH3)63+ and create positive feedback, this was not shown on the catalyst surface when such potential was applied. This is attributed to significantly slower kinetics on the catalyst surface when in the insulating state. However, the center of the image shows a hole in the catalyst surface, revealing the plain FTO glass in the middle. The FTO region does demonstrate <u>ACS</u> <u>Measurement</u> <u>Science</u> <u>Au</u> <u><mark>pubs.acs.org/measureau</mark></u> <u><mark>Article</mark></u> positive feedback at an applied potential of +0.05 V vs Ag/ AgCl. As the substrate potential becomes more positive during the SECM imaging, the positive feedback across the image becomes more prominent. Once the substrate reaches +0.6 V vs Ag/AgCl, the catalyst region transitions from insulating to conducting and is able to turn around the redox species and create a small positive feedback. The FTO glass is at the maximum positive feedback at this potential. Finally, once the substrate reaches +0.8 V vs Ag/AgCl, the catalyst region shows the same maximum feedback as the FTO glass, demonstrating that the electron-transfer step can occur sufficiently fast that the kinetics are no longer the limiting component. After imaging, the SECM tip approached toward the substrate while holding the substrate at varying potentials. The tip electrode was held constant at −0.3 V vs Ag/AgCl. These experiments resulted in the approach curves shown in Figure 7a. As shown in Figure 7a, the approach curves transition from negative feedback to positive feedback as the potential of the substrate changes from +0.5 to +0.8 V vs Ag/ AgCl, verifying the results determined by the SECM imaging. Further, these approach curves were simulated with the analytic expression described in eqs 1−6 assuming a diffusion coefficient of 10 <sup>−5</sup> cm <sup>2</sup> s <sup>−1</sup>, as shown in Figure 7b. Here, we can see that the rate constant of the substrate varied from 0.001 to 0.07 cm <sup>2</sup> s <sup>−1</sup> . To evaluate how well the machine learning models performed on nonideal experimental data, kinetic rate constants for each of the four approach curves shown in Figure 8 were calculated with each of the three models. The performance of the regression MLP models is shown in Figure 8. For the MLP-C model (Figure 8a), the performance is relatively poor compared to the performance on synthetic data. We attribute this poor accuracy to the MLP-C model only using the measured current data, without any _z_ -position data. Thus, nonidealities that may arise from nonflat substrates and imperfect tip/substrate alignment are not captured in the simulated data used to train the model. Thus, the MLP-C model has difficulty capturing the kinetic rate constant of the substrate based on the real approach curve data. For the MLP-S (Figure 8b) model, there is a significant improvement compared to the performance of the MLP-C model. This improvement is due to the fact that the slope values, which incorporate the _z_ -position data, are a better representation of the approach curves compared to only the measured current values. However, because the MLP-S model relies on the slope, it may be more susceptible to experimental noise in the measured current, which could affect the individual slope calculations. The results of the CNN model are shown in Figure 9. It is shown that the experimental curves, all of which corresponded to either class 0, 5, 6, or 8 were predicted perfectly. Because CNN models are able to “look” at the approach curves and gauge the direction and the amount of curvature in the approach curve, it acts more like how a human would interpret the data and appears to be less susceptible to nonidealities or experimental noise. 3.4. Conclusions We have demonstrated that artificial neural networks can be a powerful tool for performing high-throughput data analysis on experimental data. In fact, the CNN used in this study was able to evaluate all 800 approach curves in the testing set in under 400 ms. While analysis via finite element analysis could take over 60 s for a single approach curve. We also identified that feature design is important for the rapid analysis of experimental data. For example, multilayer perceptron models can be used on two-dimensional data if the features can be designed to incorporate both dimensions (e.g., using the slope between the measured current and the _z_ -position for SECM approach curves). A second key finding is that CNN is more apt to handle nonideal data because these models simulate how humans “look” at an image. Thus, CNNs can be very powerful for data that has significant noise or nonidealities and they can provide effective rate constant information on complex electrochemical systems. These advantages outweigh the fact that there is some “blank space” with no information in analyzing images. Once these artificial neural networks are trained, analyzing the data is extremely rapid and efficient. Thus, we believe that online machine learning will become a powerful tool for highthroughput chemical data analysis. # ■* sı Supporting ASSOCIATED Information CONTENT The Supporting Information is available free of charge at [https://pubs.acs.org/doi/10.1021/acsmeasuresciau.2c00056.](https://pubs.acs.org/doi/10.1021/acsmeasuresciau.2c00056?goto=supporting-info) Training and validation errors for the MLP-C (Figure S1) and MLP-S (Figure S2) model; example images used in the CNN model (Figure S3); additional electrochemical data on the Fe-doped nickel (oxy)hydroxide electrode (Figure S4); and electrochemical response of the SECM tip electrode (Figure S5) [(PDF)](https://pubs.acs.org/doi/suppl/10.1021/acsmeasuresciau.2c00056/suppl_file/tg2c00056_si_001.pdf) [(PDF)](https://pubs.acs.org/doi/suppl/10.1021/acsmeasuresciau.2c00056/suppl_file/tg2c00056_si_001.pdf) # ■ Corresponding AUTHOR INFORMATION Author Kevin C. Leonard - _Department_ _of_ _Chemical_ _&_ _Petroleum_ _Engineering,_ _The_ _University_ _of_ _Kansas,_ _Lawrence,_ _Kansas_ _66045,_ _United_ _States;_ _Center_ _for_ _Environmentally_ _Beneficial_ _Catalysis,_ _The_ _University_ _of_ _Kansas,_ _Lawrence,_ _Kansas_ _66047,_ _United_ _States;_ [orcid.org/0000-0002-0172-3150;](https://orcid.org/0000-0002-0172-3150) Email: [kcleonard@ku.edu](mailto:kcleonard@ku.edu) Authors Dinuka Rajapakse - _Department_ _of_ _Chemical_ _&_ _Petroleum_ _Engineering,_ _The_ _University_ _of_ _Kansas,_ _Lawrence,_ _Kansas_ _66045,_ _United_ _States;_ _Center_ _for_ _Environmentally_ _Beneficial_ _Catalysis,_ _The_ _University_ _of_ _Kansas,_ _Lawrence,_ _Kansas_ _66047,_ _United_ _States_ Josh Meckstroth - _Department_ _of_ _Chemical_ _&_ _Petroleum_ _Engineering,_ _The_ _University_ _of_ _Kansas,_ _Lawrence,_ _Kansas_ _66045,_ _United_ _States_ Dylan T. Jantz - _Department_ _of_ _Chemical_ _&_ _Petroleum_ _Engineering,_ _The_ _University_ _of_ _Kansas,_ _Lawrence,_ _Kansas_ _66045,_ _United_ _States;_ _Center_ _for_ _Environmentally_ _Beneficial_ _Catalysis,_ _The_ _University_ _of_ _Kansas,_ _Lawrence,_ _Kansas_ _66047,_ _United_ _States_ Kyle Vincent Camarda - _Department_ _of_ _Chemical_ _&_ _Petroleum_ _Engineering,_ _The_ _University_ _of_ _Kansas,_ _Lawrence,_ _Kansas_ _66045,_ _United_ _States_ Zijun Yao - _Department_ _of_ _Electrical_ _Engineering_ _&_ _Computer_ _Science,_ _The_ _University_ _of_ _Kansas,_ _Lawrence,_ _Kansas_ _66045,_ _United_ _States_ Complete contact information is available at: <u>ACS</u> <u>Measurement</u> <u>Science</u> <u>Au</u> <u><mark>pubs.acs.org/measureau</mark></u> <u><mark>Article</mark></u> [https://pubs.acs.org/10.1021/acsmeasuresciau.2c00056](https://pubs.acs.org/doi/10.1021/acsmeasuresciau.2c00056?ref=pdf) Author Contributions CRediT: Dinuka Rajapakse data curation (equal), investigation (equal), methodology (equal), software (equal), writing-original draft (equal); Josh Meckstroth data curation (equal), formal analysis (equal), investigation (equal), methodology (equal), software (equal); Dylan T. Jantz investigation (equal), methodology (equal), writing-review & editing (equal); Kyle Vincent Camarda supervision (equal), writingreview & editing (equal); Zijun Yao formal analysis (equal), supervision (equal), writing-review & editing (equal); Kevin C. Leonard conceptualization (equal), formal analysis (equal), funding acquisition (equal), investigation (equal), methodology (equal), project administration (equal), software (equal), validation (equal), visualization (equal), writing-original draft (equal), writing-review & editing (equal). Notes The authors declare no competing financial interest. # ■ ACKNOWLEDGMENTS The authors acknowledge funding for this project from the Kansas Board of Regents and the U.S. National Science Foundation Research Traineeship (NRT) grant through Award DGE-1922649. # ■ REFERENCES (1) Bard, A. J.; Fan, F.; Kwak, J.; Lev, O. Scanning [Electrochemical](https://doi.org/10.1021/ac00177a011?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Microscopy - [Introduction](https://doi.org/10.1021/ac00177a011?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) and Principles. _Anal._ _Chem._ 1989, _61_, 132−138. (2) Lefrou, C.; Cornut, R. Analytical [expressions](https://doi.org/10.1002/cphc.200900600) for quantitative [scanning electrochemical microscopy (SECM).](https://doi.org/10.1002/cphc.200900600) _ChemPhysChem_ 2010, _11_, 547−556. (3) Polcari, D.; Dauphin-Ducharme, P.; Mauzeroll, J. [Scanning](https://doi.org/10.1021/acs.chemrev.6b00067?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Electrochemical Microscopy: A [Comprehensive](https://doi.org/10.1021/acs.chemrev.6b00067?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Review of Experimental Parameters [from](https://doi.org/10.1021/acs.chemrev.6b00067?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) 1989 to 2015. _Chem._ _Rev._ 2016, _116_, 13234−13278. [(4) Jantz, D. T.; Leonard, K. C. Characterizing Electrocatalysts with](https://doi.org/10.1021/acs.iecr.8b00922?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) [Scanning Electrochemical Microscopy.](https://doi.org/10.1021/acs.iecr.8b00922?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) _Ind. Eng. Chem. Res._ 2018, _57_, 7431−7440. (5) Bard, A. J.; Mirkin, M.; Unwin, P.; Wipf, D. [Scanning](https://doi.org/10.1021/j100183a064?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Electrochemical Microscopy .12. Theory and Experiment of The Feedback Mode With Finite [Heterogeneous](https://doi.org/10.1021/j100183a064?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Electron-Transfer Kinetics and [Arbitrary](https://doi.org/10.1021/j100183a064?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Substrate Size. _J._ _Phys._ _Chem._ _A_ 1992, _96_, 1861−1868. (6) Amemiya, S.; Bard, A. J.; Fan, F.-R. F.; Mirkin, M. V.; Unwin, P. R. Scanning [Electrochemical](https://doi.org/10.1146/annurev.anchem.1.031207.112938) Microscopy. _Annu._ _Rev._ _Anal._ _Chem._ 2008, _1_, 95−131. (7) Preet, A.; Lin, T.-E. A Review: [Scanning](https://doi.org/10.3390/catal11050594) Electrochemical Microscopy (SECM) for [Visualizing](https://doi.org/10.3390/catal11050594) the Real-Time Local Catalytic [Activity.](https://doi.org/10.3390/catal11050594) _Catalyst_ 2021, _11_, No. 594. (8) Bard, A. J.; Mirkin, M. V. _Scanning_ _Electrochemical_ _Microscopy_ ; CRC Press, 2012. (9) Kai, T.; Zoski, C. G.; Bard, A. J. Scanning [electrochemical](https://doi.org/10.1039/C7CC09777H) [microscopy at the nanometer level.](https://doi.org/10.1039/C7CC09777H) _Chem. Commun._ 2018, _54_, 1934− 1947. (10) Bard, A. J.; Fan, F.-R. F.; Pierce, D. T.; Unwin, P. R.; Wipf, D. O.; Zhou, F. Chemical imaging of [surfaces](https://doi.org/10.1126/science.254.5028.68) with the scanning [electrochemical](https://doi.org/10.1126/science.254.5028.68) microscope. _Science_ 1991, _254_, 68−74. (11) Kim, J.; Renault, C.; Nioradze, N.; Arroyo-Currás, N.; Leonard, [K. C.; Bard, A. J. Electrocatalytic activity of individual Pt nanoparticles](https://doi.org/10.1021/jacs.6b03980?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) studied by nanoscale [scanning](https://doi.org/10.1021/jacs.6b03980?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) electrochemical microscopy. _J._ _Am._ _Chem._ _Soc._ 2016, _138_, 8560−8568. (12) Kim, J.; Renault, C.; Nioradze, N.; Arroyo-Currás, N.; Leonard, K. C.; Bard, A. J. Nanometer scale [scanning](https://doi.org/10.1021/acs.analchem.6b03024?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) electrochemical microscopy [instrumentation.](https://doi.org/10.1021/acs.analchem.6b03024?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) _Anal._ _Chem._ 2016, _88_, 10284−10289. (13) Conzuelo, F.; Schulte, A.; Schuhmann, W. [Biological](https://doi.org/10.1098/rspa.2018.0409) imaging with scanning [electrochemical](https://doi.org/10.1098/rspa.2018.0409) microscopy. _Proc._ _R._ _Soc._ _A_ 2018, _474_, No. 20180409. (14) Bard, A. J.; Li, X.; Zhan, W. Chemically [imaging living cells](https://doi.org/10.1016/j.bios.2006.04.028) by scanning [electrochemical](https://doi.org/10.1016/j.bios.2006.04.028) microscopy. _Biosens._ _Bioelectron._ 2006, _22_, 461−472. (15) Laforge, F. O.; Velmurugan, J.; Wang, Y.; Mirkin, M. V. Nanoscale imaging of surface [topography](https://doi.org/10.1021/ac900335c?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) and reactivity with the scanning [electrochemical](https://doi.org/10.1021/ac900335c?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) microscope. _Anal._ _Chem._ 2009, _81_, 3143− 3150. (16) Jayaraman, S.; Hillier, A. C. Construction and reactivity mapping of a platinum [catalyst](https://doi.org/10.1021/la010930b?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) gradient using the scanning [electrochemical](https://doi.org/10.1021/la010930b?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) microscope. _Langmuir_ 2001, _17_, 7857−7864. (17) Sun, T.; Zhang, H.; Wang, X.; Liu, J.; Xiao, C.; Nanayakkara, S. U.; Blackburn, J. L.; Mirkin, M. V.; Miller, E. M. [Nanoscale](https://doi.org/10.1039/C8NH00346G) mapping of hydrogen evolution on [metallic](https://doi.org/10.1039/C8NH00346G) and semiconducting MoS 2 [nanosheets.](https://doi.org/10.1039/C8NH00346G) _Nanoscale_ _Horiz._ 2019, _4_, 619−624. (18) Sarkar, S.; Wang, X.; Hesari, M.; Chen, P.; Mirkin, M. V. Scanning Electrochemical and [Photoelectrochemical](https://doi.org/10.1021/acs.analchem.1c00358?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Microscopy on Finder Grids: Toward [Correlative](https://doi.org/10.1021/acs.analchem.1c00358?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Multitechnique Imaging of [Surfaces.](https://doi.org/10.1021/acs.analchem.1c00358?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) _Anal._ _Chem._ 2021, _93_, 5377−5382. (19) Jantz, D. T.; Balla, R. J.; Huang, S.-H.; Kurapati, N.; Amemiya, S.; Leonard, K. C. Simultaneous [Intelligent](https://doi.org/10.1021/acs.analchem.1c01248?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Imaging of Nanoscale [Reactivity and Topography by Scanning Electrochemical Microscopy.](https://doi.org/10.1021/acs.analchem.1c01248?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) _Anal._ _Chem._ 2021, _93_, 8906−8914. (20) Balla, R. J.; Jantz, D. T.; Kurapati, N.; Chen, R.; Leonard, K. C.; [Amemiya, S. Nanoscale intelligent imaging based on real-time analysis](https://doi.org/10.1021/acs.analchem.9b02361?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) of approach curve by [scanning](https://doi.org/10.1021/acs.analchem.9b02361?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) electrochemical microscopy. _Anal._ _Chem._ 2019, _91_, 10227−10235. (21) Jones, P. J.; Catt, M.; Davies, M. J.; Edwardson, C. L.; Mirkes, E. M.; Khunti, K.; Yates, T.; Rowlands, A. V. Feature [selection](https://doi.org/10.1016/j.gaitpost.2021.08.007) for [unsupervised machine learning of accelerometer data physical activity](https://doi.org/10.1016/j.gaitpost.2021.08.007) clusters-A [systematic](https://doi.org/10.1016/j.gaitpost.2021.08.007) review. _Gait_ _Posture_ 2021, _90_, 120−128. (22) Hoar, B. B.; Zhang, W.; Xu, S.; Deeba, R.; Costentin, C.; Gu, Q.; Liu, C. Electrochemical [mechanistic](https://doi.org/10.1021/acsmeasuresciau.2c00045?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) analysis from cyclic voltammograms [based](https://doi.org/10.1021/acsmeasuresciau.2c00045?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) on deep learning. _ACS_ _Meas._ _Sci._ _Au_ 2022, DOI: [10.1021/acsmeasuresciau.2c00045.](https://doi.org/10.1021/acsmeasuresciau.2c00045?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) (23) Kennedy, G. F.; Zhang, J.; Bond, A. M. [Automatically](https://doi.org/10.1021/acs.analchem.9b01891?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) identifying electrode reaction [mechanisms](https://doi.org/10.1021/acs.analchem.9b01891?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) using deep neural net[works.](https://doi.org/10.1021/acs.analchem.9b01891?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) _Anal._ _Chem._ 2019, _91_, 12220−12227. (24) Gundry, L.; Kennedy, G.; Bond, A. M.; Zhang, J. [Inclusion](https://doi.org/10.1039/D1FD00050K) of multiple cycling of potential [in the](https://doi.org/10.1039/D1FD00050K) deep neural network classification of voltammetric [reaction](https://doi.org/10.1039/D1FD00050K) mechanisms. _Faraday_ _Discuss._ 2022, _233_, 44−57. (25) Chen, H.; Kätelhön, E.; Le, H.; Compton, R. G. [Use](https://doi.org/10.1021/acs.analchem.1c03154?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) of Artificial Intelligence in [Electrode](https://doi.org/10.1021/acs.analchem.1c03154?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Reaction Mechanism Studies: Predicting Voltammograms and Analyzing the Dissociative CE Reaction at a [Hemispherical](https://doi.org/10.1021/acs.analchem.1c03154?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Electrode. _Anal._ _Chem._ 2021, _93_, 13360−13372. (26) Chen, H.; Katelhon, E.; Compton, R. G. [Predicting](https://doi.org/10.1021/acs.jpclett.1c04054?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) voltammetry using [physics-informed](https://doi.org/10.1021/acs.jpclett.1c04054?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) neural networks. _J._ _Phys._ _Chem._ _Lett._ 2022, _13_, 536−543. (27) Gardner, M. W.; Dorling, S. Artificial [neural](https://doi.org/10.1016/S1352-2310%0x2897%0x2900447-0) networks (the multilayer perceptron)−a review [of](https://doi.org/10.1016/S1352-2310%0x2897%0x2900447-0) applications in the atmospheric [sciences.](https://doi.org/10.1016/S1352-2310%0x2897%0x2900447-0) _Atmos._ _Environ._ 1998, _32_, 2627−2636. (28) Ramchoun, H.; Amine, M.; Idrissi, J.; Ghanou, Y.; Ettaouil, M. Multilayer perceptron: [Architecture](https://doi.org/10.9781/ijimai.2016.415) optimization and training. _Int._ _J._ _Interact._ _Multimedia_ _Artif._ _Intell._ 2016, _4_, 26−30. (29) Murtagh, F. Multilayer [perceptrons](https://doi.org/10.1016/0925-2312%0x2891%0x2990023-5) for classification and [regression.](https://doi.org/10.1016/0925-2312%0x2891%0x2990023-5) _Neurocomputing_ 1991, _2_, 183−197. (30) Norgaard, M.; Ravn, O.; Poulsen, N. K.; Hansen, L. K. _Neural_ _Networks for Modelling and Control of Dynamic Systems: A Practitioner’s_ _Handbook_ ; Springer, 2000. (31) Ajit, A.; Acharya, K.; Samanta, A. In _A_ _Review_ _of_ _Convolutional_ _Neural Networks_, 2020 International Conference on Emerging Trends <u>ACS</u> <u>Measurement</u> <u>Science</u> <u>Au</u> <u><mark>pubs.acs.org/measureau</mark></u> <u><mark>Article</mark></u> in Information Technology and Engineering (ic-ETITE), 2020; pp 1−5. (32) Ilesanmi, A. E.; Ilesanmi, T. O. Methods for [image](https://doi.org/10.1007/s40747-021-00428-4) denoising using convolutional [neural](https://doi.org/10.1007/s40747-021-00428-4) network: a review. _Complex_ _Intell._ _Syst._ 2021, _7_, 2179−2198. (33) Bernal, J.; Kushibar, K.; Asfaw, D. S.; Valverde, S.; Oliver, A.; Marti, R.; Llado, X. Deep convolutional [neural](https://doi.org/10.1016/j.artmed.2018.08.008) networks for brain image analysis on magnetic [resonance](https://doi.org/10.1016/j.artmed.2018.08.008) imaging: a review. _Artif._ _Intell._ _Med._ 2019, _95_, 64−81. (34) Anwar, S. M.; Majid, M.; Qayyum, A.; Awais, M.; Alnowami, M.; Khan, M. K. Medical image analysis [using](https://doi.org/10.1007/s10916-018-1088-1) convolutional neural networks: a review. _J._ _Med._ _Syst._ 2018, _42_, No. 226. [(35) Schwendicke, F.; Golla, T.; Dreher, M.; Krois, J. Convolutional](https://doi.org/10.1016/j.jdent.2019.103226) neural networks for dental [image](https://doi.org/10.1016/j.jdent.2019.103226) diagnostics: A scoping review. _J._ _Dent._ 2019, _91_, No. 103226. (36) Rawat, W.; Wang, Z. Deep convolutional neural networks for image classification: A comprehensive review. _Neural_ _Comput._ 2017, _29_, 2352−2449. [(37) Chen, L.; Li, S.; Bai, Q.; Yang, J.; Jiang, S.; Miao, Y. Review of](https://doi.org/10.3390/rs13224712) image classification algorithms based on convolutional neural [networks.](https://doi.org/10.3390/rs13224712) _Remote_ _Sens._ 2021, _13_, No. 4712. (38) Al-Saffar, A. A. M.; Tao, H.; Talab, M. A. In _Review_ _of_ _Deep_ _Convolution Neural Network in Image Classification_, 2017 International Conference on Radar, Antenna, Microwave, Electronics, and Telecommunications (ICRAMET), 2017; pp 26−31. [(39) Yang, W.; Jin, L.; Tao, D.; Xie, Z.; Feng, Z. DropSample: A new](https://doi.org/10.1016/j.patcog.2016.04.007) training method to enhance deep convolutional neural networks for large-scale unconstrained [handwritten](https://doi.org/10.1016/j.patcog.2016.04.007) Chinese character recognition. _Pattern_ _Recognit._ 2016, _58_, 190−203. [(40) Zhang, S.; Jin, L.; Lin, L. Discovering similar Chinese characters](https://doi.org/10.1007/s10032-016-0268-0) [in online handwriting with deep convolutional neural networks.](https://doi.org/10.1007/s10032-016-0268-0) _Int. J._ _Document_ _Anal._ _Recognit._ 2016, _19_, 237−252. (41) Darmatasia; Fanany, M. I. In _Handwriting_ _Recognition_ _on_ _Form_ _Document_ _Using_ _Convolutional_ _Neural_ _Network_ _and_ _Support_ _Vector_ _Machines_ _(CNN-SVM)_, 2017 5th International Conference on Information and Communication Technology (ICoIC7); IEEE, 2017; pp 1−6. (42) Maitra, D. S.; Bhattacharya, U.; Parui, S. K. In _CNN_ _Based_ _Common_ _Approach_ _to_ _Handwritten_ _Character_ _Recognition_ _of_ _Multiple_ _Scripts_, 2015 13th International Conference on Document Analysis and Recognition (ICDAR); IEEE, 2015; pp 1021−1025. (43) Chen, L.; Wang, S.; Fan, W.; Sun, J.; Naoi, S. In _Beyond Human_ _Recognition:_ _A_ _CNN-Based_ _Framework_ _for_ _Handwritten_ _Character_ _Recognition_, 2015 3rd IAPR Asian Conference on Pattern Recognition (ACPR); IEEE, 2015; pp 695−699. (44) Barforoush, J. M.; Seuferling, T. E.; Jantz, D. T.; Song, K. R.; [Leonard, K. C. Insights into the active electrocatalytic areas of layered](https://doi.org/10.1021/acsaem.8b00190?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) double hydroxide and amorphous nickel-iron oxide oxygen evolution [electrocatalysts.](https://doi.org/10.1021/acsaem.8b00190?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) _ACS_ _Appl._ _Energy_ _Mater._ 2018, _1_, 1415−1423. (45) Barforoush, J. M.; Jantz, D. T.; Seuferling, T. E.; Song, K. R.; Cummings, L. C.; Leonard, K. C. [Microwave-assisted](https://doi.org/10.1039/C7TA00151G) synthesis of a [nanoamorphous (Ni 0.8, Fe 0.2) oxide oxygen-evolving electrocatalyst](https://doi.org/10.1039/C7TA00151G) [containing only “fast” sites.](https://doi.org/10.1039/C7TA00151G) _J. Mater. Chem. A_ 2017, _5_, 11661−11670. (46) Seuferling, T. E.; Larson, T. R.; Barforoush, J. M.; Leonard, K. C. Carbonate-Derived [Multi-Metal](https://doi.org/10.1021/acssuschemeng.1c05519?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Catalysts for Electrochemical Water-Splitting at [High](https://doi.org/10.1021/acssuschemeng.1c05519?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Current Densities. _ACS_ _Sustainable_ _Chem._ _Eng._ 2021, _9_, 16678−16686. (47) Barforoush, J. M.; McDonald, T. D.; Desai, T. A.; Widrig, D.; [Bayer, C.; Brown, M. K.; Cummings, L. C.; Leonard, K. C. Intelligent](https://doi.org/10.1016/j.electacta.2015.12.112) scanning electrochemical [microscopy](https://doi.org/10.1016/j.electacta.2015.12.112) tip and substrate control utilizing [fuzzy](https://doi.org/10.1016/j.electacta.2015.12.112) logic. _Electrochim._ _Acta_ 2016, _190_, 713−719.

섹션 본문 33문단 · 28,148자

(제목 없음)

1Extracting information from experimental measurements in the chemical sciences typically requires curve fitting, deconvolution, and/or solving the governing partial differential equations via numerical (e.g., finite element analysis) or analytical methods. However, using numerical or analytical methods for highthroughput data analysis typically requires significant postprocessing efforts. Here, we show that deep learning artificial neural networks can be a very effective tool for extracting information from experimental data. As an example, reactivity and topography information from scanning electrochemical microscopy (SECM) approach curves are highly convoluted. This study utilized multilayer perceptrons and convolutional neural networks trained on simulated SECM data to extract kinetic rate constants of catalytic substrates. Our key findings were that multilayer perceptron models performed very well when the experimental data were close to the ideal conditions with which the model was trained. However, convolutional neural networks, which analyze images as opposed to direct data, were able to accurately predict the kinetic rate constant of Fe-doped nickel (oxy)hydroxide catalyst at different applied potentials even though the experimental approach curves were not ideal. Due to the speed at which machine learning models can analyze data, we believe this study shows that artificial neural networks could become powerful tools in high-throughput data analysis.

INTRODUCTION

2Scanning electrochemical microscopy (SECM) is a scanning probe technique that can obtain spatial-dependent surface reactivity and topography of solid surfaces operating in a solution phase. 1−8 In SECM, the probe is typically a micro-or nanoelectrode (referred to as a tip electrode), and reactivity and topography of the surface (referred to as the substrate) are determined via detecting the flux of redox-active molecules between the tip and substrate through current measurements on the tip electrode. 8−10 Spatial-dependent information is typically obtained by raster-scanning the tip electrode in the x−y plane over the substrate of interest. 11−16 However, a challenge in SECM is that the reactivity and topography are often convoluted because the flux of the redox mediators is dependent on both the reactivity of the substrate and the tip/ substrate distance. 17 Thus, it is common practice to perform an additional ex situ imaging technique in parallel with SECM to obtain separate topography information so reactivity information can be inferred. 18 Recently, the Amemiya and Leonard groups have developed an intelligent mode of nanoscale SECM to image both reactivity and topography simultaneously of nonflat substrates with reactive and inert regions. 19,20 This intelligent imaging mode is based on the analysis of approach curves taken at different positions over the substrate of interest. The power of this approach curve mapping technique is that it can unequivocally determine the reactivity and the topography because the tip is approached toward the substrate at each pixel in the image. However, the challenge with intelligent SECM is converting the direct current measurement to topography and reactivity in real time. This deconvolution requires solving complex partial differential equations (e.g., Fick's diffusion with potential-dependent flux boundary conditions) in three-dimensional space via finite element analysis software and/or postmeasurement fitting of experimental data to nonlinear analytical models. 2 This data analysis adds significant postprocessing time and limits the total number of pixels that can be obtained in an image.

3Here, we report on using machine learning techniques as an alternative to finite elemental analysis and nonlinear curve fitting for obtaining the substrate kinetics of SECM approach curves. Simply put, machine learning models use mathematical algorithms to uncover patterns within the data provided to the system. 21 Bond, Compton, Liu, and others have used machine learning and artificial neural networks to analyze electrochemical cyclic voltammetry data, mainly via classification algorithms to predict mechanisms. 22−26 Similar to voltammetry, the observed shape of an SECM approach curve is dependent on the kinetic rate constant of the substrate reaction. Our goal was to determine if machine learning algorithms could calculate the kinetic rate constant of a substrate without actually solving the partial differential equations that govern the process. Specifically, we investigated the use of two types of artificial neural network machine learning algorithms, multilayer perceptrons (MLP) and convolutional neural networks (CNN). MLP models pass an entire data set through multiple layers of nodes (i.e., perceptrons) where each node acts analogous to a transfer function where inputs are multiplied by weights and entered into an activation function to obtain an output. Training the model to convert the input data set into an output is done through back-propagation where the weights of the neural network are tuned based on the error of the previous iteration (i.e., epoch). 27−30 CNN models are typically used for image classification, for example, they are used to detect letters and numbers in handwriting analysis. 31−43 In general, a CNN makes a classification via scanning through the image to extract features in a hierarchical manner, starting with the low-level features and then utilizing the final feature map in an MLP for the final classification.

4All machine learning models need large amounts of data for training. Here, we used data generated from analytical expressions previously derived to capture how the shape of SECM approach curves changes as a function of the kinetic rate constant of the substrate. 2 We investigated two different methods of utilizing SECM approach curve data with MLP models�(1) only the measured current data and (2) the slope of the current vs z-position data. Since CNN models are typically trained on image data, the approach curves were converted to image form for use in the CNN model. Validation of the model was performed by performing experimental approach curves on a Fe-doped nickel (oxy)hydroxide substrate. While this material has practical significance as an electrocatalyst for the oxygen evolution reaction (OER), 44−46 this material was chosen because it has the unique property of transitioning from completely insulating to completely conducting as a function of potential. Thus, on the same substrate, we can obtain electron-transfer kinetic rate constants on an outer-sphere redox process spanning several orders of magnitude.

5We observed that both the MLP and CNN models can obtain very high accuracy on ideal SECM approach curves. However, on nonideal SECM approach curves, where the nonideality occurs from a combination of rough surfaces with tip/substrate misalignment, the CNN model outperforms the MLP models. We attribute this to the CNN model being able to obtain the general trend via analyzing the image as opposed to the raw data. We envision this machine learning technique will not only impact the rapid analysis of SECM approach curves but could be applied to other areas of data analysis where numerous experiments need to be quantified. (1) (3) where R g is the ratio of the radius of the insulation sheath around the electrode to the radius of the disk electrode (r glass /a); L is the ratio of the distance the tip is away from the substrate to the radius of the disk electrode (d/a); and κ, α, and β are described as follows

EXPERIMENTAL AND

6where k is the kinetic rate constant of the substrate, D is the diffusion coefficient of the redox mediator, and a is the radius of the tip electrode.

7Each approach curve in the model was unique, each having a different substrate rate constant value and a final tip−substrate distance. The rate constant values range from 1 to 10 −5 cm s −1 with a diffusion coefficient of 10 −5 cm 2 s −1 . The final tip−substrate distances ranged d/a values (where d is the tip−substrate distance and a is the radius of the electrode) from 0.1 to 2. Each approach curve consisted of 150 points.

8The data for the CNN consisted of 3800 images of approach curves. These images were 100 pixel by 100 pixel grayscale images that did not include the x and y axes or axis labels. Each of these approach curves also has a unique rate constant value and a final tip− substrate distance. The rate constant values ranged from 1 to 10 −3 cm s −1 , the diffusion coefficient was 10 −5 cm 2 s −1 , and the final tip− substrate distance values ranged from d/a values of 0.01 to 0.3.

Machine Learning Packages.

9All machine learning algorithms were programmed in Python using Jupyter Notebooks. The Keras library, a wrapper for the Tensorflow, was used as the machine learning library to implement both the MLP and CNN algorithms. All source code for this study can be found in the Supporting Information. Two MLP models were built: MLP-C and MLP-S. Both models only used the ReLu activation function in all hidden layers. The MLP-C model consisted of three hidden layers each having 10 nodes. The MLP-S model consisted of four hidden layers, where the first three layers consisted of 10 nodes each and the last hidden layer consisted of five nodes. The MLP regression models were trained over 1000 epochs. The CNN model consisted of two feature extractors, each of which consisted of a convolutional layer followed by a max pooling layer. The dimension of all max pooling layers was 2 × 2. The first convolutional layer used a 10 × 10 kernel to output a 32 × 32 lower-level feature map. The second convolutional layer used a 5 × 5 kernel, which outputs a 10 × 10 higher-level feature map. Both feature extractors use ReLu as the activation function all throughout and a dropout of 0.25. The first and only hidden layer of the MLP attached to the second extractor consisted of 256 nodes and uses the ReLu activation function as well. The final output layer consisted of 10 nodes to represent the 10 classes, and it uses the softmax activation function.

Model Evaluation.

10Both data sets were split into training and testing sets, with an 80:20 split. Mean-squared error and mean absolute error were used to determine the quality of the regression MLP model. Accuracy, precision, recall, and F-1 score were used to evaluate the multiclass classification CNN model. 2 , 99.8%, anhydrous, Sigma-Aldrich), sodium hydroxide (NaOH, 98.7%, Certified ACS, Fisher Scientific), potassium chloride (KCl, 99%+, Certified ACS, Fisher Scientific), and hexaammineruthenium(III) chloride (Ru(NH 3 ) 6 Cl 3 , 99%, Strem Chemicals) were all used as received without additional purification. The electrolyte solution was prepared using ultrapure water (18.2 MΩ cm) from Millipore Synergy UV system. Platinum wire (purity 99.9%, 0.01 mm diameter, temper hard, Good Fellow) was used for tip electrode fabrication. The 10 μm Pt microelectrode was manufactured following the same procedure as previously described. 4 2.2.2. Fe-Doped Nickel (Oxy)hydroxide Synthesis. The Fedoped nickel (oxy)hydroxide crystalline-derived catalyst was synthesized following the same procedure as previously described. 44,45 Briefly, mixtures of 0.02 M Ni(NO 3 ) 2 ·6H 2 O and 0.02 M Fe(NO 3 ) 3 · 9H 2 O were prepared separately in ethylene glycol and subsequently added together in an 8:2 ratio. This solution was drop-cast on cleaned fluorine-doped tin oxide (FTO)-coated glass (Sigma-Aldrich) and placed into an oven at 135°C for 30 min, then repeated once more for a second coating. The crystalline thin-film samples were further annealed at 525°C for 3 h to create the Fe-doped nickel (oxy)hydroxide layer. The Fe-doped nickel (oxy)hydroxide was then electrochemically conditioned by applying an oxidation current of ca. 10 mA cm 2 in 1 M NaOH for 1 h.

Scanning Electrochemical Microscopy Measurements.

11All SECM experiments were performed via a custom-built SECM, as previously described. 47 The Fe-doped nickel (oxy)hydroxide crystalline catalyst was inserted into a custom electrochemical cell (Teflon) as the substrate electrode, which was then Figure 1. Overview of three different methods of obtaining a substrate kinetic rate constant from SECM approach curves. Using finite elemental analysis or analytical expressions to solve diffusion equations, which govern how the tip current changes with substrate kinetics (top). Entering raw approach curve data into a multilayer perceptron model to obtain the kinetic rate constant (middle) and using the image of an approach curve in a convolutional neural network to obtain a kinetic rate constant (bottom). mounted on the motion controller system. A 200 μm Pt wire coil was used as the counter electrode, and an Ag/AgCl electrode was used as the reference. The electrolyte solution used was 10 mM Ru(NH 3 ) 6 3+ , thoroughly purged with argon before use. The 10 μm Pt microelectrode was used as the SECM tip electrode for SECM experiments. The Pt tip electrode was initially placed in close proximity to the desired hole in the Fe-doped nickel (oxy)hydroxide crystalline catalyst by visual alignment.

12The first series of SECM experiments were performed in the 10 mM Ru(NH 3 ) 6 3+ solution. A CV was performed from +0.05 to −0.3 V vs Ag/AgCl to verify the reduction potential range of Ru(NH 3 ) 6 3+ to Ru(NH 3 ) 6

2+

13. To bring the tip close to the catalyst surface, a reducing potential of −0.3 V vs Ag/AgCl was applied on the tip electrode as it was stepped toward the substrate until a current enhancement of 0.5 was reached. The tip electrode was then raster scanned over a 300 μm × 300 μm region while still holding −0.3 V vs Ag/AgCl to find the desired hole in the Fe-doped nickel (oxy)hydroxide crystalline catalyst. Once positioned, smaller reactivity maps (150 μm × 150 μm) with higher resolution (3 μm) and sample interval of 0.4 s were performed. For each of these maps, the tip electrode was held at −0.3 V vs Ag/AgCl, while the substrate was varied from +0.05 to +0.8 V vs Ag/AgCl. Finally, approach curves were obtained over the Fe-doped nickel (oxy)hydroxide sample at various substrate potentials to change the kinetics of the Ru(NH 3 ) 6

3+

14to Ru(NH 3 ) 6 2+ reaction.

RESULTS AND DISCUSSION

15Two different artificial neural networks, multilayer perceptron (MLP) and convolutional neural networks (CNN), were evaluated to determine their ability to calculate the substrate kinetic rate constants of SECM approach curves. This was compared to traditional approaches of using finite elemental analysis or analytical solutions to Fick's diffusion equations, which govern the flux of redox-active molecules between the tip and substrate of SECM experiments (Figure 1). To train the models, SECM approach curves were simulated using eqs 1−6 as shown above. 2 As shown in Figure 2, there is a dramatic change in the shape of an SECM approach curve based on the kinetics of the substrate. For rate constants slower than 10 −3 cm s −1 , the approach curve approaches pure negative feedback where the hindered diffusion caused by the close tip/ substrate distance governs the flux of the redox molecules towards the tip electrode. Contrastingly, when the substrate kinetic rate constants exceed 1 cm s −1 , the approach curve For all kinetics between these values, mixed feedback is observed. Because the shape of the approach curve is different for each kinetic rate constant, we hypothesized that machine learning models could accurately make correlations to predict the kinetic rate constant without actually solving the partial differential equations that govern SECM approach curves.

Multilayer Perceptron Models on Simulated SECM Approach Curves

16MLP models are traditionally not conducive for importing twodimensional data (e.g., current vs time). Thus, we investigated two different feature options. First, we used the raw normalized current value of each point rendering 150 features for each curve. This MLP model trained on these features will be named MLP-C moving forward. The other is selecting the slope of the normalized current and the normalized distance between two consecutive points rendering 149 features for each curve. This MLP model trained on these features will be named MLP-S moving forward.

17The MLP-C model consisted of three hidden layers, each of which consisted of 10 nodes (perceptrons). The activation function for each node in the hidden layer was the rectified linear unit (ReLu). Because this is a regression model, a linear activation function was used for the output layer. The MLP-C model was able to train without showing signs of overfitting. This was confirmed by the decrease of the mean absolute error and the mean-squared error of both the training set and the validation set at a similar rate while training over the 1000 epochs (see Figure S1 for details).

18To evaluate the MLP-C model, we fed the model the experimental data from the testing set (i.e., the data that the model did not use for training) and compared the results from the model to the known kinetic rate constants from the analytical equations. As shown in Figure 3, very good agreement between the model prediction and the actual results was obtained. We measured a mean absolute error of 0.14 and a mean-squared error of 0.06 on the testing set. Most of the error is a result of the model's lack of capability to predict extreme rate constant values (e.g., smaller than 10 −4.5 and larger than 10 −0.5 ). This is because the approach curves at these values are approaching pure negative feedback and pure positive feedback, respectively, and the difference between the approach curves in these regions is very small.

19The MLP-S model (the model trained on the normalized slope instead of only the normalized current) consisted of four hidden layers. The first, second, third, and fourth hidden layers consisted of 10, 10, 10, and 5 nodes. Again, the MLP-S model was also able to train without showing signs of overfitting as the mean absolute error and mean-squared error of both the training and validation error decreased at a similar rate (see Figure S2 for details). Figure 4 shows the model-predicted kinetic rate constant vs the actual kinetic rate constant from the analytical expression. Again very good agreement between the model prediction and the actual results was obtained. In fact, the mean absolute error was measured to be 0.05 and the mean-squared error was measured to be 0.01 for the testing set data. As was the case for the MLP-C model, most of the error in the MLP-S model is a result of the model's lack of capability to predict extreme rate constant values. Note that this model showed improved mean absolute error values and mean-squared error values compared to the model which was trained on the data where the current values were selected as features. This is because slopes contain information regarding the current and tip−substrate distance values. Therefore, we observed that using the slope as a method for incorporating time-dependent experimental data into MLP models can improve their accuracy and predicting power.

Convolutional Neural Networks

20The images used to train the CNN were 3800 grayscale 100 × 100 images of approach curves, each corresponding to a unique substrate rate constant and a final tip−substrate distance pair. The legends and the x and y axes of the graph were not included. Only the curve alone was included as input, with example images shown in Figure S3.

21The CNN was trained as a multiclass classification model, with each approach curve belonging to one of 10 classes. Each class represented a range of rate constant values as shown in Table 1. Just as in the MLP model, each approach curve in the data set had a unique rate constant and final tip/substrate distance combination.

22The CNN consisted of two feature extractors, each consisting of two convolutional layers, one max pooling

ACS Measurement Science Au

23pubs.acs.org/measureau Article layer, with a window size of 2 × 2, and one dropout layer, the rate of which was set to 0.25 to minimize the risk of overfitting by randomly nullifying 25% of the filter parameters. This will reduce complexity, more of which leads to overfitting of the model. In the first convolutional layer, the low-level features of the original image were extracted using a 10 × 10 kernel, outputting a 32 × 32 filter. The most significant features of the filter were extracted using a max pooling layer. The resulting low-level feature map was then sent through the second extractor to extract high-level features using a 5 × 5 kernel, outputting a 64 × 64 filter. A larger filter size was selected for the second extractor to accommodate high-level feature extraction. The most significant features of this filter were then extracted using a final max pooling layer. Finally, the resulting feature map of the convolutional layers was subjected to flattening via a multilayer perception, which consisted of one layer with 256 nodes using the ReLU activation function.

24Accuracy, precision, and recall on the testing set were used to evaluate the CNN model, as shown in Table 2. In addition, the confusion matrix showing the accuracy of each of the classes is shown in Figure 5. Examination of Table 2 and Figure 5 shows that the CNN model was able to predict the rate constant to the appropriate class for classes 0−6, which are rate constants ranging from 0.001 to 0.049 cm s −1 . Again, this is performed with the model only "looking" at the image without performing any additional calculations. For classes 7− 9, the accuracy is significantly lower; however, the confusion matrix shows that the CNN usually only predicts one class higher or lower than the true class. These inaccurate predictions arise from each of these classes having fast kinetic rate constants with values ranging from 0.05 to 0.1 cm s −1 . Thus, each of the approach curves in classes 7−9 have very similar shapes and are approaching a pure positive feedback approach curve (see Figure 2). However, even though the prediction was inaccurate for some curves in these classes,

Model Utilization on Experimental Data

25As mentioned above, we set out to determine how well these models would work on nonideal experimental approach curves.

26To do this, we utilized the Fe-doped nickel (oxy)hydroxide as an example material because it is a popular OER catalyst (OER performance shown in Figure S4) and it holds the unique property of transition from insulating at low positive potentials to conducting at high positive potentials. Thus a single sample can span the entire range of effective kinetic rate constants (i.e., the measured rate encompassing both changes in the conductivity of the electrode and the rate of electron transfer) of outer-sphere, reversible electron-transfer reactions simply by changing the substrate potential.

27To demonstrate this, Figure 6a−f shows constant-height SECM images (150 μm × 150 μm) in 10 mM Ru(NH 3 ) 6 3+ of the crystalline Fe-doped nickel (oxy)hydroxide electrocatalyst with a defect shown in the center. Here, the Fe-doped nickel (oxy)hydroxide catalyst is on the outside of the defect, and at the defect, the conductive fluorine-doped tin oxide-coated glass is exposed to the electrolyte. For each of these images, the Pt tip electrode is held at −0.3 V vs Ag/AgCl and the substrate is (a) turned off, held at (b) +0.05, (c) +0.4, (d) +0.6, (e) +0.7, and (f) +0.8 V vs Ag/AgCl. While a potential of +0.05 V vs Ag/AgCl should be sufficient to oxidize the Ru(NH 3 ) 6 2+ back to Ru(NH 3 ) 6 3+ and create positive feedback, this was not shown on the catalyst surface when such potential was applied. This is attributed to significantly slower kinetics on the catalyst surface when in the insulating state. However, the center of the image shows a hole in the catalyst surface, revealing the plain FTO glass in the middle. The FTO region does demonstrate positive feedback at an applied potential of +0.05 V vs Ag/ AgCl. As the substrate potential becomes more positive during the SECM imaging, the positive feedback across the image becomes more prominent. Once the substrate reaches +0.6 V vs Ag/AgCl, the catalyst region transitions from insulating to conducting and is able to turn around the redox species and create a small positive feedback. The FTO glass is at the maximum positive feedback at this potential. Finally, once the substrate reaches +0.8 V vs Ag/AgCl, the catalyst region shows the same maximum feedback as the FTO glass, demonstrating that the electron-transfer step can occur sufficiently fast that the kinetics are no longer the limiting component.

28After imaging, the SECM tip approached toward the substrate while holding the substrate at varying potentials. The tip electrode was held constant at −0.3 V vs Ag/AgCl. These experiments resulted in the approach curves shown in Figure 7a. As shown in Figure 7a, the approach curves transition from negative feedback to positive feedback as the potential of the substrate changes from +0.5 to +0.8 V vs Ag/ AgCl, verifying the results determined by the SECM imaging. Further, these approach curves were simulated with the analytic expression described in eqs 1−6 assuming a diffusion coefficient of 10 −5 cm 2 s −1 , as shown in Figure 7b. Here, we can see that the rate constant of the substrate varied from 0.001 to 0.07 cm 2 s −1 .

29To evaluate how well the machine learning models performed on nonideal experimental data, kinetic rate constants for each of the four approach curves shown in Figure 8 were calculated with each of the three models. The performance of the regression MLP models is shown in Figure 8. For the MLP-C model (Figure 8a), the performance is relatively poor compared to the performance on synthetic data. We attribute this poor accuracy to the MLP-C model only using the measured current data, without any z-position data. Thus, nonidealities that may arise from nonflat substrates and imperfect tip/substrate alignment are not captured in the simulated data used to train the model. Thus, the MLP-C model has difficulty capturing the kinetic rate constant of the substrate based on the real approach curve data.

30For the MLP-S (Figure 8b) model, there is a significant improvement compared to the performance of the MLP-C model. This improvement is due to the fact that the slope values, which incorporate the z-position data, are a better representation of the approach curves compared to only the measured current values. However, because the MLP-S model relies on the slope, it may be more susceptible to experimental noise in the measured current, which could affect the individual slope calculations.

31The results of the CNN model are shown in Figure 9. It is shown that the experimental curves, all of which corresponded to either class 0, 5, 6, or 8 were predicted perfectly. Because CNN models are able to "look" at the approach curves and gauge the direction and the amount of curvature in the approach curve, it acts more like how a human would interpret the data and appears to be less susceptible to nonidealities or experimental noise.

Conclusions

32We have demonstrated that artificial neural networks can be a powerful tool for performing high-throughput data analysis on experimental data. In fact, the CNN used in this study was able to evaluate all 800 approach curves in the testing set in under 400 ms. While analysis via finite element analysis could take over 60 s for a single approach curve. We also identified that feature design is important for the rapid analysis of experimental data. For example, multilayer perceptron models can be used on two-dimensional data if the features can be designed to incorporate both dimensions (e.g., using the slope between the measured current and the z-position for SECM approach curves). A second key finding is that CNN is more apt to handle nonideal data because these models simulate how humans "look" at an image. Thus, CNNs can be very powerful for data that has significant noise or nonidealities and they can provide effective rate constant information on complex electrochemical systems. These advantages outweigh the fact that there is some "blank space" with no information in analyzing images.

33Once these artificial neural networks are trained, analyzing the data is extremely rapid and efficient. Thus, we believe that online machine learning will become a powerful tool for highthroughput chemical data analysis.

참고문헌 47건

  1. Neural Networks for Modelling and Control of Dynamic Systems Advanced textbooks in control and signal processing · 2000 10.1007/978-1-4471-0453-7
  2. Artificial neural networks (the multilayer perceptron)—a review of applications in the atmospheric sciences Atmospheric Environment · Elsevier BV · 1998 10.1016/s1352-2310(97)00447-0
  3. Scanning electrochemical microscopy. Introduction and principles Analytical Chemistry · American Chemical Society · 1989 10.1021/ac00177a011
  4. Analytical Expressions for Quantitative Scanning Electrochemical Microscopy (SECM) ChemPhysChem · Wiley · 2010 10.1002/cphc.200900600
  5. Chemical Imaging of Surfaces with the Scanning Electrochemical Microscope Science · American Association for the Advancement of Science · 1991 10.1126/science.254.5028.68
  6. Construction and Reactivity Mapping of a Platinum Catalyst Gradient Using the Scanning Electrochemical Microscope Langmuir · American Chemical Society · 2001 10.1021/la010930b
  7. Scanning electrochemical microscopy. 12. Theory and experiment of the feedback mode with finite heterogeneous electron-transfer kinetics and arbitrary substrate size The Journal of Physical Chemistry · American Chemical Society · 1992 10.1021/j100183a064
  8. Multilayer perceptrons for classification and regression Neurocomputing · Elsevier BV · 1991 10.1016/0925-2312(91)90023-5
  9. Nanoscale Imaging of Surface Topography and Reactivity with the Scanning Electrochemical Microscope Analytical Chemistry · American Chemical Society · 2009 10.1021/ac900335c
  10. Chemically imaging living cells by scanning electrochemical microscopy Biosensors and Bioelectronics · Elsevier BV · 2006 10.1016/j.bios.2006.04.028
  11. CNN based common approach to handwritten character recognition of multiple scripts 2015 10.1109/icdar.2015.7333916
  12. Intelligent Scanning Electrochemical Microscopy Tip and Substrate Control Utilizing Fuzzy Logic Electrochimica Acta · Elsevier BV · 2015 10.1016/j.electacta.2015.12.112
  13. Multilayer Perceptron: Architecture Optimization and Training International Journal of Interactive Multimedia and Artificial Intelligence · International University of La Rioja · 2016 10.9781/ijimai.2016.415
  14. Discovering similar Chinese characters in online handwriting with deep convolutional neural networks International Journal on Document Analysis and Recognition (IJDAR) · Springer Science+Business Media · 2016 10.1007/s10032-016-0268-0
  15. Beyond human recognition: A CNN-based framework for handwritten character recognition 2015 10.1109/acpr.2015.7486592
  16. Electrocatalytic Activity of Individual Pt Nanoparticles Studied by Nanoscale Scanning Electrochemical Microscopy Journal of the American Chemical Society · American Chemical Society · 2016 10.1021/jacs.6b03980
  17. DropSample : A new training method to enhance deep convolutional neural networks for large-scale unconstrained handwritten Chinese character recognition Pattern Recognition · Elsevier BV · 2016 10.1016/j.patcog.2016.04.007
  18. Scanning Electrochemical Microscopy CRC Press eBooks · Informa · 2012 10.1201/b11850
  19. Nanometer Scale Scanning Electrochemical Microscopy Instrumentation Analytical Chemistry · American Chemical Society · 2016 10.1021/acs.analchem.6b03024
  20. Scanning Electrochemical Microscopy: A Comprehensive Review of Experimental Parameters from 1989 to 2015 Chemical Reviews · American Chemical Society · 2016 10.1021/acs.chemrev.6b00067
  21. Microwave-assisted synthesis of a nanoamorphous (Ni<sub>0.8</sub>,Fe<sub>0.2</sub>) oxide oxygen-evolving electrocatalyst containing only “fast” sites Journal of Materials Chemistry A · Royal Society of Chemistry · 2017 10.1039/c7ta00151g
  22. Deep Convolutional Neural Networks for Image Classification: A Comprehensive Review Neural Computation · The MIT Press · 2017 10.1162/neco_a_00990
  23. Handwriting recognition on form document using convolutional neural network and support vector machines (CNN-SVM) 2017 10.1109/icoict.2017.8074699
  24. Review of deep convolution neural network in image classification 2017 10.1109/icramet.2017.8253139
  25. Scanning electrochemical microscopy at the nanometer level Chemical Communications · Royal Society of Chemistry · 2018 10.1039/c7cc09777h
  26. Insights into the Active Electrocatalytic Areas of Layered Double Hydroxide and Amorphous Nickel–Iron Oxide Oxygen Evolution Electrocatalysts ACS Applied Energy Materials · American Chemical Society · 2018 10.1021/acsaem.8b00190
  27. Characterizing Electrocatalysts with Scanning Electrochemical Microscopy Industrial & Engineering Chemistry Research · American Chemical Society · 2018 10.1021/acs.iecr.8b00922
  28. Biological imaging with scanning electrochemical microscopy Proceedings of the Royal Society A Mathematical Physical and Engineering Sciences · Royal Society · 2018 10.1098/rspa.2018.0409
  29. Nanoscale mapping of hydrogen evolution on metallic and semiconducting MoS<sub>2</sub> nanosheets Nanoscale Horizons · Royal Society of Chemistry · 2018 10.1039/c8nh00346g
  30. Nanoscale Intelligent Imaging Based on Real-Time Analysis of Approach Curve by Scanning Electrochemical Microscopy Analytical Chemistry · American Chemical Society · 2019 10.1021/acs.analchem.9b02361
  31. Automatically Identifying Electrode Reaction Mechanisms Using Deep Neural Networks Analytical Chemistry · American Chemical Society · 2019 10.1021/acs.analchem.9b01891
  32. Convolutional neural networks for dental image diagnostics: A scoping review Journal of Dentistry · Elsevier BV · 2019 10.1016/j.jdent.2019.103226
  33. A Review of Convolutional Neural Networks 2020 International Conference on Emerging Trends in Information Technology and Engineering (ic-ETITE) · 2020 10.1109/ic-etite47903.2020.049
  34. Medical Image Analysis using Convolutional Neural Networks: A Review Journal of Medical Systems · Springer Science+Business Media · 2018 10.1007/s10916-018-1088-1
  35. Deep convolutional neural networks for brain image analysis on magnetic resonance imaging: a review Artificial Intelligence in Medicine · Elsevier BV · 2018 10.1016/j.artmed.2018.08.008
  36. Scanning Electrochemical and Photoelectrochemical Microscopy on Finder Grids: Toward Correlative Multitechnique Imaging of Surfaces Analytical Chemistry · American Chemical Society · 2021 10.1021/acs.analchem.1c00358
  37. A Review: Scanning Electrochemical Microscopy (SECM) for Visualizing the Real-Time Local Catalytic Activity Catalysts · Multidisciplinary Digital Publishing Institute · 2021 10.3390/catal11050594
  38. Simultaneous Intelligent Imaging of Nanoscale Reactivity and Topography by Scanning Electrochemical Microscopy Analytical Chemistry · American Chemical Society · 2021 10.1021/acs.analchem.1c01248
  39. Methods for image denoising using convolutional neural network: a review Complex & Intelligent Systems · Springer Science+Business Media · 2021 10.1007/s40747-021-00428-4
  40. Feature selection for unsupervised machine learning of accelerometer data physical activity clusters – A systematic review Gait & Posture · Elsevier BV · 2021 10.1016/j.gaitpost.2021.08.007
  41. Use of Artificial Intelligence in Electrode Reaction Mechanism Studies: Predicting Voltammograms and Analyzing the Dissociative CE Reaction at a Hemispherical Electrode Analytical Chemistry · American Chemical Society · 2021 10.1021/acs.analchem.1c03154
  42. Inclusion of multiple cycling of potential in the deep neural network classification of voltammetric reaction mechanisms Faraday Discussions · Royal Society of Chemistry · 2021 10.1039/d1fd00050k
  43. Review of Image Classification Algorithms Based on Convolutional Neural Networks Remote Sensing · Multidisciplinary Digital Publishing Institute · 2021 10.3390/rs13224712
  44. Carbonate-Derived Multi-Metal Catalysts for Electrochemical Water-Splitting at High Current Densities ACS Sustainable Chemistry & Engineering · American Chemical Society · 2021 10.1021/acssuschemeng.1c05519
  45. Predicting Voltammetry Using Physics-Informed Neural Networks The Journal of Physical Chemistry Letters · American Chemical Society · 2022 10.1021/acs.jpclett.1c04054
  46. Scanning Electrochemical Microscopy Annual Review of Analytical Chemistry · Annual Reviews · 2008 10.1146/annurev.anchem.1.031207.112938
  47. Electrochemical Mechanistic Analysis from Cyclic Voltammograms Based on Deep Learning ACS Measurement Science Au · American Chemical Society · 2022 10.1021/acsmeasuresciau.2c00045