<!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>Budget Allocation in Binary Opinion Dynamics</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Susana Iglesias Rey</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Patricio Reyes</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alonso Silva</string-name>
          <email>@nokia-bell-labs.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Proceedings of the Spring School of Networks, Pucón, Chile,</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Nokia Bell Labs, Nokia Paris-Saclay</institution>
          ,
          <addr-line>Route de Villejust, 91620 Nozay</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Nokia Bell Labs, Nokia Paris-Saclay</institution>
          ,
          <addr-line>Route de Villejust, 91620 Nozay, France, alonso.silva</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>October 2017.</institution>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Technological Institute for, Industrial Mathematics</institution>
          ,
          <addr-line>(ITMATI)</addr-line>
          ,
          <institution>University of</institution>
          ,
          <addr-line>Santiago de Compostela, Santiago de Compostela</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this article we study the allocation of a budget to promote an opinion in a group of agents. We assume that their opinion dynamics are based on the well-known voter model. We are interested in finding the most efficient use of a budget over time in order to manipulate a social network. We address the problem using the theory of discounted Markov decision processes. Our contributions can be summarized as follows: (i) we introduce the discounted Markov decision process in our cases, (ii) we present the corresponding Bellman equations, and, (iii) we solve the Bellman equations via backward programming. This work is a step towards providing a solid formulation of the budget allocation in social networks.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        During the last decades a lot of research effort has
been devoted to model the underlying process of
opinion formation of agents that interact through a social
network. In this respect, DeGroot’s [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] or
FriedkinJohnsen’s [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] models are classic references. Another
classic model is the voter model [
        <xref ref-type="bibr" rid="ref4 ref9">4, 9</xref>
        ] which considers
