Appendices
1. Symbolic Evaluation of Atomic Formulas 2. General Regression Neural Nets
1. Symbolic Evaluation of Atomic Formulas
A common type of atomic formula in a rule-based expert system is of the form:
<VARIABLE> <RELATION> <CONSTANT> (A.2.1) where <RELATION> is one of the relations, =, <, >, <=, or >=.
The following table shows when an atomic formula of this form is true or false given conditions on <VARIABLE> of same form, A.2.1.
In this table, "TRUTH CONDITION" specifies conditions under which the atomic formula is true for all numbers in the interval. "FALSE CONDITION" specifies conditions under which the atomic formulas are false for all numbers in the interval. The following restrictions on the variables a, b and c apply:
a is in [-INFINITY,INFINITY) b is in (-INFINITY,INFINITY] c is in (-INFINITY,INFINITY)
ATOMIC FORMULA TRUTH CONDITION FALSE CONDITION (a,b)<c b<=c a>=c [a,b)<c b<=c a>c (a,b]<c b<c a>=c [a,b]<c b<c a>=c (a,b)=<c b<=c a>=c (a,b)=<c b<=c a>c (a,b]=<c b<=c a>=c [a,b]=<c b<=c a>c [a,b]=c a=b=c a != b or a != c or b != c (a,b)>c a>=c b<=c (a,b]>c a>=c b<c [a,b)>c a>c b<=c [a,b]>c a>c b<c (a,b)=>c a>=c b<=c [a,b)=>c a>=c b<=c (a,b]=>c a>=c b<c [a,b]=>c a>=c b<c
2. General Regression Neural Nets
A general regression neural net (GRNN) is a method for estimating a function from a set of its values at particular points in its domain. Although the GRNN algorithm can be put in the form of a neural net, it is best understood as an interpolation. In particular, GRNN interpolates from known data points by computing a weighted average of nearby points. The weights in this average decay exponentially with distance from the point where the function is being estimated.
Notation
The following notation will be used:
- Uppercase letters (e.g., P, X, X2 etc) denote points in the input space.
- Lowercase letters with subscripts represent numbers for different fields (axes) for the point named by the corresponding uppercase letter. The subscripts identify which axis the number represents. Axis subscripts follow any subscripts that are part of the name of the point. Examples: p2, xi, x2i.
Prerequisites for GRNN
To carry out a GRNN computation, it is necessary that a distance function be defined between any two points in the input domain. The Euclidean distance function works well for GRNNs, although any distance function can be used. The Euclidean distance is defined by:
d(P1, P2) = sqrt( SUM( over fields i)(p1i - p2i)**2))) A weight function from pairs of points to real numbers is defined as follows:
w(P1,P2) = exp(-K*d(P1,P2)) In other words, the weight assigned to P2 for a GRNN estimate at P1 decays exponentially with the distance from P1 to P2. K is parameter that determines how fast the decay occurs.
The GRNN Interpolation
Following is the GRNN interpolation of a function fn:
grnn(P1) = SUM(all points P2 in data set)w(P1,P2)*fn(P2)) This says that the GRNN estimate of fn at a point is the weighted average of the known function values, where the weights decay exponentially with distance from the point where the estimate is being made.
3. Verification and Validation: Past Practices
Significant numbers of articles on verification and validation of knowledge-based systems first appeared in the literature in the early 1980's. Many authors who have written about or attempted the verification and/or validation of knowledge-base systems have their own definition of the concepts. The method that they use or the system that they design to accomplish the task(s) is usually a reflection of that particular definition. A few authors have asserted that verification and validation are the same.
The following tables summarize past work in verification and validation. Complete references appear in the bibliography.
VALIDATION METHODS THAT HAVE BEEN USED:
METHOD EXPERT SYSTEM REFERENCE Turing Test Variation Mycin
KBSCDYu, et al., 1979
Agarwal, Kannan,Tanniru,1993Simple Comparison with
ExpertDiabetes Mellitus
Tegument
Hemody. MonitoringLehmann, et. al., 1993
Potter & Ronan, 1987
Koski, et. al., 1991/92Comparison w/Expert Using
Sensitivity AnalysisESPE (Tool Set)
ProspectorFranklin, et. al., 1988
Gaschnig, 1979Comparison w/Expert Using
Freq. Analysis &
Distance AnalysisPNEUMON - IA Verdaguer, et. al., 1992 Table A.3-1: Validation Methods
VERIFICATION METHODS THAT HAVE BEEN USED:
METHOD TOOL
(If Exists)REFERENCE Tables & Pairwise Rule
ComparisonsRule-Checker
CheckSuwa, Scott, Shortliffe, 1982
Nguyen, et al.,1987Decision Tables of 'Contexts' ESC
GRAFCETCragun & Steudel, 1987
Renard, Sterling, Brosilow, 1993Meta-Knowledge EVA
ValidStachowitz, Combs, 1987
Laurent (ESPIRIT-II)Analytical Hierarchy Process Bahill, Jafar, Moller, 1987 Graphs:
Constraint Connection
Flowgraph
Parameter Dependency NetworkFreeman, 1985
Fenton, Kaposi, 1987
Agarwal, Tanniru, 1992Petri - Nets Agarwal & Tanniru, 1992
Liu & Dillon, 1991Partitioning:
Graph-Based
Clustering
Clustering Algorithm
Category Partition Method TestingJacob & Froscher, 1986
Cheng & Fu, 1985
Jacob & Froscher, 1990
Amla & Ammann, 1992Incidence Matrix Technique IMVER Coenen, Bench-Capon, Kent, 1994 Ripple-Down Rules Kang, Gambetta, Compton, 1994 Table A.3-2: Verification Methods
DOMAIN - INDEPENDENT SOFTWARE TOOLS USED FOR V. & V.:
TOOL PURPOSE METHOD USEDREFERENCE RITCaG Validation Test Case Generator Gupta, Biegel, 1990 un-named Validation Runs Test Cases Kang & Bahill, 1990 ESPE Validation Sensitivity Analysis Franklin, et al., 1988 Check Verification Tables Nguyen et al., 1987 ESC Verification Decision Tables Cragun, Steudel, 1987 GRAFCET Verification Graphical Design
Lang./Dec. TablesRenard, Sterling, Brosilow, 1993 un-named Verification Decision Tables anthienen,Dries, 1993 EVA Verification Meta-language Stachowitz,Combs,1987 Valid Verification Meta-language Jean-Pierre Laurent (ESPIRIT-II project) - Europe BEACON Verification Graphs Freeman, 1985 un-named Verification Layered Support Graphs Valiente, 1992 VALIDATOR Ver. & Valid. Syntax & Semantics Checks Jafar & Bahill COVER Verification First-Order Logic Preece, et al. 1992 Expert Choice Verification Analytical-Hierarchy Process Bahill,Jafar, Moller, 1987 Spot Verification Prolog Rule Base Lane, 1989 KB-Reducer Verification KB reduction Ginsberg, 1988 IMVER Verification Incidence matrices Coenen, Bench-Capon, Kent, 1994 un-named VerificationClustering Algorithm Jabob & Froscher, 1990 in-progress Ver. & Valid. Meta-language, GUI,
Visual Guide to Rule in Flow-GraphsTraylor, Schwuttke, Quan, 1994
(JPL-NASA)Table A.3-3: V&V Software
![]()
Figure 10
For knowledge bases other than binary systems with more than two hypotheses in rules, an alternative illustration is proposed. An incidence matrix, with rule numbers as values, is developed. The rules are clustered using their commonality of hypotheses and conclusions. The clusters are then ordered so that the bandwidth of the incidence matrix is minimum. Within a cluster, the hypotheses are placed before the conclusions. Figure 10 shows the final incidence matrix for KB1. Note that the partitions are evident. There are three sub-matrices which include all variables of a cluster.
![]()
![]()
Figure 11
Another method of representing a knowledge base is the petri-net method. Each variable is given a name, and each value, a digit. For example, the variable "Do you buy lottery tickets?" is assigned the letter "L" and the values "no" and "yes", "1" and "2" respectively. For example, the hypotheses "Do you buy lottery tickets?"= "no" is assigned to variable "L1". In Figure 11, a table in the upper lists the correspondence between the hypotheses and the variables for the knowledge base KB1. There are also two graphical representations of KB1. The upper one relates the variables without details of the logical syntax. The lower one provides those details. The dashed line indicates that the hypotheses are subjected to logical operator "or", and a solid line, "and", as shown in the legend.
![]()
The terms left blank in the matrix are zero. The product of matrix A from figure 3 and matrix B from figure 4 is called matrix C, shown in figure 5. If subjected to a boolean operation, its non-zero terms become unity. It corresponds to all connections in figure 2.
Figure 5 The dependency relation in the union of the immediate dependency relation and composition operation. It is shown in figure 8 and 9.
![]()
Figure 6 Figure 2 ![]()
Figure 8 Figure 9
Bibliography
- Agarwal, R., Kannan, R., & Tanniru, M. (1993) Formal validation of a knowledge-based system using a variation of the Turing Test, Expert Systems With Applications, 6, p. 181-192
- Agarwal, R & Tanniru, M (1992) A structured methodology for developing production systems, Decision Support Systems, 8, 483-499.
- Agarwal, R & Tanniru, M (1992a) A Petri-Net Based Approach for Verifying the Integrity of Production Systems, International Journal of Man-Machine Studies, 36, (3), pp 447-468
- Amla, N. & Ammann, P. (1992) Using Z specifications in category partition testing, in COMPASS '92; Proceedings of the Seventh Annual Conference on Computer Assurance, Systems Integrity, Software Safety, Process Security, June 15-18, 1992, Gaithersburg, MD.: Piscataway, N.J. IEEE.
- Aougab, H., Schwartz, C., & Wentworth, J., (1988, March) Expert System for Management of Low Volume Flexible Pavements, Computing in Civil Engineering: Microcomputers to Supercomputers; Proceedings of the Fifth Conference, March 29-31, Alexandria, VA. pp 759-768
- Bahill, A., Jafar, M. & Moller, R. (1987) Tools for extracting knowledge and validating expert systems, IEEE International Conference on Systems, Man and Cybernetics, 2, 857-862.
- Botton, N., Kusiak, A., Raz, T. (1989) Knowledge bases: integration, verification, and partitioning, European Journal of Operational Research, (42), p. 111-128.
- Chandrasekaran, B. (1983) On evaluating AI systems for medical diagnosis, AI Magazine, 4 (2) p. 34-38
- Cheng, Y. & Fu, K. (1985) Conceptual clustering in knowledge organization, IEEE Trans. Pattern Analysis Machine Intelligence, PAMI-7, p. 592-598.
- Childress, R. (1992, Feb.) AAAI'91, Part III, Knowledge-Based Systems: Verification, Validation, and Testing, IEEE Expert, p. 73-75
- Coenen, F., Bench-Capon, T., & Kent, A. (1994) A Binary encoded incidence matrix representation to support KBS verification in Plant, R. T., Chair, Validation and Verification of Knowledge-Based Systems;1994 Workshop Program, Seattle, July - August, 1994: Workshop Notes: American Association for Artificial Intelligence
- Cragun, B., Steudel, H.J. (1987) A decision-table-based processor for checking completeness and consistency in rule-based expert systems, International Journal of Man-Machine Studies, 26, p. 633-648
- Daniel, Wayne W. Biostatistics: a Foundation for Analysis in the Health Sciences. Wiley, New York, 1978.
- Davis, R. (1976) Applications of Meta Level Knowledge to the Construction, Maintenance and Use of Large Knowledge Bases, Report STAN-CS-76-552, Stanford, CA., Stanford Artificial Intelligence Laboratory, Stanford University
- Duda, R.O., Hart, P.E., Barrett, P., Gaschnig, J.G., Konolidge, K., Reboh, R. and Slocum, J., (1979) Development of the Prospector Consultation System for Mineral Exploration. Final Report SRI Project 6415, Menlo Park, SRI International.
- Fenton, N., Kaposi, A. (1987) Metrics and software structure, Information and Software Technology, 29 (6), p. 301-320.
- Franklin, W. R., Bansal, R., Gilbert, E., Shroff, G. (1988) Debugging and tracing expert systems, in Proceedings of the Twenty-First Annual Hawaii International Conference on System Sciences, v.3, Los Alamitos, CA: IEEE Computer Society Press, pp. 159-167.
- Freeman, M. (1985) Case study of the BEACON project, in Expert Systems and Prolog, IEEE Videoconferences, Seminars via Satellite.
- Gaschnig, J. (1979) Preliminary performance analysis of the Prospector consultant system for mineral exploration in Proceedings Sixth International Joint Conference Artificial Intelligence, v.1, San Mateo: Morgan Kaufmann, pp. 308-310
- Gaschnig, et al. (1983) Evaluation of expert system: issues and case studeis, in Hayes-Roth, F., Waterman, D. A. and Lenat, D. B. eds., Building Expert Systems, Reading, MA: Addison-Wesley,
- Geissmann, J.R., Schultz, R.D. (1988) Verification and validation of expert systems, AI Expert, 3 (2), pp. 26-33.
- Ginsberg, A. (1988) Knowledge-base reduction: a new approach to checking bases for inconsistency & redundancy, in Proceedings of the Seventh National Conference on Artificial Intelligence (AAAI-88), vol. 2, Menlo Park, CA: AAAI Press, p. 585-589.
- Gupta, U.G. (1993) Validation and verification of knowledge-based systems: a survey, Journal of Applied Intelligence,3, p. 343-363.
- Gupta, U.G., Biegel, J.E. (1990) RITCaG: Rule-based intelligent test case generator in Proceedings AAAI Workshop on Validation and Verification of Expert Systems, Boston, July 29 (unpublished)
- Harrison, P. R., Ratcliffe, P. A. (1991) Towards standards for the validation of expert systems, Expert Systems With Applications, 2, p. 251-258.
- Hickham, D.H., Shortliffe, E. H., Bischoff, M.B., Scott, C.A., & Jacobs, C. D. (1985) The treatment advice of a computer-based cancer chemotherapy protocol advisor, Annals of Internal Medicine, 103 (6) Part 1, 928-936.
- Hoel, Paul G. Introduction to Mathematical Statistics. Wiley, New York, 1954.
- Jacob, R. & Froscher, J. (1986) Developing a software engineering methodology for rule-based systems, in Proceedings 1985 Conference on Intelligent Syst. Machines, Oakland Univ., pp. 179-183
- Jacob, R. & Froscher, J. (1990) A Software engineering methodology for rule-based systems, IEEE Transactions on Knowledge and Data Engineering, 2 (2), 173-189.
- Kang, B.H., Gambetta, W., & Compton, P, (1994) Verification and validation with ripple down rules, in Plant, R. T., Chair, Validation and Verification of Knowledge-Based Systems;1994 Workshop Program, Seattle, July - August, 1994: Workshop Notes: American Association for Artificial Intelligence
- Kang, Byeong, Windy Gambetta and Paul Compton. Verification and validation with ripple down rules. Workshop Notes, Validation and Verification of Knowledge-based Systems, American Association for Artificial Intelligence, July 31-Aug. 4, 1994.
- Kang, Y. & Bahill, T. (1990, Feb.) A Tool for detecting expert-system errors, AI Expert, p. 46-51.
- Koski E.M., Makivirta, A,, Sukuvaara, T., Kari, A. (1991-92) Development of an expert system for haemodynamic monitoring: computerized symbolization of on-line monitoring data, Int J Clin Monit Comput 8(4):289-93
- Lane, A. (1989, June) An end to dueling rules, Byte, 303-308.
- Lehmann, E.D., Deutsch, T., Roudsari, A. V., Carson, E.R., Sonksen, P.H. (1993) Validation of a metabolic prototype to assist in the treatment of insulin-dependent diabetes mellitus, Medical Informatics, 18 (2), p. 83-101
- Liu, N. K., Dillon, T. (1991) An approach towards the verification of expert systems using numerical Petri nets., International Journal of Intelligent Systems 6(3) p. 255-276 Mengshoel, O.L, (1993, June) Knowledge validation: principles and practice, IEEE Expert: Intelligent Systems and their Applications, 8 (3), 62-68
- Miskell, S.G., Happell, N., Carlisle, C., (1989) Operational Evaluation of an Expert System: The FIESTA Approach, Heuristics, The Journal of Knowledge Engineering, 2 (2), Systemsware Corporation, Rockville, Maryland.
- Nazareth, D. L. (1989) Issues in the verification of knowledge in rule-based systems, International Journal of Man-Machine Studies, 30, 255-271.
- Nguyen, T. A., Perkins, W. A., Laffey, T. J., Pecora, D., ( 1987) Knowledge base verification, AI Magazine, 8 (2), p. 69-75.
- O'Leary, D. (Nov.-Dec. 1988) Methods of validating expert systems, Interfaces, 18 (6) p. 72-79 Parsaye, K. (1988) Acquiring and verifying knowledge automatically, AI Expert, 3 (5), p. 48-63.
- Potter B, Ronan S.G. (1987 Jul) Computerized dermatopathologic diagnosis. SO - J Am Acad Dermatol 7(1):119-31
- Raz, T. & Botten, N. A. (1992) The Knowledge base partitioning problem: mathematical formulation and heuristic clustering, Data and Knowledge Engineering, 8, p. 329-337.
- Renard, F. X., Sterling, L., Brosilow, C. (1993) Knowledge verification in expert systems combining declarative and procedural representations, Computers and Chemical Engineering, 17 (11) pp. 1067-1090
- Shwe, M.A., Tu, S.W., Fagan, L.M (1989 Jan) Validating the knowledge base of a therapy planning system. Methods Inf Med;28(1) 36-50
- Suwa, M., Scott, A., Shortliffe, E. (1982) An approach to verifying completeness and consistence in a rule-based expert system, AI Magazine (3) 3, p. 16-21.
- Traylor, B., Schwuttke, U. & Quan, A. (1994) A Tool for automatic verification of real-time expert systems, in Plant, R. T., Chair, Validation and Verification of Knowledge-Based Systems;1994 Workshop Program, Seattle, July - August, 1994: Workshop Notes: American Association for Artificial Intelligence
- Valiente (1992, Jan.) Using layered support graphs for verifying external adequacy in rule-based expert systems, Sigart Bulletin. 3 (1) p. 20-24.
- Vanthienen, J., Dries, E. (1993) Illustration of a decision table tool for specifying and implementing knowledge based systems, Proceedings, 5th International Conference on Tools with Artificial Intelligence TAI '93, Boston, Mass., Nov. 1993., pp. 198-205
- Verdaguer, A., Patak, A., Sancho, J.J., Sierra, C., Sanz, F. (1992) Validation of the medical expert system PNEUMON-IA, Computers and Biomedical Research, 25, p. 511-526.
- Wentworth 1989, (1989), "Overview of Artificial Intelligence Applications in Transportation," Proceedings of the Third Annual Conference on Micro- computers in Transportation, San Francisco, California.
- Yu, V.L., Fagan, L.M., Wraith, S.M., Clancey, W.J., Scott, A.C., Hannagan, J.F., Blum, R.L., Cohen, S.N., (1979) Antimicrobial selection by a computer: a blinded evaluation by infectious disease experts. Journal of the American Medical Association, 12 (242), 1279-1282
[Table of Contents]