A novel improved trigonometric neural network algorithm for solving price-dividend functions of continuous time one-dimensional asset-pricing models
Introduction
Capital asset pricing model plays an important role in modern financial theory. This model is one of the most famous and important models in finance, which is widely used in capital cost budget [1], [2], [3], asset valuation [4], [5], resource allocation [6], [7], [8] and so on. It is of great practical significance and value to study the asset pricing model and its related calculation problems.
In recent decades, asset pricing theory has become one of the fastest developing fields in financial theory. One-dimensional asset-pricing model is a branch of the asset pricing model, which can be divided into continuous time model and discrete time model. The key problems of both models are to solve equilibrium price-dividend functions. In a continuous time model, the equilibrium price-dividend function can be translated into an ordinary differential equation (ODE). The ODE has analytic solutions when the stochastic discount factor (SDF) has a linear structure or the coefficients for the ODE are analytic [9]. In a discrete time model, the equilibrium price-dividend function can be translated into an integral equation (IE). By using higher order polynomial approximations [10], [11], [12], numerical solutions of many discrete time models can be obtained no matter whether the SDF is linear. However, there are two difficulties with discrete time models. One difficulty is the high cost of calculation since the coefficients have to be calculated simultaneously [9]. Another difficulty is the IE of the model must be true within a range for the state variable [13]. By using analytic methods to continuous time asset-pricing models, the second difficulty can be avoided. However, the running time of the analytic methods is longer and the operation cost is higher compared with machine learning methods. Therefore, in order to overcome the first difficulty, machine learning methods are applied to continuous time asset-pricing models.
This paper attempts to use machine learning methods to solve continuous time asset-pricing models so as to overcome the above two difficulties. In continuous time asset-pricing models, the equity premium literature indicates that an important property of non-linear SDF is to capture the dynamic behavior of the stock premium [14], [15], [16]. Therefore, a continuous time asset-pricing model with nonlinear SDF is considered in the paper. Specifically, the Campbell and Cochrane asset-pricing model (CC model) is considered, which is a continuous time one-dimensional asset-pricing model with non-linear analytic SDF and dividend process [17]. Solving this model is equivalent to solving the equilibrium price-dividend function, which is described as a stochastic differential equation (SDE). Furthermore, the equilibrium price-dividend function is translated equivalently into a second-order ordinary differential equation (ODE) with initial values, i.e. an initial value problem (IVP). Once the IVP is solved, the CC model is solved. In this paper, the extreme learning machine (ELM) method is applied to solve the IVP of the CC model.
Machine learning algorithms are more and more extensively applied in various fields. Neural networks are one of the most popular algorithms and attract extensive attention in various fields [18], [19], [20]. Cao et al. built a fully deconvolutional neural network and applied it to the problem of single image super-resolution [21]. Xiao et al. proposed several novel nonlinear finite-time recurrent neural networks which can address the problem of motion tracking of robot manipulators [22], [23]. The extreme learning machine is one of neural networks, whose input weights and biases are fixed so that the ELM algorithm has a fast learning speed and a good generalization performance. Hu et al. used the random forest (RF) and the ELM to forecast salinity time series [24] and Mariano et al. applied the ELM to the reverse engineering of gene regulatory networks from expression time series [19]. These methods are suitable for time series instead of solving ordinary differential equations. Liao et al. proposed a hybrid classification approach called ATELMSRC using the ELM and sparse representation classifier [25] and Kim et al. proposed the multimodal sparse hierarchical extreme learning machine to identify Alzheimer’s disease and mild cognitive impairment [26]. Both methods are good for classification. In the financial field, many problems such as asset pricing model and bankruptcy probability can be described as ordinary differential equations (ODEs). Therefore, many researchers proposed various algorithms to solve ODEs and applied them to the above problems. Yang et al. proposed a Legendre improved extreme learning machine (L-IELM) [27] to solve ODEs. Zhou et al. proposed an improved ELM algorithm (I-ELM) to solve the integro-differential equation of ruin probability [28]. In addition, there exist other machine learning methods developed for solving ODEs such as least squares support vector machines (LSSVM) [29] and genetic algorithm (GA) [30]. Most of the above methods assume a trial solution for the ODE to be solved. For example, a trial solution for the ODE of L-IELM is represented using Legendre polynomials, a trial solution used in LSSVM is represented by the RBF kernel function, and the GA assumes a trial solution using the power function.
Inspired by the literature of algorithms to solve ODEs, the authors assume a trial solution represented by a Fourier series after comparing different kinds of orthogonal polynomials. Then, we develop a novel improved trigonometric neural network (ITNN) based on the extreme learning machine. Furthermore, the reduction algorithm for number of neurons is proposed to simplify the network structure since different functions have different distributions of harmonics across the spectrum.
In this paper, a novel improved trigonometric neural network is proposed to solve the IVP of the CC model. The improved trigonometric neural network consists of three parts: the improved trigonometric function based on Fourier series expansion, the initial-condition extreme learning machine (ICELM) algorithm and the reduction algorithm. Firstly, based on Fourier series expansion theory, the improved trigonometric function is proposed to serve as the activation function of the ITNN algorithm. Secondly, the ICELM is proposed to solve the initial value problem, where two initial conditions are added to the network model. Moreover, the reduction algorithm of the number of network neurons is proposed to get a simpler network structure and a higher computing speed. Fig. 1 shows the general framework of this paper. As shown in Fig. 1, the equilibrium price-dividend function of one-dimensional continuous time asset pricing models can be translated into an ordinary differential equation (ODE). The ODE with two initial conditions is called an initial value problem (IVP). Next, the IVP is solved by the ITNN in this paper. With the improved trigonometric function to serve as activation function, ITNN is applied to calculate the numerical solutions, corresponding optimal output weights , optimal neurons number and optimal value . Then, the reduction algorithm is applied to reduce the number of the network neurons under the condition of satisfying the requirement of precision. Next, the numerical solutions of the IVP are obtained feasibly and efficiently. Finally, the price-dividend ratio , i.e., the numerical solutions of IVP, is used to calculate the instantaneous expected return, instantaneous standard deviation for the return on equity and Sharpe ratio.
The rest of the paper is organized as follows. Campbell and Cochrane’s asset-pricing model and the initial value problem of price-dividend function are introduced in Section 2. Section 3 investigates the traditional ELM algorithm. Section 4 illustrates the proposed improved trigonometric neural network algorithm. To verify the feasibility and superiority of the ITNN algorithm, Section 5 carries out some numerical and comparative experiments for solving the price-dividend function of the Campbell and Cochrane asset-pricing model. In Section 6, some conclusions are provided. The main contributions of this paper are summarized as follows:
- •
The ITNN algorithm is presented to solve the price-dividend function of the Campbell and Cochrane asset-pricing model. The proposed method is able to solve different continuous time asset pricing models with analytic SDF and different initial conditions.
- •
The ITNN algorithm is used to reproduce all the results in CC model. The comparative results with the analytic method [9] demonstrate that the solutions obtained by the ITNN can accurately represent the behavior of stock returns while the accuracy is higher and time cost is lower than that of the analytic method.
- •
The improved trigonometric function based on the Fourier series is proposed to serve as the activation function of the ITNN algorithm. Numerical simulations and a comparative study among different orthogonal polynomials verify the high accuracy of the ITNN algorithm with the improved trigonometric function.
- •
The reduction algorithm of the number of network neurons is used to obtain a simpler network structure and a higher computing speed.
- •
Comparative studies among traditional methods to solve the IVP such as the ITNN, analytic method [11], L-IELM [27], I-ELM [28], LSSVM [29] and GA [30] are carried out to demonstrate the superiority of the ITNN algorithm.
Section snippets
Asset-pricing model and price-dividend functions
In the continuous time asset-pricing model, assuming that the equity is chosen by the representative agent, the intertemporal Euler condition of the equilibrium price of stocks is described as follows [16], [31], [32]where is the dividends paid from the equity per unit of time, is the price of the equity, is the marginal value of the future dividend, and is the expectation of a function in terms of t. is the expected change in
Extreme learning machine algorithm
The extreme learning machine is a kind of neural network method based on the single layer feed-forward neural network (SLFN), which is proposed by Huang et al. in [33]. The extreme learning machine algorithm is regarded as a special kind of feed-forward neural network, which is characterized by that the weights of input layer are random and do not need to update during the learning process. Only the output weights need to be calculated. Compared with other shallow learning algorithms, the ELM
The improved trigonometric neural network algorithm
In this section, the improved trigonometric neural network algorithm is presented as well as the details of the design steps. Firstly, the improved trigonometric function based on Fourier series expansion serves as the activation function of the proposed ITNN. Secondly, the ICELM algorithm is proposed to solve the IVP. Finally, the reduction algorithm is presented so that the number of the optimal neural neurons of the ITNN can be moderately reduced according to the requirement of precision.
Numerical experiments and comparative studies
In this section, to demonstrate the feasibility and superiority of the proposed ITNN algorithm, several numerical experiments and comparative studies are conducted with IVP (2).
All simulation experiments are performed by using MATLAB R2014a which is on a computer with INTEL Core I5-5200U CPU, 4 GB of memory, 256 GB SSD and WIN10 operating system.
Conclusions
In order to precisely solve the continuous time one-dimensional asset-pricing model, this paper proposes the improved trigonometric neural network algorithm based on Fourier series theory. The proposed algorithm solves the initial value problem with higher precision and less time cost. In this paper, the price-dividend function of the CC model has been translated from a stochastic differential equation into an initial value problem. Then, the improved trigonometric neural network algorithm has
CRediT authorship contribution statement
Mingjie Ma: Conceptualization, Methodology, Software, Data curation, Writing - original draft, Validation, Visualization, Investigation, Writing - review & editing. Lunan Zheng: Conceptualization, Methodology, Software, Validation. Jianhui Yang: Supervision.
Declaration of Competing Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Acknowledgments
This research was supported by the Science and Technology Planning Project of Guangdong Province, China (Grant No. 2014B080807027).
Mingjie Ma received the B.S. degree in optical engineering from Shenzhen University, Shenzhen, China, in 2018.
She has been a graduate student pursuing her Ph.D. degree in the School of Business Administration, South China University of Technology, Guangzhou, China, since 2019. Her major is Management Science and Engineering. Her current research interests include financial engineering, neural networks, and machine learning.
References (36)
- et al.
Exchange rate targeting in the presence of foreign debt obligations
Journal of Macroeconomics
(2018) - et al.
A resource allocation scheme based on predatory search algorithm for ultra-dense D2D communications
Wireless Networks
(2019) - et al.
Analytic solving of asset pricing models: the by force of habit case
Journal of Economic Dynamics and Control
(2008) A note on some limitations of CRRA utility
Economics Letters
(2001)- et al.
The equity premium puzzle
Journal of Monetary Economics
(1985) - et al.
A new noise-tolerant and predefined-time ZNN model for time-dependent matrix inversion
Neural Networks
(2019) - et al.
Deconvolutional neural network for image super-resolution
Neural Networks
(2020) - et al.
Numerical solution for ruin probability of continuous time model based on neural network algorithm
Neurocomputing
(2019) - et al.
Extreme learning machine: theory and applications
Neurocomputing
(2006) - et al.
Regulatory quality, financial integration and equity cost of capital
Review of International Economics
(2019)
After Modigliani, Miller, and Hamada: a new way to estimate cost of capital
Journal of International Financial Management and Accounting
Capital adjustment cost and inconsistency in income-based dynamic panel models with fixed effects
German Economic Review
Reducing large net foreign liabilities
Review of International Economics
Resource allocation with automated QoE assessment in 5G/B5G wireless systems
IEEE Network
OKRA: optimal task and resource allocation for energy minimization in mobile edge computing systems
Wireless Networks
Continuous time one-dimensional asset-pricing models with analytic price-dividend functions
Economic Theory
Solving asset pricing models when the price-dividend function is analytic
Econometrica
Solving an asset pricing model with hybrid internal and external habits, and autocorrelated Gaussian shocks
Annals of Finance
Cited by (7)
The numerical solution of one-dimensional discrete asset pricing model based on the improved trigonometric extreme learning machine
2022, Journal of Computational ScienceCitation Excerpt :The simulation experiments are carried out by using MATLAB R2016a which is on a laptop with AMD Ryzen 7 4800H CPU, 8 GB of memory, 512 GB SSD, and a WIN10 operating system. In this subsection, comparative experiments between the IT-ELM, the IELM [23], the ITNN [25], and the RBF [27] are conducted. The IT-ELM is proposed and applied to solve the one-dimensional discrete-time asset pricing model.
On the Expected Discounted Penalty Function Using Physics-Informed Neural Network
2023, Journal of MathematicsTriFSS: Secure Trigonometric Function Evaluation via Function Secret Sharing
2023, IEEE International Conference on Communications
Mingjie Ma received the B.S. degree in optical engineering from Shenzhen University, Shenzhen, China, in 2018.
She has been a graduate student pursuing her Ph.D. degree in the School of Business Administration, South China University of Technology, Guangzhou, China, since 2019. Her major is Management Science and Engineering. Her current research interests include financial engineering, neural networks, and machine learning.
Lunan Zheng received the B.S. degree in automation from South China University of Technology, Guangzhou, China, in 2017.
He has been a graduate student pursuing his Ph.D. degree in the School of Automation Science and Engineering, South China University of Technology, Guangzhou, China, since 2017. His major is Pattern Recognition and Intelligence System. His current research interests include neural networks, machine learning, and robotics.
Jianhui Yang received the Ph.D. degree from South China University of Technology, Guangzhou, China, in 1999. He was a Post-Doctoral Research Fellow engaged in economic and financial complexity in Duke University, America in 2001-2003. Since 2008, he has been a Professor with the School of Business Administration, South China University of Technology, Guangzhou, China. His current research interests include investment decision and risk management, financial accounting and corporate finance, quantity economy, data mining, finance engineering and management, and supply chain decision modeling.