SlideShare una empresa de Scribd logo
1 de 26
Goal-Based
Denial and
Wishful Thinking
Michael Petychakis
National Technical University
of Athens
The Problem
People make plans
People deny a reality they do not like
People like to think the best about their
future
People share their beliefs with fellows
People get motivated and influenced by their
friends and family
The Problem
People make plans
People deny a reality they do not like
People like to think the best about their
future
People share their beliefs with fellows
People get motivated and influenced by their
friends and family
Are agents able to behave in a similar
way?
Multiple Benefits
Agent to Agent Communication
5
The Coordinated Attack Problem
(aka, Two Generals’ or Warring Generals
Problem)
❏ Two generals standing on opposite hilltops, trying to
coordinate an attack on a third general in a valley
between them.
❏ Communication is via messengers who must travel
across enemy lines (possibly get caught).
❏ If a general attacks on his own, he loses.
❏ If both attack simultaneously, they win.
❏ What protocol can ensure simultaneous attack?
6
The Coordinated Attack Problem
7
The Coordinated Attack Problem
(A Naive Protocol)
❏ Let us call the generals:
❏ S (sender)
❏ R (receiver)
❏ Protocol for general S:
❏ Send an “attack” message to R
❏ Keeps sending until acknowledgement is received
❏ Protocol for general R:
❏ Do nothing until he receives a message “attack”
from S
8
The Coordinated Attack Problem
(States)
❏ State of general S:
❏ A pair (msgS, ackS) where msg ∈ {0,1}, ack ∈ {0,1}
❏ msgS = 1 means a message “attack” was sent
❏ ackS = 1 means an acknowledgement was received
❏ State of general R:
❏ A pair (msgR, ackR) where msg ∈ {0,1}, ack ∈ {0,1}
❏ msgR = 1 means a message “attack” was received
❏ ackR = 1 means an acknowledgement was sent
❏ Global state: <(msgS, ackS),(msgR, ackR)>
9
The Coordinated Attack Problem
(Possible Worlds)
❏ Initial global state: <(0,0),(0,0)>
❏ State changes as a result of:
❏ Protocol events
❏ Nondeterministic effects of nature
❏ Change in states captured in a history
❏ Example:
❏ S sends a message to R, R receives it and sends an
acknowledges, which is then received by S
❏ <(0,0),(0,0)>, <(1,0),(1,0)>, <(1,1),(1,1)>
❏ In our model: possible world = possible history
10
The Coordinated Attack Problem
(Indistinguishable Worlds)
❏ Defining the accessibility relation Ri:
❏ Two histories are indistinguishable to agent i if their final
global states have identical local states for agent i
❏ Example: world
❏ <(0,0),(0,0)>, <(1,0),(1,0)>, <(1,0),(1,1)> is indistinguishable to
general S from this world:
<(0,0),(0,0)>, <(1,0),(0,0)>, <(1,0),(0,0)>
❏ In words: S sends a message to R, but does not get an
acknowledgement. This could be because R never received the
message, or because he did but his acknowledgement did not
11
The Coordinated Attack Problem
(What do generals know?)
❏ Suppose the actual world is:
❏ <(0,0),(0,0)>, <(1,0),(1,0)>, <(1,1),(1,1)>
❏ In this world, the following hold:
❏ KSattack
❏ KRattack
❏ KSKRattack
❏ Unfortunately, this also holds:
❏ ¬KRKSKRattack
❏ R does not known that S knows that R knows that S intends to
attack. Why? Because, from R’s perspective, the message could
12
The Coordinated Attack Problem
(What do generals know?)
❏ Possible solution:
❏ S acknowledges R’s acknowledgement
❏ Then we have:
❏ KRKSKRattack
❏ Unfortunately, we also have:
❏ ¬KSKRKSKRattack
❏Is there a way out of this?
Motivation
Belief revision is the process of changing beliefs to take into account a new piece of information. The logical
formalization of belief revision is researched in philosophy, in databases, and in artificial intelligence for the design
of rational agents.
❏ Why should an agent always prefer new information
over its previous beliefs?
❏ How can an agent autonomously generate its own
order(s)among beliefs?
❏ Can human-like preferences, in belief revision, be
adequately expressed using an order (or orders) among
beliefs?
Wishful Thinking Revision (WTR)
❏Non-Prioritized
❏Autonomous
❏Context-oriented
❏Simulates wishful thinking
Changes in the World: The idea
❏ Interpretation of a belief set B
❏ the set of possible worlds where B is true
❏ Notification of some change in the actual world
❏ The agent’s description of the possible states of affairs
must be modified accordingly:
❏ Our description of the actual world is typically incomplete, which
means that there are several states of affairs (possible worlds) that
are consistent with what we believe. Hence, an update must ensure
that the changes are made true in the “candidate worlds” that
survive the update.
Changes in the World: The idea
❏ Interpretation of a belief set B
❏ the set of possible worlds where B is true
❏ Notification of some change in the actual world
❏ The agent’s description of the possible states of affairs
must be modified accordingly:
❏ Our description of the actual world is typically incomplete, which
means that there are several states of affairs (possible worlds) that
are consistent with what we believe. Hence, an update must ensure
that the changes are made true in the “candidate worlds” that
survive the update.
Wishful
Thinking
Denial
Passive
Active
WTR Agent Definition
If ag is the agent using WTR, our model assumes that its
internal state contains, among other items, the following
information:
❏ The agent’s knowledge base, represented by KB(ag)
❏ The agent’s goals, represented by Goals(ag)
❏ For each other agent agi, the subjective credibility
that our agent associates with agi, represented by
Cred(ag, agi)
❏ The agent’s wishful thinking coefficient, represented
Reasoning
❏ Monotonic Reasoning
❏ KB |= f, then "g, KB Ù g |= f
❏ Inference engine only performs ask and tell to the KB, never retract
❏ Non-monotonic reasoning
❏ Allows KB |= f, and then KB Ù g |¹ f
❏ Previously derived facts can be retracted upon arrival (for example
from sensors) of new, conflicting evidence
KB(ag) = { <A,Obs,{A}>,
<A → B, Peter, {A → B}>,
< B → C, Susan, { B → C}> }
KB(ag) = { <A,Obs,{A}>,
<A → B, Peter, {A → B}>,
< B → C, Susan, { B → C}>,
< B, Der, {A, A → B}>,
< C, Der, {A, A→ B, B → C}> }
Agent Trusts
Peter to a certain
degree of Belief
and Susan to
another
Collected Data(β0) Wishful Thoughts(γ0)
Context(βγ) Wishful
Beliefs(γ)
Base Beliefs(β)
Derived Beliefs
World Goals
Observatory
Communication
Supports
WT
Supports
Valid
Supports
Definitions
Scenarios (½)
Scenario 1
❏ Φbt = GDesc( gbt ) =
have(Boat)
❏ Φal = GDesc( gal ) =
alive(Mother)
❏ GImp( gbt ) = 0.35
❏ GImp( gal ) = 0.95.
Scenario 2
❏ Cred(ag, David) = 0.5
❏ Φ17 = inFlight
(Mother, 17).
❏ not Φbt
CtxPrf ({Φbt,Φal,Φ17},
ag) - 0.775
❏ CtxPrf ({not
Φbt,Φal,Φ17}, ag) -
1.749.
Scenario 3
❏ CtxPrf ({Φbt,Φal,Φ17},
ag) - 0.775
❏ CtxPrf ({Φbt,Φal,Φcr},
ag) - 0.811
❏ CtxPrf ({Φbt,Φ17,Φcr},
ag) - 0.808
❏ CtxPrf ({not
Φbt,Φal,Φ17}, ag) -
1.749
❏ CtxPrf ({not
Φbt,Φal,Φcr}, ag) - 1.793
❏ CtxPrf ({not
Φbt,Φ17,Φcr}, ag) -
1.790.
Scenarios (2/2)
Scenario 4
❏ CtxPrf ({Φbt,Φal,Φ17},
ag) - 0.820
❏ CtxPrf ({Φbt,Φal,Φcr}, ag)
- 0.811
❏ CtxPrf ({Φbt,Φ17,Φcr},
ag) - 0.833
❏ CtxPrf ({not
Φbt,Φal,Φ17}, ag) -
1.804
❏ CtxPrf ({not Φbt,Φal,Φcr},
ag) - 1.793
❏ CtxPrf ({not
Φbt,Φ17,Φcr}, ag) -
1.819.
Scenario 5
❏ CtxPrf ({Φbt,Φal,Φ17}, ag)
- 0.820
❏ CtxPrf
({Φbt,Φal,JΦ17,Φcr}, ag)
- 0.856
❏ CtxPrf ({Φbt,Φ17,Φcr},ag)
- 0.833
❏ CtxPrf ({not Φbt,Φal,Φ17},
ag) - 1.804
❏ CtxPrf ({not Φbt,Φal,not
Φ17,Φcr}, ag) - 1.846
❏ CtxPrf ({not Φbt,Φ17,Φcr},
ag) - 1.819.
Related Approaches
❏ Epistemic Modal Logic with Belief Operator
❏ Belief Revision (family of) Logics
❏ Multi-Agent Systems
❏ Cognitive Agents
❏ Description Logics Reasoning
Future
Conscious Agents
Synesthesia
Query Optimisations
Automated Web Agents
Tim Berners-Lee originally expressed the vision of the Semantic Web as follows:
I have a dream for the Web [in which computers] become capable of analyzing all the data on the Web – the content, links, and
transactions between people and computers. A "Semantic Web", which makes this possible, has yet to emerge, but when it does, the day-
to-day mechanisms of trade, bureaucracy and our daily lives will be handled by machines talking to machines. The "intelligent agents"
people have touted for ages will finally materialize.
Thank You!
Questions?

Más contenido relacionado

Más de Michael Petychakis

APIs and Linked Data: A match made in Heaven
APIs and Linked Data: A match made in HeavenAPIs and Linked Data: A match made in Heaven
APIs and Linked Data: A match made in HeavenMichael Petychakis
 
Adding Rules on Existing Hypermedia APIs
Adding Rules on Existing Hypermedia APIsAdding Rules on Existing Hypermedia APIs
Adding Rules on Existing Hypermedia APIsMichael Petychakis
 
A Graph API Framework - APIdays Barcelona 2015
A Graph API Framework - APIdays Barcelona 2015A Graph API Framework - APIdays Barcelona 2015
A Graph API Framework - APIdays Barcelona 2015Michael Petychakis
 
Question Answering over Linked Data - Reasoning Issues
Question Answering over Linked Data - Reasoning IssuesQuestion Answering over Linked Data - Reasoning Issues
Question Answering over Linked Data - Reasoning IssuesMichael Petychakis
 
A Community-based, Graph API Framework to Integrate and Orchestrate Cloud-Bas...
A Community-based, Graph API Framework to Integrate and Orchestrate Cloud-Bas...A Community-based, Graph API Framework to Integrate and Orchestrate Cloud-Bas...
A Community-based, Graph API Framework to Integrate and Orchestrate Cloud-Bas...Michael Petychakis
 
