=Paper= {{Paper |id=Vol-3419/paper3 |storemode=property |title=Pareto and Majority Voting in mCP-nets |pdfUrl=https://ceur-ws.org/Vol-3419/paper3.pdf |volume=Vol-3419 |authors=Thomas Lukasiewicz,Enrico Malizia |dblpUrl=https://dblp.org/rec/conf/aiia/LukasiewiczM22 }} ==Pareto and Majority Voting in mCP-nets== https://ceur-ws.org/Vol-3419/paper3.pdf
Pareto and Majority Voting in ๐‘šCP-netsโ‹†
Thomas Lukasiewicz1,2 , Enrico Malizia3
1
  Department of Computer Science, University of Oxford, UK
2
  Institute of Logic and Computation, TU Wien, Austria
3
  DISI, University of Bologna, Italy


                                      Abstract
                                      Aggregating preferences over combinatorial domains has several applications in AI. Due to the exponen-
                                      tial nature of combinatorial preferences, compact representations are needed, and CP-nets are among
                                      the most studied formalisms. ๐‘šCP-nets are an intuitive formalism based on CP-nets to reason about
                                      preferences of groups of agents. The dominance semantics of ๐‘šCP-nets is based on voting, and different
                                      voting schemes give rise to different dominance semantics for the group. Unlike CP-nets, which received
                                      an extensive complexity analysis, ๐‘šCP-nets, as reported multiple times in the literature, lacked such a
                                      thorough characterization. In this paper, we start to fill this gap by carrying out a precise computational
                                      complexity analysis of Pareto and majority voting on acyclic binary polynomially-connected ๐‘šCP-nets.

                                      Keywords
                                      Combinatorial preferences, Preference aggregation, CP-nets, Majority voting, Computational complexity




1. Introduction
Managing and aggregating agent preferences have attracted extensive interest for their im-
portance in AI applications, such as recommender systems [2], product configuration [3],
planning [4], preference-based constraint satisfaction [5], preference-based query answer-
ing/information retrieval [6, 7, 8], and preference-based argumentations [9]. In computer
science, preference aggregation has often been based on social choice theory [10]. In this theory,
agentsโ€™ preferences are usually extensively represented. Although this is reasonable with a
small set of candidates, this is not feasible with combinatorial domains, i.e., when the set of
candidates, or outcomes, is the Cartesian product of finite-value domains for each of a set of
features [11, 12]. Combinatorial domains contain an exponential number of outcomes in the
number of features, and hence compact representations are needed [11, 12]. CP-nets [13] are
among the most studied of these representations, and have also been used in applications even
in learning scenarios [14, 15]. In CP-nets, vertices of a graph represent features, and an edge
from vertex ๐ด to vertex ๐ต models the influence of ๐ดโ€™s value on the choice of ๐ตโ€™s value. This
model captures conditional ceteris paribus preferences like โ€œif the rest of the dinner is the same,
with a fish dish (๐ดโ€™s value), I prefer a white wine (๐ตโ€™s value)โ€.


Discussion Papers - 21st International Conference of the Italian Association for Artificial Intelligence (AIxIA 2022)
โ‹†
 This is an abridged version of the AIJ paper [1].
$ thomas.lukasiewicz@cs.ox.ac.uk (T. Lukasiewicz); enrico.malizia@unibo.it (E. Malizia)
 0000-0002-7644-1668 (T. Lukasiewicz); 0000-0002-6780-4711 (E. Malizia)
                                    ยฉ 2022 Copyright for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0).
    CEUR
                      ceur-ws.org
    Workshop
    Proceedings
                  ISSN 1613-0073
                                    CEUR Workshop Proceedings (CEUR-WS.org)
                                                              (b) The CP-netโ€™s induced prefer-
            (a) A CP-net modeling dinner preferences.             ence graph.
Figure 1: A CP-net and its preference graph.


Example 1. Assume that we want to model oneโ€™s preferences for a dinner with a main dish
and a wine [13]. In the CP-net in Figure 1a, an edge from vertex Main to vertex Wine models
that the value of feature Main influences the choice of the value of feature Wine: ๐‘š and ๐‘“ are
the possible values of feature Main, denoting โ€œ๐‘šeatโ€ and โ€œ๐‘“ ishโ€, respectively, while ๐‘Ÿ and ๐‘ค
are the possible values of feature Wine, denoting โ€œ๐‘Ÿed (wine)โ€ and โ€œ๐‘คhite (wine)โ€, respectively.
The table associated with feature Wine specifies that when a meat dish is chosen, then a red
wine is preferred to a white one, and when a fish main is chosen, then a white wine is preferred
to a red wine. The table associated with feature Main indicates that a meat dish is preferred to
a fish one. These tables are called CP tables. A CP-net like this one can represent the conditional
ceteris paribus preference โ€œgiven that the rest of the dinner does not change, with a meat dish
(Mainโ€™s value), I prefer a red wine (Wineโ€™s value)โ€.
   Every CP-net has an associated induced preference graph [13], whose vertices are all the
possible outcomes of the domain, and whose edges connect outcomes differing on only one
value: there is a directed edge from an outcome to another if the latter is preferred to the former
according to the preferences encoded in the CP tables of the CP-net. Figure 1b shows the induced
preference graph of the CP-net in Figure 1a, having as vertices all the possible combinations
for the dinner, and there is, e.g., an edge from mw to mr , because the combination meat and
red wine is preferred to the combination meat and white wine. The preferences encoded in a
CP-net are the transitive closure of its induced preference graph. Intuitively, an outcome ๐›ผ is
preferred to an outcome ๐›ฝ according to the preferences of a CP-net, if there is a directed path
from ๐›ฝ to ๐›ผ in the induced preference graph, in which case ๐›ผ is said to dominate ๐›ฝ.              โ—

   CP-nets were also used to model preferences of groups, obtaining the multi-agent model
๐‘šCP-nets [16], which is a profile of CP-nets, one for each agent. The preference semantics
of ๐‘šCP-nets is defined via voting schemes: through its own individual CP-net, every agent
votes whether an outcome is preferred to another. Various voting schemes were proposed for
๐‘šCP-nets [16, 17], and different voting schemes give rise to different dominance semantics for
๐‘šCP-nets. In this paper, we consider Pareto and majority voting as they were defined in [16].

Example 2. Consider again the dinner scenario of Example 1, and assume that there are three
agents (Alice, Bob, and Chuck), expressing their preferences via CP-nets (see Figure 2). In Pareto
voting, an outcome ๐›ผ dominates an outcome ๐›ฝ, if all agents prefers ๐›ผ to ๐›ฝ. In majority voting,
an outcome ๐›ผ dominates an outcome ๐›ฝ, if the majority of agents prefers ๐›ผ to ๐›ฝ.
  The outcome fr is not Pareto optimal, because fr is Pareto dominated by ๐‘š๐‘Ÿ, i.e., the outcome
๐‘š๐‘Ÿ is preferred to fr by all agents. The outcome ๐‘š๐‘ค is instead Pareto optimal, as there is no
Figure 2: Dinner preferences of Alice, Bob, and Chuck (in this order) modeled via CP-nets (above) and
their induced preference graphs (below).


outcome Pareto dominating ๐‘š๐‘ค. Hence, from a Pareto perspective, ๐‘š๐‘ค is better than fr . The
outcome ๐‘š๐‘ค, however, is not majority optimal, because ๐‘š๐‘Ÿ majority dominates ๐‘š๐‘ค (Alice and
Chuck prefer ๐‘š๐‘Ÿ to ๐‘š๐‘ค). Conversely, ๐‘š๐‘Ÿ is majority optimal, as there is no outcome majority
dominating ๐‘š๐‘Ÿ. Hence, from a majority perspective, ๐‘š๐‘Ÿ is better than ๐‘š๐‘ค. Moreover, again
according to the majority perspective, ๐‘š๐‘Ÿ is a very good outcome, because ๐‘š๐‘Ÿ is also majority
optimum, i.e., ๐‘š๐‘Ÿ majority dominates all other outcomes. On the contrary, in this example,
there is no Pareto optimum outcome, i.e., there is no outcome Pareto dominating all the others.โ—
   Unlike CP-nets, which were extensively analyzed, a precise complexity analysis of the group
dominance semantics in ๐‘šCP-nets was missing for long time, as explicitly mentioned several
times in the literature [18, 19, 20, 17]. Our aim in this paper is to settle these problems in their
exact complexity classes, showing, if possible, completeness results.
   In particular, we focus on acyclic binary polynomially-connected ๐‘šCP-nets (see Section 2
for these notions) built with standard CP-nets. Unlike what is often assumed in the literature,
in this work, we do not restrict the profiles of CP-nets to be ๐’ช-legal, meaning that we do
not require that there is a topological ordering common to all the CP-nets of the profile. We
carry out a thorough complexity analysis for the (a) Pareto and (b) majority voting schemes, as
defined in [16], of deciding (1) dominance, (2) optimal and (3) optimum outcomes, and (4) the
existence of optimal and (5) optimum outcomes. Deciding the dominance for a voting scheme ๐‘ 
means deciding, given two outcomes, whether one dominates the other according to ๐‘ . Deciding
whether an outcome is optimal or optimum for a voting scheme ๐‘  means deciding whether the
outcome is not dominated or dominates all others, respectively, according to ๐‘ . Deciding the
existence of optimal and optimum outcomes is the natural extension of the previous problems.
A summary of the complexity results obtained is provided in Table 1.
   We obtain many intractability results, where the problems are put at various levels of the
Polynomial Hierarchy. Although intractability is usually โ€œbadโ€ news, these results are quite
interesting, as for most of these tasks only exp upper bounds were known in the literature to
date [16]. Even more interestingly, some of these problems are actually tractable, as they are in
p or even logspace, which is a huge leap from exp. The complexity results here shown can be
extended to wider notions of โ€œcompact representationsโ€ of preference profiles [1, 21].
Table 1
Summary of the complexity results. *A different proof is provided in [16].
                                     Problem                    Complexity
                                     Pareto-Dominance            np-complete




                          Pareto
                                     Is-Pareto-Optimal         co-np-complete
                                     Exists-Pareto-Optimal           ฮ˜(1)*
                                     Is-Pareto-Optimum           in logspace
                                     Exists-Pareto-Optimum            in p
                          Majority   Majority-Dominance          np-complete
                                     Is-Majority-Optimal       co-np-complete
                                     Exists-Majority-Optimal    ฮฃp2 -complete
                                     Is-Majority-Optimum        ฮ p2 -complete
                                     Exists-Majority-Optimum    ฮ p2 -hard, in dp2


  In Section 2, we provide definitions of the framework. In Section 3 and in Section 4 we discuss
our results for Pareto and majority voting, respectively. Full proof details are available in [1].


2. Preliminaries
CP-nets. A CP-net N is a triple โŸจ๐’ขN , Dom N , (CPT ๐นN )๐น โˆˆโ„ฑN โŸฉ, where ๐’ขN = โŸจโ„ฑN , โ„ฐN โŸฉ is a
directed graph whose vertices โ„ฑN represent the features of the combinatorial domain, Dom N
is a function, and (CPT ๐นN )๐น โˆˆโ„ฑN is a family of functions. For a feature ๐น , Dom N associates a
(value) domain Dom N (๐น ) with ๐น , while CPT ๐นN is the so called โ€œCP tableโ€ of ๐น .
    Feature ๐น โ€™s domain is the set of values that ๐น may have in the outcomes. Here, we assume
features to be binary, i.e., each featureโ€™s domain contains two values. We denote by ๐‘“ and ๐‘“ the
two values of ๐น . For a feature set ๐’ฎ โІ โ„ฑN , Dom N (๐’ฎ) = ร—๐น โˆˆ๐’ฎ Dom N (๐น ). An outcome is an
element of the set ๐’ชN = Dom N (โ„ฑN ). For a feature ๐น โˆˆ โ„ฑN and an outcome ๐›ผ, ๐›ผ[๐น ] is ๐น โ€™s
value in ๐›ผ. For a feature set ๐’ฎ โІ โ„ฑN and an outcome ๐›ผ, ๐›ผ[๐’ฎ] is the projection of ๐›ผ over ๐’ฎ.
    CP tables encode preferences over feature values. The CP table of feature ๐น has a row for
any possible combination of values of all the parent features of ๐น in ๐’ขN ; in each row there
is a total order over Dom N (๐น ). This order encodes agentโ€™s preferences for ๐น โ€™s values when
specific values of ๐น โ€™s parents are considered: ๐‘“ โ‰ป ๐‘“ denotes ๐‘“ being preferred to ๐‘“ . If ๐น has
no parents, its CP table has only one row with a total order over Dom N (๐น ). We denote by
โ€–N โ€– the size of CP-net N , i.e., the space in terms of bits required to represent the whole net N
(including, features, links, feature domains, and CP tables).
    CP-netsโ€™ preference semantics is based on โ€œimproving flipsโ€. Let ๐น be a feature, and let ๐›ผ, ๐›ฝ
be two outcomes differing only on ๐น โ€™s value. Flipping ๐น from ๐›ผ[๐น ] to ๐›ฝ[๐น ] is an improving flip
iff, in the row of ๐น โ€™s CP table associated with the values in ๐›ผ of the parents of ๐น , ๐›ฝ[๐น ] โ‰ป ๐›ผ[๐น ].
Outcome ๐›ฝ is preferred to ๐›ผ, or ๐›ฝ dominates ๐›ผ (in N ), denoted ๐›ฝ โ‰ปN ๐›ผ, iff there is a sequence
of improving flips from ๐›ผ to ๐›ฝ, otherwise ๐›ฝ does not dominate ๐›ผ, denoted ๐›ฝ ฬธโ‰ปN ๐›ผ; ๐›ฝ and ๐›ผ
are incomparable, denoted ๐›ฝ โ—โ–ทN ๐›ผ, iff ๐›ฝ ฬธโ‰ปN ๐›ผ and ๐›ผ ฬธโ‰ปN ๐›ฝ.
    A CP-net N is binary iff all its features are binary; N is singly connected iff, for any two
features ๐บ and ๐น of N , there is at most one path from ๐บ to ๐น in ๐’ขN . A class F of CP-nets is
polynomially-connected iff there exists a polynomial ๐‘ such that, for any CP-net N โˆˆ F and for
any two features ๐บ and ๐น of N , there are at most ๐‘(โ€–N โ€–) distinct paths from ๐บ to ๐น in ๐’ขN . A
CP-net N is acyclic iff ๐’ขN is acyclic. Acyclic CP-nets N have a unique optimum outcome oN ,
dominating all others, that can be computed in polynomial time [13]. Unless stated otherwise,
we consider acyclic binary CP-nets.
๐‘šCP-nets. An ๐‘šCP-net is a tuple of ๐‘š CP-nets defined over the same set of features having,
in turn, the same domain. The โ€œ๐‘šโ€ of an ๐‘šCP-net is the agentsโ€™ number, so a 3CP-net is an
๐‘šCP-net with ๐‘š = 3. Originally, partial CP-nets were allowed to constitute ๐‘šCP-nets [16].
Here, we assume only standard CP-nets in ๐‘šCP-nets, and CP-nets do not need to be ๐’ช-legal
(i.e., we de not assume that the CP-nets of an ๐‘šCP-net have a common topological ordering).
๐‘šCP-netsโ€™ semantics is based on voting. Let โ„ณ = โŸจN1 , . . . , N๐‘š โŸฉ be an ๐‘šCP-net, and let ๐›ผ, ๐›ฝ
                               โ‰ป                              โ‰บ
be two outcomes. The sets ๐‘†โ„ณ      (๐›ผ, ๐›ฝ) = {๐‘– | ๐›ผ โ‰ปN๐‘– ๐›ฝ}, ๐‘†โ„ณ    (๐›ผ, ๐›ฝ) = {๐‘– | ๐›ผ โ‰บN๐‘– ๐›ฝ}, and
   โ—โ–ท
๐‘†โ„ณ (๐›ผ, ๐›ฝ) = {๐‘– | ๐›ผ โ—โ–ทN๐‘– ๐›ฝ}, are the sets of agents preferring ๐›ผ to ๐›ฝ, preferring ๐›ฝ to ๐›ผ, and for
which ๐›ผ and ๐›ฝ are incomparable, respectively. The dominance semantics considered are [16]:

Pareto: ๐›ฝ Pareto dominates ๐›ผ, denoted by ๐›ฝ โ‰ปpโ„ณ ๐›ผ, iff all the agents of โ„ณ prefer ๐›ฝ to ๐›ผ, i.e.,
       โ‰ป
     |๐‘†โ„ณ (๐›ฝ, ๐›ผ)| = ๐‘š.

Majority: ๐›ฝ majority dominates ๐›ผ, denoted by ๐›ฝ โ‰ปmaj โ„ณ ๐›ผ, iff the majority of the agents of โ„ณ
                            โ‰ป             โ‰บ             โ—โ–ท (๐›ฝ, ๐›ผ)|.
    prefers ๐›ฝ to ๐›ผ, i.e., |๐‘†โ„ณ (๐›ฝ, ๐›ผ)| > |๐‘†โ„ณ (๐›ฝ, ๐›ผ)| + |๐‘†โ„ณ

For a voting scheme ๐‘ , an outcome ๐›ผ is ๐‘  optimal in โ„ณ iff ๐›ฝ ฬธโ‰ปsโ„ณ ๐›ผ for all ๐›ฝ ฬธ= ๐›ผ, whereas ๐›ผ is
๐‘  optimum in โ„ณ iff ๐›ผ โ‰ปsโ„ณ ๐›ฝ for all ๐›ฝ ฬธ= ๐›ผ. Optimum outcomes, if they exist, are unique.
   An ๐‘šCP-net is acyclic, binary, and singly connected, iff all its CP-nets are acyclic, binary, and
singly connected, respectively. A class F of ๐‘šCP-nets is polynomially-connected iff the set of
CP-nets constituting the ๐‘šCP-nets in F is polynomially-connected. Unless stated otherwise,
๐‘šCP-nets here considered are acyclic, binary, and belong to polynomially-connected classes.


3. Complexity of Pareto voting on ๐‘šCP-nets
We now focus on Pareto voting. Being based on the concept of unanimity, an np witness for an
outcome Pareto dominating another outcome is the set of the witnesses of all agents preferring
one to the other (for the class of (๐‘š)CP-nets here considered, dominance check is known to be
np-complete [13]). For the hardness, on 1CP-nets, โ‰ปp and โ‰ป are equivalent.

Theorem 3. Let โ„ณ be an ๐‘šCP-net, and let ๐›ผ, ๐›ฝ be two outcomes. Deciding whether ๐›ฝ โ‰ปpโ„ณ ๐›ผ is
np-complete. Hardness holds even on 1CP-nets.

   Consider the problem of deciding whether a given outcome ๐›ผ is Pareto optimal for a given
๐‘šCP-net โ„ณ. We can disprove ๐›ผ being Pareto optimal by guessing an outcome ๐›ฝ along with
the witness that ๐›ฝ โ‰ปpโ„ณ ๐›ผ, and checking the witness (in np, see Theorem 3). For the hardness, it
is possible to provide a reduction from unsatisfiability of 3CNF Boolean formulas.

Theorem 4. Let โ„ณ be an ๐‘šCP-net, and let ๐›ผ be an outcome. Deciding whether ๐›ผ is Pareto
optimal in โ„ณ is co-np-complete. Hardness holds even on 2CP-nets.
   Deciding whether an ๐‘šCP-net has a Pareto optimal outcome is trivial, because there is always
one. Indeed, if this were not the case, then the optimal outcomes of the single CP-nets would be
dominated by some other outcome, which would be a contradiction. An ๐‘šCP-net has a Pareto
optimum outcome iff all its CP-nets have the very same individual optimal outcome (that is
also Pareto optimum). Indeed, to be Pareto optimum, an outcome has to dominate all other
outcomes in all the CP-nets of the ๐‘šCP-net: this property is satisfied only by an outcome that is
the optimum in all the CP-nets of the ๐‘šCP-net. By combining this with the fact that checking
the optimality of an outcome in a CP-net is in logspace [1], we can state the following.
Theorem 5. Let โ„ณ be an ๐‘šCP-net. Deciding whether an outcome ๐›ผ is Pareto optimum in โ„ณ is
in logspace; deciding whether โ„ณ has a Pareto optimum outcome is in p.


4. Complexity of majority voting on ๐‘šCP-nets
In this section, we deal with majority voting. It is possible to design four different acyclic binary
singly-connected CP-nets with the following dominance relationships: ๐‘Ž๐‘ โ‰ปN1 ๐‘Ž๐‘ โ‰ปN1 ๐‘Ž๐‘ โ‰ปN1
๐‘Ž๐‘; ๐‘Ž๐‘ โ‰ปN2 ๐‘Ž๐‘ โ‰ปN2 ๐‘Ž๐‘ โ‰ปN2 ๐‘Ž๐‘; ๐‘Ž๐‘ โ‰ปN3 ๐‘Ž๐‘ โ‰ปN3 ๐‘Ž๐‘ โ‰ปN3 ๐‘Ž๐‘; and ๐‘Ž๐‘ โ‰ปN4 ๐‘Ž๐‘ โ‰ปN4 ๐‘Ž๐‘ โ‰ปN4 ๐‘Ž๐‘.
Interestingly, the 4CP-net constituted by the four above nets do not have majority optimal and
optimum outcomes. Therefore, we can state the following.
Theorem 6. There are acyclic binary singly-connected ๐‘šCP-nets not having majority optimal
and optimum outcomes.
   Let us now focus on majority dominance. Observe that ๐›ฝ โ‰ปmaj              โ‰ป            ๐‘š
                                                                โ„ณ ๐›ผ iff |๐‘†โ„ณ (๐›ฝ, ๐›ผ)| > 2 . Hence,
a certificate consists in the witnesses of at least ๐‘š
                                                    2 agents preferring ๐›ฝ to ๐›ผ (which is in np; see
above). On the hardness side, on 1CP-nets, โ‰ปmaj equals โ‰ป (which is np-hard; see above).
Theorem 7. Let โ„ณ be an ๐‘šCP-net, and let ๐›ผ, ๐›ฝ be two outcomes. Deciding whether ๐›ฝ โ‰ปmaj
                                                                                  โ„ณ ๐›ผ is
np-complete. Hardness holds even on 1CP-nets.
  For the majority optimal problem, to test that an outcome ๐›ผ is not majority optimal, we
guess an outcome ๐›ฝ and the witness of ๐›ฝ โ‰ปmaj
                                         โ„ณ ๐›ผ (in np, see Theorem 7). For the hardness, on
2CP-nets, โ‰ป maj      p
                and โ‰ป are equivalent.
Theorem 8. Let โ„ณ be an ๐‘šCP-net. Deciding whether an outcome ๐›ผ is a majority optimal in โ„ณ
is co-np-complete. Hardness holds even on 2CP-nets.
   We now focus on deciding the existence of majority optimal outcomes. We can test in ฮฃp2
that โ„ณ has a majority optimal outcome by guessing an outcome ๐›ผ (in np), and checking that ๐›ผ
is majority optimal (in co-np, see Theorem 8). To prove the respective hardness, an involved
construction showing a reduction from QBF is required.
Theorem 9. Let โ„ณ be an ๐‘šCP-net. Deciding whether โ„ณ has a majority optimal outcome is
ฮฃp2 -complete. Hardness holds even on 6CP-nets.
   Consider the problem of deciding whether an outcome is majority optimum. We can test in ฮฃp2
that ๐›ผ is not majority optimum by guessing an outcome ๐›ฝ (in np) and checking that ๐›ผ ฬธโ‰ปmaj
                                                                                        โ„ณ ๐›ฝ
(in co-np, see Theorem 7). The hardness proof uses similar ideas to those in Theorem 9.
Theorem 10. Let โ„ณ be an ๐‘šCP-net. Deciding whether an outcome ๐›ผ is majority optimum in โ„ณ
is ฮ p2 -complete. Hardness holds even on 3CP-nets.
   We now deal with the problem of deciding the existence for an ๐‘šCP-net of a majority
optimum outcome. First, observe that an outcome, to be majority optimum, must also be
majority optimal. Notice that, when the majority optimum exists, then it is the only majority
optimal outcome. For this reason, an ๐‘šCP-net โ„ณ has a majority optimum outcome if and only
if โ„ณ has majority optimal outcomes and it is not true that โ„ณ has majority optimal outcomes
that are not also majority optimum. Hence, two tasks need to be solved to decide whether an
๐‘šCP-net โ„ณ has a majority optimum outcome: (1) decide whether โ„ณ has majority optimal
outcomes; and (2) decided whether โ„ณ does not have majority optimal outcomes that are not
also optimum. We already know that the complexity of task (1) is in ฮฃp2 (see Theorem 9). The
complexity of task (2) can be shown in ฮ p2 . Indeed, solving the complement of task (2), i.e.,
deciding whether โ„ณ has majority optimal outcomes that are not also optimum, can be shown
in ฮฃp2 . First, we guess two different outcomes ๐›ผ and ๐›ฝ (feasible in np). Then, through a co-np
oracle call, we check that ๐›ผ is actually majority optimal (see Theorem 4), then through another
oracle call in co-np, we check that ๐›ผ ฬธโ‰ปmaj
                                          ๐‘€ ๐›ฝ (see Theorem 7).
   By combining the complexity of these two tasks follows that deciding whether an ๐‘šCP-net
has a majority optimum outcome is in dp2 . The ฮ p2 -hardness of the problem can be shown by
inspection of the reduction for the hardness in Theorem 10.
Theorem 11. Let โ„ณ be an ๐‘šCP-net. Deciding whether โ„ณ has a majority optimum outcome is
in dp2 and is ฮ p2 -hard. Hardness holds even on 3CP-nets.


5. Summary and outlook
We have carried out a thorough complexity analysis of the Pareto and majority semantics in
๐‘šCP-nets. The various problems analyzed here have been put at various levels of the Polynomial
Hierarchy, and some of them are even tractable (in p or logspace). This work was extended
to consider also rank voting and relative majority voting [22, 23, 24], where to analyse the
complexity of the latter a novel characterization of the complexity class ฮ˜p2 was needed [25].
The semantics intractability of (๐‘š)CP-nets has encouraged research to individuate tractable
approximate algorithms for CP-nets dominance [26].
   There are various possible directions for further research. Having constraints on the feasibility
of outcomes is an interesting direction of investigation. Without any constraint, CP-nets model
agentsโ€™ preferences when it is assumed that all outcomes are attainable. However, this is not
always the case. For example, to decide whether an outcome is majority dominated by another,
we should check that the latter is feasible. A similar idea characterized the solution concepts in
NTU cooperative games defined via constraints [27, 28]. This approach could be merged with
the definition of constrained CP-nets [5, 29]. CP-nets offer a rather flexible formalism to express
preferences, and in fact it would be interesting to extend the preference model adopted in the
AI explanation framework [8] to something capable of leveraging the representational power of
CP-nets, and extend this to other explanation frameworks [30, 31, 32]. The model of CP-nets
could also be extended to hypergraphs [33, 34] by following the intuitions provided in [35],
where ceteribus paribus preferences are put in relationship with hypergraphs transversals.
Acknowledgments
This work was supported by UK EPSRC grants EP/J008346/1, EP/L012138/1, and EP/M025268/1,
the Alan Turing Institute under the EPSRC grant EP/N510129/1, and the AXA Research Fund.


References
 [1] T. Lukasiewicz, E. Malizia, Complexity results for preference aggregation over (๐‘š)CP-nets:
     Pareto and majority voting, Artif. Intell. 272 (2019) 101โ€“142.
 [2] F. Ricci, L. Rokach, B. Shapira (Eds.), Recommender Systems Handbook, 2nd ed., Springer,
     New York, NY, USA, 2015.
 [3] R. I. Brafman, C. Domshlak, TCP-nets for preference-based product configuration, in:
     Proc. of the ECAI 2002 Workshop on Configuration, 2002, pp. 101โ€“106.
 [4] R. I. Brafman, Y. Chernyavsky, Planning with goal preferences and constraints, in: Proc.
     of ICAPS, 2005, pp. 182โ€“191.
 [5] C. Boutilier, R. I. Brafman, C. Domshlak, H. H. Hoos, D. Poole, Preference-based constrained
     optimization with CP-nets, Comput. Intell. 20 (2004) 137โ€“157.
 [6] T. Di Noia, T. Lukasiewicz, M. V. Martinez, G. I. Simari, O. Tifrea-Marciuska, Combining
     existential rules with the power of CP-theories, in: Proc. of IJCAI, 2015, pp. 2918โ€“2925.
 [7] M. Calautti, S. Greco, C. Molinaro, I. Trubitsyna, Preference-based inconsistency-tolerant
     query answering under existential rules, Artif. Intell. 312 (2022) art. no. 103772.
 [8] ฤฐ. ฤฐ. Ceylan, T. Lukasiewicz, E. Malizia, C. Molinaro, A. Vaicenaviฤius, Preferred explanations
     for ontology-mediated queries under existential rules, in: Proc. of AAAI, 2021, pp. 6262โ€“
     6270.
 [9] G. Alfano, S. Greco, F. Parisi, I. Trubitsyna, On preferences and priority rules in abstract
     argumentation, in: Proc. of IJCAI, 2022, pp. 2517โ€“2524.
[10] F. Brandt, V. Conitzer, U. Endriss, J. Lang, A. D. Procaccia (Eds.), Handbook of Computa-
     tional Social Choice, Cambridge University Press, New York, NY, USA, 2016.
[11] J. Lang, Logical preference representation and combinatorial vote, Ann. Math Artif. Intel.
     42 (2004) 37โ€“71.
[12] J. Lang, L. Xia, Voting in combinatorial domains, in: F. Brandt, V. Conitzer, U. Endriss,
     J. Lang, A. D. Procaccia (Eds.), Handbook of Computational Social Choice, Cambridge
     University Press, New York, NY, USA, 2016, pp. 197โ€“222.
[13] C. Boutilier, R. I. Brafman, C. Domshlak, H. H. Hoos, D. Poole, CP-nets: A tool for
     representing and reasoning with conditional ceteris paribus preference statements, J. Artif.
     Intell. Res. 21 (2004) 135โ€“191.
[14] J. T. Guerin, T. E. Allen, J. Goldsmith, Learning CP-net preferences online from user
     queries, in: Proc. of ADT, 2013, pp. 208โ€“220.
[15] T. E. Allen, C. Siler, J. Goldsmith, Learning tree-structured CP-nets with local search, in:
     Proc. of FLAIRS, 2017, pp. 8โ€“13.
[16] F. Rossi, K. B. Venable, T. Walsh, ๐‘šCP Nets: Representing and reasoning with preferences
     of multiple agents, in: Proc. of AAAI, 2004, pp. 729โ€“734.
[17] M. Li, Q. B. Vo, R. Kowalczyk, Aggregating multi-valued CP-nets: A CSP-based approach,
     J. Heuristics 21 (2015) 107โ€“140.
[18] J. Lang, Vote and aggregation in combinatorial domains with structured preferences, in:
     Proc. of IJCAI, 2007, pp. 1366โ€“1371.
[19] M. Li, Q. B. Vo, R. Kowalczyk, An effcient majority-rule-based approach for collective
     decision making with CP-nets, in: Proc. of KR, 2010, pp. 578โ€“580.
[20] M. Li, Q. B. Vo, R. Kowalczyk, An efficient procedure for collective decision-making with
     CP-nets, in: Proc. of ECAI, 2010, pp. 375โ€“380.
[21] G. Greco, E. Malizia, L. Palopoli, F. Scarcello, The complexity of the nucleolus in compact
     games, ACM Trans. Comput. Theory 7 (2014) 3:1โ€“3:52.
[22] T. Lukasiewicz, E. Malizia, On the complexity of ๐‘šCP-nets, in: Proc. of AAAI, 2016, pp.
     558โ€“564.
[23] E. Malizia, More complexity results about reasoning over (๐‘š)CP-nets, in: Proc. of AAMAS,
     2018, pp. 1540โ€“1548.
[24] T. Lukasiewicz, E. Malizia, Complexity results for preference aggregation over (๐‘š)CP-nets:
     Max and rank voting, Artif. Intell. 303 (2022) art. no. 103636.
[25] T. Lukasiewicz, E. Malizia, A novel characterization of the complexity class ฮ˜๐‘ƒ๐‘˜ based on
     counting and comparison, Theor. Comput. Sci. 694 (2017) 21โ€“33.
[26] T. E. Allen, J. Goldsmith, H. E. Justice, N. Mattei, K. Raines, Uniform random generation
     and dominance testing for CP-nets, J. Artif. Intell. Res. 59 (2017) 771โ€“813.
[27] E. Malizia, L. Palopoli, F. Scarcello, Infeasibility certificates and the complexity of the core
     in coalitional games, in: Proc. of IJCAI, 2007, pp. 1402โ€“1407.
[28] G. Greco, E. Malizia, L. Palopoli, F. Scarcello, Non-transferable utility coalitional games
     via mixed-integer linear constraints, J. Artif. Intell. Res. 38 (2010) 633โ€“685.
[29] S. D. Prestwich, F. Rossi, K. B. Venable, T. Walsh, Constraint-based preferential optimization,
     in: Proc. of AAAI, 2005, pp. 461โ€“466.
[30] ฤฐ. ฤฐ. Ceylan, T. Lukasiewicz, E. Malizia, A. Vaicenaviฤius, Explanations for ontology-
     mediated query answering in description logics, in: Proc. of ECAI, 2020, pp. 672โ€“679.
[31] T. Lukasiewicz, E. Malizia, C. Molinaro, Explanations for inconsistency-tolerant query
     answering under existential rules, in: Proc. of AAAI, 2020, pp. 2909โ€“2916.
[32] T. Lukasiewicz, E. Malizia, C. Molinaro, Explanations for negative query answers under
     inconsistency-tolerant semantics, in: Proc. of IJCAI, 2022, pp. 2705โ€“2711.
[33] G. Gottlob, E. Malizia, Achieving new upper bounds for the hypergraph duality problem
     through logic, in: Proc. of LICS, 2014, pp. 43:1โ€“43:10.
[34] G. Gottlob, E. Malizia, Achieving new upper bounds for the hypergraph duality problem
     through logic, SIAM J. Comput. 47 (2018) 456โ€“492.
[35] S. Obiedkov, Parameterized ceteris paribus preferences over atomic conjunctions under
     conservative semantics, Theor. Comput. Sci. 658 (2017) 375โ€“390.