TEMPLE: TEMPLate Enhancement through Knowledge Acquisition

Slides:



Advertisements
Similar presentations
1 USC INFORMATION SCIENCES INSTITUTE Interactive Knowledge Capture Interactive Knowledge Capture for Problem-Solving Systems Jim Blythe Yolanda Gil Jihie.
Advertisements

Considering Assistive Technology and the AT Plan Sara Menzel, ATP UCP Michigan Assistive Technology Center
IBM Software Group ® Recommending Materialized Views and Indexes with the IBM DB2 Design Advisor (Automating Physical Database Design) Jarek Gryz.
Informatics 43 – May 7, Restatement of Goals for Testing Want to verify software’s correctness  Need to test  Need to decide on test cases  No.
Enhancing Active Templates through Knowledge Acquisition Jim Blythe and Yolanda Gil (PI) Temple project USC Information Sciences Institute
Reasons to study concepts of PL
PDDL: A Language with a Purpose? Lee McCluskey Department of Computing and Mathematical Sciences, The University of Huddersfield.
Academic Advisor: Prof. Ronen Brafman Team Members: Ran Isenberg Mirit Markovich Noa Aharon Alon Furman.
PROMPT: Algorithm and Tool for Automated Ontology Merging and Alignment Natalya F. Noy and Mark A. Musen.
Guide To UNIX Using Linux Third Edition
1 An introduction to design patterns Based on material produced by John Vlissides and Douglas C. Schmidt.
1 USC INFORMATION SCIENCES INSTITUTE Tailor, 6/20/04 TAILOR*: Modifying Calo’s Procedure Knowledge through Instruction Jim Blythe, Yolanda Gil, Jihie Kim.
© 2002 Railinc. All rights reserved. 1 Copyright © 2005 All rights reserved. Customized Parameter Trace.
Software Engineering Muhammad Fahad Khan
S/W Project Management
1 Yolanda Gil Information Sciences InstituteJanuary 10, 2010 Requirements for caBIG Infrastructure to Support Semantic Workflows Yolanda.
ISO Tor Stålhane IDI / NTNU. What is ISO ISO 9001 was developed for the production industry but has a rather general structure ISO describes.
ITEC224 Database Programming
An Online Knowledge Base for Sustainable Military Facilities & Infrastructure Dr. Annie R. Pearce, Branch Head Sustainable Facilities & Infrastructure.
1 USC INFORMATION SCIENCES INSTITUTE TEMPLE meeting, July 2000 TEMPLE: TEMPLate Enhancement through Knowledge Acquisition Yolanda Gil Jim Blythe Jihie.
An Introduction to Design Patterns. Introduction Promote reuse. Use the experiences of software developers. A shared library/lingo used by developers.
Feasibility Analysis What is feasibility and when should feasibility checkpoints occur? What are the four types of feasibility and what is the description.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 7: Focusing on Users and Their Tasks.
1 USC INFORMATION SCIENCES INSTITUTE TEMPLE meeting, July 2000 Specifying Planning Objectives Yolanda Gil Jim Blythe Jihie Kim Surya Ramachandran
Acquiring Information Systems and Applications
1 USC INFORMATION SCIENCES INSTITUTE CALO, 8/8/03 Acquiring advice (that may use complex expressions) and action specifications Acquiring planning advice,
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
10/10/2012ISC239 Isabelle Bichindaritz1 Physical Database Design.
Using and modifying plan constraints in Constable Jim Blythe and Yolanda Gil Temple project USC Information Sciences Institute
1 USC, INFORMATION SCIENCES INSTITUTE An integrated environment for KA An Integrated Environment for Knowledge Acquisition Jim Blythe
Using and modifying plan constraints in Constable Jim Blythe and Yolanda Gil Temple project USC Information Sciences Institute
1 USC INFORMATION SCIENCES INSTITUTE Expect: COA Critiquing PSM EXPECT: A User-Centered Environment for the Development and Adaptation of Knowledge-Based.
1 USC INFORMATION SCIENCES INSTITUTE EXPECT TEMPLE: TEMPLate Extension Through Knowledge Acquisition Yolanda Gil Jim Blythe Information Sciences Institute.
B. Information Technology (Hons.) CMPB245: Database Design Physical Design.
Concepts and Realization of a Diagram Editor Generator Based on Hypergraph Transformation Author: Mark Minas Presenter: Song Gu.
KANAL (Knowledge ANALysis) Jihie Kim Jim Blythe Yolanda Gil
Software Reuse. Objectives l To explain the benefits of software reuse and some reuse problems l To discuss several different ways to implement software.
The Palantir Platform… …Changes in 2.3
Certification of Reusable Software Artifacts
Architecture Review 10/11/2004
SharePoint 101 – An Overview of SharePoint 2010, 2013 and Office 365
Building Enterprise Applications Using Visual Studio®
Product Configurator – A Customer Story
Advanced Computer Systems
Component 1.6.
Software Configuration Management
Visit for more Learning Resources
Dialog Manager for COA entry
Types for Programs and Proofs
KANAL: Knowledge ANALysis
Action Editor Storyboard
Service Management Time Slots
Chapter 18 Maintaining Information Systems
KANAL: Knowledge ANALysis
Complexity Time: 2 Hours.
Methodology – Physical Database Design for Relational Databases
Knowledge Representation
LiveWire Log in page TIPS
Constructive Cost Model
Chapter 2 Database Environment.
TransCAD Vehicle Routing 2018/11/29.
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
CP Storyboard Proposal
Chapter 11 user support.
CS 8532: Advanced Software Engineering
PLANNING A SECURE BASELINE INSTALLATION
Yolanda Gil Jihie Kim Jim Blythe Surya Ramachandran
Travel Expenses Tool Instruction Manual
Presentation transcript:

