SlideShare uma empresa Scribd logo
1 de 21
Consiglio Nazionale delle Ricerche
Istituto di Calcolo e Reti ad Alte Prestazioni

Towards Self-Adaptation and
Evolution in Business Process
Luca Sabatucci

15 Ottobre 2013
BPMN
Commercial workflow engines follow the
plan as in the blueprint (BPMN, BPEL)
The execution model is based on the
petri-net model: token and activation
•
Self-Adaptive Workflows
•

In current workflow systems,
• a unexpected situation generates a fail to the
standard plan,
• alternative plans can not be autonomously
considered

•

In order to enable self-adaptation,
• rigid constraints of a workflow must be relaxed
• plans should be searched in a broader solution
space.
Our Approach
FROM BPMN to Goals
Decoupling WHAT and HOW
We

desire that BPMN is used for

◦ describing the result to address,
◦ not “how to address it”
We

use a Goal-Oriented approach
GoalSPEC: a language to describe
business goals to delegate to the system
Goal in GoalSpec
Goal
TRIGGERING CONDITION
The state of the world that
must hold because the goal
becomes active

ACTOR LIST
Who is responsible

FINAL STATE
The state of the world that
must be true for considering
the goal addressed

In oorderto des
In rder to des ibe
cr
cr
Trigggercco dit ibe
Tri ger onndit n
io n
io
andd
an
FFinalstaate
inal st te
weeuusean oo to
w se an nnto gica
lo gicalapppro h
lo l ap roac h
ac

(WHEN MESSAGE book_request(Book)
RECEIVED FROM THE Client ROLE
AND WHEN available(Book) )
THE Clerk ROLE SHALL ADDRESS
book_checkout(Book,Client)
(BookManagment example)

Each goal in GoalSPEC
Each goal in GoalSPEC
defines aa
defines
ition,
desireddStateeTrans ition,
desire Stat Trans
G:TC -> FS
G:TC -> FS
Extracting GoalSPEC from BPMN
The workflow execution may be seen as a

finite set of state transitions from the
start event to the end event.
Where: each FlowNode generates a
single step of the transition
We identify intermediate transitions
Examples
Every FlowNode potentially impacts the state
of the workflow
WHEN completed(client_credential)
THE user role SHALL ADDRESS
( done(booking) AND sent(receipt,client) )
OR error(booking)

AFTER 1 hour SINCE WHEN done(login)
OR WHEN user_number > MAX_USERS
OR WHEN thrown(stopping_signal)
THE user role SHALL ADRESS
done (logout)
THE Agent ARCHITECTURE
Why Software Agents
Agents encapsulate autonomy and

proactivity.
Agents ground on the classic AI loopmodel: sense – reason – act
BDI agents represent a good abstraction
for self-awareness and contextawareness
MAS are a flexible and powerful method
for distributed reasoning
The BDI Architecture
(mental states)

Agent1

Agent2

AgentN

(plans)

(act and perceive)

Environment

13
Context-Awareness and SelfAwareness
•

Proactive contextual matching of the
behavior (how) with expected results (what)

•

The agent must be able to reason
• on evolving business goals
• on the execution context
• on its capabilities
The Self-Aware Agent
SYSTEM GOALS

Self-Aware agents
knows:
•system goals
•their own execution
state
•their capabilities and
how capabilities can be
used

(means-end
reasoning)

CAPABILITIES

Agent1

Agent2

AgentN

(plans)

(UI)

Capability encapsulat
es
the ability to manipulat
e
resources, to call web
services or to interact
with humans

Environment

System goals
derive from business
analysis, when some
business goal is
delegated to the
system

