- Introduced by
- Bonacich, P. (binary); Opsahl, T. et al. (weighted extension)
- Year
- 1987 (binary); 2010 (weighted generalization)
- Type
- Spectral centrality measure
- Family
- Network science
What does it do?
Weighted eigenvector centrality extends eigenvector centrality to networks whose edges carry non-negative numerical weights.
Each node's score is proportional to the sum of its neighbours' scores, with each neighbour's contribution scaled by the weight of the connecting edge. A node therefore ranks highly when it is strongly tied to other highly ranked nodes, so both tie strength and network position affect the result.
The intuition behind the method
In an unweighted network, eigenvector centrality measures prestige recursively: being connected to important nodes raises your own importance. In a weighted network, a weak tie to a central actor should count for less than a strong tie to the same actor. Weighted eigenvector centrality captures this by replacing the binary adjacency matrix with a weight matrix. A researcher who co-authors intensively with a field leader therefore scores higher than one with a single co-authored paper with the same leader. Each node's score is proportional to the weighted sum of its neighbours' scores.
History
Bonacich (1987) proposed a generalised family of power and centrality measures in which a node's score depends on the scores of the nodes it is connected to. The eigenvector approach on which this page builds is rooted in that framework. Opsahl, Agneessens, and Skvoretz (2010) generalised degree and shortest-path centralities to weighted networks. The weighted eigenvector form described here, which replaces the binary adjacency matrix with a non-negative weight matrix, is a standard extension of the binary eigenvector approach rather than a result of either paper, and it is not attributed to a single originator.
When to use it
Use weighted eigenvector centrality when edge weights are meaningful as strengths of association, such as collaboration frequency, communication volume, trade flow, or co-occurrence count, and you want to rank nodes by both tie strength and the prestige of their neighbours. It suits co-authorship, trade, and connectivity networks where influence is thought to spread through strong ties to other influential nodes. Avoid it when weights are ordinal or arbitrarily scaled, when weights represent distances or costs rather than affinities, or when the graph is disconnected or very sparse, since the principal eigenvector then concentrates on one part of the network. If the question is about brokerage or control of shortest paths, path-based measures such as betweenness are more appropriate.
Limitations and considerations
- Unreliable on disconnected or nearly disconnected graphs: the principal eigenvector places its weight on the dominant component and gives nodes in other components zero or near-zero scores.
- Scaling all weights by the same constant leaves the eigenvector, and therefore the ranking, unchanged. Non-linear transformations of the weights, such as logarithms or powers, do change the ranking, so the chosen weight transformation must be justified.
- Does not account for path length or bridging roles. Nodes that sit on many important shortest paths can be underrated relative to betweenness-based measures.
- Computing the full eigendecomposition is costly for very large dense networks; sparse matrix methods or power iteration are needed at scale.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Combines tie strength and neighbour prestige in one score, unlike weighted degree (node strength), which ignores who the neighbours are.
- Grounded in spectral graph theory: for a connected non-negative matrix, the Perron-Frobenius theorem gives a largest eigenvalue whose eigenvector is non-negative and, for an irreducible matrix, positive, unique up to scaling.
- Responds to weight heterogeneity, so a node with a few strong ties to influential nodes can outrank a node with many weak ties.
- Available in general-purpose network libraries such as NetworkX and igraph, so it does not require custom implementation.
- Can be applied to both undirected and directed weighted networks, with the choice of eigenvector set by the edge orientation.
Applications
- Identifying key influencers in weighted collaboration or co-authorship networks in scientometrics.
- Mapping hub regions in brain connectivity networks where edge weights reflect signal correlation strength.
- Ranking countries by centrality in global trade networks weighted by export volume.
- Detecting dominant species or keystone nodes in ecological food webs with interaction-strength weights.
- Prioritising nodes for intervention in epidemiological contact networks with contact-frequency weights.
- Evaluating router or server importance in communication networks weighted by traffic volume.
How it works
How it works
Represent the network as a weight matrix W, where entry W_ij holds the weight of the edge between nodes i and j. Weights must be non-negative. For undirected networks W is symmetric; for directed networks W is generally asymmetric, and the edge orientation determines which eigenvector is meaningful.
Formula
W \in \mathbb{R}^{n \times n},\; W_{ij} = w_{ij} \geq 0Compute the eigenvalues and eigenvectors of W. The eigenvector x satisfying Wx = λx gives each node a score equal to (1/λ) times the weighted sum of its neighbours' scores, which is the recursive definition of the measure.
Formula
W \mathbf{x} = \lambda \mathbf{x}Select the eigenvector belonging to the largest eigenvalue. For a connected, non-negative matrix, the Perron-Frobenius theorem guarantees that this eigenvalue is real and that its eigenvector can be chosen with non-negative entries, which is why it is used as the centrality solution.
Formula
\mathbf{x}^* = \text{eigenvector for } \lambda_{\max}Divide each entry of the principal eigenvector by the maximum entry, so that the most central node scores 1 and the others are expressed relative to it. This is the convention written in the method's formula. Other normalisations, such as scaling to unit L2 norm, are used in practice and change the scale but not the ranking.
Formula
x_i^* = \frac{x_i}{\max_j x_j}Common pitfalls
- Using raw co-occurrence or interaction counts as weights without accounting for each node's overall activity, which inflates the scores of high-volume nodes regardless of how selective their ties are.
- Applying the measure to a disconnected graph without first extracting the component of interest, which leaves nodes outside the dominant component with zero scores that look like a substantive result.
- Treating distance-type weights (for example, geographic distance or latency) as affinity weights. This reverses the meaning: a large weight then denotes a weak connection, but the measure treats it as a strong one.
- Using power iteration without checking convergence, and trusting the scores of an iteration that stopped at a limit rather than at the tolerance.
- Passing negative weights (for example, antagonistic ties) directly into the matrix. The Perron-Frobenius guarantee no longer holds, and the principal eigenvector may have mixed signs.
Frequently asked questions
How does weighted eigenvector centrality differ from standard (binary) eigenvector centrality?
Binary eigenvector centrality uses an unweighted adjacency matrix, so each neighbour contributes equally regardless of tie strength. The weighted version uses a weight matrix, so a neighbour contributes in proportion to the weight of the connecting edge, making tie strength part of the prestige calculation.
What if my network is directed?
For directed weighted networks the weight matrix is asymmetric, and the choice of eigenvector depends on how the matrix is oriented. If W_ij is the weight of an edge from i to j, the left eigenvector accumulates scores along incoming edges and reflects in-flow prestige, which is similar to authority scores in HITS. The right eigenvector accumulates scores along outgoing edges and is closer to hub scores. Check the orientation convention of your software before interpreting the result.
Can negative edge weights be used?
The Perron-Frobenius guarantee of a non-negative principal eigenvector applies only to non-negative matrices. Negative weights, such as antagonistic relationships, break this guarantee and can produce eigenvectors with mixed signs that are hard to interpret. Do not convert negative ties to positive ones by taking absolute values, because this turns antagonism into affinity and yields a ranking that looks valid but misrepresents the network. Instead, analyse positive and negative ties in separate networks, or use a centrality method designed for signed networks, and state the choice when reporting results.
Is it better than weighted degree (strength) centrality?
They capture different things. Weighted degree (node strength) sums the weight of direct ties but ignores who the neighbours are. Weighted eigenvector centrality incorporates global network position recursively, so the two can rank nodes differently. If eigenvector centrality fails to converge or the graph is disconnected, node strength is a simpler alternative to report alongside it.
How should I handle very large networks?
Use sparse matrix representations and power-iteration algorithms, available in NetworkX and igraph, rather than a full eigendecomposition. Check the convergence tolerance and iteration limit. For very large networks, consider working on a sampled subgraph or aggregating nodes into communities before applying the measure.
Related methods
Sources
Bonacich, P. (1987). Power and centrality: A family of measures. American Journal of Sociology, 92(5), 1170–1182.
Open DOI referenceOpsahl, T., Agneessens, F., & Skvoretz, J. (2010). Node centrality in weighted networks: Generalizing degree and shortest paths. Social Networks, 32(3), 245–251.
Open DOI reference