<!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 />
    <article-meta>
      <title-group>
        <article-title>Structural Decompositions of Epistemic Logic Programs?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Markus Hecher</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Michael Morak</string-name>
          <email>michael.morak@aau.at</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Stefan Woltran</string-name>
          <email>woltrang@dbai.tuwien.ac.at</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Runtime Results for ELPs and Treewidth</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>TU Wien</institution>
          ,
          <country country="AT">Austria</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University of Klagenfurt</institution>
          ,
          <country country="AT">Austria</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>University of Potsdam</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <fpage>2</fpage>
      <lpage>3</lpage>
      <abstract>
        <p>Epistemic logic programs (ELPs) [5] are a popular generalization of standard Answer Set Programming (ASP) providing means for reasoning over answer sets within the language. This is accomplished by the use of modal operators such as K and M in rule bodies. Shen and Eiter [7] have shown that these operators can be conveniently expressed via a single negation-type operator (epistemic negation not), and have provided a new semantics for ELPs based on this operator. The richer formalism of ELPs comes at the price of higher computational complexity, namely checking whether an ELP has a world view, is 3P -complete, but problems higher on the polynomial hierarchy exist. In contrast to standard ASP, dedicated investigations towards tractability have not been undertaken yet. In this paper, we give first results in this direction and show that central ELP problems based on the semantics by Eiter and Shen [7] can be solved in linear time for ELPs exhibiting structural properties in terms of bounded treewidth. Then, we provide an algorithm that adheres to bounded treewidth. Finally, we show that applying treewidth to a novel dependency structure, given in terms of epistemic literals, allows to bound the number of ASP solver calls in ELP solving procedures. Before we briefly discuss our results, we need to define some graph representation of ELPs. Let therefore be an ELP. We define the primal graph P as the graph, whose vertices comprises of all atoms of and we put an edge between two vertices whenever the two corresponding atoms appear together in at least one rule of . Then, we show that the world view existence for ELPs, whose primal graph has treewidth k can be solved in linear time. Further, we establish an algorithm and show the following theorem.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>Hecher, Morak, and Woltran</p>
    </sec>
    <sec id="sec-2">
      <title>Bounding Calls to Standard ASP Solvers</title>
      <p>
        Next, we present consequences of an algorithm for solving world view existence by
means of calls to ASP solvers. Notably, our algorithm allows to bound the number of ASP
solver calls such that for small treewidth only linearly many of these calls are required.
To this end, we say for a given ELP that two vertices a; b of primal graph P are
non-epistemically connected iff there is a path ha; v1; : : : ; vn; bi with n 0 in P , such
no vertex vi (1 i n) appears under epistemic negation in . Now, the epistemic
primal graph E of is a graph, whose vertices are only atoms of that appear under
epistemic negation and there is an edge between two vertices of E iff the corresponding
atoms are non-epistemically connected in P . Intuitively, two vertices form an edge in
E iff there is a direct edge in P or they are connected in P via atoms that do not
appear in epistemic literals. The concept of E is inspired by related work [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>We establish an algorithm that allows to show the following theorem.</p>
      <p>Theorem 2. Given an ELP using n many atoms, world view existence can be solved
with at most O(2k n) calls to an underlying ASP solver, where k is the treewidth of E .</p>
      <p>
        Indeed, our algorithm can be used for the classic scholarship eligibility problem [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
We observed that this domain seems to be a “best case”-scenario for using our approach,
where our algorithm naturally separates the ELPs into parts. However, standard ELP
solvers seem to struggle in this setting when the program sizes increase; cf. e.g. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
4
      </p>
    </sec>
    <sec id="sec-3">
      <title>Conclusions</title>
      <p>
        This work provides the first parameterized complexity analysis of ELP solving w.r.t.
treewidth. Our approach partitions an ELP according to a tree decomposition, and then
solves the entire ELP by evaluating these parts in turn. Note that this is different from
(ELP) splitting [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. For future work, we aim to extend our algorithms to the formula
evaluation problem, which should work in a similar fashion to our existing algorithms,
given a suitable graph representation. Furthermore, we would like to apply our approach
to other ELP semantics. There, we do not anticipate large obstacles, since most semantics
are reduct-based, and the reduct is an easily exchangeable part in our algorithms.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Bichler</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Morak</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Woltran</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Single-shot epistemic logic program solving</article-title>
          .
          <source>In: Proc. IJCAI</source>
          . pp.
          <fpage>1714</fpage>
          -
          <lpage>1720</lpage>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Cabalar</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fandinno</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <source>Farin˜as del Cerro</source>
          ,
          <string-name>
            <surname>L.</surname>
          </string-name>
          :
          <article-title>Splitting epistemic logic programs</article-title>
          .
          <source>In: Proc. LPNMR</source>
          . pp.
          <fpage>120</fpage>
          -
          <lpage>133</lpage>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Fichte</surname>
            ,
            <given-names>J.K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hecher</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pfandler</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Lower bounds for QBFs of bounded treewidth</article-title>
          .
          <source>In: LICS</source>
          . pp.
          <fpage>410</fpage>
          -
          <lpage>424</lpage>
          . ACM (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Ganian</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ramanujan</surname>
            ,
            <given-names>M.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Szeider</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>Combining treewidth and backdoors for CSP</article-title>
          .
          <source>In: Proc. STACS</source>
          . pp.
          <volume>36</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>36</lpage>
          :
          <fpage>17</fpage>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Gelfond</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Strong introspection</article-title>
          .
          <source>In: Proc. AAAI</source>
          . pp.
          <fpage>386</fpage>
          -
          <lpage>391</lpage>
          . AAAI Press (
          <year>1991</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Hecher</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Morak</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Woltran</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Structural decompositions of epistemic logic programs</article-title>
          .
          <source>In: AAAI</source>
          . pp.
          <fpage>2830</fpage>
          -
          <lpage>2837</lpage>
          . AAAI Press (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Shen</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Eiter</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Evaluating epistemic negation in answer set programming</article-title>
          .
          <source>Artif. Intell</source>
          .
          <volume>237</volume>
          ,
          <fpage>115</fpage>
          -
          <lpage>135</lpage>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>