Combining Answer Sets of Nonmonotonic Logic Programs

Chiaki Sakama, Katsumi Inoue

Abstract

In multi-agent systems, merging knowledge from disparate sources is a critical challenge, particularly when that knowledge is represented through nonmonotonic logic. Standard methods, such as the simple union of logic programs, often lead to unintended consequences where one agent's default assumptions override another's conclusions. This paper, authored by Chiaki Sakama and Katsumi Inoue, introduces a novel composition operator ($\odot$) designed to merge Extended Disjunctive Programs (EDPs) under answer set semantics. The proposed framework ensures that the resulting program's answer sets are minimal combinations of the original agents' beliefs, preserving the underlying grounds of their individual conclusions.

Introduction

Agents in a multi-agent environment frequently operate with incomplete or conflicting information. To model this, researchers utilize nonmonotonic logic, a system where conclusions can be retracted upon the receipt of new evidence (e.g., assuming a car will start unless the battery is known to be dead). When two such agents need to collaborate, the primary hurdle is the integration of their respective knowledge bases.

The conventional approach to integration is the simple union of programs ($P_1 \cup P_2$). However, in nonmonotonic contexts, this often fails. A "default" rule in $P_1$ might inadvertently conflict with a specific conclusion in $P_2$, leading to a merged state that neither agent would independently support. Sakama and Inoue address this by seeking a "compositional semantics" that treats the knowledge bases as distinct but reconcilable entities.

Methodology: The Composition Operator

The authors focus on Extended Disjunctive Programs (EDPs) evaluated under Answer Set Semantics. Their goal is to construct a program $Q$ such that its answer sets, $AS(Q)$, represent the minimal sets formed by the union of one answer set from $P_1$ and one from $P_2$.

The $\odot$ Operator

The core of the proposal is the composition operator, denoted as $\odot$. To construct the composed program $Q = P_1 \odot P_2$, the authors employ a "reduct" method. This involves taking the Negation As Failure (NAF)-free versions of rules that contribute to specific answer sets and combining them disjunctively. This ensures that the resulting rules only fire when the conditions from both original programs are satisfied in a way that respects their individual logic.

Program Transformation and Simplification

Because the raw output of the $\odot$ operator can be syntactically complex, the authors apply several standard logic program transformations to simplify the result without altering its semantics:

  • TAUT: Elimination of tautological rules.
  • NONMIN: Removal of non-minimal rules to maintain the property of minimality inherent in answer sets.
  • DUPL: Merging of duplicated literals within rules.

Permissible Composition

Beyond simple merging, the authors introduce "permissible composition." In this variant, certain "persistent beliefs"—rules that must be satisfied for a solution to be valid—are treated as integrity constraints. These constraints filter the combined answer sets, ensuring that the final output meets the core requirements of the multi-agent system.

Key Insights and Theoretical Results

The paper provides several formal proofs to validate the $\odot$ operator:

  1. Composition vs. Union: The authors demonstrate that while $P_1 \cup P_2$ might collapse into a single answer set that ignores the nuances of $P_1$, the $P_1 \odot P_2$ operation preserves cooperative solutions and the individual "grounds" of each agent's beliefs.
  2. Theorem 10 (Correctness): This primary result proves that the $\odot$ operator successfully computes the minimal combined answer sets of two consistent programs.
  3. Algebraic Properties: The $\odot$ operator is shown to be both commutative and associative. This means the order in which agents' knowledge bases are combined does not affect the final set of beliefs, a crucial property for scalable multi-agent systems.
  4. Skeptical Reasoning: The framework preserves skeptical consequences; if a literal is true in every possible world for Agent A and every possible world for Agent B, it remains true in the composed program.

Discussion and Limitations

While the paper establishes a robust theoretical foundation for knowledge composition, it identifies several areas for future research:

  • Computational Complexity: The current methodology requires computing the answer sets of the original programs before the composition can occur. Given that finding answer sets is generally an NP-hard problem, the scalability of this approach to very large knowledge bases remains a challenge.
  • Language Alignment: The authors assume that all agents share a common underlying language and vocabulary. In practice, agents often use different ontologies, necessitating an alignment step before composition.
  • Expressiveness: The current framework does not yet cover "general" extended disjunctive programs that allow NAF in the heads of rules.

Conclusion

Sakama and Inoue provide a significant step forward in the formal logic of multi-agent systems. By moving beyond simple program union to a dedicated composition operator, they provide a mathematically sound method for merging nonmonotonic beliefs while preserving the integrity of the original information sources.

Summary updated

Abstract

This paper studies compositional semantics of nonmonotonic logic programs. We suppose the answer set semantics of extended disjunctive programs and consider the following problem. Given two programs P1 and P2, which have the sets of answer sets AS(P1) and AS(P2), respectively; find a program Q which has answer sets as minimal sets S ∪T for S from AS(P1) and T from AS(P2). The program Q combines answer sets of P1 and P2, and provides a compositional semantics of two programs. Such program composition has application to coordinating knowledge bases in multi-agent environments. We provide methods for computing program composition and discuss their properties. 1
BibTeX
@inproceedings{sakama2005combining,
  author = {Chiaki Sakama and Katsumi Inoue},
  title = {{Combining Answer Sets of Nonmonotonic Logic Programs}},
  booktitle = {CLIMA},
  year = {2005},
  doi = {10.1007/11750734\_18},
}
Figure