<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JAMP</journal-id><journal-title-group><journal-title>Journal of Applied Mathematics and Physics</journal-title></journal-title-group><issn pub-type="epub">2327-4352</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jamp.2022.1010211</article-id><article-id pub-id-type="publisher-id">JAMP-120743</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  A Novel Method for Solving Nonlinear Schr&amp;#246;dinger Equation with a Potential by Deep Learning
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Chaojun</surname><given-names>Zhang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Yuexing</surname><given-names>Bai</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>College of Arts and Sciences, Shanghai Maritime University, Shanghai, China</addr-line></aff><aff id="aff2"><addr-line>Ordos Science and Technology Development Center, Ordos, China</addr-line></aff><pub-date pub-type="epub"><day>30</day><month>09</month><year>2022</year></pub-date><volume>10</volume><issue>10</issue><fpage>3175</fpage><lpage>3190</lpage><history><date date-type="received"><day>20,</day>	<month>September</month>	<year>2022</year></date><date date-type="rev-recd"><day>24,</day>	<month>October</month>	<year>2022</year>	</date><date date-type="accepted"><day>27,</day>	<month>October</month>	<year>2022</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  The improved physical information neural network algorithm has been proven to be used to study integrable systems. In this paper, the improved physical information neural network algorithm is used to study the defocusing nonlinear Schr
  &amp;#246;dinger (NLS) equation with time-varying potential, and the rogue wave solution of the equation is obtained. At the same time, the influence of the number of network layers, neurons and the number of sampling points on the network performance is studied. Experiments show that the number of hidden layers and the number of neurons in each hidden layer affect the relative L
  <sub>2</sub>-norm error. With fixed configuration points, the relative norm error does not decrease with the increase in the number of boundary data points, which indicates that in this case, the number of boundary data points has no obvious influence on the error. Through the experiment, the rogue wave solution of the defocusing NLS equation is successfully captured by IPINN method for the first time. The experimental results of this paper are also compared with the results obtained by the physical information neural network method and show that the improved algorithm has higher accuracy. The results of this paper will be contributed to the generalization of deep learning algorithms for solving defocusing NLS equations with time-varying potential.
 
