Improving Recovery for Belief Bases Frances L. Johnson & Stuart C. Shapiro Department of Computer Science and Engineering, Center for Multisource Information Fusion and Center for Cognitive Science University at Buffalo, The State University of New York 201 Bell Hall, Buffalo, NY 14260-2000 {flj|shapiro}@cse.buffalo.edu http://www.cse.buffalo.edu/~{flj|shapiro}/ Recovery Informal Definition • A property of a set of belief change operations • Given a set of beliefs B with p ∈ B • Recovery holds if – whenever p is removed from B – then added back in – everything that was originally in B is also back • (is recovered) NRAC-05 F. L. Johnson & S. C. Shapiro 2 Two Approaches to Sets of Beliefs • Foundations uses a belief base B • Coherence uses a belief set K NRAC-05 F. L. Johnson & S. C. Shapiro 3 Foundations Approach • Belief base B is finite set of beliefs – with independent justification • Other believed propositions – are derived from – and depend on beliefs in B NRAC-05 F. L. Johnson & S. C. Shapiro 4 Coherence Approach • Belief set K = Cn(K) – where Cn(Φ) = {p | Φ├ p} • All beliefs in K have independent – standing – justification NRAC-05 F. L. Johnson & S. C. Shapiro 5 Recovery for Belief Sets • Should hold for any reasonable set of belief change operations • Note, for every q ∈ K for every p p → q ∈ K since q├ p → q • If remove p, p → q stays So if then add p back, q is recovered NRAC-05 F. L. Johnson & S. C. Shapiro 6 Question • For what sets of belief base belief change operations does recovery hold? NRAC-05 F. L. Johnson & S. C. Shapiro 7 Recovery is Controversial • But, informally, if you remove something then put it back, the result should be a noop NRAC-05 F. L. Johnson & S. C. Shapiro 8 Operations on K and B • Contraction by p: p ∉ Cn(K~p) p ∉ Cn(B~p) • Consolidation: B!├ • Expansion by p: K+p =def Cn(K {p}) B+p =def B {p} NRAC-05 F. L. Johnson & S. C. Shapiro 9 Recovery Terminology • Recovery: K ⊆ (K~p)+p • Base Recovery: B ⊆ Cn((B~p)+p) • Strict Base Recovery: B ⊆ (B~p)+p – More demanding than Base Recovery – The old base is recovered in the base, itself • Not just its deductive closure NRAC-05 F. L. Johnson & S. C. Shapiro 10 When Does Base Recovery Hold? Base Recovery: B ⊆ Cn((B~p)+p) • If B├ ¬p holds trivially • If B\{p} ├/ p holds • If B\{p}├ p might not hold NRAC-05 F. L. Johnson & S. C. Shapiro 11 Why Does Recovery Fail? • If B\{p}├ p, then possibly B ⊆/ Cn((B~p)+p) – Example: • B = {q, qp,p}, • B~p = {qp} • (B~p)+p = {qp,p} … ├/ q • Take out beliefs that imply p. • Expansion by p doesn’t put them back. • Recovery depends on coordination of contraction and expansion. NRAC-05 F. L. Johnson & S. C. Shapiro 12 Solution (Informal) • If don’t forget beliefs lost during contraction can bring them back later. • Two approaches: – Reconsideration – Liberation NRAC-05 F. L. Johnson & S. C. Shapiro 13 Reconsideration† Uses Knowledge State • KS = B, B, ≥ – B is the current base – B is the union of current and all past bases – ≥ is epistemic ordering of beliefs in B † Johnson NRAC-05 F. L. Johnson & S. C. Shapiro & Shapiro, AAAI-05 14 Operations on KS • Contraction by p: KS~p =def B~p, B, ≥ • Reconsideration†: KS ! =def B!, B, ≥ • Expansion by p: KS+p =def B+p , B+p , ≥’ • Optimized-addition of KS by p: KS +! p =def (KS + p) ! Cf. Semi-Revision by p : B?p =def (B+p)! NRAC-05 F. L. Johnson & S. C. Shapiro 15 Revisit non-Recovery Example ({q, qp, p} , {q, qp, p} , ≥ ~p) +! p = {qp} , {q, qp, p} , ≥ +! p = {q, qp, p} , {q, qp, p} , ≥ NRAC-05 F. L. Johnson & S. C. Shapiro 16 Shorthand Notation When B , ≥ and ≥’ are known or obvious, write KS +! p as B +! p write KS~p =def B~p, B, ≥ as B~p NRAC-05 F. L. Johnson & S. C. Shapiro 17 Optimized-Recovery (OR) Holds • Optimized Base Recovery : B ⊆ Cn((B~p) +! p) • Optimized Strict Base Recovery: B ⊆ (B~p) +! p • OR (both versions) holds, except when ¬p ∈ Cn(B) NRAC-05 F. L. Johnson & S. C. Shapiro 18 Liberation† Uses a Sequence • = p1,…,pn • (, p): the maximal subsequence of s.t. (,p) ├/ p • () = (, ) • K = Cn(()) • K ~ p = Cn((,p)) • K+p = Cn(K {p}) (traditional) † Booth, NRAC-05 Chopra, Ghose and Meyer 2003 F. L. Johnson & S. C. Shapiro 19 Liberation Example • = qp, q, p, r, r ¬p • K = Cn(()) = Cn({qp, q, p, r}) • K ~ p = Cn((,p) = Cn({qp, r, r ¬p}) – (note liberation of r ¬p) • (K ~ p)+p = Cn({qp, r, r ¬p} {p}) ├ q – Adheres to Recovery in this example (trivially) NRAC-05 F. L. Johnson & S. C. Shapiro 20 Liberation Recovery • Liberation Recovery (LR): K ⊆ (K ~ p) + p • Liberation fails to adhere to LR in some cases where \{p}├ p • Example: given = qp, q, p – () = {qp, q, p} – (,p) = {qp} – (K~p)+p = Cn({qp}{p} ) ├/ q NRAC-05 F. L. Johnson & S. C. Shapiro 21 -Recovery (R) • K = Cn(()) • + p = p, p1,…,pn • -Recovery: if = p1,…,pn K ⊆ K(+¬p)+p • Holds except when ¬p ∈ K NRAC-05 F. L. Johnson & S. C. Shapiro 22 Conclusions Recovery Adherence TR LR OR B⊆Cn((B~p)+p) K⊆(K~p)+p Recency Recency B ⊆ (B~p) +! p ≥ = ≥’ Recency K ⊆ K(+¬p)+p p B YES optimal YES possibly incon. YES optimal YES optimal 2 p Cn(B) B\{p} ├ p NO consistent NO possibly incon. YES optimal YES optimal 3 p Cn(B) B+p ├/ YES optimal YES optimal YES optimal NA YES inconsistent YES inconsistent NO optimal YES optimal Case 1 p Cn(B) B\{p} ├ /p 4 p Cn(B) B+p ├ NRAC-05 F. L. Johnson & S. C. Shapiro 23 References Alchourrón, C. E.; Gärdenfors, P.; and Makinson, D. 1985. On the logic of theory change: Partial meet contraction and revision functions. The Journal of Symbolic Logic 50(2):510–530. Booth, R.;Chopra, S.;Ghose, A.; and Meyer,T. 2003. Belief liberation (and retraction). In Proceedings of the Ninth Conference on Theoretical Aspects of Rationality and Knowledge (TARK’03), 159-172. Hansson, S. O. 1991. Belief Base Dynamics. Ph.D. Dissertation, Uppsala University. Hansson, S. O. 1997. Semi-revision. Journal of Applied Non-Classical Logic 7:151–175. Hansson, S. O. 1999. A Textbook of Belief Dynamics, Kluwer Academic Publishers Johnson, F. L. and Shapiro, S. C. 2005. Dependency-directed reconsideration: Belief base optimization for truth maintenance systems. In Proceedings of AAAI-2005, Menlo Park, CA. AAAI Press (http://www.aaai.org/). NRAC-05 F. L. Johnson & S. C. Shapiro 24