1 / 28

MITM 613 Intelligent System

MITM 613 Intelligent System. Chapter 9: Hybrid Systems. Chapter Nine: Hybrid Systems. 9.1 Convergence of techniques 9.3 Genetic-fuzzy systems 9.4 Neuro-fuzzy systems 9.5 Genetic-neural systems. Many computing techniques can be applied to particular problems:

oded
Download Presentation

MITM 613 Intelligent System

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MITM 613Intelligent System Chapter 9: Hybrid Systems

  2. Chapter Nine: Hybrid Systems 9.1 Convergence of techniques 9.3 Genetic-fuzzy systems 9.4 Neuro-fuzzy systems 9.5 Genetic-neural systems Abdul Rahim Ahmad

  3. Many computing techniques can be applied to particular problems: • symbolic representations (eg. knowledge-based systems) • computational intelligence • conventional programs • They are not exclusive alternatives but complementary to each other and can be made into hybrid of mixed techniques. Convergence of techniques Abdul Rahim Ahmad

  4. How different computational techniques can be complementary? • When dealing with multifaceted problems • For Capability enhancement • For Cases where parameter settings are needed • For Clarification and verification Convergence of techniques Abdul Rahim Ahmad

  5. When Dealing with multifaceted problems • Real life problems are multi facet. • Different specialize module deal with specific task • Modules can communicate between each other (eg: in Black board system) • When Enhancing Capability of a system • A technique A can be used within another technique B to enhance the capabilities of B. Combining Techniques Abdul Rahim Ahmad

  6. Example :hybrid as a blackboard system Abdul Rahim Ahmad

  7. When Setting Parameters • Use one technique to set the parameters of another technique. • Eg: neuro-fuzzy, genetic-fuzzy, genetic-neural. • When Performing Clarification and verification (In Neural network) • Hybrid method used to find the reasons of associations bet. input and output and the weights. • To automatically extract from the network, rules that can be readily understood, and to write verification rules to check the validity of the network’s output. Combining Techniques Abdul Rahim Ahmad

  8. 9.2 Blackboard System Abdul Rahim Ahmad

  9. Blackboard model or blackboard architecture provides a software structure well suited to multifaceted tasks. • Systems that have this kind of structure are called blackboard systems. • In such a system, knowledge of the application domain is divided into modules, referred to as knowledge sources (or KSs), each of which is designed to tackle a particular subtask. • KSs are independent and can communicate only by reading from or writing to the blackboard, a globally accessible working memory where the current state of understanding is represented. • KSscan also delete unwanted information from the blackboard. Blackboard Model Abdul Rahim Ahmad

  10. A blackboard system is analogous to a team of experts who communicate their ideas via a physical blackboard, by adding or deleting items in response to the information that they find there. Each knowledge source represents such an expert having a specialized area of knowledge. As each KS can be encoded in the most suitable form for its particular task, blackboard systems offer a mechanism for the collaborative use of different computational techniques such as rules, neural networks, and fuzzy logic. The inherent modularity of a blackboard system is also helpful for maintenance. Each rule-based knowledge source can use a suitable reasoning strategy for its particular task, e.g., backward- or forward-chaining, and can be thought of as a rule-based system in microcosm. Blackboard System Abdul Rahim Ahmad

  11. Knowledge sources are applied in response to information on the blackboard, when they have some contribution to make. This leads to increased efficiency since the detailed knowledge within a knowledge source is only applied when that knowledge source becomes relevant. In the idealized blackboard system, the KSs are said to be opportunistic, activating themselves whenever they can contribute to the global solution. However, this is difficult to achieve in practice as it may involve interrupting another knowledge source that is currently active. One approach to KS scheduling is to use a control module that determines the order of KS activation on the basis of applicability and past use of the KSs. As an extension of this idea, a separate blackboard system could select knowledge sources based upon explicit rule-based knowledge of the alternatives. This level of sophistication may, however, result in a slow response. Blackboard System Abdul Rahim Ahmad

  12. Some degree of structure is imposed on the blackboard by dividing it into panels. • A knowledge source then only needs to look at a small number of panels rather than the whole blackboard. • Typically the blackboard panels correspond to different levels of analysis of the problem, progressing from detailed information to more abstract concepts. • Examples: • Hearsay-II blackboard system for computerized understanding of natural speech, the levels of analysis include those of syllable, word, and phrase. • Ultrasonic image interpretation using ARBS, the levels progress from raw signal data, via a description of the significant image features, to a description of the defects in the component Blackboard System Abdul Rahim Ahmad

  13. Many and varied sources of knowledge can participate in the development of a solution to a problem. Each knowledge source has access to the blackboard, so it can be applied as soon as it becomes appropriate. (opportunism, i.e., application of the right knowledge at the right time). For problems involving large amounts of numerical processing, the characteristic style of incremental solution development is particularly efficient. Different types of reasoning strategy (e.g., data- and goal-driven) can be mixed as appropriate in order to reach a solution. Hypotheses can be posted onto the blackboard for testing by other knowledge sources. A complete test solution does not have to be built before deciding to modify or abandon the underlying hypothesis. In the event that the system is unable to arrive at a complete solution to a problem, the partial solutions appearing on the blackboard are available and may be of some value. Advantages of Blackboard System Abdul Rahim Ahmad

  14. Performance of a fuzzy system depends on the definitions of the fuzzy sets and on the fuzzy rules. As these parameters can all be expressed numerically, it is possible to devise a system whereby they are learned automatically using genetic algorithms (GA). A chromosome can be devised that represents the complete set of parameters for a given fuzzy system. The cost function could then be defined as the total error when the fuzzy system is presented with a number of different inputs with known desired outputs. Genetic-fuzzy systems Abdul Rahim Ahmad

  15. Fuzzy rules can be drawn up fairly easily, but defining the most suitable membership functions remains a difficult task. • A scheme by Karr is where all membership functions are triangular. • The variables are constrained to lie within a fixed range, so the fuzzy sets low and high are both right-angle triangles • The slope of these triangles can be altered by moving their intercepts on the abscissa, marked max1 and min4. • All intermediate fuzzy sets are assumed to have membership functions that are isosceles triangles. Each is defined by two points, maxi and mini, where i labels the fuzzy set. • The chromosome is then a list of all the points maxi and mini that determine the complete set of membership functions. Genetic-fuzzy systems Abdul Rahim Ahmad

  16. Genetic-fuzzy systems Abdul Rahim Ahmad

  17. In this scheme, the genetic algorithm for parameter setting and the fuzzy system that uses those parameters are distinct and separate. The parameters for a fuzzy system can also be learned using neural networks, where there is much closer integration between the neural network and the fuzzy system. 9.3 Genetic-fuzzy systems Abdul Rahim Ahmad

  18. A neuro-fuzzy system is a fuzzy system where the parameters of which are derived by a neural network learning technique. • Can also be viewed as a neural network that represents a fuzzy system. • The two views are equivalent : • possible to express a neuro-fuzzy system in either form. 9.4 Neuro-fuzzy systems Abdul Rahim Ahmad

  19. Consider the following fuzzy rules These fuzzy rules and the corresponding membership functions can be represented by the neural network on the next page. Example • /* Rule 9.1f */ • IF temperature is high OR water level is high • THEN pressure is high • /* Rule 9.2f */ • IF temperature is medium OR water level is medium • THEN pressure is medium • /* Rule 9.3f */ • IF temperature is low OR water level is low • THEN pressure is low Abdul Rahim Ahmad

  20. Fuzzification: Give membership value for low, medium, and high (using Single Layer Perceptron) for any given input values for temperature and water level . Fuzzy rules: Input : the six membership values for temperature and water level. Outputs: 3 values for pressure. Example (Contd.) • Defuzzification: Combine these membership values to produce a defuzzified value for the output variable. Abdul Rahim Ahmad

  21. The definitions of the fuzzy sets and the fuzzy rules are implicit in the connections and weights of the neuro-fuzzy network. Using a suitable learning mechanism, the weights can be learned from a series of examples. The network can then be used on previously unseen inputs to generate defuzzified output values. In principle, the fuzzy sets and rules can be inferred from the network and run as a fuzzy rule-based system Example (Contd.) Abdul Rahim Ahmad

  22. A challenge in building a neural network is to choose the right architecture and the right learning parameters. • For a NN, a decision needs to be made on : • the learning parameters • the necessary number of neurons • whether additional layers would be beneficial. • It is possible to use a genetic algorithm to optimize the network design. • cost function might combine the RMS error with duration of training. 9.5 Genetic-neural systems Abdul Rahim Ahmad

  23. Supervised training of a NN involves • adjusting its weights until the output patterns obtained for a range of input patterns are close to the desired patterns. • The different network topologies use different training algorithms for achieving this weight adjustment, through back-propagation or errors. • However, it is also possible to use a genetic algorithm to train the network. 9.5 Genetic-neural systems Abdul Rahim Ahmad

  24. In the genetic-neural syatem: • each gene represent a network weight, so that a complete set of network weights is mapped onto an individual chromosome. • Each chromosome can be evaluated by testing a neural network with the corresponding weights against a series of test patterns. • A fitness value can be assigned according to the error, so that the weights represented by the fittest generated individual correspond to a trained neural network. 9.5 Genetic-neural systems Abdul Rahim Ahmad

  25. In Neural networks, internals is a “black box” : • Ie: the inputs and outputs are significant to user but the weights is not. • In KBS, the internal state, (eg: value of a variable) does have meaning for the user. • Now, research are done to extract rule which are equivalent to the trained neural network from which they have been extracted including production rules and fuzzy rules. • Example : in safety-critical systems. 9.6 Clarifying and verifying NN Abdul Rahim Ahmad

  26. In safety-critical systems, cannot rely on output from a neural network without verification. • Need rules to verify consistency of a neural network output with its input. • Use of rules for verification implies that at least some of the domain knowledge can be expressed in rule form • One suggestion is to use an adjudicator module to decide whether a set of rules or a neural network is likely to provide the more reliable output for a given input. • Adjudicator need access to NN training data and could determine whether a NN would have to interpolate between, or extrapolate from, examples in the training. Example: Safety-critical Systems Abdul Rahim Ahmad

  27. In safety-critical systems, cannot rely on output from a neural network without verification. • Need rules to verify consistency of a neural network output with its input. • Use of rules for verification implies that at least some of the domain knowledge can be expressed in rule form • One suggestion is to use an adjudicator module to decide whether a set of rules or a neural network is likely to provide the more reliable output for a given input. • Adjudicator need access to NN training data and could determine whether a NN would have to interpolate between, or extrapolate from, examples in the training. Example: Safety-critical Systems Abdul Rahim Ahmad

  28. Neural networks are good at interpolation but poor at extrapolation. Thus, the adjudicator may call upon rules to handle the exceptional cases which would otherwise require a neural network to extrapolate from its training data. • If heuristic rules are also available for the less exceptional cases, then they could be used to provide an explanation for the neural network’s findings. • A supervisory rule-based module could dictate the training of a neural network • deciding how many nodes are required • adjusting the learning rate as training proceeds • deciding when training should terminate. Example: Safety-critical Systems Abdul Rahim Ahmad

More Related