Podejście agentowe w projektowaniu sieci RBF Agent-based approach to design of the RBFNs. I.Czarnowski

Podobne dokumenty
Hard-Margin Support Vector Machines

Neural Networks (The Machine-Learning Kind) BCS 247 March 2019

Zarządzanie sieciami telekomunikacyjnymi

Proposal of thesis topic for mgr in. (MSE) programme in Telecommunications and Computer Science

TTIC 31210: Advanced Natural Language Processing. Kevin Gimpel Spring Lecture 9: Inference in Structured Prediction

Machine Learning for Data Science (CS4786) Lecture 11. Spectral Embedding + Clustering

Linear Classification and Logistic Regression. Pascal Fua IC-CVLab

Revenue Maximization. Sept. 25, 2018

Machine Learning for Data Science (CS4786) Lecture11. Random Projections & Canonical Correlation Analysis

OpenPoland.net API Documentation

DUAL SIMILARITY OF VOLTAGE TO CURRENT AND CURRENT TO VOLTAGE TRANSFER FUNCTION OF HYBRID ACTIVE TWO- PORTS WITH CONVERSION

Network Services for Spatial Data in European Geo-Portals and their Compliance with ISO and OGC Standards

Helena Boguta, klasa 8W, rok szkolny 2018/2019

Rozpoznawanie twarzy metodą PCA Michał Bereta 1. Testowanie statystycznej istotności różnic między jakością klasyfikatorów

TTIC 31210: Advanced Natural Language Processing. Kevin Gimpel Spring Lecture 8: Structured PredicCon 2

Wprowadzenie do programu RapidMiner, część 5 Michał Bereta

Karpacz, plan miasta 1:10 000: Panorama Karkonoszy, mapa szlakow turystycznych (Polish Edition)

Realizacja systemów wbudowanych (embeded systems) w strukturach PSoC (Programmable System on Chip)

Tychy, plan miasta: Skala 1: (Polish Edition)

Wojewodztwo Koszalinskie: Obiekty i walory krajoznawcze (Inwentaryzacja krajoznawcza Polski) (Polish Edition)

Zakopane, plan miasta: Skala ok. 1: = City map (Polish Edition)

tum.de/fall2018/ in2357

MATLAB Neural Network Toolbox przegląd

Katowice, plan miasta: Skala 1: = City map = Stadtplan (Polish Edition)

Machine Learning for Data Science (CS4786) Lecture 24. Differential Privacy and Re-useable Holdout

European Crime Prevention Award (ECPA) Annex I - new version 2014

Wojewodztwo Koszalinskie: Obiekty i walory krajoznawcze (Inwentaryzacja krajoznawcza Polski) (Polish Edition)

Knovel Math: Jakość produktu

Akademia Morska w Szczecinie. Wydział Mechaniczny

Ontology-based system of job offers analysis

Analysis of Movie Profitability STAT 469 IN CLASS ANALYSIS #2

Politechnika Krakowska im. Tadeusza Kościuszki. Karta przedmiotu. obowiązuje studentów rozpoczynających studia w roku akademickim 2014/2015

No matter how much you have, it matters how much you need

Latent Dirichlet Allocation Models and their Evaluation IT for Practice 2016

KONSPEKT DO LEKCJI MATEMATYKI W KLASIE 3 POLO/ A LAYER FOR CLASS 3 POLO MATHEMATICS

Gradient Coding using the Stochastic Block Model

Weronika Mysliwiec, klasa 8W, rok szkolny 2018/2019

QUANTITATIVE AND QUALITATIVE CHARACTERISTICS OF FINGERPRINT BIOMETRIC TEMPLATES

Fig 5 Spectrograms of the original signal (top) extracted shaft-related GAD components (middle) and

EXAMPLES OF CABRI GEOMETRE II APPLICATION IN GEOMETRIC SCIENTIFIC RESEARCH

Łukasz Reszka Wiceprezes Zarządu

POLITYKA PRYWATNOŚCI / PRIVACY POLICY

Miedzy legenda a historia: Szlakiem piastowskim z Poznania do Gniezna (Biblioteka Kroniki Wielkopolski) (Polish Edition)

P R A C A D Y P L O M O W A

deep learning for NLP (5 lectures)

Label-Noise Robust Generative Adversarial Networks

ERASMUS + : Trail of extinct and active volcanoes, earthquakes through Europe. SURVEY TO STUDENTS.

Wprowadzenie do programu RapidMiner Studio 7.6, część 9 Modele liniowe Michał Bereta

Few-fermion thermometry

y = The Chain Rule Show all work. No calculator unless otherwise stated. If asked to Explain your answer, write in complete sentences.

