Next Article in Journal
Optimal Power Allocation Based on Metaheuristic Algorithms in Wireless Network
Next Article in Special Issue
A Weights Direct Determination Neural Network for International Standard Classification of Occupations
Previous Article in Journal
On the Dynamic Geometry of Kasner Quadrilaterals with Complex Parameter
Previous Article in Special Issue
Exploiting Mean-Variance Portfolio Optimization Problems through Zeroing Neural Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Portfolio Insurance through Error-Correction Neural Networks

by
Vladislav N. Kovalnogov
1,
Ruslan V. Fedorov
1,
Dmitry A. Generalov
1,
Andrey V. Chukalin
1,
Vasilios N. Katsikis
2,*,
Spyridon D. Mourtas
2 and
Theodore E. Simos
1,3,4,5,6
1
Laboratory of Inter-Disciplinary Problems of Energy Production, Ulyanovsk State Technical University, 32 Severny Venetz Street, 432027 Ulyanovsk, Russia
2
Department of Economics, Division of Mathematics-Informatics and Statistics-Econometrics, National and Kapodistrian University of Athens, Sofokleous 1 Street, 10559 Athens, Greece
3
Department of Medical Research, China Medical University Hospital, China Medical University, Taichung 40402, Taiwan
4
Data Recovery Key Laboratory of Sichun Province, Neijing Normal University, Neijiang 641100, China
5
Department of Mathematics, University of Western Macedonia, 52100 Kastoria, Greece
6
Section of Mathematics, Department of Civil Engineering, Democritus University of Thrace, 67100 Xanthi, Greece
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(18), 3335; https://doi.org/10.3390/math10183335
Submission received: 11 August 2022 / Revised: 30 August 2022 / Accepted: 13 September 2022 / Published: 14 September 2022

Abstract

:
Minimum-cost portfolio insurance (MCPI) is a well-known investment strategy that tries to limit the losses a portfolio may incur as stocks decrease in price without requiring the portfolio manager to sell those stocks. In this research, we define and study the time-varying MCPI problem as a time-varying linear programming problem. More precisely, using real-world datasets, three different error-correction neural networks are employed to address this financial time-varying linear programming problem in continuous-time. These neural network solvers are the zeroing neural network (ZNN), the linear-variational-inequality primal-dual neural network (LVI-PDNN), and the simplified LVI-PDNN (S-LVI-PDNN). The neural network solvers are tested using real-world data on portfolios of up to 20 stocks, and the results show that they are capable of solving the financial problem efficiently, in some cases more than five times faster than traditional methods, though their accuracy declines as the size of the portfolio increases. This demonstrates the speed and accuracy of neural network solvers, showing their superiority over traditional methods in moderate-size portfolios. To promote and contend the outcomes of this research, we created two MATLAB repositories, for the interested user, that are publicly accessible on GitHub.

1. Introduction and Motivation

The effects of the severe financial crisis that occurred in 2008 have characterized financial markets in recent years, followed by the associated rise in equity markets and associated decline in interest rate levels globally, up until a significant market decline in 2018 and the extremely volatile market conditions brought on by the COVID-19 crisis in the first quarter of 2020. Such a scenario suggests that it will always be difficult to predict how asset prices will behave and to make the appropriate countermoves in order to later create appropriate portfolio strategies in accordance with certain risk profiles. In these types of scenarios, portfolio insurance strategies such as guarantee funds and variable annuities are frequently used to provide investors with the promised assurances. Portfolio insurance’s primary goal is to limit a portfolio’s downside risk while maintaining its maximum return potential. A number of portfolio insurance optimization strategies have been proposed in recent years, using a variety of computational techniques, such as Riesz space-based techniques [1,2] and metaheuristics [3,4,5]. More specifically, the authors considered a linear programming portfolio insurance problem in [1,2], an integer programming portfolio insurance problem in [3], and a nonlinear programming multiperiod portfolio insurance problem under transaction costs in [4,5].
Recently, neural network (NN) techniques, such as weights- and structure-determination-based NNs [6,7], collaborative neurodynamic optimization [8], nonlinear NNs [9], and reinforcement learning [10], have been utilized to address portfolio optimization. A number of portfolio optimization strategies through NNs have been proposed in the past, such as predicting the distribution of a financial quantity [11], predicting the portfolio Sharpe ratio [12], and integrating the return prediction of traditional time series models in portfolio formation [13]. In general, there are two ways to apply NNs to portfolio construction: limiting loss [1,4,5] and seeking profit [11,12,13]. This work focuses on limiting portfolio loss. It defines and explores a time-varying variation of the minimum-cost portfolio insurance (MCPI) problem as a time-varying linear programming (TLP) problem. More precisely, using real-world datasets, three different error-correction NNs (ENNs) are employed to address the financial TLP problem in continuous-time (CT). These NN solvers are the zeroing NN (ZNN), the linear-variational-inequality primal-dual NN (LVI-PDNN), and the simplified LVI-PDNN (S-LVI-PDNN). When it comes to solving TLP problems, such as the time-varying MCPI (TMCPI) problem, the ZNN approach is comparable to the LVI-PDNN and S-LVI-PDNN methods because they are all based on the error-correction principle.
The ZNN framework was created by Zhang et al. in [14] for generating online solutions to time-varying (TV) problems and it is based on the Hopfield neural network. Notice that the vast majority of ZNN-based dynamical systems, as well as the LVI-PDNN and S-LVI-PDNN, are classified as recurrent NNs (RNNs), which are utilized to locate equations’ zeros. On the one hand, the ZNN approach has been extensively used in a variety of time-varying topics, with the most common being problems of generalized inversion [15,16], matrix equations systems [17,18], quadratic optimization [19,20], linear equations systems [17], and various matrix functions approximation [21,22]. On the other hand, the LVI-PDNN is widely employed in robotic applications, such as the construction of mobile robots’ vision-related control systems [23] or resolution of kinematic redundancy in robot manipulators [24], and it has recently been successfully used in solving financial problems such as asset portfolio selection [20]. As a result, this article’s primary goal is to efficiently solve the TMCPI problem through ENN methods (i.e., ZNN, LVI-PDNN, and S-LVI-PDNN).
The primary advantages of employing an artificial NN include generalization, fault and noise tolerance, and the capacity to predict data that have not yet been seen while saving costs and time [21]. Based on our previous experience with portfolio selection problems, we apply the advantages of ENN solvers (i.e., ZNN, LVI-PDNN, and S-LVI-PDNN) to solve the TMCPI problem within a realistic framework of financial portfolio management. Furthermore, as is well known, ENN solvers can be viewed as predictive dynamics. By employing these ENN methods, the proposed models in [15,19] achieve excellent convergence performance, while the convergence speed can be changed by altering the design parameter [21]. As a consequence, by using the ZNN, LVI-PDNN, and S-LVI-PDNN methods, the TMCPI problem can be addressed with exponential convergence performance. To be able to track the evolution of the static MCPI problem over time and to offer a form of prediction, we investigate the TMCPI problem as a continuous TLP problem.
The main contributions of this work can be summed up as follows:
  • The TMCPI problem is defined and explored;
  • Three novel ENN models for addressing the TMCPI problem are defined;
  • We use ENN solvers on real-world datasets;
  • The performance of the ENN solvers versus the conventional MATLAB solver is demonstrated and contrasted in trials using four different portfolio configurations.
