Abstract
Rational computation means secure multi-party computation in the presence of rational parties, who care about maximizing their utility. Here the notion of utility denotes payoffs when parties take certain actions in the computation. Therefore rational parties may carefully choose their actions before they interact with others. Traditionally, the main tasks of rational computation is to encourage parties to exchange information with their opponents, even if they do not trust each other. Exchanging information is similar to the action of cooperation towards the view of game theory. Therefore, measures should be taken to encourage parties to cooperate with others in rational computation. In this paper, we assume that rational parties who participate in the computation protocol form a social cloud. Parties in the social cloud may interact within several rounds and in each round, some desirable properties such as reputation may be generated. Parties who have good reputation means they are likely to cooperate with others. The structure of social cloud is not static. Instead, it evolutes when parties complete one round of computation. We mainly discuss the impact of social cloud structure on rational computation. Simulation results show that when the community structure reach to a proper value, parties are more likely to cooperate in the computation protocol. In addition, rational parties can gain optimal utilities.
Introduction
Social cloud presents relationships among a group of individuals, where they interact for certain purposes. Furthermore, social cloud plays a fundamental part as a medium spreading information, ideas etc. Meanwhile the spreading information affects the behaviours of members in the network. That is, individuals in social cloud are likely to be influenced by decisions of their friends or colleagues. Some research works show that the influences relate to the structure of social cloud. Individuals in the cloud may be divided into several groups and they are more likely to be influenced by individual within the same group. Therefore, we should care more about the influence inside the group other than outside the group. If one social cloud has different group divisions, we regard that the social cloud has different structures. In this paper, we mainly discuss the structure evolution of social clouds and its impact on rational computation protocols.
Rational computation protocols allow rational parties to participate in computation protocols. Recall that in traditional computation protocols, there are altogether four kinds of parties:
Honest parties always honestly follow the protocol.
Semi-honest adversary properly follows the protocol except to keep a record of all its intermediate computations.
Malicious adversary may arbitrarily deviate from the specified program of a two-party protocol.
Covert adversary who may arbitrarily deviate from the protocol specification in an attempt to cheat, but do not wish to be “caught” doing so.
Recently the notion of rational adversary is put forward to reason why parties have incentives to deviate from the protocol. Rational parties behave like neither semi-honest parties nor malicious parties. Instead they choose whether to deviate from the protocol according to their utilities. That is, if deviation may bring a higher utility than following the protocol, then they will deviate from the protocol, and vice versa. Rational parties are a bit like covert adversaries while the latter ones have incentives to cheat without considering their utility. Since parties will inevitably have some profit motives in realities, rational parties can better characterize the incentives for parties in many commercial, political and social settings [9,11].
Related works
Marks presents the notion of social clouds [8] by means of OpenSocial [30]. Pezzi [31] constructs a social cloud which can develop self-organizing and resilient communities without architectural details. A dynamic social is formed in [7] in order to leverage trust relationships among users. Examples include myExperiment [32] for biologists and nanoHub [21] for the nanoscience community. These systems may coordinate research communities. Social cloud is not similar to P2P network [12,23,24,33]. The reason lies in that the former is based on the encoded relationships. However the latter follows a group-based cloud model other than the completely decentralized model. Social cloud can be also used to support scientific collaboration, such as SETI@home [22] and Folding@home [6] etc. Chard and Caton [7] discuss the problem of measuring social compliance by using reputation in social cloud. Wang et al. [34] relate social cloud and rational computation protocol without considering clouds scenario. They also consider reputation in the utility definition to boost cooperation [35]. However, reputation in [35] is only an assumption there lacking practical application background. In this paper we combine previous results about reputation in order to find incentives for rational parties to cooperate under a practical application background. That is, reputation is a tangible factor derived from social cloud [10].
Game theory can also be used in secret sharing schemes, where rational parties only want to maximize their utilities [2,18,20,28]. Rational secret sharing schemes can be viewed as a kind of rational secure multi-party computation. Ong et al. [29] construct a secret sharing scheme in the presence of an honest minority and a rational majority parties. Lysyanskaya and Triandopoulos [27] study rational secure multi-party computation in the presence of rational parties and malicious adversaries. In [19,25,26], strong physical communications such as physical envelopes and ballot boxes are used to achieve Nash equilibrium or other stronger equilibriums. Recently, Garay et al. [15] discuss the incentives in rational cryptographic protocols by modeling them as a game, which consists of an protocol designer and external attacker. They think the attacker’s incentives is affected by costly corruption.
Motivations and contributions
In rational computation protocols, parties mainly choose to exchange their information with others according to their utilities. That is, they choose to cooperate with others towards the view of game theory. The decisions for rational parties’ action depend on their utilities. Traditionally, the utility is defined similar to prisoner’s dilemma (PD). However, it is well known that in one shot PD game, cooperation is not dominated strategy for both parties. Therefore, most previous works encourage them to cooperate by repeatedly interacting with each other just like repeated PD game. On the other hand, parties in social cloud form reputation when they repeatedly interact with each other. Furthermore, parties are willing to cooperate with those who have high reputation. If reputation on the basis of social cloud is introduced into rational computation, then parties have incentives to cooperate with each other instead of non-cooperation. Motivated by this, reputation is considered as an important part in rational computation by adding it into the utility definition. We also reconstruct the hybrid protocol in the presence of rational parties with new utility definition. We have done similar works in [35], where rational parties are independent and not belong to any network. Here we revisit this problem in a social cloud scenario on account of the following reasons.
Rational parties are not isolate in rational computation, instead they may belong to a social cloud, where they have a good reputation of cooperating with others or bad reputation of not cooperating. Reputation is considered as an ingredient of utility.
In [35], reputation is equal to the trust value between two parties and it dynamically updates according to their interactions. When parties belong to a social cloud, they may interact with other parities and accumulate their reputation even if he does not interact with the other party in rational computation. This is convenient especially for new comers in rational computation since they can evaluate the reputation coming from the social cloud.
As the reputation dynamically updates in each round, they should compute it continually, which burdens the computation complexity for parties. Here, we can delegate the social cloud to complete this task. That is, when parties need the value of reputation, they only inquire the social cloud and get back a global reputation about this party. The global reputation can prevent parties from cheating locally for a temporary high reputation. In other words, when reputation only derives from the interactions between parties in rational computation, parties therein may pretend to cooperate in order to gain a high reputation. However, when reputation derives from the interactions in social cloud, parties have no incentives to pretend to cooperate since it is not profitable.
In this paper, trust denotes one party’s belief in another capability to cooperate on the basis of its own direct experiences. Reputation denotes one party’s belief in another capability to cooperate on the basis of other parties’ recommendations in the whole network. Although trust and reputation is different with respect to their development, they both evaluate a party’s capability to cooperate. In rational computation, reputation is often used to implement fairness and improve the efficiency for the protocols [1,3,4,34].
Before presenting the hybrid protocol, we first represent the new utility definition. Traditional utility definition is formulated according to that of PD game, which is based on selfishness and exclusivity. Under such utility definition, both parties have no incentives to cooperate since cooperation is a dominated strategy for them. However, mutual cooperation may bring higher utility than mutual fink just like the results in PD game. New utility definition must be introduced to boost mutual cooperation. Therefore, we add reputation as the third part in utility definition. The computation of reputation is completed in the social cloud which greatly releases the computation word for the rational parties. Furthermore, we prove that given proper parameters, mutual cooperation is Nash equilibrium in rational computation. Note that this conclusion solves the problem that no parties will cooperate in rational computation since mutual cooperation is not Nash equilibrium.
Given the utility definition, the hybrid protocol is described as follows. The first stage is the same as that of [1,17]. We modify the second stage such that it adapts to the addition of social cloud. Assume that two parties in rational computation come from the social cloud and their reputation is computed on the social cloud. They compute the utility utilizing the reputation derived from the social cloud before they decide to send shares to his opponent at the beginning of each round in the second stage. In previous works, multiple exchanging rounds are available such that rational parties do not know whether they will obtain enough shares to retrieve the output. The basic idea of multiple rounds lies in two points. One point is that rational parties want to get the output according to the selfishness assumption. So they have incentives to cooperate in each stage for early aborting will lead them to a random output. The other point is that rational parties should abort at the right round, where he can retrieve the output while his opponent cannot, if he wants to reach to the exclusivity assumption. The abortion is possible for parties but with a small probability for the number of rounds is too large to guess the right round with a high probability. Parties compute their expected utility in the second stage, so the utility multiply by a small probability can be neglect when parties successfully guess the right round. Thus parties have no incentives to early abort. Multiple rounds can effectively prevent parties from deviating and achieving desirable result. However, things become different when parties possess reputation. Reputation change the way parties participate in the second stage. Since reputation is one part of the utility, no parties have incentives to deviate from it for mutual cooperation is Nash equilibrium according to Lemma 1. That is, each party will send his share to his opponent at the beginning of each round of the second stage. Now that parties have incentives to exchange their shares in each round, the multiple rounds in the second stage to prevent parties from prematurely abort failed to serve its purpose. That is, there is no need setting a right round in the second stage. Therefore, the hybrid protocol for rational computation should adjust a bit to adapt this change since it seems that multiple rounds are redundant.
For simplicity, the main contributions of this paper are concluded in the following way.
We bridge social cloud and rational computation by utilizing the reputation property. New utility definition are modified adding reputation as an important part such that mutual cooperation is Nash equilibrium on the basis of social cloud. To the best of our knowledge, it is the first time that rational computation is discussed under the background of social cloud. Reputation assigns sufficient justification for parties to cooperate with each other, which is essential to achieve desirable security goals in rational computation. We introduce dynamic mechanism to boost cooperation in social cloud and find that its structure has impact on action selection for rational parties. We choose Zachary network as an example to further study the optimal structure for social cloud. Simulation results show that the structure of evolution network is related to cooperation level. There exits an optimal structure for a social cloud such that most rational parties have incentives to cooperate. We propose an efficient rational computation protocol using the above conclusions. The most distinction of our hybrid protocol is that both parties can successfully exchange shares within only one round since mutual cooperation is Nash equilibrium. Note that multiple rounds are necessary in previous works, which decrease the round complexity of the protocol.
Organization
The rest of paper is organized as follows. Section 2 presents some preliminaries such as the construction of social cloud, the notions of trust and reputation, the definitions of utility and Nash equilibrium. In Section 3 we present the revolution of trust and reputation on social cloud. We also describe the architecture of rational computation and interactions based on social cloud, where parties form their reputation. Then we redefine the utilities considering the effect of greediness except selfishness and exclusivity. Furthermore, we also simulate the social cloud structure on the base of Zachary network and results show that the evolution network can well boost cooperation for parties in the social cloud. Section 4 presents the construction of rational computation protocol based on the theoretical and simulation results such that rational parties have enough incentives to cooperate in the protocol. Section 5 concludes this paper and presents some directions of future works.
Preliminaries
Utility and Nash equilibrium
In the following sections, we only discuss rational computation in the presence of two parties. Let
Selfishness: If
Exclusivity: If
Note that
A strategy
A strategy
If
Social cloud is a scalable computing model, which dynamically share resources among friends in a network. Here we rehearsal the definition of social cloud coming from [7].
A social cloud is a resource and service sharing framework utilizing relationships established between members of a social cloud.
In this paper, we assume that two distrustful rational parties will complete a computation. Those rational parties, denoted as

