SlideShare a Scribd company logo
1 of 38
Download to read offline
Configuring the Cloud
Automated Planning as a Semantic
          Technology

                 2010 Semantic Technology
                        Conference




  Blazej Bulka, PhD                   Stuart Charlton
 Clark & Parsia, LLC                      Elastra

blazej@clarkparsia.com              stuartc@elastra.com
 www.clarkparsia.com                  www.elastra.com

                                                          1
Who we are?

    Clark & Parsia is a semantic     
                                         Elastra is a cloud computing
    software startup                     software startup

    Offices in DC and Cambridge,     
                                         Offices in San Francisco, CA
    MA                               
                                         Co-Funded by Amazon.com, Bay

    Software products for end-user       Partners, and Hummer Winblad
    and OEM use                      
                                         Provides software and services for

    Provides software development        helping organizations migrate and
    and integration services             manage their applications in private
                                         and public clouds

    Specializing in Semantic Web,
    web services, and advanced AI    
                                         Elastra Cloud Server available for
    technologies for federal and         Amazon Web Services and VMWare
    enterprise customers
Outline


    Introduction to automated planning

    Examples of planning systems

    Hierarchical planning

    Case Study: Planning in Cloud Computing

    Semantic technologies in planning:
    HotPlanner from Clark & Parsia

    Conclusion
                                              3
Introduction to automated planning




                                     4
What is automated planning?

    Automated process to determine which actions
    need to be taken to achieve a desired goal


    
      Current state of the world
    
      Description of actions
                                   Planning         Required actions
    
      Goals and constraints         system              (plan)




    Multiple applications of produced plans
           −      Software execution
           −      Human execution
                                                                       5
           −      Assistance in solving a problem
Simple example
     Installing new software package

    Current state of the world: Description of installed software
    packages and their dependencies

    Available actions:
         −    Retrieve list of packages available for install from a server
         −    Retrieve package dependencies
         −    Download software package
         −    Install software package

    Goal: Install software package X

    Plan – sequence of actions specifying which packages to
    download and install, and in which order
                                                                              6
Domain-dependent planning


    Solves one type of problem well

    Specialized algorithm and data representation
    (the designer encoded the structure of the
    problem and solution in the code)

    Small modifications to problem (e.g., new
    kinds of dependencies between software
    packages) = modifications to the planning
    system

    Larger modifications to problem = rewriting     7
    significant portions of the planning system
Domain-independent planning

    Solves problems in multiple, entirely different
    domains (e.g., software management, truck
    routing, space mission control)

    Domain (actions, state of the world, goals) have
    to be specified in a way understandable to the
    planning system

    Generic planning algorithm

    Modifications to planning problem (small or
    large) – modifications to the domain
    specification = No change of planning system's     8
    code
What makes a plan good?


    Depends on the application

    Typical quality metrics
        −   Plan length (number of actions)
        −   Makespan (time to execute the plan)
        −   Plan cost (every action has a cost associated
            with it)
        −   Multi-objective metrics


                                                            9
Examples of planning systems




                               10
Space Exploration:
           Deep Space Network
                                                  Images: nmp.nasa.gov/ds1/


    Deep Space 1 (DS1)
       −   First ever close pictures of a comet
           (Borelly in 1999)
       −   Part of Deep Space Network
       −   Proof-of-concept for later systems

    Benefits
       −   Spacecraft autonomy
       −   Commands = goals
       −   Plan verification
       −   Execution monitoring

                                                                              11
Earth Observing-1 Mission (EO-1)
                                            Images: eo1.gsfc.nasa.gov

    Proof-of-concept for autonomous
    sensor web (incl. satellites, buoys
    etc.)

    Autonomous analysis of data

    Feature detection (e.g., fire) and
    decide to investigate on its own

    Collaboration among multiple
    satellites

    Plan activities: transmissions, power
    usage, set-up, camera usage

    Dramatic increase in amount of
    scientifically usable data (1000 x ?)
                                                                        12
Mars Exploration Rovers and
              MAPGEN
                                        Images: www.nasa.gov

    Autonomous execution of plans
    prepared on Earth

    Very limited planning on Mars

    MAPGEN – computer planning system
    assisting human planners

    Can produce explanations of
    dependencies

    Successor of MAPGEN is EUROPA
    (Extendable Uniform Remote
    Operations Planning Architecture)



                                                               13
Xerox RMP

    Planning system for Rack Mounted Printing prototype
           −         System with multiple parallel printing engines
                     (for performance and fault tolerance)
           −         Sheet path planning (and re-planning in case of
                     failure)




                                                                       14
     Images: Do, Ruml, and Zhou (ICAPS 2008 Proceedings)