The following hierarchy governs the overall organization of the document’s sections. The TV variation of the MCPI problem is introduced in Section 2. Section 3 presents the ENN solvers. Experiments in Section 4 highlight the performance and efficacy of the ENN solvers for solving the TMCPI problem in four different portfolio setup cases using daily real-world data. Additionally, information about a publicly accessible MATLAB repository on GitHub is provided in Section 4. This repository implements all of the techniques and procedures outlined in Section 3 and Section 4 to promote the readability and computational value of this research. The conclusions section is Section 5.

2. Minimum-Cost Portfolio Insurance

In many situations, portfolio insurance solutions are employed to give investors promised guarantees [1,25,26]. The past literature has proposed a wide range of portfolio insurance strategies, some of which have been expanded to the dynamic setting. This section introduces a continuous-time portfolio insurance approach as an innovative technique that integrates robust processes from ENNs to provide online, thus more realistic, solutions.

TV Variation of the MCPI Problem

Reducing portfolio costs is always a priority for financial engineers. The obvious way to reduce portfolio costs is to reduce insurance costs (see [3,4]). Here, we present a TV analog of the corresponding portfolio insurance static problem, which has been described and investigated in a number of papers, including [2,27].
Note that, when we say a vector d ( t ) R n or a matrix D ( t ) R m × n , we mean a vector or a matrix that change over time t, and also, ( · ) T denotes matrix transposition. Assume the market X ( t ) = [ x 1 ( t ) , x 2 ( t ) , , x n ( t ) ] T R n at time t = 1 , 2 , , μ , where x i ( t ) R is the asset’s i, i = 1 , 2 , , n , return, and the initial portfolio θ = [ θ 1 , θ 2 , , θ n ] T R n , where θ i , i = 1 , 2 , , n , is the ith asset. Then, the payoff of a portfolio θ is given by the formula
X T ( t ) · θ
Additionally, assume the insurance prices p ( t ) = [ p 1 ( t ) , p 2 ( t ) , , p n ( t ) ] T R n where p i ( t ) R is the asset’s i, i = 1 , 2 , , n , insurance price. In our case, we assume that the portfolio’s insurance costs include a standard price plus an asset risk rate. The function of the fixed and linear insurance prices is made up as follows if the price rates connected to asset risk are denoted by δ and the fixed price by β :
p i ( t ) = β + δ · Var Y i ( t ) max ( Y i ( t ) ) , i = 1 , 2 , , n ,
where Y i ( t ) = [ x i ( t ) , x i ( t 1 ) , , x i ( t τ + 1 ) ] T and Var Y i ( t ) denotes the variance of Y i ( t ) . The number τ t 1 , τ N , is constant and implies the time delays. Since Y i ( t ) R τ , the risk of the i asset is determined by the variance of τ normalized prices. In this way, any asset’s insurance cost is based on the amount of risk it carries, where there is a chance that the predicted return will differ from the actual return. As a result, insurance prices are rising in line with inflation.
It is important to mention that the insured payoff of the portfolio θ , under the floor price k R and the price p ( t ) , is the maximum between the payoff of θ and k, i.e., max { X T ( t ) · θ , k } . Consequently, given an initial portfolio θ and a floor price k, the TLP formulation of the TMCPI problem is as below:
min ϕ ( t ) p T ( t ) · ϕ ( t )
s . t . X T ( t ) · ϕ ( t ) min { X T ( t ) · θ , k }
0 ϕ ( t ) ζ ( t ) ,
where ϕ ( t ) = [ ϕ 1 ( t ) , ϕ 2 ( t ) , , ϕ n ( t ) ] T R n is the optimal insured portfolio, ζ ( t ) = X T ( t ) · θ · 1 x 1 ( t ) , , 1 x n ( t ) T R n , and the right part of (5), i.e., ζ ( t ) , is the maximum merit of each stock that an investor is allowed to keep at time t, by investing in each of them all the portfolio’s θ payoff.
Moreover, by interpolating X ( t ) and p ( t ) into continuous functions, we transform the TMCPI problem from discrete-time (DT) to CT. As a result, considering the space of all continuous real functions C [ 0 , μ τ 1 ] on the closed interval [ 0 , μ τ 1 ] , we have that X ( t ) , p ( t ) C [ 0 , μ τ 1 ] , and ϕ ( t ) becomes the online solution of the TMCPI problem (3)–(5).

3. The Error-Correction Neural Network Approach

