<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>DL</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Automated Planning with Ontologies under Coherence Update Semantics (Extended Abstract)*</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Stefan Borgwardt</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Duy Nhu</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Gabriele Röger</string-name>
        </contrib>
      </contrib-group>
      <pub-date>
        <year>2025</year>
      </pub-date>
      <volume>38</volume>
      <fpage>3</fpage>
      <lpage>6</lpage>
      <abstract>
        <p>Automated planning is a core area within Artificial Intelligence that describes the development of a system through the application of actions [3]. A planning task is defined by an initial state, a set of actions with preconditions and efects on the current state, and a goal condition. States can be seen as finite first-order (FO) interpretations, and all conditions are specified by FO-formulas that are interpreted on the current state under closed-world semantics, i.e. absent facts are assumed to be false. A (ground) action is applicable if its precondition is satisfied in the current state w.r.t. an assignment of its variables. The objective is to select a sequence of applicable actions to reach the goal, called a plan. To facilitate expressive reasoning in the standard closed-world planning formalisms, logical theories under open-world semantics can be added to describe the possible interactions between objects of a domain of interest. Particularly, we are interested in Description Logics (DLs) and their application in reasoning about the individual states of a system. The main challenge is to reconcile the open-world nature of DLs and the closed-world semantics employed in classical planning. Explicit-input Knowledge and Action Bases (eKABs) combine planning with the description logic DL-Lite [4]. There, states (ABoxes) are interpreted using open-world semantics w.r.t. a background ontology (TBox) specifying intensional knowledge using DL-Lite axioms. The background ontology describes constraints on the state and entails additional facts that hold implicitly. Such a planning problem can be compiled into the classical planning domain definition language (PDDL) using query rewriting techniques [4].</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;planning</kwd>
        <kwd>coherence update semantics</kwd>
        <kwd>compilation scheme</kwd>
        <kwd>experiments</kwd>
        <kwd>benchmarks</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>on_block ⊑ on, ∃on_block−
on_table ⊑ on, ∃on_table−
on, ∃on_block−</p>
      <p>⊑ Block, funct on_block,
Implicitly, we know that 2 is blocked (Blocked(2)) since 1 is on 2 (on_block(1, 2)) and every block
that has another block on top is blocked (∃on_block− ⊑ Blocked). On the other hand, we know that
on_block(1, 3) cannot hold, since the on_block relation is functional (funct on_block).</p>
      <p>Consider now the action move(, , ) that moves Block  from position  to . Its precondition is
[on(, )] ∧ ¬[Blocked()] ∧ ¬[Blocked()], where the atoms in brackets are evaluated w.r.t. the ontology
axioms (epistemic semantics). Its efects consist of</p>
      <p>((), [Block()], ∅, {¬on_block(, )}),
((), [Table()], ∅, {¬on_table(, )}),
((), [Block()], {on_block(, )}, ∅),
((), [Table()], {on_table(, )}, ∅),
which remove on_block(, ) when  is entailed to be a Block, add on_table(, ) if  is a Table, and so
on. Efectively, this action removes on(, ) and adds on(, ).</p>
      <p>For example, the action is applicable for the substitution  ↦→ 1,  ↦→ 2,  ↦→ 3, since on_block
is included in on and neither Blocked(1) nor Blocked(3) are entailed. Then, the action would remove
on_block(1, 2) and insert on_block(1, 3), as Block(2) and Block(3) are entailed.</p>
      <p>One property of this formalism is that action efects ignore implicit knowledge and only check
whether the subsequent state is consistent with the TBox.</p>
      <p>Example 2. The efect of the ground action move(1, 2, 3) is to add on_block(1, 3) to the state. In the
eKAB formalism, this would make the state inconsistent, as argued previously.</p>
      <p>We could remove on(1, 2) to obtain a consistent state. However, since this fact is not explicitly present
in the state (ABox), this operation would not afect the state at all, and [on(1, 2)] would continue to hold
due to on_block(1, 2).</p>
      <p>Moreover, even if we explicitly remove on_block(1, 2), we would lose the information that 2 is a block,
which means that we should add Block(2) as well.</p>
      <p>
        Example 2 illustrates that actions can cause three types of implicit efects: removing a fact requires
