arXiv:2610.41295cs.SIOct 2026

Manuscript Offprint

arXiv:2610.41295

Assortativity and the Distribution of Spectral Gaps in Directed Networks

Sreerag Puravankara, Vipin P. Veetil

Abstract

This paper studies how the distribution of spectral gaps of a weighted directed network varies with its assortativity. We prove that the sum of the distances of each of the eigenvalues from the Perron root along the real axis, which we call the ‘spectral depth’, decreases as the network is rewired to be less assortative. The result is conditional on the network’s Perron vectors ordering the rewired vertices in the same way as their strengths do. We also develop a method to determine whether a particular spectral gap contracts or expands under a rewiring that changes the network’s assortativity. It turns out that the direction of any one gap depends on far more than the network’s assortativity. In computational experiments on heavy-tailed networks, disassortative rewiring lowers the spectral depth by about two fifths, contracts most strongly the gaps in the middle of the spectrum, and collapses a growing part of the spectrum to zero. The experiments also show that a sequence of disassortative rewirings tends to narrow the first spectral gap, while a sequence of assortative rewirings widens it.

Keywords: Spectral gap, degree assortativity, degree-preserving rewiring, directed network, Perron root, eigenvalue perturbation.

*Indian Institute of Management Kozhikode, Kozhikode 673570, Kerala, India.

1. Introduction

The gaps between the eigenvalues of a network set the time scales of linear dynamics on it. The first spectral gap, between the leading eigenvalue and the second, sets the rate at which the network as a whole converges to its long-run state [14]. The spectral gaps further down set the rates at which parts of the network converge within themselves. A network composed of prominent community structures that are only loosely tied to one another will tend to exhibit faster convergence ‘within’ each community, possibly to different states, than for the network as a whole [26]. This information is embedded in the distribution of spectral gaps. More specifically, a network of loosely tied communities has one leading eigenvalue for each community, with the leading eigenvalues of the communities sitting close together, separated from the rest of the spectrum by a wide gap [1,13]. The narrow gaps among the leading eigenvalues set the slow convergence of the communities to one another, and the wide gap sets the fast convergence within each community.¹ In short, the distribution of spectral gaps is a matter of great interest when it comes to questions of dynamics on networks, whether the dynamics be economic, epidemiological, social or informational.

It so happens that most networks of practical interest are either assortative or disassortative, where by assortativity we mean how a network pairs its vertices by degree, or by strength when its edges carry weights. We say that a network is assortative if it joins its vertices of high degree to one another and its vertices of low degree to one another, and disassortative if it joins vertices of high degree to vertices of low degree. Social networks tend to be assortative, whereas the Internet, protein-interaction networks and several other biological and technological networks are typically disassortative [16–18, 20]. Firm buyer-seller networks too are mildly disassortative [3]. Such assortativity could, in principle, shape the dynamics on these networks if it influences the distribution of spectral gaps. The question of how assortativity influences spectral gaps is therefore of practical significance in a variety of sciences. Previous work gives us an inkling of how the distribution of spectral gaps changes with assortativity, but little of it rests on the bedrock of theory. Which is precisely what we attempt to provide in this paper.

We work with directed networks whose edges carry weights and whose eigenvalues need not be real. We change assortativity by moving weight between edges while holding the in-strength and out-strength of every vertex fixed. More specifically, the rewiring takes weight from two edges and places it on the two edges obtained by exchanging their targets. We measure assortativity by the correlation between the in-strength at the source of an edge and

¹The cluster of leading eigenvalues arises most directly when the weight matrix is normalized so that every row or every column sums to one. Without that normalization, the cluster arises when the communities have leading eigenvalues of comparable size. In a directed network the rates that the gaps set govern the long run, and the transient that precedes it can last longer when the eigenvectors are far from orthogonal [28].

the out-strength at its target [7]. 2^{2} The weight transfer is modeled as a continuous process, which we trace from the original network to the one arrived at through the rewiring. The evolution of the eigenvalues along the transfer can then be characterized using simple but powerful perturbation theory [9,12,27].

We begin with the rather innocuous observation that a rewiring that neither adds nor removes self-loops preserves the trace of the weight matrix. Note that our rewiring process neither adds nor removes a self-loop since the four vertices it involves are distinct. This means that our rewiring process does not alter the sum of the eigenvalues, which is of course the trace. Which in turn implies that if the Perron root changes, the other eigenvalues must on balance move the other way to preserve the sum. We call the total distance of the other eigenvalues beneath the Perron root, measured along the real axis, the “spectral depth”. Consider dynamics in continuous time in which the state of each vertex changes at a rate equal to the weighted sum of the states of the vertices it links to. The state of the network is then a sum of modes, one for each eigenvalue. Relative to the leading mode, which belongs to the Perron root, each other mode decays at a rate equal to the distance of its eigenvalue beneath the Perron root along the real axis. The spectral depth is the sum of these rates. When the spectrum is real, each eigenvalue lies beneath the Perron root by the sum of the gaps between them. So the spectral depth is a weighted sum of all the gaps. The spectral depth changes by exactly the number of vertices times the change in the Perron root. Elementary as it is, this tie between the spectral depth and the Perron root makes every result on the Perron root a result on the gaps taken together.

