Analog Value Associative Memory Using Restricted Boltzmann Machine Yuichiro Tsutsui and Masafumi Hagiwara†

Total Page:16

File Type:pdf, Size:1020Kb

Analog Value Associative Memory Using Restricted Boltzmann Machine Yuichiro Tsutsui and Masafumi Hagiwara† https://doi.org/10.20965/jaciii.2019.p0060 Tsutsui, Y. and Hagiwara, M. Paper: Analog Value Associative Memory Using Restricted Boltzmann Machine Yuichiro Tsutsui and Masafumi Hagiwara† Department of Information and Computer Science, Keio University 3-14-1 Hiyoshi, Kohoku-ku, Yokohama, Kanagawa 223-8522, Japan E-mail: {tsutsui,hagiwara}@soft.ics.keio.ac.jp †Corresponding author [Received March 9, 2018; accepted October 22, 2018] In this paper, we propose an analog value associa- the memory capacity by numerical experiments in the tive memory using Restricted Boltzmann Machine case where size of the network is small, the number of (AVAM). Research on treating knowledge is becoming neurons is 30. Boltzmann machine is a type of stochas- more and more important such as in natural language tic recurrent neural network and can be regarded as the processing and computer vision fields. Associative stochastic, generative counterpart of Hopfield network. memory plays an important role to store knowledge. In [19], compared with the capacity of Hopfield network, First, we obtain distributed representation of words denoting the number of neurons as N, around 0.14N,the with analog values using word2vec. Then the ob- capacity of the associative memory using Boltzmann ma- tained distributed representation is learned in the pro- chine is around 0.60N. The capacity becomes large, how- posed AVAM. In the evaluation experiments, we found ever, learning is very slow in Boltzmann machine with simple but very important phenomenon in word2vec many hidden layers because large networks should take method: almost all of the values in the generated vec- long time to approach their equilibrium distribution. tors are small values. By applying traditional normal- We have proposed a novel associative memory based ization method for each word vector, the performance on RBM (Restricted Boltzmann Machine) [20, 21]. How- of the proposed AVAM is largely improved. Detailed ever, since treating analog value is difficult, they are experimental evaluations are carried out to show su- converted to discrete values: it deteriorates memory ca- perior performance of the proposed AVAM. pacity. Usage of analog value is extremely effective in many fields especially in natural language processing. In this field, vector expression of words by word2vec Keywords: semantic network, Restricted Boltzmann Ma- method [22] was proposed and it has contributed rapid ad- chine, word2vec, associative memory vancement in this field such as machine translation [23], recommendation system [24, 25], dialog system [26], and so on. This is because similarity between words can be 1. Introduction easily calculated owing to the vector form. In addition, distributed representation has inherent ability to cope with Demands for knowledge processing have been increas- unlearned words by utilizing vector similarity. ing nowadays [1–3]. Several methods have been proposed In this paper, we propose an analog value associative to store knowledge in computers such as semantic net- memory using Restricted Boltzmann Machine (AVAM). work [4, 5], frame model [6, 7], ontology [8], and asso- In Section 2, we briefly explain Restricted Boltzmann ciative memories. Machine, and word2vec method [22]. In Section 3, pro- Especially, associative memories have been attracting posed analog value associative memory using Restricted much attention because of the following three kinds of Boltzmann Machine (AVAM) is explained. In Section 4, abilities; 1) the ability to correct faults if false information evaluation experiments are explained. Here, we found is input: 2) the ability to complete information if some very simple but very important phenomenon in word2vec parts are missing: 3) the ability to interpolate informa- method: almost all of the values in the generated vectors tion, that means if a pattern is not stored, the most similar are small values. By applying traditional normalization stored pattern could be retrieved. There are some original method for each word vector, the performance of the pro- associative memory models such as Willshaw model [9], posed AVAM is largely improved. Detailed experimental Associatron [10], Kohonen model [11], Hopfield Associa- evaluations are shown. Section 5 concludes this paper. tive Memory (HAM) [12, 13], Bidirectional Associative Memory (BAM) [14, 15], and Multidirectional Associa- tive Memory (MAM) [16]. Kojima et al. [17] applied Boltzmann machine learn- ing [18] to an associative memory model and evaluated 60 Journal of Advanced Computational Intelligence Vol.23 No.1, 2019 and Intelligent Informatics © Fuji Technology Press Ltd. Creative Commons CC BY-ND: This is an Open Access article distributed under the terms of the Creative Commons Attribution-NoDerivatives 4.0 International License (http://creativecommons.org/licenses/by-nd/4.0/). Analog Value Associative Memory Using RBM ⎧ ⎫ m ⎨⎪ 2 ⎬⎪ vi − ai − ∑ wijh j p(vi|h,θ) ∝ exp j= . (4) ⎩⎪ − 1 ⎭⎪ 2 2σi From the above equations, the visible layer follows the a + m w h Gaussian distribution with the mean i ∑ j=1 ij j and 2 the variance σi . Update rule for RBM is summarized as, Fig. 1. Structure of Restricted Boltzmann Machine. Δwij = ε(vih jdata −vih jmodel). ..... (5) Δai = ε(vidata −vimodel). ....... (6) 2. Restricted Boltzmann Machine and Δb j = ε(h jdata −h jmodel). ....... (7) word2vec Here, ε is the learning rate. Since the second term ·model is difficult to calculate, contrastive divergence 2.1. Restricted Boltzmann Machine (CD) learning method has been proposed [29]. Algorithm Restricted Boltzmann Machine (RBM) is a kind of neu- of contrastive divergence is summarized as, ( ) ral network and the structure is shown in Fig. 1. 1. Enter the training data v 0 in the visible layer. Generally it is used as a generative model [27]. In re- i (0) cent years, usage of RBM as an associative memory has 2. Calculate probability p j that h j becomes 1 based also been proposed [21, 28]. In this paper, we use RBM on the value of visible layer. as an associative memory. RBM has two layers of a vis- (0) 3. Determines the hidden layer value h according to ible layer and a hidden layer, and the nodes in the visi- j the binomial distribution. ble layer and the nodes in the hidden layer are bidirec- p(1) v tionally fully-connected. However, there is no connection 4. Calculate probability i that i becomes 1 based on between nodes in the visible layer and nodes in the hid- the value of the hidden layer. (1) den layer. Owing to the limitation, amount of calculations 5. Determines the visible layer value vi according to can be largely reduced. Regular RBM takes discrete val- the Gaussian distribution. ues for both visible layer and hidden layer. Such RBM (1) 6. Calculate probability p that h j becomes 1 based is called Bernoulli RBM [27]. In order to treat analog j on the value of visible layer. values, Gaussian- Bernoulli RBM [27] is employed in the proposed AVAM. 7. Repeat 2 ∼ 6forT times. In general, the number of iterations T should be small such as 1 [27]. 2.2. Learning of Gaussian-Bernoulli RBM (0) (0) (1) (1) Δwij = ε vi p j − pi p j . ...... (8) Let the value of ith node in the visible layer vi and the j h E value of -th node in the hidden layer j,energy in the Δa = ε v(0) − p(1) . network is expressed as [27], i i i .......... (9) (0) (1) Δb j = ε h − p . ..........(10) E(v,h,θ) j j n m n m (vi − ai)2 vi 2.3. word2vec = − ∑ − ∑ b jh j − ∑ ∑ wij h j. σ 2 σ i=1 2 i j=1 i=1 j=1 i word2vec [22] is a neural network that transforms ...................(1) words into a distributed representation. By using the dis- tributed representation of words, we can calculate the sim- a b Here, i is the bias in the visible layer, j is the bias ilarity between words. The similarity between word vec- w i in the hidden layer, and ij is the weight between the th tors p and q is given by the following equation. j θ node and the -th node. means all of the parameter set. p · q σi is the standard deviation in the training data. (p · q)= . cos |p|·|q| ..........(11) The state in the hidden layer is calculated as follows. n By learning from a large amount of sentences, similar p(h j = 1|v,θ)=ς1 b j + ∑ wijvi . .... (2) words become similar vectors [30]. word2vec is used i=1 in various research such as machine translation [23], rec- ommendation system [24, 25], and dialog system [26] as 1 ς (x)= . mentioned before. 1 + e−x ............ (3) 1 As a model of word2vec in this paper, we used the C- Here, ς1(x) means sigmoid function. State of visible layer BOW (continuous bag-of-words) model [31]. This is the is calculated as, standard model to learn distributed representation. Vol.23 No.1, 2019 Journal of Advanced Computational Intelligence 61 and Intelligent Informatics Tsutsui, Y. and Hagiwara, M. Table 1. Learning parameters for word2vec. Dimension of vector 200 Window size 8 Negative sampling 25 Down sample rate for high frequency words 1.0 · 10−4 Hierarchical soft-max none Number of repeated training 15 3. Both word1 layer and word2 layer are considered as one visible layer. Fig. 2. Structure of the proposed analog value associative memory using RBM (AVAM). 4. Activation of hidden layer from that of visible layer is calculated. 5. Activation of visible layer from that of hidden layer 3. Proposed Analog Value Associative Mem- is calculated. ory Using Restricted Boltzmann Machine 6. ‘apple’ vector is input to the word1 layer again. (AVAM) 7. Repeat 4 ∼ 6. 8. Vector in the word2 layer is regarded as the output. Figure 2 shows the structure of the proposed analog value associative memory using RBM (AVAM).
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]
  • 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.
    [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]