Zmiany techniczne wprowadzone w wersji Comarch ERP Altum

Wprowadzenie do programu RapidMiner, część 2 Michał Bereta 1. Wykorzystanie wykresu ROC do porównania modeli klasyfikatorów

MaPlan Sp. z O.O. Click here if your download doesn"t start automatically

Convolution semigroups with linear Jacobi parameters

Krytyczne czynniki sukcesu w zarządzaniu projektami

OSI Data Link Layer. Network Fundamentals Chapter 7. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

WYDZIAŁ NAUK EKONOMICZNYCH. Studia II stopnia niestacjonarne Kierunek Międzynarodowe Stosunki Gospodarcze Specjalność INERNATIONAL LOGISTICS

Instrukcja obsługi User s manual


OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

DOI: / /32/37

Analiza Sieci Społecznych Pajek

SSW1.1, HFW Fry #20, Zeno #25 Benchmark: Qtr.1. Fry #65, Zeno #67. like

Cel szkolenia. Konspekt

Compressing the information contained in the different indexes is crucial for performance when implementing an IR system

Instructions for student teams

STATISTICAL METHODS IN BIOLOGY

Wydział Fizyki, Astronomii i Informatyki Stosowanej Uniwersytet Mikołaja Kopernika w Toruniu

ARNOLD. EDUKACJA KULTURYSTY (POLSKA WERSJA JEZYKOWA) BY DOUGLAS KENT HALL

Testy jednostkowe - zastosowanie oprogramowania JUNIT 4.0 Zofia Kruczkiewicz

Planning and Cabling Networks

Zaawansowane metody programowania. Algorytmy

Prices and Volumes on the Stock Market

Wojewodztwo Koszalinskie: Obiekty i walory krajoznawcze (Inwentaryzacja krajoznawcza Polski) (Polish Edition)

Space for your logo, a photograph etc. Action (WBU)

Updated Action Plan received from the competent authority on 4 May 2017

Systemy wbudowane. Poziomy abstrakcji projektowania systemów HW/SW. Wykład 9: SystemC modelowanie na różnych poziomach abstrakcji

MS Visual Studio 2005 Team Suite - Performance Tool

archivist: Managing Data Analysis Results

Przewody do linii napowietrznych Przewody z drutów okrągłych skręconych współosiowo

Previously on CSCI 4622

PRZEWODNIK PO PRZEDMIOCIE. Negotiation techniques. Management. Stationary. II degree

Ethernet. Ethernet. Network Fundamentals Chapter 9. Podstawy sieci Rozdział 9

Patients price acceptance SELECTED FINDINGS

Analiza Sieci Społecznych Pajek

Effective Governance of Education at the Local Level

Instrukcja konfiguracji usługi Wirtualnej Sieci Prywatnej w systemie Mac OSX

Unit of Social Gerontology, Institute of Labour and Social Studies ageing and its consequences for society

Stargard Szczecinski i okolice (Polish Edition)

OSI Physical Layer. Network Fundamentals Chapter 8. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Domy inaczej pomyślane A different type of housing CEZARY SANKOWSKI

Sustainable mobility: strategic challenge for Polish cities on the example of city of Gdynia

SNP SNP Business Partner Data Checker. Prezentacja produktu

UMOWY WYPOŻYCZENIA KOMENTARZ

Inverse problems - Introduction - Probabilistic approach

OPTYMALIZACJA PUBLICZNEGO TRANSPORTU ZBIOROWEGO W GMINIE ŚRODA WIELKOPOLSKA

Presented by. Dr. Morten Middelfart, CTO

Wprowadzenie do programu RapidMiner, część 3 Michał Bereta

EGZAMIN MATURALNY Z JĘZYKA ANGIELSKIEGO POZIOM ROZSZERZONY MAJ 2010 CZĘŚĆ I. Czas pracy: 120 minut. Liczba punktów do uzyskania: 23 WPISUJE ZDAJĄCY

Why do I need a CSIRT?

Transkrypt:

Podejście agentowe w projektowaniu sieci RBF Agent-based approach to design of the RBFNs Irek Czarnowski e-mail: i.czarnowski@wpit.am.gdynia.pl III spotkanie polskiej grupy badawczej systemów uczących się Wrocław, 17-18 marca 2014r. I.Czarnowski Podejście agentowe w projektowaniu sieci RBF

Radial basis function networks (RBFNs) are a popular type of feedforward networks The RBF networks can be considered as universal approximation tools similarly to multilayer perceptrons (MLPs) RBFNs usually achieve faster convergence than MLPs I.Czarnowski Podejście agentowe w projektowaniu 2

