Haley: A Hierarchical Framework for Logical Composition of Web Services Haibo Zhao, Prashant Doshi LSDIS Lab, Dept. of Computer Science, University of.

Slides:



Advertisements
Similar presentations
A Decision-Theoretic Model of Assistance - Evaluation, Extension and Open Problems Sriraam Natarajan, Kshitij Judah, Prasad Tadepalli and Alan Fern School.
Advertisements

CSSSIA Workshop – WWW 2008 Speeding up Web Service Composition with Volatile External Information John Harney, Prashant Doshi LSDIS Lab, Dept. of Computer.
SHOP2: An HTN Planning System Nau, D.S., Au, T.C., Ilghami, O., Kuter, U., Murdock, J.W., Wu, D. and Yaman, F. (2003) "SHOP2: An HTN Planning System",
Architecture Representation
Situation Calculus for Action Descriptions We talked about STRIPS representations for actions. Another common representation is called the Situation Calculus.
SA-1 Probabilistic Robotics Planning and Control: Partially Observable Markov Decision Processes.
IPC 2004 Probabilistic Planning Track Michael L. LittmanHåkan L. S. Younes Rutgers UniversityCarnegie Mellon University.
Background information Formal verification methods based on theorem proving techniques and model­checking –to prove the absence of errors (in the formal.
Optimal Design Laboratory | University of Michigan, Ann Arbor 2011 Design Preference Elicitation Using Efficient Global Optimization Yi Ren Panos Y. Papalambros.
1 Reinforcement Learning Introduction & Passive Learning Alan Fern * Based in part on slides by Daniel Weld.
LCSLCS 18 September 2002DARPA MARS PI Meeting Intelligent Adaptive Mobile Robots Georgios Theocharous MIT AI Laboratory with Terran Lane and Leslie Pack.
A Hierarchical Framework for Composing Nested Web Processes Haibo Zhao, Prashant Doshi LSDIS Lab, Dept. of Computer Science, University of Georgia 4 th.
A Hybridized Planner for Stochastic Domains Mausam and Daniel S. Weld University of Washington, Seattle Piergiorgio Bertoli ITC-IRST, Trento.
1 ICWS 2006, Chicago ICWS 2006 A Framework for Intelligent Web Services: Combined HTN and CSP Approach Incheon Paik, University of Aizu Daisuke Maruyama,
Planning under Uncertainty
Variability Oriented Programming – A programming abstraction for adaptive service orientation Prof. Umesh Bellur Dept. of Computer Science & Engg, IIT.
1 Basic abstract interpretation theory. 2 The general idea §a semantics l any definition style, from a denotational definition to a detailed interpreter.
Markov Decision Processes CSE 473 May 28, 2004 AI textbook : Sections Russel and Norvig Decision-Theoretic Planning: Structural Assumptions.
1 Planning. R. Dearden 2007/8 Exam Format  4 questions You must do all questions There is choice within some of the questions  Learning Outcomes: 1.Explain.
Programming Language Semantics Mooly SagivEran Yahav Schrirber 317Open space html://
1 Hybrid Agent-Based Modeling: Architectures,Analyses and Applications (Stage One) Li, Hailin.
1 Department of Computer Science and Engineering, University of South Carolina Issues for Discussion and Work Jan 2007  Choose meeting time.
Hierarchical GUI Test Case Generation Using Automated Planning Atif M. Memon, Student Member, IEEE, Martha E. Pollack, and Mary Lou Soffa, Member, IEEE.
Describing Syntax and Semantics
Automated Planning and HTNs Planning – A brief intro Planning – A brief intro Classical Planning – The STRIPS Language Classical Planning – The STRIPS.
Department of Computer Science Undergraduate Events More
AI Principles, Lecture on Planning Planning Jeremy Wyatt.
Policy Generation for Continuous-time Stochastic Domains with Concurrency Håkan L. S. YounesReid G. Simmons Carnegie Mellon University.
1 Endgame Logistics  Final Project Presentations  Tuesday, March 19, 3-5, KEC2057  Powerpoint suggested ( to me before class)  Can use your own.
Planning and Verification for Stochastic Processes with Asynchronous Events Håkan L. S. Younes Carnegie Mellon University.
Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.
A Logic for Decidable Reasoning about Services Yilan Gu Dept. of Computer Science University of Toronto Mikhail Soutchanski Dept. of Computer Science Ryerson.
A service-oriented middleware for building context-aware services Center for E-Business Technology Seoul National University Seoul, Korea Tao Gu, Hung.
Generalized and Bounded Policy Iteration for Finitely Nested Interactive POMDPs: Scaling Up Ekhlas Sonu, Prashant Doshi Dept. of Computer Science University.
Real-Time Systems Hierarchical Real-Time Systems for Imprecise Computation Model The 5th EuroSys Doctoral Workshop (EuroDW 2011) Guy Martin.
Toward Optimal and Efficient Adaptation in Web Processes Prashant Doshi LSDIS Lab., Dept. of Computer Science, University of Georgia Joint work with: Kunal.
ENM 503 Lesson 1 – Methods and Models The why’s, how’s, and what’s of mathematical modeling A model is a representation in mathematical terms of some real.
Statistical Sampling-Based Parametric Analysis of Power Grids Dr. Peng Li Presented by Xueqian Zhao EE5970 Seminar.
MBA7025_01.ppt/Jan 13, 2015/Page 1 Georgia State University - Confidential MBA 7025 Statistical Business Analysis Introduction - Why Business Analysis.
Solving Large Markov Decision Processes Yilan Gu Dept. of Computer Science University of Toronto April 12, 2004.
MGS3100_01.ppt/Aug 25, 2015/Page 1 Georgia State University - Confidential MGS 3100 Business Analysis Introduction - Why Business Analysis Aug 25 and 26,
An Ontological Framework for Web Service Processes By Claus Pahl and Ronan Barrett.
Macro-actions in the Situation Calculus Yilan Gu Department of Computer Science University of Toronto August 10, 2003.
Exploiting Context Analysis for Combining Multiple Entity Resolution Systems -Ramu Bandaru Zhaoqi Chen Dmitri V.kalashnikov Sharad Mehrotra.
1 Qualitative Reasoning of Distributed Object Design Nima Kaveh & Wolfgang Emmerich Software Systems Engineering Dept. Computer Science University College.
Solving POMDPs through Macro Decomposition
Programming Languages and Design Lecture 3 Semantic Specifications of Programming Languages Instructor: Li Ma Department of Computer Science Texas Southern.
Extending PDDL to Model Stochastic Decision Processes Håkan L. S. Younes Carnegie Mellon University.
Haley: An End-to-End, Scalable Web Service Composition Tool Haibo Zhao, Prashant Doshi LSDIS Lab., The University of Georgia 17th International World Wide.
CUHK Learning-Based Power Management for Multi-Core Processors YE Rong Nov 15, 2011.
Chapter 12 Object Recognition Chapter 12 Object Recognition 12.1 Patterns and pattern classes Definition of a pattern class:a family of patterns that share.
Specification of Policies for Web Service Negotiations Steffen Lamparter and Sudhir Agarwal Semantic Web and Policy Workshop Galway, November 7 th University.
Automating DAML-S Web Services Composition Using SHOP2 Based on an article by Dan Wu, Bijan Parsia, Evren Sirin, James Hendler and Dana Nau in Proceedings.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
1 Chapter 17 2 nd Part Making Complex Decisions --- Decision-theoretic Agent Design Xin Lu 11/04/2002.
Learning Team Behavior Using Individual Decision Making in Multiagent Settings Using Interactive DIDs Muthukumaran Chandrasekaran THINC Lab, CS Department.
Formal Verification. Background Information Formal verification methods based on theorem proving techniques and model­checking –To prove the absence of.
Planning I: Total Order Planners Sections
4 th International Conference on Service Oriented Computing Adaptive Web Processes Using Value of Changed Information John Harney, Prashant Doshi LSDIS.
Generalized Point Based Value Iteration for Interactive POMDPs Prashant Doshi Dept. of Computer Science and AI Institute University of Georgia
ICDCS 2006 Efficient Incremental Optimal Chain Partition of Distributed Program Traces Selma Ikiz Vijay K. Garg Parallel and Distributed Systems Laboratory.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
Alborz Geramifard Logic Programming and MDPs for Planning Winter 2009.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
16th International World Wide Web Conference Speeding up Adaptation of Web Service Compositions Using Expiration Times John Harney, Prashant Doshi LSDIS.
Algorithm An algorithm is a finite set of steps required to solve a problem. An algorithm must have following properties: Input: An algorithm must have.
CIS 488/588 Bruce R. Maxim UM-Dearborn
Presented By: Darlene Banta
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 7
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 7
Presentation transcript:

Haley: A Hierarchical Framework for Logical Composition of Web Services Haibo Zhao, Prashant Doshi LSDIS Lab, Dept. of Computer Science, University of Georgia IEEE International Conference on Web Services 2007

Outline  Introduction  Motivating scenario  Background  Model: First order Semi-Markov decision processes (FO-SMDP)  Composing nested Web processes using Haley  Architecture  Experiment & Discussion

Introduction  Web service composition Business processes with Web services as components  Existing approaches to composition: AI planning Classical planning techniques  Golog, Model checking-based planning, HTN planning, Synthy Decision-theoretic planning  MDP (Doshi2004)  Limitations Classical planning assumes deterministic behavior of Web services Guarantee correctness but not optimality State space explosion Cannot operate directly on WS descriptions in FOL

Our Approach: Haley  Stochastic SMDP model Handle uncertainties in WS invocation Provide cost-based optimality  Hierarchical model to represent the hierarchies in Web processes Address the scalability problem  FOL based representation Directly operate on WS description in FOL

Handling Orders in Supply Chain Level 1: Composition using composite FO-SMDP Abstract action Level 0: Composition using primitive FO-SMDP Level 0: Composition using primitive FO-SMDP Abstract action

Background: Probabilistic Situation Calculus [Reiter01]  A FOL based framework for representing actions, changes and reasoning about them  Probabilistic Situation calculus elements Actions: parameterirzed FO terms ReceiveOrder(o) Situations: sequence of actions representing the state of the world do(ReceiveOrder(o),s 0 ) Fluents: situation-dependent relations and functions whose truth values may vary HaveOrder(o, s) Nature’s Choices: capture stochastic results of actions Choice(CheckCustomer(o), a) ≡ a = CheckCustomerS(o) ∨ a = CheckCustomerF(o) Probabalities for nature’s choices: Pr(CheckCustomerS(o),CheckCustomer(o), s) = 0.9 Pr(CheckCustomerF(o),CheckCustomer(o), s) = 0.1 Precondition Axioms: HaveOrder(o, s) ⇒ Poss(CheckCustomer(o), s) Successor state Axioms: Describe the effects on fluents Poss(a, s) ⇒ HaveOrder(o, do(a, s)) ⇔ a = ReceiveOrderS(o) ∨ (HaveOrder(a, s) ∧ a ≠CancelOrderS(o))

First Order MDP(FO-MDP) [Boutilier 01]  Probabilistic situation calculus representation allows concise specification of complex domains  Specify lump sum reward/cost and utilities with case notation kCase(A(x)) = case[ A(x) = CheckCustomer(o), 2; A(x)= VerifyPayment(o), 3; A(x) = ChargeMoney(o),2 ]  Avoid explicit state and action enumeration  A decision-theoretic regression algorithm for solving FO-MDPs

First Order Semi-MDPs (FO-SMDP)  FO-SMDP is a temporal generalization of FO-MDPs: The sojourn time of actions are modeled with a density function; and the system will incur an action-duration cost at an accumulating rate  Case notation of sojourn time distribution  Case notation of accumulating rate  Total reward of a state-action pair  Representing total reward and utilities with case notation, FO-SMDP can be solved analogously to FO-MDP using DT regression

Level 1: Composition using composite FO-SMDP Abstract action Level 0: Composition using primitive FO-SMDP Level 0: Composition using primitive FO-SMDP

Elicitation of Model Parameters (level 0) Level 0: Model parameters may be obtained from WSDL-S/SAWSDL, OWL-S descriptions of Web services, and service level agreements  Compile situation calculus axioms from preconditions and effects e.g. WS: ChargeMoney(o) Precondition: V alidCustomer(o) AND V alidPayment(o) Effect: Charged(o) The precondition axiom: ValidCustomer(o, s) ∧ V alidPayment(o, s) ⇒ Poss(ChargeMoney(o), s) The successor state axiom: Poss(a, s) ⇒ Charged(o, do(a, s)) ⇔ a=ChargeMoneyS(o) ∨ Charged(o, s)  Elicit non-functional parameters from service level agreement:

Deriving Model Parameters for Abstract Actions (level≥1) Level ≥1: Derive model parameters related to abstract actions from lower level Web process  We need to know successor state axioms and the case notations of lump sum cost, sojourn time distribution and accumulating rate

Deriving Model Parameters for Abstract Actions  Successor state axioms –Let –We have And –The successor state axiom of VerifyOrder(o) becomes: Relation between high-level fluents and low-level fluents Relation between high-level abstract actions and low-level actions

Deriving Model Parameters for Abstract Actions  Lump sum cost K –lump sum cost of the abstract action is the total of lump sum costs of the corresponding primitive actions –Add a new case into the case notation of K k VO = kCase(CheckCustomer(o)) + kCase(VerifyPayment(o)) + kCase(ChargeMoney(o)) New case to be added

Deriving Model Parameters for Abstract Actions  Sojourn time distribution F –Assume the sojourn time of all primitive actions follows Gaussian distribution: f CC (t)=N(t; µ cc, σ cc ), f vo (t)=N(t; µ vo, σ vo ) and f cm (t)=N(t; µ cm, σ cm ) –Linear combination of Gaussian distributions is a Gaussian distribution, the abstract action VerifyOrder also follows Gaussian f vo (t)=N(t; µ vo, σ vo ) where: –Add a new case into the case notation of F New case to be added

Deriving Model Parameters for Abstract Actions  Cost Accumulating Rate C –Accumulated cost of an abstract action is the total accumulated cost of all corresponding primitive actions –Add a new case into case notation of C Given model parameters for abstract actions, composite FO-SMDP can be solved analogously to a primitive FO-SMDP

Architecture of Haley

Interleaved Generation and Execution of Nested Web Process

Performance Evaluation − Comparison with HTN planning and MBP planning on supply chain scenario − Execute the processes generated by three approaches in a simulated environment 1000 times, measure average rewards The performance of HTN approaches ours as the environment becomes less uncertain; Haley provides cost based optimization compared to MBP planner

Performance Evaluation Comparisons of different decision theoretic planners in the same domain and the collected runtimes Hierarchal decomposition significantly improves the performance First order representation avoids the explicit state enumeration

Discussion Many AI planning based approaches  AI classical planning is not designed to handle WS composition  Assumes deterministic behavior of Web services  Cannot directly operate on WS descriptions in FOL  Does not scale well to large problems Haley: our hierarchical framework  Stochastic optimization manages uncertainty and delivers optimality  Able to operate directly on WS descriptions in FOL  Exploits hierarchy  scalability  Better performance in uncertain environments Future work  Incorporate data mediation in Haley

Thank You! Questions? Contact us Haibo Zhao: Prashant Doshi: