• No results found

On the exponential generating function for non-backtracking walks

N/A
N/A
Protected

Academic year: 2021

Share "On the exponential generating function for non-backtracking walks"

Copied!
20
0
0

Loading.... (view fulltext now)

Full text

(1)

Arrigo, Francesca and Grindrod, Peter and Higham, Desmond J. and

Noferini, Vanni (2018) On the exponential generating function for

non-backtracking walks. Linear Algebra and its Applications, 556. pp.

381-399. ISSN 0024-3795 , http://dx.doi.org/10.1016/j.laa.2018.07.010

This version is available at

https://strathprints.strath.ac.uk/64878/

Strathprints is designed to allow users to access the research output of the University of Strathclyde. Unless otherwise explicitly stated on the manuscript, Copyright © and Moral Rights for the papers on this site are retained by the individual authors and/or other copyright owners. Please check the manuscript for details of any other licences that may have been applied. You may not engage in further distribution of the material for any profitmaking activities or any commercial gain. You may freely distribute both the url (https://strathprints.strath.ac.uk/) and the content of this paper for research or private study, educational, or not-for-profit purposes without prior permission or charge.

Any correspondence concerning this service should be sent to the Strathprints administrator:

[email protected]

The Strathprints institutional repository (https://strathprints.strath.ac.uk) is a digital archive of University of Strathclyde research outputs. It has been developed to disseminate open access research outputs, expose data about those outputs, and enable the

(2)

Contents lists available atScienceDirect

Linear

Algebra

and

its

Applications

www.elsevier.com/locate/laa

On

the

exponential

generating

function

for

non-backtracking

walks

Francesca Arrigoa,∗, Peter Grindrodb, Desmond J. Highama,

Vanni Noferinic,∗

a

DepartmentofMathematicsandStatistics,UniversityofStrathclyde,Glasgow, G11XH,UK

b

MathematicalInstitute,UniversityofOxford,AndrewWilesBuilding,Radcliffe ObservatoryQuarter,WoodstockRoad,Oxford,OX26GG,UK

c

DepartmentofMathematicalSciences,UniversityofEssex,WivenhoePark, Colchester,CO43SQ,UK a r t i c l e i n f o a b s t r a c t Articlehistory: Received18September2017 Accepted6July2018 Availableonlinexxxx SubmittedbyM.Benzi MSC: 05C90 05C50 15A15 65F50 Keywords: Centrality Matrixfunction Localization Networkscience

Wederiveanexplicitformula fortheexponentialgenerating function associated with non-backtracking walks around a graph. Westudybothundirected anddirectedgraphs. Our results allow us to derive computable expressions for non-backtrackingversionsofnetworkcentralitymeasuresbasedon thematrixexponential.Wefindthateliminatingbacktracking walks in this context does not significantly increase the computationalexpense.Weshowhowthenewmeasuresmay be interpreted in terms of standard exponential centrality computationon a certain multilayer network.Insights from thisblockmatrixinterpretationalsoallowustocharacterize centrality measures arising from general matrix functions. Rigorous analysis on the star graph illustrates the effect of non-backtracking and shows that localization can be eliminatedwhen werestrict to non-backtracking walks. We alsoinvestigatethelocalizationissueonsyntheticnetworks.

©2018TheAuthors.PublishedbyElsevierInc.Thisisan openaccessarticleundertheCCBYlicense (http://creativecommons.org/licenses/by/4.0/).

* Correspondingauthors.

E-mailaddresses:[email protected](F. Arrigo),[email protected](V. Noferini).

https://doi.org/10.1016/j.laa.2018.07.010

0024-3795/©2018TheAuthors.PublishedbyElsevierInc.ThisisanopenaccessarticleundertheCC BYlicense(http://creativecommons.org/licenses/by/4.0/).

(3)

1. Introduction

1.1. Motivation

Theconcept ofawalkonagraphisverynatural—on arriving atanode,thewalker maycontinuebytraversinganyedgepointingoutofthatnode.If,atanystage,theedge along whichthewalkercontinuesisthereverse oftheedgeonwhichtheyarrived, then the walk is said to be backtracking. Non-backtracking walks have been analyzed in a numberoffields.Theyplayakeyroleinthestudyofzetafunctionsongraphs[24],with applications inspectral graphtheory [4,23], numbertheory [44], discrete mathematics [12,41], quantumchaos[39], randommatrix theory[40], stochastic analysis[3], applied linear algebra [42] and computerscience [38,45]. Within network science, constraining walks to be non-backtrackinghasbeen shownto offerbenefitsincommunity detection [26,28], centrality measurement [6,20,29,36], network comparison [30] and inthe study of relatedissuesconcerningoptimalpercolation[31,32].

A natural task across all these fields is to count the number of distinct non-backtracking walks of a given length between pairs of nodes, and to form a compact expression forthe associatedgenerating function.For networkcentrality,inthecase of standard walkcounts ithasbeen argued thatanexponential-stylepowerseries givesa usefulalternativeto thestandardresolvent-styleversion[15].Forexample,basedonan analogy with aphysicaloscillator, itmaybe argued thatmovingfromthe resolventto theexponentialtakesusfromclassicaltoquantumphysics[16].Further,thereare effec-tiveandreliabletoolsforcomputingtheactionofthematrixexponential[2,21,22].This providestheinitialmotivationforourarticle,wherewestudytheexponentialgenerating functionassociatedwithnon-backtrackingwalks.Wealsonotethatmoregeneralmatrix functionshavebeen proposedinthiswalk-countingcontext[17].Hence,wethenextend theanalysis tocovergeneratingfunctionsbasedonarbitrarypowerseries.

1.2. Background

WeletA= (aij)∈Rn×n denote theadjacencymatrixforanunweightedgraphwith

nnodes;thatis,aij = 1 ifthereisanedgefromnodeitonodej,andaij = 0 otherwise.

Wewillassumethegraphtobeloopless,sothataii = 0 foralli,andtohavenomultiple

edges.IfwefurtherassumethegraphrepresentedbyAtobeundirected,i.e.,ifA=AT,

thenthegraphwillbesaidtobesimple.WeuseDtodenotethediagonalmatrixwhose diagonal entries are Dii = (A2)ii. So Dii counts the number of reciprocal neighbours

of node i, thatis, the numberof nodes j suchthat aij =aji = 1.If A =AT, so that

all edgesarereciprocated,then Dii reduces tothevector ofdegreesand anynode ifor

whichDii= 1 willbecalled aleaf.

If A = AT the network is said to be directed and we will denote by S = (s ij) ∈

Rn×n thematrixassociatedwiththegraphobtainedbyremovingalledgesthatarenot

(4)

A walk of length r from node i to node j is characterized by a sequence of edges

i=i1 →i2,i2→i3,. . . ,irir+1=j.Note thatedges andnodes mayberevisitedin thecourseofawalk. Itfollowsfrom thedefinitionof matrixmultiplication thatArhas

(i,j)thelementthatcountsthenumberofdistinctwalksoflengthrfromitoj;see,for example,[13,Theorem 2.2.1].Givenaparametert,theordinarygeneratingfunction[46] associatedwiththissequenceofwalkcountsmayberepresentedbyaresolventfunction:

r=0

trAr= (ItA)−1,

where I is the identity matrix. If t is interpreted as a formal algebraic variable, this expressionholdswithinthealgebraofformalpowerseries.Analytically,iftisinterpreted asareal(or complex)valuedparameter,itisvalid for|t|<1(A),where ρ(·) denotes thespectral radius. Similarly, theassociated exponential generating function [46] takes theformofamatrixexponential:

r=0

trAr

r! = exp(tA),

analyticallyvalidforallt∈R(or inC).

Power series expansionsthat combine walk counts of different lengths havebecome widely used inthefield ofnetwork science [17]. Here,the ideais to assign aweightto eachnodethatsummarizesits“importance”inthenetwork.Ifweinterpretimportance astheabilityofanodetoinitiatemessagesalongtheedgesinthegraph,thenweseethat (ItA)−11,for 0< t<1(A),and exp(tA)1, fort>0,are candidatesformeasuring andcomparingnodes,where1Rn isthevectorofones.Here,theithcomponentarises

by summing thenumber of distinct walks from node i to all nodes inthe graph, with walksoflengthrdiscountedbytrintheresolventcaseand bytr/r! intheexponential

case.TheresolventversiondatesbacktotheworkofKatz[25] andthealternativebased on the exponential function, called the total (node) communicability, was introduced andstudiedin [8]. Wealsonotethatboth versionsarerelatedto eigenvectorcentrality [10,11],whichusesthePerron–FrobeniuseigenvectorofAwhentheunderlyinggraphis stronglyconnected [9].

Inrecentwork[29],Martinetal.arguedthattraditionalcentralitymeasuresmaysuffer fromunwantedlocalizationeffectswhenthenetworkunderstudyhasascale-freedegree distribution(see,e.g., [7,14]).Inthistypeofnetwork,there areafewnodeswithahigh numberofneighbours,thatarethusassignedmostofthecentrality,andmanynodeswith averysmallnumberof connections,thathenceshare theremainderofthe massofthe centralityvector.Thisunbalancedpartitioningmakesitdifficulttodistinguishbetween the importance of the nodes with few connections. The authors therefore proposed a variationofeigenvectorcentrality motivatedbytheconcept ofnon-backtrackingwalks. This idea was pursued in [6,20] in the context of resolvent-based centrality. Our aim

(5)

hereistodevelopandstudytheanalogousexponentialversionofnon-backtrackingwalk centrality, andalsotoconsider generalmatrixfunctions.

Formally,wesaythatawalkisbacktrackingifitcontainsatleastonepairofsuccessive edges ofthe formij, ji;thatis, having leftsomenode iit immediately returns to thatnode. Wesay the walkis non-backtracking otherwise. Weuse theabbreviation NBTW to mean non-backtracking walk. We will denote by pr(A) ∈ Rn×n the matrix

whose (i,j)th entry counts the number of NBTWs of length r from node i to node j

in the graph represented by the matrix A. Our first task is therefore to obtain useful expressions forthecorrespondingexponentialgenerating function

F(t) := ∞ r=0 trp r(A) r! (1)

and centralitymeasure

b:=F(t)1. (2)

We do this inSections 2and 3for thecase of undirectedand directed graphs, respec-tively.Although,ofcourse,anundirectedgraphisaspecialcaseofadirectedgraph,we treat thetwo casesseparatelyfor tworeasons. First,undirectedgraphsare commonin network science, and henceit is useful to haveresults tailoredto this case.Second, in our context itseems morestraightforwardto study undirected graphsdirectly thanto simplifythemoregeneralexpressionfordirectedgraphs.InSection4,webrieflydescribe how to computethe proposed centrality measures and discuss computational costs. In Section5,weinterpretthenewexpressionsfromtheviewpointoftraversalsaround mul-tilayer networkswithpossiblynegativeinterlayerweights.Thisblockmatrixframework also allowsus to deriveexpressions forthe casewhere theexponential isreplaced bya general matrixfunction.InSection6we giveaconcreteexample ofthebenefitof non-backtracking,and furtherillustrationsonrealisticmodelnetworksappearinSection7. Weend withashort summaryinSection8.

Thekey analyticalstepsusedhereareto deriveand solveanODE—thisis awidely usedapproachinthestudyofexponentialgeneratingfunctions[46].Tothisend,wenote from (1) that F(t) =r=0 trp r+1(A) r! and F ′′(t) =r=0 trp r+2(A) r! . (3)

We also require a lemma on matrix-valued ODEs. The following result arises from columnwise application of a standard result on vector-valued linear systems; see, for example, [21, Section 2.1]. The statementof the result makes use of the shifted

(6)

expo-nentialfunctionψ1(z)= (ez−1)/z,whichmaybedefinedformallyviathepowerseries expansion ψ1(z) = ∞ r=0 zr (r+ 1)!. (4)

Lemma1.1. LetC∈Rm×mand P,X

0∈Rm×ℓ.Then

X(t) =1(tC) (P+CX0) +X0 (5)

is the unique solution to the linear, constant coefficient, inhomogeneous, autonomous, initialvalue ODEsystem

X(t) =CX(t) +P, X(0) =X

0.

Moreover,in thehomogeneouscaseP = 0,theexpression(5) simplifies to

X(t) = exp(tC)X0. (6)

Remark 1.2.We note that Lemma 1.1 does not require the Jacobian matrix C to be nonsingular.

2. Exponential generating function for undirected graphs

Weassumethroughoutthissectionthatthegraphisundirected.Wealsoassumefor conveniencethatthegraphisconnected—inthedisconnectedcase,eachcomponentmay bestudiedseparately.Wenote thateachnodeisthereforeassumedtohaveat leastone neighbour.

As wementioned inSection1.2, the matrixAr counts walksof length r. Hencethe

trivialrelationshipAr+1=AArgivesarecurrencebetweenwalkcountsforlengthrand

r+ 1. In thecase of NBTWson undirected graphs, thefollowing two termrecurrence relateswalkcountsofsuccessivelengths.Wehavep0(A)=I,p1(A)=A,p2(A)=A2−D, and

pr+2(A) =Apr+1(A)−(DI)pr(A), forr≥1. (7)

This recursion was proved in [12] for general directedgraphs. For the undirected case consideredhere,therecurrencewasre-derived independentlyin[41].

Wenowgivethemainstatementofthissection:anexplicitformulaforthegenerating function(1) andthecorrespondingcentralitymeasure (2).

Theorem 2.1. For a simple graph with associated adjacency matrix A, the exponential generating functionF(t)in(1) and totalcommunicability vectorbin(2) satisfy

(7)

F(t) =I 01(tY) A A2D +I, b= I 01(tY) A1 (A2D)1 +1, where Y := 0 I ID A ∈R2n×2n. (8)

In thecasewhere thegraphhas no leaves,theseexpressions maybe writtenas

F(t) =I 0exp (tY) I+ (DI)−1 A −(DI)−1, b= I 0exp (tY) 1+ (DI)−11 A1 −(DI)−11.

Proof. Toobtainthe exponential generatingfunction F(t) in(1),we multiplyby tr/r!

in(7) andthen sumfrom r= 1 to∞,toobtain

r=1 trp r+2(A) r! =Ar=1 trp r+1(A) r! −(DI) ∞ r=1 trp r(A) r! .

From (3),thisshows

F′′(t)p

2(A) =A(F′(t)−p1(A))−(DI)(F(t)−p0(A)), whichsimplifies to

F′′(t)AF(t) + (DI)F(t) =I. (9)

To converttoafirstorder system,weintroduce

G(t) = G1(t) G2(t) := F(t) F(t) ∈R2n×n, so that(9) becomes G(t) =Y G(t) + 0 −I , where G(0) = I A ,

(8)

G(t) =1(tY) 0 −I +Y I A + I A . (10)

Finally,wenotethattheJacobianmatrixY in(8) isinvertibleifandonlyif(DI)−1 exists,thatis,ifthegraphdoesnotcontainleaves,i.e.,nodesofdegreeone.Inthiscase

Y−1= (DI)−1A (DI)−1 I 0 and(10) simplifiesto G(t) = exp (tY) I+ (DI)−1 A − (DI)−1 0 . (11)

NotingthatF(t)=I 0G(t),weseethat(10) and(11) yieldthestatement. 2

WediscusstheseresultsfurtherinSections4and 5. 3. Exponential generating function for directed graphs

For directedgraphs thematrices pr(A) that count NBTWs satisfy athree term

re-currence.Thiswasshownin[12],withamorelinearalgebraorientedderivationgivenin [42].Withp0(A)=I,p1(A)=A,p2(A)=A2−D,therecurrencetakestheform

pr+3(A) =Apr+2(A)−(DI)pr+1(A)−(AS)pr(A), forr≥0. (12)

RecallthatS∈Rn×nistheadjacencymatrixofthegraphobtainedbyonlyconsidering

reciprocatedlinksintheoriginalnetwork;sosij =aijaji.Weemphasizethatunlikethe

undirectedcase(7),thisrecurrenceisvalidfrom r= 0. HereistheanaloguefordirectedgraphsofTheorem2.1.

Theorem 3.1. Let A be the adjacency matrix of an unweighted directed graph with no self-loops nor multipleedges. The exponential generating function F(t)in (1) and total communicability vectorbin(2) satisfy

F(t) =I 0 0exp(tZ) ⎡ ⎢ ⎣ I A A2D ⎤ ⎥ ⎦, b=I 0 0exp(tZ) ⎡ ⎢ ⎣ 1 A1 (A2D)1 ⎤ ⎥ ⎦,

(9)

where Z:= ⎡ ⎢ ⎣ 0 I 0 0 0 I −(AS) −(DI) A ⎤ ⎥ ⎦∈R3n×3n. (13)

Proof. Multiplying(12) bytr/r! andsummingfrom r= 0 towearriveat

F′′′(t) =AF′′(t)(DI)F(t)(AS)F(t). (14)

We note that, incontrast to (9), this ODE doesnot havean inhomogeneous term.To convertto afirstorder system,introduce

H(t) = ⎡ ⎢ ⎣ H1(t) H2(t) H3(t) ⎤ ⎥ ⎦= ⎡ ⎢ ⎣ F(t) F(t) F′′(t) ⎤ ⎥ ⎦, so that H(t) =ZH(t), where H(0) = ⎡ ⎢ ⎣ I A A2D ⎤ ⎥ ⎦, where Z isdefinedin(13).

Using (6) in Lemma 1.1 and noting that F(t) =I 0 0H(t), we arrive at the statement. 2

It isofinteresttonote thattheremovalofbacktracking walksmaybeinterpretedas the introduction ofdamping terms−(DI)F(t) and (AS)F(t) in(14). Further,

Theorem 3.1 shows that, ingeneral, as t increasesthe total communicability vector b

alignswiththefirstncomponentsofthedominanteigenvectorofZ.

4. Computing the centrality vectors

In this section we consider computational issues. First, we note that the standard expression for the total(node) communicability,etA1, requires the actionof the

expo-nential of a sparse n by n matrix on a vector in Rn. It is reasonable to assume that

a suitable approximation may be obtained iteratively, using a small number of sparse matrix-vectormultiplications[2].AssumingthatAhasO(n) nonzeros(edges),theneach sparsematrix-vectormultiplicationwillcostO(n).Hence,usingktodenotethenumber of iterations,the overallcost willbe O(nk). Inpractice,it isreasonable to regardk as finite andindependentfrom n,sothatthisexpressionbecomesO(n).

(10)

In Theorem 2.1, we see that for an undirected graph with no leaves, the cost of computing the non-backtracking total communicability vector b is dominated by the

actionofetY onavectorinR2n,where the2nby2nsparsematrixY isdefinedin(8).

We note that Y has only 2n morenonzeros than the underlying adjacency matrixA, and hence,under theassumptions above, ifthe samenumber ofiterations is required, thenthesameO(n) costapplies.

Inthe directedcase, the expression forb inTheorem 3.1 requires the action of etZ

onavectorinR3n,wherethe3nby3nsparsematrixZ isdefinedin(13).SinceZ also

hasO(n) nonzeros,weagainrecover theO(n) costunderourassumptions.

It remainsto consider thecase ofan undirected graphwith leaves.In Theorem2.1, theexpression forbinvolvestheshiftedexponential,ψ1,from (4).Wemayproceed by

reducingthekeycomputationtotheapproximationoftheactionofamatrixexponential inaslightlyhigherdimension.Let

Y := tY v 0T 0 ∈R(2n+1)×(2n+1),

wherevR2nand0R2nisavectorofallzeros.Itwasshownin [37,Section2.3] that

exp(Y) = etY ψ 1(tY)v 0T 1 . So,ifwelet v= A1 (A2D)1

thenbinTheorem2.1maybecomputedbyfirstapproximatingthevectorexp(Y)e2n+1,

where e2n+1 is the (2n+ 1)th vector of the standard basisof R2n+1. Wethen extract thetopnentriesof theresultingvector,scaleby tand shiftby1. Thisagain willhave

anO(n) costunderourassumptions.

Remark4.1.It is worthemphasizing thatthefinal stepsof scalingand shiftingcan be avoidedifwe areonlyinterested,asiscustomary innetworkscience, intherankingsof thenodesratherthantheiractualcentralityscores.

5. Block matrix interpretations

Theorems2.1and 3.1showthat,loosely,forexponential-basedcentralitytheoperation ofeliminatingbacktrackingwalksisequivalenttoreplacingtheoriginaladjacencymatrix

A with asuitable block matrix. Inthe undirected case, the 2by 2version Y in (8) is used, whereasthedirectedcasehasthe 3by3versionZ in(13). These blockmatrices wereconstructedindirectly,asaconsequenceofthegenerating functionapproach,[46].

(11)

Inthissection, weaddinsightbyshowinghow theseblockmatricesmaybeinterpreted directly.Wealsoshow thattheyremain relevantwhen theexponentialis replacedbya generalmatrixfunction.

We beginwith analgebraic interpretation.Thematrices Z and Y arethefirst com-panionmatrixlinearization[18] ofthematrixpolynomials(AS)+(DI)λ2+3 and,respectively,(DI)−+2.Theseareinturnthereversalsof,respectively,the directedand undirected versionof thedeformedgraphLaplacian,amatrixpolynomial thatplaysacrucialroleinthetheoryofNBTWcombinatorics,see[6,20].Algebraically, the companion matrix is themultiplication-by-λI operatorin themodule obtained by formingquotientsintheringofmatrixpolynomialsusingtheleftidealgeneratedbythe linearized matrix polynomial [34]. Linear-algebraic functions of the companion matrix alsohaveananalogousinterpretation;forexample,exp(tZ) representsmultiplicationby exp()Imodulo(AS)+ (DI)λ2+3.Formoredetailsonthisalgebraicview of companionmatricessee, e.g.,[33, Sec.2], [34,Sec.5],[35,Sec.9],and thereferences therein.

There is also agraph-theoretical interpretation that we now describe in detail. We focus first on the directed case, involving Z in (13). A useful connection is that Z

represents the adjacency matrix for a three layer weighted network. This network is node-aligned [27], so that the general ith nodes from each layer may be regarded as copiesofthesamenode.LookingatthediagonalblocksofZ,weseethatthewithin-layer connectionscorrespondtotheemptygraphforlayersoneandtwo,andtheoriginalgraph forlayerthree.Next,weconsidertheoff-diagonalblocks.Theidentitymatrixinthe(1,2) blockandzeromatrixinthe(1,3) blockshowthattheonlyedgeoutofanode inlayer one points to the corresponding node inlayer two.Similarly, we may only leave layer two bymovingtothecorresponding nodeinlayerthree.Withinlayerthree,inaddition to movingwithinthelayerusingedgesfromA,traversalsarepossibletolayerstwoand one.The (3,2) blockshowsthatforDii>1 atraversal maymovefrom nodeiinlayer

three to node i in layer two, with the negative weight1−Dii assigned to that edge.

The (3,1) blockshows thatamovefrom node iinlayer threeto node j inlayeroneis allowed ifandonlyiftheoriginalgraphhasanonreciprocaledgefromnodeitonodej, inwhichcasetheinter-layeredgecarriesweight−1.

TheexpressionforbinTheorem3.1showsthatexponentialNBTWcentralityarises

fromapost-processedversionofthe“standard”exponentialcentralityonthismultilayer network,wherenegativeinter-layerweightshavetheeffectofnegatingthecontributions of backtrackingwalksintheunderlyinggraph.

ThetwolemmasandthetheorembelowshowthatZ isalsorelevantformoregeneral matrixfunctions.

Lemma 5.1. Forallr≥0we have ZrZ 0 0 I = p r(A) pr+1(A) pr+2(A) .

(12)

Proof. For r <2,theidentity maybe verified directly.Forr≥2 the resultfollows by straightforwardinductionusingthethree termrecurrence(12). 2

Theorem 5.2 (Directed graph).Let{αr}∞r=0 beasequencesuchthatf0(Z)=∞r=0αrZr

converges.Thenr=0αrpr(A)converges, andr=0 αrpr(A) = [I0 0]f0(Z) I A A2D .

Moreover,r=0αrpr(A)isequaltothe(3,3) block inf0(Z)−f2(Z),where

fk(Z) = ∞ r=0

αr+kZr.

Proof. ByLemma5.1itfollows that

r=0 αrpr(A) = [I0 0] ∞ r=0 αrZrZ 0 0 I and,since Z 0 0 I = I A A2D

thefirstpartofthestatementfollows. Forthesecondpart,notefirstthat∞

r=0αr+2Zralsoconvergesundertheassumptions inthestatement.Then

r=0 αrpr(A) =α0I+α1A+ ∞ r=2 αrpr(A) =α0I+α1A+ [0 0I] ∞ r=2 αrZr−2Z 0 0 I =α0I+α1A+ [0 0I] ∞ r=2 αrZr 0 0 I −[0 0I] ∞ r=2 αrZr−2 0 0 I = [0 0I] ∞ r=0 (αrαr+2)Zr 0 0 I , asrequired. 2

(13)

Theorem 5.2 shows that we can accumulate combinations of NBTW counts in the originalnetworkbylookingatthe(3,3) blockofanappropriatefunctionofthematrixZ. Fromamultilayerperspective,the(3,3) blockofZisassociatedwiththelayercontaining the adjacency matrixA of theoriginal network. Theorem 5.2 therefore concerns walks of any lengththat startand end at thatlayer. This includes notonly walks thattake placewithinlayerthree,butalsothosethatmakeoneormoreintermediatevisitstothe other layers.

Thecontributioncomingfromf0(Z) countswalksinthemultilayernetworkusingthe original weights.Thecorrectionterminvolving f2(Z) removeswalksfrom thecount by weightingwalksoflengthr−2 asiftheywereoflengthr.

Inmoredetail,thetermf2(Z) isusedtocorrecttheappearanceofanidentitymatrix inZ2 thatisthenpropagatedathigherpowersofZ.Thisidentitymatrixatlevelr= 2 originatesfromtheoneappearinginthe(3,2) block.Thislatterisusedintherecursion (12) definingpr(A) whenr >2 tocorrectthepenalizationofwalksofthetype

i → · · · → kjkj of lengthr

which are backtracking at length(r−1)1 and thus neednot be removedbythe factor

pr−2(A)D.Walksofthistypetakeplace entirelyinthethirdlayerandarebalancedby theexistenceofwalksoftheform

node: i → · · · → kjjj

layer: [3] → · · · → [3] → [3] → [2] → [3] providedthatr >2.Whenr= 2,walksoftheform

node: j −−−→1−dj j −→1 j

layer: [3] → [2] → [3]

are improperly weighted, as the first hop contains a +1 that is used to balance the removal of walks thathave never even existed. This introduces a“delay” thatis then propagated whenlongerwalksarecounted.Tocounteractit,thematrixfunctionf2(Z) removes walks of length r−2 that are however weightedas if they were of length r; thistypeofweightingpreciselytargetsthosewalksobtainedfromthepropagationofthe identity matrixintroducedatr= 2 inf0(Z).

Theorem 5.2canbe usedto recover theknowncharacterisationoftheordinary gen-erating function. To see this, we let αr = tr for all r, with |t| < ρ(Z)−1. Then we

have

1

The additional requirement of the edge kj to be reciprocated is the one that adds the term

(14)

r=0 trpr(A) = [0 0I] (ItZ)−1t2(ItZ)−1 0 0 I = (1−t2)[0 0I](ItZ)−1 0 0 I .

Thisisequivalentto theresultin [6,Section 3].

Similarly,setting αr=tr/r! forsomet>0,Theorem 5.2gives

r=0 trp r(A) r! = [0 0I] etZt2ψ 2(tZ) 0 0 I , (15)

whereψ2(x)=∞r=0xr/(r+ 2)!.This descriptionofF(t) from (1) isequivalenttothat giveninTheorem3.1.However,(15) caststheresultentirelyintermsofthe(3,3) block, which,aswehavearguedabove,hasanaturalmultilayerinterpretation.

Wefinishthissectionbybrieflydiscussingtheundirectedcase.Here,theblockmatrix

Y in (8) may be associated with a two-layer network. In layer one, the only possible transitionis to theequivalent node inlayer two.We maymovewithin layer two using any edge that exists in the original graph, or,for Dii > 1, we maymove from node i

in layer two to node i in layer one along an edge with negative weight 1−Dii. The

analogues of Lemma5.1 and Theorem 5.2 are given below, with proofs following ina similarmanner.

Lemma 5.3. Forallr≥0wehave YrY 0 I = pr+1(A) pr+2(A) .

Theorem 5.4 (Undirected graph).Let{αr}r∞=0 beasequenceofnonnegativeweightssuch

that fk(Y):=∞r=0αr+kYr convergesfork= 0.Thenr=0 αrpr(A) = [0I] (f0(Y)−f2(Y)) 0 I .

Theorem 5.4 quantifiesin theundirected case how NBTWs onthe original network may also be counted by considering walks on the associated multilayer network that startandendinthelayercontainingA.

6. Stargraphanalysis

Inthis section, we givefurtherinsights into theeffect ofrestricting to NBTWsina totalcommunicabilitycentrality measure.Foreigenvectorcentrality,theauthorsin[29] arguedthatnon-backtrackingisameanstoavoidlocalization;thatis,theconcentration

(15)

of weight on a small number of nodes. Following [19], they characterized localization through an asymptotic limit. Given v = (vi) Rn the inverse participation ratio is

definedas S(v) = 1 v42 n i=1 vi4= v4 4 v42. (16)

This quantity is of order one in the case where a small number of elements in v are

responsible for mostof the weight.Moreformally, we saythatthe measure is localized

ifS(v)=O(1) andnonlocalized ifS(v)=o(1),intheasymptoticlimitn→ ∞.

We will analyze this property onthe undirected star graphwith n nodes. Here the adjacency matrixtakes theform

A= 1Tn −1 1n−1 , (17)

where 1s Rs is thevector of all ones. Thus node 1 is a hubwith n1 connections

to nodes 2,3,. . . ,n,whichare onlyconnected tonode 1.Intuitively,theeffectof back-tracking shouldbe significantinthis example.Thehubnodehasn−1 neighbours,and hence n−1 walks of length 1, but cannot initiate walks of length two or more with-out backtracking.Each peripheral node, incontrast, hasa singleneighbour, butn−2 NBTWs of lengthtwo.Hence, inthenon-backtracking regime,ift is takensufficiently large thatdegreedoesnotdominate, thenhaving onehighquality link(toahub)may be comparableinimportanceto havingmanylowqualitylinks(toleaves).

It isstraightforwardto showfor(17) that(see,forexample, [5,21])

etA= ⎡ ⎣ cosh(tn−1) sinh(tn−1)(√n−1)−11T n−1 sinh(tn−1)(√n−1)−11 n−1 cosh(t 1n −11Tn−1) ⎤ ⎦.

Hence, the standard, backtracking walk version of total communicability, x = etA1,

satisfies x= cosh(tn−1) +√n−1 sinh(tn−1) cosh(tn−1)1n −1+ ( √ n−1)−1sinh(tn1)1 n−1 .

Sothevaluesx1 forthehubnodeandx2foratypicalleafnodesatisfy

x1= cosh(tn−1) +√n−1 sinh(tn−1), x2= cosh(tn−1) + (√n−1)−1sinh(tn1).

It follows immediatelythatforany t>0 wehavex1> x2 when thegraphhasatleast three nodes. Hence, thestandardtotal communicabilitymeasure always ranksthehub node abovetheleaves.Wealsofindthat,forfixedt>0,

(16)

(x1)4= n2 16e 4tn−1+on2e4tn−1, (xi)4= n2 16(n−1)2e 4tn−1+oe4tn−1, for alli= 2, . . . , n, x4 2= n2 4e 4tn−1+on2e4tn−1.

Itfollowsthattheinverseparticipation ratio(16) satisfies

lim

n→∞S(

x) =1

4 andhencethemeasureislocalized.

Wemayevaluatethenon-backtrackingversion, b=F(t)1, fromfirstprinciples.The

hubnode has n−1 NBTWs of lengthone and no others, and eachleaf node hasone NBTWoflengthone,n−2 NBTWsoflengthtwoand noothers. So

b1= 1 +t(n−1) and b2= 1 +t+

t2

2(n−2).

Straightforward computationshows thatb1 > b2 for 0 < t< 2 andb1 < b2 for t >2. Therefore,weobserveatransitionthatisnotpresentwithstandardexponential central-ity,albeitinaparameterregimewhere tisgreaterthanunity.

Moretellingly,forfixed t>0

(b1)4=t4n4+o(n4), (bi)4= t8 16n 4+o(n4), for alli= 2, . . . , n, b42= t 8 16n 6+o(n6). Hence, lim n→∞S( b) = 0;

sothemeasure isnonlocalized.

7. Numericaltests

Inthissectionwestudythelocalizationeffectinarealisticsetting.Weusedarandom graphmodelratherthan afixeddata set sothatwe cancontrolthe dimension,n, and studytheasymptotics. Weusedanimplementation oftheBarabási–Albertpreferential attachmentmodelforundirectednetworksintheMATLABtoolboxCONTEST [43].In thismodel,nodes areadded sequentiallyuntil thedesiredsize isreached. Eachnode is

(17)

Fig. 1.Inverse participation ratio of vectorsF(t)1andetA

1as the number of nodes,n, varies.

given, upon arrival, d links to current nodes. These target nodes are chosen indepen-dently with a probability proportional to their current degree. The resulting network will have ascale-freedegreedistribution, where afewnodes (hubs) haveahigh degree andmanynodeshaveaverysmalldegree.Inthiscase,thevectorofdegreesislocalized byconstruction.Wehaveρ(A)≤ A∞,and whenthisinequalityissharpthepresence

ofahigh degreenodeforcesKatztouseasmallparameterα,producingresultscloseto degreecentrality [9].

Weusedthedefaultsetting ofthetoolbox, givingeachnoded= 2 linksuponarrival to the network, and we built networks of increasing size from n = 10 to n = 1000. For each network, wecomputed the inverseparticipation ratio (16) for the normalized total communicability vector etA1and its nonbactrackinganalogue b=F(t)1for t =

1 fixed. In order to compute both centrality vectors, we used the MATLAB toolbox

funm_kryl2 [1], which computesthe action of amatrix function over avector using a

restartedArnoldialgorithm.Werepeatedourtests1000 times.

The results are displayedin Fig.1, where the sample average of the inverse partic-ipation ratio is plotted against n in a semilogarithmic scale. The error bar is used to display the standard error around the averagevalues. The results are inline with the analyticalresultspresentedinSection6—theinverseparticipationratiodecaystowards zeroforthenon-backtrackingversion,butappearsto beboundedawayfromzerowhen backtracking walksareincluded.

8. Summary

Themain contributionsofthis workwere

1. toderiveanalyticalexpressionsforthenon-backtrackingwalkexponentialgenerating functionforbothundirectedand directedgraphs,

2

(18)

2. to show that it is feasible to compute the resulting network centrality measures: thekey matrixinvolvedinthecomputations hastwice(three times)thedimension of the analogous backtracking version for undirected (directed) graphs, and has a comparablelevel ofsparsity,

3. tointerpretthenewmeasuresinthecontextoftraditionalcentralityonamultilayer network,

4. touseinsightsfromthemultilayer/blockmatrixsettinginordertoderiveexpressions forgeneralmatrixfunction-basedcentralitymeasures,

5. to study how non-backtracking within exponential centrality reduces localization effects onastargraph,

6. togivefurtherillustrativeresultsonacontrollabletest network.

Ouroverallmessageis thatit isboth analyticallyandcomputationally attractive to study non-backtrackingwalk counts in ageneral matrixfunction setting thatincludes thematrixexponential.Wethereforehope tohavepavedtheway forfutureworkthat, forexample,considers

• physicalinterpretationsofthenewmeasures, • applicationstospecificfields ofnetworkscience,

• furtherlinkswithareas of discretemathematics,stochastic processesand quantum physics,

• the development and analysis of customized numerical methodsfor approximating the action of a matrix function on the type of large, sparse unstructured matrix arising innetworkscience.

Acknowledgements

The work of FA and DJH was supported by grant EP/M00158X/1 from the EP-SRC/RCUKDigitalEconomy Programme.

EPSRCData Statement:data usedinthisworkwasgenerated from theCONTEST package[43],whichispubliclyavailable.

References

[1]M.Afanasjew,M.Eiermann,O.G.Ernst,S.Güttel,ImplementationofarestartedKrylovsubspace methodfortheevaluationofmatrixfunctions,LinearAlgebraAppl.429 (10)(2008)2293–2314.

[2]A.H.Al-Mohy,N.J.Higham,Computingtheactionofthematrixexponential,withanapplication toexponentialintegrators,SIAMJ.Sci.Comput.33(2011)488–511.

[3]N.Alon,I.Benjamini,E.Lubetzky,S.Sodin,Non-backtrackingrandomwalksmixfaster,Commun. Contemp.Math.09(2007)585–603.

[4]O.Angel,J.Friedman,S.Hoory,Thenon-backtrackingspectrumoftheuniversalcoverofagraph, Trans.Amer.Math.Soc.326(2015)4287–4318.

[5]F.Arrigo,M.Benzi,C.Fenu,Computationofgeneralizedmatrixfunctions,SIAMJ.MatrixAnal. Appl.37 (3)(2016)836–860.

[6]F.Arrigo, P. Grindrod,D.J.Higham, V.Noferini, Non-backtrackingwalk centralityfor directed networks,J.ComplexNetw.6 (1)(2018)54–78.

(19)

[7]A.-L.Barabási, R.Albert,Emergence of scalinginrandom networks,Science 286 (5439) (1999) 509–512.

[8]M.Benzi,C.Klymko,Totalcommunicabilityasacentralitymeasure,J.ComplexNetw.1 (2)(2013) 124–149.

[9]M.Benzi,C.Klymko,Onthelimitingbehaviorofparameter-dependentnetworkcentralitymeasures, SIAMJ.MatrixAnal.Appl.36(2015)686–706.

[10]P.Bonacich,Factoringandweightingapproachestostatusscoresandcliqueidentification,J.Math. Sociol.2(1972)113–120.

[11]P.Bonacich,Powerandcentrality:afamilyofmeasures,Amer.J.Sociol.92(1987)1170–1182.

[12]R.Bowen,O.E.Lanford,Zetafunctionsofrestrictionsoftheshifttransformation,in:S.-S.Chern, S.Smale(Eds.),GlobalAnalysis, UniversityofCalifornia, Berkely,1968,in:Proceedings of Sym-posiainPureMathematics,AmericalMathematicalSociety,UniversityofCalifornia,Berkely,1970, pp. 43–49.

[13]D.Cvetkovć, P.Rowlinson,S.Simić, Eigenspacesof Graphs,Cambridge UniversityPress, Cam-bridge,1997.

[14]E.Estrada,TheStructureofComplexNetworks,OxfordUniversityPress,Oxford,2011.

[15]E.Estrada,N.Hatano,Communicabilityincomplexnetworks,Phys.Rev.E77 (3)(2008)036111.

[16]E.Estrada,N.Hatano,M.Benzi,Thephysicsofcommunicabilityincomplexnetworks,Phys.Rep. 514(2011)89–119.

[17]E.Estrada, D.J. Higham,Network propertiesrevealed throughmatrix functions,SIAM Rev.52 (2010)696–714.

[18]I.Gohberg,P.Lancaster,L.Rodman,MatrixPolynomials,SIAM,Philadelphia,PA,2009.

[19]A.V.Goltsev,S.N.Dorogovtsev,J.G.Oliveira,J.F.F.Mendes,Localizationandspreadingofdiseases incomplexnetworks,Phys.Rev.Lett.109(2012)128702.

[20]P.Grindrod, D.J.Higham, V.Noferini, TheDeformedGraph Laplacian andItsApplicationsto NetworkCentralityAnalysis,SIAMJ.MatrixAnal.Appl.39 (1)(2018)310–341.

[21]N.J.Higham,FunctionsofMatrices:TheoryandComputation,SocietyforIndustrialandApplied Mathematics,Philadelphia,PA,USA,2008.

[22] N.J.Higham,E.Deadman,ACatalogueofSoftwareforMatrixFunctions,Version2.0,MIMSEPrint 2016.3,ManchesterInstitutefor MathematicalSciences,TheUniversityofManchester, UK,Jan. 2016,http://eprints.ma.man.ac.uk/2431,updatedMarch2016.

[23]M.D.Horton,Iharazetafunctionsondigraphs,LinearAlgebraAppl.425(2007)130–142.

[24]M.D.Horton,H.M.Stark,A.A.Terras,Whatarezetafunctionsofgraphsandwhataretheygood for?in: G.Bertolaiko,R.Carlson, S.A.Fulling, P.Kuchment(Eds.),Quantumgraphsandtheir applications,in:Contemp.Math.,vol. 415,2006,pp. 173–190.

[25]L.Katz,Anewindexderivedfromsociometricdataanalysis,Psychometrika18(1953)39–43.

[26]T.Kawamoto,Localizedeigenvectorsofthenon-backtrackingmatrix,J.Stat.Mech.TheoryExp. 2016(2016)023404.

[27]M.Kivelä,A.Arenas,M.Barthelemy,J.P.Gleeson,Y.Moreno,M.A.Porter,Multilayernetworks, J.ComplexNetw.2(2014)203–271.

[28]F.Krzakala,C.Moore,E.Mossel,J.Neeman,A.Sly,L.Zdeborová,P.Zhang,Spectralredemption: clusteringsparsenetworks,Proc.Nat.Acad.Sci.110(2013)20935–20940.

[29]T.Martin,X.Zhang, M.E.J.Newman,Localizationandcentralityinnetworks,Phys.Rev. E90 (2014)052808.

[30]P.-A.G.Maugis,S.C.Olhede,P.J.Wolfe,Topologyrevealsuniversalfeaturesfornetwork compari-son,arXiv:1705.05677 [stat.ME],2017.

[31]F.Morone,H.A.Makse,Influencemaximizationincomplexnetworksthroughoptimalpercolation, Nature524(2015)65–68.

[32]F.Morone,B.Min,L.Bo,R.Mari,H.A.Makse,Collectiveinfluencealgorithmtofindinfluencers viaoptimalpercolationinmassivelylargesocialmedia,Sci.Rep.6(2016)30062.

[33]Y.Nakatsukasa,V.Noferini,Onthestability ofcomputingpolynomialrootsviaconfederate lin-earizations,Math.Comp.85(2016)2391–2425.

[34]Y.Nakatsukasa,V.Noferini,A.Townsend,Vectorspacesoflinearizationsofmatrixpolynomials: abivariatepolynomialapproach,SIAMJ.MatrixAnal.Appl.38 (1)(2016)1–29.

[35]V.Noferini,F.Poloni,Dualityofmatrixpencils,Wongchains andlinearizations,LinearAlgebra Appl.471(2015)730–767.

[36]R.Pastor-Satorras,C.Castellano,Distincttypesofeigenvectorlocalizationinnetworks,Sci.Rep. 6(2016)18847.

(20)

[37]Y. Saad, Analysisof some Krylovsubspace approximationsto thematrix exponential operator, SIAMJ.Numer.Anal.29 (1)(1992)209–228.

[38]A.Saade,F.Krzakala,L.Zdeborová,SpectralclusteringofgraphswiththeBetheHessian,in:Z. Ghahramani,M.Welling,C.Cortes,N.D.Lawrence,K.Q.Weinberger(Eds.),AdvancesinNeural InformationProcessingSystems,vol. 27,2014,pp. 406–414.

[39]U.Smilansky,Quantumchaosondiscretegraphs,J.Phys.A40(2007)F621.

[40]S. Sodin, Random matrices, non-backtracking walks, and theorthogonal polynomials, J. Math. Phys.48(2007)123503.

[41]H. Stark,A. Terras, Zeta functions of finite graphs and coverings, Adv.Math. 121 (1) (1996) 124–165.

[42]A. Tarfulea,R. Perlis,AnIharaformula for partiallydirectedgraphs, LinearAlgebraAppl. 431 (2009)73–85.

[43]A.Taylor,D.J.Higham,CONTEST:acontrollabletestmatrixtoolboxforMATLAB,ACMTrans. Math.Software35 (4)(2009)26:1–26:17.

[44]A. Terras, Harmonic Analysis on Symmetric Spaces — Euclidean Space, the Sphere, and the PoincaréUpperHalf-Plane,2ndedition,Springer,NewYork,2013.

[45]Y.Watanabe,K.Fukumizu,GraphzetafunctionintheBethe freeenergyandloopybelief prop-agation,in:Y. Bengio,D.Schuurmans,J. Lafferty,C.Williams,A. Culotta(Eds.),Advances in NeuralInformationProcessingSystems,vol. 22,2009,pp. 2017–2025.

References

Related documents

In the simplest scheme based on the boolean model for retrieval, we retrieve the documents that have occurrences of both good and teacher.. Such

○ If BP elevated, think primary aldosteronism, Cushing’s, renal artery stenosis, ○ If BP normal, think hypomagnesemia, severe hypoK, Bartter’s, NaHCO3,

The key segments in the mattress industry in India are; Natural latex foam, Memory foam, PU foam, Inner spring and Rubberized coir.. Natural Latex mattresses are

Such agreements are often defined by service level agreements (SLAs), which indicate the quality of service that the provider will guarantee, or peering contracts, which define

When a subscriber calls, whether the underlying cause is related to the malfunction or misconfiguration of in-house devices or a larger plant or capacity issue, the NMS must

The analysis of the given definitions allows to come to a conclusion that the trust in its classical understanding is the transfer of the property by

The PROMs questionnaire used in the national programme, contains several elements; the EQ-5D measure, which forms the basis for all individual procedure