Bearing in mind its basic role in mathematical optimization, most aspects of linear programming (LP) have been thoroughly studied over the last decades. Solutions to LP problems have been commonly used in a wide range of research and industrial applications; see for example [28,29]. In the past, typically fewer than two different types of constraints have been subject to LP problems; see for example [30]. Most studies were dedicated to the so-called static LP problems, see [31], which means that methods and algorithms designed to address such a group of LP problems are inoperative when employed to TV situations. The ZNN, LVI-PDNN, and S-LVI-PDNN are three types of ENNs that are specifically designed to zeroing time-varying equations, which have been critical in solving a variety of difficult TV problems in various scientific domains [20,21]. This section describes the ENN solvers for approaching the TMCPI problem of (3)–(5).
In what follows, we denote by 1 and 0 , respectively, those vectors of R n containing ones and zeros; I n for the identity n × n matrix; and 0 m × k for the zero m × k matrix; ⊙ signifies the element-wise (or Hadamard) product and ( ) the element-wise exponential; and a square diagonal matrix with the components of the vector x on the main diagonal is denoted by x ¯ .

3.1. TMCPI Problem via ZNN

Since its introduction by Zhang et al. in 2001 [32], the ZNN evolution has been studied and developed as a significant class of recurrent NNs. The theoretical investigation of ZNNs has shown that they are a powerful tool for solving TV problems. According to the ZNN’s design, under the linear activation function, we define an error matrix K ( t ) which can be dynamically controlled using the formula [18]:
K ˙ ( t ) = γ K ( t ) ,
where γ > 0 is the design parameter and ( ) ˙ signifies the time derivative. K ( t ) is forced to exponentially converge to the zero matrix by (6), and also, as the value of γ increases the convergence rate increases, too. The three steps listed below can be used to achieve our goal of developing a ZNN model in line with the Karush–Kuhn–Tucker (KKT) conditions [33,34] to solve the TMCPI problem.
  • Step 1:(TMCPI problem reformulation) The TMCPI problem of (3)–(5) can be reformulated as follows:
    min ϕ ( t ) p T ( t ) · ϕ ( t )
    s . t . X T ( t ) · ϕ ( t ) min { X T ( t ) · θ , k }
    ϕ ( t ) ζ ( t )
    ϕ ( t ) 0 ,
    or equivalently
    min ϕ ( t ) p T ( t ) · ϕ ( t )
    s . t . A ( t ) ϕ ( t ) b ( t ) ,
    where A ( t ) = X T ( t ) I n I n R ( 2 n + 1 ) × n and b ( t ) = min { X T ( t ) · θ , k } ζ ( t ) 0 R 2 n + 1 .
  • Step 2:(Minimization conditions) To address the TLP problem of (11)–(12), the following Lagrange function is defined:
    L ( ϕ ( t ) , λ ( t ) , R ( t ) , t ) = p T ( t ) ϕ ( t ) + λ T ( t ) ( A ( t ) ϕ ( t ) + R 2 ( t ) b ( t ) ) ,
    where λ ( t ) R 2 n + 1 and R 2 ( t ) R 2 n + 1 is a non-negative time-varying term that converts the inequality constraint to an equality constraint. Then, using the KKT conditions [35], we have
    L ( ϕ ( t ) , λ ( t ) , R ( t ) , t ) ϕ ( t ) = p ( t ) + A T ( t ) λ ( t ) = 0 L ( ϕ ( t ) , λ ( t ) , R ( t ) , t ) λ ( t ) = A ( t ) ϕ ( t ) + R 2 ( t ) b ( t ) = 0 L ( ϕ ( t ) , λ ( t ) , R ( t ) , t ) R ( t ) = λ ( t ) R ( t ) = 0
  • Step 3:(ZNN method) Considering the next equation group of error matrices
    K 1 ( t ) = p ( t ) + A T ( t ) λ ( t ) K 2 ( t ) = A ( t ) ϕ ( t ) + R 2 ( t ) b ( t ) K 3 ( t ) = λ ( t ) R ( t )
    and then substituting K i ( t ) , i = 1 , 2 , 3 , defined in (15) in place of E ( t ) into (6), one obtains
    p ˙ ( t ) + A T ( t ) λ ˙ ( t ) + A ˙ T ( t ) λ ( t ) = γ K 1 ( t ) A ˙ ( t ) ϕ ( t ) + A ( t ) ϕ ˙ ( t ) + 2 R ( t ) R ˙ ( t ) b ˙ ( t ) = γ K 2 ( t ) λ ˙ ( t ) R ( t ) + λ ( t ) R ˙ ( t ) = γ K 3 ( t )
    where,
    A ˙ ( t ) = X ˙ T ( t ) 0 0 R ( 2 n + 1 ) × n , b ˙ ( t ) = min { X ˙ T ( t ) · θ , 0 } ζ ˙ ( t ) 0 R 2 n + 1
Then setting
S ( t ) = 0 n × n A T ( t ) 0 n × ( 2 n + 1 ) A ( t ) 0 ( 2 n + 1 ) × ( 2 n + 1 ) 2 R ¯ ( t ) 0 ( 2 n + 1 ) × n R ¯ ( t ) λ ¯ ( t ) , u ( t ) = γ K 1 ( t ) p ˙ ( t ) A ˙ T ( t ) λ ( t ) γ K 2 ( t ) A ˙ ( t ) x ( t ) + b ˙ ( t ) γ K 3 ( t ) ,
where S ( t ) R ( 5 n + 2 ) × ( 5 n + 2 ) and u ( t ) R 5 n + 2 , (16) can be reformulated as follows:
S ( t ) y ˙ ( t ) = u ( t ) ,
where y ˙ ( t ) = ϕ ˙ ( t ) λ ˙ ( t ) R ˙ ( t ) R 5 n + 2 and S ( t ) acts as the corresponding mass matrix. The model of (19) is adequate for addressing the TLP problem of (3)–(5). The solution to (19) is given by:
y ˙ ( t ) = ( S T ( t ) S ( t ) ) S T ( t ) u ( t ) ,
where ( · ) denotes the Moore–Penrose inverse. To establish that the ZNN solver converges to the theoretical solution, we give the following theorem.
Theorem 1.
The state vector y ( t ) = ϕ ( t ) , λ ( t ) , R ( t ) T of a ZNN (20) converges universally to the theoretical solution y * ( t ) = ϕ * ( t ) , λ * ( t ) , R * ( t ) T starting from any initial condition y ( 0 ) R 5 n + 2 . To put it another way, lim t ( y ( t ) y * ( t ) ) = 0 , while the first n components of y * ( t ) are the theoretical solution ϕ * ( t ) of the optimization problem in (3)–(5).
Proof. 
The error matrix equation group is determined as in (15), in line with the ZNN architecture, to achieve the solution ϕ ( t ) of TLP (3)–(5). The model (16) is then obtained by using the linear design formula for zeroing (15). When t , each error matrix equation in the group (16) converges to the zero matrix, according to [14] (Theorem 1). As a consequence, when t , the solution y ( t ) of (16) converges to the theoretical solution y * ( t ) of TLP (4)–(5). Additionally, we can infer from the (20) derivation procedure that it is merely a variant of the (16) error. Thus, the proof is finished.    □

3.2. TMCPI Problem via LVI-PDNN and S-LVI-PDNN

In this section, we discuss two ENN solvers, the LVI-PDNN and the S-LVI-PDNN, both developed by Zhang et al. [36]. The LVI-PDNN may solve online (3)–(5), by setting
S ( t ) = 0 n × n X ( t ) X T ( t ) 0 R ( n + 1 ) × ( n + 1 ) , v ( t ) = p ( t ) min { A ( t ) · θ , k } R n + 1 ,
where w ( t ) is the primal dual-decision vector and the lower and higher boundaries in (5) are as below:
w ( t ) = ϕ ( t ) c ( t ) R n + 1 , ρ ( t ) = 0 0 R n + 1 , ρ + ( t ) = ζ ( t ) 1 e + 100 R n + 1 ,
The c ( t ) R denotes the dual-decision vector of inequality constraint (4), while ϕ ( t ) is the decision parameter of (5).
The following dynamical model, known as the LVI-PDNN, can be used to solve the TMCPI problem of (3)–(5):
w ˙ ( t ) = γ ( I n + 1 + S T ( t ) ) ( Ψ ( w ( t ) ( S ( t ) w ( t ) + v ( t ) ) ) w ( t ) ) ,
where γ > 0 signifies the design parameter and the projection operator is the following element-wise function:
Ψ i ( w i ( t ) ) = ρ i ( t ) , w i ( t ) < ρ i ( t ) w i ( t ) , ρ i ( t ) w i ( t ) ρ i + ( t ) , ρ i + ( t ) , w i ( t ) > ρ i + ( t ) for i = 1 , 2 , . . . , 2 + n .
The price of γ must be set to the greatest possible value or selected appropriately within hardware constraints for experimental or simulation purposes. It should be noted that a MATLAB ode solver can be used to effectively produce the solution w ( t ) of (23).
The simplified version of the LVI-PDNN, called the S-LVI-PDNN, is the following dynamical model:
w ˙ ( t ) = γ ( Ψ ( w ( t ) ( S ( t ) w ( t ) + v ( t ) ) ) w ( t ) ) ,
which can also be used to solve the TMCPI problem of (3)–(5).
To better understand the real-time convergence of the LVI-PDNN and S-LVI-PDNN, the residual error is calculated as bellow:
K ( t ) = w ( t ) Ψ ( w ( t ) ( S ( t ) w ( t ) + v ( t ) ) ) .
According to [36] (Theorems 1 and 2) and [37] (Theorem 3), if K ( t ) 2 2 0 , the convergence of the state vector w ( t ) to the optimal solution w * ( t ) can be accomplished, and thus the LVI-PDNN and S-LVI-PDNN converge to the theoretical solution.

4. Real-World Experiments

We use the time series of portfolio returns and insurance prices as input, so the data are in DT. To solve a CT problem and provide an online solution, we must first convert the input data from DT to CT. We accomplish this by employing interpolation functions on X ( t ) , X ˙ ( t ) , p ( t ) , and p ˙ ( t ) . It is worth mentioning that the time derivatives of ζ ( t ) , X ( t ) , and p ( t ) can be created by setting ζ ˙ ( t ) = ζ ( t + 1 ) ζ ( t ) , X ˙ ( t ) = X ( t + 1 ) X ( t ) and p ˙ ( t ) = p ( t + 1 ) p ( t ) , respectively. Here, we apply linear interpolation to the DT data we have. To accomplish this, we use the MATLAB custom function linots, which is retrieved from [38]. That is, the DT arrays X ( t ) , X ˙ ( t ) , p ( t ) , and p ˙ ( t ) are converted into interpolated CT functions using linots. A number of alternative interpolation techniques can be found in [38]. Their major benefit, over commercial MathWorks functions, is that they are designed to reduce the computational costs of the MATLAB ode solvers we used. Therefore, when time series constitute the input data, the ENNs produce quicker results.
Moreover, the ode15s MATLAB solver is employed in (20), (23), and (25) to generate the online solution of the TMCPI problem with the parameters set to γ = 1 e 3 , β = 2 , and δ = 1 e 3 . The financial time series are obtained from https://finance.yahoo.com, accessed on 10 August 2022. The following GitHub link leads to the entire implementation and development of the TMCPI problem discussed in Section 3 and Section 4: https://github.com/SDMourtas/TMCPI, accessed on 10 August 2022. Lastly, the solutions provided by the ZNN, LVI-PDNN, and S-LVI-PDNN are contrasted to the presumptive theoretical solutions produced by the MATLAB function linprog. It is worth mentioning that all numerical experiments are performed using the MATLAB R2021a environment on an Intel ® Core TM i5-6600K CPU 3.50 GHz, 16 GB RAM, running on a Windows 10 64-bit Operating System.

Portfolio Cases

