## EigenTrust Algorithm for Reputation Management

## Algorithm

The Eigentrust algorithm is based on the notion of transitive trust: If a peer *i* trusts any peer *j*, it would also trust the peers trusted by *j*. Each peer *i* calculates the local trust value *s*_{ij} for all peers that have provided it with authentic or fake downloads based on the satisfactory or unsatisfactory transactions that it has had. Reputation management

where sat (*i*, *j*) refers to the number of satisfactory responses that peer *i* has received from peer *j*, and unsat(*i*, *j*) refers to the number of unsatisfactory responses that peer *i* has received from peer *j*.

The local value is normalized, to prevent malicious peers from assigning arbitrarily high local trust values to colluding malicious peers and arbitrarily low local trust values to good peers. The normalized local trust value *c*_{ij} is then

The local trust values are aggregated at a central location or in a distributed manner to create a trust vector for the whole network. Based on the idea of transitive trust, a peer *i* would ask other peers it knows to report the trust value of a peer *k* and weigh responses of these peers by the trust peer *i* places in them.

If we assume that a user knew the *c*_{ij} values for the whole network in the form of a matrix *C*, then trust vector that defines the trust value for is given by

In the equation shown above, if C is assumed to be aperiodic and strongly connected, powers of the matrix C will converge to a stable value at some point.

It seems that for a large value of *x*, the trust vector will converge to the same vector for every peer in the network. The vector is known as the left principal eigenvector of the matrix *C*. We also note that since is same for all nodes in the network, it represents the global trust value.

Based on the results above a simple centralized trust value computing algorithm can be written. Note that we assume that all the local trust values for the whole network are available and present in the matrix *C*. We also note that, if the equation shown above converges, we can replace the initial vector by a vector that is an m-vector representing uniform probability distribution over all m peers. The basic EigenTrust algorithm is shown below:

**repeat**

**until**

## EigenTrust Algorithm Questions