TEMPLE: TEMPLate Enhancement through Knowledge Acquisition Yolanda Gil Jim Blythe Jihie Kim Surya Ramachandran http://www.isi.edu/expect/projects/temple

Acquiring Planning Knowledge Problem: SOF users need to add knowledge to the planning tools developed in AcT ROEs, commander’s guidance Plan evaluation/critiquing criteria Highlight the information that is important to them Add/extend templates Approach: provide knowledge acquisition tools to adapt and extend pre-existing planning knowledge Exploit ontologies and background knowledge so users don’t have to start from scratch KA Scripts guide the user through multiple steps Users manipulate English paraphrases of internal representations Benefits: Users can extend the tool’s baseline knowledge for the operation T]

Kinds of knowledge that users need to add Factual information Situation-specific: the amcits are currently located at the embassy Persistent: The embassy is located at these lat-long coordinates New features and classes Add new features: contracts have an upper limit on hotel rates Add new classes: security clearances, new equipment New plan constraints and preferences Preferences and default values: By default, rent from Hertz Plan constraints (e.g. ROEs): all activity must be completed during hours of darkness. New planning operators and templates to fly overseas, modify the “fly” template to fill in passport and visa information

A simple application for evaluating plans

Acquiring plan critiques A critique is an evaluation of a plan based on some feature To parachute, wind speed must be less than 20 knots. If you are visiting a military location, then by default you need a clearance. Driving time should be less than 4 hours. To compute driving time, find the trip distance and divide it by 55. Choose hotels within walking distance, otherwise rent a car.

The range of possible critiques To understand the nature of critiques, we look at dimensions along which they can be described. This is useful to characterize TEMPLE’s current and future coverage. Three features we consider: 1. the amount of work done by the critique. 2. the type of knowledge used. 3. how the critique is used in other systems.

1. The amount of work done by the critique “the driving time is 4 hours” provides information “this is greater than the maximum of 3 hours” compares the feature with a norm (can also be minimum or a set of values) “therefore I recommend you fly instead” suggests a correction to the plan “prefer a route that avoids population centers unless it takes longer than 4 hours” specifies a tradeoff between features

2. The type of knowledge used to make the critique trip purpose ... hotel located-in-city daily-rate facilities ... contract Principle investigator Start date rec. max hotel rate ... funds part-of reservation arrival-time ... at “hotel daily rate must be less than 120” compares the feature with a constant “hotel daily rate must be less than the recommended maximum for the contract under which travel is funded” specifies how to find the value

Type of knowledge used (continued) “driving time must be less than 3 hours. To estimate driving time, find the distance (from MapQuest) and divide it by 55” User defines a simple procedure to compute the feature “rent a car if it costs less than using a taxi. To estimate rental car cost, multiply the rate by the length of the stay. To estimate taxi cost, add up the estimated cost for each necessary journey.” User defines more complex procedures for the feature and the max value.

3. How the critique is used by other systems Critiques can be shown directly to the user, or can be used to guide a planner. evaluator user evaluator user plan plan planner evaluator user critiques plan planner

TEMPLE’s approach TEMPLE uses general knowledge about the different categories of critiques and understands how the added knowledge will be used. Asks the user questions to identify which category of critique is being defined. Helps break the definition of a critique into manageable pieces. Presents a general sketch of the critique based on its category, so the user can complete the definition. Analyzes the definition for missing or inconsistent pieces and suggests ways to address them.

Categories of critiques global (assessed once) Critique local (assessed on each of a set of objects) upper bound bounded lower bound Critique inclusion (value must be one of these) extensional exclusion (value must not be one of these)

General knowledge associated with each category To determine whether a plan satisfies a property with an upper bound: Estimate the value of the property for the plan Estimate the maximum allowed value of the property for the plan Check that the actual value is not greater than the maximum value