Four alternative portfolio setup cases are covered by the trials. In Figure 1, the portfolio cases are shown, with the portfolios’ market including stocks that are among the most active on the US market. In the i-th case, i = 1 , 2 , 3 , 4 , we consider the market X = [ x 1 , x 2 , , x s ] , where X includes the daily close prices of the s stocks shown in Figure 1, for the time period 2 April 2019 to 1 October 2019. It is worth noting that s includes all stocks from the beginning until the case of interest, so case two, for example, includes BAC, MS, F, INTC, and JPM. Setting the time delay parameter τ = 21 for calculating the insurance prices, we try to find through ENNs the optimal portfolio ϕ ( t ) for the time period 1 May 2019 to 1 October 2019. It is important to note that for solving the omitted recorded prices problem between periods of the same division, we utilize the parameter ω from [38], which splits the recorded prices to the time periods for each t inside the ZNN, LVI-PDNN, and S-LVI-PDNN. More precisely, we set
ω = 22 , t [ 0 , 1 ) ( 22 + 20 · ( t 1 ) ) / t , t [ 1 , 2 ) ( 42 + 22 · ( t 2 ) ) / t , t [ 2 , 4 ) ( 86 + 21 · ( t 4 ) ) / t , t [ 4 , 5 ]
which separates the time series from 1 May 2019 to 1 October 2019 into five monthly intervals. Then, we employ X ( ω t ) and p ( ω t ) instead of X ( t ) and p ( t ) and X ˙ ( ω t ) and p ˙ ( ω t ) instead of X ˙ ( t ) and p ˙ ( t ) . As a result, we set t s p a n = [ 0 , 5 ] in the MATLAB ode15s solver to find the optimal portfolio ϕ ( t ) for the time period 1 May 2019 to 1 October 2019. Given an initial portfolio θ = 2 ones ( s , 1 ) and a floor k, and starting from y ( 0 ) = [ θ ; 2 ones ( 4 s + 2 , 1 ) ] in (20) and w ( 0 ) = [ θ ; 2 ] in (23) and (25), the results are presented in Figure 2 and Figure 3.
For the portfolio cases 1 and 2, which deal with three- and five-stock portfolios, respectively, Figure 2a,e show the weights of the optimal insured portfolio ϕ ( t ) generated by the ZNN, LVI-PDNN, S-LVI-PDNN, and linprog. In Figure 2a, we can see that all of the portfolios in case 1 are identical with the exception of the portfolio generated by the ZNN, which is slightly different, whereas in Figure 2e, we can see that only the portfolios of the LVI-PDNN and linprog in case 2 are identical with the remainder being marginally different. Figure 2b,f show the insurance costs incurred by each portfolio, i.e., the initial portfolio θ and the portfolios ϕ ( t ) generated by the ZNN, LVI-PDNN, S-LVI-PDNN, and linprog. We can see that the portfolios in cases 1 and 2 are almost identical. Figure 2c,g show the payoff of each portfolio ϕ ( t ) along with the floor price k. Then, the portfolios in cases 1 and 2 are identical with the exception of the portfolio generated by the S-LVI-PDNN, which is marginally different and begins to become excessively noisy in Figure 2g of case 2. The errors between the solutions of linprog and the ENNs, which are presented in Figure 2d,h for cases 1 and 2, respectively, can support the aforementioned. That is, while the S-LVI-PDNN accuracy declines significantly as the problem’s dimensions rise, the LVI-PDNN has the same convergence rate and marginally higher accuracy than the ZNN. As a result, the S-LVI-PDNN method has been left out for portfolio cases 3 and 4, which deal with larger portfolios.
In portfolio cases 3 and 4, we deal with 10- and 20-stock portfolios, respectively. The results generated by the ZNN, the LVI-PDNN, and the linprog are shown in Figure 3. Figure 3a,d, which correspond to cases 3 and 4, respectively, show the insurance costs incurred by each portfolio. Figure 3b,e, which correspond to cases 3 and 4, respectively, show the payoff of each portfolio along with the floor price k. There, we can see that all portfolios are identical. The errors between the solutions of linprog and the ZNN and LVI-PDNN, which are presented in Figure 3c,f for cases 3 and 4, respectively, show that the LVI-PDNN has the same convergence rate and marginally higher accuracy than the ZNN.
In general, by comparing the insurance costs of Figure 2b,f and Figure 3a,d to the portfolios’ payoff in Figure 2c,g and Figure 3b, we can observe that the insurance costs of ϕ ( t ) are increasing only when the payoff must remain at the floor. Additionally, from Figure 2c,g and Figure 3b, it is evident that the payoff of portfolio ϕ ( t ) is greater than the payoff of portfolio θ . Our method also becomes more practical when the ω parameter is considered, which comes in handy when combining time periods that each have a distinct amount of recorded prices. Another major finding is that, in all of the cases, the portfolio insurance costs are significantly lower when we ask for a TV portfolio ϕ ( t ) instead of a constant portfolio θ . It is important to mention that the noise in Figure 2d,h and Figure 3c,f is expected because we are dealing with time-series. Now, by taking into account the design parameter’s γ low value, the error value is excellent. Note that the overall error value of the ZNN, the LVI-PDNN, and the S-LVI-PDNN decreases even more when the price of parameter γ increases. However, we can presume that the LVI-DPNN solver outperforms the ZNN because the error among linprog and LVI-DPNN is lower than the error among linprog and the ZNN. In addition, since the error among linprog and S-LVI-DPNN is more noisy than the error among linprog and the ZNN, we can presume that the ZNN performs better than the S-LVI-DPNN. Overall, the portfolio cases presented in the numerical experiments of this section demonstrate that the ZNN, LVI-PDNN, and S-LVI-PDNN work effectively in addressing the TMCPI problem.
Moreover, we provide Table 1 for comparing the performance of various MATLAB custom interpolation functions, which are taken from [38]. Specifically, the functions employed are the linots, the pchinots, and the splinots for linear, P.C. Hermite, and C. Spline interpolation, respectively. This table presents the average consumption time of the ZNN, LVI-PDNN, S-LVI-PDNN, and linprog on each portfolio case, by using all the aforementioned MATLAB functions. According to Table 1, P.C. Hermite is the least effective technique, while linear interpolation is the most effective. The fastest ENN for addressing the TMCPI problem is the LVI-PDNN and the slowest is the S-LVI-PDNN. With the exception of case 4, the ZNN and LVI-PDNN outperform linprog in all cases when using the linear interpolation method. With the exception of case 3, the LVI-PDNN outperforms the ZNN in all cases when using the linear interpolation method, whereas with the exception of case 1, the ZNN outperforms the LVI-PDNN in all cases when using the C. Spline interpolation method. For all three interpolation methods, only case 1 shows the S-LVI-PDNN to be superior to linprog. The performance of ENNs generally declines as the problem’s dimension rises, and it is also sensitive to the interpolation method selected. It is important to mention that these MATLAB custom functions, which handle time series, are the best choices in terms of computing time responses, even in the case where they yield identical results as the corresponding conventional MATLAB functions [20]. Based on Table 1 and the analysis presented in this section, it is demonstrated that the ZNN, LVI-PDNN, and S-LVI-PDNN are effective and computationally efficient.