t)
en
tm
mi
m
(co

(UI)

Resources
(databases, …)

Business
Analyst

Web Service

Web Service

Workflow
User
15
Self-Organization Algorithm
Goal commitment is a social activity
Each goal prescribes a state transition (TC ->

FS)

Agents may own capabilities for addressing

sub-transitions (sinput -> soutput)

A Solution is a decomposition of the main

transition TC -> FS into a set of sub-transitions

A Team prescribes a collaboration among many

agents, and it is regulated by contracts and
rewards.
A solution is a set of potential contracts for addressing sub-goals:
contract( potential commitment, curriculum, request income)

TThealalgori m
he gorith
thmfor
distriribute an forsearching gsolutitions is
dist butedd an re searchin solu ons is
dd recursiv
cursivee

system-goal
goal-set

{TC | FS}

sub-goal
G1..G5
G1

G2

{TC | IS1}

AGENTS

G3

{IS1 | IS2}

{IS2 | IS3}

G5

{IS3 | IS4}

I may
commit
to G3

A1

ch
Agents tries sto mat ch
Agents trie to mat goal
s
their rcapacicitieswith goal
thei capa tie with
transitionnTC -> FS
transitio TC -> FS
de IF
Agents alalsodecicide IF
Agents so de
the
PARTICIPATEEto the
PARTICIPAT to H
solutionnanddWHIC H
solutio an WHIC
PART play in it,
PART play in it,
r
depending gon thei r
dependin on thei
workinngqueuee
worki g queu

G4

AN

Aj

Recursionnstops w
Recursio stops w n no
he
he
solutionnisisdiscover n no
solutio
discoveeddor in
re or in
theetrivivialcase of nu
th tr ial case of nu
ll ll
transition
transition

contract( {IS2 | IS3}, my_curriculum, 1)

backward-goal

decompose and recursively
search sub-goals

{TS | IS2}

A1

A2

{IS4 | FS}

forward-goal

{IS3 | FS}

AN

A1

A2

AN

ay be
Many ysolutions m ay be
Man solutions m
discovered. .
discovered
alu ed
ev ated
Each solutionnisisev aluat
Each solutio
according gto: :
accordin to
ts’
completeness,s,agen ts’ )
completenes agen cost )
tal
st
reputationnanddto tal co
reputatio an to
Conclusions:
The new Lifecycle of Business Process
Business
Analyst

models

Theebusiness sanalyst
Th busines analyst itional
l
continues sto useetrad itiona
continue to us tradhis
odel his
instruments to m odel
instruments to m
processes s
processe

revises

The system
automatically
translates BPMN
into goals
Every yagent in th
Ever agent in th syst
ee em
autonomously de system
autonomously de des
ci
whennto commit cides
whe to committo so
me
to some
goalal
go

GoalSPEC isis a
GoalSPEC a
language for
language for
expressing ggoals
expressin goals
that tgrounds son
tha ground on
ontology yandd
ontolog an
defines sa agoalalas the
define go as the
tuple
tuple
(actor,r,
(acto
trigger-condition,
trigger-condition,
final-state) )
final-state

GoalSPEC
injection

worker

Business
Expert

interacts
commits to
analyzes

analyzes

Running MAS

analyzes

commits to
analyzes

18
Environment perturbations
Conclusions:
The components of the MAS Solution
•

Agents are specialized: every agent owns its own capacities.
– User capacities are used to interact with humans and monitor their activity
– Service capacities are used to manipulate the environment.

•

Agent are peers: there is not a pre-established organization. They
organize themselves in teams every time a new workflow starts
– The self-org algorithm considers many criteria (experience, cost, trust)
– The team is the candidate group of agents for addressing the workflow, in a
given context
– Anyway, the context may change for some reason during the execution:
• In case of starvation the team tries to relax some constraints
• If some task fails, the team is dismissed and a new team is formed
• If no alternative team can be found, the analyst is informed of failure

•

Commitment: when an agent is involved in a team, it tries to address
its responsibilities at best of its possibilities
– It waits for triggering conditions hold
– It selects and executes the proper capacity or composition of capacities
– It checks that result is the expected final state

•

Trust and Reward:: agents that successfully complete their task gain
reputation and they increase their chance to be selected again.
Future Works
Agents

Learns by

◦ Experience  to improve owned capabilities
◦ Studying  to acquire new capabilities
Coupling

Goals and Norms in GoalSPEC
Open Systems and Clouds
Thanks for your Attention
Luca Sabatucci
sabatucci@pa.icar.cnr.it

Consiglio Nazionale delle Ricerche
Istituto di Calcolo e Reti ad Alte Prestazioni

Mais conteúdo relacionado

Semelhante a Overview of a Self-Adaptive Workflow System

Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...
Nathaniel Palmer
 
Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...
Nathaniel Palmer
 
Hitchhikers guide to_data_center_facility_ops
Hitchhikers guide to_data_center_facility_opsHitchhikers guide to_data_center_facility_ops
Hitchhikers guide to_data_center_facility_ops
avdsouza
 
adosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwq
adosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwqadosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwq
adosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwq
JoelBelleth
 
5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)
randhirlpu
 
07 caelum-cmmi-multimodel-scamp iv2
07 caelum-cmmi-multimodel-scamp iv207 caelum-cmmi-multimodel-scamp iv2
07 caelum-cmmi-multimodel-scamp iv2
CAELUM-CMMI
 
Erp implementation checklist
Erp implementation checklistErp implementation checklist
Erp implementation checklist
Mitch Rushing
 

Semelhante a Overview of a Self-Adaptive Workflow System (20)

Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...
 
Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...
 
13285737.ppt
13285737.ppt13285737.ppt
13285737.ppt
 
@note 23 Understanding Capability Maturity & Models 1-0
@note 23 Understanding Capability Maturity & Models 1-0@note 23 Understanding Capability Maturity & Models 1-0
@note 23 Understanding Capability Maturity & Models 1-0
 
Hitchhikers guide to_data_center_facility_ops
Hitchhikers guide to_data_center_facility_opsHitchhikers guide to_data_center_facility_ops
Hitchhikers guide to_data_center_facility_ops
 
Business analysis
Business analysis Business analysis
Business analysis
 
Business analysis
Business analysis Business analysis
Business analysis
 
Deploying a data centric approach to enterprise agility
Deploying a data centric approach to enterprise agilityDeploying a data centric approach to enterprise agility
Deploying a data centric approach to enterprise agility
 
IBD BI MC Business Analysis Tools And Tasks
IBD BI MC Business Analysis Tools And TasksIBD BI MC Business Analysis Tools And Tasks
IBD BI MC Business Analysis Tools And Tasks
 
adosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwq
adosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwqadosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwq
adosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwq
 
5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)
 
Performancemanagementsystem 120331231016-phpapp02
Performancemanagementsystem 120331231016-phpapp02Performancemanagementsystem 120331231016-phpapp02
Performancemanagementsystem 120331231016-phpapp02
 
Formalizing Collaborative Software Development Issues: A Collaborative Work A...
Formalizing Collaborative Software Development Issues: A Collaborative Work A...Formalizing Collaborative Software Development Issues: A Collaborative Work A...
Formalizing Collaborative Software Development Issues: A Collaborative Work A...
 
Workflow agent determination
Workflow agent determinationWorkflow agent determination
Workflow agent determination
 
07 caelum-cmmi-multimodel-scamp iv2
07 caelum-cmmi-multimodel-scamp iv207 caelum-cmmi-multimodel-scamp iv2
07 caelum-cmmi-multimodel-scamp iv2
 
Using process thinking to define project scope: how to start in the right place
Using process thinking to define project scope: how to start in the right placeUsing process thinking to define project scope: how to start in the right place
Using process thinking to define project scope: how to start in the right place
 
Halifax CompetencyDictionary.pdf
Halifax CompetencyDictionary.pdfHalifax CompetencyDictionary.pdf
Halifax CompetencyDictionary.pdf
 
Erp implementation checklist
Erp implementation checklistErp implementation checklist
Erp implementation checklist
 
What is the purpose of conducting a SWOT analysis in business analysis.docx
What is the purpose of conducting a SWOT analysis in business analysis.docxWhat is the purpose of conducting a SWOT analysis in business analysis.docx
What is the purpose of conducting a SWOT analysis in business analysis.docx
 
Performance appraisal software
Performance appraisal softwarePerformance appraisal software
Performance appraisal software
 

Mais de Luca Sabatucci

GoalSPEC - An Introduction
GoalSPEC - An IntroductionGoalSPEC - An Introduction
GoalSPEC - An Introduction
Luca Sabatucci
 
Design as Intercultural Dialogue
Design as Intercultural DialogueDesign as Intercultural Dialogue
Design as Intercultural Dialogue
Luca Sabatucci
 

Mais de Luca Sabatucci (9)

SlidesSeams15
SlidesSeams15SlidesSeams15
SlidesSeams15
 
MUSA: A Middleware for User-driven Service Adaptation
MUSA: A Middleware for User-driven Service AdaptationMUSA: A Middleware for User-driven Service Adaptation
MUSA: A Middleware for User-driven Service Adaptation
 