The social cloud of Zachary network. (Colors are visible in the online version of the article;
The evolution of social cloud structure based on reputation
In this paper, we assume that two rational parties are also users in Facebook. Figure 2 describes the architecture of rational computation based on social cloud. Alice and Bob are two users in the Facebook, meanwhile they are also two rational parties who will participate in a computation protocol. The Facebook will initialize their reputation and send the values to social cloud in step (1). Then social cloud updates the reputation of Alice and Bob according to their actions in the social cloud in step (2). Alice and Bob request the reputation values from Facebook and it return the values to them in steps (3) and (4). They then decide whether to participate in the protocol after they compute the utilities in step (5). Finally, the social cloud records their actions, updates the reputation values and send the values to Facebook in step (6).

The architecture of rational computation based on social cloud. (Colors are visible in the online version of the article;
The interactions between two rational parties in one round of rational computation are presented in Fig. 3.
Before two parties (without loss of generality Alice and Bob) want to execute rational computation protocols, Facebook initializes their trust and reputation and sends them to the social cloud.
The social cloud updates the trust and reputation according to users’ behaviors in the social could. Note that the trust models can be any one in [13] and the reputation is defined as mentioned in Section 1.
Alice and Bob request to the trust (if they are neighbors) or reputation (if they are not neighbors) from the Facebook platform.
Facebook responds with parties’ respective trust or reputation to them.
Both parties compute their utility using these received values and decide whether to cooperate with the other party.
Meanwhile these decisions are observed by the social cloud, which records the actions and updates trust and reputation values. Finally the social cloud sends the updated values to Facebook in case for future request.
This is the end of one round of rational computation. In fact there are several rounds in the whole rational computation protocol just like repeat PD games.

The interactions of rational computation based on social cloud.
Since parties in social cloud have the property of reputation, previous utility assumptions: selfishness and exclusivity cannot well describe the affect of reputation on utility. Therefore, new assumption reflecting reputation must be considered. In this paper, new definition of utility consists of three assumptions. Equations (1)–(3) give the expression of each assumption, respectively. Let
Considering the above factors of each assumption, the extended utility definition under new assumptions is:
Note that the updating rules of reputations and the new utility definition are common knowledge for all rational parties. For two rational parties, the new utilities with the outcomes are defined as follows:
The utility between two pure rational parties
Given
The utilities with the corresponding outcomes are:
The main target is If it suffices If it suffices If it suffices
Therefore, if
Then we prove that
So, parties have no incentives to deviate and
Lots of measures are taken in order to make parties cooperate in protocols, such as punishments mechanism, awards mechanism etc. In this paper, we introduce dynamic mechanism to boost cooperation in social clouds. The basic idea is to utilize the results of repeated PD game, where parties may take certain retaliatory measures to avoid their opponents taking the action of defect in PD game. The most simple retaliatory measures is tit-for-tat (TFT) strategy, where parties always adopt the action which is adopted by their opponent. For example, if
Furthermore, we find that the cooperation level is related to the structure of social clouds. That is, parties belong to the same group are more likely to adopt the same action. Therefore, it is necessary to study the impact of community structure to the cooperation level in social clouds. The notion of community structure is similar to community in real life. The social network is divided into several groups. Nodes in the same group have close connection, while have sparse connections with nodes outside the group. Traditionally, there are various methods to divide the social network, such as agglomerative method, divisive method etc. Each method consists of lots of algorithms. In this paper, we choose the Newman algorithm to define the community of the social network and analyze the impact on cooperation level.
Newman et al. introduce a standard value Q to measure the quality community structure. Q is defined as follows. Define a symmetric matrix
Figure 4 denotes the value of Q and its corresponding tree view in the initial stage. In Fig. 4, it is shown that Q is optimal when community number is 3. That is, parties has clear community structure in this case and are more likely to cooperate. In this paper, we optimize the community structure algorithm by using TFT strategy and present the simulation results in Fig. 5, where n denotes the iteration rounds among parties. Q is optimal when the community number is 3 in Fig. 5(a) and 2 in Fig. 5(b). When the network is divided into 2 community, parties there are more likely to cooperate than the community number is 2. The network after n rounds of iteration is shown in Fig. 6. The community structure is more evident in Fig. 6(b) than in Fig. 6(a).

The value of Q and tree view in the initial stage. (Colors are visible in the online version of the article;

The value of Q and tree view after n rounds of iteration. (a)

The evolution networks. (Colors are visible in the online version of the article;
In previous works, the adversary may be semi-honest or malicious. However, security under semi-honest adversary is considered as a weak one. While security under malicious adversary is too strict to fit for the reality protocols. Therefore covert adversary is put forwards to model more realistic adversaries. The efficiency of protocols in the presence of covert adversary is between semi-honest adversary and malicious adversary. In this paper, we consider a more realistic kind of parties – rational parties , who are more adapt to economic or political scenarios. That is, if the strategy can maximize his utility then they will adopt it; otherwise they will not adopt it. Computational protocols in the presence of rational parties can achieve many desirable properties like fairness in computation.
In this paper, the rational computation in the presence of rational parties under social clouds is a hybrid protocol
The second stage is a protocol Π consisting of four phases: initial phase, exchange phase, cheat phase and output phase. The protocol Π is much like the actual protocol in [5]. Here, we use secret sharing schemes as building blocks and achieve informational security in the presence of rational covert adversaries (Ref. [16], Section 7.6).
The first stage functionality ShareGen:
Inputs: ShareGen takes as input values
Computation: Compute
Outputs: Send
The second stage protocol Π:
Initial phase: Parties run functionality ShareGen using their specific inputs.
Utility computation phase: Before parties take actions to exchange shares with his opponents, they first request Facebook for his opponent’ trust or reputation according to their relationship. For example, to judge whether they are neighbours. Then they compute their utility.
Exchange phase: Parties exchange their shares according to the utility and they also affected by the community structure of the social clouds.
Reputation updating phase: The social clouds update their reputation according to their behaviors, and send trust or reputation values back to Facebook for future use.
Output phase: At the end of the protocol, each party determines his outputs.
Rational parties form and update their reputation in social clouds. Furthermore, their utilities are based on their reputation. That is, a good reputation may bring higher utilities. Therefore, parties have incentives to cooperate in the protocol to gain a good reputation. According to the above ideas, rational parties in our protocol will finally get their outputs.
Conclusions
This paper considers the impact of reputation and structure of social clouds on rational computation protocols in social clouds settings. In this paper, we first present the new definition of reputation and evolution of reputation in social clouds and then add reputation as a new part in the utility. Furthermore, we also find that the community structure also has impact on the cooperation level in rational computation. We assume that two rational parties belong to a social cloud and the value of reputation is not only affected by the interactions with the other party in rational computation but also by the interaction with other parties in the social cloud. Previous works only consider the reputation between two parties in rational computation. In this paper, we also consider reputation and structure of social clouds. Finally, we consider a more general setting for both parties. Future works need to stress on more complex scenarios such as the reputation among multiple parties, where parties may collude to forge high reputation. Furthermore, new utility definitions should be explore based on other games like store chain game etc.
Footnotes
Acknowledgements
This work is partially supported by National Natural Science Foundation of China (No. 61202475), Outstanding Young Scientists Foundation Grant of Shandong Province (No. BS2014DX016), PhD Programs Foundation of Ludong University (No. LY2015033), Fujian Provincial Key Laboratory of Network Security and Cryptology Research Fund (Fujian Normal University) (No. 15004).