that each agent holds a binary opinion, 0 or 1, and at
each time step, each agent chooses one of its neighbors
at random and adopts that opinion as its own. Other
works, based on the voter model, incorporate stubborn
agents [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], and biased agents [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. Moreover, the last
Copyright © by the paper’s authors. Copying permitted for
private and academic purposes.
few years there has been an increasing literature about
manipulation of opinion in social networks [
        <xref ref-type="bibr" rid="ref11 ref6 ref7">6, 7, 11</xref>
        ].
      </p>
      <p>In this work, we are interested in finding the most
efficient use over time of a budget in order to
manipulate a social network. The idea is to promote an
opinion by paying agents to supplant their true opinions.
We model opinions as two values, 0 or 1, with 1 (0)
representing supportive (non-supportive) opinion.</p>
      <p>
        We frame the problem of designing sequential
payment strategies as a discounted Markov decision
process (DMDP). DMDPs have been widely used to
formulate many decision making problems in science and
engineering (see, e.g., [
        <xref ref-type="bibr" rid="ref1 ref2 ref3">1, 2, 3</xref>
        ]). One of the main
applications of DMDP models is the computation of
optimal decisions (i.e., actions) over time to maximize the
expected reward (analogously, minimize the expected
cost).
      </p>
      <p>First of all, we focus on a fully connected network
where agents change their opinion following a voter
model. We provide the correspondent Bellman
equations to solve this problem and we show through an
example how to solve the stated problem in practice.
We provide a structural characterization of the
associated value function and the optimal payment strategy.
Then, we compute the optimal payment using dynamic
backward programing.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Model definition</title>
      <p>In order to find the optimal budget allocation on
binary opinion dynamics, we make extensive use of the
theory of DMDPs. First, we adopt the voter model of
opinion formation over a social network. Then, we
define the DMDP and the corresponding Bellman
equations to obtain the optimal strategy of budget
allocation.</p>
      <p>Consider an undirected social network G = (I; E ),
where I stands for the set of agents, indexed from 1
to n, and E ⊆ I × I is the set of edges. Each agent i ∈ I
has a binary initial opinion. Opinions take values 0
or 1. If agent i has opinion 0 (analogously, 1) we label
it as non-supporter (supporter ). For example, if agents
are discussing about politics, 1 could be supporting a
particular party and 0 not supporting it.</p>
      <p>Moreover, we distinguish two cases, depending on
whether the network is fully connected or not.</p>
      <p>We start by studying the fully connected case. In
each decision epoch, agents update their opinions
following a voter model sensitive to external payments.
Let ∈ [0; 1) be the discount factor, which represents
the loss of reward in the future with respect to the
current reward. A discounted Markov decision
process (DMDP) is a 5-tuple (S; AS ; P; R; ), where S is
a finite set of states, AS is a finite set of actions, P is
the set of transition probabilities and R is the set of
rewards.</p>
      <p>Therefore, the model is defined as follows:
1. Decision epochs: the set of decision epochs is
defined as t = 1; 2; : : : ; T . We consider a finite
discrete-time system. At each decision epoch t we
observe the state s and choose an action a.
2. States: the state space S of the DMDP consists
on the possible number of supporters, s ∈ N,
s = S{i ∈ I S i is a supporter}S.
3. Actions: the action space As is the set of
actions available in state s (without loss of
generality, actions are state independent). We consider
that the actions a ∈ N are the possible number
of payments, a = S{i ∈ I S i receives a payment}S,
where the non-supporter agents have a cost cNS
for changing their opinion from non-supporter to
supporter, and the supporter agents, a cost cS to
hold their supporter opinion. We assume that the
cost of changing their opinion is higher than the
cost of holding it, i.e., cNS &gt; cS . We consider a
finite budget b. Notice that, because the actions
are constrained by the budget, they are
stationary.
4. Transition probabilities: if the DMDP in
decision epoch t is at state s1, the probability that it
transitions to state s2 taking action a is denoted
pt(s1; s2; a). Due to the natural independence of
agents transitions, we compute those
probabilities as the product of the transition
probabilities of the agents. The evolution of one agent
i ∈ I will be described by the voter model.
Starting from any arbitrary initial labels, supporter
(S) or non-supporter (NS), we consider two
labeling functions fS (i) and fNS (i), where fS (i) = 1
(fNS (i) = 1) means that agent i is a supporter
(non-supporter). At each decision epoch t, each
node selects uniformly at random one of its
neighbors opinion. For each node j ∈ I, the set of its
neighbors is defined as N (j) = {k ∈ I S {j; k} ∈ E }.
Therefore, we define for one i ∈ I with
zeropayment in decision epoch t the labeling
functions,</p>
      <p>⎧⎪1 with prob. S{j∈N(i)SfSt (j)=1}S ;
fSt+1(i) = ⎪⎨⎪0 with prob. S{j∈N(SiN)S(fiSt)(Sj)=0}S ;
⎪⎩ SN(i)S</p>
      <p>f Nt+S1(i) = 1 − fSt+1(i)
Analogously, for one agent k ∈ I that receives a
payment in decision epoch t we define:
⎧⎪1 with prob. 1;
⎪
fSt+1(k) = ⎨
⎪0 with prob. 0;
⎪
⎩
f Nt+S1(k) = 1 − fSt+1(k)
As we said, we assume that the graph is fully
connected, therefore each agent can communicate
with every other agent. We denote the set of
nonsupporter agents that receive a payment as L =
{i ∈ I S non-supporter &amp; receives a payment}
and its cardinality as ` = SLS. Respectively, the
set of supporter agents that receive a payment
as K = {i ∈ I S supporter &amp; receives a payment}
and its cardinality as k = SKS. Notice that a = `+k.
Therefore the transition probabilities pt(s1; s2; a)
can be computed as:
● If a &gt; s2 then pt(s1; s2; a) = 0:
● If a &lt; s2 then
pt(s1; s2; a) =
min{s1−k;s2−`}</p>
      <p>Q
i=max{0;s2−(n−s1)−k}</p>
      <p>n − s1 − `
⋅ s2 − i − (` + k) ⋅ </p>
      <p>s1 − k
 i</p>
      <p>s1 i n − s1 s1−k−i
  n   n 
n − s1 n−s1−s2+i+k s1 s2−i−(`+k)</p>
      <p>n   n 
5. Reward: the instant reward in time t and state s
is defined as rt(s) = ∑i∈I g ⋅ s, where g denotes the
reward provided by one agent.</p>
      <p>Let be the value function of the above DMDP,
i.e., it is the supreme, over all possible budget
allocation strategies, of the expectation of the discounted
reward starting from an initial budget b. Under these
assumptions, the Bellman equations for all s ∈ S and
initial budget b are:
(s; b) =</p>
      <p>max
a ` k∈AS;
= +
(`⋅cNS+k⋅cS)≤b</p>
      <p>E Q∞ trt(s)</p>
      <p>t=0
=
a ` k∈AS; r0(s) + Q</p>
      <p>max
(`⋅cN=S++k⋅cS)≤b s′∈S</p>
      <p>p1(s; s′; a)
