Knowledge Systems Knowledge Systems use formal representations of knowledge to answer unanticipated questions with coherent explanations Knowledge System.

Slides:



Advertisements
Similar presentations
Reaction Prediction. You should already know... how to balance chemical equations. the five common types of chemical reactions. how to use the activity.
Advertisements

Chapter 1 Science Skills Branches of Science Scientific Method (Steps) Scientific Laws Scientific Models Units of Measurement ( Metric to metric Conversions)
Kurt Hungerford CSCI The Knowledge Machine is a knowledge representation and reasoning system that allows users to store concepts and relationships.
Chapter 4: Chemical Reactions
Aqueous Reactions and Solution Stoichiometry. ► Aqueous Solutions – a solution which water is the solvent ► Solution = Solute + Solvent ► Solute = smaller.
Reactions in Aqueous Solution
Aqueous Reactions © 2009, Prentice-Hall, Inc. Chapter 4 Aqueous Reactions and Solution Stoichiometry John D. Bookstaver St. Charles Community College Cottleville,
Chapter 3 Chemical Reactions
Knowledge Systems and Project Halo* University of Texas at Austin Ken Barker, Shaw Yi Chaw, James Fan, Bruce Porter, Dan Tecuci, Peter Yeh SRI International.
Aqueous Reactions and Solution Stoichiometry. Aqueous Solutions Aqueous solutions are solutions in which water does the dissolving. –Solute – material.
Chapter 4 Aqueous Reactions and Solution Stoichiometry.
Knowledge Systems Bruce Porter Department of Computer Sciences The University of Texas at Austin.
Aqueous Reactions Precipitation Reactions When one mixes ions that form compounds that are insoluble (as could be predicted by the solubility guidelines),
Vocabulary In SOLUTION we need to define the - SOLVENT the component whose physical state is preserved when solution forms SOLUTE the other solution component.
Chapter 4: Types of Chemical Reactions Goals: To be able to predict chemical reactivity. To know how to synthesize specific compounds.
Chapter 5 Naming Ionic Compounds A. Type I compounds
Properties of Solutions. Classification of Matter Solutions are homogeneous mixtures.
Types of Chemical Reactions & Solution Stoichiometry
Ch. 4 Chemical Reactions Homework: 4.17, 4.18, 4.30, 4.33, 4.43, 4.45, 4.49, 4.55, 4.60, 4.62, 4.63, 4.73, 4.78,
Chapter 3 - Stoichiometry It is important to be able to quantify the amount of reagent(s) that will be needed to produce a given amount of product(s).
Copyright©2000 by Houghton Mifflin Company. All rights reserved. 1 Ch 4: Types of Rxns and Solution Stoik Read for comprehension pp
Describing Chemical Reactions On May 6, 1937, the huge airship Hindenburg erupted into a fireball. Within a short time, 210,000 cubic meters of hydrogen.
Physical Science Final Exam Review. Properties of Matter (Unit 5) Atoms and the Periodic Table (Unit 6) Chemical.
Solutions. Definitions Solution: homogeneous mixture of 2 or more substances in a single physical state Solute: the substance dissolved in the solution.
CHEMISTRY. Composition of Matter Matter - Everything in universe is composed of matter Matter is anything that occupies space or has mass Mass – quantity.
The Reading to Learn Project Peter Clark Phil Harrison Tom Jenkins John Thompson Rick Wojcik (Boeing Phantom Works) David Israel (SRI)
Copyright©2000 by Houghton Mifflin Company. All rights reserved. 1 Aqueous Solutions Water is the dissolving medium, or solvent.
Section 4.1 Water Soluble Compounds Strong Electrolytes Weak Electrolytes Non Electrolytes Strong acids And Strong Bases Example: HNO 3 H.
Slide 1 Project Halo: Towards a Digital Aristotle April 30 th, 2003 Noah S Friedland, PhD.
Chapter 5: Introduction to Reactions in Aqueous Solutions.
Chapter 4 Part 1 “Aqueous Solutions” Honors Chemistry 2.
CHAPTER 4 Aqueous Reactions and Solution Stoichiometry 1.
Aqueous Reactions © 2009, Prentice-Hall, Inc. Chapter 4 Aqueous Reactions and Solution Stoichiometry.
Expert Systems Robots Unlimited, p. 234 – Expert Systems Expert knowledge in many domains can be captured as rules. Dendral (1965 – 1975) If: The.
Aqueous Reactions © 2009, Prentice-Hall, Inc. Chapter 4 Aqueous Reactions and Solution Stoichiometry John D. Bookstaver St. Charles Community College Cottleville,
Chapters 4, and 5.  Solution:  Electrolyte:  Nonelectrolyte:
© Copyright R.J. Rusay Aqueous Reactions Dr. Ron Rusay Fall 2007.
Chemical Reactions Chapter Chemical Equations the reactants are written to the left and the products are written to the right of the arrow.
Aqueous Reactions Chapter 4 Aqueous Reactions and Solution Stoichiometry John D. Bookstaver St. Charles Community College St. Peters, MO  2006, Prentice.
5 5-1 © 2006 Thomson Learning, Inc. All rights reserved Bettelheim, Brown, Campbell, & Farrell General, Organic, and Biochemistry, 8e.
Chapter 6 Chemical Reactions Chemical Reactions. Chemical Reactions In a chemical reaction, one or more reactants is converted to one or more products.
Chemical Reactions. Describing Chemical Reactions 11.1.
Knowledge Systems and Project Halo In collaboration with SRI (Vinay Chaudhri) and Boeing (Peter Clark)
Some Thoughts to Consider 8 How difficult is it to get a group of people, or a group of companies, or a group of nations to agree on a particular ontology?
Aqueous Stuff Aqueous Stuff. Reactions Between Ions Ionic compounds, also called salts, consist of both positive and negative ions When an ionic compound.
Copyright©2000 by Houghton Mifflin Company. All rights reserved. 1 Aqueous Solutions Water is the dissolving medium, or solvent.
S ECTION 7–2: T YPES OF R EACTIONS Physical Science Coach Kelsoe Pages 199–205.
Chapter 4 – Aqueous Systems Many chemical reactions occur in solution, when substances are dissolved in water. In this unit, we will explore the various.
Examples of Chemistry Laws L. 1) Concentration of a solute In a solution, the concentration of a solute i is given by the following formula: Concentration.
Chapter 4: Types of Chemical Reactions Goals: To be able to predict chemical reactivity. To know how to synthesize specific compounds.
UNENE Chemistry Primer Lecture 3: Aqueous Reactions and Solution Stoichiometry Derek Lister & William Cook University of New Brunswick Course Textbook:
CHEMISTRY. Composition of Matter Matter - Everything in universe is composed of matter Matter: anything that occupies space or has mass Mass – quantity.
The Solution Process Electrolytes, non-electrolytes.
The Strengths of Acids and Bases References: Chemistry, Nelson, pages Heath Chemistry, pages McGraw-Hill Ryerson, Chapters 14,15.
Prentice Hall © 2003Chapter 3 Chapter 3 Stoichiometry: Calculations with Chemical Formulas and Equations CHEMISTRY The Central Science 9th Edition.
Types of Reactions. Updated types of reactions… Regular Chemistry AP Chemistry Synthesis Decomposition Single Replacement Double Replacement Combustion.
Recommended Reading and Problems Recommended Reading Relevant Problems Chapter , Review (balancing) Review (classifying.
Aqueous Reactions Chapter 4 Aqueous Reactions and Solution Stoichiometry John D. Bookstaver St. Charles Community College St. Peters, MO  2006, Prentice.
Aqueous Reactions © 2015 Pearson Education, Inc. Lecture Presentation Chapter 4 Reactions in Aqueous Solution James F. Kirby Quinnipiac University Hamden,
Solutions, Solubility Rules, and Molarity. Solutions Solutions are defined as homogeneous mixtures of two or more pure substances. Aqueous solution –
Prentice Hall © 2003Chapter 4 Chapter 4 Aqueous Reactions and Solution Stoichiometry CHEMISTRY The Central Science 9th Edition David P. White.
Chapter 4 Aqueous Reactions and Solution Stoichiometry.
Chemical Reactions Ch 5.1, 5.2, 5.3 starting at page 141
Chemistry 141 Wednesday, October 4, 2017 Lecture 13
Chapter 14 Preview Multiple Choice Short Answer Extended Response
Chemical Reactions Chapter
Chapter 4: Types of Chemical Reactions
Unit 3 Chemical Reactions and Stoichiometry
Chapter 4: Types of Chemical Reactions
Presentation transcript:

Knowledge Systems Knowledge Systems use formal representations of knowledge to answer unanticipated questions with coherent explanations Knowledge System = KB + Q/A + Explanation Generator + Knowledge Acq. tools

Advances over Expert Systems Coverage of domain, not domain task Various modes of reasoning, well integrated Domain level explanation Rapid construction U Just how advanced are they?

Project Halo* Long term: build a Knowledge System encompassing much of the world’s scientific knowledge Short term: assess current technologies Use a portion of the Advance Placement (AP) chemistry exam as a metric * Full support for Project Halo was provided by Vulcan Inc, Seattle, WA

Challenges Systems must be robust in the face of widely varying, unanticipated questions. Explanations are as important as correctness. Hard-ball evaluation, aimed to expose weaknesses. New domain and short development time require using off-the-shelf KR&R methods and systems. It was not clear at the outset that these challenges could be met.

Example Questions The spectator ions in the reaction of barium nitrate with sodium sulfate are what? (choices) Although nitric acid and phosphoric acid have very different properties as pure substances, their aqueous solutions possess many common properties. List some general properties of these solutions and explain their common behavior in terms of the species present. Explain why a solution of HClO 4 and NaClO 4 cannot act as a buffer solution. Sodium azide is used in air bags to rapidly produce gas to inflate the bag. The products of the decomposition reaction are what? (choices) Questions were manually encoded in our formal language

Because Questions Vary Widely… … we can not anticipate the questions, or even the type of questions, so a retrieval method won’t do. A custom inference method won’t do. The system must be capable of using its knowledge in unanticipated ways.

An Example Explanation What are the products of the given decomposition reaction? By definition, oxidation-reduction reactions occur when electrons are transferred from the atom that is oxidized to the atom that is reduced. We need to look for changes in the oxidation states of the elements in the reaction. In the reactants, the oxidation state(s) of the element Na is/are (1). In the product, the oxidation state(s) is/are (0) Therefore, the reaction causes a change in oxidation state. Therefore, this is an oxidation reduction reaction. By definition, a Binary Ionic-Compound Decomposition Reaction occurs when a binary ionic compound is heated. Therefore, this reaction is a Binary-Ionic Compound Decomposition reaction. In general, a Binary Ionic-Compound Decomposition Reaction converts a binary ionic-compound into basic elements. In this reaction, NaN 3 reacts to produce Na and N 2. The products of the decomposition reaction are: (d) Sodium and nitrogen-g

Our KR&R System * KM: KRL-like frame system with FOL semantics. …able to represent: – classes, instances, prototypes – defaults, fluents, constraints – (hypothetical) situations – actions (pre-, post-, and during- conditions) …and reason about: – inheritance with exceptions – constraints – automatic classification (given a partial description of an instance, determine the classes to which it belongs) – temporal projection (“my car is where I left it”) – effects of actions KM answers questions by interleaving two types of inference: – Automatic classification – Backward chaining * Details: AAAI’97

Structure of the Knowledge Base* Two principal types of chemistry knowledge: – terms, e.g. “binary ionic compound” – laws, e.g. problem-solving method for computing products of reactions of binary-ionic compounds Terms are encoded as definitions to enable automatic classification. Laws are encoded as rules to enable backward chaining. * Details: KR’04 (Barker, et.al.)

The Content of a Chemistry Law Concentration of Solute Law Context: a mixture M such that: volume(M) = V liters has-part(M) includes Chemical C such that: quantity(C) = Q moles concentration(C) = Conc molar Input: V, Q Output: Conc Method: Conc ← Q/V The conditions under which the law applies The subset of variables that must be bound The subset of variables that will be bound The axioms used to compute values for output variables

Knowledge Engineering Methodology Knowledge base built in 4 months: – Ontological engineering (4 person-months): designed representations, including structure of terms, laws, reactions, solutions, etc. – Knowledge capture (6 person-months): consolidated 70 textbook pages into 35 pages of terms and laws – Knowledge encoding (15 person-months): coded in KM 500 types and relations, 150 chemistry laws and 65 terms. Compiled a large test suite which was run daily – Explanation engineering (3 person-months): augmented the representations of terms and laws with templates

Results of Project Halo* After 4 month development effort, the knowledge systems were sequestered and given a test: – 165 novel questions: 50 multiple choice; 115 free form response – Questions translated from English to formal language by each team, then assessed for fidelity by Vulcan and team representatives * Details: AI Magazine (Winter 2004) : systems, Q/A, and analyses

Correctness Our system’s correctness score corresponds to an AP score of 3 – high enough for credit at UCSD, UIUC, and many other universities. We’ve predicted scoring 85% after a 3 month follow-on project.

Explanation Quality

Error Analysis * We analyzed every point lost. Most deductions were due to errors in domain modeling — mistakes that domain experts would not make. (More later) Some errors were caused by technology problems. Details: KR’04 (Friedland, et.al.)

Problems Due to KR&R Technology Explanations too verbose: e.g. passages repeated multiple times with only small variations – graders expected a general statement that covered them all. Requires explanation planning Questions that require reasoning about our representations: – Calculate the pH of a particular substance. Explain why the result is unreasonable. – Explain the difference between the subscript “3” and the coefficient “3” in 3HNO 3. – Explain when and why it’s OK for a particular chemistry method to use an equation that only approximates the true answer.

Reasoning about Relevance Hydrofluoric acid is a weak acid, Ka = 6.8 x 10 -4, and yet it is considered to be a very reactive compound. For example, HF dissolves glass. The major reason it is considered highly reactive is: (a) It is an acid. (b) It forms H3O+. (c) It dissociates. (d) It readily forms very stable fluoride compounds. (e) It is a weak electrolyte. All five statements are true. The question requires that the system reason about which of the multiple true statements is most relevant to the claim.

Bottom Line Halo I was a rigorous evaluation of current Knowledge System technology. In general, the systems were more capable than Vulcan expected. The major hurdles to building a Knowledge System for science are errors (in domain modeling) and cost ($10K/page).