5. Conclusions

The TMCPI problem is introduced in this paper, as well as three ENN models, namely the ZNN, LVI-PDNN, and S-LVI-PDNN, for addressing it. The focus of this research is on the use of ENN computational techniques to address the TMCPI problem accurately in a short amount of time. Simulations on portfolios of up to 20 stocks with real-world data have proved that the ENNs are capable of efficiently solving the financial TLP problem, in some cases more than five times faster than traditional approaches. However, their accuracy declines as the size of the portfolio increases. According to the results of the simulations, which included four portfolio configuration cases, the LVI-PDNN was found to be the most efficient solver in addressing the TMCPI problem, whereas the S-LVI-PDNN was found to be the least efficient. A study limitation is the maximum portfolio dimension because the ENNs approach is unable to handle problems with very big dimensions.
Several potential study areas can be investigated:
  • The application of ENNs to higher-dimensional portfolios.
  • The application of ENNs to a variety of financial portfolio optimization problems.
  • The improvement of ENNs’ performance in real-world problems by making use of various activation functions.
  • The application of ENNs to portfolios derived from noisy data.

Author Contributions

V.N.K. (Vladislav N. Kovalnogov): methodology, validation, and investigation. R.V.F.: methodology, validation, and investigation. D.A.G.: methodology, validation, and investigation. A.V.C.: methodology, validation, and investigation. V.N.K. (Vasilios N. Katsikis): conceptualization, methodology, validation, formal analysis, investigation, and writing—original draft. S.D.M.: conceptualization, methodology, validation, formal analysis, investigation, and writing—original draft. T.E.S.: methodology, formal analysis, and investigation. All authors have read and agreed to the published version of the manuscript.

Funding

The research was supported by a Mega Grant from the Government of the Russian Federation within the framework of federal project No. 075-15-2021-584.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
NNneural network
TLPtime-varying linear programming
ENNerror-correction neural network
RNNrecurrent neural network
MCPIminimum-cost portfolio insurance
TMCPItime-varying minimum-cost portfolio insurance
ZNNzeroing neural network
LVI-PDNNlinear-variational-inequality primal-dual neural network
S-LVI-PDNNsimplified linear-variational-inequality primal-dual neural network
TVtime-varying
CTcontinuous-time
DTdiscrete-time
KKTKarush–Kuhn–Tucker

