CS 556: Computer Vision Lecture 10

Total Page:16

File Type:pdf, Size:1020Kb

CS 556: Computer Vision Lecture 10 CS 556: Computer Vision Lecture 10 Prof. Sinisa Todorovic [email protected] 1 Deep Convolutional Neural Networks (DCNN) Feature extraction using Classification using convolutional layers multilayer perceptron (MLP) 2 DCNN — Classification — Logistic Regression sigmoid function x1 input vector x2 x3 bias +1 learned parameters of logistic regression 3 DCNN — Classification — Multilayer Perceptron Example 4-layer MLP with 2 output units for predicting 2 classes: x1 input x2 x3 +1 bias Layer 4 bias +1 bias +1 Layer 3 Layer 1 Layer 2 Also called fully connected layers with the final softmax layer 4 DCNN — Convolutional Layer Feature extraction using convolutional layers 5 Convolution filter previous level 6 DCNN — Convolutional Layer — Three Stages 7 DCNN — Convolutional Layer — Three Stages 8 DCNN — Convolutional Layer — Three Stages 9 DCNN — Convolutional Layer — Multiple Filters … 10 DCNN — Convolutional Layer — Multiple Filters 11 Fully Connected Layer Examples of Learned Filters in DCNN facesFaces Carscars elephantsElephants chairsChairs Higher layers learn more meaningful (abstract) features 13 Training Neural Nets — Two Stages — MATLAB 1. Unsupervised training of each individual layer using autoencoder 2. Fine-tuning of all layers using backpropagation Example Neural Network for Classifying 10 classes: images 100 hidden 50 hidden 10 output 28x28=784 nodes nodes nodes 14 Autoencoder — MATLAB — Example training by minimizing mean squared error between input and output 15 Autoencoder — MATLAB — Example training by minimizing mean squared error between input and output images labels % Load the training data into memory [xTrainImages, tTrain] = digittrain_dataset; % Display some of the training images clf for i = 1:20 subplot(4,5,i); imshow(xTrainImages{i}); end 16 Autoencoder — MATLAB — Example training by minimizing mean squared error between input and output rng(‘default') % set the random number generator seed hiddenSize1 = 100; % set the number of hidden nodes in Layer 1 autoenc1 = trainAutoencoder(xTrainImages,hiddenSize1, ... 'MaxEpochs',400, ... 'L2WeightRegularization',0.004, ... 'SparsityRegularization',4, ... 'SparsityProportion',0.15, ... 'ScaleData', false); plotWeights(autoenc1); 17 Autoencoder — MATLAB — Example training by minimizing mean squared error between input and output rng(‘default') % set the random number generator seed hiddenSize = 100; % set the number of hidden nodes in Layer 1 autoenc1 = trainAutoencoder(xTrainImages,hiddenSize1, ... 'MaxEpochs',400, ... 'L2WeightRegularization',0.004, ... 'SparsityRegularization',4, ... 'SparsityProportion',0.15, ... 'ScaleData', false); plotWeights(autoenc1); continue training the next layer 18 Autoencoder — MATLAB — Example — Next Layer training by minimizing mean squared error between input and output outputs of 50 hidden 100 hidden nodes nodes feat1 = encode(autoenc1,xTrainImages); hiddenSize2 = 50; % set the number of hidden nodes in Layer 2 autoenc2 = trainAutoencoder(feat1,hiddenSize2, ... 'MaxEpochs',100, ... 'L2WeightRegularization',0.002, ... 'SparsityRegularization',4, ... 'SparsityProportion',0.1, ... 'ScaleData', false); continue training the next layer 19 Softmax Layer — MATLAB — Example outputs of 10 output 50 hidden nodes nodes feat2 = encode(autoenc2,feat1); softnet = trainSoftmaxLayer(feat2,tTrain,’MaxEpochs',400); deepnet = stack(autoenc1,autoenc2,softnet); % stack all layers view(deepnet) 20 Classification using Neural Nets — MATLAB — Example images labels % Load the test images [xTestImages, tTest] = digittest_dataset; y = deepnet(xTest); plotconfusion(tTest,y); 21 Classification using Neural Nets after Fine-Tuning images labels % Perform fine tuning deepnet = train(deepnet,xTrain,tTrain); y = deepnet(xTest); plotconfusion(tTest,y); 22 Fine-Tuning using Error Backpropagation target kth output Goal: Minimize the error function 23 Fine-Tuning using Error Backpropagation all parameters kth target kth output Gradient descent: 24 Chain Rule for Level L single parameter from j-th node at level L-1 to k-th node at level L x1 x2 … x3 … 1+1 25 Chain Rule for Level L single parameter from j-th node at level L-1 to k-th node at level L 26 Chain Rule for Level L single parameter from j-th node at level L-1 to k-th node at level L 27 Chain Rule for Level L single parameter from j-th node at level L-1 to k-th node at level L 28 Chain Rule for Level L single parameter from j-th node at level L-1 to k-th node at level L 29 Chain Rule for Level L single parameter from j-th node at level L-1 to k-th node at level L 30 Chain Rule for Level L single parameter from j-th node at level L-1 to k-th node at level L 31 Chain Rule for Level L single parameter from j-th node at level L-1 to k-th node at level L 32 Fine-Tuning for Level L all parameters kth target kth output Gradient descent: 33 Chain Rule for Level L-1 single parameter from i-th node at level L-2 to j-th node at level L-1 x1 x1 x1 x2 x2 x2 x3 x3 x3 +1 +1 +1 34 Chain Rule for Level L-1 single parameter from i-th node at level L-2 to j-th node at level L-1 x1 x1 x1 x2 x2 x2 x3 x3 x3 +1 +1 +1 gradient descent: 35 Chain Rule for Level L-1 single parameter from i-th node at level L-2 to j-th node at level L-1 x1 x1 x1 x2 x2 x2 x3 x3 x3 +1 +1 +1 36 Chain Rule for Level L-1 single parameter from i-th node at level L-2 to j-th node at level L-1 x1 x1 x1 x2 x2 x2 x3 x3 x3 +1 +1 +1 37 Chain Rule for Level L-1 single parameter from i-th node at level L-2 to j-th node at level L-1 x1 x1 x1 x2 x2 x2 x3 x3 x3 +1 +1 +1 38 Fine-Tuning for Any Level l Gradient descent: where the deltas can be back-propagated: 39 Error Backpropagation — Example 40 Error Backpropagation — Example 41 Error Backpropagation — Example 42 Error Backpropagation — Example 43 Error Backpropagation — Example 44 Error Backpropagation — Example 45 Error Backpropagation — Example 46 Error Backpropagation — Example 47 Error Backpropagation — Example 48 Error Backpropagation — Example 49 Error Backpropagation — Example 50 Error Backpropagation — Example 51 Error Backpropagation — Example 52 Error Backpropagation — Example 53.
Recommended publications
  • Audio Event Classification Using Deep Learning in an End-To-End Approach
    Audio Event Classification using Deep Learning in an End-to-End Approach Master thesis Jose Luis Diez Antich Aalborg University Copenhagen A. C. Meyers Vænge 15 2450 Copenhagen SV Denmark Title: Abstract: Audio Event Classification using Deep Learning in an End-to-End Approach The goal of the master thesis is to study the task of Sound Event Classification Participant(s): using Deep Neural Networks in an end- Jose Luis Diez Antich to-end approach. Sound Event Classifi- cation it is a multi-label classification problem of sound sources originated Supervisor(s): from everyday environments. An auto- Hendrik Purwins matic system for it would many applica- tions, for example, it could help users of hearing devices to understand their sur- Page Numbers: 38 roundings or enhance robot navigation systems. The end-to-end approach con- Date of Completion: sists in systems that learn directly from June 16, 2017 data, not from features, and it has been recently applied to audio and its results are remarkable. Even though the re- sults do not show an improvement over standard approaches, the contribution of this thesis is an exploration of deep learning architectures which can be use- ful to understand how networks process audio. The content of this report is freely available, but publication (with reference) may only be pursued due to agreement with the author. Contents 1 Introduction1 1.1 Scope of this work.............................2 2 Deep Learning3 2.1 Overview..................................3 2.2 Multilayer Perceptron...........................4
    [Show full text]
  • 4 Nonlinear Regression and Multilayer Perceptron
    4 Nonlinear Regression and Multilayer Perceptron In nonlinear regression the output variable y is no longer a linear function of the regression parameters plus additive noise. This means that estimation of the parameters is harder. It does not reduce to minimizing a convex energy functions { unlike the methods we described earlier. The perceptron is an analogy to the neural networks in the brain (over-simplified). It Pd receives a set of inputs y = j=1 !jxj + !0, see Figure (3). Figure 3: Idealized neuron implementing a perceptron. It has a threshold function which can be hard or soft. The hard one is ζ(a) = 1; if a > 0, ζ(a) = 0; otherwise. The soft one is y = σ(~!T ~x) = 1=(1 + e~!T ~x), where σ(·) is the sigmoid function. There are a variety of different algorithms to train a perceptron from labeled examples. Example: The quadratic error: t t 1 t t 2 E(~!j~x ; y ) = 2 (y − ~! · ~x ) ; for which the update rule is ∆!t = −∆ @E = +∆(yt~! · ~xt)~xt. Introducing the sigmoid j @!j function rt = sigmoid(~!T ~xt), we have t t P t t t t E(~!j~x ; y ) = − i ri log yi + (1 − ri) log(1 − yi ) , and the update rule is t t t t ∆!j = −η(r − y )xj, where η is the learning factor. I.e, the update rule is the learning factor × (desired output { actual output)× input. 10 4.1 Multilayer Perceptrons Multilayer perceptrons were developed to address the limitations of perceptrons (introduced in subsection 2.1) { i.e.
    [Show full text]
  • Petroleum and Coal
    Petroleum and Coal Article Open Access IMPROVED ESTIMATION OF PERMEABILITY OF NATURALLY FRACTURED CARBONATE OIL RESER- VOIRS USING WAVENET APPROACH Mohammad M. Bahramian 1, Abbas Khaksar-Manshad 1*, Nader Fathianpour 2, Amir H. Mohammadi 3, Bengin Masih Awdel Herki 4, Jagar Abdulazez Ali 4 1 Department of Petroleum Engineering, Abadan Faculty of Petroleum Engineering, Petroleum University of Technology (PUT), Abadan, Iran 2 Department of Mining Engineering, Isfahan University of Technology, Isfahan, Iran 3 Discipline of Chemical Engineering, School of Engineering, University of KwaZulu-Natal, Howard College Campus, King George V Avenue, Durban 4041, South Africa 4 Faculty of Engineering, Soran University, Kurdistan-Iraq Received June 18, 2017; Accepted September 30, 2017 Abstract One of the most important parameters which is regarded in petroleum industry is permeability that its accurate knowledge allows petroleum engineers to have adequate tools to evaluate and minimize the risk and uncertainty in the exploration of oil and gas reservoirs. Different direct and indirect methods are used to measure this parameter most of which (e.g. core analysis) are very time -consuming and cost consuming. Hence, applying an efficient method that can model this important parameter has the highest importance. Most of the researches show that the capability (i.e. classification, optimization and data mining) of an Artificial Neural Network (ANN) is suitable for imperfections found in petroleum engineering problems considering its successful application. In this study, we have used a Wavenet Neural Network (WNN) model, which was constructed by combining neural network and wavelet theory to improve estimation of permeability. To achieve this goal, we have also developed MLP and RBF networks and then compared the results of the latter two networks with the results of WNN model to select the best estimator between them.
    [Show full text]
  • Learning Sabatelli, Matthia; Loupe, Gilles; Geurts, Pierre; Wiering, Marco
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by University of Groningen University of Groningen Deep Quality-Value (DQV) Learning Sabatelli, Matthia; Loupe, Gilles; Geurts, Pierre; Wiering, Marco Published in: ArXiv IMPORTANT NOTE: You are advised to consult the publisher's version (publisher's PDF) if you wish to cite from it. Please check the document version below. Document Version Early version, also known as pre-print Publication date: 2018 Link to publication in University of Groningen/UMCG research database Citation for published version (APA): Sabatelli, M., Loupe, G., Geurts, P., & Wiering, M. (2018). Deep Quality-Value (DQV) Learning. ArXiv. Copyright Other than for strictly personal use, it is not permitted to download or to forward/distribute the text or part of it without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license (like Creative Commons). Take-down policy If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim. Downloaded from the University of Groningen/UMCG research database (Pure): http://www.rug.nl/research/portal. For technical reasons the number of authors shown on this cover page is limited to 10 maximum. Download date: 19-05-2020 Deep Quality-Value (DQV) Learning Matthia Sabatelli Gilles Louppe Pierre Geurts Montefiore Institute Montefiore Institute Montefiore Institute Université de Liège, Belgium Université de Liège, Belgium Université de Liège, Belgium [email protected] [email protected] [email protected] Marco A.
    [Show full text]
  • The Architecture of a Multilayer Perceptron for Actor-Critic Algorithm with Energy-Based Policy Naoto Yoshida
    The Architecture of a Multilayer Perceptron for Actor-Critic Algorithm with Energy-based Policy Naoto Yoshida To cite this version: Naoto Yoshida. The Architecture of a Multilayer Perceptron for Actor-Critic Algorithm with Energy- based Policy. 2015. hal-01138709v2 HAL Id: hal-01138709 https://hal.archives-ouvertes.fr/hal-01138709v2 Preprint submitted on 19 Oct 2015 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. The Architecture of a Multilayer Perceptron for Actor-Critic Algorithm with Energy-based Policy Naoto Yoshida School of Biomedical Engineering Tohoku University Sendai, Aramaki Aza Aoba 6-6-01 Email: [email protected] Abstract—Learning and acting in a high dimensional state- when the actions are represented by binary vector actions action space are one of the central problems in the reinforcement [4][5][6][7][8]. Energy-based RL algorithms represent a policy learning (RL) communities. The recent development of model- based on energy-based models [9]. In this approach the prob- free reinforcement learning algorithms based on an energy- based model have been shown to be effective in such domains. ability of the state-action pair is represented by the Boltzmann However, since the previous algorithms used neural networks distribution and the energy function, and the policy is a with stochastic hidden units, these algorithms required Monte conditional probability given the current state of the agent.
    [Show full text]
  • Performance Analysis of Multilayer Perceptron in Profiling Side
    Performance Analysis of Multilayer Perceptron in Profiling Side-channel Analysis L´eoWeissbart1;2 1 Delft University of Technology, The Netherlands 2 Digital Security Group, Radboud University, The Netherlands Abstract. In profiling side-channel analysis, machine learning-based analysis nowadays offers the most powerful performance. This holds espe- cially for techniques stemming from the neural network family: multilayer perceptron and convolutional neural networks. Convolutional neural net- works are often favored as results suggest better performance, especially in scenarios where targets are protected with countermeasures. Mul- tilayer perceptron receives significantly less attention, and researchers seem less interested in this method, narrowing the results in the literature to comparisons with convolutional neural networks. On the other hand, a multilayer perceptron has a much simpler structure, enabling easier hyperparameter tuning and, hopefully, contributing to the explainability of this neural network inner working. We investigate the behavior of a multilayer perceptron in the context of the side-channel analysis of AES. By exploring the sensitivity of mul- tilayer perceptron hyperparameters over the attack's performance, we aim to provide a better understanding of successful hyperparameters tuning and, ultimately, this algorithm's performance. Our results show that MLP (with a proper hyperparameter tuning) can easily break im- plementations with a random delay or masking countermeasures. This work aims to reiterate the power of simpler neural network techniques in the profiled SCA. 1 Introduction Side-channel analysis (SCA) exploits weaknesses in cryptographic algorithms' physical implementations rather than the mathematical properties of the algo- rithms [16]. There, SCA correlates secret information with unintentional leakages like timing [13], power dissipation [14], and electromagnetic (EM) radiation [25].
    [Show full text]
  • Perceptron 1 History of Artificial Neural Networks
    Introduction to Machine Learning (Lecture Notes) Perceptron Lecturer: Barnabas Poczos Disclaimer: These notes have not been subjected to the usual scrutiny reserved for formal publications. They may be distributed outside this class only with the permission of the Instructor. 1 History of Artificial Neural Networks The history of artificial neural networks is like a roller-coaster ride. There were times when it was popular(up), and there were times when it wasn't. We are now in one of its very big time. • Progression (1943-1960) { First Mathematical model of neurons ∗ Pitts & McCulloch (1943) [MP43] { Beginning of artificial neural networks { Perceptron, Rosenblatt (1958) [R58] ∗ A single neuron for classification ∗ Perceptron learning rule ∗ Perceptron convergence theorem [N62] • Degression (1960-1980) { Perceptron can't even learn the XOR function [MP69] { We don't know how to train MLP { 1963 Backpropagation (Bryson et al.) ∗ But not much attention • Progression (1980-) { 1986 Backpropagation reinvented: ∗ Learning representations by back-propagation errors. Rumilhart et al. Nature [RHW88] { Successful applications in ∗ Character recognition, autonomous cars, ..., etc. { But there were still some open questions in ∗ Overfitting? Network structure? Neuron number? Layer number? Bad local minimum points? When to stop training? { Hopfield nets (1982) [H82], Boltzmann machines [AHS85], ..., etc. • Degression (1993-) 1 2 Perceptron: Barnabas Poczos { SVM: Support Vector Machine is developed by Vapnik et al.. [CV95] However, SVM is a shallow architecture. { Graphical models are becoming more and more popular { Great success of SVM and graphical models almost kills the ANN (Artificial Neural Network) research. { Training deeper networks consistently yields poor results. { However, Yann LeCun (1998) developed deep convolutional neural networks (a discriminative model).
    [Show full text]
  • TF-IDF Vs Word Embeddings for Morbidity Identification in Clinical Notes: an Initial Study
    TF-IDF vs Word Embeddings for Morbidity Identification in Clinical Notes: An Initial Study 1 2 Danilo Dess`ı [0000−0003−3843−3285], Rim Helaoui [0000−0001−6915−8920], Vivek 1 1 Kumar [0000−0003−3958−4704], Diego Reforgiato Recupero [0000−0001−8646−6183], and 1 Daniele Riboni [0000−0002−0695−2040] 1 University of Cagliari, Cagliari, Italy {danilo dessi, vivek.kumar, diego.reforgiato, riboni}@unica.it 2 Philips Research, Eindhoven, Netherlands [email protected] Abstract. Today, we are seeing an ever-increasing number of clinical notes that contain clinical results, images, and textual descriptions of pa-tient’s health state. All these data can be analyzed and employed to cater novel services that can help people and domain experts with their com-mon healthcare tasks. However, many technologies such as Deep Learn-ing and tools like Word Embeddings have started to be investigated only recently, and many challenges remain open when it comes to healthcare domain applications. To address these challenges, we propose the use of Deep Learning and Word Embeddings for identifying sixteen morbidity types within textual descriptions of clinical records. For this purpose, we have used a Deep Learning model based on Bidirectional Long-Short Term Memory (LSTM) layers which can exploit state-of-the-art vector representations of data such as Word Embeddings. We have employed pre-trained Word Embeddings namely GloVe and Word2Vec, and our own Word Embeddings trained on the target domain. Furthermore, we have compared the performances of the deep learning approaches against the traditional tf-idf using Support Vector Machine and Multilayer per-ceptron (our baselines).
    [Show full text]
  • Multilayer Perceptron
    Advanced Introduction to Machine Learning, CMU-10715 Perceptron, Multilayer Perceptron Barnabás Póczos, Sept 17 Contents History of Artificial Neural Networks Definitions: Perceptron, MLP Representation questions Perceptron algorithm Backpropagation algorithm 2 Short History Progression (1943-1960) • First mathematical model of neurons . Pitts & McCulloch (1943) • Beginning of artificial neural networks • Perceptron, Rosenblatt (1958) . A single layer neuron for classification . Perceptron learning rule . Perceptron convergence theorem Degression (1960-1980) • Perceptron can’t even learn the XOR function • We don’t know how to train MLP • 1969 Backpropagation… but not much attention… 3 Short History Progression (1980-) • 1986 Backpropagation reinvented: . Rumelhart, Hinton, Williams: Learning representations by back-propagating errors. Nature, 323, 533—536, 1986 • Successful applications: . Character recognition, autonomous cars,… • Open questions: Overfitting? Network structure? Neuron number? Layer number? Bad local minimum points? When to stop training? • Hopfield nets (1982), Boltzmann machines,… 4 Short History Degression (1993-) • SVM: Vapnik and his co-workers developed the Support Vector Machine (1993). It is a shallow architecture. • SVM almost kills the ANN research. • Training deeper networks consistently yields poor results. • Exception: deep convolutional neural networks, Yann LeCun 1998. (discriminative model) 5 Short History Progression (2006-) Deep Belief Networks (DBN) • Hinton, G. E, Osindero, S., and Teh, Y.
    [Show full text]
  • Imputation and Generation of Multidimensional Market Data
    IMPUTATION AND GENERATION OF MULTIDIMENSIONAL MARKET DATA Master Thesis Tobias Wall & Jacob Titus Master thesis, 30 credits Department of mathematics and Mathematical Statistics Spring Term 2021 Imputation and Generation of Multidimensional Market Data Tobias Wall†, [email protected] Jacob Titus†, [email protected] Copyright © by Tobias Wall and Jacob Titus, 2021. All rights reserved. Supervisors: Jonas Nylén Nasdaq Inc. Armin Eftekhari Umeå University Examiner: Jianfeng Wang Umeå University Master of Science Thesis in Industrial Engineering and Management, 30 ECTS Department of Mathematics and Mathematical Statistics Umeå University SE-901 87 Umeå, Sweden †Equal contribution. The order of the contributors names were chosen based on a bootstrapping procedure where the names was drawn 100 times. i Abstract Market risk is one of the most prevailing risks to which financial institutions are exposed. The most popular approach in quantifying market risk is through Value at Risk. Organisations and regulators often require a long historical horizon of the affecting financial variables to estimate the risk exposures. A long horizon stresses the completeness of the available data; something risk applications need to handle. The goal of this thesis is to evaluate and propose methods to impute finan- cial time series. The performance of the methods will be measured with respect to both price-, and risk metric replication. Two different use cases are evaluated; missing values randomly place in the time series and consecutively missing values at the end-point of a time series. In total, there are five models applied to each use case, respectively. For the first use case, the results show that all models perform better than the naive approach.
    [Show full text]
  • Lecture 7. Multilayer Perceptron. Backpropagation
    Lecture 7. Multilayer Perceptron. Backpropagation COMP90051 Statistical Machine Learning Semester 2, 2017 Lecturer: Andrey Kan Copyright: University of Melbourne Statistical Machine Learning (S2 2017) Deck 7 This lecture • Multilayer perceptron ∗ Model structure ∗ Universal approximation ∗ Training preliminaries • Backpropagation ∗ Step-by-step derivation ∗ Notes on regularisation 2 Statistical Machine Learning (S2 2017) Deck 7 Animals in the zoo Artificial Neural Recurrent neural Networks (ANNs) networks Feed-forward Multilayer perceptrons networks art: OpenClipartVectors at pixabay.com (CC0) Perceptrons Convolutional neural networks • Recurrent neural networks are not covered in this subject • If time permits, we will cover autoencoders. An autoencoder is an ANN trained in a specific way. ∗ E.g., a multilayer perceptron can be trained as an autoencoder, or a recurrent neural network can be trained as an autoencoder. 3 Statistical Machine Learning (S2 2016) Deck 7 Multilayer Perceptron Modelling non-linearity via function composition 4 Statistical Machine Learning (S2 2017) Deck 7 Limitations of linear models Some function are linearly separable, but many are not AND OR XOR Possible solution: composition XOR = OR AND not AND 1 2 1 2 1 2 We are going to combine perceptrons … 5 Statistical Machine Learning (S2 2017) Deck 7 Simplified graphical representation Sputnik – first artificial Earth satellite 6 Statistical Machine Learning (S2 2017) Deck 7 Perceptorn is sort of a building block for ANN • ANNs are not restricted to binary classification
    [Show full text]
  • A Multilayer Perceptron Solution to the Match
    290 lEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, VOL. 4, NO. 3, JUNE 1992 Concise Papers A Multilayer Perceptron Solution to the Match Phase description of the Rete Match Algorithm, the conventional solution Problem in Rule-Based Artificial Intelligence Systems to the match phase problem. A rule-based expert system uses rules, sometimes referred to as Michael A. Sartori, Kevin M. Passino, and Panos J. Antsaklis, productions or production rules, to represent knowledge and uses an inference engine to perform the actions of the expert system. In general, a rule is of the form Abstruct- In rule-based artificial intelligence (AI) planning, expert, and learning systems, it is often the case that the left-hand-sides of the IF (antecedent) THEN (consequence) (1) rules must be repeatedly compared to the contents of some “working memory.” Normally, the intent is to determine which rules are relevant Customarily, the antecedent is referred to as the left-hand-side, and to the current situation (i.e., to find the “conflict set”). The traditional approach to solve such a “match phase problem” for production systems the consequence is referred to as the right-hand-side. The working is to use the Rete Match Algorithm. Here, a new technique using a memory (data memory) contains dynamic data that is compared to multilayer perceptron, a particular artificial neural network model, is the left-hand-side of the rules. The individual elements of the working presented to solve the match phase problem for rule-based AI systems. memory are referred to as the working memory elements. The A syntax for premise formulas (i.e., the left-hand-sides of the rules) is inference engine performs the comparison of the working memory defined, and working memory is specified.
    [Show full text]