Planning in games


    Strategy games and first-person shooters
       −   Killzone 2 (Game of the Year 2009 in
           Shooter category)
             
                 500 plans per second
       −   F.E.A.R. and Condemned: Criminal Origins




                                                      15
16
17
Siemens Tecnomatix 9
CAM-oriented planning tasks




                               18
Hierarchical planning




                        19
Hierarchical planning

    HTN (Hierarchical Task Network) planning

    Hierarchy of actions/goals

    Hint on the problem structure from the domain expert

    Prevents reinventing the wheel by the planning system

    Planner can first solve high-level goals and then refine
    lower-level ones

    Significant improvement in performance

    Designed templates of desired solutions (e.g., plans
    that adhere to internal policies)
                                                               20
Example HTN Plan
                                Goal: Have package X

                                      Install package X

            Download            Satisfy
                                                        Download   Install
           package list      dependencies
                                                           X         X
                                 for X


                     Have package        Have package
                           Y                   Z


                            Install         Already
                          package Y         installed



   Satisfy
                  Download              Install
dependencies
                     Y                    Y
    for Y

                                                                             21
Case Study: Configuring the Cloud
With Elastra Enterprise Cloud Server




                                       22
Elastra Enterprise Cloud Server
   Monitoring & Capacity                  Application-Level Automation               OS-Level Automation

  Event                                                                              Virtualization
  Correlation                                                                        Managers
                                         Automated Application           Discover
  Systems                                                                Manage
                            Publish      Deployment & Scale Out          Integrate
                           Subscribe     Planning & Orchestration                    Configuration
                                                                                     Agents
  Monitoring
  Systems
                                                         Integrate
                                                                                     Public Cloud APIs
                                            3 Party IT Systems
                                             rd




                            PDP        Federated Identity & Access Control   PEP




• Configure, Deploy, and Scale Multi-Tier Applications
  » Commercial and/or open source software
• Manage Applications Across a Hybrid Cloud
  » VMWare, Amazon Web Services, others
• Portable & Consistent Cloud Application Management
The Elastic Modeling Languages:
     OWL Ontologies for Cloud Computing




24
Meeting the Challenges of IT Automation:
How can these two servers communicate?
Possible areas of problems:
• Security
  » Bad credentials
• Server Configuration
  » Wrong IP or Port
  » Bad setup to listen or call
• Network Configuration
  » Wrong duplex
  » Bad DNS or DHCP
• Firewall Configuration
  » Ports or protocols not open
How do we usually automate a configuration?
     • Scripts & Runbooks
     • In Situation X, do this
     • In Situation Y, do this
     • In Situation Y, but exception Z, do this
     • ….
     • Problems: Context, Variability, Timing & Transitions
     • Scripts require you to explicitly write out each control
       transition, assume you know in advance the
       one right way to do things
     • That’s fine in the small; in the large, it gets complicated.

26
Elastra Next Generation Automation Engine:


                 Elastra Plan Composer
                                                    Strategy Examples:
                               HTN Strategies       Configure Full System
                                                    Scale-Out a System
        Application                                 Recover a Database
       & Deployment
           Data                    HTN Tactics
                                                    Search for Next Tactics :
       (Background                                  Set Firewall Rules
                                     HTN Atomic     Restore Filesystem
        Individuals)                   Actions      Install & Start Service
                                                    Provision Network
          Elastic            Jena + SPARQL
         Modeling
        Languages                                   Search for Atomic Bindings:
                        Clark & Parsia HotPlanner   Configuration Agent Callout
         (OWL v2
         Ontology)                                  Cloud API Callout
                           Clark & Parsia Pellet    Virtualization Manager Callout



27
Elastra’s Success Results with HotPlanner
     • Reduced, More Maintainable Codebase
       » Custom SPARQL and Java Code to interpret RDF, vs.
     HotPlanner’s Domain-Specific Language for HTN
       » Up to a 3x reduction in code length for various modules
     • Performance
       » Ability to generate a plan in under a minute for a 20 server, 20
         component, multi-tier system design
       » Typical planning time: 3 to 5 seconds, up to 15 for complex
       » Near-equivalent to classic manual SPARQL-based analyzer
     • Visibility and Modifiability of Plan
       » Plans are just OWL-S processes, easy to parse, render to GUI,
         and/or modify before execution


28
Semantic Technologies in Planning




                                    29
Semantic technologies in planning


    Semantic technologies have not been used
    together with planning frequently so far
       −   Promising opportunity
             
                 Modern semantic technologies (RDF and
                 OWL) are relatively new compared to planning
             
                 Planning finally became usable in real-world
                 settings
       −   The two areas can contribute to each other
       −   Many places where one area's weakness is
           the other's strength
                                                            30
Expressing planning domain

    Planners depend on accurate formal description of planning
    domain
         −    Language to describe the current state of the world
         −    Goals
         −    Actions
                 
                        Parameters (e.g., install package X)
                 
                        Preconditions (when an action may be executed)
                 
                        Effects (what changes in the world when the action is executed)
                 
                        Hierarchy

    Ideal solution
         −    Expressive (e.g., describing quantities)
         −    Keep computational complexity under control
                                                                                          31
Classical planning formalisms are
            inadequate

    Traditional formalisms
       −   STRIPS, PDDL (Planning Domain Definition
           Language)
       −   Limited expressivity
           Expressing complex domains difficult
       −   Support for hierarchical planning is sparse




                                                         32
Representing planning knowledge in
               OWL
 
     Describing the current state of the world in
     RDF and OWL
         −   Expressive language
         −   Designed with computational complexity in
             mind (e.g., various profiles EL, RL, QL)
         −   Can be used to infer information about the
             current state of the world that is not explicitly
             specified

                                                                 33
Describing actions and hierarchies
        based on OWL-S

    OWL-S is designed to specify descriptions of
    Web services

    Can be used to specify any action in
    Hierarchical Planning by using owls:Process
       −   Composition of actions (hierarchy)
       −   Preconditions
       −   Effects
       −   Parameters of actions
                                                   34
Challenges


    OWL ontologies are designed to represent
    static data

    Planning includes reasoning about changes
       −   Describing effects of action (some axioms
           become true, other become false)
       −   Identifying invariants that are preserved
       −   Matching effects of one actions with
           preconditions of others

                                                       35
HotPlanner

    Clark & Parsia's response to these challenges

    Used in production systems

    Uses Pellet OWL reasoner for state
    knowledge base management, reasoning and
    query answering
       –   Can plan and optimize for multiple objectives
       –   Extension to OWL-S for actions
       –   Scheduling and planning for parallel task
           execution

    For more information go to http://clarkparsia.com/planner36
Conclusions


    Planning is a proven technology for task
    automation, decision support, autonomous
    systems

    Semantic technologies and planning have a
    lot to offer to each other

    Automated planning is quickly growing in use
    for Cloud Computing automation


                                                   37
Thank you for your attention!
       Questions?




                                38

More Related Content

Viewers also liked

Semantic Navigation Cloud Edition
Semantic Navigation Cloud EditionSemantic Navigation Cloud Edition
Semantic Navigation Cloud EditionMarten den Haring
 
Semantic Cloud Governance
Semantic Cloud GovernanceSemantic Cloud Governance
Semantic Cloud Governancearivolit
 
Practical Cloud Economics
Practical Cloud EconomicsPractical Cloud Economics
Practical Cloud EconomicsEd Byrne
 
IEEE 2014 DOTNET CLOUD COMPUTING PROJECTS Web image re ranking using query-sp...
IEEE 2014 DOTNET CLOUD COMPUTING PROJECTS Web image re ranking using query-sp...IEEE 2014 DOTNET CLOUD COMPUTING PROJECTS Web image re ranking using query-sp...
IEEE 2014 DOTNET CLOUD COMPUTING PROJECTS Web image re ranking using query-sp...IEEEMEMTECHSTUDENTPROJECTS
 
seevl: Cloud computing, the Semantic Web and Music Discovery
seevl: Cloud computing, the Semantic Web and Music Discoveryseevl: Cloud computing, the Semantic Web and Music Discovery
seevl: Cloud computing, the Semantic Web and Music DiscoveryAlexandre Passant
 
Semantic search in the cloud
Semantic search in the cloudSemantic search in the cloud
Semantic search in the cloudlucenerevolution
 
IoT Day 2016: Cloud Services for IoT Semantic Interoperability
IoT Day 2016: Cloud Services for IoT Semantic InteroperabilityIoT Day 2016: Cloud Services for IoT Semantic Interoperability
IoT Day 2016: Cloud Services for IoT Semantic InteroperabilityMark Underwood
 
Cloud IT Economics: What you don't know about TCO can hurt you
Cloud IT Economics: What you don't know about TCO can hurt youCloud IT Economics: What you don't know about TCO can hurt you
Cloud IT Economics: What you don't know about TCO can hurt youAl Brodie
 
Introduction to Enterprise Cloud Economics
Introduction to Enterprise Cloud EconomicsIntroduction to Enterprise Cloud Economics
Introduction to Enterprise Cloud EconomicsEverest Group
 
cloud economics - Toronto FSI Symposium - October 2016
cloud economics - Toronto FSI Symposium - October 2016cloud economics - Toronto FSI Symposium - October 2016
cloud economics - Toronto FSI Symposium - October 2016Amazon Web Services
 

Viewers also liked (10)

Semantic Navigation Cloud Edition
Semantic Navigation Cloud EditionSemantic Navigation Cloud Edition
Semantic Navigation Cloud Edition
 
Semantic Cloud Governance
Semantic Cloud GovernanceSemantic Cloud Governance
Semantic Cloud Governance
 
Practical Cloud Economics
Practical Cloud EconomicsPractical Cloud Economics
Practical Cloud Economics
 
IEEE 2014 DOTNET CLOUD COMPUTING PROJECTS Web image re ranking using query-sp...
IEEE 2014 DOTNET CLOUD COMPUTING PROJECTS Web image re ranking using query-sp...IEEE 2014 DOTNET CLOUD COMPUTING PROJECTS Web image re ranking using query-sp...
IEEE 2014 DOTNET CLOUD COMPUTING PROJECTS Web image re ranking using query-sp...
 
seevl: Cloud computing, the Semantic Web and Music Discovery
seevl: Cloud computing, the Semantic Web and Music Discoveryseevl: Cloud computing, the Semantic Web and Music Discovery
seevl: Cloud computing, the Semantic Web and Music Discovery
 
Semantic search in the cloud
Semantic search in the cloudSemantic search in the cloud
Semantic search in the cloud
 
IoT Day 2016: Cloud Services for IoT Semantic Interoperability
IoT Day 2016: Cloud Services for IoT Semantic InteroperabilityIoT Day 2016: Cloud Services for IoT Semantic Interoperability
IoT Day 2016: Cloud Services for IoT Semantic Interoperability
 
Cloud IT Economics: What you don't know about TCO can hurt you
Cloud IT Economics: What you don't know about TCO can hurt youCloud IT Economics: What you don't know about TCO can hurt you
Cloud IT Economics: What you don't know about TCO can hurt you
 
Introduction to Enterprise Cloud Economics
Introduction to Enterprise Cloud EconomicsIntroduction to Enterprise Cloud Economics
Introduction to Enterprise Cloud Economics
 
cloud economics - Toronto FSI Symposium - October 2016
cloud economics - Toronto FSI Symposium - October 2016cloud economics - Toronto FSI Symposium - October 2016
cloud economics - Toronto FSI Symposium - October 2016
 

Similar to Automated Planning as a Semantic Technology

An Introduction to Cloud Computing by Robert Grossman 08-06-09 (v19)
An Introduction to Cloud Computing by Robert Grossman 08-06-09 (v19)An Introduction to Cloud Computing by Robert Grossman 08-06-09 (v19)
An Introduction to Cloud Computing by Robert Grossman 08-06-09 (v19)Robert Grossman
 
L Forer - Cloudgene: an execution platform for MapReduce programs in public a...
L Forer - Cloudgene: an execution platform for MapReduce programs in public a...L Forer - Cloudgene: an execution platform for MapReduce programs in public a...
L Forer - Cloudgene: an execution platform for MapReduce programs in public a...Jan Aerts
 
OCC Overview OMG Clouds Meeting 07-13-09 v3
OCC Overview OMG Clouds Meeting 07-13-09 v3OCC Overview OMG Clouds Meeting 07-13-09 v3
OCC Overview OMG Clouds Meeting 07-13-09 v3Robert Grossman
 
PeopleSoft Cloud Architecture & PeopleSoft Selective Adoption...Not Just for ...
PeopleSoft Cloud Architecture & PeopleSoft Selective Adoption...Not Just for ...PeopleSoft Cloud Architecture & PeopleSoft Selective Adoption...Not Just for ...
PeopleSoft Cloud Architecture & PeopleSoft Selective Adoption...Not Just for ...Cedar Consulting
 
Cloud Operations and Analytics: Improving Distributed Systems Reliability usi...
Cloud Operations and Analytics: Improving Distributed Systems Reliability usi...Cloud Operations and Analytics: Improving Distributed Systems Reliability usi...
Cloud Operations and Analytics: Improving Distributed Systems Reliability usi...Jorge Cardoso
 
Horizontal scaling with Galaxy
Horizontal scaling with GalaxyHorizontal scaling with Galaxy
Horizontal scaling with GalaxyEnis Afgan
 
My Other Computer is a Data Center (2010 v21)
My Other Computer is a Data Center (2010 v21)My Other Computer is a Data Center (2010 v21)
My Other Computer is a Data Center (2010 v21)Robert Grossman
 
Scaling Security on 100s of Millions of Mobile Devices Using Apache Kafka® an...
Scaling Security on 100s of Millions of Mobile Devices Using Apache Kafka® an...Scaling Security on 100s of Millions of Mobile Devices Using Apache Kafka® an...
Scaling Security on 100s of Millions of Mobile Devices Using Apache Kafka® an...confluent
 
NGRX Apps in Depth
NGRX Apps in DepthNGRX Apps in Depth
NGRX Apps in DepthTrayan Iliev
 
Prometheus Training
Prometheus TrainingPrometheus Training
Prometheus TrainingTim Tyler
 
Site Reliability Engineering Training in Hyderabad
Site Reliability Engineering Training in HyderabadSite Reliability Engineering Training in Hyderabad
Site Reliability Engineering Training in HyderabadJayanthvisualpath
 
Apache Kafka® and the Data Mesh
Apache Kafka® and the Data MeshApache Kafka® and the Data Mesh
Apache Kafka® and the Data MeshConfluentInc1
 
Deployit overview for JUG-Italy meeting
Deployit overview for JUG-Italy meetingDeployit overview for JUG-Italy meeting
Deployit overview for JUG-Italy meetingXebiaLabs
 
Gervais Peter Resume Oct :2015
Gervais Peter Resume Oct :2015Gervais Peter Resume Oct :2015
Gervais Peter Resume Oct :2015Peter Gervais
 
David Loureiro - Presentation at HP's HPC & OSL TES
David Loureiro - Presentation at HP's HPC & OSL TESDavid Loureiro - Presentation at HP's HPC & OSL TES
David Loureiro - Presentation at HP's HPC & OSL TESSysFera
 
Resume_Appaji
Resume_AppajiResume_Appaji
Resume_AppajiAppaji K
 

Similar to Automated Planning as a Semantic Technology (20)

Dynamix IoT 2012
Dynamix IoT 2012Dynamix IoT 2012
Dynamix IoT 2012
 
An Introduction to Cloud Computing by Robert Grossman 08-06-09 (v19)
An Introduction to Cloud Computing by Robert Grossman 08-06-09 (v19)An Introduction to Cloud Computing by Robert Grossman 08-06-09 (v19)
An Introduction to Cloud Computing by Robert Grossman 08-06-09 (v19)
 
L Forer - Cloudgene: an execution platform for MapReduce programs in public a...
L Forer - Cloudgene: an execution platform for MapReduce programs in public a...L Forer - Cloudgene: an execution platform for MapReduce programs in public a...
L Forer - Cloudgene: an execution platform for MapReduce programs in public a...
 
OCC Overview OMG Clouds Meeting 07-13-09 v3
OCC Overview OMG Clouds Meeting 07-13-09 v3OCC Overview OMG Clouds Meeting 07-13-09 v3
OCC Overview OMG Clouds Meeting 07-13-09 v3
 
PeopleSoft Cloud Architecture & PeopleSoft Selective Adoption...Not Just for ...
PeopleSoft Cloud Architecture & PeopleSoft Selective Adoption...Not Just for ...PeopleSoft Cloud Architecture & PeopleSoft Selective Adoption...Not Just for ...
PeopleSoft Cloud Architecture & PeopleSoft Selective Adoption...Not Just for ...
 
RAGHUNATH_GORLA_RESUME
RAGHUNATH_GORLA_RESUMERAGHUNATH_GORLA_RESUME
RAGHUNATH_GORLA_RESUME
 
Cloud Operations and Analytics: Improving Distributed Systems Reliability usi...
Cloud Operations and Analytics: Improving Distributed Systems Reliability usi...Cloud Operations and Analytics: Improving Distributed Systems Reliability usi...
Cloud Operations and Analytics: Improving Distributed Systems Reliability usi...
 
Horizontal scaling with Galaxy
Horizontal scaling with GalaxyHorizontal scaling with Galaxy
Horizontal scaling with Galaxy
 
My Other Computer is a Data Center (2010 v21)
My Other Computer is a Data Center (2010 v21)My Other Computer is a Data Center (2010 v21)
My Other Computer is a Data Center (2010 v21)
 
Scaling Security on 100s of Millions of Mobile Devices Using Apache Kafka® an...
Scaling Security on 100s of Millions of Mobile Devices Using Apache Kafka® an...Scaling Security on 100s of Millions of Mobile Devices Using Apache Kafka® an...
Scaling Security on 100s of Millions of Mobile Devices Using Apache Kafka® an...
 
NGRX Apps in Depth
NGRX Apps in DepthNGRX Apps in Depth
NGRX Apps in Depth
 
Cloudy Ajax 08 10
Cloudy Ajax 08 10Cloudy Ajax 08 10
Cloudy Ajax 08 10
 
Prometheus Training
Prometheus TrainingPrometheus Training
Prometheus Training
 
Site Reliability Engineering Training in Hyderabad
Site Reliability Engineering Training in HyderabadSite Reliability Engineering Training in Hyderabad
Site Reliability Engineering Training in Hyderabad
 
