<!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>Embarrassingly Greedy Inconsistency Resolution of Qualitative Constraint Networks⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Michael Sioutis</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>LIRMM UMR 5506, University of Montpellier &amp; CNRS</institution>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <fpage>87</fpage>
      <lpage>88</lpage>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Qualitative Spatio-Temporal Reasoning (QSTR) is a rich sym- inaccurate classifiers. As illustration, timetabling is an instance
bolic AI framework that deals with representing and reasoning of scheduling where inconsistencies can naturally form due to
about abstract, qualitative, spatio-temporal information via the lack of resources for certain tasks, among other reasons. In
human-like natural language descriptions [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]; as an example, the context of a hospital, for example, an inconsistency can
occonsider a relation of the form  {is north of ∨ is east of} , cur when two surgeons are allocated the same operating room
which abstracts from numerical information and yet is very in- in overlapping temporal intervals; the inconsistency must then
tuitive. Such QSTR descriptions or relations, and disjunctions be repaired by considering available temporal intervals and
thereof, can be modeled as a qualitative constraint network preferences alike, and minimizing changes so as to perturb the
(QCN), a simplified example of which is provided in Figure 1a. structure of the timetable as little as possible. In the broader
The QSTR literature has been deeply invested in point/interval- context of neuro-symbolic AI architectures [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], classifiers may
based calculi, with Allen’s Interval Algebra being the most construct inconsistent spatio-temporal KBs due to inaccurate
representative example [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], as intervals can be used to rep- predictions, and minimizing inconsistency (i.e., maximizing
resent and reason about anything from durative actions in satisfiability) is an essential step of logical reasoning in the
planning or tasks in robotics [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] to temporal abstractions in neuro-symbolic cycle, see, e.g., Figure 1 in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
multivariate time series classification [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], among other appli- State of the Art &amp; Contribution: The state of the art in solving
cations; see also [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. the MAX-QCN problem with respect to constraints and SAT
encodings consists of the works in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] and in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], respectively.
task task Specifically, both of these approaches try to obtain a
refinement of the input QCN that maximizes the number of satisfied
before before ∨ equals before before constraints in the QCN. In doing so, they are trying to solve
task after task task before task itnwgoapsrcoebnlaermios oofftdhieferQeCntNn, awtuhrilestaetntshuerisnagmtehattimthee: eexxttrraacctte-d
(a) An inconsistent plan as a (b) An optimal scenario of the scenario is optimal. This is particularly crippling for the
persimplified QCN. simplified QCN. formance of the constraint-based approach in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], as, should
the constraint not be part of an optimal scenario in the end,
Figure 1: The qualitative constraint network (QCN) in Fig- taking a refinement of it in the beginning might create a huge
ure 1a is inconsistent, and one solution of the MAX-QCN branch in the search tree that is useless to explore. The clause
problem [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], viz., an optimal scenario, is shown in Figure 1b, learning of the SAT-based approach in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] circumvents this
with one unsatisfied constraint. issue, but, on the other hand, [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] does not exploit
tractability properties for QCNs, viz., Horn theories and/or maximal
      </p>
      <p>
        Context &amp; Motivation: In [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], we focus on the problem of tractable subsets of relations [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]; nevertheless, it significantly