Perceptron Dendrites Axon Cell Body Synapse I.Czarnowski Podejście agentowe w projektowaniu 3

MLP Networks There are several issues involved in designing and training a multilayer perceptron network: Selecting how many hidden layers to use in the network Deciding how many neurons to use in each hidden layer Finding a globally optimal solution that avoids local minima Converging to an optimal solution in a reasonable period of time www.dtreg.com/mlfn.htm I.Czarnowski Podejście agentowe w projektowaniu 7

RBF Networks Weights of the input layer => kernels of the basis functions Hidden layer consists of hidden neurons with radial basis function I.Czarnowski Podejście agentowe w projektowaniu 8

The performance of the RBF network The performance depends on numerous factors: Number of hidden units Number of centroids and their location Types of transfer functions Shape parameters of transfer functions the shape of radial basis functions should be changed depending on the data distribution. Such a flexibility should result in assuring better approximation effect in comparison with other approaches, where, for example, radial basis function parameters are set by some ad hoc criterion In: Hanrahan, G.: Artificial Neural Networks in Biological., 2011 Fixing centroids decrease chances to find optimal neural network structure. In: Wang, L., Yoang, B., Chen, Y., Abraham, A., Sun, H., Chen, Z., Wang, H., Improvemenat of neural network classifiers using floating, 2012 The feature of the universal transfer function is an ability to change shape smoothly from one function form to another In: Hoffmann G.A.: Adaptive Transfer Function., 2004 The choice of transfer functions may strongly influence complexity and performance of neural networks used in classification and approximation tasks I.Czarnowski Podejście agentowe w projektowaniu 10

RBFN Designing Initialization Weights estimation I.Czarnowski Podejście agentowe w projektowaniu 11

RBFN Designing The RBF design problem boils down to following tasks: INITIALIZATION How to determine centroids and their locations? How to determine the parameters associated with the radial-basis functions in the hidden layer? Which type of transfer function should be used? WEIGHTS ESTIMATION How to train the hidden-to-output weights? I.Czarnowski Podejście agentowe w projektowaniu 12

RBFN Designing Selection of method to calculate cluster centroids together with their parameters Random selection Clustering Sequential growing Systematic seeding Editing techniques A similarity-based approach is proposed to initialize clusters. from clusters prototypes are selected. It is assumed that www.practicaldb.com/data-visualization-consulting I.Czarnowski Podejście agentowe w projektowaniu 13

Algorithm for Similarity-Based Clustering Input: X - the matrix containing values of all instances from the training set, where X = {x ij :i = 1,,N; j = 1,, n + 1}, n + 1 element contains the class label with value from the finite set of class labels C = {c l : l = 1,,k} Output: clusters from which prototypes can be selected 1. Transform data instances: each {x ij } for i=1,,n and j=1,,n is normalized into interval [0,1] and then rounded to the nearest integer, that is 0 or 1 2. Calculate values: s j = N = i 1 x ij, where j = 1,..., n. 3. a) For classification problem: For l=1 to k do For instances from X, belonging to the class c l, calculate the value of its similarity coefficient I i : n = = x i + = c l I x s,where i 1,..., N. x :, n 1 i ij j = j 1 b) For regression problem: For each instance from X calculate the value of its similarity coefficient I i : I i = n = j 1 4. Map input vectors from X with the same value of similarity coefficient I i into clusters x ij s j, where i = 1,..., N. 5. Let Y 1,...,Y t denote the obtained clusters such that D = Y and Y Y =. U t i=1 i i j: i, j= 1,..., t i j I.Czarnowski Podejście agentowe w projektowaniu 2

RBFN Designing Selection of output functions of the RBF hidden units together with their parameters The Gaussian function G r ( ) 2 b ( r, b) = e r= x-c is a norm function, c is a centroid, b is a value of dispersion of the radial basis function The bicentral functions N s b G( x, c, b, s) = σ ( e i ( x c + e i ))(1 σ ( e = i 1 i i c is a centroid, b is a corresponding width of the radial basis function, N is a dimension of the instacnes, s represents a slope of the function, σ is a sigmoid function s ' i ( x i c i e b i ))) I.Czarnowski Podejście agentowe w projektowaniu 15

RBFN Designing Data Dimensionality Reduction Class-independent feature selection Class-dependent feature selection Cluster-dependent feature selection Source: Lipo Wang, Xiuju Fu, A Rule Extraction System with Class-Dependent Features Evolutionary Computation in Data Mining. Studies in Fuzziness and Soft Computing Volume 163, 2005, pp 79-99 www.evolved-analytics.com I.Czarnowski Podejście agentowe w projektowaniu 16

Agent-Based Approach to RBFN The RBF network designing is a process, where the set of parameters needs to be calculated or drawn. different It is performed during the RBFN tuning The RBF neural network initialization (and training) belong to the class of computationally difficult combinatorial optimization problems, thus it is reasonable to apply to solve this task one of the known metaheuristics An agent-based population learning algorithm is proposed to Producing clusters and determining their centroids Determining the kind of transfer function for each hedden units and other parameters of the transfer function Determining the hidden-to-output weights I.Czarnowski Podejście agentowe w projektowaniu 17

Agent-Based Population Learning Algorithm Main features of the agent-based population learning algorithm: The A-Team architecture, as a problem-solving paradigm, has been used to design the population learning algorithm The A-Team architecture was originally proposed by S. Talukdar as a set of objects including multiple agents and memories which through interactions produce solutions of optimisation problems A-Team Asynchronous Team, where all agents can work asynchronously and in parallel Within an A-Team agents achieve an implicit cooperation by sharing a population of solutions Each agent possesses some problem-solving skills and each memory contains a population of temporary solutions to the problem at hand During their work agents cooperate to construct, find and improve solutions which are read from the shared, common memory I.Czarnowski Podejście agentowe w projektowaniu 18

Agent-Based Population Learning Algorithm The functionality of the algorithm is implemented by two types of agents: Optimizing agent (agent optymalizacyjny) Solution manager (agent nadzorujący) A-Team Architekture: Common, shared memory Solution manager Optimizing agent Optimizing agent Optimizing agent Optimizing agent Optimizing agent I.Czarnowski Podejście agentowe w projektowaniu 19

Agent-Based Population Learning Algorithm Process of searching for the best solution involves the following steps: Generation of the initial population of solutions to be stored in the common memory Activation of optimizing agents which apply solution improvement procedures to solutions drawn from the common memory and store them back after the attempted improvement applying some user defined replacement strategy Continuation of the reading-improving-replacing cycle until a stopping criterion is met. After computation has been stopped the best solution achieved so far is accepted as final I.Czarnowski Podejście agentowe w projektowaniu 20

Agent-Based Population Learning Algorithm I.Czarnowski Podejście agentowe w projektowaniu 21

Agent-Based Population Learning Algorithm To implement the agent-based population learning algorithm one has to set and dene the following: Solution representation format Initial population of individuals Fitness function Improvement procedures Replacement strategy implemented for managing the population of individuals I.Czarnowski Podejście agentowe w projektowaniu 22

Agent-Based Population Learning Algorithm for RBFN The main goal is to find the optimal set of RBF network parameters with respect to: Producing clusters and determining their centroids (including cluster-dependent feature selection) Determining the kind of transfer function for each hidden units and other parameters of the transfer function Determining output weights of the RBF network. I.Czarnowski Podejście agentowe w projektowaniu 23

Agent-Based Population Learning Algorithm for RBFN The basic assumptions are following: Shared memory of the A-Team is used to store a population of solutions to the RBFN considered problem A solution is represented by a string consisting of two parts: The first contains integers representing numbers of instances selected as centroids The second part consists integers representing numbers of feature selected for each centroid The third part consists of real numbers for representing left and right slope of the transfer functions The fourth part consists of real numbers for representing weights of connections between neurons of the network The initial population is generated randomly Initially, the numbers included in the solutions are generated randomly Each solution from the population is evaluated and the value of its fitness is calculated The evaluation is carried out by estimating classification accuracy or error approximation of the RBFN, assuming it is initialized using centroids, set of transfer function parameters and set of weights as indicated by the solution produced by the proposed approach. I.Czarnowski Podejście agentowe w projektowaniu 24

Agent-Based Population Learning Algorithm for RBFN Determining the kind of transfer function The number of cluster centroids determines the kind of transfer function associated with a given hidden unit When only one centroid is selected, the output of the RBF hidden unit is calculated using the Gaussian function When the number of selected centroids is greater than one the output of the RBF hidden unit is calculated using the bicentral function I.Czarnowski Podejście agentowe w projektowaniu 25

Agent-Based Population Learning Algorithm for RBFN To solve the RBFN tuning problem four groups of optimizing agents have been considered The first group includes agents executing procedures for centroid selection The second group includes agents executing procedures for clusterdependent feature selection Local search with the tabu list for prototype selection Simple local search The third group of optimizing agents includes procedures for estimation of the slope parameters Standard mutation Non-uniform mutation The fourth group of optimizing agents includes procedures for estimation of the output weights Gradient mutation Grudient adjustment I.Czarnowski Podejście agentowe w projektowaniu 26

Computational Experiments The experiment aimed at answering the following basic questions: Does the proposed RBFN designing approach perform better than classical methods to RBFN initialization, training? Does the agent-based RBF network (ABRBFN) is competitive with other algorithms? I.Czarnowski Podejście agentowe w projektowaniu 27

Computational Experiments I.Czarnowski Podejście agentowe w projektowaniu 28

Computational Experiments I.Czarnowski Podejście agentowe w projektowaniu 29

Computational Experiments I.Czarnowski Podejście agentowe w projektowaniu 30

Conclusions Proposing an integrated and customized approach to designing RBFNs, where the resulting network fits to measure to the particular training dataset Important feature of the approach is that the clusters, location of prototypes, type of the transfer function and its parameters, and the output weights are integrated into a single optimization problem and are determined jointly and in parallel using a set of dedicated agents Proposing an approach having the following features making the RBFN design more flexible: Structure of the RBNs is automatically initialized Locations of centroids within clusters can be modified during the training process Type of transfer function is determined during the training process There is a possibility of producing a heterogeneous structure of the network I.Czarnowski Podejście agentowe w projektowaniu 31

Bibliography Czarnowski I., Jędrzejowicz P.: Designing RBF Networks Using the Agent-Based Population Learning Algorithm. Cybernetics and Systems (2014) - in print Czarnowski I., Jędrzejowicz P.: Agent-Based Population Learning Algorithm for RBF Network Tuning. In: Rutkowski L., Korytkowski M., Scherer R., Tadeusiewicz R., Zadeh A.L., Zurada J.M. (Eds.): Artificial Intelligence and Soft Computing, ICAISC 2013, LNAI 7894, pp. 41-51 Springer 2013, Berlin-Heidelberg Czarnowski I., Jędrzejowicz P.: Agent-Based Approach to the Design of RBF Networks. Cybernetics and Systems 44(2-3): 155-172 (2013) Czarnowski I., Jędrzejowicz P.: An Approach to Cluster Initialization for RBF Networks. In: Frontiers of Artificial Intelligence and Applications, IOS Press 2012. Czarnowski I., Jędrzejowicz P.: An agent-based approach to ANN training. Knowledge- Based Systems 19, Elsevier 2006, p. 304-308 Czarnowski I, Jędrzejowicz P.: Implementation and Performance Evaluation of the Agent-Based Algorithm for ANN Training. KES Knowledge-Based and Intelligent Engineering Systems. IOS Press, Vol. 14(1), 2010, p. 1-10 I.Czarnowski Podejście agentowe w projektowaniu 32

Parallel Implementation of A-Team for NN I.Czarnowski Podejście agentowe w projektowaniu 33

Parallel Implementation of A-Team for NN I.Czarnowski Podejście agentowe w projektowaniu 34

Parallel Implementation of A-Team for NN I.Czarnowski Podejście agentowe w projektowaniu 35

JABAT Barbucha, D., Czarnowski, I., Jędrzejowicz, P., Ratajczak, E., Wierzbowska, I.: JADE- Based A-Team as a Tool for Implementing Population-Based Algorithms. In: Y. Chen, A. Abraham, Intelligent Systems Design and Applications, ISDA, Jinan Shandong China, IEEE Los Alamos, pp. 144 149 (2006) I.Czarnowski Podejście agentowe w projektowaniu 36

JABAT I.Czarnowski Podejście agentowe w projektowaniu 37

JABAT Use diagram of the functionality of JABAT I.Czarnowski Podejście agentowe w projektowaniu 38

JABAT Use diagram of JABAT from the agents point of view I.Czarnowski Podejście agentowe w projektowaniu 39

JABAT UML sequence diagram of the process of solving an instance of a problem I.Czarnowski Podejście agentowe w projektowaniu 40

JABAT UML state transition diagram of the OptiAgent I.Czarnowski Podejście agentowe w projektowaniu 41

JABAT UML sequence diagram of the agents mobility in JABAT I.Czarnowski Podejście agentowe w projektowaniu 42

Agent-Based Optimization Czarnowski, Ireneusz, Jędrzejowicz drzejowicz, Piotr, Kacprzyk, Janusz (Eds.), Agent-Based Optimization, Studies in Computational Intelligence, Vol. 456, 2013 I.Czarnowski Podejście agentowe w projektowaniu 43

Summary I.Czarnowski Podejście agentowe w projektowaniu 44

Summary I.Czarnowski Podejście agentowe w projektowaniu 45

Thank you for your attention! I.Czarnowski Podejście agentowe w projektowaniu 46