Apache Kafka® and the Data Mesh
Apache Kafka® and the Data MeshApache Kafka® and the Data Mesh
Apache Kafka® and the Data Mesh
 
Session19 Globus
Session19 GlobusSession19 Globus
Session19 Globus
 
Deployit overview for JUG-Italy meeting
Deployit overview for JUG-Italy meetingDeployit overview for JUG-Italy meeting
Deployit overview for JUG-Italy meeting
 
Gervais Peter Resume Oct :2015
Gervais Peter Resume Oct :2015Gervais Peter Resume Oct :2015
Gervais Peter Resume Oct :2015
 
David Loureiro - Presentation at HP's HPC & OSL TES
David Loureiro - Presentation at HP's HPC & OSL TESDavid Loureiro - Presentation at HP's HPC & OSL TES
David Loureiro - Presentation at HP's HPC & OSL TES
 
Resume_Appaji
Resume_AppajiResume_Appaji
Resume_Appaji
 

More from Clark & Parsia LLC

Stardog 1.1: Easier, Smarter, Faster RDF Database
Stardog 1.1: Easier, Smarter, Faster RDF DatabaseStardog 1.1: Easier, Smarter, Faster RDF Database
Stardog 1.1: Easier, Smarter, Faster RDF DatabaseClark & Parsia LLC
 
Validating Linked Data with OWL
Validating Linked Data with OWLValidating Linked Data with OWL
Validating Linked Data with OWLClark & Parsia LLC
 
Sem tech 2010_integrity_constraints
Sem tech 2010_integrity_constraintsSem tech 2010_integrity_constraints
Sem tech 2010_integrity_constraintsClark & Parsia LLC
 
PelletServer: REST and Semantic Technologies
PelletServer: REST and Semantic TechnologiesPelletServer: REST and Semantic Technologies
PelletServer: REST and Semantic TechnologiesClark & Parsia LLC
 
PelletDb: Scalable Reasoning for Enterprise Semantics
PelletDb: Scalable Reasoning for Enterprise SemanticsPelletDb: Scalable Reasoning for Enterprise Semantics
PelletDb: Scalable Reasoning for Enterprise SemanticsClark & Parsia LLC
 
SemTech 2010: Pelorus Platform
SemTech 2010: Pelorus PlatformSemTech 2010: Pelorus Platform
SemTech 2010: Pelorus PlatformClark & Parsia LLC
 

More from Clark & Parsia LLC (11)

Stardog Linked Data Catalog
Stardog Linked Data CatalogStardog Linked Data Catalog
Stardog Linked Data Catalog
 
Stardog 1.1: Easier, Smarter, Faster RDF Database
Stardog 1.1: Easier, Smarter, Faster RDF DatabaseStardog 1.1: Easier, Smarter, Faster RDF Database
Stardog 1.1: Easier, Smarter, Faster RDF Database
 
Stardog talk-dc-march-17
Stardog talk-dc-march-17Stardog talk-dc-march-17
Stardog talk-dc-march-17
 
RR2010 Keynote
RR2010 KeynoteRR2010 Keynote
RR2010 Keynote
 
Validating Linked Data with OWL
Validating Linked Data with OWLValidating Linked Data with OWL
Validating Linked Data with OWL
 
Sem tech 2010_integrity_constraints
Sem tech 2010_integrity_constraintsSem tech 2010_integrity_constraints
Sem tech 2010_integrity_constraints
 
Terp: An OWL-friendly SPARQL
Terp: An OWL-friendly SPARQLTerp: An OWL-friendly SPARQL
Terp: An OWL-friendly SPARQL
 
PelletServer: REST and Semantic Technologies
PelletServer: REST and Semantic TechnologiesPelletServer: REST and Semantic Technologies
PelletServer: REST and Semantic Technologies
 
PelletDb: Scalable Reasoning for Enterprise Semantics
PelletDb: Scalable Reasoning for Enterprise SemanticsPelletDb: Scalable Reasoning for Enterprise Semantics
PelletDb: Scalable Reasoning for Enterprise Semantics
 
Empire: JPA for RDF & SPARQL
Empire: JPA for RDF & SPARQLEmpire: JPA for RDF & SPARQL
Empire: JPA for RDF & SPARQL
 
SemTech 2010: Pelorus Platform
SemTech 2010: Pelorus PlatformSemTech 2010: Pelorus Platform
SemTech 2010: Pelorus Platform
 

Recently uploaded

Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 

Recently uploaded (20)

Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

