A New Approach for Revising Logic Programs

Zhiqiang Zhuang, James Delgrande, Abhaya Nayak, Abdul SattararXiv 2016

TL;DR

This paper introduces slp-revision, a novel framework for updating non-monotonic logic programs when new information arrives. Unlike traditional belief revision, which only restores consistency by deleting old beliefs, this approach recognizes that in non-monotonic reasoning, consistency can also be restored by adding new information to correct faulty assumptions.

What Problem Does This Paper Address?

In classical (monotonic) logic, if a set of facts is inconsistent, adding more facts will never fix it—you must throw something away. However, human reasoning is often non-monotonic: we make assumptions based on the absence of evidence (e.g., "I assume the flight is on time because I haven't heard otherwise"). If we later learn the flight is canceled, our initial assumption was wrong.

Traditional belief revision theories (like the famous AGM framework) struggle with this. If a logic program becomes inconsistent because of a new rule, existing methods typically just delete the conflicting rules. The authors argue this is too limited. In a non-monotonic setting, an inconsistency might be caused by a "negation as failure" assumption that is no longer valid. Therefore, we should be able to resolve contradictions by either removing old rules, adding new ones to override assumptions, or a mixture of both.

Methods

The authors focus on disjunctive logic programs under answer set semantics. Their approach, termed slp-revision, follows these steps:

  1. Identify Candidates: When revising a program $P$ with new information $Q$, they look for "s-compatible" programs. These are versions of $P$ that are consistent with $Q$ and differ from the original $P$ by the smallest possible amount.
  2. Symmetric Difference: To measure "minimal change," they use the symmetric difference operator ($\ominus$). This allows the framework to treat the addition of a rule and the removal of a rule as equally valid ways to modify the program.
  3. Selection Function: Since there might be multiple ways to minimally change a program, they use a "selection function" ($\gamma$) to pick the most appropriate candidate.
  4. Formal Postulates: The authors propose seven mathematical postulates (Success, Consistency, Failure, and three types of Relevance) that any sound non-monotonic revision function should follow.

Datasets

Not discussed in the paper. This is a theoretical research paper focused on formal logic, proofs, and representation theorems rather than empirical benchmarking on datasets.

Key Insights and Ideas

  • Consistency via Expansion: The "aha moment" is the realization that adding rules can fix contradictions. For example, if a program is inconsistent because it assumes "John teaches" (based on him being a professor), and new info says "John does not teach," you can resolve this by adding a rule stating "John has administrative duties," which overrides the default assumption that he teaches.
  • Syntactic vs. Semantic: While many recent approaches rely purely on SE models (a semantic approach), this paper argues for a belief base approach. This allows the revision to respect the actual syntax of the rules, which is often crucial for maintaining the intended logic of an expert system.
  • Handling "m-inconsistency": The authors distinguish between standard inconsistency and "m-inconsistency" (monotonic inconsistency). They show that their method can resolve subtle contradictions (like self-defeating rules) that other modern SE-model-based approaches might ignore.

Key Results

  • Representation Theorem: The primary result is Theorem 1, which proves a perfect correspondence between their proposed syntactic revision function and their set of seven postulates. This provides a solid theoretical foundation for building AI agents that can update their knowledge bases reliably.
  • Subsumption of Old Methods: They demonstrate that their "s-compatible" approach naturally includes traditional "s-removal" (deleting rules) and "s-expansion" (adding rules) as special cases, making it a more general and flexible framework than previous work.

Limitations and Future Work

  • Grounded Programs Only: The current framework only considers "fully grounded" programs (where variables have been replaced by constants). Extending this to programs with variables is a necessary next step for scalability.
  • The Selection "Black Box": The paper uses a selection function to choose between multiple minimal changes but doesn't specify how to choose. In practice, this would require extra-logical information or heuristics (like rule priorities).
  • Generalization: The authors suggest that while they focused on disjunctive logic programs, the underlying set-theoretic logic could be extended to other non-monotonic reasoning systems in the future.

Summary updated

BibTeX
@misc{zhuang2016new,
  author = {Zhiqiang Zhuang and James Delgrande and Abhaya Nayak and Abdul Sattar},
  title = {{A New Approach for Revising Logic Programs}},
  year = {2016},
  eprint = {1603.09465},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1603.09465},
}
Figure