</p></abstract><kwd-group><kwd>Physics-Informed Neural Networks</kwd><kwd> Improved Physics-Informed Neural Net-works</kwd><kwd> Defocusing NLS Equation</kwd><kwd> Rogue Wave Solution</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>It is well known that differential systems are nonlinear phenomena that describe mathematics, physics, biology, chemistry, transportation, finance and other fields. Solving these differential systems can make people understand these phenomena as much as possible, especially in the study of differential systems in finance, such as financial soliton solutions and financial rogue wave solutions. The peaks and troughs of these waves correspond to the inflection points of stock prices in the financial market. Obviously, it provides a theoretical mechanism for people to understand the phenomenon of the financial crisis. In recent years, many classical analytical and numerical methods have been developed in the field of computing. Although these methods give numerical solutions or analytical solutions of partial differential systems to a certain extent, such as Lie symmetry in analytical methods, this method first calculates the characteristic sequence set, then calculates the infinitesimal generator, and finally transforms the partial differential system into an ordinary differential system solution. The amount of calculation involved in this process is very large. Although there is the help of a computer only reduces the computational burden to a certain extent, and some problems must be calculated manually. Especially when the partial differential problem is transformed into an ordinary differential problem, although the order of the differential equation is reduced, some ordinary differential problems cannot be solved, and the final problem is still unsolved. Another example is the finite difference method in the classical numerical method, which divides the solution domain into differential grids, but with the increase of the complexity of the boundary, the grid intersections cannot all be guaranteed to fall on the boundary conditions; this method lacks flexibility on complex boundaries. Therefore, the solution of differential systems has always been a research hotspot in the scientific community.</p><p>In recent years, with the development and application of artificial intelligence technology in various neighborhoods, experts have turned their attention to artificial intelligence, and they have considered using neural networks to study differential systems. For example, I.E. Lagaris and A.C. Likas studied the solutions of ordinary and partial differential equations using artificial neural networks in 1998 [<xref ref-type="bibr" rid="scirp.120743-ref1">1</xref>]. In 2000, S. He and K. Reif investigated the solution of partial differential equations by multilayer neural networks [<xref ref-type="bibr" rid="scirp.120743-ref2">2</xref>]. In the same year, I.E. Lagaris et al. studied differential equations with irregular boundaries by neural networks [<xref ref-type="bibr" rid="scirp.120743-ref3">3</xref>]. In 2006, A. Malek and R.S. Beidokhti obtained numerical solutions for high-order differential equations by a hybrid neural network method [<xref ref-type="bibr" rid="scirp.120743-ref4">4</xref>]. In 2008, Y. Shirvany et al. studied the numerical solution of the nonlinear Schr&#246;dinger equation by feedforward neural networks [<xref ref-type="bibr" rid="scirp.120743-ref5">5</xref>]. In 2011, H. Chen et al. got the numerical solution of PDEs by integrated radial basis function networks [<xref ref-type="bibr" rid="scirp.120743-ref6">6</xref>]. In 2015, N. Yadav et al. got the solution to nonlinear elliptic boundary value problems by the neural network [<xref ref-type="bibr" rid="scirp.120743-ref7">7</xref>]. Lin Z. studied the multiphase flow problem by Physics-Aware deep learning [<xref ref-type="bibr" rid="scirp.120743-ref8">8</xref>]. D.A. Maturi and H.M. Malaikah solving nonlinear partial differential equation by Adomian decomposition method [<xref ref-type="bibr" rid="scirp.120743-ref9">9</xref>]. In 2018, Y. Yang et al. studied the solution of ordinary differential equations by Legendre neural network methods [<xref ref-type="bibr" rid="scirp.120743-ref10">10</xref>]. The breakthrough in using a neural network to solve differential equations is the physical information neural network(PINN) algorithm proposed by professor Raissi from Brown University in 2019 [<xref ref-type="bibr" rid="scirp.120743-ref11">11</xref>]. The physical information neural network algorithm does not need to assume the expression of the solution. It embeds the physical information and the initial-boundary value conditions in the neural network. Only a small number of random sample points on the initial-boundary value conditions can obtain the numerical solution of the differential equation. In view of these advantages, many scholars have studied them. Such as Z. Yan et al. studied forward and inverse problems of the Schr&#246;dinger equation with P T -symmetric harmonic potential [<xref ref-type="bibr" rid="scirp.120743-ref12">12</xref>], the team of Y. Chen used the PINN method to study integrable systems [<xref ref-type="bibr" rid="scirp.120743-ref13">13</xref>] [<xref ref-type="bibr" rid="scirp.120743-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.120743-ref15">15</xref>] [<xref ref-type="bibr" rid="scirp.120743-ref16">16</xref>]. With the research on PINN, it is found that it does not converge on some complex problems, so many improvement methods are proposed. Such as Bayesian physics-informed neural networks (B-PINNs) [<xref ref-type="bibr" rid="scirp.120743-ref17">17</xref>], fractional Physics-Informed Neural Networks(fPINNs) [<xref ref-type="bibr" rid="scirp.120743-ref18">18</xref>], Parareal physics-informed neural network (PPINN) [<xref ref-type="bibr" rid="scirp.120743-ref19">19</xref>], Conservative physics-informed neural networks(CPINN) [<xref ref-type="bibr" rid="scirp.120743-ref20">20</xref>], nonlocal Physics-Informed Neural Networks(nPINNs) [<xref ref-type="bibr" rid="scirp.120743-ref21">21</xref>] and so on. Jagtap A. D. et al. added an adaptive activation function [<xref ref-type="bibr" rid="scirp.120743-ref22">22</xref>] to PINN and studied the inverse problem of differential equations. Subsequently, based on the work of Jagtap A. D., the team of Chen Yong used the PINN algorithm with an adaptive activation function to study the problem of solving differential equations and named it IPINN [<xref ref-type="bibr" rid="scirp.120743-ref23">23</xref>]. We also studied the rogue wave solution [<xref ref-type="bibr" rid="scirp.120743-ref24">24</xref>] and the soliton solution [<xref ref-type="bibr" rid="scirp.120743-ref25">25</xref>] using by IPINN method. Although the PINN algorithm and its improvement have made some achievements, the research of these new algorithms on differential systems is much more than that.</p><p>Recently, some scholars discovered an interesting thing in their research. It is found that the nonlinear wave phenomenon that occurs in the focused NLS equation also appears stably in the generalized defocusing NLS equation with an external potential [<xref ref-type="bibr" rid="scirp.120743-ref26">26</xref>], and they used PINN method to study the rogue wave solutions of the defocusing NLS equation with spatio-temporal potential. In this paper, we will use the IPINN algorithm to study defocusing NLS equation. It is known that the IPINN algorithm converges faster and has higher accuracy by comparing the results obtained by the IPINN algorithm and the PINN algorithm. The numerical experiments in this paper are performed on a computer with an 11th generation Intel(R) Core(TM) i7-11800H @ 2.30 GHz processor and 16.0 GB memory.</p></sec><sec id="s2"><title>2. Rogue Wave Solution for Defocusing NLS Equation</title><p>The defocusing NLS equation with spatio-temporal potential [<xref ref-type="bibr" rid="scirp.120743-ref27">27</xref>] is written as</p><p>{ i q t + 0.5 q x x − V ( t , x ) q − | q | 2 q = 0 , x ∈ [ − L , L ] , t ∈ [ − T , T ] , q ( − T , x ) = q ( T , x ) , x ∈ [ − L , L ] , q ( t , − L ) = q ( t , L ) , t ∈ [ − T , T ] . (1)</p><p>where V ( t , x ) denotes the spatio-temporal potential and it can be written as V ( t , x ) = 4 ( x 2 − t 2 ) − 1 ( x 2 + t 2 + 0.25 ) 2 − 2 , q is the complex solution with the independent variables x, t of Equation (1). Li Wang and Zhenya Yan [<xref ref-type="bibr" rid="scirp.120743-ref27">27</xref>] proved for the first time that there is also an analytical rogue wave solution for the defocusing NLS equation. We assume q = u ( t , x ) + v ( t , x ) i , the real part and imaginary part of q ( t , x ) are u ( t , x ) and v ( t , x ) . Equation (1) can be inverted into</p><p>{ v t − 0.5 u x x + [ 4 ( x 2 − t 2 ) − 1 ( x 2 + t 2 + 0.25 ) 2 − 2 ] u + u ( u 2 + v 2 ) = 0 , x ∈ [ − L , L ] , t ∈ [ t 0 , t 1 ] , u t + 0.5 v x x − [ 4 ( x 2 − t 2 ) − 1 ( x 2 + t 2 + 0.25 ) 2 − 2 ] v − v ( u 2 + v 2 ) = 0. (2)</p><p>In this paper, we focus on solving the rogue wave solution of Equation (1) by applying an improved PINN algorithm. Suppose the network has 8 hidden layers and each hidden layer has 40 neurons. The real parts f R ( t , x ) and imaginary parts f I ( t , x ) of the network residual are defined as</p><p>{ f R ( t , x ) : = v ˜ t − 0.5 u ˜ x x + [ 4 ( x 2 − t 2 ) − 1 ( x 2 + t 2 + 0.25 ) 2 − 2 ] u ˜ + u ˜ ( u ˜ 2 + v ˜ 2 ) , f I ( t , x ) : = u ˜ t + 0.5 v ˜ x x − [ 4 ( x 2 − t 2 ) − 1 ( x 2 + t 2 + 0.25 ) 2 − 2 ] v ˜ − v ˜ ( u ˜ 2 + v ˜ 2 ) , (3)</p><p>Loss function is defined as L o s s = L o s s f + L o s s 0 + L o s s b + L o s s a , where</p><p>L o s s f = 1 N f ∑ i = 1 N f [ ‖ f R ( t i , x i ) ‖ 2 + ‖ f I ( t i , x i ) ‖ 2 ] , L o s s 0 = 1 N 0 ∑ i = 1 N 0 [ ‖ u ˜ ( t 0 i , x 0 i ) − u ( t 0 i , x 0 i ) ‖ 2 + ‖ v ˜ ( t 0 i , x 0 i ) − v ( t 0 i , x 0 i ) ‖ 2 ] , L o s s b = 1 N b ∑ i = 1 N b [ ‖ u ˜ ( t b i , x b i ) − u ( t b i , x b i ) ‖ 2 + ‖ v ˜ ( t b i , x b i ) − v ( t b i , x b i ) ‖ 2 ] , L o s s a = 1 1 L − 1 ∑ l = 1 L − 1 exp ( ∑ i = 1 n l a i l n l ) . (4)</p><p>where { t 0 i , x 0 i } i = 1 N 0 and { t b i , x b i } i = 1 N b denote randomly sampling N 0 and N b points on the initial-boundary value conditions. The exact solutions u ( t 0 i , x 0 i ) , v ( t 0 i , x 0 i ) , u ( t b i , x b i ) , v ( t b i , x b i ) are given by initial-boundary value conditions. u ˜ ( t 0 i , x 0 i ) , v ˜ ( t 0 i , x 0 i ) , u ˜ ( t b i , x b i ) , v ˜ ( t b i , x b i ) are the predicted values by improved PINN of u ( t 0 i , x 0 i ) , v ( t 0 i , x 0 i ) , u ( t b i , x b i ) , v ( t b i , x b i ) respectively. We obtain configuration points { t i , x i } i = 1 N f of real part f R ( t , x ) and imaginary part f I ( t , x ) through the Latin hypercube sampling strategy [<xref ref-type="bibr" rid="scirp.120743-ref28">28</xref>]. The optimal weights W , bias b and activation function slopes a are obtained by automatic differentiation technology, Adam [<xref ref-type="bibr" rid="scirp.120743-ref29">29</xref>] and L-BFGS [<xref ref-type="bibr" rid="scirp.120743-ref30">30</xref>] algorithm to minimize the loss function L o s s , and the numerical solution of Equation (1) is finally determined. We also give the deep neural network in <xref ref-type="fig" rid="fig1">Figure 1</xref> and schematic of IPINN for the defocusing NLS equation in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>The rogue wave solution [<xref ref-type="bibr" rid="scirp.120743-ref27">27</xref>] of Equation (1) is q ( t , x ) = [ 1 − 4 ( 1 + 2 i t ) 4 ( x 2 + t 2 ) + 1 ] exp ( i t ) , we use the IPINN algorithm to study the Cauchy problem of Equation (1), and assuming that the initial conditions are q ( t , x ) = [ 1 − 4 ( 1 − 3 i ) 4 ( x 2 + 2.25 ) + 1 ] exp ( − 1.5 i ) , x ∈ [ − π , π ] . We divide x ∈ [ − π , π ]</p><p>into 3000 points and t ∈ [ − 1.5,1.5 ] into 2000 points by MATLAB. The improved physical information neural network is composed of 8 hidden layers, and each hidden layer has 40 neurons. We sample N 0 = N b = 600 points from the initial-boundary value conditions by random sub-sampling and N f = 10000 points in the feasible region by Latin hypercube sampling strategy as our experimental training point. Without loss of generality, we initialize the scalable parameter as n = 10 , a i l = 0.1 . Hyperbolic tangent is chosen as an activation function. Finally, the training time is 8174.6736 seconds, the network residual is 1.6892622e−05, relative L 2 norm errors of u ( t , x ) , v ( t , x ) , and h ( t , x ) are 3.55117e−02, 5.829360e−02, 2.273524e−02 respectively. We show the fitting diagram of accuracy (blue solid line) and prediction(red dotted line) at different times t = − 0.30 , 0.00 , 0.30 , the curve diagram of network residual changing with the number of iterations under the condition of the Adam optimization algorithm, and the density diagram of accurate rogue wave and predicted rogue wave in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><p>In order to study the influence of the number of hidden layers and the neurons in each layer on the relative L 2 norm errors of q ( t , x ) , we select the training point N 0 = N b = 100 , N f = 10000 , the number of hidden layers are 2, 4, 6 and 8 respectively, and the neurons in each hidden layer are 10, 15, 20, 25 and 30 respectively, as is shown in <xref ref-type="table" rid="table1">Table 1</xref>. According to the data from <xref ref-type="table" rid="table1">Table 1</xref>, relative L 2 norm errors of q ( t , x ) of neurons with fixed hidden layers do not decrease monotonically with the increase in the number of hidden layers. When the hidden layer is fixed, the norm error does not decrease monotonically with the increase of neurons. Therefore, we know that the norm error is affected by the number of hidden layers and neurons. At the same time, we study the influence of sampling points N q = N 0 + N b and N f on the relative L 2 norm errors of q ( t , x ) . We fix the hidden layer of the improved physical information neural network as 8 and each layer has 10 neurons, then the corresponding relative L 2 norm errors of q ( t , x ) value is given when we assume that sampling points N q = 100 , 200 , 300 and N f = 2000 , 4000 , 6000 , as is shown in <xref ref-type="table" rid="table2">Table 2</xref>. When N q is fixed, the relative L 2 norm error of q ( t , x ) decreases with the increase of N f . However, when N f = 2000 , the relative L 2 norm error of q ( t , x ) does not decrease with the increase of N q . When N f = 4000 , 6000 , the relative L 2 norm error of q ( t , x ) decreases with the increase of N q , which also shows that the boundary sampling points and regional configuration points jointly affect the relative L 2 norm error of q ( t , x ) .</p><p>In order to understand the influence of regional configuration points N f on the predicted rogue wave solution, we fixed the improved physical information neural network, which has 8 hidden layers and each layer contains 10 neurons.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> The rogue wave solution of Equation (1): The relative L 2 -norm error of q ( t , x ) when taking the N 0 = 100 , N b = 100 , N f = 10000 with different network layers and different numbers of neurons per hidden layers</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >L 2 -norm Neurous error Layers</th><th align="center" valign="middle" >10</th><th align="center" valign="middle" >15</th><th align="center" valign="middle" >20</th><th align="center" valign="middle" >25</th><th align="center" valign="middle" >30</th></tr></thead><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >5.5093e−01</td><td align="center" valign="middle" >1.9859e−02</td><td align="center" valign="middle" >2.0163e−02</td><td align="center" valign="middle" >2.1916e−02</td><td align="center" valign="middle" >2.2094e−02</td></tr><tr><td align="center" valign="middle" >4</td><td align="center" valign="middle" >2.0949e−02</td><td align="center" valign="middle" >2.1834e−02</td><td align="center" valign="middle" >2.1865e−02</td><td align="center" valign="middle" >2.2016e−02</td><td align="center" valign="middle" >2.2101e−02</td></tr><tr><td align="center" valign="middle" >6</td><td align="center" valign="middle" >2.1460e−02</td><td align="center" valign="middle" >2.1518e−02</td><td align="center" valign="middle" >2.2099e−02</td><td align="center" valign="middle" >2.2101e−02</td><td align="center" valign="middle" >2.2102e−02</td></tr><tr><td align="center" valign="middle" >8</td><td align="center" valign="middle" >2.1219e−02</td><td align="center" valign="middle" >2.1730e−02</td><td align="center" valign="middle" >2.2034e−02</td><td align="center" valign="middle" >2.2067e−02</td><td align="center" valign="middle" >2.2312e−02</td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> The rogue wave solution of the Equation (1): We chose the neural network with 8 hidden layers, one input layer and one output layer, and each hidden layer has 10 neurons. The relative L 2 -norm error of q was studied under different N q = N 0 + N b , N 0 = N b and N f conditions</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >L 2 -norm error N q N f</th><th align="center" valign="middle" >100</th><th align="center" valign="middle" >200</th><th align="center" valign="middle" >300</th></tr></thead><tr><td align="center" valign="middle" >2000</td><td align="center" valign="middle" >5.487201e−01</td><td align="center" valign="middle" >4.770664e−01</td><td align="center" valign="middle" >5.487201e−01</td></tr><tr><td align="center" valign="middle" >4000</td><td align="center" valign="middle" >2.156434e−02</td><td align="center" valign="middle" >2.176194e−02</td><td align="center" valign="middle" >2.156434e−02</td></tr><tr><td align="center" valign="middle" >6000</td><td align="center" valign="middle" >2.119324e−02</td><td align="center" valign="middle" >2.013049e−02</td><td align="center" valign="middle" >1.019324e−02</td></tr></tbody></table></table-wrap><p>We set the initial-boundary value sampling point 300. From <xref ref-type="fig" rid="fig4">Figure 4</xref>, we can see that with the increase in regional configuration points N f = 1000 , 2000 , 3000 , 4000 , the fitting effect of the exact rogue wave solution and predicted rogue wave solution is getting better and better. In order to study the influence of sampling point N f on the relative norm error of u ( t , x ) , v ( t , x ) , q ( t , x ) of the improved physical information neural network, when the fixed network has 8 hidden layers and their neurons (10, 15, 20, 25, 30), the corresponding norm error is shown in Figures 5(a)-(e). From the figure, we can see that the relative norm error ( u ( t , x ) , v ( t , x ) , q ( t , x ) ) roughly shows a decreasing trend with the increase of N f .</p><p>Finally, we compare the performance of PINN and IPINN in solving rogue wave solutions. The two algorithms have the same hidden layer and its neurons, and both have the same random sampling points 300 from initial-boundary value condition. The network residuals is 0.009715796 and relative norm error of u ( t , x ) , v ( t , x ) , q ( t , x ) are 9.229974e−01, 1.630527e+00, 3.833559e−01 respectively of PINN. The network residuals is 8.936103e−05 and the relative norm error of u ( t , x ) , v ( t , x ) , q ( t , x ) are 3.415088e−02, 6.299041e−02, 2.121869e−02 respectively of IPINN. It is known from the experimental data that the IPINN has a better fitting effect on the exact solution and prediction solution, as shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>(a) &amp; <xref ref-type="fig" rid="fig6">Figure 6</xref>(b). At the same time, the curve of the network residual corresponding to the Adam algorithm and the L-BFGS algorithm of the two</p><p>methods with the number of iterations is given, as shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>(c) &amp; <xref ref-type="fig" rid="fig6">Figure 6</xref>(d). It is known from the curve that whether it is the Adam optimization algorithm or the L-BFGS optimization algorithm, the IPINN algorithm has faster convergence and higher accuracy.</p></sec><sec id="s3"><title>3. Conclusion</title><p>In this paper, we mainly use the IPINN algorithm to solve the rogue wave solution of the defocusing NLS equation and study the influence of the network’s hidden layer and its neurons on the relative norm error value of u ( t , x ) , v ( t , x ) , q ( t , x ) . At the same time, in order to illustrate that IPINN has better network performance than PINN, such as faster convergence and higher precision. The experimental results show that IPINN has better potential in solving high-order and nonlinear differential equations. Whether to apply it to more complex high-order differential equations or adding conservation laws or more integrable system properties to the IPINN algorithm to expand IPINN algorithm are our research content in the future.</p></sec><sec id="s4"><title>Acknowledgements</title><p>This work is supported by University Experimental Technology Team Construction in Shanghai.</p></sec><sec id="s5"><title>Availability of Data and Code</title><p>The datasets generated or analysed during the current study are available from the corresponding author upon reasonable request.</p></sec><sec id="s6"><title>Conflicts of Interest</title><p>The authors declare that they have no conflict of interest.</p></sec><sec id="s7"><title>Cite this paper</title><p>Zhang, C.J. and Bai, Y.X. (2022) A Novel Method for Solving Nonlinear Schr&#246;dinger Equation with a Potential by Deep Learning. Journal of Applied Mathematics and Physics, 10, 3175-3190. https://doi.org/10.4236/jamp.2022.1010211</p></sec></body><back><ref-list><title>References</title><ref id="scirp.120743-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Lagaris, I.E. and Likas, A.C. (1998) Artificial Neural Networks for Solving Ordinary and Partial Differential Equations. IEEE Transactions on Neural Networks, 9, 987-1000. https://doi.org/10.1109/72.712178</mixed-citation></ref><ref id="scirp.120743-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">He, S., Reif, K. and Unbehauen, R. (2000) Multilayer Networks for Solving a Class of Partial Differential Equations. Neural Networks, 13, 385-396. https://doi.org/10.1016/S0893-6080(00)00013-7</mixed-citation></ref><ref id="scirp.120743-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Lagaris, I.E., Likas, A.C. and Papageorgiou, D.G. (2000) Neural-Network Methods for Boundary Value Problems with Irregular Boundaries. IEEE Transactions on Neural Networks, 11, 1041-1049. https://doi.org/10.1109/72.870037</mixed-citation></ref><ref id="scirp.120743-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Malek, A. and Beidokhti, R.S. (2006) Numerical Solution for High Order Differential Equations Using a Hybrid Neural Network-Optimization Method. Applied Mathematics and Computation, 183, 260-271. https://doi.org/10.1016/j.amc.2006.05.068</mixed-citation></ref><ref id="scirp.120743-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Shirvany, Y., Hayati, M. and Moradian, R. (2008) Numerical Solution of the Nonlinear Schr&amp;#246;dinger Equation by Feed forward Neural Networks. Communications in Nonlinear Science and Numerical Simulation, 13, 2132-2145. https://doi.org/10.1016/j.cnsns.2007.04.024</mixed-citation></ref><ref id="scirp.120743-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Chen, H., Kong, L. and Leng, W. (2011) Numerical Solution of PDEs via Integrated Radial Basis Function Networks with Adaptive Training Algorithm. Applied Soft Computing, 11, 855-860. https://doi.org/10.1016/j.asoc.2010.01.005</mixed-citation></ref><ref id="scirp.120743-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Yadav, N., Yadav, A. and Deep, K. (2015) Articial Neural Network Technique for Solution of Nonlinear Elliptic Boundary Value Problems. Advances in Intelligent Systems and Computing, 335, 113-121. https://doi.org/10.1007/978-81-322-2217-0_10</mixed-citation></ref><ref id="scirp.120743-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Lin, Z. (2021) Physics-Aware Deep Learning on Multiphase Flow Problems. Communications and Network, 13, 1-11. https://doi.org/10.4236/cn.2021.131001</mixed-citation></ref><ref id="scirp.120743-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Maturi, D.A. and Malaikah, H.M. (2021) The Adomian Decomposition Method for Solving Nonlinear Partial Differential Equation Using Maple. Advances in Pure Mathematics, 11, 595-603. https://doi.org/10.4236/apm.2021.116038</mixed-citation></ref><ref id="scirp.120743-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Yang, Y., Hou, M. and Luo, J. (2018) A Novel Improved Extreme Learning Machine Algorithm in Solving Ordinary Differential Equations by Legendre Neural Network Methods. Advances in Difference Equations, 2018, 469-493. https://doi.org/10.1186/s13662-018-1927-x</mixed-citation></ref><ref id="scirp.120743-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Raissi, M., Perdikaris, P. and Karniadakis, G.E. (2019) Physics-Informed Neural Networks: A Deep Learning Framework for Solving forward and Inverse Problems Involving Nonlinear Partial Differential Equations. Journal of Computational Physics, 378, 686-707. https://doi.org/10.1016/j.jcp.2018.10.045</mixed-citation></ref><ref id="scirp.120743-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Zhou, Z. and Yan, Z. (2020) Solving Forward and Inverse Problems of the Logarithmic Nonlinear Schrodinger Equation with PT-Symmetric Harmonic Potential via Deep Learning. Physics Letters A, 387, Article ID: 127010. https://doi.org/10.1016/j.physleta.2020.127010</mixed-citation></ref><ref id="scirp.120743-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Li, J. and Chen, Y. (2020) A Deep Learning Method for Solving Third-Order Nonlinear Evolution Equations. Communications in Theoretical Physics, 72, Article ID: 115003. https://doi.org/10.1088/1572-9494/abb7c8</mixed-citation></ref><ref id="scirp.120743-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Miao, Z.W. and Chen, Y. (2022) Physics-Informed Neural Networks Method in High-Dimensional Integrable Systems. Modern Physics Letters B, 36, Article ID: 2150531. https://doi.org/10.1142/S021798492150531X</mixed-citation></ref><ref id="scirp.120743-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Peng, W.Q., Pu, J.C. and Chen, Y. (2022) PINN Deep Learning Method for the Chen-Lee-Liu Equation: Rogue Wave on the Periodic Background. Communications in Nonlinear Science and Numerical Simulations, 105, Article ID: 106067. https://doi.org/10.1016/j.cnsns.2021.106067</mixed-citation></ref><ref id="scirp.120743-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Pu, J., Li, J. and Chen, Y. (2021) Soliton, Breather, and Rogue Wave Solutions for Solving the Nonlinear Schr(o)dinger Equation Using a Deep Learning Method with Physical Constraints. Chinese Physics B, 30, Article ID: 060202. https://doi.org/10.1088/1674-1056/abd7e3</mixed-citation></ref><ref id="scirp.120743-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Yang, L., Meng, X. and Karniadakis, G.E. (2021) B-PINNs: Bayesian Physics-Informed Neural Networks for Forward and Inverse PDE Problems with Noisy Data. Journal of Computational Physics, 425, Article ID: 109913. https://doi.org/10.1016/j.jcp.2020.109913</mixed-citation></ref><ref id="scirp.120743-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Pang, G., Lu, L. and Karniadakis, G.E. (2019) fPINNs: Fractional Physics-Informed Neural Networks. SIAM Journal on Scientific Computing, 41, A2603-A2626. https://doi.org/10.1137/18M1229845</mixed-citation></ref><ref id="scirp.120743-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Meng, X., et al. (2020) PPINN: Parareal Physics-Informed Neural Network for Time-Dependent PDEs. Computer Methods in Applied Mechanics and Engineering, 370, Article ID: 113250. https://doi.org/10.1016/j.cma.2020.113250</mixed-citation></ref><ref id="scirp.120743-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Jagtap, A.D., Kharazmi, E. and Karniadakis, G.E. (2020) Conservative Physics-Informed Neural Networks on Discrete Domains for Conservation Laws: Applications to Forward and Inverse Problems. Computer Methods in Applied Mechanics and Engineering, 365, Article ID: 113028. https://doi.org/10.1016/j.cma.2020.113028</mixed-citation></ref><ref id="scirp.120743-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Pang, G., et al. (2020) nPINNs: Nonlocal Physics-Informed Neural Networks for a Parametrized Nonlocal Universal Laplacian Operator. Algorithms and Applications. Journal of Computational Physics, 422, Article ID: 109760. https://doi.org/10.2172/1614899</mixed-citation></ref><ref id="scirp.120743-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Jagtap, A.D., Kawaguchi, K. and Karniadakis, G.E. (2019) Locally Adaptive Activation Functions with Slope Recovery Term for Deep and Physics-Informed Neural Networks. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 476, 1-20. https://doi.org/10.1016/j.jcp.2019.109136</mixed-citation></ref><ref id="scirp.120743-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Pu, J., Peng, W. and Chen, Y. (2021) The Data-Driven Localized Wave Solutions of the Derivative Nonlinear Schrodinger Equation by Using Improved PINN Approach. Nonlinear Dynamics, 105, 1723-1739. https://doi.org/10.1007/s11071-021-06554-5</mixed-citation></ref><ref id="scirp.120743-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Bai, Y., Chaolu, T. and Bilige, S. (2022) The Application of Improved Physics-Informed Neural Network (IPINN) Method in Finance. Nonlinear Dynamics, 107, 3655-3667. https://doi.org/10.1007/s11071-021-07146-z</mixed-citation></ref><ref id="scirp.120743-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Bai, Y., Chaolu, T. and Bilige, S. (2021) Solving Huxley Equation Using an Improved PINN Method. Nonlinear Dynamics, 105, 3439-3450. https://doi.org/10.1007/s11071-021-06819-z</mixed-citation></ref><ref id="scirp.120743-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Wang, L. and Yan, Z.Y. (2021) Data-Driven Rogue Waves and Parameter Discovery in the Defocusing Nonlinear Schrodinger Equation with a Potential Using the PINN Deep Learning. Physics Letters A, 404, Article ID: 127408. https://doi.org/10.1016/j.physleta.2021.127408</mixed-citation></ref><ref id="scirp.120743-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Wang, L. and Yan, Z.Y. (2021) Rogue Wave Formation and Interactions in the Defocusing Nonlinear Schr&amp;#246;dinger Equation with External Potentials. Applied Mathematics Letters, 111, Article ID: 106670. https://doi.org/10.1016/j.aml.2020.106670</mixed-citation></ref><ref id="scirp.120743-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">Stein, M. (1987) Large Sample Properties of Simulations Using Latin Hypercube Sampling. Technometrics, 29, 143-151. https://doi.org/10.1080/00401706.1987.10488205</mixed-citation></ref><ref id="scirp.120743-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Kingma, D. and Ba, J. (2014) Adam: A Method for Stochastic Optimization. 3rd International Conference on Learning Representations, ICLR 2015, San Diego, 7-9 May 2015, 1-15.</mixed-citation></ref><ref id="scirp.120743-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">Liu, D.C. and Nocedal, J. (1989) On the Limited Memory BFGS Method for Large Scale Optimization. Mathematical Programming, 45, 503-528. https://doi.org/10.1007/BF01589116</mixed-citation></ref></ref-list></back></article>