References

  1. Katsikis, V.N.; Mourtas, S.D. A heuristic process on the existence of positive bases with applications to minimum-cost portfolio insurance in C[a, b]. Appl. Math. Comput. 2019, 349, 221–244. [Google Scholar] [CrossRef]
  2. Katsikis, V.N.; Mourtas, S.D. ORPIT: A matlab toolbox for option replication and portfolio insurance in incomplete markets. Comput. Econ. 2019, 56, 711–721. [Google Scholar] [CrossRef]
  3. Medvedeva, M.A.; Katsikis, V.N.; Mourtas, S.D.; Simos, T.E. Randomized time-varying knapsack problems via binary beetle antennae search algorithm: Emphasis on applications in portfolio insurance. Math. Methods Appl. Sci. 2020, 44, 2002–2012. [Google Scholar] [CrossRef]
  4. Katsikis, V.N.; Mourtas, S.D.; Stanimirović, P.S.; Li, S.; Cao, X. Time-varying minimum-cost portfolio insurance under transaction costs problem via Beetle Antennae Search Algorithm (BAS). Appl. Math. Comput. 2020, 385, 125453. [Google Scholar] [CrossRef]
  5. Katsikis, V.N.; Mourtas, S.D. Portfolio Insurance and Intelligent Algorithms. In Modeling and Optimization in Science and Technologies; Springer: Berlin/Heidelberg, Germany, 2021; Volume 18, pp. 305–323. [Google Scholar] [CrossRef]
  6. Simos, T.E.; Mourtas, S.D.; Katsikis, V.N. Time-varying Black-Litterman portfolio optimization using a bio-inspired approach and neuronets. Appl. Soft Comput. 2021, 112, 107767. [Google Scholar] [CrossRef]
  7. Simos, T.E.; Katsikis, V.N.; Mourtas, S.D. A multi-input with multi-function activated weights and structure determination neuronet for classification problems and applications in firm fraud and loan approval. Appl. Soft Comput. 2022, 127, 109351. [Google Scholar] [CrossRef]
  8. Leung, M.F.; Wang, J. Minimax and biobjective portfolio selection based on collaborative neurodynamic optimization. IEEE Trans. Neural Netw. Learn. Syst. 2021, 32, 2825–2836. [Google Scholar] [CrossRef]
  9. Yaman, I.; Dalkılıç, T.E. A hybrid approach to cardinality constraint portfolio selection problem based on nonlinear neural network and genetic algorithm. Expert Syst. Appl. 2021, 169, 114517. [Google Scholar] [CrossRef]
  10. Wang, H.; Zhou, X.Y. Continuous-time mean-variance portfolio selection: A reinforcement learning framework. Math. Financ. 2020, 30, 1273–1308. [Google Scholar] [CrossRef]
  11. Imajo, K.; Minami, K.; Ito, K.; Nakagawa, K. Deep portfolio optimization via distributional prediction of residual factors. In Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2020; Volume 35, pp. 213–222. [Google Scholar] [CrossRef]
  12. Zhang, Z.; Zohren, S.; Roberts, S. Deep learning for portfolio optimization. J. Financ. Data Sci. 2020, 2, 8–20. [Google Scholar] [CrossRef]
  13. Ma, Y.; Han, R.; Wang, W. Portfolio optimization with return prediction using deep learning and machine learning. Expert Syst. Appl. 2021, 165, 113973. [Google Scholar] [CrossRef]
  14. Zhang, Y.; Ge, S.S. Design and analysis of a general recurrent neural network model for time-varying matrix inversion. IEEE Trans. Neural Netw. 2005, 16, 1477–1490. [Google Scholar] [CrossRef]
  15. Kornilova, M.; Kovalnogov, V.; Fedorov, R.; Zamaleev, M.; Katsikis, V.N.; Mourtas, S.D.; Simos, T.E. Zeroing neural network for pseudoinversion of an arbitrary time-varying matrix based on singular value decomposition. Mathematics 2022, 10, 1208. [Google Scholar] [CrossRef]
  16. Simos, T.E.; Katsikis, V.N.; Mourtas, S.D.; Stanimirović, P.S.; Gerontitis, D. A higher-order zeroing neural network for pseudoinversion of an arbitrary time-varying matrix with applications to mobile object localization. Inf. Sci. 2022, 600, 226–238. [Google Scholar] [CrossRef]
  17. Katsikis, V.N.; Mourtas, S.D.; Stanimirović, P.S.; Zhang, Y. Solving complex-valued time-varying linear matrix equations via QR decomposition with applications to robotic motion tracking and on angle-of-arrival localization. IEEE Trans. Neural Netw. Learn. Syst. 2021, 1–10. [Google Scholar] [CrossRef]
  18. Jiang, W.; Lin, C.L.; Katsikis, V.N.; Mourtas, S.D.; Stanimirović, P.S.; Simos, T.E. Zeroing neural network approaches based on direct and indirect methods for solving the Yang–Baxter-like matrix equation. Mathematics 2022, 10, 1950. [Google Scholar] [CrossRef]
  19. Mourtas, S.D.; Katsikis, V.N. Exploiting the Black-Litterman framework through error-correction neural networks. Neurocomputing 2022, 498, 43–58. [Google Scholar] [CrossRef]
  20. Katsikis, V.N.; Mourtas, S.D.; Stanimirović, P.S.; Li, S.; Cao, X. Time-varying mean-variance portfolio selection problem solving via LVI-PDNN. Comput. Oper. Res. 2022, 138, 105582. [Google Scholar] [CrossRef]
  21. Katsikis, V.N.; Mourtas, S.D.; Stanimirović, P.S.; Zhang, Y. Continuous-time varying complex QR decomposition via zeroing neural dynamics. Neural Process. Lett. 2021, 53, 3573–3590. [Google Scholar] [CrossRef]
  22. Simos, T.E.; Katsikis, V.N.; Mourtas, S.D.; Stanimirović, P.S. Unique non-negative definite solution of the time-varying algebraic Riccati equations with applications to stabilization of LTV systems. Math. Comput. Simul. 2022, 202, 164–180. [Google Scholar] [CrossRef]
  23. Ke, F.; Li, Z.; Yang, C. Robust tube-based predictive control for visual servoing of constrained differential-drive mobile robots. IEEE Trans. Ind. Electron. 2018, 65, 3437–3446. [Google Scholar] [CrossRef]
  24. Jin, L.; Zhang, Y.; Li, S.; Zhang, Y. Modified ZNN for time-varying quadratic programming with inherent tolerance to noises and its application to kinematic redundancy resolution of robot manipulators. IEEE Trans. Ind. Electron. 2016, 63, 6978–6988. [Google Scholar] [CrossRef]
  25. Annaert, J.; Ceuster, M.D.; Vandenbroucke, J. Mind the floor: Enhance portfolio insurance without borrowing. J. Investig. 2019, 28, 39–50. [Google Scholar] [CrossRef]
  26. Matsumoto, K. Portfolio insurance with liquidity risk. Asia-Pac. Financ. Mark. 2008, 14, 363. [Google Scholar] [CrossRef]
  27. Aliprantis, C.D.; Brown, D.J.; Werner, J. Minimum-cost portfolio insurance. J. Econ. Dyn. Control. 2000, 24, 1703–1719. [Google Scholar] [CrossRef]
  28. Zhang, Y.; Guo, D. Linear programming versus quadratic programming in robots’ repetitive redundancy resolution: A chattering phenomenon investigation. In Proceedings of the 4th IEEE Conference Industrial Electronics and Applications, Xi’an, China, 25–27 May 2009; pp. 2822–2827. [Google Scholar] [CrossRef]
  29. Zhang, Y.; Ma, W.; Li, X.; Tan, H.; Chen, K. MATLAB Simulink modeling and simulation of LVI-based primal-dual neural network for solving linear and quadratic programs. Neurocomputing 2009, 72, 1679–1687. [Google Scholar] [CrossRef]
  30. Zhang, Y.; Leithead, W.E. Exploiting Hessian matrix and trust-region algorithm in hyperparameters estimation of Gaussian process. Appl. Math. Comput. 2005, 171, 1264–1281. [Google Scholar] [CrossRef]
  31. Zhang, Y. On the LVI-based primal-dual neural network for solving online linear and quadratic programming problems. In Proceedings of the American Control Conference, Portland, OR, USA, 8–10 June 2005; Volume 2, pp. 1351–1356. [Google Scholar] [CrossRef]
  32. Zhang, Y.; Wang, J. Recurrent neural networks for nonlinear output regulation. Automatica 2001, 37, 1161–1173. [Google Scholar] [CrossRef]
  33. Jin, L.; Li, S. Nonconvex function activated zeroing neural network models for dynamic quadratic programming subject to equality and inequality constraints. Neurocomputing 2017, 267, 107–113. [Google Scholar] [CrossRef]
  34. Li, J.; Shi, Y.; Xuan, H. Unified model solving nine types of time-varying problems in the frame of zeroing neural network. IEEE Trans. Neural Netw. Learn. Syst. 2021, 32, 1896–1905. [Google Scholar] [CrossRef]
  35. Boyd, S.; Vandenberghe, L. Convex Optimization Problems; Cambridge University Press: New York, NY, USA, 2004; pp. 127–214. [Google Scholar] [CrossRef]
  36. Zhang, Y.; Wu, F.; Xiao, Z.; Li, Z.; Cai, B. Performance analysis of LVI-based PDNN applied to real-time solution of time-varying quadratic programming. In Proceedings of the 2014 International Joint Conference on Neural Networks, IJCNN 2014, Beijing, China, 6–11 July 2014; pp. 3155–3160. [Google Scholar] [CrossRef]
  37. Zhang, Y.; Li, Z.; Tan, H.Z.; Fan, Z. On the simplified lvi-based primal-dual neural network for solving LP and QP problems. In Proceedings of the 2007 IEEE International Conference on Control and Automation, Guangzhou, China, 30 May–1 June 2007. [Google Scholar] [CrossRef]
  38. Katsikis, V.N.; Mourtas, S.D.; Stanimirović, P.S.; Li, S.; Cao, X. Time-varying mean-variance portfolio selection under transaction costs and cardinality constraint problem via beetle antennae search algorithm (BAS). SN Oper. Res. Forum 2021, 2, 18. [Google Scholar] [CrossRef]
