Algorithm Search⌘K

Problemadvanced

Belief update

Also called Katsuno-Mendelzon update.

Change beliefs to record that the world itself has changed, by revising each model of the old beliefs separately.

Belief update is the problem of changing a knowledge base when the world has changed. It differs from belief revision, where the world is fixed and the agent learns more about it. Hirofumi Katsuno and Alberto Mendelzon made the difference precise in 1991. They gave eight postulates, U1 to U8, for an update operator ψ⋄μ\psi \diamond \mu, and proved that the operators that satisfy them are exactly those that move each model of ψ\psi on its own to the closest models of μ\mu, under an order of closeness for each world. The possible models approach of Winslett is the standard example.

In plain words

Your notes describe a room, but you are not sure of everything, so the notes allow several states of the room. Then someone does something, and now a new fact is true. Revision would ask: which of my possible states already fit the fact? Update asks something else: for each possible state, what would it look like after the smallest change that makes the fact true?

So if the new fact already holds in one of your states, revision drops the other states, but update keeps them all and moves each one. The book was maybe on the table and maybe not. Someone puts it on the table. You now know the book is there, and you have learned nothing about anything else in the room.

Definition

Fix a finite propositional language. Mod(ψ)\mathrm{Mod}(\psi) is the set of the models of ψ\psi, and ψ\psi is complete when it has exactly one model. An update operator maps two formulas ψ\psi (the knowledge base) and μ\mu (the new fact) to a formula ψ⋄μ\psi \diamond \mu. The postulates of Katsuno and Mendelzon (1991, KR) are:

postulate
U1 ψ⋄μ\psi \diamond \mu implies μ\mu.
U2 If ψ\psi implies μ\mu, then ψ⋄μ≡ψ\psi \diamond \mu \equiv \psi.
U3 If ψ\psi and μ\mu are satisfiable, then ψ⋄μ\psi \diamond \mu is satisfiable.
U4 If ψ1≡ψ2\psi_1 \equiv \psi_2 and μ1≡μ2\mu_1 \equiv \mu_2, then ψ1⋄μ1≡ψ2⋄μ2\psi_1 \diamond \mu_1 \equiv \psi_2 \diamond \mu_2.
U5 (ψ⋄μ)∧ϕ(\psi \diamond \mu) \wedge \phi implies ψ⋄(μ∧ϕ)\psi \diamond (\mu \wedge \phi).
U6 If ψ⋄μ1\psi \diamond \mu_1 implies μ2\mu_2 and ψ⋄μ2\psi \diamond \mu_2 implies μ1\mu_1, then ψ⋄μ1≡ψ⋄μ2\psi \diamond \mu_1 \equiv \psi \diamond \mu_2.
U7 If ψ\psi is complete, then (ψ⋄μ1)∧(ψ⋄μ2)(\psi \diamond \mu_1) \wedge (\psi \diamond \mu_2) implies ψ⋄(μ1∨μ2)\psi \diamond (\mu_1 \vee \mu_2).
U8 (ψ1∨ψ2)⋄μ≡(ψ1⋄μ)∨(ψ2⋄μ)(\psi_1 \vee \psi_2) \diamond \mu \equiv (\psi_1 \diamond \mu) \vee (\psi_2 \diamond \mu).

U8 is the heart of update: each possible state of the world is updated on its own. U2 replaces the revision postulate R2, "if ψ∧μ\psi \wedge \mu is satisfiable then ψ∘μ≡ψ∧μ\psi \circ \mu \equiv \psi \wedge \mu", which update does not satisfy. Note that U2 makes an inconsistent base stay inconsistent, since an unsatisfiable ψ\psi implies every μ\mu.

Representation. A faithful assignment for update gives each interpretation II a partial preorder ≤I\le_I on interpretations such that I<IJI <_I J for every J≠IJ \ne I. Katsuno and Mendelzon prove that ⋄\diamond satisfies U1 to U8 if and only if there is a faithful assignment with

