Match-time predictability in real-time production systems

  • Franz Barachini
General Reasoning
Part of the Lecture Notes in Computer Science book series (LNCS, volume 462)


A major obstacle to the widespread use of expert systems in real-time domains is the non-predictability of rule execution times. While some researchers have addressed the issue of optimizing response times through better algorithms or parallel hardware, there has been little research towards run-time guarantee for specific match algorithms.

A widely used algorithm for real-time production systems is the RETE algorithm. We want to achieve match-time predictability for RETE, because it is required for real-time responses. Despite RETE's exponential worst-case run-time behavior, I present a pragmatic solution of how to guarantee reaction within a suer-defined time-frame, even if the problem cannot be solved during that period. The solution is based on a micro-level reasoner working at a fine granularity and using on-line cost measures of individual nodes in the RETE network.


Expert System Token Memory Truth Assignment Fine Granularity Knowledge Search 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. [1]
    Barachini F., Theuretzbacher N.: “The Challenge of Real-Time Process Control for Production Systems”, Proceedings of AAAI-88, Vol 2, pp. 705–709, Minnesota, 1988.Google Scholar
  2. [2]
    Barachini F.: “PAMELA: A Rule-Based AI Language for Process Control Applications”, Proceedings on the first International Conference on Industrial and Engineering Applications of Artificial Intelligence, Vol 2, pp. 860–867, Tennessee, 1988.Google Scholar
  3. [3]
    Barachini F., Mistelberger H., Bahr E.: “The Art of Parallel Pattern Matching”, IJCAI-89 Workshop on Parallel Algorithms for Machine Intelligence and Pattern Recognition, IJCAI-89, Detroit, 1989.Google Scholar
  4. [4]
    Barachini F., Mistelberger H., Bahr E.: “A New Method for Parallel Pattern Matching”, Proceedings of the IFIP 11th World Computer Congress, pp. 337–342, San Francisco, 1989.Google Scholar
  5. [5]
    Forgy C. L.: “RETE: A Fast Algorithm for the Many Pattern/Many Object Pattern Matching Problem”, Artificial Intelligence, Vol.19, pp. 17–37, 1982.Google Scholar
  6. [6]
    Garey M. R., Johnson D.S.: Computers and Intractability, Freeman W. H. Company, New York, 1979.Google Scholar
  7. [7]
    Georgeff M. P.: “An Embedded Real-Time Reasoning System”, Proceedings of the Second Annual NASA Research Forum, pp. 286–329, Moffet Field, CA.Google Scholar
  8. [8]
    Gupta A., Forgy C. L., Kalp D., Newell A., Tambe M.: “Results of Parallel Implementation of OPS5 on the Encore Multiprocessor”, Department of Computer Science, Carnegie Melon University, 1986.Google Scholar
  9. [9]
    Gupta A., Forgy C. L., Newell A., Wedig R.: “Parallel Algorithms and Architectures for Rule-Based Systems”, in the 13th Annual International Symposium on Computer Architectures, IEEE and ACM, 1986.Google Scholar
  10. [10]
    Gupta A., Tambe M.: “Suitability of Message Passing Computers for Implementing Production Systems”, Proceedings of AAAI-88, Vol 2, pp. 687–692, Minnesota, 1988.Google Scholar
  11. [11]
    Horwitz E. J., Cooper G. F., Heckerman D.E.: “Reflection and Action Under Scarce Resources: Theoretical Principals and Empirical Study”, in Proceedings of IJCAI-89, pp. 1121–1127, Detroit, 1989.Google Scholar
  12. [12]
    Haley P.V.: “Real-Time for RETE”, Proceedings of ROBEX-87, Triangle Park, Instrument Society of America, 1987.Google Scholar
  13. [13]
    Kalp D., Tambe M., Gupta A., Forgy C., Newell A., Acharya A., Milnes B., Swedlow K.: “Parallel OPS5 User's Manual”, Draft, CMU, 1988.Google Scholar
  14. [14]
    Kelly M. A., Seviora R. E.: “An Evaluation of DRete on CUPID for OPS5 Matching”, Proceedings of IJCAI-89, Vol. 1, pp. 84–90, Detroit, 1989.Google Scholar
  15. [15]
    Korf R. E.: “Real-Time Heuristic Search: New Results”, in Proceedings of AAAI-88.Google Scholar
  16. [16]
    Laffey T. J., Cox P. A., Schmidt J. L., Kao S. M., Read J. Y.: “Real-Time Knowledge-Based Systems”, in AI Magazine, Vol 9, no 1, pp. 27–45, 1988.Google Scholar
  17. [17]
    Miranker D.: “TREAT: A New and Efficient Match Algorithm for AI Production Systems”, Ph.D. Thesis, Columbia University, 1987.Google Scholar
  18. [18]
    Oflazer K.: “Partitioning in Parallel Processing of Production Systems”, Ph.D. Thesis, Carnegie Melon University, 1986.Google Scholar
  19. [19]
    O'Reilly C. A., Cromarty A. S.: “Fast is not Real-Time in Designing effective Real-Time AI Systems”, Applications of Artificial Intelligence II, pp. 249–257, International Society of Optical Engineering.Google Scholar
  20. [20]
    Robinson J.A.: “A Machine-Oriented Logic Based on the Resolution Principle”, Journal of ACM 12, pp. 23–41, 1965.Google Scholar
  21. [21]
    Tambe M., Rosenbloom P.: “Eliminating Expensive Chunks”, Carnegie Melon Report, CMU-CS-88-189, 1988.Google Scholar
  22. [22]
    Tambe M., Newell A.: “Some Chunks are Expensive”, in Proceedings of the Fifth International Conference on Machine Learning, pp.451–458, 1988.Google Scholar
  23. [23]
    Treitl R., Genesereth M.R.: “Choosing Directions for Rules”, Journal of Automated Reasoning 3, pp. 153–157, 1986.Google Scholar
  24. [24]
    Wright M., Green M., Fiegl G., Cross P.: “An Expert System for Real-Time Control”, in IEEE Software, pp. 16–24, 1986.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1990

Authors and Affiliations

  • Franz Barachini
    • 1
  1. 1.Alcatel-Elin ForschungszentrumViennaAustria

Personalised recommendations