Abstract
During the last decade, model of knowledge based on rules loses its positions in information systems. However, production model of knowledge is still popular in expert system and decision making systems, particularly, in situation centers. The main problem of reasoning from rules is exponential complexity of search. Logical inference usually operates with axioms recorded in plain texts or XML-like files. That means the facts and rules are processed in the order they are written in the source file. It is acceptable for small knowledge bases but when the number of facts increases the reasoning time gets non-acceptable. In this paper, we propose an approach implementing well known techniques to accelerate search – indexing of facts in the knowledge base.
Let say all the facts consist of tuples (subject, predicate, object). First, we enumerate all the facts in the knowledge base. Then, we build the indices. Each index relates to a term and contains the facts’ numbers having this term in a corresponding role (as a subject, as a predicate, or as an object). When the search meets a rule containing particular values in the antecedents (conditions of rules) the inference engine does not need to scan entire knowledge base. Instead, it extracts only facts containing the terms in the proper roles. Moreover, by applying to indices the intersection operation we can dramatically shorten the list of facts that should be processed by rules. In the paper, we show that in some cases set operations under indices allow to eliminate the inference at all because it makes possible to get the final result directly from indices.
In contrary to well known RETE algorithm, our approach does not need to build prefix trees before the processing of each rule. The indices are to be updated only when the new facts appear. The inference acceleration depends on the query. The more explicit query is the better results the search demonstrates.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Knuth, D.: Combinatorial Algorithms. The Art of Computer Programming. 4A, 1st edn. Addison-Wesley Professional, Reading (2011)
Russell, S.J., Norvig, P.: Artificial Intelligence a Modern Approach, 4th edn. Pearson, Boston (2018)
Agnar, A., Plaza, E.: Case-based reasoning: foundational issues, methodological variations, and system approaches. Artif. Intell. Commun. 7(1), 39–52 (1994)
Forgy, C.: RETE: a fast algorithm for the many pattern/many object pattern match problem. In: Artificial Intelligence, vol. 19, pp. 17–37 (1982)
Friedman-Hill, E.: Jess in Action: Rule Based Systems in Java. Manning Publications, Shelter Island (2003)
Giarratano, J.C., Riley, G.D.: Expert Systems: Principles and Programming. Thomson, Boston (2005)
Owen, J.: World's Fastest Rules Engine—Business Rule Management Systems. InfoWorld. (2010). Accessed 07 Apr 2012
OWL/Implementations. https://www.w3.org/2001/sw/wiki/OWL/Implementations. Accessed 30 June 2021
Bessmertny, I.A.: System of Artificial Intelligence, 2nd edn. Ser. 58, vol. 130. Bachelor Academic Course. URAIT Publisher (2018)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Yu, C., Bessmertny, I., Koroleva, J. (2022). Fast Inference Based on the Set Theory. In: Kabashkin, I., Yatskiv, I., Prentkovskis, O. (eds) Reliability and Statistics in Transportation and Communication. RelStat 2021. Lecture Notes in Networks and Systems, vol 410. Springer, Cham. https://doi.org/10.1007/978-3-030-96196-1_3
Download citation
DOI: https://doi.org/10.1007/978-3-030-96196-1_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-96195-4
Online ISBN: 978-3-030-96196-1
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)