Mod(ψ⋄μ)=⋃I∈Mod(ψ)Min(Mod(μ),≤I).\mathrm{Mod}(\psi \diamond \mu) = \bigcup_{I \in \mathrm{Mod}(\psi)} \mathrm{Min}(\mathrm{Mod}(\mu), \le_I).

With total preorders, the same holds for the postulates U1 to U6, U8 and U9, where U9 says: if ψ\psi is complete and (ψ⋄μ1)∧μ2(\psi \diamond \mu_1) \wedge \mu_2 is satisfiable, then ψ⋄(μ1∧μ2)\psi \diamond (\mu_1 \wedge \mu_2) implies (ψ⋄μ1)∧μ2(\psi \diamond \mu_1) \wedge \mu_2.

Compare the Katsuno and Mendelzon theorem for revision: there one preorder ≤ψ\le_\psi is attached to the whole base, and Mod(ψ∘μ)=Min(Mod(μ),≤ψ)\mathrm{Mod}(\psi \circ \mu) = \mathrm{Min}(\mathrm{Mod}(\mu), \le_\psi).

The computational problem for a fixed operator is: given ψ\psi, μ\mu and qq, does ψ⋄μ\psi \diamond \mu entail qq?

Variants

  • Erasure. Katsuno and Mendelzon also define erasure, which removes a fact in the way that update adds one. It stands to update as contraction stands to revision.
  • Partial or total preorders. With a partial preorder for each world, as in the possible models approach, the operator satisfies U1 to U8 but may fail U9. With a total preorder, for example a distance, it satisfies U9.
  • Integrity constraints. Laws of the domain, which Winslett calls protected formulas, must hold in every state after the update.
  • Actions with conditions. In reasoning about action, an update is the effect of an action. The frame problem is the question of what stays the same, and the situation calculus answers it with explicit axioms instead of a closeness order.
  • Iterated update. U8 makes repeated updates easy to define: each world is updated by each new fact in turn.

Examples

The book and the magazine (Katsuno and Mendelzon 1991, KR). Let bb say that the book is on the table and mm that the magazine is. The base is ψ=(b∧¬m)∨(¬b∧m)\psi = (b \wedge \neg m) \vee (\neg b \wedge m) and the new fact is μ=b\mu = b. Take the Hamming distance between worlds as the closeness.

operator world b∧¬mb \wedge \neg m goes to world ¬b∧m\neg b \wedge m goes to result
update (each world on its own) b∧¬mb \wedge \neg m b∧mb \wedge m bb
Dalal's revision (the whole base) b∧¬mb \wedge \neg m

Both results are right for their reading. If a robot was told to put the book on the table, the magazine has not moved, so it may still be on the table, and the update is right. If the agent only learned that the book is on the table, the old knowledge says that the magazine is not, and the revision is right.

An action with an uncertain start. Take the atoms aa, bb and cc, the base ψ=¬a∧(b↔c)\psi = \neg a \wedge (b \leftrightarrow c) with the two models 000000 and 011011, and the fact μ=(a∧¬b∧¬c)∨(¬a∧b∧c)\mu = (a \wedge \neg b \wedge \neg c) \vee (\neg a \wedge b \wedge c). The possible models approach moves 000000 to both 100100 and 011011, because the change sets {a}\{a\} and {b,c}\{b, c\} are not comparable by inclusion, and keeps 011011. The update is μ\mu. A revision keeps ¬a∧b∧c\neg a \wedge b \wedge c alone.

A failure of U9. With the possible models approach and the base 000000, let μ1\mu_1 have the models 100100, 011011 and 110110, and μ2\mu_2 the models 011011 and 110110. Then ψ⋄μ1\psi \diamond \mu_1 has the models 100100 and 011011, since 110110 changes {a,b}\{a, b\}, which contains the change {a}\{a\} to 100100. So (ψ⋄μ1)∧μ2(\psi \diamond \mu_1) \wedge \mu_2 is 011011 alone. But ψ⋄(μ1∧μ2)\psi \diamond (\mu_1 \wedge \mu_2) keeps both 011011 and 110110, whose change sets {b,c}\{b, c\} and {a,b}\{a, b\} are not comparable. U9 fails, as it may for a partial preorder.

