SlideShare a Scribd company logo
1 of 15
Download to read offline
Web Service Composition
          as a Planning Task


                    Experiments Using 
                 Knowledge­Based Planning 

                        Erick Martínez & Yves Lespérance

                            Department of Computer Science
                                   York University
                                   Toronto, Canada


1   Martínez & Lespérance        WSC / Knowledge-Based Planning   WPSWGS @ ICAPS-2004
Motivation
    ●   Next generation Web Services
         –   Semantic Web
         –   Reasoning / Planning
         –   Automation

    ●   Agent­oriented toolkit for advanced MAS / 
        WSC and provisioning

    ●   Previous results (knowledge­based 
        planning)
2   Martínez & Lespérance   WSC / Knowledge-Based Planning   WPSWGS @ ICAPS-2004
Automated Web Service
         Composition as Planning
    ●   WSC Problem: given a set of Web services and some 
        user defined task or goal to be achieved, automatically 
        find a composition of the available services to accom­
        plish the task.
    ●   WSC as a Planning Problem:  
         –   Predefined available services as the building blocks of a plan
         –   Many WS actions involve sensing
         –   Large search space, incomplete information in the initial 
             state
    ●   Planner that can generate conditional plans & 
        supports sensing actions
3   Martínez & Lespérance    WSC / Knowledge-Based Planning    WPSWGS @ ICAPS-2004
PKS
                 (Petrick & Bacchus, 2003)

    ●
          Generalization of STRIPS                       [Fikes & Nilsson, 1971]
           –   Four Dbs:   KF , KW , KV , KX
           –   Actions:
                      Action            Precondition                 Effects
            checkFlightSpace(n,d)    K(existsFlight(n,d))  add(Kw, availFlight(n,d))

           –   DSURs:       K(existsFlight(n,d))  ⇒  add(Kv, flightNum(n,d))
           –   Goal
           –   Planning problem: < I, A, U, G >


4       Martínez & Lespérance   WSC / Knowledge-Based Planning        WPSWGS @ ICAPS-2004
WSC in PKS

    ●   PKS primitive actions correspond to WS
         –   Knowledge­producing actions  ↔       information 
             gathering WS
         –   Physical actions  ↔   world­altering WS

    ●   New WS becomes available  →      add new 
        primitive action to domain specification


5   Martínez & Lespérance   WSC / Knowledge-Based Planning   WPSWGS @ ICAPS-2004
WS Representation in PKS

    ●   For each action Ai :
         –   encode user preferences / customization constraints 
             using desAi fluent    [McIlraith & Son, 2002]
         –   encode domain specific search control constraints us­
             ing  indAi fluent

    ●   Generic domain specification
         –   action specification (WS)

    ●   Problem specification
         –   goal + DSURs (addresses PKS limited expressiveness)

6   Martínez & Lespérance   WSC / Knowledge-Based Planning   WPSWGS @ ICAPS-2004
PKS Spec. Example
                       (Air Travel Domain)
        Action          Precondition                 Effects
     findRFlight(x)  K(airCo(x))           add(Kw, flightExists(x))
                     K(indFindRFlight(x))  add(Kf,¬indFindRFlight(x))
                     K(desFindRFlight(x))

     bookFlight(x)           K(airCo(x))                  add(Kf, bookedFlight(x))
                             K(availFlight(x))            del(Kf, availFlight(x))
                             K(indBookFlight(x))          add(Kf,¬indBookFlight(x))
                             K(desBookFlight(x))

    Domain specific update rules (DSUR)
     K(airCo(x))  ¬Kv(flightNum(x))  K(flightExists(x))  
                                            add(Kv,  flightNum(x))


                                   1 explicit parameter: company

7   Martínez & Lespérance         WSC / Knowledge-Based Planning        WPSWGS @ ICAPS-2004
PKS Goal Example
                        (Prob. BMxF)
      ●   Goal: book a flight with a price not 
          greater than the user' s maximum price

                 /* book company within budget */
                 K(x) [K(airCo(x))  K(bookedFlight(x)) 
                          K(¬priceGtMax(x))]   |
                 /* no flight booked */
                 KnowNoBudgetFlight   |
                 KnowNoAvailFlight   |
                 KnowNoFlightExists