Infusing Social Data Analytics into Future Internet applications for Manufact...
Infusing Social Data Analytics into Future Internet applications for Manufact...Infusing Social Data Analytics into Future Internet applications for Manufact...
Infusing Social Data Analytics into Future Internet applications for Manufact...Michael Petychakis
 
API Athens Meetup - API standards 25-6-2014
API Athens Meetup - API standards   25-6-2014API Athens Meetup - API standards   25-6-2014
API Athens Meetup - API standards 25-6-2014Michael Petychakis
 

Más de Michael Petychakis (8)

APIs and Linked Data: A match made in Heaven
APIs and Linked Data: A match made in HeavenAPIs and Linked Data: A match made in Heaven
APIs and Linked Data: A match made in Heaven
 
Adding Rules on Existing Hypermedia APIs
Adding Rules on Existing Hypermedia APIsAdding Rules on Existing Hypermedia APIs
Adding Rules on Existing Hypermedia APIs
 
A Graph API Framework - APIdays Barcelona 2015
A Graph API Framework - APIdays Barcelona 2015A Graph API Framework - APIdays Barcelona 2015
A Graph API Framework - APIdays Barcelona 2015
 
Consuming APIs with Python
Consuming APIs with PythonConsuming APIs with Python
Consuming APIs with Python
 