⋅
(s′; b − ` ⋅ cNS − k ⋅ cS + r0(s));
where the budget evolves as
b(t + 1) = b(t) + rt(s) − ` ⋅ cNS − k ⋅ cS :</p>
      <p>Next, we present the second case where in each
decision epoch agents update their opinions following a
voter model in a network (not necessarily fully
connected) that can be affected by external payments. As
before, we design this problem as a DMDP where the
set of actions are the possible external payments.</p>
      <p>Therefore, let ∈ [0; 1) be the discount factor, we
consider, by a slight abuse of notation, the 5-tuple
(S; AS ; P; R; ) as before. Concretely, the elements
changed from the previous model:
1. Decision epochs: the set of decision epochs is
defined as t = 1; 2; : : : ; T .
2. States: the state space S of the DMDP, consists
on all possible combinations of agents’ labels,
nonsupporter (0) or supporter (1), i.e., s ∈ {0; 1}n.
3. Actions: the action space As is the set of actions
available in state s (without loss of generality,
actions are state independent). An action means
whether or not we give a payment to each of the
agents, a ∈ {0; 1}n, where a 0 (respectively 1) in
position i means we give no payment (payment) to
agent i ∈ I. We also define a vector of costs c ∈ R+n
whose element ci &gt; 0 is the cost of changing by one
unit the opinion of agent i, in case agent i is
nonsupporter, or the cost of holding the opinion of
agent i, in case agent i is a supporter.
4. Transition probabilities: as before, if the DMDP
in decision epoch t is at state s1, the probability
that it transitions to state s2 taking action a is
expressed as pt(s1; s2; a) and can be computed as:
● If SaS &gt; Ss2S then pt(s1; s2; a) = 0:
● If SaS &lt; Ss2S then pt(s1; s2; a) is equal to</p>
      <p>M I{ si = s′i} I{si = supp} S{j ∈ N (i)~fSt (j) = 1}S
n
i=1 SN (i)S
t
+ I{si = non-supp} S{j ∈ N (i)~fNS(j) = 1}S</p>
      <p>SN (i)S
+ I{si ≠ s′i} I{si = supp S{j ∈ N (i)~fSt (j) = 0}S
SN (i)S
t
+ I{si = non-supp} S{j ∈ N (i)~fNS(j) = 0}S :</p>
      <p>SN (i)S
5. Reward: the instant reward in time t and state s
is defined as rt(s) = gT ⋅ s, where g is the vector of
rewards whose element gi is the reward that agent
i ∈ I provides.</p>
      <p>Let be the value function of the above DMDP,
i.e., it is the supreme, over all possible budget
allocations strategies, of the expectation of the discounted
reward starting from an initial budget b. Under these
assumptions the Bellman equations for all s ∈ S and
initial budget b are:</p>
      <p>∞ t
(s; b) = am∈AaSx; E tQ0
cT ⋅a≤b =</p>
      <p>rt(s)
= am∈AaSx; r0(s) + Q
cT ⋅a≤b s′∈S</p>
      <p>p1(s; s′; a) (s′; b − cT ⋅ a + r0(s));
where the budget evolves as b(t+1) = b(t)−cT ⋅a+R(st)
and cT denotes the transpose of vector c.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Simulation results</title>
      <p>We suppose that after a time T we will not obtain
rewards for the supporter agents, so we are interested
in the distribution of the DMDP in the time interval
[0; T ]. We consider an undirected, fully connected
social network G = (I; E ) with n = 7 agents that form
opinions with a voter model. In time t = 0, we assign
at random an initial label to each agent. Solving the
Bellman (fixed point) equations, given the model and
the set of states and feasible actions, gives us the best
strategy for each state to follow in the time interval.
We take T = 6, = 0:8, cNS = 10, cS = 5, B = 30 and
g = 8.</p>
      <p>Some conclusions can be drawn from the
simulations. The optimal payment strategy is to invest all
our budget paying to the higher number of agents
at time t = 0. Obviously, if all the network is
nonsupporter (respectively supporter), the budget will be
allocated to change opinions (to hold opinions).
However, the distribution of the budget differs for the rest
of possible initial states as we show on Table 1.</p>
      <p>Initial state
s = 1
s = 2
s = 3
s = 4
s = 5
s = 6</p>
      <p>Budget Allocation
Payments to NS Payments to S
2 1
2 2
1 3
1 4
0 5
0 6</p>
      <p>Given the budget allocation at time t = 0, we show
in Figure 1 the expected reward obtained at time T
for each state s ∈ S.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusions</title>
      <p>
        In this work, we have introduced the problem of
budget allocation over time to manipulate a social
network. We have developed a formulation of the
discounted Markov decision process as well as the
corresponding Bellman equations for the voter model
of opinion formation. Using backward programming,
we have obtained the optimal payment strategy for
a small example of agents interacting trough a fully
connected network. Many questions still remain to be
answered. Future work would be devoted to improve
the performance of our simulations in order to obtain
the optimal strategy for larger networks and different
topologies. Moreover, we intend to construct the
DMDP model and the Bellman equations for different
models of opinion dynamics. This will lead to the
mathematical characterization of the optimal policy
for different network structures and opinion formation
models. It will lead also to the characterization of
the most important agents (the agents with highest
benefit-cost ratio) which should be related with its
centrality as shown in previous results [
        <xref ref-type="bibr" rid="ref11 ref6">11, 6</xref>
        ].
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>E.</given-names>
            <surname>Altman</surname>
          </string-name>
          .
          <article-title>Applications of Markov Decision Processes in Communication Networks</article-title>
          , pages
          <fpage>489</fpage>
          -
          <lpage>536</lpage>
          . Springer US, Boston, MA,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>N.</given-names>
            <surname>Archak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Mirrokni</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Muthukrishnan</surname>
          </string-name>
          .
          <article-title>Budget Optimization for Online Campaigns with Positive Carryover Effects</article-title>
          , pages
          <fpage>86</fpage>
          -
          <lpage>99</lpage>
          . Springer Berlin Heidelberg, Berlin, Heidelberg,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>C.</given-names>
            <surname>Boutilier</surname>
          </string-name>
          and
          <string-name>
            <given-names>T.</given-names>
            <surname>Lu</surname>
          </string-name>
          .
          <article-title>Budget allocation using weakly coupled, constrained markov decision processes</article-title>
          .
          <source>In Proceedings of the Thirty-Second Conference on Uncertainty in Artificial Intelligence, UAI'16</source>
          , pages
          <fpage>52</fpage>
          -
          <lpage>61</lpage>
          , Arlington, Virginia, United States,
          <year>2016</year>
          . AUAI Press.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>P.</given-names>
            <surname>Clifford</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Sudbury</surname>
          </string-name>
          .
          <article-title>A model for spatial conflict</article-title>
          .
          <source>Biometrika</source>
          ,
          <volume>60</volume>
          (
          <issue>3</issue>
          ):
          <fpage>581</fpage>
          -
          <lpage>588</lpage>
          ,
          <year>1973</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>M. H.</given-names>
            <surname>Degroot</surname>
          </string-name>
          .
          <article-title>Reaching a consensus</article-title>
          .
          <source>Journal of the American Statistical Association</source>
          ,
          <volume>69</volume>
          (
          <issue>345</issue>
          ):
          <fpage>118</fpage>
          -
          <lpage>121</lpage>
          ,
          <year>1974</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>S.</given-names>
            <surname>Dhamal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Ben-Ameur</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Chahed</surname>
          </string-name>
          , and
          <string-name>
            <given-names>E.</given-names>
            <surname>Altman</surname>
          </string-name>
          .
          <article-title>Good versus Evil: A Framework for Optimal Investment Strategies for Competing Camps in a Social Network</article-title>
          . ArXiv e-prints,
          <year>June 2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M.</given-names>
            <surname>Förster</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Mauleon</surname>
          </string-name>
          , and
          <string-name>
            <given-names>V.</given-names>
            <surname>Vannetelbosch</surname>
          </string-name>
          .
          <article-title>Trust and manipulation in Social networks</article-title>
          ,
          <source>Sept</source>
          .
          <year>2013</year>
          . Documents de travail du Centre d'Economie de la
          <year>Sorbonne 2013</year>
          .
          <fpage>65</fpage>
          -
          <lpage>ISSN</lpage>
          :
          <fpage>1955</fpage>
          -
          <lpage>611X</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>N. E.</given-names>
            <surname>Friedkin</surname>
          </string-name>
          and
          <string-name>
            <given-names>E. C.</given-names>
            <surname>Johnsen</surname>
          </string-name>
          .
          <article-title>Social influence networks and opinion change</article-title>
          . Advances in Group Processes,
          <volume>16</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>29</lpage>
          ,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>R. A.</given-names>
            <surname>Holley</surname>
          </string-name>
          and
          <string-name>
            <given-names>T. M.</given-names>
            <surname>Liggett</surname>
          </string-name>
          .
          <article-title>Ergodic theorems for weakly interacting infinite systems and the voter model</article-title>
          .
          <source>The Annals of Probability</source>
          ,
          <volume>3</volume>
          (
          <issue>4</issue>
          ):
          <fpage>643</fpage>
          -
          <lpage>663</lpage>
          ,
          <year>1975</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>A.</given-names>
            <surname>Mukhopadhyay</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. R.</given-names>
            <surname>Mazumdar</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Roy</surname>
          </string-name>
          .
          <article-title>Binary opinion dynamics with biased agents and agents with different degrees of stubbornness</article-title>
          .
          <source>In 2016 28th International Teletraffic Congress (ITC 28)</source>
          , volume
          <volume>1</volume>
          , pages
          <fpage>261</fpage>
          -
          <lpage>269</lpage>
          , Sept.
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>A.</given-names>
            <surname>Silva</surname>
          </string-name>
          .
          <article-title>Opinion manipulation in social networks</article-title>
          . In S. Lasaulce,
          <string-name>
            <given-names>T.</given-names>
            <surname>Jimenez</surname>
          </string-name>
          , and E. Solan, editors,
          <source>Network Games, Control, and Optimization: Proceedings of NETGCOOP</source>
          <year>2016</year>
          , Avignon, France, pages
          <fpage>187</fpage>
          -
          <lpage>198</lpage>
          . Springer International Publishing,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>E.</given-names>
            <surname>Yildiz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ozdaglar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Acemoglu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Saberi</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Scaglione</surname>
          </string-name>
          .
          <article-title>Binary opinion dynamics with stubborn agents</article-title>
          .
          <source>ACM Trans. Econ. Comput.</source>
          ,
          <volume>1</volume>
          (
          <issue>4</issue>
          ):
          <volume>19</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>19</lpage>
          :
          <fpage>30</fpage>
          ,
          <string-name>
            <surname>Dec</surname>
          </string-name>
          .
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>