maximizing satisfiability in a qualitative constraint network, outperforms [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. In [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], with respect to the previous discussion,
formally called the MAX-QCN problem [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Specifically, given we provide a greedy constraint-based approach for tackling
a QCN  , the MAX-QCN problem is the problem of obtaining the MAX-QCN problem that treats the constraints of the input
a spatial or temporal configuration that maximizes the number QCN in whole and, hence, may avoid—to a relatively greater
of satisfied constraints in  ; see also Figure 1 for an exam- extent—redundant exploration of search space. Specifically, the
ple. The motivation behind studying this problem lies in the greedy technique consists in adding the original constraints
fact that representing spatial or temporal information may in- of a QCN to a new, initially empty, network, one by one, all
evitably lead to inconsistencies, due to e.g. human error and/or the while filtering out the ones that fail the satisfiability check.
What makes or breaks this technique is the ordering in which
the constraints will be processed to saturate the empty QCN,
and for that purpose we use many diferent strategies to form
a portfolio-style implementation. Then, we experimentally
compare this approach against one of the most compact to
date Partial MaxSAT encodings for the MAX-QCN problem,
which builds upon [
        <xref ref-type="bibr" rid="ref12 ref13">12, 13</xref>
        ], and comment on the trade-of
between optimality and eficiency, making our source code freely
available.
      </p>
      <p>
        ENIGMA-23, September 03–04, 2023, Rhodes, Greece
⋆ This is an extended abstract of the homonymous TIME 2023
paper [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The work was partially funded by the Agence Nationale
de la Recherche (ANR) for the “Hybrid AI” project that is tied to
the chair of Dr. Sioutis, and the I-SITE program of excellence of
Université de Montpellier that complements the ANR funding.
$ michael.sioutis@lirmm.fr (M. Sioutis)
 https://msioutis.gitlab.io/ (M. Sioutis)
0000-0001-7562-2443 (M. Sioutis)
      </p>
      <p>© 2023 Copyright for this paper by its authors. Use permitted under Creative Commons License
CPWrEooUrckReshdoinpgs IhStpN:/c1e6u1r3-w-0s.o7r3g ACttEribUutRion W4.0oInrtekrnsahtioonpal (PCCroBYce4.0e).dings (CEUR-WS.org)</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M.</given-names>
            <surname>Sioutis</surname>
          </string-name>
          ,
          <article-title>Embarrassingly Greedy Inconsistency Resolution of Qualitative Constraint Networks</article-title>
          ,
          <source>in: TIME</source>
          ,
          <year>2023</year>
          . To appear.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>G.</given-names>
            <surname>Ligozat</surname>
          </string-name>
          ,
          <article-title>Qualitative Spatial and Temporal Reasoning</article-title>
          , ISTE, Wiley,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>J. F.</given-names>
            <surname>Allen</surname>
          </string-name>
          ,
          <article-title>Maintaining Knowledge about Temporal Intervals, Commun</article-title>
          . ACM
          <volume>26</volume>
          (
          <year>1983</year>
          )
          <fpage>832</fpage>
          -
          <lpage>843</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>L.</given-names>
            <surname>Mudrová</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Hawes</surname>
          </string-name>
          ,
          <article-title>Task scheduling for mobile robots using interval algebra</article-title>
          ,
          <source>in: ICRA</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>R.</given-names>
            <surname>Moskovitch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Shahar</surname>
          </string-name>
          ,
          <article-title>Classification of multivariate time series via temporal abstraction and time intervals mining</article-title>
          ,
          <source>Knowl. Inf. Syst</source>
          .
          <volume>45</volume>
          (
          <year>2015</year>
          )
          <fpage>35</fpage>
          -
          <lpage>74</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>M.</given-names>
            <surname>Sioutis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Wolter</surname>
          </string-name>
          ,
          <article-title>Qualitative Spatial and Temporal Reasoning: Current Status and Future Challenges</article-title>
          , in: IJCAI,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>J.</given-names>
            <surname>Condotta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Mensi</surname>
          </string-name>
          , I. Nouaouri,
          <string-name>
            <given-names>M.</given-names>
            <surname>Sioutis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. B.</given-names>
            <surname>Said</surname>
          </string-name>
          ,
          <article-title>A Practical Approach for Maximizing Satisfiability in Qualitative Spatial and Temporal Constraint Networks</article-title>
          ,
          <source>in: ICTAI</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>J. H.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Sioutis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Ahrens</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Alirezaie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kerzel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Wermter</surname>
          </string-name>
          ,
          <string-name>
            <surname>Neuro-Symbolic Spatio-Temporal</surname>
            <given-names>Reasoning</given-names>
          </string-name>
          ,
          <source>CoRR abs/2211</source>
          .15566 (
          <year>2022</year>
          ). URL: https://doi.org/ 10.48550/arXiv.2211.15566.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <article-title>Abductive learning: towards bridging machine learning and logical reasoning</article-title>
          ,
          <source>Sci. China Inf. Sci</source>
          .
          <volume>62</volume>
          (
          <year>2019</year>
          )
          <volume>76101</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>76101</lpage>
          :
          <fpage>3</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>J.</given-names>
            <surname>Condotta</surname>
          </string-name>
          , I. Nouaouri,
          <string-name>
            <given-names>M.</given-names>
            <surname>Sioutis</surname>
          </string-name>
          ,
          <string-name>
            <surname>A SAT</surname>
          </string-name>
          <article-title>Approach for Maximizing Satisfiability in Qualitative Spatial and Temporal Constraint Networks</article-title>
          ,
          <source>in: KR</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>J.</given-names>
            <surname>Renz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Nebel</surname>
          </string-name>
          ,
          <article-title>Qualitative Spatial Reasoning Using Constraint Calculi</article-title>
          , in: Handbook of Spatial Logics, Springer,
          <year>2007</year>
          , pp.
          <fpage>161</fpage>
          -
          <lpage>215</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>B.</given-names>
            <surname>Nebel</surname>
          </string-name>
          , H. Bürckert,
          <article-title>Reasoning about Temporal Relations: A Maximal Tractable Subclass of Allen's Interval Algebra</article-title>
          ,
          <string-name>
            <surname>J. ACM</surname>
          </string-name>
          42 (
          <year>1995</year>
          )
          <fpage>43</fpage>
          -
          <lpage>66</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>M.</given-names>
            <surname>Westphal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Hué</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Wölfl</surname>
          </string-name>
          ,
          <article-title>On the Propagation Strength of SAT Encodings for Qualitative Temporal Reasoning</article-title>
          , in: ICTAI,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>