8   Martínez & Lespérance     WSC / Knowledge-Based Planning   WPSWGS @ ICAPS-2004
User Pref. / Customization
          Constraints Example (Prob. BMxF)

      ●   DSUR 1:
           K(airCo(x))  ¬Kw(priceGtMax(x)) 
           Kv(userMaxPrice)  Kv(flightCost(x))
            add(Kw, priceGtMax(x))

      ●   DSUR 2:
           K(airCo(x))  K(¬priceGtMax(x)) 
           ¬Kw(desBookFlight(x))
            add(Kf, desBookFlight(x))

9   Martínez & Lespérance   WSC / Knowledge-Based Planning   WPSWGS @ ICAPS-2004
Experiments - Problem Set
     ●   Set of 5 problems (air travel domain): 
          –   hard constraints 
                ●   BPF: book preferred company, otherwise book any 
                    flight 
                ●   BMxF: book any flight within budget
                ●   BPMxF: book flight within budget, favour 
                    preferred company

          –   optimization constraints 
                ●   BBF: book cheapest flight
                ●   BBPF: book preferred company, otherwise book 
                    cheapest flight
10   Martínez & Lespérance    WSC / Knowledge-Based Planning   WPSWGS @ ICAPS-2004
Experimental Results with 1
       param. using DFS (in Secs.) ...
        #Co.            BPF         BMxF          BPMxF            BBF            BPBF
             2               0.00          0.00            0.00            0.02       0.10
             3               0.00          0.01            0.01            0.35       1.58
             4               0.00          0.01            0.01           53.99     259.39
             5               0.01          0.02            0.02     > tmax        > tmax
            10               0.01          0.04            0.04     > tmax        > tmax
            20               0.04          0.05            0.06     > tmax        > tmax
            50               0.31          0.51            0.60     > tmax        > tmax
           100               2.47          3.15            3.43     > tmax        > tmax

                             Results with 1 explicit parameter: company
                                     PKS v0.6­alpha­2 (Linux)
                                          (tmax = 300secs.)

11   Martínez & Lespérance       WSC / Knowledge-Based Planning               WPSWGS @ ICAPS-2004
... Experimental Results with
      5 param. using DFS (in Secs.)

         #Co.            BPF           BMxF          BPMxF             BBF              BPBF
             2                0.17           0.21           0.37            1.27             8.42
             3                0.58           0.72           1.20           24.02          109.33
             4                1.45           2.20           3.71        > tmax           > tmax
             5                3.76           4.33           4.65        > tmax           > tmax
            10               80.60          96.45         105.49        > tmax           > tmax

                                Results with 5 explicit parameters: 
                    company, origin, destination, departure date, and arrival date
                                      PKS v0.6­alpha­2 (Linux)
                                           (tmax = 300secs.)




12   Martínez & Lespérance         WSC / Knowledge-Based Planning                    WPSWGS @ ICAPS-2004
Advantages of
                              Our Approach
       ●   Modularity and re­usability

       ●   Can handle cases that previous approaches can­
           not (e.g., physical actions having direct effect on 
           sensing actions)  [McIlraith & Son, 2002]

       ●   No need for pre­specified generic plans




13   Martínez & Lespérance     WSC / Knowledge-Based Planning   WPSWGS @ ICAPS-2004
Open Problems and
                       Future Work
       ●   Customizing domain theory based on problem
            –   DSURs generation (desc. goal + user pref.)
       ●   Large search space, off­line
       ●   Optimization constraints problems do not scale up well
       ●   Representation of atomic services
       ●   Translation of OWL, DAML­S, etc. into PKS/Golog   
           specifications

       ●   IG­JADE­PKSlib toolkit
       ●   Experiments + case studies to validate performance and 
           scalability of integrated framework
       ●   Plan execution and contingency recovery

14   Martínez & Lespérance     WSC / Knowledge-Based Planning   WPSWGS @ ICAPS-2004
Thank You!



15   Martínez & Lespérance    WSC / Knowledge-Based Planning   WPSWGS @ ICAPS-2004

More Related Content

What's hot

Dear - 딥러닝 논문읽기 모임 김창연님
Dear - 딥러닝 논문읽기 모임 김창연님Dear - 딥러닝 논문읽기 모임 김창연님
Dear - 딥러닝 논문읽기 모임 김창연님taeseon ryu
 
Online Optimization Problem-1 (Online machine learning)
Online Optimization Problem-1 (Online machine learning)Online Optimization Problem-1 (Online machine learning)
Online Optimization Problem-1 (Online machine learning)Shao-Yen Hung
 
