Introduction

A noteworthy Rabinovich–Fabrikant system based on the chaotic system was developed by the eminent scientists Rabinovich and Fabrikant. This is a condensed version of a nonlinear complex parabolic system that models various physical processes, like as wind waves on water, the hydrodynamic flows based on the Tollmien–Schlichting waves, Langmuir waves in plasma, concentration waves using the chemical reactions with diffusion. First, the model's design is implemented in a physical system, which represent the modulation inconsistency using the medium of dissipative non-equilibrium1,2. Currently, it has been acknowledged in the model’s extraordinarily high dynamics along with various physical features3. Notably, the Lorenz and other chaotic models are based on the nonlinearities of the second kind. Whereas the Rabinovich–Fabrikant system has the third kind of nonlinearities using some remarkable dynamics, that is “virtual” saddles combined with numerous chaotic charming characters with distinctive characteristics as well as mysterious chaotic fascinations4,5,6,7,8,9,10,11. The systems having numerous dynamics that can exhibit the chaotic nonlinearities. The chaotic transients are established in the model and the chaotic transients have influential consequences for experimentations. To mention few of them are radio maps12, circuits13, hydrodynamics14, Lorenz system15, neural networks16, and R¨ossler system17.

A significant challenge for intellectual researchers is provided by using the modelling based on the system of nonlinear equations and one of the Rabinovich–Fabrikant chaotic systems that comprises an ordinary three coupled differential equations using the pioneer work of M. Rabinovich and A. Fabrikant, given as2,18:

$$\left\{ {\begin{array}{*{20}l} {u^{\prime}(\theta ) = \left( {u^{2} (\theta ) + m(\theta ) - 1} \right)v(\theta ) + eu(\theta ),} \hfill & {u(0) = k_{1} ,} \hfill \\ {v^{\prime}(\theta ) = \left( { - u^{2} (\theta ) + 3m(\theta ) + 1} \right)u(\theta ) + ev(\theta ),} \hfill & {v(0) = k_{2} ,} \hfill \\ {m^{\prime}(\theta ) = - 2\left( {u(\theta )v(\theta ) + f} \right)m(\theta ),} \hfill & {m(0) = k_{3} ,} \hfill \\ \end{array} } \right.$$
(1)

The above form of the nonlinear system has a variety of applications in various disciplines of mathematics and physics. k1, k2 and k3 are in the initial form of the conditions, where e and f indicate the real finite constant values based on the model’s evolution control.

The current research relates to the solutions of the Rabinovich–Fabrikant system using the computational stochastic artificial neural networks (ANNs) together with the global search swarming particle swarm optimization (PSO) and local interior point (IP) algorithms, i.e., ANNs-PSOIP. Recently, these stochastic performances have been represented to solve various nonlinear and stiff natured models19,20,21,22,23,24,25, some of them are automated rail-mounted gantry crane model26, heterogeneous-vehicle capacitated arc routing problem27, drone-assisted camera network28, triboelectric sensors for surface identification29, thermal explosion system30,31, traffic flow prediction32, biological kind of Leptospirosis system33,34, high-dimensional expensive problems35, food chain nonlinear differential systems36,37,38, vector machine parameter optimization algorithm39, functional kind of systems40,41, wireless-powered systems42, singular nature nonlinear models43,44,45,46 and many more47,48,49,50. To inspire of these stochastic applications, the authors took keen interest to perform the solutions of the Rabinovich–Fabrikant system through the swarming computational procedures. Some innovative features are itemized as:

  • The numerical solutions of the Rabinovich–Fabrikant system are presented efficiently by applying the proposed ANNs along with the swarming computational procedure.

  • The consistent, trustworthy, and steady outputs of this system authenticate the correctness of the designed ANNs together with a swarming computational scheme.

  • The small calculate absolute error (AE) performs the accuracy of the ANNs together with the swarming computational approach.

  • The authentication of the computational ANNs together with the swarming computational approach is established by taking three statistical operators with 50 executions to solve the model.

The rest of the presentation of the paper is given as: The procedure of the ANNs together with the swarming scheme is given in Section "Proposed ANNs-PSOIP method". The numerical solutions with different plots and tables are presented in Section "Result performances". The conclusions are drawn in the last Section.

Proposed ANNs-PSOIP method

The Rabinovich–Fabrikant system is solved numerically by applying the swarming computational procedures. The mathematical neural network formulations are shown as:

$$\begin{gathered} [\hat{u}(\theta ),\hat{v}(\theta ),\hat{m}(\theta )] = \left[ {\sum\limits_{i = \,1}^{p} {q_{u,i} Y(w_{u,i} \theta + r_{u,i} ),} \,\sum\limits_{i = \,1}^{p} {q_{v,i} Y(w_{v,i} \theta + r_{v,i} ),\sum\limits_{i = \,1}^{p} {q_{m,i} Y(w_{m,i} \theta + r_{m,i} )} } } \right], \hfill \\ [\hat{u}^{\prime}(\theta ),\hat{v}^{\prime}(\theta ),\hat{m}^{\prime}(\theta )] = \left[ {\sum\limits_{i = \,1}^{p} {q_{u,i} Y^{\prime}(w_{u,i} \theta + r_{u,i} ),} \,\sum\limits_{i = \,1}^{p} {q_{v,i} Y^{\prime}(w_{v,i} \theta + r_{v,i} ),\sum\limits_{i = \,1}^{p} {q_{m,i} Y^{\prime}(w_{m,i} \theta + r_{m,i} )} } } \right], \hfill \\ \end{gathered}$$
(2)

where, p, Y present the neurons and activation function, while the unknown weights W, shown as \({\varvec{W}} = [{\varvec{W}}_{u} ,\,{\varvec{W}}_{v} \user2{,W}_{m} ]\), for \({\varvec{W}}_{u} = [{\varvec{q}}_{u} \user2{,\omega }_{u} ,{\varvec{r}}_{u} ]\), \({\varvec{W}}_{v} = [{\varvec{q}}_{v} \user2{,\omega }_{v} ,{\varvec{r}}_{v} ]\), and \({\varvec{W}}_{m} = [{\varvec{q}}_{m} \user2{,\omega }_{m} ,{\varvec{r}}_{m} ]\), where

$$\begin{array}{*{20}l} {q_{u} = \left[ {q_{u,1} ,q_{u,2} , \ldots ,q_{u,p} ]} \right],} \hfill & {q_{v} = \left[ {q_{v,1} ,q_{v,2} , \ldots ,q_{v,p} } \right],} \hfill & {q_{m} = \left[ {q_{m,1} ,q_{m,2} , \ldots ,q_{m,p} } \right],} \hfill \\ {w_{u} = \left[ {w_{u,1} ,w_{u,2} , \ldots ,w_{u,p} } \right],} \hfill & {w_{v} = \left[ {w_{v,1} ,w_{v,2} , \ldots ,w_{v,p} } \right],} \hfill & {w_{m} = \left[ {w_{m,1} ,w_{m,2} , \ldots ,w_{m,p} } \right],} \hfill \\ {r_{u} = \left[ {r_{u,1} ,r_{u,2} , \ldots ,r_{u,p} } \right],} \hfill & {r_{v} = \left[ {r_{v,1} ,r_{,2v} , \ldots ,r_{v,p} } \right],} \hfill & {r_{m} = \left[ {r_{m,1} ,r_{m,2} , \ldots ,r_{m,p} } \right].} \hfill \\ \end{array}$$

The mathematical form of the transfer log-sigmoid function is given as: \(Y(\theta ) = \left( {1 + e^{ - \theta } } \right)^{ - 1}\).