The Perron root sets how fast the number of walks on a network grows with their length, and it responds most to weight on edges that lead from vertices at which many walks arrive to vertices from which many walks depart. When the left and right Perron vectors of a network follow its strengths, the edges to which the Perron root responds most lead from vertices of high in-strength to vertices of high out-strength. A disassortative rewiring moves weight off such an edge, and off an edge between vertices of low strength, onto two edges that join vertices of high strength to vertices of low strength.

Whenever the left Perron vector ranks the two sources of the rewiring in the order of their in-strengths and the right Perron vector ranks the two targets in the order of their out-strengths, a disassortative rewiring lowers the Perron root. In earlier work we had bounded how far each

2^{2}We use this pairing because the response of the Perron root to a rewiring multiplies a difference of the left Perron vector at the two sources by a difference of the right Perron vector at the two targets, and the left Perron vector follows in-strength while the right one follows out-strength. Like Newman’s coefficient, this correlation is a Pearson coefficient. The lower bound of Newman’s coefficient depends on the size of the network and approaches zero for heavy-tailed degree sequences [15]. Our analytical results use only the sign of the change in the correlation, which such a bound does not affect.

Perron vector lies from its strength vector over all vertices [21]. In this paper we extend our earlier work with a condition for the ranking, which limits how far the Perron vectors may lie from the strength vectors at the four rewired vertices alone. The spectral depth falls with the Perron root. As the Perron root falls, the other modes of the network taken together decay more slowly relative to its leading mode. When the spectrum is real, a falling spectral depth leaves room for some gaps to widen while others narrow by more. But the spectral depth sets an upper bound on every gap and on the share of gaps above any given size, and neither upper bound can rise as the spectral depth falls. All of which is to say that a change in assortativity moves the gaps taken together through one property, the Perron root. As the Perron root falls, the gaps taken together narrow.

What remains to be established is how a particular gap responds to a change in assortativity. We derive an exact criterion for the direction of each gap along a rewiring. 3^{3} A gap moves with the velocities of the two eigenvalues that bound it. The gap contracts exactly when the upper eigenvalue has the smaller velocity. When the eigenvalues are distinct, the velocity of each is a weighted sum of the counts of walks from the two targets of the rewiring back to its two sources. The sum runs over all lengths less than the number of vertices, and its weights depend on every eigenvalue. The upper bounds on the gaps rest on a single summary statistic, the spectral depth, but the criterion rests on none. We show that the counts of all but the longest of these walks are compatible both with the contraction and with the expansion of any gap. When the counts of the shortest of these walks vanish and the count of the next longer ones is nonnegative, a falling Perron root does force some of the gaps to alternate between contraction and expansion. The alternation runs down the spectrum and begins with a contracting gap. But there is no general way, at least none that we have found, of saying how a gap responds to a change in assortativity without knowing a fair bit about the network. The exact criterion needs every eigenvalue of the network, and it becomes unstable when eigenvalues cluster. Therefore, we also give approximations to it that use only a group of leading eigenvalues [23, 24, 29]. The direction of a gap at the start of a rewiring may reverse along the way. We give a sufficient condition, checked at finitely many points along the path, under which a gap contracts at every point of the rewiring.

Though our analytical results sign the effect of assortativity on the spectral gaps, they do not provide a measure of its size. We use computational experiments to measure the size of the effect. More specifically, we implement our rewiring algorithm on simulated networks with heavy-tailed degrees and follow the spectrum through long sequences of rewirings. Each

3^{3}An ordered gap needs a real spectrum, and a directed network can have eigenvalues that are not real, so for a pair of them we follow the distance between the two in place of a gap. This distance moves with the velocities of the two eigenvalues, as a gap does.

rewiring transfers as much weight as the two edges it draws from allow. We select rewirings by the sign of their effect on assortativity alone. On large directed networks, disassortative rewiring lowers the spectral depth substantially. On symmetric networks, whose spectra are real, disassortative rewiring contracts most strongly the gaps in the middle of the spectrum. Assortative rewiring contracts most strongly the gaps just inside the two ends of the spectrum. A disassortative rewiring contracts the first gap more often than not, and an assortative rewiring less often than not, but neither does so nearly always. Along a long sequence of rewirings of one sign, the first gap moves the same way on nearly every network. It falls under disassortative rewiring and rises under assortative rewiring. On heavy-tailed networks without self-loops, disassortative rewiring also raises the share of gaps equal to zero. Put simply, a growing part of the spectrum collapses onto zero.