(i) removing all stronger facts and (ii) adding previously implied facts to avoid losing information,
whereas adding a fact requires (iii) removing any conflicting facts to ensure consistency. Addressing
these challenges, the coherence update semantics was introduced for updating an ABox in the presence
of a DL-Lite TBox, where the updated ABox can be computed with a non-recursive Datalog¬ program
[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. However, this semantics considers only single-step ABox updates, whereas, for planning, such
implicit efects need to be computed for each action on the way to the goal.
      </p>
      <p>
        Here, we consider DL-Lite(ℋℱ ) [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] (simply DL-Lite in the following) and extend eKAB planning by
applying the coherence update semantics to action efects. We investigate the complexity of the resulting
formalism of ceKABs (coherent eKABs) and introduce a novel compilation into PDDL with derived
predicates by utilising the Datalog¬ programs for eKAB [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] and coherence semantics [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Moreover, we
evaluate the feasibility of our approach in of-the-shelf planning systems and the overhead incurred
compared to the original eKAB semantics.
eKABs with Coherence Update Semantics. An update contains a set of insertion and deletion
operations of ABox assertions. For instance, an update requesting the deletion of on_block(1, 2) and
insertion of on_block(1, 3) can be represented by  = {del(on_block(1, 2)), ins(on_block(1, 3))}.
      </p>
      <p>
        The coherence update semantics [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] takes an ABox  and computes an updated ABox ′ that difers
from  as little as possible (minimal change property) and is unique up to equivalence w.r.t.  . The
efects of the semantics coincide with the implicit efects listed in (i), (ii), and (iii).
      </p>
      <p>Example 3. We express the efect of the action move(1, 2, 3) in Example 1 by the above update  . Using
coherence update semantics, we do not have to distinguish the type of 2 and can simply use del(on(1, 2))
instead.
u is applied to an initial dataset containing the</p>
      <p>
        To compute the efects of  , a Datalog¬ program ℛ
assertions from  as well as the translated update requests ins__request(⃗) (del__request(⃗)) for each
ins((⃗)) (del((⃗)) in  [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. In our example, we obtain the initial facts on_block(1, 2), on_table(3, ),
del_on_request(1, 2) and ins_on_block_request(1, 3).
      </p>
      <p>First, the program ℛu translates the requests into direct insertion and deletion instructions:
del_on(, ) ←
ins_on_block(, ) ← ¬
on(, ), del_on_request(, )</p>
      <p>on_block(, ), ins_on_block_request(, )
However, the first rule has no efect since on(1, 2) is not in the ABox. Instead, we have to remove
on_block(1, 2) since on_block ⊑ on ∈  (cf. (i) from Example 2):
del_on_block(, ) ←</p>
      <p>on_block(, ), del_on_request(, )
Additionally, adding on_block(1, 3) also ensures that on_block(1, 2) gets deleted, since otherwise the
functionality of on_block would be violated (cf. (iii)):
del_on_block(, ) ←</p>
      <p>on_block(, ), ins_on_block_request(, ),  ̸= 
Finally, due to ∃on_block− ⊑ Block ∈  , the program retains the information Block(2) when
on_block(1, 2) is deleted, by first deriving ins_block_closure (2) (cf. (ii)):
ins_block_closure() ←
del_on_block(, ), ¬Block(),
¬ins_block_request(), ¬del_block_request()
This is then translated into an insertion operation if there are no conflicting requests that would cause an
inconsistency (recall that Block ⊑ ¬Table ∈  ):</p>
      <p>ins_block() ← ins_block_closure(), ¬ins_table_request()
In summary, the above rules derive ins_on_block(1, 3), del_on_block(1, 2), and ins_block(2).</p>
      <p>u checks whether the same tuple is requested to be added to on_block and</p>
      <p>In addition, the program ℛ
removed from on, as this is forbidden by the coherence semantics:</p>
      <p>incompatible_update() ← ins_on_block_request(, ), del_on_request(, )</p>
      <p>For planning, we lift the coherence update semantics to apply it to all actions in a planning problem.
Our ceKAB semantics retains the favourable behaviours of the epistemic eKAB semantics for action
conditions and of the coherence update semantics for single-step updates of DL-Lite ABoxes. In
particular, it is possible to rewrite all operations into Datalog¬, and therefore into classical planning
with derived predicates, in polynomial time.</p>
      <p>
        A Polynomial Compilation Scheme for ceKABs. A compilation scheme translates a ceKAB
planning task to a PDDL task s.t. a plan for the ceKAB exists if a plan for the PDDL exists. Additionally,
if the translation is polynomially bounded in the size of the eKAB task, then the compilation scheme is
polynomial. We develop a polynomial compilation scheme by extending the known eKAB-to-PDDL
compilation from [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>
        Deciding Plan Existence for ceKABs. The coherence plan existence problem decides whether a
plan exists for a DL-Lite ceKAB task. We study the complexity of the problem by means of a result by
Erol et al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] on the plan existence problem for classical planning (PDDL without derived predicates),
which the authors showed to be ExpSpace-complete. By our polynomial compilation scheme and a
reduction in the other direction (PDDL-to-ceKAB), we can show that the same holds for the coherence
plan existence problem.
      </p>
      <p>
        Experimental Evaluation. We conduct a range of experiments to evaluate the feasibility of our
compilation and its performance compared to the pure eKAB semantics [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Our benchmark collection
consists of 159 instances from the classical planning Blocks benchmark paired with an external ontology,
and the existing eKAB benchmarks for DL-Lite from [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. We modify some of the benchmarks s.t. all
benchmarks have plans under both eKAB and ceKAB semantics.
      </p>
      <p>
        We use Downward Lab [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] to conduct experiments with the Fast Downward planning system [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
Our main focus is satisficing planning using greedy best-first search [ 11] with the FF heuristic [12],
as well as the more aggressive variant F̃︀F provided by Fast Downward, which provides less heuristic
guidance, but is faster to compute. Considering the other extreme, we also experiment with the blind
heuristic that simply assigns 1 to non-goal states and 0 to goal states.
      </p>
      <p>
        On most of the benchmarks, we observe that F̃︀F significantly outperforms FF in terms of memory
and CPU time due to the combinatorial explosion in the computation of the FF heuristic. In many
benchmark instances, heuristic search does not perform better than blind search, which indicates a weak
support for derived predicates in the heuristics in general. Compared to the original eKAB-to-PDDL
compilation [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], supporting coherence update semantics imposes extra strain on the planning system.
      </p>
      <p>In future work, we will try to extend ceKABs to support more expressive ontologies, and improve the
planning performance by simplifying the Datalog¬ programs used in the compilations or by developing
heuristics that better support the specific structure of the resulting derived predicates.</p>
    </sec>
    <sec id="sec-2">
      <title>Acknowledgments</title>
      <p>This work was funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation)
in grant 540204715 and by the Swiss National Science Foundation (SNSF) as part of the project “Practical
Planning with Ontologies” (PPO).</p>
    </sec>
    <sec id="sec-3">
      <title>Declaration on Generative AI</title>
      <p>The author(s) have not employed any Generative AI tools.
[11] J. E. Doran, D. Michie, Experiments with the graph traverser program, Proceedings of the Royal</p>
      <p>Society A 294 (1966) 235–259.
[12] J. Hofmann, B. Nebel, The FF planning system: Fast plan generation through heuristic search, J.</p>
      <p>Artif. Intell. Res. 14 (2001) 253–302. doi:10.1613/JAIR.855.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>S.</given-names>
            <surname>Borgwardt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Nhu</surname>
          </string-name>
          , G. Röger,
          <article-title>Automated planning with ontologies under coherence update semantics</article-title>
          ,
          <source>in: Proceedings of the 22nd International Conference on Principles of Knowledge Representation and Reasoning</source>
          ,
          <source>KR 2025, November 11-17</source>
          ,
          <year>2025</year>
          . To appear.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>S.</given-names>
            <surname>Borgwardt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Nhu</surname>
          </string-name>
          , G. Röger,
          <source>Automated planning with ontologies under coherence update semantics (extended version)</source>
          ,
          <year>2025</year>
          . arXiv:
          <volume>2507</volume>
          .
          <fpage>15120</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M.</given-names>
            <surname>Ghallab</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. S.</given-names>
            <surname>Nau</surname>
          </string-name>
          , P. Traverso,
          <source>Automated planning - theory and practice</source>
          , Elsevier,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>D.</given-names>
            <surname>Calvanese</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Montali</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Patrizi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Stawowy</surname>
          </string-name>
          ,
          <article-title>Plan synthesis for knowledge and action bases</article-title>
          , in: S. Kambhampati (Ed.),
          <source>Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence, IJCAI</source>
          <year>2016</year>
          , New York, NY, USA,
          <fpage>9</fpage>
          -
          <issue>15</issue>
          <year>July 2016</year>
          , IJCAI/AAAI Press,
          <year>2016</year>
          , pp.
          <fpage>1022</fpage>
          -
          <lpage>1029</lpage>
          . URL: http://www.ijcai.org/Abstract/16/149.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>G.</given-names>
            <surname>De Giacomo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Oriol</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Rosati</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. F.</given-names>
            <surname>Savo</surname>
          </string-name>
          ,
          <article-title>Instance-level update in DL-Lite ontologies through ifrst-order rewriting</article-title>
          ,
          <source>J. Artif. Intell. Res</source>
          .
          <volume>70</volume>
          (
          <year>2021</year>
          )
          <fpage>1335</fpage>
          -
          <lpage>1371</lpage>
          . doi:
          <volume>10</volume>
          .1613/JAIR.1.12414.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>A.</given-names>
            <surname>Artale</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Calvanese</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Kontchakov</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Zakharyaschev, The DL-Lite family and relations</article-title>
          ,
          <source>J. Artif. Intell. Res</source>
          .
          <volume>36</volume>
          (
          <year>2009</year>
          )
          <fpage>1</fpage>
          -
          <lpage>69</lpage>
          . doi:
          <volume>10</volume>
          .1613/JAIR.2820.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>S.</given-names>
            <surname>Borgwardt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Hofmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kovtunova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Krötzsch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Nebel</surname>
          </string-name>
          , M. Steinmetz,
          <article-title>Expressivity of planning with horn description logic ontologies</article-title>
          ,
          <source>in: Thirty-Sixth AAAI Conference on Artificial Intelligence</source>
          ,
          <source>AAAI 2022, Thirty-Fourth Conference on Innovative Applications of Artificial Intelligence, IAAI</source>
          <year>2022</year>
          ,
          <source>The Twelveth Symposium on Educational Advances in Artificial Intelligence, EAAI 2022 Virtual Event, February 22 - March 1</source>
          ,
          <year>2022</year>
          , AAAI Press,
          <year>2022</year>
          , pp.
          <fpage>5503</fpage>
          -
          <lpage>5511</lpage>
          . URL: https://doi.org/10.1609/aaai.v36i5.20489. doi:
          <volume>10</volume>
          .1609/AAAI.V36I5.20489.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>K.</given-names>
            <surname>Erol</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. S.</given-names>
            <surname>Nau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V. S.</given-names>
            <surname>Subrahmanian</surname>
          </string-name>
          ,
          <article-title>Complexity, decidability and undecidability results for domain-independent planning</article-title>
          ,
          <source>Artif. Intell</source>
          .
          <volume>76</volume>
          (
          <year>1995</year>
          )
          <fpage>75</fpage>
          -
          <lpage>88</lpage>
          . doi:
          <volume>10</volume>
          .1016/
          <fpage>0004</fpage>
          -
          <lpage>3702</lpage>
          (
          <issue>94</issue>
          )
          <fpage>00080</fpage>
          -
          <lpage>K</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J.</given-names>
            <surname>Seipp</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Pommerening</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Sievers</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Helmert</surname>
          </string-name>
          , Downward Lab, https://doi.org/10.5281/zenodo. 790461,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>M.</given-names>
            <surname>Helmert</surname>
          </string-name>
          ,
          <article-title>The fast downward planning system</article-title>
          ,
          <source>J. Artif. Intell. Res</source>
          .
          <volume>26</volume>
          (
          <year>2006</year>
          )
          <fpage>191</fpage>
          -
          <lpage>246</lpage>
          . doi:
          <volume>10</volume>
          . 1613/JAIR.1705.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>