Optimization of Rule-Based Systems Using State Space Graphs

Embedded rule-based expert systems must satisfy stringent timing constraints when applied to real-time environments. The paper describes a novel approach to reduce the response time of rule-based expert systems. The optimization method is based on a construction of the reduced cycle-free finite state space graph. In contrast with traditional state space graph derivation, the optimization algorithm starts from the final states (fixed points) and gradually expands the state space graph until all of the states with a reachable fixed point are found. The new and optimized system is then synthesized from the constructed state space graph. The authors present several algorithms implementing the optimization method. They vary in complexity as well as in the usage of concurrency and state-equivalency-both targeted toward minimizing the size of the optimized state space graph. Though depending on the algorithm used, optimized rule-based systems: (1) in general have better response time in that they require fewer rule firings to reach the fixed point; (2) are stable, i.e., have no cycles that would result in the instability of execution; and (3) have no redundant rules. They also address the issue of deterministic execution and propose optimization algorithms that generate the rule-bases with single corresponding fixed points for every initial state. The synthesis method also determines the tight response time bound of the new system and can identify unstable states in the original rule-base.

[1]  Aloysius K. Mok Formal analysis of real-time equational rule-based systems , 1989, [1989] Proceedings. Real-Time Systems Symposium.

[2]  Gerard J. Holzmann,et al.  State-space caching revisited , 1992, Formal Methods Syst. Des..

[3]  Alexander J. Pasik,et al.  A Source-to-Source Transformation for Increasing Rule-Based System Parallelism , 1992, IEEE Trans. Knowl. Data Eng..

[4]  Jennifer Widom,et al.  Behavior of database production rules: termination, confluence, and observable determinism , 1992, SIGMOD '92.

[5]  Gerard J. Holzmann,et al.  Design and validation of computer protocols , 1991 .

[6]  Serge Abiteboul,et al.  Fundamental Properties of Deterministic and Nondeterministic Extensions of Datalog , 1991, Theor. Comput. Sci..

[7]  Christopher A. Marsh The ISA expert system: a prototype system for failure diagnosis on the space station , 1988, IEA/AIE '88.

[8]  Toru Ishida,et al.  An Optimization Algorithm for Production Systems , 1994, IEEE Trans. Knowl. Data Eng..

[9]  Charles L. Forgy,et al.  OPS5 user's manual , 1981 .

[10]  Jeng-Rung Chen,et al.  Predicting the response time of OPS5-style production systems , 1995, Proceedings the 11th Conference on Artificial Intelligence for Applications.

[11]  Antti Valmari,et al.  Embedded software validation through state space generation , 1989, RTSS 1989.

[12]  Albert Mo Kim Cheng,et al.  Parallel execution of real-time rule-based systems , 1993, [1993] Proceedings Seventh International Parallel Processing Symposium.

[13]  Daniel P. Miranker,et al.  A new approach to modularity in rule-based programming , 1994, Proceedings Sixth International Conference on Tools with Artificial Intelligence. TAI 94.

[14]  Dan I. Moldovan,et al.  Implementation of Multiple Rule Firing Production Systems on Hypercube , 1991, J. Parallel Distributed Comput..

[15]  Albert Mo Kim Cheng,et al.  Analysis of Real-Time Rule-Based Systems with Bahavioral Constraint Assertions Specified in Estella , 1993, IEEE Trans. Software Eng..

[16]  Albert Mo Kim Cheng,et al.  MRL: a real-time rule-based production system , 1990, [1990] Proceedings 11th Real-Time Systems Symposium.

[17]  Jeng-Rung Chen,et al.  Response Time Analysis of EQL Real-Time Rule-Based Systems , 1995, IEEE Trans. Knowl. Data Eng..