Figure 1. The portfolio cases’ stocks that have been utilized in the TMCPI problem experiments.
Figure 1. The portfolio cases’ stocks that have been utilized in the TMCPI problem experiments.
Mathematics 10 03335 g001
Figure 2. Portfolios’ weights, insurance costs, payoff, and the error between NNs and MATLAB’s linprog in cases 1 and 2. (a) Portfolios’ weights (case 1); (b) insurance costs (case 1); (c) portfolios’ payoff (case 1).; (d) error: NNs vs. linprog (case 1); (e) portfolios’ weights (case 2); (f) insurance costs (case 2); (g) portfolios’ payoff (case 2); (h) error: NNs vs. linprog (case 2).
Figure 2. Portfolios’ weights, insurance costs, payoff, and the error between NNs and MATLAB’s linprog in cases 1 and 2. (a) Portfolios’ weights (case 1); (b) insurance costs (case 1); (c) portfolios’ payoff (case 1).; (d) error: NNs vs. linprog (case 1); (e) portfolios’ weights (case 2); (f) insurance costs (case 2); (g) portfolios’ payoff (case 2); (h) error: NNs vs. linprog (case 2).
Mathematics 10 03335 g002
Figure 3. Portfolios’ weights, insurance costs, payoff, and the error between NNs and MATLAB’s linprog in cases 3 and 4. (a) Insurance costs (case 3); (b) portfolios’ payoff (case 3); (c) error: NNs vs. linprog (case 3); (d) insurance costs (case 4); (e) portfolios’ payoff (case 4); (f) error: NNs vs. linprog (case 4).
Figure 3. Portfolios’ weights, insurance costs, payoff, and the error between NNs and MATLAB’s linprog in cases 3 and 4. (a) Insurance costs (case 3); (b) portfolios’ payoff (case 3); (c) error: NNs vs. linprog (case 3); (d) insurance costs (case 4); (e) portfolios’ payoff (case 4); (f) error: NNs vs. linprog (case 4).
Mathematics 10 03335 g003
Table 1. The NNs’ and MATLAB’s solver time consumption for solving the MCPI problem.
Table 1. The NNs’ and MATLAB’s solver time consumption for solving the MCPI problem.
Interpolation MethodCase 1Case 3
3 Stocks Portfolio10 Stocks Portfolio
ZNNLVI-PDNNS-LVI-PDNNLinprogZNNLVI-PDNNLinprog
Linear0.6 s0.45 s2.1 s3.6 s1.3 s1.6 s3.6 s
P.C. Hermite5.3 s0.5 s2.5 s3.8 s2.4 s5.1 s3.6 s
C. Spline0.55 s0.45 s0.53 s3.5 s3.9 s5.5 s3.7 s
Interpolation MethodCase 2Case 4
5 Stocks Portfolio20 Stocks Portfolio
ZNNLVI-PDNNS-LVI-PDNNLinprogZNNLVI-PDNNLinprog
Linear5.8 s0.6 s3.6 s3.8 s6.3 s5.1 s3.7 s
P.C. Hermite11.1 s1.3 s4.6 s3.6 s58 s12.2 s4.3 s
C. Spline1.1 s1.8 s5.1 s3.8 s6.1 s10.7 s3.5 s
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Kovalnogov, V.N.; Fedorov, R.V.; Generalov, D.A.; Chukalin, A.V.; Katsikis, V.N.; Mourtas, S.D.; Simos, T.E. Portfolio Insurance through Error-Correction Neural Networks. Mathematics 2022, 10, 3335. https://doi.org/10.3390/math10183335

AMA Style

Kovalnogov VN, Fedorov RV, Generalov DA, Chukalin AV, Katsikis VN, Mourtas SD, Simos TE. Portfolio Insurance through Error-Correction Neural Networks. Mathematics. 2022; 10(18):3335. https://doi.org/10.3390/math10183335

Chicago/Turabian Style

Kovalnogov, Vladislav N., Ruslan V. Fedorov, Dmitry A. Generalov, Andrey V. Chukalin, Vasilios N. Katsikis, Spyridon D. Mourtas, and Theodore E. Simos. 2022. "Portfolio Insurance through Error-Correction Neural Networks" Mathematics 10, no. 18: 3335. https://doi.org/10.3390/math10183335

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop