Reinforcement Learning with Convolutional Reservoir Computing

Total Page:16

File Type:pdf, Size:1020Kb

Reinforcement Learning with Convolutional Reservoir Computing Reinforcement Learning with Convolutional Reservoir Computing Han-ten Chang, Katsuya Futagami Graduate school of Systems and Information Engineering University of Tsukuba 1-1-1 Tennodai, Tsukuba, Ibaraki 305-8573, Japan fs1820554, [email protected] Abstract al. 2015) which selects samples that facilitate training. How- ever, the cost of a series of computations, from data collec- Recently, reinforcement learning models have achieved great success, mastering complex tasks such as Go and other games tion to action determination, remains high. with higher scores than human players. Many of these mod- The world model (Ha and Schmidhuber 2018) can also re- els store considerable data on the tasks and achieve high per- duce computational costs by completely separating the train- formance by extracting visual and time-series features using ing processes between the feature extraction model and the convolutional neural networks (CNNs) and recurrent neural action decision model. The world model trains the feature networks, respectively. However, these networks have very extraction model in a rewards-independent manner by using high computational costs because they need to be trained variational auto-encoder (VAE) (Kingma and Welling 2013; by repeatedly using the stored data. In this study, we pro- pose a novel practical approach called reinforcement learning Jimenez Rezende, Mohamed, and Wierstra 2014) and mix- with convolutional reservoir computing (RCRC) model. The ture density network combined with an RNN (MDN-RNN) RCRC model uses a fixed random-weight CNN and a reser- (Graves 2013). After extracting the environment state fea- voir computing model to extract visual and time-series fea- tures, it uses an evolution strategy method called the co- tures. Using these extracted features, it decides actions with variance matrix adaptation evolution strategy (CMA-ES) an evolution strategy method. Thereby, the RCRC model has (Hansen and Ostermeier 2001; Hansen 2016) to train the ac- several desirable features: (1) there is no need to train the fea- tion decision model. The world model can achieve outstand- ture extractor, (2) there is no need to store training data, (3) it ing scores in famous RL tasks. The separation of these two can take a wide range of actions, and (4) there is only a single models results in the stabilization of feature extraction and task-dependent weight parameter to be trained. Furthermore, reduction of parameters to be trained based on task-rewards. we show the RCRC model can solve multiple reinforcement learning tasks with a completely identical feature extractor. From the success of the world model, it is implied that in the RL feature extraction process, it is important to extract the features that express the environment state sufficiently Introduction rather than features trained to get higher rewards. Adopting Recently, reinforcement learning (RL) models have this idea, we propose a new method called “reinforcement achieved great success, mastering complex tasks such as learning with convolutional reservoir computing (RCRC)”. Go (Silver et al. 2016) and other games (Mnih et al. 2013; The RCRC model is inspired by the reservoir computing. Horgan et al. 2018; Kapturowski et al. 2019) with higher Reservoir computing (Lukoseviˇ ciusˇ and Jaeger 2009) is scores than human players. Many of these models use con- a kind of RNNs, and the model weights are set to random. arXiv:1912.04161v1 [cs.NE] 5 Dec 2019 volutional neural networks (CNNs) to extract visual features One of the reservoir computing models, the echo state net- directly from the environment state images (Arulkumaran work (ESN) (Jaeger 2001; Jaeger and Haas 2004) is used to et al. 2017). Some models use recurrent neural networks solve time-series tasks such as future value prediction. For (RNNs) to extract time-series features and achieved higher this, the ESN extracts features for the input signal based on scores (Hausknecht and Stone 2015). the dot product of the input signal and fixed random-weight However, these deep neural networks (DNNs) based mod- matrices generated without training. Surprisingly, features els are often very computationally expensive in that they obtained in this manner are expressive enough to understand train networks weights by repeatedly using a large volume of the input, and complex tasks such as chaotic time-series pre- past playing data and task-rewards. Certain techniques can diction can be solved by using them as the input for a linear alleviate these costs, such as the distributed approach (Mnih model. In addition, the ESN has solved various tasks in mul- et al. 2016; Horgan et al. 2018) which efficiently uses multi- tiple fields such as time-series classification (Tanisaro and ple agents, and the prioritized experienced replay (Schaul et Heidemann 2016; Ma et al. 2016) and Q-learning-based RL Copyright c 2020, Association for the Advancement of Artificial (Szita, Gyenes, and Lorincz˝ 2006). Similarly, in image clas- Intelligence (www.aaai.org). All rights reserved. sification, the model that uses features extracted by the CNN with fixed random-weights as the ESN input achieves high accuracy classification with a smaller number of parameters (Tong and Tanaka 2018). Based on the success of the fixed random-weight mod- els, the RCRC model extracts the visual features of the envi- ronment state using fixed random-weight CNN, and, using these features as the ESN input, extracts time-series features of the environment state transitions. After extracting the en- vironment state features, we use CMA-ES (Hansen and Os- termeier 2001; Hansen 2016) to train a linear transformation from the extracted features to the actions, as in the world Figure 1: Reservoir Computing overview for the time-series model. This model architecture results in the omission of prediction task. the training process of feature extractor and reduced com- putational costs; there is also no need to store past play- ing data. Furthermore, we show that the RCRC model can and the previous values, and W has two major hyperparam- solved multiple RL tasks with the completely identical struc- eters called sparsity and spectral radius. The sparsity is the ture and weights feature extractor. ratio of 0 elements in matrix W and the spectral radius is a Our contributions in this study are as follows: memory capacity parameter which is calculated by the max- imal absolute eigenvalue of W . • We developed a novel and widely applicable approach to Finally, the ESN estimates the target signal y = extract visual and time-series features of an RL environ- N×Dy fy(1); y(2); :::; y(t); :::; y(N)g 2 R as ment state using fixed random-weights networks feature extractor with no training. y(t) = W out[X(t); U(t); 1]: (3) • We developed the RCRC model that doesn’t need to store The weight matrix W out 2 RDy ×(Dx+Du+1) is estimated data and to train feature extractor. by a linear model such as ridge regression. An overview of • We showed that the RCRC model can solve different tasks reservoir computing is shown in Figure1. with training only a single task-dependent weight matrix The unique feature of the ESN is that the two matri- in and using the completely identical feature extractor. ces W and W are randomly generated from a probabil- ity distribution and fixed. Therefore, the training process in out Related Work the ESN consists only of a linear model to estimate W , hence the ESN has very low computational cost. In addi- Reservoir Computing tion, the reservoir state reflects complex dynamics despite Reservoir computing is one of the RNNs and it extracts fea- being obtained by random matrix transformation, and it is tures of the input without training for the feature extrac- possible to use it to predict complex time-series by a simple tion process. In this study, we focus on a reservoir comput- linear transformation (Jaeger 2001; Verstraeten et al. 2007; ing model, ESN (Jaeger 2001; Jaeger and Haas 2004). The Goudarzi et al. 2014). Because of the low computational cost ESN was initially proposed to solve time-series tasks (Jaeger and high expressiveness of the extracted features, the ESN 2001) and is regarded as an RNN model (Lukoseviˇ ciusˇ and is also used to solve other tasks such as time-series clas- Jaeger 2009; Lukoseviˇ ciusˇ 2012). sification (Tanisaro and Heidemann 2016; Ma et al. 2016), Let the N-length, Du-dimensional input signal be u = Q-learning-based RL (Szita, Gyenes, and Lorincz˝ 2006) and fu(1); u(2); :::; u(t); :::; u(N)g 2 RN×Du and the signal image classification (Tong and Tanaka 2018). that added one bias term to input signal be U = [u; 1] = N×(D +1) World Models fU(1);U(2); :::; U(T ); :::; U(N)g 2 R u . Let [;] be a vector concatenation. The ESN gets features called the The world model (Ha and Schmidhuber 2018) is one of the reservoir state X = fX(1); :::; X(t); :::; X(N)g 2 RN×Dx RL models that separates the training of the feature extrac- as follows: tion model and the action decision model to train the model more efficiently. It uses VAE (Kingma and Welling 2013; ~ in X(t + 1) = f(W U(t) + WX(t))) (1) Jimenez Rezende, Mohamed, and Wierstra 2014) and MDN- X(t + 1) = (1 − α)X(t) + αX~(t + 1) (2) RNN (Graves 2013) as feature extractors. They are trained in a reward-independent manner with randomly played 10000 where the matrices W in 2 R(Du+1)×Dx and W 2 RDx×Dx episodes data. As a result, in the feature extraction pro- are sampled from a probability distribution such as a Gaus- cess, the reward-based parameters are omitted, and there sian distribution, and f is the activation function which is remains a single weight parameter to be trained that de- applied element-wise.
Recommended publications
  • Froth Texture Analysis with Deep Learning
    Froth Texture Extraction with Deep Learning by Zander Christo Horn Thesis presented in partial fulfilment of the requirements for the Degree of MASTER OF ENGINEERING (EXTRACTIVE METALLURGICAL ENGINEERING) in the Faculty of Engineering at Stellenbosch University Supervisor Dr Lidia Auret Co-Supervisors Prof Chris Aldrich Prof Ben Herbst March 2018 Stellenbosch University https://scholar.sun.ac.za Declaration of Originality By submitting this thesis electronically, I declare that the entirety of the work contained therein is my own, original work, that I am the sole author thereof (save to the extent explicitly otherwise stated), that reproduction and publication thereof by Stellenbosch University will not infringe any third-party rights and that I have not previously in its entirety or in part submitted it for obtaining any qualification. Date: March 2018 Copyright © 2018 Stellenbosch University All rights reserved i Stellenbosch University https://scholar.sun.ac.za Abstract Soft-sensors are of interest in mineral processing and can replace slower or more expensive sensors by using existing process sensors. Sensing process information from images has been demonstrated successfully, but performance is dependent on feature extractors used. Textural features which utilise spatial relationships within images are preferred due to greater resilience to changing imaging and process conditions. Traditional texture feature extractors require iterative design and are sensitive to changes in imaging conditions. They may have many hyperparameters, leading to slow optimisation. Robust and accurate sensing is a key requirement for mineral processing, making current methods of limited potential under realistic industrial conditions. A platinum froth flotation case study was used to compare traditional texture feature extractors with a proposed deep learning feature extractor: convolutional neural networks (CNNs).
    [Show full text]
  • Multi-Layered Echo State Machine: a Novel Architecture and Algorithm
    Multi-layered Echo State Machine: A novel Architecture and Algorithm Zeeshan Khawar Malik, Member IEEE, Amir Hussain, Senior Member IEEE and Qingming Jonathan Wu1, Senior Member IEEE University of Stirling, UK and University of Windsor, Ontario, Canada1 Email: zkm, [email protected] and [email protected] Abstract—In this paper, we present a novel architecture and the model. Sequentially connecting each fixed-state transition learning algorithm for a multi-layered Echo State Machine (ML- structure externally with other transition structures creates ESM). Traditional Echo state networks (ESN) refer to a particular a long-term memory cycle for each. This gives the ML- type of Reservoir Computing (RC) architecture. They constitute ESM proposed in this article, the capability to approximate an effective approach to recurrent neural network (RNN) train- with better accuracy, compared to state-of-the-art ESN based ing, with the (RNN-based) reservoir generated randomly, and approaches. only the readout trained using a simple computationally efficient algorithm. ESNs have greatly facilitated the real-time application Echo State Network [20] is a popular type of reservoir of RNN, and have been shown to outperform classical approaches computing network mainly composed of three layers of ‘neu- in a number of benchmark tasks. In this paper, we introduce rons’: an input layer, which is connected with random and novel criteria for integrating multiple layers of reservoirs within an echo state machine, with the resulting architecture termed the fixed weights to the next layer, and forms the reservoir. The ML-ESM. The addition of multiple layers of reservoirs are shown neurons of the reservoir are connected to each other through a to provide a more robust alternative to conventional reservoir fixed random, sparse matrix of weights.
    [Show full text]
  • Text Classification Based on Multi-Granularity Attention Hybrid Neural Network
    TEXT CLASSIFICATION BASED ON MULTI-GRANULARITY ATTENTION HYBRID NEURAL NETWORK Zhenyu Liu Chaohong Lu Department of Science and Technology Teaching School of Computer and Science Technology China University of Political Science and Law University of Science and Technique of China Beijing 100088 Hefei, Anhui 230027 Haiwei Huang Shengfei Lyu School of Computer and Science Technology School of Computer and Science Technology University of Science and Technique of China University of Science and Technique of China Hefei, Anhui 230027 Hefei, Anhui 230027 Zhenchao Tao The First Affiliated Hospital University of Science and Technique of China Hefei, Anhui 230027 ABSTRACT Neural network-based approaches have become the driven forces for Natural Language Processing (NLP) tasks. Conventionally, there are two mainstream neural architectures for NLP tasks: the re- current neural network (RNN) and the convolution neural network (ConvNet). RNNs are good at modeling long-term dependencies over input texts, but preclude parallel computation. ConvNets do not have memory capability and it has to model sequential data as un-ordered features. Therefore, ConvNets fail to learn sequential dependencies over the input texts, but it is able to carry out high- efficient parallel computation. As each neural architecture, such as RNN and ConvNets, has its own pro and con, integration of different architectures is assumed to be able to enrich the semantic repre- sentation of texts, thus enhance the performance of NLP tasks. However, few investigation explores the reconciliation of these seemingly incompatible architectures. To address this issue, we propose a hybrid architecture based on a novel hierarchical multi-granularity attention mechanism, named Multi-granularity Attention-based Hybrid Neural Network (MahNN).
    [Show full text]
  • Output Neuron
    COMPUTATIONAL INTELLIGENCE (CS) (INTRODUCTION TO MACHINE LEARNING) SS16 Lecture 4: • Neural Networks Perceptron Feedforward Neural Network Backpropagation algorithM HuMan-level intelligence (strong AI) • SF exaMple: Marvin the Paranoid Android • www.youtube.coM/watch?v=z9Yp6D1ASnI HuMan-level intelligence (strong AI) • Robots that exhibit coMplex behaviour, as skilful and flexible as huMans, capable of: • CoMMunicating in natural language • Reasoning • Representing knowledge • Planning • Learning • Consciousness • Self-awareness • EMotions.. • How to achieve that? Any idea? NEURAL NETWORKS MOTIVATION The brain • Enables us to do soMe reMarkable things such as: • learning froM experience • instant MeMory (experiences) search • face recognition (~100Ms) • adaptation to a new situation • being creative.. • The brain is a biological neural network (BNN): • extreMely coMplex and highly parallel systeM • consisting of 100 billions of neurons coMMunicating via 100 trillions of synapses (each neuron connected to 10000 other neurons on average) • MiMicking the brain could be the way to build an (huMan level) intelligent systeM! Artificial Neural Networks (ANN) • ANN are coMputational Models that Model the way brain works • Motivated and inspired by BNN, but still only siMple iMitation of BNN! • ANN MiMic huMan learning by changing the strength of siMulated neural connections on the basis of experience • What are the different types of ANNs? • What level of details is required? • How do we iMpleMent and siMulate theM? ARTIFICIAL NEURAL NETWORKS
    [Show full text]
  • A Comprehensive Survey on Graph Neural Networks Zonghan Wu, Shirui Pan, Member, IEEE, Fengwen Chen, Guodong Long, Chengqi Zhang, Senior Member, IEEE, Philip S
    JOURNAL OF LATEX CLASS FILES, VOL. XX, NO. XX, AUGUST 2019 1 A Comprehensive Survey on Graph Neural Networks Zonghan Wu, Shirui Pan, Member, IEEE, Fengwen Chen, Guodong Long, Chengqi Zhang, Senior Member, IEEE, Philip S. Yu, Fellow, IEEE Abstract—Deep learning has revolutionized many machine example, we can represent an image as a regular grid in learning tasks in recent years, ranging from image classification the Euclidean space. A convolutional neural network (CNN) and video processing to speech recognition and natural language is able to exploit the shift-invariance, local connectivity, and understanding. The data in these tasks are typically represented in the Euclidean space. However, there is an increasing number compositionality of image data [9]. As a result, CNNs can of applications where data are generated from non-Euclidean do- extract local meaningful features that are shared with the entire mains and are represented as graphs with complex relationships data sets for various image analysis. and interdependency between objects. The complexity of graph While deep learning effectively captures hidden patterns of data has imposed significant challenges on existing machine Euclidean data, there is an increasing number of applications learning algorithms. Recently, many studies on extending deep learning approaches for graph data have emerged. In this survey, where data are represented in the form of graphs. For ex- we provide a comprehensive overview of graph neural networks amples, in e-commence, a graph-based learning system can (GNNs) in data mining and machine learning fields. We propose exploit the interactions between users and products to make a new taxonomy to divide the state-of-the-art graph neural highly accurate recommendations.
    [Show full text]
  • Genesis of Basic and Multi-Layer Echo State Network Recurrent Autoencoder for Efficient Data Representations
    1 Genesis of Basic and Multi-Layer Echo State Network Recurrent Autoencoder for Efficient Data Representations Naima Chouikhi, Member, IEEE, Boudour Ammar, Member, IEEE, Adel M. Alimi, Senior Member, IEEE Abstract—It is a widely accepted fact that data representations intervene noticeably in machine learning tools. The more they are well defined the better the performance results are. Feature extraction-based methods such as autoencoders are conceived for finding more accurate data representations from the original ones. They efficiently perform on a specific task in terms of: 1) high accuracy, 2) large short term memory and 3) low execution time. Echo State Network (ESN) is a recent specific kind of Recurrent Neural Network which presents very rich dynamics thanks to its reservoir-based hidden layer. It is widely used in dealing with complex non-linear problems and it has outperformed classical approaches in a number of tasks including regression, classification, etc. In this paper, the noticeable dynamism and the large memory provided by ESN and the strength of Autoencoders in feature extraction are gathered within an ESN Recurrent Autoencoder (ESN-RAE). In order to bring up sturdier alternative to conventional reservoir-based networks, not only single layer basic ESN is used as an autoencoder, but also Multi-Layer ESN (ML-ESN-RAE). The new features, once extracted from ESN’s hidden layer, are applied to classification tasks. The classification rates rise considerably compared to those obtained when applying the original data features. An accuracy-based comparison is performed between the proposed recurrent AEs and two variants of an ELM feed-forward AEs (Basic and ML) in both of noise free and noisy environments.
    [Show full text]
  • Arxiv:1705.04378V2 [Cs.NE] 20 Jul 2018 Enough Provisions, Thereby More Costly Supplementary Services [3, 4]
    An overview and comparative analysis of Recurrent Neural Networks for Short Term Load Forecasting Filippo Maria Bianchi1a, Enrico Maiorinob, Michael C. Kampffmeyera, Antonello Rizzib, Robert Jenssena aMachine Learning Group, Dept. of Physics and Technology, UiT The Arctic University of Norway, Tromsø, Norway bDept. of Information Engineering, Electronics and Telecommunications, Sapienza University, Rome, Italy Abstract The key component in forecasting demand and consumption of resources in a supply network is an accurate prediction of real-valued time series. Indeed, both service interruptions and resource waste can be reduced with the implementation of an effective forecasting system. Significant research has thus been devoted to the design and development of methodologies for short term load forecasting over the past decades. A class of mathematical models, called Recurrent Neural Networks, are nowadays gaining renewed interest among researchers and they are replacing many practical implementation of the forecasting systems, previously based on static methods. Despite the undeniable expressive power of these architectures, their recurrent nature complicates their understanding and poses challenges in the training procedures. Recently, new important families of recurrent architectures have emerged and their applicability in the context of load forecasting has not been investigated completely yet. In this paper we perform a comparative study on the problem of Short-Term Load Forecast, by using different classes of state-of-the-art Recurrent Neural Networks. We test the reviewed models first on controlled synthetic tasks and then on different real datasets, covering important practical cases of study. We provide a general overview of the most important architectures and we define guidelines for configuring the recurrent networks to predict real-valued time series.
    [Show full text]
  • The Nooscope Manifested Artificial Intelligence As Instrument Of
    The Nooscope Manifested Artificial Intelligence as Instrument of Knowledge Extractivism Matteo Pasquinelli and Vladan Joler 1. Some enlightenment regarding the project to mechanise reason. 2. The assembly line of machine learning: Data, Algorithm, Model. 3. The training dataset: the social origins of machine intelligence. 4. The history of AI as the automation of perception. 5. The learning algorithm: compressing the world into a statistical model. 6. All models are wrong, but some are useful. 7. World to vector. 8. The society of classification and prediction bots. 9. Faults of a statistical instrument: the undetection of the new. 10. Adversarial intelligence vs. statistical intelligence. 11. Labour in the age of AI. Full citation: Matteo Pasquinelli and Vladan Joler, “The Nooscope Manifested: Artificial Intelligence as Instrument of Knowledge Extractivism”, KIM research group (Karlsruhe University of Arts and Design) and Share Lab (Novi Sad), 1 May 2020 (preprint forthcoming for AI and Society). https://nooscope.ai 1 1. Some enlightenment regarding the project to mechanise reason. The Nooscope is a cartography of the limits of artificial intelligence, intended as a provocation to both computer science and the humanities. Any map is a partial perspective, a way to provoke debate. Similarly, this map is a manifesto — of AI dissidents. Its main purpose is to challenge the mystifications of artificial intelligence. First, as a technical definition of intelligence and, second, as a political form that would be autonomous from society and the human.1 In the expression ‘artificial intelligence’ the adjective ‘artificial’ carries the myth of the technology’s autonomy: it hints to caricatural ‘alien minds’ that self-reproduce in silico but, actually, mystifies two processes of proper alienation: the growing geopolitical autonomy of hi-tech companies and the invisibilization of workers’ autonomy worldwide.
    [Show full text]
  • Short-Term Load Forecasting Using Encoder-Decoder Wavenet: Application to the French Grid
    energies Article Short-Term Load Forecasting Using Encoder-Decoder WaveNet: Application to the French Grid Fernando Dorado Rueda 1, Jaime Durán Suárez 1 and Alejandro del Real Torres 2,* 1 IDENER, 41300 Seville, Spain; [email protected] (F.D.R.); [email protected] (J.D.S.) 2 Department of Systems and Automation, University of Seville, 41092 Seville, Spain * Correspondence: [email protected] Abstract: The prediction of time series data applied to the energy sector (prediction of renewable energy production, forecasting prosumers’ consumption/generation, forecast of country-level con- sumption, etc.) has numerous useful applications. Nevertheless, the complexity and non-linear behaviour associated with such kind of energy systems hinder the development of accurate algo- rithms. In such a context, this paper investigates the use of a state-of-art deep learning architecture in order to perform precise load demand forecasting 24-h-ahead in the whole country of France using RTE data. To this end, the authors propose an encoder-decoder architecture inspired by WaveNet, a deep generative model initially designed by Google DeepMind for raw audio waveforms. WaveNet uses dilated causal convolutions and skip-connection to utilise long-term information. This kind of novel ML architecture presents different advantages regarding other statistical algorithms. On the one hand, the proposed deep learning model’s training process can be parallelized in GPUs, which is an advantage in terms of training times compared to recurrent networks. On the other hand, the model prevents degradations problems (explosions and vanishing gradients) due to the Citation: Dorado Rueda, F.; Durán residual connections.
    [Show full text]
  • The Nooscope Manifested Artificial Intelligence As
    The Nooscope Manifested Artificial Intelligence as Instrument of Knowledge Extractivism Matteo Pasquinelli and Vladan Joler 1. Some enlightenment regarding the project to mechanise reason. 2. The assembly line of machine learning: Data, Algorithm, Model. 3. The training dataset: the social origins of machine intelligence. 4. The history of AI as the automation of perception. 5. The learning algorithm: compressing the world into a statistical model. 6. All models are wrong, but some are useful. 7. World to vector. 8. The society of classification and prediction bots. 9. Faults of a statistical instrument: the undetection of the new. 10. Adversarial intelligence vs. statistical intelligence. 11. Labour in the age of AI. Full citation: Matteo Pasquinelli and Vladan Joler, “The Nooscope Manifested: Artificial Intelligence as Instrument of Knowledge Extractivism”, KIM research group (Karlsruhe University of Arts and Design) and Share Lab (Novi Sad), 1 May 2020 (preprint forthcoming for AI and Society). https://nooscope.ai 1 1. Some enlightenment regarding the project to mechanise reason. The Nooscope is a cartography of the limits of artificial intelligence, intended as a provocation to both computer science and the humanities. Any map is a partial perspective, a way to provoke debate. Similarly, this map is a manifesto — of AI dissidents. Its main purpose is to challenge the mystifications of artificial intelligence. First, as a technical definition of intelligence and, second, as a political form that would be autonomous from society and the human.1 In the expression ‘artificial intelligence’ the adjective ‘artificial’ carries the myth of the technology’s autonomy: it hints to caricatural ‘alien minds’ that self-reproduce in silico but, actually, mystifies two processes of proper alienation: the growing geopolitical autonomy of hi-tech companies and the invisibilization of workers’ autonomy worldwide.
    [Show full text]
  • Introduction to Reservoir Computing Methods
    Alma Mater Studiorum · Universita` di Bologna CAMPUS DI CESENA SCUOLA DI SCIENZE Scienze e Tecnologie Informatiche Introduction to Reservoir Computing Methods Relatore: Presentata da: Chiar.mo Prof. Luca Melandri Andrea Roli Sessione III Anno Accademico 2013/2014 "An approximate answer to the right problem is worth a good deal more than an exact answer to an approximate problem." { John Tukey 1 Contents 1 Regressions Analysis 6 1.1 Methodology . .6 1.2 Linear Regression . .6 1.2.1 Gradient Descent and applications . .8 1.2.2 Normal Equations . .9 1.3 Logistic Regression . .9 1.3.1 One-vs-All . 11 1.4 Fitting the data . 11 1.4.1 Regularization . 11 1.4.2 Model Selection . 12 2 Neural Networks 14 2.1 Methodology . 14 2.2 Artificial Neural Networks . 14 2.2.1 Biological counterpart . 14 2.2.2 Multilayer perceptrons . 15 2.2.3 Train a Neural Network . 16 2.3 Artificial Recurrent Neural Networks . 19 2.3.1 Classical methods . 22 2.3.2 RNN Architectures . 22 3 Reservoir Computing 26 3.1 Methodology . 26 3.2 Echo State Network . 27 3.2.1 Algorithm . 29 3.2.2 Stability Improvements . 30 3.2.3 Augmented States Approach . 30 3.2.4 Echo node type . 31 3.2.5 Lyapunov Exponent . 31 3.3 Liquid State Machines . 32 3.3.1 Liquid node type . 34 2 3.4 Backpropagation-Decorrelation Learning Rule . 34 3.4.1 BPDC bases . 35 3.5 EVOlution of recurrent systems with LINear Output (Evolino) . 38 3.5.1 Burst Mutation procedure .
    [Show full text]
  • Applying Echo State Networks with Reinforcement Learning to the Foreign Exchange Market
    Applying Echo State Networks with Reinforcement Learning to the Foreign Exchange Market Michiel van de Steeg September, 2017 Master Thesis Artificial Intelligence University of Groningen, The Netherlands Internal Supervisor: Dr. Marco Wiering (Artificial Intelligence, University of Groningen) External Supervisor: MSc. Adrian Millea (Department of Computing, Imperial College London) 1 Contents 1 Introduction 4 1.1 The foreign exchange market . .4 1.2 Related work . .6 1.3 Research questions . .8 1.4 Outline . .9 2 Echo State Networks 10 2.1 Echo state networks . 10 2.1.1 Introduction . 10 2.1.2 ESN update and training rules . 10 2.1.3 The echo state property . 12 2.1.4 Important parameters . 12 2.1.5 Related work . 13 2.2 Particle swarm optimization . 16 2.3 Experiments . 17 2.3.1 Particle swarm optimization . 18 2.3.2 Size optimization . 19 2.3.3 Prediction . 20 2.3.4 Trading . 22 3 Training ESNs with Q-learning 26 3.1 How it works . 27 3.1.1 Inputs . 27 3.1.2 Reservoir . 28 3.1.3 Target output . 28 3.1.4 Regression . 29 3.1.5 Trading . 30 3.2 Experiments . 31 3.2.1 Reservoir and target . 31 3.2.2 Inputs . 32 3.2.3 Particle swarm optimization . 34 3.2.4 Reservoir size optimization . 36 3.2.5 Performance . 37 4 Discussion 46 4.1 Summary . 46 4.2 Research questions . 47 2 4.3 Discussion . 48 3 Chapter 1 Introduction In this thesis our main focus will be on finding good trading opportunities within the foreign exchange market.
    [Show full text]