<!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>Value awareness and process automation: a reflection through school place allocation models</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Joaquín Arias</string-name>
          <email>joaquin.arias@urjc.es</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mar Moreno-Rebato</string-name>
          <email>mar.rebato@urjc.es</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jose A. Rodriguez-García</string-name>
          <email>joseantonio.rodriguez@urjc.es</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sascha Ossowski</string-name>
          <email>sascha.ossowski@urjc.es</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>CETINIA, Universidad Rey Juan Carlos</institution>
          ,
          <addr-line>Madrid</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The proposed regulatory framework for artificial intelligence and the EU General Data Protection Regulation make it necessary for automated reasoners to justify their conclusions in human-understandable terms. In addition, there are ethical and legal concerns that should be addressed to ensure that the advice given by such AI systems is aligned with human values. Value-aware systems address this challenge by explicitly representing and reasoning with norms and values applicable to a problem domain. In procedures of the public administration, for instance, such systems may provide support to decision-makers and, ultimately, enable the automation of (part of) these administrative processes. However, this requires the capability to determine as to how far a particular legal model is aligned with a certain value system. The s(LAW) legal reasoner based on Answer Set Programming has proven capable of adequately modelling administrative processes with discretion. This article is an extended abstract of a work in progress where we analyse two (political) strategies for school place allocation in educational institutions supported with public funds, that diferently weigh values such as equality, fairness, and non-segregation. We plan to illustrate how s(LAW) models these scenarios, and how automated reasoning with these models can answer various questions regarding their value-alignment.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Legal reasoning</kwd>
        <kwd>Goal-directed execution</kwd>
        <kwd>Answer set programming</kwd>
        <kwd>Inductive logic programming</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        that it is possible to formally represent values, and to reason with and about them, paving