Introduction of Online Machine Learning Algorithms
Introduction of Online Machine Learning AlgorithmsIntroduction of Online Machine Learning Algorithms
Introduction of Online Machine Learning AlgorithmsShao-Yen Hung
 
Demystifying Garbage Collection in Java
Demystifying Garbage Collection in JavaDemystifying Garbage Collection in Java
Demystifying Garbage Collection in JavaIgor Braga
 
Learning visual representation without human label
Learning visual representation without human labelLearning visual representation without human label
Learning visual representation without human labelKai-Wen Zhao
 
Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)Hwa Pyung Kim
 
위성이미지 객체 검출 대회 - 2등
위성이미지 객체 검출 대회 - 2등위성이미지 객체 검출 대회 - 2등
위성이미지 객체 검출 대회 - 2등DACON AI 데이콘
 
Graphlab dunning-clustering
Graphlab dunning-clusteringGraphlab dunning-clustering
Graphlab dunning-clusteringTed Dunning
 

What's hot (8)

Dear - 딥러닝 논문읽기 모임 김창연님
Dear - 딥러닝 논문읽기 모임 김창연님Dear - 딥러닝 논문읽기 모임 김창연님
Dear - 딥러닝 논문읽기 모임 김창연님
 
Online Optimization Problem-1 (Online machine learning)
Online Optimization Problem-1 (Online machine learning)Online Optimization Problem-1 (Online machine learning)
Online Optimization Problem-1 (Online machine learning)
 
Introduction of Online Machine Learning Algorithms
Introduction of Online Machine Learning AlgorithmsIntroduction of Online Machine Learning Algorithms
Introduction of Online Machine Learning Algorithms
 
Demystifying Garbage Collection in Java
Demystifying Garbage Collection in JavaDemystifying Garbage Collection in Java
Demystifying Garbage Collection in Java
 
Learning visual representation without human label
Learning visual representation without human labelLearning visual representation without human label
Learning visual representation without human label
 
Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)
 
위성이미지 객체 검출 대회 - 2등
위성이미지 객체 검출 대회 - 2등위성이미지 객체 검출 대회 - 2등
위성이미지 객체 검출 대회 - 2등
 
Graphlab dunning-clustering
Graphlab dunning-clusteringGraphlab dunning-clustering
Graphlab dunning-clustering
 

Viewers also liked

B tech ii yr i sem r9 supplementary may 2013
B tech ii yr i sem r9 supplementary may 2013B tech ii yr i sem r9 supplementary may 2013
B tech ii yr i sem r9 supplementary may 2013prasadmvreddy
 
Akesiu mei moana tuuholoaki
Akesiu mei moana tuuholoakiAkesiu mei moana tuuholoaki
Akesiu mei moana tuuholoakiroselynne
 
IG-JADE-PKSlib: An Agent-Based Framework for Advanced Web Service Composition...
IG-JADE-PKSlib: An Agent-Based Framework for Advanced Web Service Composition...IG-JADE-PKSlib: An Agent-Based Framework for Advanced Web Service Composition...
IG-JADE-PKSlib: An Agent-Based Framework for Advanced Web Service Composition...Erick Ornio
 
B.tech ii year ii semester (r09) regular & supplementary april may 2013
B.tech ii year ii semester (r09) regular & supplementary april may 2013B.tech ii year ii semester (r09) regular & supplementary april may 2013
B.tech ii year ii semester (r09) regular & supplementary april may 2013prasadmvreddy
 
Transit policy utsc presentation june 24 [compatibility mode]
Transit policy utsc presentation   june 24 [compatibility mode]Transit policy utsc presentation   june 24 [compatibility mode]
Transit policy utsc presentation june 24 [compatibility mode]André Darmanin
 
B tech iii year ii (r07) semester supplementary
B tech iii year ii (r07) semester supplementaryB tech iii year ii (r07) semester supplementary
B tech iii year ii (r07) semester supplementaryprasadmvreddy
 
B tech iii year i (r07) semester supplementary
B tech iii year i (r07) semester supplementaryB tech iii year i (r07) semester supplementary
B tech iii year i (r07) semester supplementaryprasadmvreddy
 
My favorite pastimes
My favorite pastimesMy favorite pastimes
My favorite pastimeskim75berly
 

Viewers also liked (10)

B tech ii yr i sem r9 supplementary may 2013
B tech ii yr i sem r9 supplementary may 2013B tech ii yr i sem r9 supplementary may 2013
B tech ii yr i sem r9 supplementary may 2013
 
Chapter 20 final 2
Chapter 20 final 2Chapter 20 final 2
Chapter 20 final 2
 
Akesiu mei moana tuuholoaki
Akesiu mei moana tuuholoakiAkesiu mei moana tuuholoaki
Akesiu mei moana tuuholoaki
 
IG-JADE-PKSlib: An Agent-Based Framework for Advanced Web Service Composition...
IG-JADE-PKSlib: An Agent-Based Framework for Advanced Web Service Composition...IG-JADE-PKSlib: An Agent-Based Framework for Advanced Web Service Composition...
IG-JADE-PKSlib: An Agent-Based Framework for Advanced Web Service Composition...
 
B.tech ii year ii semester (r09) regular & supplementary april may 2013
B.tech ii year ii semester (r09) regular & supplementary april may 2013B.tech ii year ii semester (r09) regular & supplementary april may 2013
B.tech ii year ii semester (r09) regular & supplementary april may 2013
 
Transit policy utsc presentation june 24 [compatibility mode]
Transit policy utsc presentation   june 24 [compatibility mode]Transit policy utsc presentation   june 24 [compatibility mode]
Transit policy utsc presentation june 24 [compatibility mode]
 
B tech iii year ii (r07) semester supplementary
B tech iii year ii (r07) semester supplementaryB tech iii year ii (r07) semester supplementary
B tech iii year ii (r07) semester supplementary
 
B tech iii year i (r07) semester supplementary
B tech iii year i (r07) semester supplementaryB tech iii year i (r07) semester supplementary
B tech iii year i (r07) semester supplementary
 
Presentación1
Presentación1Presentación1
Presentación1
 
My favorite pastimes
My favorite pastimesMy favorite pastimes
My favorite pastimes
 

Similar to Web Service Composition as a Planning Task: Experiments using Knowledge-Based Planning

Hlb private cloud rules of engagement idc
Hlb private cloud rules of engagement   idcHlb private cloud rules of engagement   idc
Hlb private cloud rules of engagement idcYew Jin Kang
 
d2iq, d2iq konvoy, day 2 operations, lifecycle management, mayadata, mayadata...
d2iq, d2iq konvoy, day 2 operations, lifecycle management, mayadata, mayadata...d2iq, d2iq konvoy, day 2 operations, lifecycle management, mayadata, mayadata...
d2iq, d2iq konvoy, day 2 operations, lifecycle management, mayadata, mayadata...MayaData Inc
 
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...WSO2
 
CocomoModels MGK .ppt
CocomoModels MGK .pptCocomoModels MGK .ppt
CocomoModels MGK .pptssuser3d1dad3
 
Telefonica: Automatización de la gestión de redes mediante grafos
Telefonica: Automatización de la gestión de redes mediante grafosTelefonica: Automatización de la gestión de redes mediante grafos
Telefonica: Automatización de la gestión de redes mediante grafosNeo4j
 
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...InfluxData
 
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...Codemotion
 
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...Codemotion
 
Docker meetup - PaaS interoperability
Docker meetup - PaaS interoperabilityDocker meetup - PaaS interoperability
Docker meetup - PaaS interoperabilityLudovic Piot
 
Ascp 101 - sandeep gandhi
Ascp   101 - sandeep gandhiAscp   101 - sandeep gandhi
Ascp 101 - sandeep gandhiNirmal Raj
 
MongoDB.local DC 2018: MongoDB Ops Manager + Kubernetes
MongoDB.local DC 2018: MongoDB Ops Manager + KubernetesMongoDB.local DC 2018: MongoDB Ops Manager + Kubernetes
MongoDB.local DC 2018: MongoDB Ops Manager + KubernetesMongoDB
 
VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...
VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...
VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...VMworld
 
Faster, more Secure Application Modernization and Replatforming with PKS - Ku...
Faster, more Secure Application Modernization and Replatforming with PKS - Ku...Faster, more Secure Application Modernization and Replatforming with PKS - Ku...
Faster, more Secure Application Modernization and Replatforming with PKS - Ku...VMware Tanzu
 
Discovering Your AI Super Powers - Tips and Tricks to Jumpstart your AI Projects
Discovering Your AI Super Powers - Tips and Tricks to Jumpstart your AI ProjectsDiscovering Your AI Super Powers - Tips and Tricks to Jumpstart your AI Projects
Discovering Your AI Super Powers - Tips and Tricks to Jumpstart your AI ProjectsWee Hyong Tok
 
Lessons learned from Isbank - A Story of a DB2 for z/OS Initiative
Lessons learned from Isbank - A Story of a DB2 for z/OS InitiativeLessons learned from Isbank - A Story of a DB2 for z/OS Initiative
Lessons learned from Isbank - A Story of a DB2 for z/OS InitiativeCuneyt Goksu
 
Expert IT Operations UNIX & Enterprise SAN storages
Expert IT Operations UNIX & Enterprise SAN storagesExpert IT Operations UNIX & Enterprise SAN storages
Expert IT Operations UNIX & Enterprise SAN storagesRehan Siddique
 
OpenEBS Technical Workshop - KubeCon San Diego 2019
OpenEBS Technical Workshop - KubeCon San Diego 2019OpenEBS Technical Workshop - KubeCon San Diego 2019
OpenEBS Technical Workshop - KubeCon San Diego 2019MayaData Inc
 
運用高效、敏捷全新平台極速落實雲原生開發
運用高效、敏捷全新平台極速落實雲原生開發運用高效、敏捷全新平台極速落實雲原生開發
運用高效、敏捷全新平台極速落實雲原生開發inwin stack
 

Similar to Web Service Composition as a Planning Task: Experiments using Knowledge-Based Planning (20)

Hlb private cloud rules of engagement idc
Hlb private cloud rules of engagement   idcHlb private cloud rules of engagement   idc
Hlb private cloud rules of engagement idc
 
d2iq, d2iq konvoy, day 2 operations, lifecycle management, mayadata, mayadata...
d2iq, d2iq konvoy, day 2 operations, lifecycle management, mayadata, mayadata...d2iq, d2iq konvoy, day 2 operations, lifecycle management, mayadata, mayadata...
d2iq, d2iq konvoy, day 2 operations, lifecycle management, mayadata, mayadata...
 
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
 
CocomoModels MGK .ppt
CocomoModels MGK .pptCocomoModels MGK .ppt
CocomoModels MGK .ppt
 
Telefonica: Automatización de la gestión de redes mediante grafos
Telefonica: Automatización de la gestión de redes mediante grafosTelefonica: Automatización de la gestión de redes mediante grafos
Telefonica: Automatización de la gestión de redes mediante grafos
 
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
 
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
 
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
Jörg Schad - Hybrid Cloud (Kubernetes, Spark, HDFS, …)-as-a-Service - Codemot...
 
Docker meetup - PaaS interoperability
Docker meetup - PaaS interoperabilityDocker meetup - PaaS interoperability
Docker meetup - PaaS interoperability
 
Ascp 101 - sandeep gandhi
Ascp   101 - sandeep gandhiAscp   101 - sandeep gandhi
Ascp 101 - sandeep gandhi
 
MongoDB.local DC 2018: MongoDB Ops Manager + Kubernetes
MongoDB.local DC 2018: MongoDB Ops Manager + KubernetesMongoDB.local DC 2018: MongoDB Ops Manager + Kubernetes
MongoDB.local DC 2018: MongoDB Ops Manager + Kubernetes
 
VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...
VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...
VMworld 2013: Strategic Reasons for Classifying Workloads for Tier 1 Virtuali...
 
Faster, more Secure Application Modernization and Replatforming with PKS - Ku...
Faster, more Secure Application Modernization and Replatforming with PKS - Ku...Faster, more Secure Application Modernization and Replatforming with PKS - Ku...
Faster, more Secure Application Modernization and Replatforming with PKS - Ku...
 
Discovering Your AI Super Powers - Tips and Tricks to Jumpstart your AI Projects
Discovering Your AI Super Powers - Tips and Tricks to Jumpstart your AI ProjectsDiscovering Your AI Super Powers - Tips and Tricks to Jumpstart your AI Projects
Discovering Your AI Super Powers - Tips and Tricks to Jumpstart your AI Projects
 
Senthilnadhan K_Resume
Senthilnadhan K_ResumeSenthilnadhan K_Resume
Senthilnadhan K_Resume
 
Lessons learned from Isbank - A Story of a DB2 for z/OS Initiative
Lessons learned from Isbank - A Story of a DB2 for z/OS InitiativeLessons learned from Isbank - A Story of a DB2 for z/OS Initiative
Lessons learned from Isbank - A Story of a DB2 for z/OS Initiative
 
Expert IT Operations UNIX & Enterprise SAN storages
Expert IT Operations UNIX & Enterprise SAN storagesExpert IT Operations UNIX & Enterprise SAN storages
Expert IT Operations UNIX & Enterprise SAN storages
 
OpenEBS Technical Workshop - KubeCon San Diego 2019
OpenEBS Technical Workshop - KubeCon San Diego 2019OpenEBS Technical Workshop - KubeCon San Diego 2019
OpenEBS Technical Workshop - KubeCon San Diego 2019
 
optimizing_ceph_flash
optimizing_ceph_flashoptimizing_ceph_flash
optimizing_ceph_flash
 
運用高效、敏捷全新平台極速落實雲原生開發
運用高效、敏捷全新平台極速落實雲原生開發運用高效、敏捷全新平台極速落實雲原生開發
運用高效、敏捷全新平台極速落實雲原生開發
 

Recently uploaded

Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 

Recently uploaded (20)

Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 

Web Service Composition as a Planning Task: Experiments using Knowledge-Based Planning

  • 1. Web Service Composition as a Planning Task Experiments Using  Knowledge­Based Planning  Erick Martínez & Yves Lespérance Department of Computer Science York University Toronto, Canada 1 Martínez & Lespérance WSC / Knowledge-Based Planning WPSWGS @ ICAPS-2004
  • 2. Motivation ● Next generation Web Services – Semantic Web – Reasoning / Planning – Automation ● Agent­oriented toolkit for advanced MAS /  WSC and provisioning ● Previous results (knowledge­based  planning) 2 Martínez & Lespérance WSC / Knowledge-Based Planning WPSWGS @ ICAPS-2004
  • 3. Automated Web Service Composition as Planning ● WSC Problem: given a set of Web services and some  user defined task or goal to be achieved, automatically  find a composition of the available services to accom­ plish the task. ● WSC as a Planning Problem:   – Predefined available services as the building blocks of a plan – Many WS actions involve sensing – Large search space, incomplete information in the initial  state ● Planner that can generate conditional plans &  supports sensing actions 3 Martínez & Lespérance WSC / Knowledge-Based Planning WPSWGS @ ICAPS-2004
  • 4. PKS (Petrick & Bacchus, 2003) ● Generalization of STRIPS  [Fikes & Nilsson, 1971] – Four Dbs:   KF , KW , KV , KX – Actions: Action Precondition Effects  checkFlightSpace(n,d)  K(existsFlight(n,d))  add(Kw, availFlight(n,d)) – DSURs: K(existsFlight(n,d))  ⇒  add(Kv, flightNum(n,d)) – Goal – Planning problem: < I, A, U, G > 4 Martínez & Lespérance WSC / Knowledge-Based Planning WPSWGS @ ICAPS-2004
  • 5. WSC in PKS ● PKS primitive actions correspond to WS – Knowledge­producing actions  ↔    information  gathering WS – Physical actions  ↔   world­altering WS ● New WS becomes available  →    add new  primitive action to domain specification 5 Martínez & Lespérance WSC / Knowledge-Based Planning WPSWGS @ ICAPS-2004
  • 6. WS Representation in PKS ● For each action Ai : – encode user preferences / customization constraints  using desAi fluent    [McIlraith & Son, 2002] – encode domain specific search control constraints us­ ing  indAi fluent ● Generic domain specification – action specification (WS) ● Problem specification – goal + DSURs (addresses PKS limited expressiveness) 6 Martínez & Lespérance WSC / Knowledge-Based Planning WPSWGS @ ICAPS-2004
  • 7. PKS Spec. Example (Air Travel Domain) Action Precondition Effects  findRFlight(x)  K(airCo(x))  add(Kw, flightExists(x))  K(indFindRFlight(x))  add(Kf,¬indFindRFlight(x))  K(desFindRFlight(x))  bookFlight(x)  K(airCo(x))  add(Kf, bookedFlight(x))  K(availFlight(x))  del(Kf, availFlight(x))  K(indBookFlight(x))  add(Kf,¬indBookFlight(x))  K(desBookFlight(x)) Domain specific update rules (DSUR)  K(airCo(x))  ¬Kv(flightNum(x))  K(flightExists(x))   add(Kv,  flightNum(x)) 1 explicit parameter: company 7 Martínez & Lespérance WSC / Knowledge-Based Planning WPSWGS @ ICAPS-2004
  • 8. PKS Goal Example (Prob. BMxF) ● Goal: book a flight with a price not  greater than the user' s maximum price /* book company within budget */ K(x) [K(airCo(x))  K(bookedFlight(x))           K(¬priceGtMax(x))]   | /* no flight booked */ KnowNoBudgetFlight   | KnowNoAvailFlight   | KnowNoFlightExists 8 Martínez & Lespérance WSC / Knowledge-Based Planning WPSWGS @ ICAPS-2004
  • 9. User Pref. / Customization Constraints Example (Prob. BMxF) ● DSUR 1: K(airCo(x))  ¬Kw(priceGtMax(x))  Kv(userMaxPrice)  Kv(flightCost(x))  add(Kw, priceGtMax(x)) ● DSUR 2: K(airCo(x))  K(¬priceGtMax(x))  ¬Kw(desBookFlight(x))  add(Kf, desBookFlight(x)) 9 Martínez & Lespérance WSC / Knowledge-Based Planning WPSWGS @ ICAPS-2004
  • 10. Experiments - Problem Set ● Set of 5 problems (air travel domain):  – hard constraints  ● BPF: book preferred company, otherwise book any  flight  ● BMxF: book any flight within budget ● BPMxF: book flight within budget, favour  preferred company – optimization constraints  ● BBF: book cheapest flight ● BBPF: book preferred company, otherwise book  cheapest flight 10 Martínez & Lespérance WSC / Knowledge-Based Planning WPSWGS @ ICAPS-2004
  • 11. Experimental Results with 1 param. using DFS (in Secs.) ... #Co. BPF BMxF BPMxF BBF BPBF 2 0.00 0.00 0.00 0.02 0.10 3 0.00 0.01 0.01 0.35 1.58 4 0.00 0.01 0.01 53.99 259.39 5 0.01 0.02 0.02 > tmax > tmax 10 0.01 0.04 0.04 > tmax > tmax 20 0.04 0.05 0.06 > tmax > tmax 50 0.31 0.51 0.60 > tmax > tmax 100 2.47 3.15 3.43 > tmax > tmax Results with 1 explicit parameter: company PKS v0.6­alpha­2 (Linux)  (tmax = 300secs.) 11 Martínez & Lespérance WSC / Knowledge-Based Planning WPSWGS @ ICAPS-2004
  • 12. ... Experimental Results with 5 param. using DFS (in Secs.) #Co. BPF BMxF BPMxF BBF BPBF 2 0.17 0.21 0.37 1.27 8.42 3 0.58 0.72 1.20 24.02 109.33 4 1.45 2.20 3.71 > tmax > tmax 5 3.76 4.33 4.65 > tmax > tmax 10 80.60 96.45 105.49 > tmax > tmax Results with 5 explicit parameters:  company, origin, destination, departure date, and arrival date PKS v0.6­alpha­2 (Linux)  (tmax = 300secs.) 12 Martínez & Lespérance WSC / Knowledge-Based Planning WPSWGS @ ICAPS-2004
  • 13. Advantages of Our Approach ● Modularity and re­usability ● Can handle cases that previous approaches can­ not (e.g., physical actions having direct effect on  sensing actions)  [McIlraith & Son, 2002] ● No need for pre­specified generic plans 13 Martínez & Lespérance WSC / Knowledge-Based Planning WPSWGS @ ICAPS-2004
  • 14. Open Problems and Future Work ● Customizing domain theory based on problem – DSURs generation (desc. goal + user pref.) ● Large search space, off­line ● Optimization constraints problems do not scale up well ● Representation of atomic services ● Translation of OWL, DAML­S, etc. into PKS/Golog    specifications ● IG­JADE­PKSlib toolkit ● Experiments + case studies to validate performance and  scalability of integrated framework ● Plan execution and contingency recovery 14 Martínez & Lespérance WSC / Knowledge-Based Planning WPSWGS @ ICAPS-2004
  • 15. Thank You! 15 Martínez & Lespérance WSC / Knowledge-Based Planning WPSWGS @ ICAPS-2004