Predstavljanje znanja i rezonovanje — разлика између измена

С Википедије, слободне енциклопедије
Садржај обрисан Садржај додат
.
ознака: везе до вишезначних одредница
(нема разлике)

Верзија на датум 18. март 2024. у 04:34

Predstavljanje znanja i rezonovanje (KRR, KR&R, KR²) polje je veštačke inteligencije (VI) dedicated to representing information about the world in a form that a computer system can use to solve complex tasks such as diagnosing a medical condition or having a dialog in a natural language. Knowledge representation incorporates findings from psychology[1] about how humans solve problems, and represent knowledge in order to design formalisms that will make complex systems easier to design and build. Knowledge representation and reasoning also incorporates findings from logic to automate various kinds of reasoning.

Examples of knowledge representation formalisms include semantic nets, frames, rules, logic programs and ontologies. Examples of automated reasoning engines include inference engines, theorem provers, model generators and classifiers.

Pregled

Knowledge-representation is a field of artificial intelligence that focuses on designing computer representations that capture information about the world that can be used for solving complex problems.

The justification for knowledge representation is that conventional procedural code is not the best formalism to use to solve complex problems. Knowledge representation makes complex software easier to define and maintain than procedural code and can be used in expert systems.

For example, talking to experts in terms of business rules rather than code lessens the semantic gap between users and developers and makes development of complex systems more practical.

Knowledge representation goes hand in hand with automated reasoning because one of the main purposes of explicitly representing knowledge is to be able to reason about that knowledge, to make inferences, assert new knowledge, etc. Virtually all knowledge representation languages have a reasoning or inference engine as part of the system.[2]

A key trade-off in the design of knowledge representation formalisms is that between expressivity and tractability.[3] First Order Logic (FOL), with its high expressive power and ability to formalise much of mathematics, is a standard for comparing the expressibility of knowledge representation languages.

Arguably, FOL has two drawbacks as a knowledge representation formalism in its own right, namely ease of use and efficiency of implementation. Firstly, because of its high expressive power, FOL allows many ways of expressing the same information, and this can make it hard for users to formalise or even to understand knowledge expressed in complex, mathematically-oriented ways. Secondly, because of its complex proof procedures, it can be difficult for users to understand complex proofs and explanations, and it can be hard for implementations to be efficient. As a consequence, unrestricted FOL can be intimidating for many software developers.

One of the key discoveries of AI research in the 1970s was that languages that do not have the full expressive power of FOL can still provide close to the same expressive power of FOL, but can be easier for both the average developer and for the computer to understand. Many of the early AI knowledge representation formalisms, from databases to semantic nets to production systems, can be viewed as making various design decisions about how to balance expressive power with naturalness of expression and efficiency.[4] In particular, this balancing act was a driving motivation for the development of IF-THEN rules in rule-based expert systems.

A similar balancing act was also a motivation for the development of logic programming (LP) and the logic programming language Prolog. Logic programs have a rule-based syntax, which is easily confused with the IF-THEN syntax of production rules. But logic programs have a well-defined logical semantics, whereas production systems do not.

The earliest form of logic programming was based on the Horn clause subset of FOL. But later extensions of LP included the negation as failure inference rule, which turns LP into a non-monotonic logic for default reasoning. The resulting extended semantics of LP is a variation of the standard semantics of Horn clauses and FOL, and is a form of database semantics, [5] which includes the unique name assumption and a form of closed world assumption. These assumptions are much harder to state and reason with explicitly using the standard semantics of FOL.

In a key 1993 paper on the topic, Randall Davis of MIT outlined five distinct roles to analyze a knowledge representation framework:[6]

  • "A knowledge representation (KR) is most fundamentally a surrogate, a substitute for the thing itself, used to enable an entity to determine consequences by thinking rather than acting," [6] i.e., "by reasoning about the world rather than taking action in it."[6]
  • "It is a set of ontological commitments",[6] i.e., "an answer to the question: In what terms should I think about the world?" [6]
  • "It is a fragmentary theory of intelligent reasoning, expressed in terms of three components: (i) the representation's fundamental conception of intelligent reasoning; (ii) the set of inferences the representation sanctions; and (iii) the set of inferences it recommends."[6]
  • "It is a medium for pragmatically efficient computation",[6] i.e., "the computational environment in which thinking is accomplished. One contribution to this pragmatic efficiency is supplied by the guidance a representation provides for organizing information" [6] so as "to facilitate making the recommended inferences."[6]
  • "It is a medium of human expression",[6] i.e., "a language in which we say things about the world."[6]

Knowledge representation and reasoning are a key enabling technology for the Semantic Web. Languages based on the Frame model with automatic classification provide a layer of semantics on top of the existing Internet. Rather than searching via text strings as is typical today, it will be possible to define logical queries and find pages that map to those queries.[7][8] The automated reasoning component in these systems is an engine known as the classifier. Classifiers focus on the subsumption relations in a knowledge base rather than rules. A classifier can infer new classes and dynamically change the ontology as new information becomes available. This capability is ideal for the ever-changing and evolving information space of the Internet.[9]

The Semantic Web integrates concepts from knowledge representation and reasoning with markup languages based on XML. The Resource Description Framework (RDF) provides the basic capabilities to define knowledge-based objects on the Internet with basic features such as Is-A relations and object properties. The Web Ontology Language (OWL) adds additional semantics and integrates with automatic classification reasoners.[10]

Reference

  1. ^ Schank, Roger; Abelson, Robert (1977). Scripts, Plans, Goals, and Understanding: An Inquiry Into Human Knowledge Structures. Lawrence Erlbaum Associates, Inc. 
  2. ^ Hayes-Roth, Frederick; Waterman, Donald; Lenat, Douglas (1983). Building Expert Systems. Addison-Wesley. стр. 6–7. ISBN 978-0-201-10686-2. 
  3. ^ Levesque, H.J. and Brachman, R.J., 1987. Expressiveness and tractability in knowledge representation and reasoning 1. Computational intelligence, 3(1), pp.78-93.
  4. ^ Levesque, Hector; Brachman, Ronald (1985). „A Fundamental Tradeoff in Knowledge Representation and Reasoning”. Ур.: Ronald Brachman and Hector J. Levesque. Readings in Knowledge Representation. Morgan Kaufmann. стр. 49. ISBN 978-0-934613-01-9. „The good news in reducing KR service to theorem proving is that we now have a very clear, very specific notion of what the KR system should do; the bad new is that it is also clear that the services can not be provided... deciding whether or not a sentence in FOL is a theorem... is unsolvable. 
  5. ^ Russell, Stuart J.; Norvig, Peter. (2021). Artificial Intelligence: A Modern Approach (4th изд.). Hoboken: Pearson. стр. 282. ISBN 978-0134610993. LCCN 20190474. 
  6. ^ а б в г д ђ е ж з и ј Davis, Randall; Shrobe, Howard; Szolovits, Peter (пролеће 1993). „What Is a Knowledge Representation?”. AI Magazine. 14 (1): 17—33. Архивирано из оригинала 2012-04-06. г. Приступљено 2011-03-23. 
  7. ^ Berners-Lee, Tim; Hendler, James; Lassila, Ora (17. 5. 2001). „The Semantic Web – A new form of Web content that is meaningful to computers will unleash a revolution of new possibilities”. Scientific American. 284 (5): 34—43. doi:10.1038/scientificamerican0501-34. Архивирано из оригинала 24. 4. 2013. г. 
  8. ^ Knublauch, Holger; Oberle, Daniel; Tetlow, Phil; Wallace, Evan (2006-03-09). „A Semantic Web Primer for Object-Oriented Software Developers”. W3C. Архивирано из оригинала 2018-01-06. г. Приступљено 2008-07-30. 
  9. ^ Macgregor, Robert (13. 8. 1999). „Retrospective on Loom”. isi.edu. Information Sciences Institute. Архивирано из оригинала 25. 10. 2013. г. Приступљено 10. 12. 2013. 
  10. ^ Knublauch, Holger; Oberle, Daniel; Tetlow, Phil; Wallace, Evan (2006-03-09). „A Semantic Web Primer for Object-Oriented Software Developers”. W3C. Архивирано из оригинала 2018-01-06. г. Приступљено 2008-07-30. 

Literatura

Spoljašnje veze