Skip to main content
QUICK REVIEW

[Paper Review] Joint Tabling of Logic Program Abductions and Updates

Ari Saptawijaya, Luı́s Moniz Pereira|arXiv (Cornell University)|May 8, 2014
Semantic Web and OntologiesComputer Science24 references5 citations
TL;DR

This paper presents a novel integration of abductive logic programming and logic program updates using XSB Prolog's tabling features, enabling efficient, query-driven propagation of fluent updates while reusing abductive solutions across contexts. The key contribution is a unified program transformation and library of reserved predicates that jointly leverage incremental tabling and tabled abduction for contextual, consistent, and reusable reasoning under change.

ABSTRACT

Abductive logic programs offer a formalism to declaratively represent and reason about problems in a variety of areas: diagnosis, decision making, hypothetical reasoning, etc. On the other hand, logic program updates allow us to express knowledge changes, be they internal (or self) and external (or world) changes. Abductive logic programs and logic program updates thus naturally coexist in problems that are susceptible to hypothetical reasoning about change. Taking this as a motivation, in this paper we integrate abductive logic programs and logic program updates by jointly exploiting tabling features of logic programming. The integration is based on and benefits from the two implementation techniques we separately devised previously, viz., tabled abduction and incremental tabling for query-driven propagation of logic program updates. A prototype of the integrated system is implemented in XSB Prolog.

Motivation & Objective

  • To address the need for contextual, consistent reasoning in dynamic environments where both hypothetical reasoning (abduction) and knowledge updates coexist.
  • To overcome the inefficiency of recomputing abductive solutions and propagating updates independently in logic programs.
  • To unify two existing techniques—tabled abduction and incremental tabling for updates—into a single, synergistic framework.
  • To enable query-driven, system-level propagation of fluent updates while reusing abductive solutions across different contexts.
  • To provide a practical, extensible implementation in XSB Prolog that supports real-time reasoning in agents undergoing knowledge changes.

Proposed method

  • A new program transformation is designed to consolidate the dual purposes of prior systems: enabling downward-by-need abduction under negated goals and upward incremental propagation of dual complement fluents.
  • The approach uses a library of reserved predicates, including compute/6 for querying fluent truth values with timestamps and verify_holds/4 for validating truth values based on time and state.
  • Tabled abduction is used to cache and reuse abductive solutions across queries, avoiding recomputation when the same subgoal is re-encountered.
  • Incremental tabling ensures that updates to fluents are propagated upward only when needed, triggered by top-level queries.
  • The system leverages XSB Prolog’s support for answer subsumption and incremental updates to maintain consistency and minimize redundant computation.
  • A dual rule construction mechanism is employed on-demand using a trie data structure, similar to Tabdual, to manage abductive contexts efficiently.

Experimental results

Research questions

  • RQ1How can abductive logic programs and logic program updates be effectively integrated to support reasoning under change?
  • RQ2Can tabling mechanisms be jointly exploited to improve efficiency in both abduction and update propagation?
  • RQ3To what extent can abductive solutions be reused across different contexts when updates occur?
  • RQ4How can query-driven, incremental propagation of updates be achieved without precomputing all possible states?
  • RQ5Can a unified program transformation and predicate library be designed to support both tabled abduction and incremental updates in a single system?

Key findings

  • The integration successfully combines tabled abduction and incremental tabling for updates, enabling efficient, context-sensitive reasoning under dynamic knowledge changes.
  • Abductive solutions are reused across queries, reducing redundant computation and improving performance in multi-query scenarios.
  • Incremental propagation of fluent updates is triggered only on-demand, ensuring system-level efficiency and consistency.
  • The use of a single program transformation and shared library of reserved predicates simplifies implementation and enhances modularity.
  • The system supports direct access to the latest truth value and timestamp of fluents via system table inspection, enabling precise temporal reasoning.
  • The prototype implementation in XSB Prolog demonstrates feasibility and paves the way for deployment in agent systems requiring hypothetical, counterfactual, and moral reasoning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.