the way for future machine morality. In fact, current AI systems are not value-aware. In one
recent example, GPT3, developed by OpenAI, encouraged a person to commit suicide1 and
ofered help on how to do so, violating the fundamental human value of not encouraging harm.
In this context, it is necessary to elicit, model and aggregate the human values that a given
community may (or may not) collectively agree upon, so that we can apply simulation, reasoning
or learning-based techniques, e.g. to account for value-driven decision making [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], or to extract
the patterns and rules that drive a community’s value-aligned behavior [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>
        AI systems, even if they are value-aware, can only be trustworthy if they are capable of
explaining the reasons for their decisions, so they can be validated and/or audited. The DARPA
Explainable Artificial Intelligence (XAI) [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], for instance, aims at creating AI systems whose
learned models and decisions can be understood by end users. This includes seeking
methods to increase the interpretability of models, designing efective explanation interfaces, and
understanding the psychological requirements of efective explanations. In particular,
valueware systems must be capable of explaining the models and justifying decisions taken in a
human-understandable manner, in terms of the values and norms that influenced the reasoning
process, among others. To this respect, we can draw upon work on explanation-generation in
computational legal reasoning [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>
        The present work sets out from the s(LAW) [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] framework initially proposed by Arias et
al., which allows for modelling legal rules involving ambiguity, and supports reasoning and
inference of conclusions based on them. Moreover, thanks to the goal-directed implementation
of the underlying Answer Set Programming (ASP) platform [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], s(LAW) is capable of providing
justifications of the resulting conclusions (in natural language). We conjecture that the use of
frameworks such as s(LAW) allows for addressing several challenges associated with
valueaware systems.
      </p>
      <p>
        To illustrate our approach, we draw upon the problem of school place allocation in educational
institutions supported with public funds. This problem has been present in many countries
and for many years [
        <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
        ]. Depending on the value system upheld by a public administration
governing a certain territory, diferent legislations exist, even within the same country. For
instance, the Spanish Organic Law on Education2 regulates, in article 84, the criteria for the
admission of students in public centers and private subsidized centers and in its second paragraph
indicates adjudication criteria. However, since Spain is a politically decentralized country, its
autonomous communities (and their educational administrations) have powers to develop these
aspects of basic state legislation. In this work, we will analyse the criteria used in the procedures
for awarding school places of centers supported with public funds applied in the Spanish
autonomous communities “Comunidad de Madrid” and “Ceuta y Melilla” so as to characterise
the underlying value system. Setting out from these real-world cases, which are based on
the regulations that are currently in force in two corresponding legislations, we outline their
representation in s(LAW) and the types of queries that it supports.
      </p>
      <p>1https://thegradient.pub/has-ai-found-a-new-foundation
2Organic Law 2/2006, May 3, last modified by Organic Law 3/2020, December 29</p>
    </sec>
    <sec id="sec-2">
      <title>1. Modeling value-awareness norms in s(LAW)</title>
      <p>
        The modeling we are proposing, following the same strategy used in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] to represent vague
concepts such as discretion, ambiguity or lack of information, allows us to consider its application
in (at least) the following three scenarios:
• Given an allocation criterion, automate the process of awarding places (this use case
includes advising parents to select the school where they are most likely to get a place as
their first choice). In this scenario, the system could, in case of a tie, make decisions to
obtain student distributions that guarantee educational equality. However, the degree of
freedom of a system, in this scenario, to improve the alignment with a given value is low.
• Given two or more allocation criteria and the semantic function of the educational equality
value, determine which criterion is more aligned, i.e., the application of which system
would result in a more equitable distribution. In this scenario, if we consider presence
of vague concepts, we may find that an allocation criterion is more aligned under some
assumptions, but considering other assumptions it is not the most aligned. As a particular
use case, we would have the need for schools to select which complementary criteria are
the ones that would result in the most equitable outcome.
• Considering that we only have defined the semantic function of the principle of
educational equality, we could automatically generate the most appropriate legislation to
guarantee an equitable distribution. In this scenario, we could define a priori a series of
normative patterns to facilitate the design of the legislation to be applied As an example
consider that we provide an allocation criterion without determining the points to assign,
and let the system determine the score to receive in each rating range (and eventually
even allow the system to define the rating ranges).
      </p>
    </sec>
    <sec id="sec-3">
      <title>2. Conclusions</title>
      <p>In this work, we argue that ASP-based representations together with goal-directed inference are
an efective means to introduce value and norm-based reasoning into AI Systems. We analysed
two real world cases, based on regulations for school place assignments that are currently in
force in diferent autonomous regions of Spain, and characterised the underlying value system.
Furthermore, we provided hints on how these real-world cases can be represented in the s(LAW)
legal reasoner, and showed general types of queries that can be answered, such as reasoning
about school place admission, determining which set of admission criteria produces results
more aligned with the equality value, and assisting with the adaptation of admission criteria in
order to improve alignment with the equality value when circumstances change.</p>
      <p>In summary, the question we wanted to answer is whether it is possible to “measure” the
alignment of diferent normative systems to the values implicit in the right to education, such
as equality, equal opportunities, social cohesion and non-segregation, among others. In addition
to answering this question from a legal point of view, in this work we have ofered diferent
patterns for modeling norms and values, using s(LAW), so that we are able to automate this
measurement.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>N.</given-names>
            <surname>Montes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Osman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Sierra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Slavkovik</surname>
          </string-name>
          , Value engineering for autonomous agents,
          <source>CoRR abs/2302</source>
          .08759 (
          <year>2023</year>
          ). URL: https://doi.org/10.48550/arXiv.2302.08759. doi:
          <volume>10</volume>
          .48550/arXiv.2302.08759. arXiv:
          <volume>2302</volume>
          .
          <fpage>08759</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>G.</given-names>
            <surname>di Tosto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Dignum</surname>
          </string-name>
          ,
          <article-title>Simulating social behaviour implementing agents endowed with values and drives</article-title>
          , in: F.
          <string-name>
            <surname>Giardini</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Amblard</surname>
          </string-name>
          (Eds.),
          <string-name>
            <surname>Multi-Agent-Based Simulation</surname>
            <given-names>XIII</given-names>
          </string-name>
          - International Workshop, MABS 2012, Valencia, Spain, June 4-8,
          <year>2012</year>
          , Revised Selected Papers, volume
          <volume>7838</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>2012</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>12</lpage>
          . URL: https://doi.org/10.1007/978-3-
          <fpage>642</fpage>
          -38859-
          <issue>0</issue>
          _1. doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>642</fpage>
          -38859-0\_1.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>N.</given-names>
            <surname>Montes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Sierra</surname>
          </string-name>
          ,
          <article-title>Synthesis and properties of optimally value-aligned normative systems</article-title>
          ,
          <source>Journal of Artificial Intelligence Research</source>
          <volume>74</volume>
          (
          <year>2022</year>
          )
          <fpage>1739</fpage>
          -
          <lpage>1774</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>D.</given-names>
            <surname>Gunning</surname>
          </string-name>
          , D. Aha,
          <article-title>Darpa's explainable artificial intelligence (xai) program</article-title>
          ,
          <source>AI</source>
          Magazine
          <volume>40</volume>
          (
          <year>2019</year>
          )
          <fpage>44</fpage>
          -
          <lpage>58</lpage>
          . URL: https://ojs.aaai.org/aimagazine/index.php/aimagazine/article/view/2850. doi:
          <volume>10</volume>
          .1609/aimag.v40i2.
          <fpage>2850</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>J.</given-names>
            <surname>Arias</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Carro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Chen</surname>
          </string-name>
          , G. Gupta,
          <article-title>Justifications for Goal-Directed Constraint Answer Set Programming</article-title>
          ,
          <source>in: Proceedings 36th International Conference on Logic Programming (Technical Communications)</source>
          , volume
          <volume>325</volume>
          , EPTCS. Open Publishing Association,
          <year>2020</year>
          , pp.
          <fpage>59</fpage>
          -
          <lpage>72</lpage>
          . doi:
          <volume>10</volume>
          .4204/EPTCS.325.12.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>J.</given-names>
            <surname>Arias</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Moreno-Rebato</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. A.</given-names>
            <surname>Rodríguez-García</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ossowski</surname>
          </string-name>
          ,
          <article-title>Modeling Administrative Discretion Using Goal-Directed Answer Set Programming</article-title>
          ,
          <source>in: Advances in Artificial Intelligence, CAEPIA</source>
          <volume>20</volume>
          /21, Springer International Publishing: Cham,
          <year>2021</year>
          , pp.
          <fpage>258</fpage>
          -
          <lpage>267</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>030</fpage>
          -85713-4_
          <fpage>25</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>J.</given-names>
            <surname>Arias</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Carro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Salazar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Marple</surname>
          </string-name>
          ,
          <string-name>
            <surname>G.</surname>
          </string-name>
          <article-title>Gupta, Constraint Answer Set Programming without Grounding</article-title>
          ,
          <source>Theory and Practice of Logic Programming</source>
          <volume>18</volume>
          (
          <year>2018</year>
          )
          <fpage>337</fpage>
          -
          <lpage>354</lpage>
          . doi:
          <volume>10</volume>
          . 1017/S1471068418000285.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>M.</given-names>
            <surname>Gelfond</surname>
          </string-name>
          ,
          <article-title>Strong introspection</article-title>
          , in: T. L.
          <string-name>
            <surname>Dean</surname>
            ,
            <given-names>K. R.</given-names>
          </string-name>
          <string-name>
            <surname>McKeown</surname>
          </string-name>
          (Eds.),
          <source>Proceedings of the 9th National Conference on Artificial Intelligence</source>
          , Anaheim, CA, USA, July
          <volume>14</volume>
          -
          <issue>19</issue>
          ,
          <year>1991</year>
          , Volume
          <volume>1</volume>
          , AAAI Press / The MIT Press,
          <year>1991</year>
          , pp.
          <fpage>386</fpage>
          -
          <lpage>391</lpage>
          . URL: http://www.aaai.org/ Library/AAAI/
          <year>1991</year>
          /aaai91-
          <fpage>060</fpage>
          .php.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>M.</given-names>
            <surname>Gelfond</surname>
          </string-name>
          ,
          <article-title>Logic programming and reasoning with incomplete information</article-title>
          , Ann. Math. Artif. Intell.
          <volume>12</volume>
          (
          <year>1994</year>
          )
          <fpage>89</fpage>
          -
          <lpage>116</lpage>
          . URL: https://doi.org/10.1007/BF01530762. doi:
          <volume>10</volume>
          .1007/ BF01530762.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>