Expert system: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
Line 43: Line 43:


The second advantage of AI techniques is that the system can explain its solution. In general, the explanation is the sequence of rules which have been used by the expert to reach the solution (the 'trace' of its reasoning).
The second advantage of AI techniques is that the system can explain its solution. In general, the explanation is the sequence of rules which have been used by the expert to reach the solution (the 'trace' of its reasoning).
== Software ==
Expert systems can be built with special purpose software kits, or embedded libararies or (rarely) from scratch. Many systems existed in the late eighties and early nineties. Today there seems to be less variety.
=== Expert system shells ===
* [http://clipsrules.sourceforge.net/ CLIPS] A popular tool for building expert systems (Unix, PC, Mac).
** {{quotation|CLIPS is a productive development and delivery expert system tool which provides a complete environment for the construction of rule and/or object based expert systems. Created in 1985, CLIPS is now widely used throughout the government, industry, and academia.}} ([http://clipsrules.sourceforge.net/WhatIsCLIPS.html])
** CLIPS is written in C and can be embedded within procedural code, called as a subroutine, and integrated with languages such as C, Java, FORTRAN and ADA.
* [http://lisa.sourceforge.net/ The Lisa Project] is a platform for the development of Lisp-based Intelligent Software Agents. Lisa is a production-rule system implemented in the Common [[LISP]] Object System (CLOS), and is heavily influenced by CLIPS and the Java Expert System Shell (JESS).


== References ==
== References ==

Revision as of 11:24, 11 April 2008

Definition

Expert systems are a kind of computer software that is able to solve certain kinds of problems.

In education, expert systems are used in various kinds of artificial intelligence and education projects, e.g. intelligent tutoring systems, intelligent learning environments, adapative hypertext systems. They are also in use as a kind of simulation.

Definition by an example

Most expert systems are rule based. Let's explain how this works with an example taken from a text by young Pierre Dillenbourg (1994).

Let us imagine that the travel agency trainee has to solve the following problem:

	Problem 22
	Mr Hubert wants to go from Geneva to Igloolik, Canada.
	His is member of the frequent flyer programme of Swissair
	Departure: 1.04.95	Return: 10.05.95

The standard way to do support interactions about this problem would be to store the solution:

	Solution 22
	Flight SR434 Geneva - Zurich 	1.04.94 	9 H 40
	Flight SR121 Zurich - Ottawa 	1.04.94 	11 H 45
	Flight AC101 Ottawa - Frobisher	2.04.94	9 H 30
	Flight AC123 Frobisher-Igloolik	2.04.94	16 H 20
	...	

Another approach is to AI techniques to model the reasoning process which led to that solution. Knowledge modelling techniques decompose the reasoning process into numerous intermediate steps or decisions. The knowledge necessary for each step or decision is generally expressed as an 'IF-THEN' rule. Here are a few examples of rules that could be used for solving the problem presented above:

Rule 12
  IF the destination is a remote and unknown place,
  THEN plan the trip via a major city in the area
Rule 33
  IF the local flight is done by a company
  THEN plan the international flight with this company
Rule 122
  IF the customer is part of the frequent flyer programme of a company and if this company has a flight to the customer's destination
  THEN select a flight with this company

Each of these rules encodes a fragment of expertise. The system reasons by checking the 'IF' part of each rule. If the conditions described in the 'IF' part are matched, the system activates the 'THEN' part of the rules. The rules are general: the term 'a company', 'destination' or 'customer' are instantiated by the data of this problem. Some of these rules may be contradictory for some cases, as the 33 and the 122. The system selects the rules and activates them until the problem is solved. In real systems, the rule syntax is of course more formal than the examples above. The systems based on such a set of rules are generally named, knowledge-based, rule-based systems or expert systems. The system component which selects rules, makes the deductions and updates the problem state is called the inference engine.

By decomposing the expertise into fragments, we also decompose the reasoning into intermediate steps. These steps constitute the 'solution path'. The main advantage is that the system can interact about any of these steps: Zurich - Ottawa - Frobisher. For instance, if the learner selects Toronto instead of Ottawa, the system may ask the learner to justify his choice or may present the reasons why it selected Ottawa.

The second advantage of AI techniques is that the system can explain its solution. In general, the explanation is the sequence of rules which have been used by the expert to reach the solution (the 'trace' of its reasoning).

Software

Expert systems can be built with special purpose software kits, or embedded libararies or (rarely) from scratch. Many systems existed in the late eighties and early nineties. Today there seems to be less variety.

Expert system shells

  • CLIPS A popular tool for building expert systems (Unix, PC, Mac).
    • “CLIPS is a productive development and delivery expert system tool which provides a complete environment for the construction of rule and/or object based expert systems. Created in 1985, CLIPS is now widely used throughout the government, industry, and academia.” ([1])
    • CLIPS is written in C and can be embedded within procedural code, called as a subroutine, and integrated with languages such as C, Java, FORTRAN and ADA.
  • The Lisa Project is a platform for the development of Lisp-based Intelligent Software Agents. Lisa is a production-rule system implemented in the Common LISP Object System (CLOS), and is heavily influenced by CLIPS and the Java Expert System Shell (JESS).

References

  • Burton, R.R. & Brown, J.S. (1982) An investigation of computer coaching for informal learning activities. In D. Sleeman & J.S. Brown (Eds), Intelligent Tutoring Systems (pp. 201-225). New York: Academic Press.
  • Clancey, W.J. (1987) Knowledge-based tutoring: the Guidon Program. Cambridge, Massachusetts: MIT Press.
  • Dillenbourg, P. (1994). The role of artificial intelligence techniques in training software, Paper presented at LEARNTEC 1994. PDF.
  • Steels L (1990) Components of Expertise. AI Magazine, vol.11, 2,pp. 28-49.
  • Wenger, E. (1987). Artificial Intelligence and Tutoring Systems, Los Altos: Morgan Kaufmann.