Known algorithms

  • The possible models approach. Compare change sets by inclusion for each model of ψ\psi. On model sets over nn atoms it takes O(k⋅n⋅2n)O(k \cdot n \cdot 2^n) time for kk models of ψ\psi.
  • Forbus's update. Compare change sets by size, the Hamming distance, for each model of ψ\psi. A breadth-first search from each model, in the manner of Dalal's operator, finds the nearest models of μ\mu.
  • Any faithful assignment. Given a preorder for each world, the update is the union of the minimal models of μ\mu for each model of ψ\psi. The work is one minimum search for each model of ψ\psi.
  • On formulas. Entailment is checked by looking for a counterexample: a model ww of ψ\psi and a model vv of μ∧¬q\mu \wedge \neg q that is minimal for ww. Minimality is a coNP test, so a SAT solver inside a search for ww and vv decides the problem.
AlgorithmTimeSpacePropertiesCode
Possible models approachΘ(k·n·2^n) worstΘ(2^n) extradeterministic1 language

Bounds

For formulas ψ\psi, μ\mu and qq, "does ψ⋄μ\psi \diamond \mu entail qq" is Π2P\Pi_2^P-complete for both Winslett's and Forbus's operators (Eiter and Gottlob 1992, Theorem 6.4). For Horn formulas, Winslett's operator drops to coNP-complete (Theorem 7.2), while Forbus's stays Π2P\Pi_2^P-complete (Theorem 7.3). These classes are in the polynomial hierarchy. Every operator that satisfies U2 is coNP-hard: with ψ\psi and μ\mu both tautologies, U2 makes ψ⋄μ\psi \diamond \mu a tautology, and the question becomes whether qq is valid.

On explicit model sets the problem is easy: with 2n2^n worlds and a preorder for each that can be evaluated in polynomial time, the update takes time polynomial in 2n2^n.

Reductions

  • To complete bases. By U8, the update of ψ\psi is the "or" of the updates of its models, each a complete base. So it is enough to define and compute updates of single worlds.
  • To revision of single worlds. For a complete base, an update with total preorders picks the least models of μ\mu in one total preorder in which the world itself is least. That is a revision of the complete base in the sense of the Katsuno and Mendelzon theorem. So update is revision done world by world.
  • From reasoning about action. An action with the postcondition μ\mu is modelled as the update by μ\mu, as in Winslett (1988). The protected formulas become part of μ\mu.

Applications

  • Databases with incomplete information, where a transaction changes the world and the database holds a disjunction of possible states.
  • Reasoning about the effects of actions in planning and robotics, where the start state is not fully known.
  • Keeping a model of a changing system, such as a network or a device, when an event is reported.
  • Counterfactual conditionals, "if μ\mu were true then qq", which Eiter and Gottlob (1992) study together with revision and update.

References

  1. Hirofumi Katsuno and Alberto O. Mendelzon, On the difference between updating a knowledge base and revising it, in James Allen, Richard Fikes and Erik Sandewall (eds), Proceedings of the Second International Conference on Principles of Knowledge Representation and Reasoning (KR'91), Morgan Kaufmann, 387 to 394 (1991), the whole paper (the postulates U1 to U8, the representation theorem with faithful assignments of preorders, one for each interpretation, and the book and magazine example); reprinted in Peter Gärdenfors (ed.), Belief Revision, Cambridge University Press (1992)
  2. Marianne Winslett, Reasoning about action using a possible models approach, Proceedings of the Seventh National Conference on Artificial Intelligence (AAAI-88), 89 to 93 (1988), p. 90, Section 3 (the possible models approach, which changes each model of the theory separately)
  3. Thomas Eiter and Georg Gottlob, On the complexity of propositional knowledge base revision, updates, and counterfactuals, Artificial Intelligence 57(2-3), 227 to 270 (1992), Section 3 (the update operators of Winslett and Forbus), Theorem 6.4 (the general case), Theorems 7.2 and 7.3 (Horn formulas)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW2 basic
  • a contract.yaml