Question Answering over Linked Data - Reasoning Issues
Question Answering over Linked Data - Reasoning IssuesQuestion Answering over Linked Data - Reasoning Issues
Question Answering over Linked Data - Reasoning Issues
 
A Community-based, Graph API Framework to Integrate and Orchestrate Cloud-Bas...
A Community-based, Graph API Framework to Integrate and Orchestrate Cloud-Bas...A Community-based, Graph API Framework to Integrate and Orchestrate Cloud-Bas...
A Community-based, Graph API Framework to Integrate and Orchestrate Cloud-Bas...
 
Infusing Social Data Analytics into Future Internet applications for Manufact...
Infusing Social Data Analytics into Future Internet applications for Manufact...Infusing Social Data Analytics into Future Internet applications for Manufact...
Infusing Social Data Analytics into Future Internet applications for Manufact...
 
API Athens Meetup - API standards 25-6-2014
API Athens Meetup - API standards   25-6-2014API Athens Meetup - API standards   25-6-2014
API Athens Meetup - API standards 25-6-2014
 

Último

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
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
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Último (20)

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
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
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Goal based denial and wishful thinking

  • 1. Goal-Based Denial and Wishful Thinking Michael Petychakis National Technical University of Athens
  • 2. The Problem People make plans People deny a reality they do not like People like to think the best about their future People share their beliefs with fellows People get motivated and influenced by their friends and family
  • 3. The Problem People make plans People deny a reality they do not like People like to think the best about their future People share their beliefs with fellows People get motivated and influenced by their friends and family Are agents able to behave in a similar way? Multiple Benefits
  • 4. Agent to Agent Communication
  • 5. 5 The Coordinated Attack Problem (aka, Two Generals’ or Warring Generals Problem) ❏ Two generals standing on opposite hilltops, trying to coordinate an attack on a third general in a valley between them. ❏ Communication is via messengers who must travel across enemy lines (possibly get caught). ❏ If a general attacks on his own, he loses. ❏ If both attack simultaneously, they win. ❏ What protocol can ensure simultaneous attack?
  • 7. 7 The Coordinated Attack Problem (A Naive Protocol) ❏ Let us call the generals: ❏ S (sender) ❏ R (receiver) ❏ Protocol for general S: ❏ Send an “attack” message to R ❏ Keeps sending until acknowledgement is received ❏ Protocol for general R: ❏ Do nothing until he receives a message “attack” from S
  • 8. 8 The Coordinated Attack Problem (States) ❏ State of general S: ❏ A pair (msgS, ackS) where msg ∈ {0,1}, ack ∈ {0,1} ❏ msgS = 1 means a message “attack” was sent ❏ ackS = 1 means an acknowledgement was received ❏ State of general R: ❏ A pair (msgR, ackR) where msg ∈ {0,1}, ack ∈ {0,1} ❏ msgR = 1 means a message “attack” was received ❏ ackR = 1 means an acknowledgement was sent ❏ Global state: <(msgS, ackS),(msgR, ackR)>
  • 9. 9 The Coordinated Attack Problem (Possible Worlds) ❏ Initial global state: <(0,0),(0,0)> ❏ State changes as a result of: ❏ Protocol events ❏ Nondeterministic effects of nature ❏ Change in states captured in a history ❏ Example: ❏ S sends a message to R, R receives it and sends an acknowledges, which is then received by S ❏ <(0,0),(0,0)>, <(1,0),(1,0)>, <(1,1),(1,1)> ❏ In our model: possible world = possible history
  • 10. 10 The Coordinated Attack Problem (Indistinguishable Worlds) ❏ Defining the accessibility relation Ri: ❏ Two histories are indistinguishable to agent i if their final global states have identical local states for agent i ❏ Example: world ❏ <(0,0),(0,0)>, <(1,0),(1,0)>, <(1,0),(1,1)> is indistinguishable to general S from this world: <(0,0),(0,0)>, <(1,0),(0,0)>, <(1,0),(0,0)> ❏ In words: S sends a message to R, but does not get an acknowledgement. This could be because R never received the message, or because he did but his acknowledgement did not
  • 11. 11 The Coordinated Attack Problem (What do generals know?) ❏ Suppose the actual world is: ❏ <(0,0),(0,0)>, <(1,0),(1,0)>, <(1,1),(1,1)> ❏ In this world, the following hold: ❏ KSattack ❏ KRattack ❏ KSKRattack ❏ Unfortunately, this also holds: ❏ ¬KRKSKRattack ❏ R does not known that S knows that R knows that S intends to attack. Why? Because, from R’s perspective, the message could
  • 12. 12 The Coordinated Attack Problem (What do generals know?) ❏ Possible solution: ❏ S acknowledges R’s acknowledgement ❏ Then we have: ❏ KRKSKRattack ❏ Unfortunately, we also have: ❏ ¬KSKRKSKRattack ❏Is there a way out of this?
  • 13. Motivation Belief revision is the process of changing beliefs to take into account a new piece of information. The logical formalization of belief revision is researched in philosophy, in databases, and in artificial intelligence for the design of rational agents. ❏ Why should an agent always prefer new information over its previous beliefs? ❏ How can an agent autonomously generate its own order(s)among beliefs? ❏ Can human-like preferences, in belief revision, be adequately expressed using an order (or orders) among beliefs?
  • 14. Wishful Thinking Revision (WTR) ❏Non-Prioritized ❏Autonomous ❏Context-oriented ❏Simulates wishful thinking
  • 15. Changes in the World: The idea ❏ Interpretation of a belief set B ❏ the set of possible worlds where B is true ❏ Notification of some change in the actual world ❏ The agent’s description of the possible states of affairs must be modified accordingly: ❏ Our description of the actual world is typically incomplete, which means that there are several states of affairs (possible worlds) that are consistent with what we believe. Hence, an update must ensure that the changes are made true in the “candidate worlds” that survive the update.
  • 16. Changes in the World: The idea ❏ Interpretation of a belief set B ❏ the set of possible worlds where B is true ❏ Notification of some change in the actual world ❏ The agent’s description of the possible states of affairs must be modified accordingly: ❏ Our description of the actual world is typically incomplete, which means that there are several states of affairs (possible worlds) that are consistent with what we believe. Hence, an update must ensure that the changes are made true in the “candidate worlds” that survive the update. Wishful Thinking Denial Passive Active
  • 17. WTR Agent Definition If ag is the agent using WTR, our model assumes that its internal state contains, among other items, the following information: ❏ The agent’s knowledge base, represented by KB(ag) ❏ The agent’s goals, represented by Goals(ag) ❏ For each other agent agi, the subjective credibility that our agent associates with agi, represented by Cred(ag, agi) ❏ The agent’s wishful thinking coefficient, represented
  • 18. Reasoning ❏ Monotonic Reasoning ❏ KB |= f, then "g, KB Ù g |= f ❏ Inference engine only performs ask and tell to the KB, never retract ❏ Non-monotonic reasoning ❏ Allows KB |= f, and then KB Ù g |¹ f ❏ Previously derived facts can be retracted upon arrival (for example from sensors) of new, conflicting evidence
  • 19. KB(ag) = { <A,Obs,{A}>, <A → B, Peter, {A → B}>, < B → C, Susan, { B → C}> } KB(ag) = { <A,Obs,{A}>, <A → B, Peter, {A → B}>, < B → C, Susan, { B → C}>, < B, Der, {A, A → B}>, < C, Der, {A, A→ B, B → C}> } Agent Trusts Peter to a certain degree of Belief and Susan to another
  • 20. Collected Data(β0) Wishful Thoughts(γ0) Context(βγ) Wishful Beliefs(γ) Base Beliefs(β) Derived Beliefs World Goals Observatory Communication Supports WT Supports Valid Supports
  • 22. Scenarios (½) Scenario 1 ❏ Φbt = GDesc( gbt ) = have(Boat) ❏ Φal = GDesc( gal ) = alive(Mother) ❏ GImp( gbt ) = 0.35 ❏ GImp( gal ) = 0.95. Scenario 2 ❏ Cred(ag, David) = 0.5 ❏ Φ17 = inFlight (Mother, 17). ❏ not Φbt CtxPrf ({Φbt,Φal,Φ17}, ag) - 0.775 ❏ CtxPrf ({not Φbt,Φal,Φ17}, ag) - 1.749. Scenario 3 ❏ CtxPrf ({Φbt,Φal,Φ17}, ag) - 0.775 ❏ CtxPrf ({Φbt,Φal,Φcr}, ag) - 0.811 ❏ CtxPrf ({Φbt,Φ17,Φcr}, ag) - 0.808 ❏ CtxPrf ({not Φbt,Φal,Φ17}, ag) - 1.749 ❏ CtxPrf ({not Φbt,Φal,Φcr}, ag) - 1.793 ❏ CtxPrf ({not Φbt,Φ17,Φcr}, ag) - 1.790.
  • 23. Scenarios (2/2) Scenario 4 ❏ CtxPrf ({Φbt,Φal,Φ17}, ag) - 0.820 ❏ CtxPrf ({Φbt,Φal,Φcr}, ag) - 0.811 ❏ CtxPrf ({Φbt,Φ17,Φcr}, ag) - 0.833 ❏ CtxPrf ({not Φbt,Φal,Φ17}, ag) - 1.804 ❏ CtxPrf ({not Φbt,Φal,Φcr}, ag) - 1.793 ❏ CtxPrf ({not Φbt,Φ17,Φcr}, ag) - 1.819. Scenario 5 ❏ CtxPrf ({Φbt,Φal,Φ17}, ag) - 0.820 ❏ CtxPrf ({Φbt,Φal,JΦ17,Φcr}, ag) - 0.856 ❏ CtxPrf ({Φbt,Φ17,Φcr},ag) - 0.833 ❏ CtxPrf ({not Φbt,Φal,Φ17}, ag) - 1.804 ❏ CtxPrf ({not Φbt,Φal,not Φ17,Φcr}, ag) - 1.846 ❏ CtxPrf ({not Φbt,Φ17,Φcr}, ag) - 1.819.
  • 24. Related Approaches ❏ Epistemic Modal Logic with Belief Operator ❏ Belief Revision (family of) Logics ❏ Multi-Agent Systems ❏ Cognitive Agents ❏ Description Logics Reasoning
  • 25. Future Conscious Agents Synesthesia Query Optimisations Automated Web Agents Tim Berners-Lee originally expressed the vision of the Semantic Web as follows: I have a dream for the Web [in which computers] become capable of analyzing all the data on the Web – the content, links, and transactions between people and computers. A "Semantic Web", which makes this possible, has yet to emerge, but when it does, the day- to-day mechanisms of trade, bureaucracy and our daily lives will be handled by machines talking to machines. The "intelligent agents" people have touted for ages will finally materialize.