<!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>An Introduction to Optimal Stable Marriage Problems and Argumentation Frameworks?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Stefano Bistarelli</string-name>
          <email>stefano.bistarelli@unipg.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Francesco Santini</string-name>
          <email>francesco.santini@unipg.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Mathematics and Computer Science, University of Perugia</institution>
          ,
          <addr-line>Perugia</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <fpage>80</fpage>
      <lpage>84</lpage>
      <abstract>
        <p>In the Stable Marriage (SM) problem, given two sets of individuals partitioned into men and women, a matching is stable when there does not exist any matching man-woman by which both man and woman would be individually better off than they are with the person to which they are currently matched. In 1995, P.M. Dung modelled stable matchings as stable extensions in Abstract Argumentation Frameworks. In this paper we elaborate on the original formulation by using Weighted Abstract Argumentation to also represent optimality criteria in Optimal SM problems, where some matchings are better than others: criteria may consider only the preference of either men, or women, or a more balanced view obtained by differently combining the preferences of both of them.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>Copyright c 2019 for this paper by its authors. Use permitted under Creative Commons</p>
      <p>License Attribution 4.0 International (CC BY 4.0).</p>
    </sec>
    <sec id="sec-2">
      <title>Optimal Stable Marriage Problems</title>
      <p>
        The classical SM problem was extended [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] in order to find an SM problem under a
more equitable measure of optimality, thus defining an Optimal SM problem [
        <xref ref-type="bibr" rid="ref10 ref5 ref7 ref8">5, 7, 8,
10</xref>
        ]. For example, in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] the authors maximise the global satisfaction by summing
together the preferences of both men and women in a matching. This sum has to be
minimised, since p(mi, w j) represents the rank of w j in mi’s list of preferences. Therefore,
we need to minimise this egalitarian cost1 [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] in Eq. 1:
min
      </p>
      <p>max
(mi,w j)2 MT</p>
      <p>
        max{p(mi, w j), p(w j, mi)}
A third criterion consists in minimising the sex-equalness cost [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]:
0
      </p>
      <p>Â
(mi,w j)2 MT
p(mi, w j) +</p>
      <p>
        Â
