Docsity

Expert system in Artificial intelligence, Essays (university) of Artificial Intelligence

Toggle sidebar
bg1
Design of expert system prototype for analysing and structuring motivational strategies on
ICT human resources to reduce employee turnover ratio
Viral Nagori Computer Science
Registration Number – 09B0150 1
Chapter 1
Expert Systems: Introduction
Chapter Abstract:
The chapter describes the definitions of the expert system, history of the expert
systems, how expert systems have evolved over the last three decades, general
architecture adopted by expert system and its characteristics, advantages and
disadvantages of providing solution using expert systems, and description of the
different categories of expert systems. The chapter also describes applications of
expert systems along with the examples of some of the well-known expert systems in
the world studied by us. While describing the applications of expert systems in
general, the chapter focuses more on the application of expert system in the human
resource domain, the area the thesis addresses. The chapter also provides a detailed
discussion on the different types of expert systems. At the end, the chapter discusses
the tools, shells and languages for the development of expert systems
1.1 Introduction
Expert System is a special branch of Artificial Intelligence. (Efraim Turban, 1998)
AI is a study of human thought process and modeling it into a computerized system.
It is considered a study of how to make computers do things at which, at the moment
people are better. (Knight, 1991)
Expert systems are used to perform a variety of extremely complicated tasks that
could only be performed by a limited number of highly trained human experts.
(Rolston, 1988) It deals with real world problems and provides solution, which
reflect human judgment and intuition.
An expert system is an interactive computer based decision making tool that uses
both facts and heuristics to solve difficult decision making problems, based on
knowledge acquired from an expert. An expert system is also known as knowledge
based system.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35

Partial preview of the text

Download Expert system in Artificial intelligence and more Essays (university) Artificial Intelligence in PDF only on Docsity!

ICT human resources to reduce employee turnover ratio

Viral Nagori Computer Science

Chapter 1

Expert Systems: Introduction

Chapter Abstract:

The chapter describes the definitions of the expert system, history of the expert systems, how expert systems have evolved over the last three decades, general architecture adopted by expert system and its characteristics, advantages and disadvantages of providing solution using expert systems, and description of the different categories of expert systems. The chapter also describes applications of expert systems along with the examples of some of the well-known expert systems in the world studied by us. While describing the applications of expert systems in general, the chapter focuses more on the application of expert system in the human resource domain, the area the thesis addresses. The chapter also provides a detailed discussion on the different types of expert systems. At the end, the chapter discusses the tools, shells and languages for the development of expert systems

1.1 Introduction

Expert System is a special branch of Artificial Intelligence. (Efraim Turban, 1998) AI is a study of human thought process and modeling it into a computerized system. It is considered a study of how to make computers do things at which, at the moment people are better. (Knight, 1991)

Expert systems are used to perform a variety of extremely complicated tasks that could only be performed by a limited number of highly trained human experts. (Rolston, 1988) It deals with real world problems and provides solution, which reflect human judgment and intuition.

An expert system is an interactive computer based decision making tool that uses both facts and heuristics to solve difficult decision making problems, based on knowledge acquired from an expert. An expert system is also known as knowledge based system.

ICT human resources to reduce employee turnover ratio

Viral Nagori Computer Science

The following example will illustrate why expert systems differ from conventional computerized applications.

When you are suffering from illness and visit the doctor. Doctor will ask you a few questions, he/she will check your pulses, examines eyes, measures heart beats, measure temperature of your body and after a series of interaction, he will finally conclude that you are suffering from viral fever. The doctor diagnoses your illness easily and so accurately because he has acquired expertise in his field after a lot of study and experience in generating heuristics about the domain. Similarly, if an application program interacts with the patient and provides a diagnosis, then it can be considered as an expert system in the medical field.

The conventional application program will not be able to provide the decision on the basis of guts, intuitions and experience, while the expert system does. The conventional system is made up of algorithms and databases, while an expert system consists of inference engine and knowledge.

The table 1.1 differentiates between a conventional system and expert systems.

Table 1.1 Difference between conventional system and expert system Conventional System Expert System Solves the generic numeric problems. It solves the problem in very narrow domain. It is sequential program where information and processing are combined.

The knowledge base is separated from the processing (inference engine). The program may not be sequential. Tested program never makes mistakes The well tested expert system may make mistakes and gives wrong answer. No explanation is provided for output An explanation is provided in most cases. When incorrect information is provided, the system may not function.

The system can arrive at a conclusion, even when some information is missing or incomplete.

ICT human resources to reduce employee turnover ratio

Viral Nagori Computer Science

In a prestigious international conference on AI, 1977, Professor Feigenbaum presented that “the power of expert system is derived from the knowledge it possesses not from the particular formalisms and inference schemes it employs.”

The table 1.2 lists the some of the early expert systems developed before 1980s. (Rolston, 1988)

Table 1.2 Expert systems developed before 1980 System Domain Area Dendral Infers information about chemical structure Macsyma Performs complex mathematical analysis Hearsay Natural- language interpretation for subset language Mycin Diagnosis of blood disease Teiresias Knowledge transformation tool Prospector Mineral exploration and identification tool R1(XCON) Configuration of DEC computer equipment Caduceus Diagnostic tools for internal medicine PUFF Medical system for diagnosis of respiratory conditions Prospector Used by geologists for identifying sites for mining and drilling Design Advisor Gives advices to the designers of processor chips Lithian Gives advice to archaeologists examining stone tools

It will be interesting to note that out of the above mentioned system, 1/3 of them are very successful and were in used till 21st^ century. (Efraim Turban, 1998)

1.4 Architecture of expert system

The figure 1.1 shows a general architecture with the typical components.

ICT human resources to reduce employee turnover ratio

Viral Nagori Computer Science

Figure 1.1 General architecture of expert system

User: The user can be the end user who will use the system in the absence of expert or the customer. The user can be knowledge engineer who will generate knowledge using heuristics and existing knowledge base. The real life expert can also be user to verify and validate the results of the expert system.

The roles of users interacting with expert systems can be classified mainly into the following categories:

  1. Domain expert : An individual who is an expert in the field to solve the problem. The expertise is to be captured in the expert system.

ICT human resources to reduce employee turnover ratio

Viral Nagori Computer Science

Inference Engine: It is considered as a brain of expert systems. An Expert system must be flexible to cope with different situations. An ES must be able to infer new knowledge from the existing knowledge base depending upon the different situations. For example, consider the two basic facts:

  1. All cricketers have good income.
  2. Sachin is a cricketer.

From the above two facts, new fact “Sachin has good income” can be inferred.

Knowledge Update: Over a period of time, in certain domains knowledge change. In the complex domain like medical, pharmacy it expands. The knowledge base in expert system should be modified according to that. The knowledge update facility is used to perform such updates. The most advanced stage of knowledge update facility is automation of knowledge update where the system automatically generates new knowledge based on the generalization of past experience.

Explanation system: An expert provides reasoning that led to the conclusion. This enables the expert system to review its own reasoning and explain its decision. An expert system should have that facility and that will differentiate expert system from traditional computer systems.

1.4.1 Role of knowledge in expert system An expert system derives its power from extensive domain specific knowledge rather than normal understanding of general functionality. For example, we all know that when the body temperature is high, we should take paracetamol tablet to control the body temperature, but an expert physician knows that whether paracetamol will be effective and should be given to the patient or not.

The following are the components of the knowledge: Facts, Procedural rules and Heuristics. Facts are truth regarding the subject domain. Procedural rules define

ICT human resources to reduce employee turnover ratio

Viral Nagori Computer Science

sequence of events and relations among them to a particular domain and heuristics are rules of thumb to be followed when invariant procedural rules are not available

Now from the definition and architecture of the expert system, we can derive the characteristics of the expert systems.

1.5 Characteristics of expert system

The following are characteristics of an expert system.  It solves a difficult problem in a domain as good as or better than human experts. (V S Janakiraman K. S., 2005)  It should have a huge domain specific knowledge to the minute details.  It should permit the use of heuristic search process.  It should be able to justify the answers and conclusions.  It should be able to accept advice, modify, update and expand.  It should be able to deal with uncertain and irrelevant data like human experts.  It should provide user interface in the natural language to the user.  It should respond to the problem in a reasonable amount of time in case of real time systems. (Padhy, 2005)  It should operate as an interactive system. It means it should answer the question, provide clarification, and help in decision making by recommending solutions.  It should have a mechanism for filtering and updating knowledge on a continuous basis.  It should be able to make inferences on the basis of knowledge stored in the knowledge base.  It should have high performance standard in terms of accuracy and consistency.  It should be able to manipulate symbolic information and draw conclusion from it.

Now let‟s explore the advantages and limitations of expert systems.

ICT human resources to reduce employee turnover ratio

Viral Nagori Computer Science

 Expert system answers „Why‟ with reasoning, but doesn‟t answer „Why not‟.  The cost for developing expert systems is very high.  In case of human experts, performance degradation is gradual, while in the case of expert system, it is steep.  Expert system works only for very specific limited areas of the domain.  The requirement of knowledge engineer can be a bottleneck for the expert system.  Users of expert systems have natural cognitive limits.

So, now the next issue is to explore where an expert system can be an effective alternative for the human expert.

1.7.1 Situations where expert systems are effective alternative In the following situations, an expert system can be considered as an effective alternative for the human expert.

 When multiple experts are needed at different locations simultaneously.  Experts have to work in the environment, which is hazardous for health, i.e. mining, drilling etc.  When firm doesn‟t want its expertise to get retired.  When work is monotonous and of repetitive nature.  When knowledge and expertise can be obtained through experience.  The legal rules and code of conduct changes rapidly.

1.7.2 Reasons why expert system fails Following are the reasons where design and development of an expert system fails.  Lack of acceptance by the end user.  Inability to retain current developers.  Problems manifolds during maintenance of the system.  Lack of top management support in organizing and funding.  Error in expert knowledge can propagate throughout the entire system.

ICT human resources to reduce employee turnover ratio

Viral Nagori Computer Science

1.7.3 Reasons why expert system success Following are the reasons where design and development of an expert system successful.  Required in-house champion  User involvement and training  An organizational environment for new technology

1.8 Categories of expert system

Expert systems are categorized into three general classes: (Davis, 1985)

  1. Assistant – Here expert system act as a subsystem and the role of expert system is more or less similar to Decision Support System, which assists in the decision making process. The system doesn‟t have its own capacity to take intellectual decision.
  2. Colleague – The system acts as a peer and provides its expertise in a small domain of decision making problems. E.g. Mapping user queries to FAQs
  3. Expert – This is a true category of expert, and system acts as a real world expert and takes intelligent decisions in the absence of human experts.

1.9 Examples of expert system

Before we discuss the applications of expert system in the human resource domain, we will discuss some very well-known examples of expert system. The following examples just represent few domains to get an idea on what are different applications of expert system in different domains.

ELIZA : - It allows the user to type a sentence through the keyboard and the computer would respond with a sentence of its own.

PARRRY – The Artificial Paranoid: - It simulates the responses of a young man suffering from paranoid schizophrenia. The user will type queries or comments and responses are printed by the program.

ICT human resources to reduce employee turnover ratio

Viral Nagori Computer Science

Now we will discuss different application areas of an expert system.

1.10 Applications of expert systems

Expert systems are used in playing chess, making investment decisions, diagnosis of illness, configure computers, monitor performance of complex systems, underwriting insurance policies, and career counseling, etc. (Chakraborty R. , 2010) In a brief, the application areas of expert systems are classified into the following categories.

  1. Analysis
  2. Control
  3. Designing
  4. Diagnosis
  5. Instruction
  6. Monitoring
  7. Planning
  8. Prediction
  9. Repair
  10. Interpretation

1.11 Applications of expert system in human resources domain

Now we will try to figure out applications of expert system in different subdomains of the human resources domain. Basically, human resource is a domain which requires human expertise to solve the problems like recruitment, selection, performance appraisal, training and development, motivation and leadership, and employees‟ welfare. The reason behind doing the study is to list out different areas where expert system can be design and developed or there is scope of development of an expert system.

Recruitment: An expert system can be developed for planning the gap between human resources supply and demand. It can also help with strategic planning of recruitment of key personnel and succession planning of retiring employees. The system can deal with employee layoffs as well dismissal of an employee. It can also help in managing different sources of recruitment like campus, referrals, walk-ins etc.

ICT human resources to reduce employee turnover ratio

Viral Nagori Computer Science

Job Analysis : An expert system can be developed for job analysis for different designation and fitting each job in the organisational hierarchy. It can also help in preparing an organisation chart based on job description and job specification. It can also list job characteristics and match employee characteristics to find the suitable employee for each job.

Selection: An expert system in this area can deal with application blank, aptitude, personality and performance test, applying selection parameters on potential candidates, and help organisations to have a successful selection of the right candidates. It can also help organisations in improving the selection ratio as unskilled and unqualified candidates are screened in the first round of the selection process.

Performance evaluation and appraisal: An expert system in this area can deal with measuring the employees‟ performance using the right tools and methods and based on the result, decide the best performance appraisal for each employee individually. It can help in deciding the best payment methods, pay structure, increment range keeping in mind the organisation total profile amount. The expert system here can help in deciding the evaluation policies which are acceptable to both employees and employers.

Training and development: An expert system in this area can help organisation in identifying training needs by finding out the gap between skills demanded by the job and skills possessed by employees. The main objective for the system can be to match the organisational objectives with firms‟ human talent and develop human talent for future objectives.

Labour relationship : An expert system in this area can help organisation to negotiate between management and employee unions about the labour laws and issues pertaining to lock-outs and strikes.