Automated Planning as a Semantic Technology

  • 1. Configuring the Cloud Automated Planning as a Semantic Technology 2010 Semantic Technology Conference Blazej Bulka, PhD Stuart Charlton Clark & Parsia, LLC Elastra blazej@clarkparsia.com stuartc@elastra.com www.clarkparsia.com www.elastra.com 1
  • 2. Who we are?  Clark & Parsia is a semantic  Elastra is a cloud computing software startup software startup  Offices in DC and Cambridge,  Offices in San Francisco, CA MA  Co-Funded by Amazon.com, Bay  Software products for end-user Partners, and Hummer Winblad and OEM use  Provides software and services for  Provides software development helping organizations migrate and and integration services manage their applications in private and public clouds  Specializing in Semantic Web, web services, and advanced AI  Elastra Cloud Server available for technologies for federal and Amazon Web Services and VMWare enterprise customers
  • 3. Outline  Introduction to automated planning  Examples of planning systems  Hierarchical planning  Case Study: Planning in Cloud Computing  Semantic technologies in planning: HotPlanner from Clark & Parsia  Conclusion 3
  • 5. What is automated planning?  Automated process to determine which actions need to be taken to achieve a desired goal  Current state of the world  Description of actions Planning Required actions  Goals and constraints system (plan)  Multiple applications of produced plans − Software execution − Human execution 5 − Assistance in solving a problem
  • 6. Simple example Installing new software package  Current state of the world: Description of installed software packages and their dependencies  Available actions: − Retrieve list of packages available for install from a server − Retrieve package dependencies − Download software package − Install software package  Goal: Install software package X  Plan – sequence of actions specifying which packages to download and install, and in which order 6
  • 7. Domain-dependent planning  Solves one type of problem well  Specialized algorithm and data representation (the designer encoded the structure of the problem and solution in the code)  Small modifications to problem (e.g., new kinds of dependencies between software packages) = modifications to the planning system  Larger modifications to problem = rewriting 7 significant portions of the planning system
  • 8. Domain-independent planning  Solves problems in multiple, entirely different domains (e.g., software management, truck routing, space mission control)  Domain (actions, state of the world, goals) have to be specified in a way understandable to the planning system  Generic planning algorithm  Modifications to planning problem (small or large) – modifications to the domain specification = No change of planning system's 8 code
  • 9. What makes a plan good?  Depends on the application  Typical quality metrics − Plan length (number of actions) − Makespan (time to execute the plan) − Plan cost (every action has a cost associated with it) − Multi-objective metrics 9
  • 10. Examples of planning systems 10
  • 11. Space Exploration: Deep Space Network Images: nmp.nasa.gov/ds1/  Deep Space 1 (DS1) − First ever close pictures of a comet (Borelly in 1999) − Part of Deep Space Network − Proof-of-concept for later systems  Benefits − Spacecraft autonomy − Commands = goals − Plan verification − Execution monitoring 11
  • 12. Earth Observing-1 Mission (EO-1) Images: eo1.gsfc.nasa.gov  Proof-of-concept for autonomous sensor web (incl. satellites, buoys etc.)  Autonomous analysis of data  Feature detection (e.g., fire) and decide to investigate on its own  Collaboration among multiple satellites  Plan activities: transmissions, power usage, set-up, camera usage  Dramatic increase in amount of scientifically usable data (1000 x ?) 12
  • 13. Mars Exploration Rovers and MAPGEN Images: www.nasa.gov  Autonomous execution of plans prepared on Earth  Very limited planning on Mars  MAPGEN – computer planning system assisting human planners  Can produce explanations of dependencies  Successor of MAPGEN is EUROPA (Extendable Uniform Remote Operations Planning Architecture) 13
  • 14. Xerox RMP  Planning system for Rack Mounted Printing prototype − System with multiple parallel printing engines (for performance and fault tolerance) − Sheet path planning (and re-planning in case of failure) 14 Images: Do, Ruml, and Zhou (ICAPS 2008 Proceedings)
  • 15. Planning in games  Strategy games and first-person shooters − Killzone 2 (Game of the Year 2009 in Shooter category)  500 plans per second − F.E.A.R. and Condemned: Criminal Origins 15
  • 16. 16
  • 17. 17
  • 20. Hierarchical planning  HTN (Hierarchical Task Network) planning  Hierarchy of actions/goals  Hint on the problem structure from the domain expert  Prevents reinventing the wheel by the planning system  Planner can first solve high-level goals and then refine lower-level ones  Significant improvement in performance  Designed templates of desired solutions (e.g., plans that adhere to internal policies) 20
  • 21. Example HTN Plan Goal: Have package X Install package X Download Satisfy Download Install package list dependencies X X for X Have package Have package Y Z Install Already package Y installed Satisfy Download Install dependencies Y Y for Y 21
  • 22. Case Study: Configuring the Cloud With Elastra Enterprise Cloud Server 22
  • 23. Elastra Enterprise Cloud Server Monitoring & Capacity Application-Level Automation OS-Level Automation Event Virtualization Correlation Managers Automated Application Discover Systems Manage Publish Deployment & Scale Out Integrate Subscribe Planning & Orchestration Configuration Agents Monitoring Systems Integrate Public Cloud APIs 3 Party IT Systems rd PDP Federated Identity & Access Control PEP • Configure, Deploy, and Scale Multi-Tier Applications » Commercial and/or open source software • Manage Applications Across a Hybrid Cloud » VMWare, Amazon Web Services, others • Portable & Consistent Cloud Application Management
  • 24. The Elastic Modeling Languages: OWL Ontologies for Cloud Computing 24
  • 25. Meeting the Challenges of IT Automation: How can these two servers communicate? Possible areas of problems: • Security » Bad credentials • Server Configuration » Wrong IP or Port » Bad setup to listen or call • Network Configuration » Wrong duplex » Bad DNS or DHCP • Firewall Configuration » Ports or protocols not open
  • 26. How do we usually automate a configuration? • Scripts & Runbooks • In Situation X, do this • In Situation Y, do this • In Situation Y, but exception Z, do this • …. • Problems: Context, Variability, Timing & Transitions • Scripts require you to explicitly write out each control transition, assume you know in advance the one right way to do things • That’s fine in the small; in the large, it gets complicated. 26
  • 27. Elastra Next Generation Automation Engine: Elastra Plan Composer Strategy Examples: HTN Strategies Configure Full System Scale-Out a System Application Recover a Database & Deployment Data HTN Tactics Search for Next Tactics : (Background Set Firewall Rules HTN Atomic Restore Filesystem Individuals) Actions Install & Start Service Provision Network Elastic Jena + SPARQL Modeling Languages Search for Atomic Bindings: Clark & Parsia HotPlanner Configuration Agent Callout (OWL v2 Ontology) Cloud API Callout Clark & Parsia Pellet Virtualization Manager Callout 27
  • 28. Elastra’s Success Results with HotPlanner • Reduced, More Maintainable Codebase » Custom SPARQL and Java Code to interpret RDF, vs. HotPlanner’s Domain-Specific Language for HTN » Up to a 3x reduction in code length for various modules • Performance » Ability to generate a plan in under a minute for a 20 server, 20 component, multi-tier system design » Typical planning time: 3 to 5 seconds, up to 15 for complex » Near-equivalent to classic manual SPARQL-based analyzer • Visibility and Modifiability of Plan » Plans are just OWL-S processes, easy to parse, render to GUI, and/or modify before execution 28
  • 30. Semantic technologies in planning  Semantic technologies have not been used together with planning frequently so far − Promising opportunity  Modern semantic technologies (RDF and OWL) are relatively new compared to planning  Planning finally became usable in real-world settings − The two areas can contribute to each other − Many places where one area's weakness is the other's strength 30
  • 31. Expressing planning domain  Planners depend on accurate formal description of planning domain − Language to describe the current state of the world − Goals − Actions  Parameters (e.g., install package X)  Preconditions (when an action may be executed)  Effects (what changes in the world when the action is executed)  Hierarchy  Ideal solution − Expressive (e.g., describing quantities) − Keep computational complexity under control 31
  • 32. Classical planning formalisms are inadequate  Traditional formalisms − STRIPS, PDDL (Planning Domain Definition Language) − Limited expressivity Expressing complex domains difficult − Support for hierarchical planning is sparse 32
  • 33. Representing planning knowledge in OWL  Describing the current state of the world in RDF and OWL − Expressive language − Designed with computational complexity in mind (e.g., various profiles EL, RL, QL) − Can be used to infer information about the current state of the world that is not explicitly specified 33
  • 34. Describing actions and hierarchies based on OWL-S  OWL-S is designed to specify descriptions of Web services  Can be used to specify any action in Hierarchical Planning by using owls:Process − Composition of actions (hierarchy) − Preconditions − Effects − Parameters of actions 34
  • 35. Challenges  OWL ontologies are designed to represent static data  Planning includes reasoning about changes − Describing effects of action (some axioms become true, other become false) − Identifying invariants that are preserved − Matching effects of one actions with preconditions of others 35
  • 36. HotPlanner  Clark & Parsia's response to these challenges  Used in production systems  Uses Pellet OWL reasoner for state knowledge base management, reasoning and query answering – Can plan and optimize for multiple objectives – Extension to OWL-S for actions – Scheduling and planning for parallel task execution  For more information go to http://clarkparsia.com/planner36
  • 37. Conclusions  Planning is a proven technology for task automation, decision support, autonomous systems  Semantic technologies and planning have a lot to offer to each other  Automated planning is quickly growing in use for Cloud Computing automation 37
  • 38. Thank you for your attention! Questions? 38