$$\begin{gathered} [\hat{u}(\theta ),\hat{v}(\theta ),\hat{m}(\theta )] = \left[ {\sum\limits_{i = 1}^{p} {\frac{{q_{u,i} }}{{1 + e^{{ - \left( {w_{u,i} \theta + r_{u,i} } \right)}} }},\sum\limits_{i = 1}^{p} {\frac{{q_{v,i} }}{{1 + e^{{ - \left( {w_{v,i} \theta + r_{v,i} } \right)}} }},\sum\limits_{i = 1}^{p} {\frac{{q_{m,i} }}{{1 + e^{{ - \left( {w_{m,i} \theta + r_{m,i} } \right)}} }}} } } } \right], \hfill \\ [\hat{u}^{\prime}(\theta ),\hat{v}^{\prime}(\theta ),\hat{m}^{\prime}(\theta )] = \left[ {\sum\limits_{i = 1}^{q} {\frac{{q_{u,i} w_{u,i} e^{{ - \left( {w_{u,i} \theta + r_{u,i} } \right)}} }}{{\left( {1 + e^{{ - \left( {w_{u,i} \theta + r_{u,i} } \right)}} } \right)^{2} }},\,\sum\limits_{i = 1}^{q} {\frac{{q_{v,i} w_{y,i} e^{{ - \left( {w_{v,i} \theta + r_{v,i} } \right)}} }}{{\left( {1 + e^{{ - \left( {w_{v,i} \theta + r_{v,i} } \right)}} } \right)^{2} }}} } ,\sum\limits_{i = 1}^{q} {\frac{{q_{m,i} w_{y,i} e^{{ - \left( {w_{m,i} \theta + r_{m,i} } \right)}} }}{{\left( {1 + e^{{ - \left( {w_{m,i} \theta + r_{m,i} } \right)}} } \right)^{2} }}} } \right]. \hfill \\ \end{gathered}$$
(3)

A merit function is designed as:

$$e = \sum\limits_{j = 1}^{4} {e_{j} }$$
(4)
$$e_{1} = \frac{1}{N}\sum\limits_{c = 1}^{N} {\left[ {\hat{u}^{\prime}_{c} - \left( {\hat{u}_{c}^{2} + \hat{m}_{c} - 1} \right)\hat{v}_{c} - e\hat{u}_{c} } \right]^{2} ,\,}$$
(5)
$$e_{2} = \frac{1}{N}\sum\limits_{c = 1}^{N} {\left[ {\hat{v}_{c} - \left( { - \hat{u}_{c}^{2} + 3\hat{m}_{c} + 1} \right)\hat{u}_{c} - e\hat{v}_{c} } \right]^{2} ,\,}$$
(6)
$$e_{3} = \frac{1}{N}\sum\limits_{c = 1}^{N} {\left[ {\hat{m}^{\prime}_{c} + 2\left( {f + \hat{u}_{c} \hat{v}_{c} } \right)\hat{m}_{c} } \right]^{2} ,\,}$$
(7)
$$e_{4} = \frac{1}{3}\left[ {\left( {\hat{u}_{0} - k_{1} } \right)^{2} + \left( {\hat{v}_{0} - k_{2} } \right)^{2} + \left( {\hat{m}_{0} - k_{3} } \right)^{2} } \right],$$
(8)

where \(\hat{u}_{c} = u(\theta_{c} ),\,\hat{v}_{c} = v(\theta_{c} ),\hat{m}_{c} = m(\theta_{c} ),\,Nh = 1,\,\) and \(\,\theta_{c} = hc\).

Optimization schemes

The optimizations through the PSOIP for solving the Rabinovich–Fabrikant system are presented in this section.

PSO is a global search neuro swarming scheme introduced by Kennedy and Eberhart in the previous century, which works as an alteration of genetic algorithm (GA)51. PSO exhibits the outcomes of multiple intricate systems that manage a specific population through the technique of optimum training. PSO works by using the minimum storage capacity52. In recent decades, PSO is used in various submissions, like as mixed-variable optimization systems53, engineering networks54, multi-objective multimodal approaches55, solar form of the energy sets56, photovoltaic parameters category based on single, dual and three-ways diode57, studies of plant illnesses58, image recognition59, particle filter noise reduction based on mechanical accountability60, and production systems using the green coal61. These remarkable proposals motivated the authors to operate the swarming approaches for the Rabinovich–Fabrikant system.

The global PSO process is considered a slow and sluggish scheme like the GA, which perform rapid convergence with the hybridization of the local search method. Consequently, IP approach is used by taking the primary inputs of the global PSO. IP is an outstanding scheme, which is applied to model the unconstrained/constrained systems. Some important IP applications are the shrinking horizon model predictive control with variable discretization step62, quantum key distribution rate computation63, parameters estimation using the symmetric spinning projectiles based on the maximum likelihood scheme64, equilibrium problems of the fisher market using the kernel function65, and symmetric cone horizontal linear complementarity model using the function of positive-asymptotic barrier66. The process of the swarming scheme along with a local search method to solve the Rabinovich–Fabrikant system is presented in Fig. 1.

Figure 1
figure 1

Designed swarming and local search procedures to solve the Rabinovich–Fabrikant system.

Statistical measures

In this section, the statistical performances based on the semi-interquartile range (SIR), mean square error (MSE), and Theil’s inequality coefficient (TIC) are shown as:

$$\left\{ \begin{gathered} {\text{SIR}} = 0.5\left( {Q_{3} - Q_{1} } \right), \hfill \\ Q_{3} \,\& Q_{1} = {\text{3rd}}\,\& 1{\text{st}}\,{\text{quartile,}}\, \hfill \\ \end{gathered} \right.$$
(9)
$${\text{[MSE}}_{u} ,{\text{MSE}}_{v} {\text{, MSE}}_{m} ] = \left[ {\sum\limits_{l = 1}^{m} {\left( {u_{l} - \hat{u}_{l} } \right)^{2} } ,\sum\limits_{l = 1}^{m} {\left( {v_{l} - \hat{v}_{l} } \right)^{2} } ,\sum\limits_{l = 1}^{m} {\left( {m_{l} - \hat{m}_{l} } \right)^{2} } } \right],$$
(10)
$$\left[ {{\text{TIC}}_{u} ,{\text{TIC}}_{v} ,{\text{TIC}}_{m} } \right]{ = }\left[ \begin{gathered} \frac{{\sqrt {\frac{1}{n}\sum\limits_{l = 1}^{n} {\left( {u_{l} - \hat{u}_{l} } \right)^{2} } } }}{{\left( {\sqrt {\frac{1}{n}\sum\limits_{l = 1}^{n} {u_{l}^{2} } } + \sqrt {\frac{1}{n}\sum\limits_{l = 1}^{n} {\hat{u}_{l}^{2} } } } \right)}},\frac{{\sqrt {\frac{1}{n}\sum\limits_{l = 1}^{n} {\left( {v_{l} - \hat{v}_{l} } \right)^{2} } } }}{{\left( {\sqrt {\frac{1}{n}\sum\limits_{l = 1}^{n} {v_{l}^{2} } } + \sqrt {\frac{1}{n}\sum\limits_{l = 1}^{n} {\hat{v}_{l}^{2} } } } \right)}}, \hfill \\ \frac{{\sqrt {\frac{1}{n}\sum\limits_{l = 1}^{n} {\left( {m_{l} - \hat{m}_{l} } \right)^{2} } } }}{{\left( {\sqrt {\frac{1}{n}\sum\limits_{l = 1}^{n} {m_{l}^{2} } } + \sqrt {\frac{1}{n}\sum\limits_{l = 1}^{n} {\hat{m}_{l}^{2} } } } \right)}} \hfill \\ \end{gathered} \right].$$
(11)

Result performances

The numerical solutions of the Rabinovich–Fabrikant system (1) are presented by using the swarming computing procedures. The plots of results overlapping, weights, statistical performances along with the AE are also illustrated in this section. The system (1) is updated by using the suitable values as:

$$\left\{ {\begin{array}{*{20}l} {u^{\prime}(\theta ) = \left( {u^{2} (\theta ) + m(\theta ) - 1} \right)v(\theta ) + 2u(\theta ),} \hfill & {u(0) = 0.1,} \hfill \\ {v^{\prime}(\theta ) = \left( { - u^{2} (\theta ) + 3m(\theta ) + 1} \right)u(\theta ) + 2v(\theta ),} \hfill & {v(0) = 0.2,} \hfill \\ {m^{\prime}(\theta ) = - 2\left( {u(\theta )v(\theta ) + 3} \right)m(\theta ),} \hfill & {m(0) = 0.3.} \hfill \\ \end{array} } \right.$$
(12)

A fitness function is shown as:

$$\begin{gathered} e = \frac{1}{N}\sum\limits_{c = 1}^{N} {\left( \begin{gathered} \left[ {\hat{u}^{\prime}_{c} - \left( {\hat{u}_{c}^{2} + \hat{m}_{c} - 1} \right)\hat{v}_{c} - e\hat{u}_{c} } \right]^{2} + \left[ {\hat{v}_{c} - \left( { - \hat{u}_{c}^{2} + 3\hat{m}_{c} + 1} \right)\hat{u}_{c} - e\hat{v}_{c} } \right]^{2} \hfill \\ + \left[ {\hat{m}^{\prime}_{c} + 2\left( {f + \hat{u}_{c} \hat{v}_{c} } \right)\hat{m}_{c} } \right]^{2} \hfill \\ \end{gathered} \right)} \hfill \\ \,\,\,\,\,\, + \frac{1}{3}\left[ {\left( {\hat{u}_{0} - 0.1} \right)^{2} + \left( {\hat{v}_{0} - 0.2} \right)^{2} + (\hat{m}_{0} - 0.3)^{2} } \right]. \hfill \\ \end{gathered}$$
(13)

The optimization of objective function given in system (13) is provided by using the ANNs together with the swarming computational approach to solve the Rabinovich–Fabrikant system. Ten numbers of neurons along with 50 runs have been executed to check the reliability of the procedure. The optimal results based on the weight vectors for solving the above system are shown below.

$$\begin{gathered} \hat{u}(\theta ) = \frac{0.0042}{{1 + e^{ - (7.3325\theta - 5.1850)} }} - \frac{5.5634}{{1 + e^{ - ( - 13.460\theta + 19.964)} }} - \frac{0.3437}{{1 + e^{ - ( 2.8283\theta - 1.7191)} }} - \frac{5.6722}{{1 + e^{ - ( 1.1198\theta - 10.419)} }} \hfill \\ \,\,\,\,\,\,\,\,\,\,\, + \frac{0.1638}{{1 + e^{ - ( 3.7726\theta + 2.1030)} }} + \frac{2.5293}{{1 + e^{ - (5. - 277\theta - 6.3198)} }} - \frac{0.2724}{{1 + e^{ - ( 21.008\theta - 26.939)} }} + \frac{5.4190}{{1 + e^{ - ( - 4.135\theta + 5.0166)} }} \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\, + \frac{0.9113}{{1 + e^{ - ( 1.7256\theta - 1.3888)} }} - \frac{2.5793}{{1 + e^{ - (4.3167\theta - 11.933)} }}, \hfill \\ \end{gathered}$$
(14)
$$\begin{gathered} \hat{v}(\theta ) = \frac{13.6431}{{1 + e^{ - (10.727\theta + 20.281)} }} - \frac{0.0229}{{1 + e^{ - (1.5494\theta + 5.9631)} }} - \frac{5.8231}{{1 + e^{ - ( - 6.3142\theta + 9.5120)} }} - \frac{5.0170}{{1 + e^{ - ( 0.316\theta + 3.209)} }} \hfill \\ \,\,\,\,\,\,\,\,\,\,\, - \frac{2.3954}{{1 + e^{ - ( - 0.437\theta + 0.2973)} }} - \frac{1.4387}{{1 + e^{ - ( - 3.303\theta + 2.755)} }} - \frac{7.3507}{{1 + e^{ - ( - 7.8204\theta - 9.816)} }} + \frac{2.3850}{{1 + e^{ - ( 0.8992\theta - 9.8543)} }} \hfill \\ \,\,\,\,\,\,\,\,\,\,\, - \frac{4.9011}{{1 + e^{ - ( 13.757\theta - 27.113)} }} - \frac{0.0487}{{1 + e^{ - (1.2584\theta + 4.4397)} }}, \hfill \\ \end{gathered}$$
(15)
$$\begin{gathered} \hat{m}(\theta ) = \frac{ - 1.2311}{{1 + e^{ - (3.8031\theta - 3.0875)} }} - \frac{1.6094}{{1 + e^{ - ( - 7.3334\theta - 2.0239)} }} - \frac{2.2478}{{1 + e^{ - ( 2.5328\theta - 2.8606)} }} + \frac{2.1662}{{1 + e^{ - ( 5.0115\theta - 2.3467)} }} \hfill \\ \,\,\,\,\,\,\,\,\,\,\, - \frac{0.3374}{{1 + e^{ - ( - 6.173\theta - 2.5454)} }} - \frac{6.8904}{{1 + e^{ - ( - 7.844\theta - 12.2045)} }} + \frac{6.2610}{{1 + e^{ - ( - 7.642\theta - 2.7489)} }} - \frac{5.3609}{{1 + e^{ - ( 2.1072\theta - 6.2498)} }} \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\, + \frac{5.0547}{{1 + e^{ - ( - 2.4580\theta - 3.7097)} }} + \frac{5.3493}{{1 + e^{ - ( - 1.9603\theta - 6.1331)} }}, \hfill \\ \end{gathered}$$
(16)

Figure 2 illustrates the values of the optimal weights along with the result’s assessment for each class of the Rabinovich–Fabrikant system. These weights are shown in Fig. 2a–c by applying the ANNs together with the swarming computational approach to solve the Rabinovich–Fabrikant system by taking 10 numbers of neurons. The correctness of the ANNs together with the swarming and local computational method is examined through the best, reference and mean results in Fig. 2d–f. Figure 3 shows the mean and best results based on the AE to solve the Rabinovich–Fabrikant system. The best AE measures are performed as 10−04–10−07, 10−05–10−07 and 10−06–10−07, while the mean values of the AE are performed as 10−02–10−03, 10−01 to 10−03 and 10−03–10−04 for 1st–3rd dynamics. These reduceable performances of AE improve the precision of the ANNs. Figure 4 represents the performances of TIC that have been calculated based on the Rabinovich–Fabrikant system, which are found around 10−06–10−10 for each category. The MSE values are plotted in Fig. 5 to solve the Rabinovich–Fabrikant system through the stochastic approach. These performances are described as 10−04–10−10 for the system. The optimal statistical performances achieved through the ANNs together with the swarming scheme develop the method’s consistency to solve the above system.

Figure 2
figure 2

Weights and comparison of solution performances for the Rabinovich–Fabrikant system.

Figure 3
figure 3

The values of AE to solve the Rabinovich–Fabrikant system.

Figure 4
figure 4

Performances of TIC along with hist values for the mathematical system.

Figure 5
figure 5

Performances of MSE along with hist values for the mathematical system.

Tables 1, 2, 3 shows the statistical operator measures for the minimum (best results), SIR, mean, maximum (worst outputs), median, and standard deviation (SD) values. The plots based on the maximum performances (bad results) reported as 10−01–10−02 for the first two dynamics of the model, while these values performed as 10−03–10−04 for the last dynamic of the model. The mean and SD operator values are 10−02–10−03 and 10−01–10−02 for the first two dynamics, while these values lie as 10−04–10−05 for the last dynamic of the model. Likewise, the median, minimum (best performances) and SIR operator values for each class of the Rabinovich–Fabrikant system are found as 10−04–10−05, 10−06–10−07 and 10−03–10−05. Based on these performances, the process of the ANNs together with the swarming and local search scheme perform precise to solve the Rabinovich–Fabrikant system.

Table 1 Different statistical measures for the Rabinovich–Fabrikant system (1).
Table 2 Different statistical measures for the Rabinovich–Fabrikant system (2).
Table 3 Different statistical measures for the Rabinovich–Fabrikant system (3).

Conclusions

The current investigations present a stochastic computing reliable scheme based on the swarming computing procedure for the numerical solutions of the Rabinovich–Fabrikant system. The system’s dynamic of the nonlinear system has three coupled equations. Some of the concluding remarks are itemized as:

  • The computing stochastic artificial neural networks along with the global swarming and local search interior point algorithms have been presented to solve the differential form of the Rabinovich–Fabrikant system.

  • The design of objective function has been presented by using the differential system, while the optimization is performed through the local and global search schemes.

  • The accuracy of the results has been observed through the achieved and source results performances.

  • The log-sigmoid transfer function along with 10 numbers of neurons in the structure of neural network have been provided for the solutions of the Rabinovich–Fabrikant system.

  • The absolute error has also been achieved around 10−05–10−08, which shows the worth of the ANNs-PSOIP algorithm.

  • The consistency of the ANNs-PSOIP method has been examined by applying different statistical performances to solve the Rabinovich–Fabrikant system.

In future, the designed ANNs along with the swarming scheme is provided to perform the solutions of the biological system67,68, and fluid dynamical systems69.