Artificial Neural Networks for Financial Time Series Prediction and Portfolio

Total Page:16

File Type:pdf, Size:1020Kb

Artificial Neural Networks for Financial Time Series Prediction and Portfolio Master of Science Thesis in Industrial Engineering and Management Department of Management and Engineering, Linköping University June 2017 Artificial neural networks for financial time series prediction and portfolio optimization Samuel Björklund Tobias Uhlin Credits: 30HP Level: A Advisor: Jörgen Blomvall Department of Management and Engineering, Linköping University Examiner: Ou Tang Department of Management and Engineering, Linköping University ISRN: LIU-IEI-TEK-A--17/02920—SE Abstract Predicting the return of financial times series using traditional technical analysis and widely used economic models such as the capital asset pricing model, has proven to be difficult. Machine learning is a subfield of computer science, a concept that is frequently being used within different domains and recurrently delivers successful results. Artificial neural network is a product from the field of machine learning, a black box model that if properly designed processes data, learns its dynamic and subsequently provides an informative output. The objective of this thesis is to develop artificial neural networks that predict time varying expected return of financial time series with purpose of optimizing portfolio weights. This thesis begins with a review of prevailing characteristics of financial times series, and existing methods for estimating statistical properties. Background on artificial neural network along with empirical case studies of their suitability within the fi- nancial domain is put into a brief discussion vis-a-vis the efficient market hypothesis where potential anomalies is highlighted. Based on the theoretical review, an inter- disciplinary approach between machine learning and finance culminated into a model that estimates the expected return of time series on a quarterly basis. To evaluate the use of predictions of future returns in a relevant context a portfolio optimization model, utilizing stochastic programming was built. The financial time series include FX-rates and indices from different asset classes such as equities and commodities. The results do not show any statistically significant improvement of the expected return estimation compared to CAPM and random walk models. However, our model outperforms a linear regression model for 12 of the 15 time series, which is in line with the performance of previous studies. Conclusively, no evidence is provided that the proposed model could predict accurately and regardless of the accuracy, the vast portfolio turnover of the model is not congruent with the context for which the model hypothetically would be used. i Acknowledgements We would like to show our appreciation to our supervisor, Jörgen Blomvall - Thank you for your support during the course of this thesis. Your engagement, comments and ideas have contributed with inspiration and invaluable insights in the fulfillment of this project. We are grateful for your expertise in the numerous courses that you have taught us that are applicable to this thesis. Also, we would like to express our gratitude to Söderberg & Partners for the opportu- nity to perform this study. We truly appreciate your friendly and welcoming attitude, a special thanks goes to Meng Chen for supportive advice and the assistance throughout this thesis. At last, we are grateful for the support from our family and friends. You have all been a source of energy through good and hard times of our studies. ii Nomenclature Abbreviations Table 1 contains the most commonly used abbreviations in this thesis. Table 1: Commonly used abbreviations in the thesis and the corresponding phrase Abbreviation Phrase AMH Adaptive Market Hypothesis ANN/NN Artificial Neural Network/Neural Network ARMA Autoregressive Moving Average CAPM Capital Asset Pricing Model EMH Efficient Market Hypothesis EWMA Exponentially Weighted Moving Average FFNN Feedforward neural network FX Foreign Exchange GARCH Generalized Autoregressive Conditional Heteroscedasticity MPT Modern Portfolio Theory MSA Model Selection Algorithm MSS Model Selection data Set OLS Ordinary least squares linear regression PCA Principal Component Analysis Q-Q Quantile to Quantile RW Random Walk SP Stochastic Programming Machine learning terminology Table 2 contains the most common machine learning specific terminology used in this thesis. The statistics equivalent terms are provided when possible. Table 2: Glossary of Machine Learning terminology Machine learning Statistics Backpropagation Repetead chain rule of partial derivatives Error function Objective function Input Explanatory variables Model selection data set In-sample data set Output Response variable Test set Out-of-sample data set Training Optimization Weights Regression coefficients iii Contents Abstract i Acknowledgements ii Nomenclature iii 1 Introduction 1 1.1 Company background . .5 1.2 Objective . .6 1.3 Limitations . .6 1.4 Disposition . .6 2 Scientific method 7 2.1 Literature review . .7 2.2 Phase 1: Forecasting using neural networks . .8 2.3 Phase 2: Portfolio optimization . 10 2.4 Analysis and evaluation . 10 3 Theoretical framework 12 3.1 Economic theory . 12 3.1.1 Efficient Market Hypothesis (EMH) . 12 3.1.2 Empirical properties of financial times series . 13 3.2 Point estimation . 13 3.2.1 Properties of a point estimator . 14 3.2.2 Point estimators . 15 3.3 Point estimation in finance . 17 3.3.1 Expected return . 18 3.4 Artificial neural networks paradigm . 21 3.4.1 Machine Learning . 21 3.4.2 Neurodynamics . 23 3.4.3 Architectures . 29 3.4.4 Classes of network . 36 3.5 Data preprocessing . 42 3.6 Optimization of neural network parameters . 43 3.6.1 Purpose of network training . 43 3.6.2 Training, validation and testing data sets . 43 3.6.3 Testing . 44 iv CONTENTS 3.6.4 Error functions . 45 3.6.5 Problem structure . 46 3.6.6 Optimization of neural network weights . 47 3.6.7 Generalization error . 53 3.6.8 Hyper-parameter optimization . 56 3.7 Portfolio optimization . 58 3.7.1 Utility functions . 58 3.7.2 Mean Variance . 59 3.7.3 Stochastic Programming . 60 3.7.4 Scenario generation . 61 3.8 Evaluation . 64 3.8.1 Prediction of expected return . 64 3.8.2 Portfolio optimization . 68 3.9 Empirical tests . 69 3.9.1 The use of data mining and neural networks for forecasting stock market returns . 69 3.9.2 An investigation of model selection criteria for neural network time series forecasting . 71 3.9.3 Much ado about nothing? Exchange rate forecasting: Neural networks vs. linear models using monthly and weekly data . 73 4 Method 75 4.1 Data . 75 4.1.1 Software . 75 4.1.2 Processing . 75 4.2 Phase 1: Neural network . 76 4.2.1 Model selection algorithm . 77 4.2.2 Class . 78 4.2.3 Architecture . 79 4.2.4 Preprocessing . 83 4.2.5 Postprocessing . 84 4.2.6 Neurodynamics . 84 4.2.7 Error function . 85 4.2.8 Training . 86 4.2.9 Overfitting prevention . 87 4.3 Phase 2: Portfolio optimization . 88 4.3.1 Foreign exchange . 88 4.3.2 External specifications . 88 4.3.3 Portfolio optimization model . 88 4.3.4 Scenario generation . 90 4.3.5 Estimating the portfolio optimization parameters . 92 4.3.6 Solving the portfolio optimization problem . 93 4.4 Evaluation . 93 4.4.1 Phase 1 . 93 4.4.2 Phase 2 . 95 4.4.3 Summary of evaluation . 96 v CONTENTS 5 Results & Analyses 97 5.1 Phase 1: Neural Network . 97 5.1.1 Error function . 97 5.1.2 Hyper-parameters . 100 5.1.3 Results from the optimized neural networks . 102 5.1.4 Evaluation . 104 5.1.5 Sensitivity analysis . 106 5.1.6 Test for model convergence . 108 5.2 Phase 2: Portfolio optimization . 110 5.2.1 Results from estimated stochastic processes . 110 5.2.2 Results from portfolio optimization . 111 5.2.3 Evaluation . 114 5.3 Summary of results and analyses . 115 6 Conclusions & Discussion 116 6.1 Conclusions . 116 6.2 Discussion . 117 6.3 Ethical aspects . 120 Bibliography 120 A Variable declaration 128 B Data description 132 C Estimations of volatility and correlation 135 D Univariate distributions 140 E Plots for different error functions 143 F Resulting networks 150 G Out-of-sample performance 155 vi Chapter 1 Introduction It is widely accepted that predicting the future with 100 % accuracy is impossible. However, the famous French mathematician Henri Poincaré once said "It is far better to foresee even without certainty than not to foresee at all". What if an investor could foresee the statistical properties of financial times series? This thesis will try to improve estimation of expected return versus traditional models by using machine learning with the purpose of generating higher portfolio returns and in the end earn more money. Modern Portfolio Theory (MPT) is a commonly used investment model that assumes that an investor wants to maximize the expected return given an expected risk level, commonly measured by the standard deviation of the return (Markowitz, 1952). Hence, the model requires not only to estimate the future return, but also to estimate the risk of the portfolio. In MPT an optimal portfolio is defined as a portfolio where the investor is required to raise the risk level in order to achieve higher expected return. (Markowitz, 1952) As such, the investor needs to ately be able to predict both the return of a set of assets and the covariance matrix for the constituents in order to maintain optimal allocation of the assets within the portfolio. Black and Litterman (1992) argue that two fundamental problems with most quantitative portfolio models are to come up with reasonable forecasts of the return, and that small differences in the predicted expected return drastically changes the asset allocations of the portfolio. The Efficient Market Hypothesis (EMH) suggests that the asset prices on capital mar- kets fully reflect all the available information, and that new information instantly will be incorporated in the price. This implies that an investor cannot exploit any available information to forecast returns.
Recommended publications
  • A Relativistic Extension of Hopfield Neural Networks Via the Mechanical Analogy
    A relativistic extension of Hopfield neural networks via the mechanical analogy Adriano Barra,a;b;c Matteo Beccariaa;b and Alberto Fachechia;b aDipartimento di Matematica e Fisica Ennio De Giorgi, Universit`adel Salento, Lecce, Italy bINFN, Istituto Nazionale di Fisica Nucleare, Sezione di Lecce, Italy cGNFM-INdAM, Gruppo Nazionale per la Fisica Matematica, Sezione di Lecce, Italy E-mail: [email protected], [email protected], [email protected] Abstract: We propose a modification of the cost function of the Hopfield model whose salient features shine in its Taylor expansion and result in more than pairwise interactions with alternate signs, suggesting a unified framework for handling both with deep learning and network pruning. In our analysis, we heavily rely on the Hamilton-Jacobi correspon- dence relating the statistical model with a mechanical system. In this picture, our model is nothing but the relativistic extension of the original Hopfield model (whose cost function is a quadratic form in the Mattis magnetization which mimics the non-relativistic Hamiltonian for a free particle). We focus on the low-storage regime and solve the model analytically by taking advantage of the mechanical analogy, thus obtaining a complete characterization of the free energy and the associated self-consistency equations in the thermodynamic limit. On the numerical side, we test the performances of our proposal with MC simulations, showing that the stability of spurious states (limiting the capabilities of the standard Heb- bian
    [Show full text]
  • Optimization by Mean Field Annealing
    91 OPTIMIZATION BY MEAN FIELD ANNEALING Griff Bilbro Reinhold Mann Thomas K. Miller ECE Dept. Eng. Physics and Math. Div. ECE Dept. NCSU Oak Ridge N atl. Lab. NCSU Raleigh, NC 27695 Oak Ridge, TN 37831 Raleigh, N C 27695 Wesley. E. Snyder David E. Van den Bout Mark White ECE Dept. ECE Dept. ECE Dept. NCSU NCSU NCSU Raleigh, NC 27695 Raleigh, NC 27695 Raleigh, NC 27695 ABSTRACT Nearly optimal solutions to many combinatorial problems can be found using stochastic simulated annealing. This paper extends the concept of simulated annealing from its original formulation as a Markov process to a new formulation based on mean field theory. Mean field annealing essentially replaces the discrete de­ grees of freedom in simulated annealing with their average values as computed by the mean field approximation. The net result is that equilibrium at a given temperature is achieved 1-2 orders of magnitude faster than with simulated annealing. A general frame­ work for the mean field annealing algorithm is derived, and its re­ lationship to Hopfield networks is shown. The behavior of MFA is examined both analytically and experimentally for a generic combi­ natorial optimization problem: graph bipartitioning. This analysis indicates the presence of critical temperatures which could be im­ portant in improving the performance of neural networks. STOCHASTIC VERSUS MEAN FIELD In combinatorial optimization problems, an objective function or Hamiltonian, H(s), is presented which depends on a vector of interacting 3pim, S = {81," .,8N}, in some complex nonlinear way. Stochastic simulated annealing (SSA) (S. Kirk­ patrick, C. Gelatt, and M. Vecchi (1983)) finds a global minimum of H by com­ bining gradient descent with a random process.
    [Show full text]
  • 7Network Models
    7 Network Models 7.1 Introduction Extensive synaptic connectivity is a hallmark of neural circuitry. For ex- ample, a typical neuron in the mammalian neocortex receives thousands of synaptic inputs. Network models allow us to explore the computational potential of such connectivity, using both analysis and simulations. As illustrations, we study in this chapter how networks can perform the fol- lowing tasks: coordinate transformations needed in visually guided reach- ing, selective amplification leading to models of simple and complex cells in primary visual cortex, integration as a model of short-term memory, noise reduction, input selection, gain modulation, and associative mem- ory. Networks that undergo oscillations are also analyzed, with applica- tion to the olfactory bulb. Finally, we discuss network models based on stochastic rather than deterministic dynamics, using the Boltzmann ma- chine as an example. Neocortical circuits are a major focus of our discussion. In the neocor- tex, which forms the convoluted outer surface of the (for example) human brain, neurons lie in six vertical layers highly coupled within cylindrical columns. Such columns have been suggested as basic functional units, cortical columns and stereotypical patterns of connections both within a column and be- tween columns are repeated across cortex. There are three main classes of interconnections within cortex, and in other areas of the brain as well. Feedforward connections bring input to a given region from another re- feedforward, gion located at an earlier stage along a particular processing pathway. Re- recurrent, current synapses interconnect neurons within a particular region that are and top-down considered to be at the same stage along the processing pathway.
    [Show full text]
  • Chapter 14 Stochastic Networks
    14 Stochastic Networks 14.1 Variations of the Hopfield model In the previous chapter we showed that Hopfield networks can be used to provide solutions to combinatorial problems that can be expressed as the minimization of an energy function, although without guaranteeing global optimality. Once the weights of the edges have been defined, the network shows spontaneous computational properties. Harnessing this spontaneous dynamics for useful computations requires some way of avoiding falling into local minima of the energy function in such a way that the global minimum is reached. In the case of the eight queens problem, the number of local minima is much higher than the number of global minima and very often the Hopfield network does not stabilize at a correct solution. The issue to be investigated is therefore whether a certain variation of the Hopfield model could achieve better results in combinatorial optimization problems. One possible strategy to improve the global convergence properties of a network consists in increasing the number of paths in search space, in such a way that not only binary but also real-valued states become possible. Contin- uous updates of the network state become possible and the search for minima of the energy function is no longer limited to the corners of a hypercube in state space. All interior points are now legal network states. A continuous acti- vation function also makes it possible to describe more precisely the electrical circuits used to implement Hopfield networks. A second strategy to avoid local minima of the energy function consists in introducing noise into the network dynamics.
    [Show full text]
  • Statistical Computations Underlying the Dynamics of Memory Updating
    Statistical Computations Underlying the Dynamics of Memory Updating Samuel J. Gershman1*, Angela Radulescu2, Kenneth A. Norman2, Yael Niv2 1 Department of Brain and Cognitive Sciences, Massachusetts Institute of Technology, Cambridge, Massachussetts, United States of America, 2 Department of Psychology and Princeton Neuroscience Institute, Princeton University, Princeton, New Jersey, United States of America Abstract Psychophysical and neurophysiological studies have suggested that memory is not simply a carbon copy of our experience: Memories are modified or new memories are formed depending on the dynamic structure of our experience, and specifically, on how gradually or abruptly the world changes. We present a statistical theory of memory formation in a dynamic environment, based on a nonparametric generalization of the switching Kalman filter. We show that this theory can qualitatively account for several psychophysical and neural phenomena, and present results of a new visual memory experiment aimed at testing the theory directly. Our experimental findings suggest that humans can use temporal discontinuities in the structure of the environment to determine when to form new memory traces. The statistical perspective we offer provides a coherent account of the conditions under which new experience is integrated into an old memory versus forming a new memory, and shows that memory formation depends on inferences about the underlying structure of our experience. Citation: Gershman SJ, Radulescu A, Norman KA, Niv Y (2014) Statistical Computations Underlying the Dynamics of Memory Updating. PLoS Comput Biol 10(11): e1003939. doi:10.1371/journal.pcbi.1003939 Editor: Olaf Sporns, Indiana University, United States of America Received August 19, 2013; Accepted September 26, 2014; Published November 6, 2014 Copyright: ß 2014 Gershman et al.
    [Show full text]
  • Forecast of Consumer Behaviour Based on Neural Networks Models Comparison
    ACTA UNIVERSITATIS AGRICULTURAE ET SILVICULTURAE MENDELIANAE BRUNENSIS Volume LX 57 Number 2, 2012 FORECAST OF CONSUMER BEHAVIOUR BASED ON NEURAL NETWORKS MODELS COMPARISON M. Štencl, O. Popelka, J. Šťastný Received: November 30, 2011 Abstract ŠTENCL, POPELKA, ŠŤASTNÝ: Forecast of consumer behaviour based on neural networks models comparison. Acta univ. agric. et silvic. Mendel. Brun., 2012, LX, No. 2, pp. 437–442 The aim of this article is comparison of accuracy level of forecasted values of several artifi cial neural network models. The comparison is performed on datasets of Czech household consumption values. Several statistical models o en resolve this task with more or fewer restrictions. In previous work where models’ input conditions were not so strict and model with missing data was used (the time series didn’t contain many values) we have obtained comparably good results with artifi cial neural networks. Two views – practical and theoretical, motivate the purpose of this study. Forecasting models for medium term prognosis of the main trends of Czech household consumption is part of the faculty research design grant MSM 6215648904/03/02 (Sub-task 5.3) which defi nes the practical purpose. Testing of nonlinear autoregressive artifi cial neural network model compared with feed- forward neural network and radial basis function neural network defi nes the theoretical purpose. The performance metrics of the models were evaluated using a combination of common error metrics, namely Correlation Coeffi cient and Mean Square Error, together with the number of epochs and/or main prediction error. artifi cial neural networks, forecasting methods, customer behaviour Prediction of tendencies in consumer behaviour of statistical learning, but they are built on diff erent of Czech (or any other) households is one of key fundamentals.
    [Show full text]
  • Online Discrimination of Nonlinear Dynamics with Switching Differential Equations
    Online Discrimination of Nonlinear Dynamics with Switching Differential Equations Sebastian Bitzer, Izzet B. Yildiz and Stefan J. Kiebel Max Planck Institute for Human Cognitive and Brain Sciences, Leipzig fbitzer,yildiz,[email protected] Abstract How to recognise whether an observed person walks or runs? We consider a dy- namic environment where observations (e.g. the posture of a person) are caused by different dynamic processes (walking or running) which are active one at a time and which may transition from one to another at any time. For this setup, switch- ing dynamic models have been suggested previously, mostly, for linear and non- linear dynamics in discrete time. Motivated by basic principles of computations in the brain (dynamic, internal models) we suggest a model for switching non- linear differential equations. The switching process in the model is implemented by a Hopfield network and we use parametric dynamic movement primitives to represent arbitrary rhythmic motions. The model generates observed dynamics by linearly interpolating the primitives weighted by the switching variables and it is constructed such that standard filtering algorithms can be applied. In two experi- ments with synthetic planar motion and a human motion capture data set we show that inference with the unscented Kalman filter can successfully discriminate sev- eral dynamic processes online. 1 Introduction Humans are extremely accurate when discriminating rapidly between different dynamic processes occurring in their environment. For example, for us it is a simple task to recognise whether an observed person is walking or running and we can use subtle cues in the structural and dynamic pattern of an observed movement to identify emotional state, gender and intent of a person.
    [Show full text]
  • On the Mapping Between Hopfield Networks and Restricted Boltzmann
    Published as a conference paper at ICLR 2021 ON THE MAPPING BETWEEN HOPFIELD NETWORKS AND RESTRICTED BOLTZMANN MACHINES Matthew Smart Anton Zilman Department of Physics Department of Physics University of Toronto and Institute for Biomedical Engingeering [email protected] University of Toronto [email protected] ABSTRACT Hopfield networks (HNs) and Restricted Boltzmann Machines (RBMs) are two important models at the interface of statistical physics, machine learning, and neu- roscience. Recently, there has been interest in the relationship between HNs and RBMs, due to their similarity under the statistical mechanics formalism. An exact mapping between HNs and RBMs has been previously noted for the special case of orthogonal (“uncorrelated”) encoded patterns. We present here an exact map- ping in the case of correlated pattern HNs, which are more broadly applicable to existing datasets. Specifically, we show that any HN with N binary variables and p < N arbitrary binary patterns can be transformed into an RBM with N binary visible variables and p gaussian hidden variables. We outline the conditions under which the reverse mapping exists, and conduct experiments on the MNIST dataset which suggest the mapping provides a useful initialization to the RBM weights. We discuss extensions, the potential importance of this correspondence for the training of RBMs, and for understanding the performance of deep architectures which utilize RBMs. 1 INTRODUCTION Hopfield networks (HNs) (Hopfield, 1982; Amit, 1989) are a classical neural network architecture that can store prescribed patterns as fixed-point attractors of a dynamical system. In their standard formulation with binary valued units, HNs can be regarded as spin glasses with pairwise interactions Jij that are fully determined by the patterns to be encoded.
    [Show full text]
  • Generalization in a Hopfield Network J.F
    Generalization in a Hopfield network J.F. Fontanari To cite this version: J.F. Fontanari. Generalization in a Hopfield network. Journal de Physique, 1990, 51 (21), pp.2421- 2430. 10.1051/jphys:0199000510210242100. jpa-00212540 HAL Id: jpa-00212540 https://hal.archives-ouvertes.fr/jpa-00212540 Submitted on 1 Jan 1990 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. J. Phys. France 51 (1990) 2421-2430 ler NOVEMBRE 1990, 2421 Classification Physics Abstracts 87.10 - 64.60C Generalization in a Hopfield network J. F. Fontanari Instituto de Fisica e Quimica de São Carlos, Universidade de São Paulo, Caixa Postal 369, 13560 São Carlos SP, Brasil (Received 23 April 1990, accepted in final form 12 July 1990) Abstract. 2014 The performance of a Hopfield network in learning an extensive number of concepts having access only to a finite supply of typical data which exemplify the concepts is studied. The minimal number of examples which must be taught to the network in order it starts to create representations for the concepts is calculated analitically. It is shown that the mixture states play a crucial role in the creation of these representations.
    [Show full text]
  • A Novel Neural Network Training Framework with Data Assimilation
    A Novel Neural Network Training Framework with Data Assimilation Chong Chen1, *, Qinghui Xing1, Xin Ding1, Yaru Xue1, Tianfu Zhong1 1 College of Information Science and Engineering, China University of Petroleum – Beijing * Email: [email protected] Abstract In recent years, the prosperity of deep learning has revolutionized the Artificial Neural Networks. However, the dependence of gradients and the offline training mechanism in the learning algorithms prevents the ANN for further improvement. In this study, a gradient-free training framework based on data assimilation is proposed to avoid the calculation of gradients. In data assimilation algorithms, the error covariance between the forecasts and observations is used to optimize the parameters. Feedforward Neural Networks (FNNs) are trained by gradient decent, data assimilation algorithms (Ensemble Kalman Filter (EnKF) and Ensemble Smoother with Multiple Data Assimilation (ESMDA)), respectively. ESMDA trains FNN with pre-defined iterations by updating the parameters using all the available observations which can be regard as offline learning. EnKF optimize FNN when new observation available by updating parameters which can be regard as online learning. Two synthetic cases with the regression of a Sine Function and a Mexican Hat function are assumed to validate the effectiveness of the proposed framework. The Root Mean Square Error (RMSE) and coefficient of determination (R2) are used as criteria to assess the performance of different methods. The results show that the proposed training framework performed better than the gradient decent method. The proposed framework provides alternatives for online/offline training the existing ANNs (e.g., Convolutional Neural Networks, Recurrent Neural Networks) without the dependence of gradients.
    [Show full text]
  • Multi-Agent Market Modeling Based on Neural Networks
    MULTI-AGENT MARKET MODELING BASED ON NEURAL NETWORKS by RALPH GROTHMANN University of Bremen, Germany Siemens AG, Corporate Technology, Munich, Germany Thesis presented for the Degree of Doctor of Economics (Dr. rer. pol.) Faculty of Economics, University of Bremen, Germany Contents Acronyms xi List of Figures xiii List of Tables xvii 1 Introduction 1 2 Neural Networks: Introduction & Historical Notes 15 1. From Biological to Artificial Neurons 16 1.1 Biological Neurons 16 1.2 Artificial Neurons 18 1.3 Common Activation Functions 20 1.4 Neurons as Elementary Models of Decision Making 21 2. 3-Layer Feedforward Networks 23 2.1 Architecture of the Standard Model 24 2.2 Universal Functional Approximation Abilities 26 2.3 Representation of Temporal Structures 26 2.4 Input Preprocessing 27 2.5 The Dilemma of Overfitting 28 2.6 Early Stopping 29 2.7 Late Stopping 30 3. Historical Notes on Neural Networks 32 3.1 McCulloch and Pitts Model of a Neuron (1943) 33 3.2 Hebbian Learning Rule (1949) 33 3.3 Perceptron of Rosenblatt (1958) 34 3.4 Adaptive Linear Element (1960) 36 3.5 Minsky and Papert's Critics of Perceptrons (1969) 36 3.6 Self-Organizing Maps (1982) 37 3.7 Hopfield Networks (1982) 38 3.8 Boltzmann Machine (1985) 39 3.9 Standard Error Backpropagation (1974 & 1986) 41 v vi MULTI-AGENT MARKET MODELING BY NEURAL NETWORKS 3.10 Radial Basis Function Networks (1988) 42 3.11 Elman's Recurrent Neural Networks (1990) 42 3.12 Dilemma of Overfitting & Purely Data Driven Modeling 45 4. Preliminary Conclusion 46 3 Modeling Dynamical Systems by Feedforward Neural Networks 49 1.
    [Show full text]
  • Markov Transitions Between Attractor States in a Recurrent Neural Network
    Markov Transitions between Attractor States in a Recurrent Neural Network Jeremy Bernstein∗ Ishita Dasgupta∗ Computation and Neural Systems Department of Physics California Institute of Technology, USA Harvard University, USA [email protected] [email protected] David Rolnick∗ Haim Sompolinsky∗y Department of Mathematics The Edmond and Lily Safra Center for Brain Sciences Massachusetts Institute of Technology, USA Hebrew University of Jerusalem, Israel [email protected] [email protected] Stochasticity is an essential part of explaining the world. sition probabilities can also form the basis for neurally plau- Increasingly, neuroscientists and cognitive scientists are sible probabilistic inference on a discrete state space. identifying mechanisms whereby the brain uses probabilis- It is important here to distinguish between stochastic- tic reasoning in representational, predictive, and generative ity in our perception or neural representation of states, and settings. But stochasticity is not always useful: robust per- stochasticity incorporated into a computational step. The ception and memory retrieval require representations that first is unavoidable and due to noise in our sensory modali- are immune to corruption by stochastic noise. In an ef- ties and communication channels. The second is inherent to fort to combine these robust representations with stochastic a process the brain is carrying out in order to make proba- computation, we present an architecture that generalizes tra- bilistic judgments, and represents useful information about ditional recurrent attractor networks to follow probabilistic the structure of the environment. While it is difficult to Markov dynamics between stable and noise-resistant fixed tease apart these sources of noise and variability, (Beck et points.
    [Show full text]