GoalSPEC - An Introduction
GoalSPEC - An IntroductionGoalSPEC - An Introduction
GoalSPEC - An Introduction
 
Ahab's Leg Dilemma
Ahab's Leg DilemmaAhab's Leg Dilemma
Ahab's Leg Dilemma
 
Ahab’s Leg
Ahab’s LegAhab’s Leg
Ahab’s Leg
 
Coupling Tropos with User-Centered Design
Coupling Tropos with User-Centered DesignCoupling Tropos with User-Centered Design
Coupling Tropos with User-Centered Design
 
Design as Intercultural Dialogue
Design as Intercultural DialogueDesign as Intercultural Dialogue
Design as Intercultural Dialogue
 
The ACube Experience
The ACube ExperienceThe ACube Experience
The ACube Experience
 
Socio-Technical Systems
Socio-Technical SystemsSocio-Technical Systems
Socio-Technical Systems
 

Último

+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...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
+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...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
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
 
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
 

Overview of a Self-Adaptive Workflow System

  • 1. Consiglio Nazionale delle Ricerche Istituto di Calcolo e Reti ad Alte Prestazioni Towards Self-Adaptation and Evolution in Business Process Luca Sabatucci 15 Ottobre 2013
  • 2.
  • 3. BPMN Commercial workflow engines follow the plan as in the blueprint (BPMN, BPEL) The execution model is based on the petri-net model: token and activation •
  • 4. Self-Adaptive Workflows • In current workflow systems, • a unexpected situation generates a fail to the standard plan, • alternative plans can not be autonomously considered • In order to enable self-adaptation, • rigid constraints of a workflow must be relaxed • plans should be searched in a broader solution space.
  • 6. FROM BPMN to Goals
  • 7. Decoupling WHAT and HOW We desire that BPMN is used for ◦ describing the result to address, ◦ not “how to address it” We use a Goal-Oriented approach GoalSPEC: a language to describe business goals to delegate to the system
  • 8. Goal in GoalSpec Goal TRIGGERING CONDITION The state of the world that must hold because the goal becomes active ACTOR LIST Who is responsible FINAL STATE The state of the world that must be true for considering the goal addressed In oorderto des In rder to des ibe cr cr Trigggercco dit ibe Tri ger onndit n io n io andd an FFinalstaate inal st te weeuusean oo to w se an nnto gica lo gicalapppro h lo l ap roac h ac (WHEN MESSAGE book_request(Book) RECEIVED FROM THE Client ROLE AND WHEN available(Book) ) THE Clerk ROLE SHALL ADDRESS book_checkout(Book,Client) (BookManagment example) Each goal in GoalSPEC Each goal in GoalSPEC defines aa defines ition, desireddStateeTrans ition, desire Stat Trans G:TC -> FS G:TC -> FS
  • 9. Extracting GoalSPEC from BPMN The workflow execution may be seen as a finite set of state transitions from the start event to the end event. Where: each FlowNode generates a single step of the transition We identify intermediate transitions
  • 10. Examples Every FlowNode potentially impacts the state of the workflow WHEN completed(client_credential) THE user role SHALL ADDRESS ( done(booking) AND sent(receipt,client) ) OR error(booking) AFTER 1 hour SINCE WHEN done(login) OR WHEN user_number > MAX_USERS OR WHEN thrown(stopping_signal) THE user role SHALL ADRESS done (logout)
  • 12. Why Software Agents Agents encapsulate autonomy and proactivity. Agents ground on the classic AI loopmodel: sense – reason – act BDI agents represent a good abstraction for self-awareness and contextawareness MAS are a flexible and powerful method for distributed reasoning
  • 13. The BDI Architecture (mental states) Agent1 Agent2 AgentN (plans) (act and perceive) Environment 13
  • 14. Context-Awareness and SelfAwareness • Proactive contextual matching of the behavior (how) with expected results (what) • The agent must be able to reason • on evolving business goals • on the execution context • on its capabilities
  • 15. The Self-Aware Agent SYSTEM GOALS Self-Aware agents knows: •system goals •their own execution state •their capabilities and how capabilities can be used (means-end reasoning) CAPABILITIES Agent1 Agent2 AgentN (plans) (UI) Capability encapsulat es the ability to manipulat e resources, to call web services or to interact with humans Environment System goals derive from business analysis, when some business goal is delegated to the system t) en tm mi m (co (UI) Resources (databases, …) Business Analyst Web Service Web Service Workflow User 15
  • 16. Self-Organization Algorithm Goal commitment is a social activity Each goal prescribes a state transition (TC -> FS) Agents may own capabilities for addressing sub-transitions (sinput -> soutput) A Solution is a decomposition of the main transition TC -> FS into a set of sub-transitions A Team prescribes a collaboration among many agents, and it is regulated by contracts and rewards.
  • 17. A solution is a set of potential contracts for addressing sub-goals: contract( potential commitment, curriculum, request income) TThealalgori m he gorith thmfor distriribute an forsearching gsolutitions is dist butedd an re searchin solu ons is dd recursiv cursivee system-goal goal-set {TC | FS} sub-goal G1..G5 G1 G2 {TC | IS1} AGENTS G3 {IS1 | IS2} {IS2 | IS3} G5 {IS3 | IS4} I may commit to G3 A1 ch Agents tries sto mat ch Agents trie to mat goal s their rcapacicitieswith goal thei capa tie with transitionnTC -> FS transitio TC -> FS de IF Agents alalsodecicide IF Agents so de the PARTICIPATEEto the PARTICIPAT to H solutionnanddWHIC H solutio an WHIC PART play in it, PART play in it, r depending gon thei r dependin on thei workinngqueuee worki g queu G4 AN Aj Recursionnstops w Recursio stops w n no he he solutionnisisdiscover n no solutio discoveeddor in re or in theetrivivialcase of nu th tr ial case of nu ll ll transition transition contract( {IS2 | IS3}, my_curriculum, 1) backward-goal decompose and recursively search sub-goals {TS | IS2} A1 A2 {IS4 | FS} forward-goal {IS3 | FS} AN A1 A2 AN ay be Many ysolutions m ay be Man solutions m discovered. . discovered alu ed ev ated Each solutionnisisev aluat Each solutio according gto: : accordin to ts’ completeness,s,agen ts’ ) completenes agen cost ) tal st reputationnanddto tal co reputatio an to
  • 18. Conclusions: The new Lifecycle of Business Process Business Analyst models Theebusiness sanalyst Th busines analyst itional l continues sto useetrad itiona continue to us tradhis odel his instruments to m odel instruments to m processes s processe revises The system automatically translates BPMN into goals Every yagent in th Ever agent in th syst ee em autonomously de system autonomously de des ci whennto commit cides whe to committo so me to some goalal go GoalSPEC isis a GoalSPEC a language for language for expressing ggoals expressin goals that tgrounds son tha ground on ontology yandd ontolog an defines sa agoalalas the define go as the tuple tuple (actor,r, (acto trigger-condition, trigger-condition, final-state) ) final-state GoalSPEC injection worker Business Expert interacts commits to analyzes analyzes Running MAS analyzes commits to analyzes 18 Environment perturbations
  • 19. Conclusions: The components of the MAS Solution • Agents are specialized: every agent owns its own capacities. – User capacities are used to interact with humans and monitor their activity – Service capacities are used to manipulate the environment. • Agent are peers: there is not a pre-established organization. They organize themselves in teams every time a new workflow starts – The self-org algorithm considers many criteria (experience, cost, trust) – The team is the candidate group of agents for addressing the workflow, in a given context – Anyway, the context may change for some reason during the execution: • In case of starvation the team tries to relax some constraints • If some task fails, the team is dismissed and a new team is formed • If no alternative team can be found, the analyst is informed of failure • Commitment: when an agent is involved in a team, it tries to address its responsibilities at best of its possibilities – It waits for triggering conditions hold – It selects and executes the proper capacity or composition of capacities – It checks that result is the expected final state • Trust and Reward:: agents that successfully complete their task gain reputation and they increase their chance to be selected again.
  • 20. Future Works Agents Learns by ◦ Experience  to improve owned capabilities ◦ Studying  to acquire new capabilities Coupling Goals and Norms in GoalSPEC Open Systems and Clouds
  • 21. Thanks for your Attention Luca Sabatucci sabatucci@pa.icar.cnr.it Consiglio Nazionale delle Ricerche Istituto di Calcolo e Reti ad Alte Prestazioni