On Binary Networked Public Goods Game with Altruism
Abstract
In the classical Binary Networked Public Goods (BNPG) game, a player can either invest in a public project or decide not to invest. Based on the decisions of all the players, each player receives a reward as per his/her utility function. However, classical models of BNPG game do not consider altruism which players often exhibit and can significantly affect equilibrium behavior. Yu et al. [24] extended the classical BNPG game to capture the altruistic aspect of the players. We, in this paper, first study the problem of deciding the existence of a Pure Strategy Nash Equilibrium (PSNE) in a BNPG game with altruism. This problem is already known to be -complete. We complement this hardness result by showing that the problem admits efficient algorithms when the input network is either a tree or a complete graph. We further study the Altruistic Network Modification problem, where the task is to compute if a target strategy profile can be made a PSNE by adding or deleting a few edges. This problem is also known to be -complete. We strengthen this hardness result by exhibiting intractability results even for trees. A perhaps surprising finding of our work is that the above problem remains -hard even for bounded degree graphs when the altruism network is undirected but becomes polynomial-time solvable when the altruism network is directed. We also show some results on computing an MSNE and some parameterized complexity results. In summary, our results show that it is much easier to predict how the players in a BNPG game will behave compared to how the players in a BNPG game can be made to behave in a desirable way.
1 Introduction
In a binary networked public goods (in short BNPG) game, a player can either decide to invest in a public project or decide not to invest in it. Every player however incurs a cost for investing. Based on the decision of all the players, each player receives a reward as per his/her externality function. The net utility is decided based on the reward a player receives and the cost a player incurs. Usually, the externality function and cost of investing differ for every player, making the BNPG game heterogeneous. In some scenarios, the externality function and cost of investing can be the same for every player, making the BNPG game fully homogeneous. Many applications of public goods, for example, wearing a mask [12], getting vaccinated [3], practicing social distancing [5], reporting crimes etc., involve binary decisions. Such domains can be captured using BNPG game. A BNPG game is typically modeled using a network of players which is an undirected graph [11].
We also observe that there are some societies where few people wear masks and/or get themselves vaccinated, and there are some other societies where most people wear masks and get themselves vaccinated [4, 23]. This can be attributed to differences in altruistic behavior among various societies [2, 6]. In an altrusitic society, people consider their as well as their neighbors’ benefit to take a decision. For example, young adults may wear a mask not only to protect themselves but also to protect their elderly parents and young children at home. Altruism can be modeled using an altruistic network which can be either an undirected graph or a directed graph [24]. Symmetric altruism (respectively asymmetric altruism) occurs when the altruistic network is undirected (respectively directed). The utility that a player receives depends on both the input network and the (incoming) incident edges in the altruistic network.
We study the BNPG game with altruism for two different problem settings. First, we look at the problem of deciding the existence of Pure Strategy Nash Equilibrium (PSNE) in the BNPG game with altruism. In any game, determining a PSNE is an important problem as it allows a social planner to predict the behaviour of players in a strategic setting and make appropriate decisions. It is known that deciding the existence of PSNE in a BNPG game (even without altruism) is NP-Complete [25]. This paper mainly focuses on deciding the existence of PSNE in special networks like trees, complete graphs, and graphs with bounded circuit rank. The circuit rank of an undirected graph is the minimum number of edges that must be removed from the graph to make it acyclic.
In the second problem setting, also known as Altruistic Network Modification (in short ANM), we can add or delete an edge from the altruistic network, and each such operation has a non-negative cost associated with it. The aim here is to decide if a target strategy profile can be made a PSNE by adding or deleting edges with certain budget constraints. This problem was first studied by [24] where they showed that ANM is an NP-Complete problem. This problem enables policymakers to strategically run campaigns to make a society more altruistic and achieve desirable outcomes like everyone wearing a mask and getting vaccinated. This paper mainly focuses on ANM in sparse input networks like trees and graphs with bounded degree.
1.1 Contribution
Input graph type | PSNE existence | ANM symmetric altruism | ANM asymmetric altruism |
Tree | P | NP-hard | NP-hard |
Clique | P | -hard () | -hard () |
Bounded degree | -hard () | NP-hard | P |
Bounded circuit rank | P | NP-hard | NP-hard |
We show that the problem of deciding the existence of PSNE in BNPG game with asymmetric altruism is polynomial-time solvable if the input network is either a tree [Theorem 3.1], complete graph [Theorem 3.3] or graph with bounded circuit rank [Theorem 3.2]. Moreover, in Theorem 3.1, we formulated a non-trivial ILP (not the ILP that follows immediately from the problem definition) and depicted a greedy polynomial time algorithm [Algorithm 1] to solve it. This strengthens the tractable results for tree, complete graph and graph with bounded circuit rank in [25, 18] as the previous results were depicted for BNPG games without altruism. Hence, existence of a PSNE can be efficiently decided in an intimately connected society where everyone knows others and thus the underlying graph is connected, and for sparsely connected society where the circuit rank could be low. However, the problem is open for graphs with bounded treewidth, and it is known that the problem even without altruism is -hard for the parameter treewidth [18]. The problem of deciding the existence of PSNE in BNPG game even without altruism is known to be -complete [25]. A natural but often under-explored question here is if an MSNE can be computed efficiently. We show that computing an MSNE in BNPG game with symmetric altruism is -hard [Theorem 3.4].
ANM with either asymmetric or symmetric altruism is known to be -complete when the input network is a clique [24]. We complement this by showing that ANM with either asymmetric or symmetric altruism is -complete even when the input network is a tree (the circuit rank of which is zero) and the BNPG game is fully homogeneous [Theorems 4.1 and 4.2]. We also show that ANM with symmetric altruism is known to be para- for the parameter maximum degree of the input network even when the BNPG game is fully homogeneous and the available budget is infinite [Theorem 4.5]. However, with asymmetric altruism, the problem is for the parameter maximum degree of the input network [Theorem 4.4]. To show this result, we designed an time binary search based algorithm [Algorithm 2] for Minimum Knapsack problem. We are the first to provide an algorithm better than time for Minimum Knapsack problem to the best of our knowledge.
In summary, our paper provides a more fine-grained complexity theoretic landscape for deciding if a PSNE exists in a BNPG game with altruism and the ANM problem which could be of theoretical as well as practical interest. We summarize all the main results (including that of prior work) in Table 1. There () denotes the results from [24] and () denotes the results from [18]. All the hardness results in the table except for complete graph hold even for fully homogeneous BNPG game. We observe that the PSNE existence problem admits efficient algorithm for many settings compared to ANM. This seems to indicate that enforcing a PSNE is computationally more difficult than finding a PSNE.
1.2 Related Work
Our work is related to [25] who initiated the study of computing a PSNE in BNPG games. Their results were strengthened by [18] who studied the parameterized complexity of deciding the existence of PSNE in BNPG game. Recently, [22] studied about public goods games in directed networks and showed intractibility for deciding the existence of PSNE and for finding MSNE. Our work is also related to [24] who intiated the study of Altruistic Network Modification in BNPG game. [16, 21] also discussed different ways to capture altruism. In the non-altruistic setting, [14] worked on modifying networks to induce certain classes of equilibria in BNPG game. Our work is part of graphical games where the fundamental question is to determine the complexity of finding an equilibrium [8, 9, 13]. Our model is also related to the best-shot games [7] as it is a special case of BNPG game. [11, 17, 20, 15] also discussed some important variations of graphical games.
2 Preliminaries
Let denote the set . Let be an input network with vertices (each denoting a player). The input network is always an undirected graph. Let be an altruistic network on the same set of vertices. The altruistic network can be directed or undirected graph. An undirected edge between is represented by . Similarly a directed edge from to is represented by . is the set of all neighbours (resp. out-neighbours) of the vertex in an undirected (resp. directed) altrusitic network . Note that is a subset of neightbours of in . A Binary Networked Public Goods (BNPG) game with asymmetric (resp. symmetric) altruism can be defined on the input graph and the directed (resp. undirected) altruistic network as follows. We are given a set of players , and the strategy set of every player in is . For a strategy profile , let . In this paper, we will be using playing 1 (resp. 0), investing (resp. not investing) and strategy (resp. ) interchangeably. Now the utility of player is defined as follows.
where is a non-decreasing externality function in and are constants. can also interpreted as the cost of investing for player . We denote a BNPG game with altruism by . We also define where . In this paper, we study a general case of BNPG game called heterogeneous BNPG game where every player need not have the same externality function and constant . If nothing is mentioned, by BNPG game, we are referring to a heterogeneous BNPG game. In this paper, we also study a special case of BNPG game called fully homogeneous BNPG game where for all and for all .
In this paper, we mainly focus on pure-strategy Nash Equilibrium (PSNE). A strategy profile is said to be a PSNE of a BNPG game with altruism if the following holds true for all and for all
where .
In this paper, we also look at -Nash Equilibrium. Let be a distribution over that strategy set . We define Supp to be the support of the distribution , that is, Supp where denotes the probability of choosing the strategy by player . Now is an -Nash Equilibrium if the following holds true for all , for all , for all :
where .
2.1 Altruistic Network Modification
In this paper we study a special case of Altruistic Network Modification (ANM) which was also studied by [24]. If nothing is mentioned, by ANM, we are referring to the special case which we will now discuss. We are given a target profile , BNPG game on an input graph , an initial altruistic network , a cost function and budget . In this setting, we can add or delete an edge from and each such operation has a non-negative cost associated with it. We denote an instance of ANM with altruism by . The aim of ANM with altruism is to add and delete edges in such that becomes a PSNE and the total cost for adding and deleting these edges is atmost . Note that if the altruism is asymmetric (resp. symmetric), then we can add or delete directed (resp. undirected) edges only. We are not allowed to add any edge between two nodes if .
2.2 Standard Definitions
Definition 1 (Circuit Rank)
[18] Let the number of edges and number of vertices in a graph be and respectively. Then circuit rank is defined to be ( is the number of connected components in the graph). Note that circuit rank is not the same as feedback arc set.
Definition 2 ()
[19] A tuple , where k is the parameter, is an instance of a parameterized problem. Fixed parameter tractability (FPT) refers to solvability in time for a given instance , where is a polynomial in the input size and is an arbitrary computable function of .
Definition 3 (para-)
[19] We say a parameterized problem is para- if it is -hard even for some constant values of the parameter.
3 Results for computing equilibrium
In this section, we present the results for deciding the existence of PSNE and finding MSNE in BNPG game with altruism. We have omitted few proofs. They are marked by () and they are available in the appendix.
[25] showed that the problem of checking the existence of PSNE in BNPG game without altruism is polynomial time solvable when the input network is a tree. We now provide a non-trivial algorithm to show that the problem of checking the existence of PSNE in BNPG game with asymmetric altruism is polynomial time solvable when the input network is a tree.
Theorem 3.1
The problem of checking the existence of PSNE in BNPG game with asymmetric altruism is polynomial time solvable when the input network is a tree.
Proof
For each player , let denote the degree of . At each node with parent , we maintain a table of tuples of valid configurations. A tuple is said to be a valid configuration if there exists a strategy profile such that the following holds true:
-
,
-
The number of neighbours of and playing in is and respectively
-
None of the players in the sub-tree rooted at deviate from their strategy in
Note that the root node doesn’t have a parent. Hence, we consider an imaginary parent with and for all . Hence if there is a tuple in the table of root node then we can conclude that there is a PSNE otherwise we can conclude that there is no PSNE.
Leaf nodes: We add a tuple to the table if , does not deviate if it plays and . Table for the leaf node can be clearly constructed in polynomial time.
Non-leaf nodes: For each tuple we do the following. If there is no child of having a tuple of type in its table, then we don’t add to the table of . Similarly if or , then we don’t add to the table of . Otherwise we do the following. Let be the set of children of which have tuples of the type in their table but don’t have tuples of the type . Let be the set of children of which have tuples of the type in their table but don’t have tuples of the type . Let be the set of children of which have tuples of the type and in their table. First let us consider the case when . Now for each , we find the tuple in its table so that is maximized and let this value be . Similarly for each , we find the tuple in the table so that is maximized and let this value be . Also , . If then otherwise . Now we include the tuple in the table if the optimal value of the following ILP is at least .
max | |||
s.t. | |||
The above ILP can be solved in polynomial time as follows. First sort the values in non-increasing order breaking ties arbitrarily and order the vertices in as as per this order, that is, if . Then we traverse the list of values in non-increasing order and for the corresponding to the value, we choose if otherwise we choose . We do this until or where . Remaining values are chosen in a way such that is satisfied. For a more detailed description, please see the Algorithm 1.
Now we show the correctness. Consider an optimal solution . Let be the smallest number such that as per our algorithm and in optimal solution it is . Similarly let be the smallest number such that as per our algorithm and in optimal solution it is . We now swap the values of the variables and (resp. and ) in the optimal solution without decreasing the value of the objective function. Let us assume that . Then it must be the case that otherwise , we will have as per our algorithm. Hence by swapping in the optimal solution, the value of the objective function increases by at least which is a non-negative quantity. Similarly when , it must be the case that otherwise , we will have as per our algorithm. Hence by swapping in the optimal solution, the value of the objective function increases by at least which is a non-negative quantity. By repeatedtly finding such indices and then swaping the value of and (resp. and ) in the optimal solution leads to our solution.
An analogous procedure exists for the case where . For each , we find the tuple in the table so that is minimized and let this value be . Similarly for each , we find the tuple in the table so that is minimized and let this value be . Also , . If then otherwise . Now we include the tuple in the table if the optimal value of the following ILP is at most .
min | |||
s.t. | |||
The above ILP can be solved in polynomial time as follows. First sort the values in non-increasing order breaking ties arbitrarily and order the vertices in as as per this order, that is, if . Then we traverse the list in non-increasing order and for the corresponding to the value, we choose if otherwise we choose . We do this until or where . Remaining values are chosen in a way such that is satisfied.
Now we show the correctness. Consider an optimal solution . Let be the smallest number such that as per our algorithm and in optimal solution it is . Similarly let be the smallest number such that as per our algorithm and in optimal solution it is . We now swap the values of the variables and (resp. and ) in the optimal solution without increasing the value of the objective function. Let us assume that . Then it must be the case that otherwise , we will have as per our algorithm. Hence by swapping in the optimal solution, the value of the objective function decreases by at least which is a non-negative quantity. Similarly when , it must be the case that otherwise , we will have as per our algorithm. Hence by swapping in the optimal solution, the value of the objective function increases by at least which is a non-negative quantity. By repeatedtly finding such indices and then swapping the value of and (resp. and ) in the optimal solution leads to our solution.
As mentioned earlier if there is any tuple in the table of the root , then we conclude that there is a PSNE otherwise we conclude that there is no such PSNE.
Corollary 1
Given a BNPG game with asymmetric altruism on a tree , a set and a pair of tuples and , we can decide in polynomial time if there exists a PSNE for the BNPG game with asymmetric altruism such that for every and the number of neighbors of playing in is for every .
Proof
In the proof of Theorem 1, just discard those entries from the table of which don’t have and .
[18] showed that the problem of checking the existence of PSNE in BNPG game without altruism is polynomial time solvable when the input network is a graph with bounded circuit rank. By using the algorithm in Theorem 1 as a subroutine and extending the ideas of [18] to our setting, we show the following.
Theorem 3.2 ()
The problem of checking the existence of PSNE in BNPG game with asymmetric altruism is polynomial time solvable when the input network is a graph with bounded circuit rank.
[25, 18] showed that the problem of checking the existence of PSNE in BNPG game without altruism is polynomial time solvable when the input network is a complete graph. By extending their ideas to our setting, we show the following.
Theorem 3.3 ()
The problem of checking the existence of PSNE in BNPG game with asymmetric altruism is polynomial time solvable when the input network is a complete graph.
The problem of deciding the existence of BNPG game with altruism where the atruistic network is empty is known to be NP-Complete[25]. Therefore, we look at the deciding the complexity of finding an -Nash equilibrium in BNPG game with symmetric altruism. We show that it is -Hard. Towards that, we reduce from an instance of Directed public goods game which is known to be -hard [22]. In directed public goods game, we are given a directed network of players and the utility of a player is . Here , is the number of in-neighbours of playing and if and if .
Theorem 3.4
Finding an -Nash equilibrium of the BNPG game with symmetric altruism is -hard, for some constant .
Proof
Let be an input instance of directed public goods game. Now we create an instance of BNPG game with symmetric altruism.
Let the constant be . , and . Now define the functions as follows:
Now we show that given any -Nash equilibrium of the BNPG game with altruism , we can find an -Nash equilibrium of the directed public goods game in polynomial time. Let be an -Nash equilibrium of the BNPG game with symmetric altruism.
For all , we have the following:
Hence can’t be in the support of . Therefore , .
Now we show that is an -Nash equilibrium of the directed public goods game where . Now consider a strategy profile such that , we have . Now let be a strategy profile such that we have . Then we have the following:
Using the above equality and the fact that , , we have where . For all , for all , for all , we have the following:
Hence, given any -Nash equilibrium of the BNPG game with symmetric altruism , we can find an -Nash equilibrium of the directed public goods game in polynomial time. This concludes the proof of this theorem.
4 Results for Altruistic Network Modification
In this section, we present the results for Altruistic Network Modification. First let us call ANM with altruism as heterogeneous ANM with altruism whenever the BNPG game is heterogeneous. Similarly let us call ANM with altruism as fully homogeneous ANM whenever the BNPG game is fully homogeneous. [18] depicted a way to reduce heterogeneous BNPG game to fully homogeneous BNPG game. By extending their ideas to our setting, we show Lemmata 1, 2 and 3 which will be helpful to prove the theorems on hardness in this section.
Lemma 1 ()
Given an instance of heterogeneous ANM with asymmetric altruism such that cost of investing is same for all players in the heterogeneous BNPG game, we can reduce the instance heterogeneous ANM with asymmetric altruism to an instance of fully homogeneous ANM with asymmetric altruism.
Lemma 2 ()
Given an instance of heterogeneous ANM with symmetric altruism such that cost of investing is same for all players in the heterogeneous BNPG game, we can reduce the instance heterogeneous ANM with symmetric altruism to an instance of fully homogeneous ANM with symmetric altruism.
Lemma 3 ()
Given an instance of heterogeneous ANM with symmetric altruism such that input network has maximum degree 3, cost of investing is same for all players in the heterogeneous BNPG game and there are three types of externality functions, we can reduce the instance heterogeneous ANM with symmetric altruism to an instance of fully homogeneous ANM with symmetric altruism such that the input network has maximum degree 13.
ANM with asymmetric altruism is known to be -complete when the input network is a clique [24]. We show a similar result for trees by reducing from Knapsack problem.
Theorem 4.1 ()
For the target profile where all players invest, ANM with asymmetric altruism is -complete when the input network is a tree and the BNPG game is fully homogeneous.
ANM with symmetric altruism is known to be -complete when the input network is a clique [24]. We show a similar result for trees by reducing from Knapsack problem.
Theorem 4.2 ()
For the target profile where all players invest, ANM with symmetric altruism is -complete when the input network is a tree and the BNPG game is fully homogeneous.
We now show that ANM with symmetric altruism is known to be para- for the parameter maximum degree of the input network even when the BNPG game is fully homogeneous. Towards that, we reduce from an instance of -SAT which is known to be -complete [1]. -SAT is the special case of 3-SAT where each variable occurs exactly twice as negative literal and twice as positive literal .
Theorem 4.3 ()
For the target profile where all players invest, ANM with symmetric altruism is known to be para- for the parameter maximum degree of the input network even when the BNPG game is fully homogeneous.
We complement the previous result by showing that ANM with asymmetric altruism is for the parameter maximum degree of the input graph.
Theorem 4.4
For any target profile, ANM with asymmetric altruism can be solved in time where is the maximum degree of the input graph.
Proof
[24] showed that solving an instance of asymmetric altruistic design is equivalent to solving different instances of Minimum Knapsack problem and each of these instances have at most items. In Minimum Knapsack problem, we are give a set of items with costs and weights . The aim is to find a subset of items minimizing subject to the constraint that . We assume that otherwise we don’t have any feasible solution. Let us denote the optimal value by . Let . Now consider the following integer linear program which we denote by ILPw:
The above integer linear program can be solved in time [10]. Now observe that for all , the optimal value of ILPw is at least . Similarly for all , the optimal value of the ILPw is less than . Now by performing a binary search for on the range and then solving the above ILP repeatedly, we can compute in time . See Algorithm 2 for more details.
As discussed earlier, an Instance of asymmetric altruistic design is equivalent to solving different instances of Minimum Knapsack problem and each of these instances have at most items. Hence ANM with asymmetric altruism can be solved in time where is the input instance of ANM with asymmetric altruism.
We conclude our work by discussing about the approxibimility of ANM with symmetric altruism. [24] showed a approximation algorithm for ANM with symmetric altruism when the target profile has all players investing. However, for arbitrary target profile they showed that ANM with symmetric altruism is -complete when the input network is a complete graph and the budget is infinite. We show a similar result for graphs with bounded degree by reducing from -SAT.
Theorem 4.5 ()
For an arbitrary target profile, ANM with symmetric altruism is known to be para- for the parameter maximum degree of the input network even when the BNPG game is fully homogeneous and the budget is infinite.
5 Conclusion and Future Work
In this paper, we first studied the problem of deciding the existence of PSNE in BNPG game with altruism. We depicted polynomial time algorithms to decide the existence of PSNE in trees, complete graphs and graphs with bounded We also that the problem of finding MSNE in BNPG game with altruism is -Hard. Next we studied Altruistic Network modification. We showed that ANM with either symmetric or asymmetric altruism is -complete for trees. We also showed that ANM with symmetric altruism is para- for the parameter maximum degree whereas ANM with asymetric altruism is for the parameter maximum degree. One important research direction in ANM is to maximize the social welfare while ensuring that the target profile remains a PSNE. Another research direction is to improve the approximation algorithms of [24] for ANM with asymmetric altruism for trees and graphs with bounded degree. Another interesting future work is to look at other graphical games by considering altruism.
References
- [1] Berman, P., Karpinski, M., Scott, A.: Approximation hardness of short symmetric instances of max-3sat. Tech. rep. (2004)
- [2] Bir, C., Widmar, N.O.: Social pressure, altruism, free-riding, and non-compliance in mask wearing by us residents in response to covid-19 pandemic. Social sciences & humanities open 4(1), 100229 (2021)
- [3] Brito, D.L., Sheshinski, E., Intriligator, M.D.: Externalities and compulsary vaccinations. Journal of Public Economics 45(1), 69–90 (1991)
- [4] Buchwald, E.: Why do so many Americans refuse to wear face masks? Politics is part of it — but only part. https://www.marketwatch.com/story/why-do-so-many-americans-refuse-to-wear-face-masks-it-may-have-nothing-to-do-with-politics-2020-06-16 (2020)
- [5] Cato, S., Iida, T., Ishida, K., Ito, A., McElwain, K.M., Shoji, M.: Social distancing as a public good under the covid-19 pandemic. Public health 188, 51–53 (2020)
- [6] Cucciniello, M., Pin, P., Imre, B., Porumbescu, G.A., Melegaro, A.: Altruism and vaccination intentions: Evidence from behavioral experiments. Social Science & Medicine 292, 114195 (2022). https://doi.org/https://doi.org/10.1016/j.socscimed.2021.114195, https://www.sciencedirect.com/science/article/pii/S027795362100527X
- [7] Dall’Asta, L., Pin, P., Ramezanpour, A.: Optimal equilibria of the best shot game. Journal of Public Economic Theory 13(6), 885–901 (2011)
- [8] Daskalakis, C., Goldberg, P.W., Papadimitriou, C.H.: The complexity of computing a nash equilibrium. SIAM Journal on Computing 39(1), 195–259 (2009)
- [9] Elkind, E., Goldberg, L.A., Goldberg, P.: Nash equilibria in graphical games on trees revisited. In: Proceedings of the 7th ACM Conference on Electronic Commerce. pp. 100–109 (2006)
- [10] Fomin, F.V., Kratsch, D.: Exact exponential algorithms. Springer Heidelberg (2010)
- [11] Galeotti, A., Goyal, S., Jackson, M.O., Vega-Redondo, F., Yariv, L.: Network games. The review of economic studies 77(1), 218–244 (2010)
- [12] Ghosh, S.K.: Concept of public goods can be experimentally put to use in pandemic for a social cause. https://indianexpress.com/article/opinion/columns/rbi-nobel-prize-in-economics-coronavirus-new-auction-/format-6779782/ (2020)
- [13] Gottlob, G., Greco, G., Scarcello, F.: Pure nash equilibria: Hard and easy games. Journal of Artificial Intelligence Research 24, 357–406 (2005)
- [14] Kempe, D., Yu, S., Vorobeychik, Y.: Inducing equilibria in networked public goods games through network structure modification. p. 611–619. AAMAS ’20, International Foundation for Autonomous Agents and Multiagent Systems, Richland, SC (2020)
- [15] Komarovsky, Z., Levit, V., Grinshpoun, T., Meisels, A.: Efficient equilibria in a public goods game. In: 2015 IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology (WI-IAT). vol. 2, pp. 214–219. IEEE (2015)
- [16] Ledyard, J.O.: 2. Public goods: A survey of experimental research. Princeton University Press (2020)
- [17] Levit, V., Komarovsky, Z., Grinshpoun, T., Meisels, A.: Incentive-based search for efficient equilibria of the public goods game. Artificial Intelligence 262, 142–162 (2018)
- [18] Maiti, A., Dey, P.: On parameterized complexity of binary networked public goods game. arXiv preprint arXiv:2012.01880 (2020)
- [19] Maiti, A., Dey, P.: Parameterized algorithms for kidney exchange. arXiv preprint arXiv:2112.10250 (2021)
- [20] Manshadi, V.H., Johari, R.: Supermodular network games. In: 2009 47th Annual Allerton Conference on Communication, Control, and Computing (Allerton). pp. 1369–1376. IEEE (2009)
- [21] Meier, D., Oswald, Y.A., Schmid, S., Wattenhofer, R.: On the windfall of friendship: inoculation strategies on social networks. In: Proceedings of the 9th ACM conference on Electronic commerce. pp. 294–301 (2008)
- [22] Papadimitriou, C., Peng, B.: Public Goods Games in Directed Networks, p. 745–762. Association for Computing Machinery, New York, NY, USA (2021), https://doi.org/10.1145/3465456.3467616
- [23] Wong, T.: Coronavirus: Why some countries wear face masks and others don’t. https://www.bbc.com/news/world-52015486 (2020)
- [24] Yu, S., Kempe, D., Vorobeychik, Y.: Altruism design in networked public goods games. In: Zhou, Z.H. (ed.) Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI-21. pp. 493–499. International Joint Conferences on Artificial Intelligence Organization (8 2021). https://doi.org/10.24963/ijcai.2021/69, https://doi.org/10.24963/ijcai.2021/69, main Track
- [25] Yu, S., Zhou, K., Brantingham, P.J., Vorobeychik, Y.: Computing equilibria in binary networked public goods games. In: AAAI. pp. 2310–2317 (2020)
6 Missing Proofs
Proof (Proof of Theorem 3.2)
Let be an instance of BNPG game with altruism. Let the circuit rank of be . W.l.o.g. let the graph have connected component. First, let us compute the minimum spanning tree of . Let . Note that . Let be the set of endpoints of the edges in . Note that . Let . For all , let denote the set of out-neighbours of in . For every pair of tuples and , we do the following.
-
(i)
, let be the number of neighbours of in who play in the tuple . Now below we define and for all .
-
(ii)
Next we decide if there exists a PSNE for the instance of BNPG game with altruism such that
-
(a)
for every
-
(b)
, the number of neighbours of in whose strategies are in is .
This can be decided by a polynomial time algorithm due to Corollary 1. We return yes if such a PSNE exists.
-
(a)
If no such PSNE exists for every choice of pair of tuples and , then we return no. The running time of our algorithm is . Now we show that our algorithm returns correct output for every input instance.
In one direction, let there be a PSNE for the instance of BNPG game with altruism. For all , let be the number of neighbours of in whose strategies are in . We now show that is a PSNE for the instance of BNPG game with altruism where and . Let denote the number of neighbors of in whose strategies are in . Due to the definition of , we have for and for . Therefore, we have for and for . Consider a player . If , then and hence, we have . Therefore, does not deviate from its decision of playing in . Similarly if , then and hence, we have . Therefore, does not deviate from its decision of playing in . Hence, is a PSNE for the instance of BNPG game with altruism where and . This implies that our algorithm will return yes.
In the other direction, let our algorithm return yes. This means for a pair of tuples and , we have a PSNE for the instance of BNPG game with altruism. We now show that is a PSNE for the instance of BNPG game with altruism. Consider a player . If , then . Therefore, we have . Hence, does not deviate from its decision of playing in . Similarly, if , then . Therefore, we have . Hence, does not deviate from its decision of playing in . Hence, is a PSNE for the instance of BNPG game with altruism.
Proof (Proof of Theorem 3.3)
Let be an integer. First observe that if players are playing , then for every player is . Let be the set of players which do not deviate from playing if their neighbours are playing . Let be the set of players which do not deviate from playing if their neighbours are playing . Now we claim that there is a PSNE where players are playing iff , and .
In one direction, suppose there is a PSNE with players playing , then there is a subset of at least players such that , . Therefore, . Now in we have players who are playing . It implies that there a subset of at least players such that , . Therefore, . Now observe that a player plays 0 in otherwise would deviate from its decision. This implies that as does not deviate from playing (recall, is a PSNE). And . Hence, must be equal to .
In the other direction, let it be the case that , and . Now let us construct a strategy profile as follows. First, , set . Now consider a subset such that . We always can choose such a subset due to the following:
Now, , set . For the rest of the players who are not part of both and , we set their strategies as . Now we claim that is a PSNE. A player with won’t deviate as they are part of . Similarly, a player with won’t deviate as they are part of . Hence is a PSNE.
Having proved our claim, we now present the polynomial time algorithm. First check whether the strategy profile where all players do not invest is PSNE or not. This can checked in polynomial time. If it is not a PSNE, then check whether the strategy profile where all players invest is PSNE or not. This can also be checked in polynomial time. If it is not a PSNE, then check whether there is a such that , , and . If there is such a , then there exists a PSNE otherwise there is no PSNE.
Proof (Proof of Lemma 1)
Let be an instance of heterogeneous ANM with asymmetric altruism. , let . Using this instance, we create an instance == of fully homogeneous ANM with asymmetric altruism. First we set and .
Next we construct the graph as follows.
Let and . We now recursively define a function as follows.
Now for all , we set and . Now for all , set . For all , set . Now we construct the altruistic network as follows:
Now we define the cost function . For all such that is allowed be added to , . For remaining edges which are allowed to be added to , .
This completes the description of fully homogeneous ANM with asymmetric altruism. We now claim that the instance of heterogeneous ANM with asymmetric altruism is a yes instance iff the instance of fully homogeneous ANM with asymmetric altruism is a yes instance.
In one direction, let heterogeneous ANM with asymmetric altruism be a yes instance. For all , if was added to , then add to . Similarly for all , if was removed from , then remove from . Now we show that becomes a PSNE. For all , let the number of neighbours of playing in be . Then the number of neighbouts of playing in is . Now for all such that , we have . Hence doesn’t deviate from playing . Similarly for all such that , we have . Hence doesn’t deviate from playing . Remaining nodes in don’t deviate from playing as and is at least . Hence fully homogeneous ANM with asymmetric altruism is a yes instance.
In other direction, let fully homogeneous ANM with asymmetric altruism be a yes instance. First observe that an edge not having both the endpoints in the set can’t be added to otherwise the total cost of the edges added would exceed . For all , if was added to , then add to . Similarly for all , if was removed from , then remove from . Now we show that becomes a PSNE. For all , let the number of neighbours of playing in be . Then the number of neighbouts of playing in is . Now for all such that , we have . Hence doesn’t deviate from playing . Similarly for all such that , we have . Hence doesn’t deviate from playing . Hence heterogeneous ANM with asymmetric altruism is a yes instance.
Proof (Proof of Lemma 2)
Let be an instance of heterogeneous ANM with symmetric altruism. , let . Using this instance, we create an instance == of fully homogeneous ANM with symmetric altruism. First we set and .
Next we construct the graph as follows.
Let and . We now recursively define a function as follows.
Now for all , we set and . Now for all , set . For all , set . Now we construct the altruistic network as follows:
Now we define the cost function . For all such that is allowed be added to , . For remaining edges which are allowed to be added to , .
This completes the description of fully homogeneous ANM with symmetric altruism. We now claim that the instance of heterogeneous ANM with symmetric altruism is a yes instance iff the instance of fully homogeneous ANM with symmetric altruism is a yes instance.
In one direction, let heterogeneous ANM with symmetric altruism be a yes instance. For all , if was added to , then add to . Similarly for all , if was removed from , then remove from . Now we show that becomes a PSNE. For all , let the number of neighbours of playing in be . Then the number of neighbouts of playing in is . Now for all such that , we have . Hence doesn’t deviate from playing . Similarly for all such that , we have . Hence doesn’t deviate from playing . Remaining nodes in don’t deviate from playing as and is at least . Hence fully homogeneous ANM with symmetric altruism is a yes instance.
In other direction, let fully homogeneous ANM with symmetric altruism be a yes instance. First observe that an edge not having both the endpoints in the set can’t be added to otherwise the total cost of the edges added would exceed . For all , if was added to , then add to . Similarly for all , if was removed from , then remove from . Now we show that becomes a PSNE. For all , let the number of neighbours of playing in be . Then the number of neighbouts of playing in is . Now for all such that , we have . Hence doesn’t deviate from playing . Similarly for all such that , we have . Hence doesn’t deviate from playing . Hence heterogeneous ANM with symmetric altruism is a yes instance.
Proof (Proof of Lemma 3)
Let be an instance of heterogeneous ANM with symmetric altruism. Let us partition into three sets , and such that and , we have and . Let be a function such that if .
Using this instance, we create an instance == of fully homogeneous ANM with symmetric altruism. First we set and .
Next we construct the graph as follows.
It is easy to observe that the maximum degree of is 13.
Let and . We now recursively define a function as follows.
For all , let . For all , . Now for all , we set . Now for all , set . For all , set . Now we construct the altruistic network as follows:
Now we define the cost function . For all such that is allowed be added to , . For remaining edges which are allowed to be added to , .
This completes the description of fully homogeneous ANM with symmetric altruism. We now claim that the instance of heterogeneous ANM with symmetric altruism is a yes instance iff the instance of fully homogeneous ANM with symmetric altruism is a yes instance.
In one direction, let heterogeneous ANM with symmetric altruism be a yes instance. For all , if was added to , then add to . Similarly for all , if was removed from , then remove from . Now we show that becomes a PSNE. For all , let the number of neighbours of playing in be . Then the number of neighbouts of playing in is . Now for all such that , we have . Hence doesn’t deviate from playing . Similarly for all such that , we have . Hence doesn’t deviate from playing . Remaining nodes in don’t deviate from playing as and is at least . Hence fully homogeneous ANM with symmetric altruism is a yes instance.
In other direction, let fully homogeneous ANM with symmetric altruism be a yes instance. First observe that an edge not having both the endpoints in the set can’t be added to otherwise the total cost of the edges added would exceed . For all , if was added to , then add to . Similarly for all , if was removed from , then remove from . Now we show that becomes a PSNE. For all , let the number of neighbours of playing in be . Then the number of neighbouts of playing in is . Now for all such that , we have . Hence doesn’t deviate from playing . Similarly for all such that , we have . Hence doesn’t deviate from playing . Hence heterogeneous ANM with symmetric altruism is a yes instance.
Proof (Proof of Theorem 4.1)
We reduce from the decision version of the KNAPSACK Problem. In Knapsack problem, we are give a set of items with profits and weights . The aim is to check whether there exists a subset of items such that and . Now we create an instance of ANM with asymmetric altruism. We set . The input graph (,) is defined as follows
Let the initial altruistic graph be empty. Let the target profile have all the players investing (i.e, playing 1). Now we define the functions for all . for all . For all , for all . For all , for all . For all , . Now we define the cost of the introducing an atruistic edge. The cost of introducing the edge is . For remaining edges which are allowed to be added to , cost of adding is . Let the total budget be . This completes the description of the instance of ANM with asymmetric altruism.
Now we show that KNAPSACK Problem is a yes instance iff ANM with asymmetric altruism is a yes instance. In other direction, let KNAPSACK problem be a yes instance. Then there is a subset of items such that and . Now if we introduce the set of altruistic edges , then the target profile becomes a PSNE and the total of introducing these edges is at most . Hence ANM with asymmetric altruism is a yes instance.
In the other direction, let the ANM with asymmetric altruism be a yes instance. Then there is a set of altruistic edges of total cost at most such that when they are introduced the target profile becomes a PSNE. Let . Hence if the subset of items is chosen then we have and . Hence the KNAPSACK problem is a yes instance.
Applying Lemma 1 concludes the proof of this theorem.
Proof (Proof of Theorem 4.2)
We reduce from the decision version of the KNAPSACK Problem. In Knapsack problem, we are give a set of items with profits and weights . The aim is to check whether there exists a subset of items such that and . Now we create an instance of ANM with symmetric altruism as follows. We set . The input graph (,) is defined as follows
Let the initial altruistic graph be empty. Let the target profile have all the players investing (i.e, playing 1). Now we define the functions for all . for all . For all , for all . For all , for all . For all , . Now we define the cost of the introducing an atruistic edge. For all , the cost of introducing the edge is . For all , the cost of introducing the edge is . Let the total budget be . This completes the description of the instance of ANM with symmetric altruism.
Now we show that KNAPSACK Problem is a yes instance iff ANM with symmetric altruism is a yes instance. In other direction, let KNAPSACK problem be a yes instance. Then there is a subset of items such that and . Now if we introduce the set of altruistic edges , then the target profile becomes a PSNE and the total of introducing these edges is at most . Hence ANM with symmetric altruism is a yes instance.
In the other direction, let the ANM with symmetric altruism be a yes instance. Then there is a set of altruistic edges of total cost at most such that when they are introduced the target profile becomes a PSNE. Let . Hence if the subset of items is chosen then we have and . Hence the KNAPSACK problem is a yes instance.
Applying Lemma 2 concludes the proof of this theorem.
Proof (Proof of Theorem 4.5)
To show the -hardness, we reduce from an instance of -SAT which we denote by . We define a function as and for all . We now create an instance of ANM with symmetric altruism as follows. Let the initial altruistic network be empty and . Input graph =(,) for the input BNPG game is as follows:
Now observe that the degree of every vertex in is at most . We now define and . . . . . Target profile is defined as follows. For all , . For all , and . Now define the cost of adding edges to . Cost of adding any edge is . The budget is infinite. This completes the construction of the instance of ANM with symmetric altruism.
Now we prove that the instance of -SAT is a yes instance iff the instance of ANM with symmetric altruism is a yes instance. In one direction, let -SAT be a yes instance and its satisfying assignment be . For all , we now do the following:
-
Let be part of the clauses and . Then add the edges to if , otherwise add the edge .
-
Let be part of the clauses and . Then add the edges to if , otherwise add the edge .
It is easy to observe that after adding the above edges, becomes a PSNE. Hence the instance of ANM with symmetric altrusim is a yes instance.
In the other direction, let ANM with symmetric altruism be a yes instance. First observe that for all , either or must have been added to . Let . Let . Now for all , there is no such that is added to otherwise will deviate from playing . Now consider the following assignment of -SAT instance. For all , if we have otherwise we have . Now we show that is a satisfying assignment. If not there is a clause which is not satisfied. Hence are not added to . But then would deviate from playing which is a contradiction. Hence is a satisfying assignment. Hence the instance of -SAT is a yes instance.
Applying Lemma 3 concludes the proof of this theorem.
Proof (Proof of Theorem 4.3)
To show the -hardness, we reduce from an instance of -SAT which we denote by . We define a function as and for all . We now create an instance of ANM with symmetric altruism as follows. Let the initial altruistic network be empty and . Input graph =(,) for the input BNPG game is as follows:
Now observe that the degree of every vertex in is at most . We now define and . . . . . Target profile has all the players investing. Now define the cost of adding edges to . Cost of adding an edge from the set is . Cost of adding an edge from the set is . The budget is . This completes the construction of the instance of ANM with symmetric altruism.
Now we prove that the instance of -SAT is a yes instance iff the instance of ANM with symmetric altruism is a yes instance. In one direction, let -SAT be a yes instance and its satisfying assignment be . For all , we now do the following:
-
Let be part of the clauses and . Then add the edges to if , otherwise add the edge .
-
Let be part of the clauses and . Then add the edges to if , otherwise add the edge .
The total cost of adding the above edges is . It is easy to observe that after adding the above edges, becomes a PSNE. Hence the instance of ANM with symmetric altruism is a yes instance.
In the other direction, let ANM with symmetric altruism be a yes instance. First observe that for all , either or must have been added to . Also for no , both and are added to otherwise the total cost of edges added would exceed . Let . Let . Now for all , must have been added to otherwise will deviate from playing . Here are part of the clauses and . No other edge can be added to otherwise the total cost of edges added would exceed . Now consider the following assignment of -SAT instance. For all we have and for all we have . Observe that there is no such that . Now we show that is a satisfying assignment. If not there is a clause which is not satisfied. Hence are not added to . But then would deviate from playing which is a contradiction. Hence is a satisfying assignment. Hence the instance of -SAT is a yes instance. Applying Lemma 3 concludes the proof of this theorem.