Motivation and leadership : An expert system in this area can help organisation by identifying motivational strategies to be implemented to motivate employees. For

ICT human resources to reduce employee turnover ratio

Viral Nagori Computer Science

condition) and THEN part, called the consequent (conclusion or action). The basic syntax or rule base is: IF {antecedent} THEN {Consequent}

A rule can have multiple antecedents joined by the keywords AND, OR, or a combination of both. The antecedent of a rule consists of two parts. They are objects and its value. Object and value are linked by an operator. The operator can be mathematically or may be logical.

Structure of rule based expert system: A rule based expert system has five components: The knowledge base, the database, the inference engine, the explanation facility and the user interface. The knowledge base contains the knowledge about the domain. The database has set of facts, which is used to match the against the IF- THEN rules. The inference engine provides reasoning, so that expert system can reach a solution. The explanation facility provides the answer to user about why the particular solution is reached. The user interface enables user to interact with the other components of the expert systems.

The other additional components include the external interface, the developer interface, text editor, book keeping facilities, debugging aids, and run time knowledge acquisition. The external interface allows an expert system to interact with other database and programs. The developer interface allows developers to edit with knowledge base, rules and facts. Text editor provides notepad kind facility to enter inputs. The book keeping facility is provided to monitor the changes made by the knowledge engineer in the knowledge base or inference engine. Debugging aids provide tracing of all rules fired during the program execution. Run time knowledge acquisition facility enables to add knowledge or facts, which are not available in the knowledge base or database.

The figure 1.2 represents the structure of a rule based expert system. (Negnevitsky,

ICT human resources to reduce employee turnover ratio

Viral Nagori Computer Science

Figure 1.2 Architecture of rule base expert system

External database

Expert system

Knowledge base Database

Inference Engine

Explanation Facilities

User- Inference Developer-Inference

External Program

Rule: IF-THEN Fact

User (^) Knowledge engineer Expert

ICT human resources to reduce employee turnover ratio

Viral Nagori Computer Science

There are two types of inference techniques. Forward chaining and backward chaining.

Forward Chaining: Forward chaining is the data driven reasoning. The reasoning starts from the known data and proceeds. It will look for the rules which will move the current state of problem solution closer to the final solution. When a rule is fired, the new facts are added to the database. (Chakraborty R. C., 2010)

Let us consider the following example. A rule base consisting of the following rule set. Rule 1: If A and C then F Rule 2: If A and E then G Rule 3: If B then E Rule 4: If G then D.

Problem: Prove that If A and B is true, then D is true.

Solution: Here we will start with rule 1 and proceed towards the next rule. First rule 3 will be fired and then rule 2 will be fired and then at the end rule 4 will be fired. Hence we can reach to the desired goal to prove that if A and B then D is true. This is how inference engine will process inference chain in a forward manner.

The only problem with the forward chaining is that if the rule base has thousands rule, then many a times, unnecessary rules are also fired, which will increase the execution time and we will generate many facts which are unrelated to the goal. To overcome this problem, backward chaining is used.

Backward Chaining: Backward chaining is the goal driven reasoning. In backward chaining, an expert system has the goal and the inference engine attempts to find the evidence to prove it. First, the inference engine will search the knowledge base to find rules that have required a solution and such rule will have goal in their action (THEN) parts. If such

ICT human resources to reduce employee turnover ratio

Viral Nagori Computer Science

a rule is found and if its condition (IF) part matches the data in the database, then the rule is fired and then the goal is proven.

Let us see how backward chaining works from the above example. A rule base consisting of the following rule set. Rule 1: If A and C then F Rule 2: If A and E then G Rule 3: If B then E Rule 4: If G then D.

Problem: Prove that If A and B is true, then D is true.

Solution: Here we will start with the goal D is true and move backwards till a rule is fired. So rule 4 will be fired and we have a new goal to prove that G is true. When G is true, it means both A and E is true as per rule 2. While we are given the fact that A is true, hence we have got a new goal which states that E is true. If E is true, moving backwards, we ascertain that B is true using rule 3. Hence now we have ascertained both A and B is true. Hence the goal is proved.

Difference between forward chaining and backward chaining: The table 1.3 will differentiate between forward chaining and backward chaining.

Table 1.3 Difference between forward chaining and backward chaining Forward chaining Backward chaining The data is known at the beginning of the inference process, and the user is not required to input additional facts.

The goal is set up and the only needed data from the database is used for reasoning. The user is only required to input facts which are not in the database. Developers should choose the forward chaining when they need to gather some information first and then wants to infer something from that.

Developers should choose backward chaining when they begin with hypothetical solution and then search for facts to prove it. Dendral, an expert system for MYCIN, an expert system for diagnosis