Evaluation and Critiquing Knowledge Submethods for checking plan resources Plan ontology (PLANET) Submethods for checking plan structure Ontology of critiques Ontology of resources Reused knowledge (ontologies and methods) Domain-specific knowledge Domain-specific critiques Domain-specific plan critiquing and evaluation system Domain-specific submethods

Help with missing or inconsistent pieces To estimate taxi cost, add the following: Estimate taxi cost for travel between airport and hotel Compute the taxi cost for a trip from the airport to the hotel Multiply the cost by 2 Estimate taxi cost for travel between the hotel and the meeting Compute the taxi cost for a trip from the hotel to the meeting Multiply the cost by 2 * the number of days of the meeting To compute the taxi cost for a trip from a location to another location: … TEMPLE can notice that a meeting is not a location and help resolve the difference.

Components of TEMPLE’s UI Application KB Browser search organize Acquisition wizard Interdependency analyzer Acquisition analyzer select method Method editor suggest domain and range suggest class Instance editor Relation/concept editor Highlights needed information from interdependencies

TEMPLE architecture: now Common lisp SERVER Java TEMPLE GUI Domain knowledge Background knowledge Application Problem solver

Using the TEMPLE compiler (initial prototype) Common lisp SERVER Java TEMPLE GUI Domain knowledge Background knowledge Java code Application compiler Problem solver

Using the TEMPLE translator Common lisp SERVER Java TEMPLE GUI Domain knowledge Background knowledge Critique library Application translator Problem solver

TEMPLE’s current scope TEMPLE helps users to: Define features Add norms and critiques that compare features with norms Through its editors and dependency analyzer, TEMPLE can support users to define critiques that use complex procedural knowledge. TEMPLE defines critiques that are used by a stand-alone critiquer.

Planned work for the near term Extending range of critiques supported Include critiques on resources (PSMTool [Blythe 2000]) Integration with other AcT software End user evaluations for prototype system SOF domain

Defining monitors The same mechanism that TEMPLE uses to acquire critiques can be used to acquire monitors. This requires extending TEMPLE to reason about temporal aspects of data. Another requirement is an available source of data updates.

HPKB KA CCE NL editor called by PSM-based script Early version of the critique wizard

HPKB KA CCE results Users could complete more tasks using the tool Users could complete tasks faster using the tool LEGEND: indicates total tasks With the tool Without the tool Adding small amounts of new knowledge 2.12 ax/min 1.1 ax/min Adding larger amounts of new knowledge 1.26 ax/min (unable to complete)

Demo

Example: hotel rate should be less than $120 TEMPLE begins with questions to help the user get started. This example is included in the demo.

Example continued TEMPLE shows a map of the critique definition so users can see how the new knowledge is used.

Example continued As the user steps through the questions, TEMPLE calls an English-based editor to provide procedures

Example continued As it identifies the critique, TEMPLE breaks its definition into manageable pieces through the questions it asks.

Example continued TEMPLE’s editor is easy to use for simple critiques, but (as we will see) powerful enough for more complicated ones.

Going further: adding new slots to objects If defining the constraint requires adding new slots to the data base, TEMPLE can provide guidance.

Going further: notification about needed information TEMPLE analyzes the critique to see what information is needed, and warns the user if that information is not available. TEMPLE can provide guidance for adding that information through an editor. (Will show a screenshot of the agenda and (next slide) the instance editor)

Definitions that include procedures TEMPLE’s editor can be used to create procedures when needed (Will show the driving time example here.)

Back-up slides (These won’t be in the handout)

Linking the critiquer to a planner can be easy or hard. “passenger capacity must be greater than 20” can be used as advice for a planner (as in PASSAT). It constrains valid selections for an object used in the plan. “only drive if driving time would be less than 3 hours” can be used as advice for a planner. It constrains choice of action, so it is harder to show to a user. “pick a hotel within walking distance, otherwise rent a car” could be used as advice, but should be applied to more than one decision point in the planner.

Integration with Knoblock’s planning tool Constraint propagation is an important part of the jumpstart travel planner. It should be possible to acquire many of the constraints used with TEMPLE. Slots in templates control both values for features of the template (e.g., the airline used) and which template is expanded (e.g., whether to fly or drive to a meeting). A slot has a “domain expression” that produces a set of valid values and a “preference expression” that selects a set of preferred values. In principle, TEMPLE could be used for both. The planner uses a declarative language for constraints, which will be investigated as a compiler target in TEMPLE.

Potential integration with other SOFTools components Can be used to build advice for SRI’s advisable planner. Can be used to add helpful checks to the existing plan editors

TEMPLE with different planning approaches Advice Generative planner Evaluation function Planning by rewriting Temple