(mi,w j)2 MT
p(w j, mi)A
1
Such an optimisation problem was originally posed by D. Knuth [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Other optimisation
criteria are represented by minimizing the regret cost [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], as represented in Eq. 2:
(1)
(2)
(3)
min
      </p>
      <p>Â
(mi,w j)2 MT
p(mi, wi)</p>
      <p>Â
(mi,w j)2 MT
p(w j, mi)</p>
      <p>
        Finding a solution satisfying Eq. 1 and Eq. 2 already found their solution in
polynomial time by using ad-hoc algorithms, such as [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], respectively. On the contrary,
reaching the optimality represented by Eq. 3 was proved to be an NP-hard problem for
which approximation algorithms are proposed [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>
        An SM problem formulation has incomplete lists (SMI) if an individual can exclude
a partner whom she/he does not want to be matched with [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] (some preferences are
omitted). In this case, a (perfect) matching of all men or women may not exist. A further
extension is represented by problems where it is possible to express the same preference
for more than one possible partner: the problem is usually named as “SM with ties” [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]
(SMT). In this case, three stability notions are proposed in the literature [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]:
– given (mi, w j) and (mk, wz), in a super stable matching a pair (mi, wz) is blocking
iff p(mi, wz) S p(mi, w j) ^ p(wz, mi) S p(wz, mk);2
– in a strongly stable matching a pair (mi, wz) is blocking iff p(mi, wz) &gt;S p(mi, w j) ^
p(wz, mi) S p(wz, mk) or p(mi, wz) S p(mi, w j) ^ p(wz, mi) &gt;S p(wz, mk);
– in a weakly stable matching a pair (mi, wz) is blocking iff p(mi, wz) &gt;S p(mi, w j) ^
p(wz, mi) &gt;S p(wz, mk).
      </p>
      <p>
        The solution of SMTI problems is proved to be an NP-complete problem [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
1 Simply a cost that combines the preferences of both men and women.
2 S means “better than”, according to a c-semiring S (see Sect. 3).
      </p>
    </sec>
    <sec id="sec-3">
      <title>Preference on Arguments</title>
      <p>
        In this section we model the three optimality criteria in Sect. 2 by labelling arguments
with weights as performed in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. We use c-semirings and their operators to model
preference values and find the best stable extension.
      </p>
      <p>
        A c-semiring is an algebraic structure to model preferences, generically defined by
the tuple S = hS, , ⌦ , ? , &gt;i. The idempotency of leads to the definition of a partial
ordering  S over the set S (S is a poset). Such a partial order is defined as s  S t if and
only if s t = t, and returns the least upper bound of s and t. This intuitively means
that t is “better” than s. is used to compose values, while ? , &gt; 2 S represent the best
and worst preference respectively [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>All criteria can be captured by using a c-semiring and a side function f : S ⇥ S ! S
that we use to compose p(mi, w j) and p(w j, mi). We use f to find the overall preference
if we match mi with w j, i.e., if (mi, w j) 2 MT, that is the combined
man-woman/womanman preference. The general parametric formula is:</p>
      <p>M
0</p>
      <p>
        By embedding the Weighted c-semiring hR+ [ { +• }, min, +, +• , 0i and with f ⌘
+ (the arithmetic addition) we obtain the egalitarian cost in Eq. 1. By instead
using the Fuzzy c-semiring h[
        <xref ref-type="bibr" rid="ref1">0, 1</xref>
        ], max, min, 0, 1i and f ⌘ max, we can exactly model
the regret cost in Eq. 2. Moreover, we can also represent man and woman
optimality (thus obtaining the best solution for either men or women) by using the Weighted
c-semiring hR+ [ { +• }, min, +, +• , 0i, and a function f that always return the first
(man-optimal) or second (woman-optimal) component of the considered couple of
preferences. For men-optimality: fmo(p(mi, w j), p(w j, mi)) ! p(mi, w j), and for
womenoptimality: fwo(p(mi, w j), p(w j, mi)) ! p(w j, mi).
      </p>
      <p>We formally encode OSMTI to weighted AFs in Def. 1. In Tab. 1 we represent a
SMTIS problem in tabular form, considering a (Weighted) semiring S:
Definition 1 (OSMTI to weighted frameworks). Given a SMTIS, a c-semiring S =
hS, , ⌦ , ? , &gt;i, and preference composition operator f : S ⇥ S ! S, a
correspondw1 w2 w3 w4 w5 w6
m1 1 4 - 5 5 3
m2 3 4 6 1 5 2
m3 1 - 4 2 3 5
m4 6 1 3 4 2 1
m5 3 1 2 4 5 6
m6 3 3 1 6 5 4
ing weighted argumentation framework is Args = {(m ⇥ w) | m 2 M, w 2 W, p(m, w) #
^ p(w, m) #}, and R ✓ Args ⇥ Args s.t. R((mk, wl ), (mi, w j)) iff
– i = k and p(mi, wl ) S p(mi, w j), or
– j = l and p(w j, mk) S p(w j, mi).
and each argument (mi, w j) in the obtained framework is labelled with a preference
given by f (p(mi, w j), p(w j, mi).</p>
      <p>Having defined a framework as in the above definition, we now declare how to reach
optimality according to the different proposed criteria.</p>
      <p>Proposition 1 (Modelling criteria with c-semirings). The best solution according
to , found by composing the preference values of arguments using ⌦ on the stable
extensions found by Definition 1, optimises the
egalitarian cost: by using f ⌘ + and the Weighted c-semiring;
regret cost: by using f ⌘ max and the Fuzzy c-semiring;
man-optimality: by using f ⌘ fmo and the Weighted c-semiring;
woman-optimality: by using f ⌘ fwo and the Weighted c-semiring.</p>
      <p>Note that sex-equalness cannot be locally modelled by costs on single arguments,
since it is the global satisfaction of men and women whose difference is minimised. In
this case, arguments can be labelled with a couple hp(mi, w j), p(w j, mi)i. By
composing such preference with a Cartesian product of two Weighted c-semiring,3 in the end
all stable extensions will have a cost of hÂ (mi,w j)2 MT p(mi, w j), Â (mi,w j)2 MT p(w j, m j)i,
which can be finally optimised to find the sex-equalness cost.</p>
      <p>Four weakly-stable matchings (see Sect. 3) can be found the example in Fig. 1:
– MT1 = {(m1, w1), (m2, w2), (m3, w4), (m4, w5), (m5, w6), (m6, w3)},
– MT2 = {(m1, w1), (m2, w2), (m3, w4), (m4, w6), (m5, w5), (m6, w3)},
– MT3 = {(m1, w1), (m2, w2), (m3, w4), (m4, w3), (m5, w6), (m6, w5)},
– MT4 = {(m1, w1), (m2, w6), (m3, w4), (m4, w2), (m5, w5), (m6, w3)}.</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion</title>
      <p>
        In this paper we elaborated one of the directions pioneered in the ’95 seminal work by
P.M. Dung [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]: the strong ties between Abstract Argumentation (and better, the stable
semantics) and the Stable Marriage problem. As far as we know, except for Dung’s
paper, this topic was not investigated in successive studies.
      </p>
      <p>
        In the future we plan to study closely related problems: examples are the Stable
Roommates (all participants belong to a single pool, not divided into different sexes),
the hospitals/residents (a hospital can accept more than one resident), or the assignment
problem, which consists of finding, in a weighted bipartite graph, a matching in which
the sum of weights of the edges is as large as possible. A connection to previous works
on the formation of argument coalitions is also possible [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Bistarelli</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pirolandi</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santini</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Solving weighted argumentation frameworks with soft constraints</article-title>
          .
          <source>In: Recent Advances in Constraints, Revised Selected Papers. LNCS</source>
          , vol.
          <volume>6384</volume>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>18</lpage>
          . Springer (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Bistarelli</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santini</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Coalitions of arguments: An approach with constraint programming</article-title>
          .
          <source>Fundam. Inform</source>
          .
          <volume>124</volume>
          (
          <issue>4</issue>
          ),
          <fpage>383</fpage>
          -
          <lpage>401</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Dung</surname>
            ,
            <given-names>P.M.</given-names>
          </string-name>
          :
          <article-title>On the acceptability of arguments and its fundamental role in nonmonotonic reasoning, logic programming and n-person games</article-title>
          .
          <source>Artif. Intell</source>
          .
          <volume>77</volume>
          (
          <issue>2</issue>
          ),
          <fpage>321</fpage>
          -
          <lpage>357</lpage>
          (
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Gale</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shapley</surname>
            ,
            <given-names>L.S.:</given-names>
          </string-name>
          <article-title>College admissions and the stability of marriage</article-title>
          .
          <source>The American Mathematical Monthly</source>
          <volume>69</volume>
          (
          <issue>1</issue>
          ),
          <fpage>9</fpage>
          -
          <lpage>15</lpage>
          (
          <year>1962</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Gusfield</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Three fast algorithms for four problems in stable marriage</article-title>
          .
          <source>SIAM J. Comput</source>
          .
          <volume>16</volume>
          (
          <issue>1</issue>
          ),
          <fpage>111</fpage>
          -
          <lpage>128</lpage>
          (
          <year>1987</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Gusfield</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Irving</surname>
            ,
            <given-names>R.W.:</given-names>
          </string-name>
          <article-title>The stable marriage problem: structure and algorithms</article-title>
          . MIT Press, Cambridge, MA, USA (
          <year>1989</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Irving</surname>
            ,
            <given-names>R.W.</given-names>
          </string-name>
          , L.,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Gusfield</surname>
          </string-name>
          ,
          <string-name>
            <surname>D.:</surname>
          </string-name>
          <article-title>An efficient algorithm for the “optimal” stable marriage</article-title>
          .
          <source>J. ACM</source>
          <volume>34</volume>
          (
          <issue>3</issue>
          ),
          <fpage>532</fpage>
          -
          <lpage>543</lpage>
          (
          <year>1987</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Iwama</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Miyazaki</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>A survey of the stable marriage problem and its variants</article-title>
          . In: International Conference on Informatics Education and
          <article-title>Research for Knowledge-Circulating Society</article-title>
          (icks
          <year>2008</year>
          ). pp.
          <fpage>131</fpage>
          -
          <lpage>136</lpage>
          . IEEE Computer Society (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Iwama</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Miyazaki</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yanagisawa</surname>
          </string-name>
          , H.:
          <article-title>Approximation algorithms for the sex-equal stable marriage problem</article-title>
          .
          <source>In: Algorithms and Data Structures</source>
          , 10th International Workshop, WADS. LNCS, vol.
          <volume>4619</volume>
          , pp.
          <fpage>201</fpage>
          -
          <lpage>213</lpage>
          . Springer (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Knuth</surname>
            ,
            <given-names>D.E.</given-names>
          </string-name>
          :
          <article-title>Stable marriage and its relation to other combinatorial problems: An introduction to the mathematical analysis of algorithms</article-title>
          .
          <source>American Mathematical Society</source>
          (
          <year>1997</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>