spectral recognition of graphsspectra, i.e. that graphs are characterized by their spectra. very...

68
SPECTRAL RECOGNITION OF GRAPHS A Survey of Applications in Computer Science Dragoˇ s Cvetkovi´ c Mathematical Institute SANU, P.O. Box 367, 11000 Belgrade, Serbia E-mail: [email protected] http://www.mi.sanu.ac.rs/cv/cvcvetkovic.htm ([email protected]) Presented at the Conference on Applications of Graph spectra in Computer Science, Barcelona, July 16 to 20, 2012 July, 2012 Dragoˇ s Cvetkovi´ c (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 1 / 68

Upload: others

Post on 27-Jun-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

SPECTRAL RECOGNITION OF GRAPHSA Survey of Applications in Computer Science

Dragos Cvetkovic

Mathematical Institute SANU,P.O. Box 367, 11000 Belgrade, Serbia

E-mail: [email protected]://www.mi.sanu.ac.rs/cv/cvcvetkovic.htm

([email protected])Presented at the Conference on Applications of Graph spectra in Computer Science,

Barcelona, July 16 to 20, 2012

July, 2012

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 1 / 68

Page 2: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Content

IntroductionPreliminaries: Spectral graph theory in computer sciencesPreliminaries: Spectral recognition problemsGraph spectra in mathematics and computer scienceSpectral characterizations of graphsSimilarity of graphsSpectral distances in graphsRefinements using graph anglesNetwork alignment problemQueries for databases and the subgraph isomorphism problemStructural and spectral perturbations of graphsSome other spectral recognition problems

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 2 / 68

Page 3: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Introduction Preliminaries: Spectral graph theory in computer sciences

Spectral graph theory in computer sciences

Cvetkovic D., Simic S.K., Graph spectra in computer science, LinearAlgebra Appl., 434(2011), 1545-1562.

Arsic B., Cvetkovic D., Simic S.K., Skaric M., Graph spectral techniques incomputer sciences, Applicable Analysis and Discrete Mathematics,6(2012), No. 1, 1-30.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 3 / 68

Page 4: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Introduction Preliminaries: Spectral graph theory in computer sciences

First paper:1. Expanders and combinatorial optimization,2. Complex networks and the Internet topology,3. Data mining,4. Computer vision and pattern recognition,5. Internet search,6. Load balancing and multiprocessor interconnection networks,7. Anti-virus protection versus spread of knowledge,8. Statistical databases and social networks,9. Quantum computing,10. Bio-informatics,11. Coding theory,12. Control theory.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 4 / 68

Page 5: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Introduction Preliminaries: Spectral graph theory in computer sciences

The second paper contains, among others, the following sections andsubsections:3. Significant eigenvalues, 3.1. Largest eigenvalue, 3.2. Algebraicconnectivity, 3.3. The second largest eigenvalue, 3.4. The least eigenvalue,3.5. Main eigenvalues,4. Eigenvector techniques, 4.1. Principal eigenvector, 4.2. The Fiedlereigenvector, 4.3. Other eigenvectors,5. Spectral recognition problems, 6. Spectra of random graphs, 7.Miscellaneous topics, 7.1. The Hoffman polynomial, 7.2. Integral graphs,7.3. Graph divisors.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 5 / 68

Page 6: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Introduction Preliminaries: Spectral recognition problems

Spectral recognition problems

The whole spectral graph theory is related in some sense to therecognition of graphs since spectral graph parameters contain a lot ofinformation on the graph structure (both global and local). However, weshall treat here the problems of recognizing entire graphs, or some parts ofthem, both in an exact manner and in an approximative way.In particular, we shall consider- characterizations of graphs with a given spectrum- exact or approximate constructions of graphs with a given spectrum,- similarity of graphs,- perturbations of graphs.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 6 / 68

Page 7: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Graph spectra in mathematics and computer science

Graph spectra in mathematics and computer science

Spectral graph theory is a very well developed mathematical field but alsoan engineering discipline.For decades graph theory was just a collection of weakly interrelatedsubtheories (chromatic graph theory, metrical problems, trees, planargraphs, etc.). The theory of graph spectra contains tools which can beapplied to all these subtheories, although with varying strength, and onecan think of it as being a unifying theory for the whole graph theory.However, spectral techniques are weak for some problems andmathematicians could reasonably hold doubt in such a possible conclusion.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 7 / 68

Page 8: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Graph spectra in mathematics and computer science

In applications to computer sciences spectral graph theory is considered asvery strong and perhaps one can say that its unifying mission for graphtheory has been realized through Computer Science.The benefit of using graph spectra in treating graphs is that eigenvaluesand eigenvectors of several graph matrices can be quickly computed.Spectral graph parameters contain a lot of information on the graphstructure (both global and local) including some information on graphparameters that, in general, are computed by exponential algorithms.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 8 / 68

Page 9: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Graph spectra in mathematics and computer science

Moreover, in some applications in data mining graph spectra are used toencode graphs themselves.The following example is illustrative in this respect. The indexing structureof objects appearing in computer vision (and in other domains such aslinguistics and computational biology) may take the form of a tree. Anindexing mechanism that maps the structure of a tree into alow-dimensional vector space using graph eigenvalues is developed in

Shokoufandeh A., Dickinson, S. J., Siddiqi K., Zucker S. W., Indexingusing a spectral encoding of topological structure, IEEE Trans. Comput.Vision Pattern Recognition, 2 (1999), 491-497.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 9 / 68

Page 10: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Graph spectra in mathematics and computer science

In some cases researchers feel that the spectrum very well characterizesthe graphs under consideration so that the spectrum is considered as afingerprint of the corresponding network. The eigenvaluesγi ; i = 1, 2, . . . , n of the normalized Laplacian L in non-decreasing ordercan be represented by points ( i−1

n−1 , γi ) in the region [0, 1]× [0, 2] and canbe approximated by a continuous curve. It was noticed in

Vukadinovic D., Huang P., Erlebach T., On the spectrum and structure ofthe Internet topology graphs, Proc. Second Internat. Workshop onInnovative Internet Computing Systems, IICS ’02, vol. 2346, 2002, 83-95.

that this curve is practically the same during the time for several networksin spite of the increasing number of vertices and edges of thecorresponding graph.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 10 / 68

Page 11: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Spectral characterizations of graphs

Spectral characterizations of graphs

At some time it was conjectured that non-isomorphic graphs have differentspectra, i.e. that graphs are characterized by their spectra. Very quicklythis conjecture was refuted and numerous examples and families ofnon-isomorphic graphs with the same spectrum were found. In particular,it was proved that almost all trees are not characterized by their spectra.Analogous question for general graphs remained open.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 11 / 68

Page 12: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Spectral characterizations of graphs

Also in Chemistry there was a criticism on using graph eigenvalues tocharacterize moleculesHeilbronner E., Jones T.B., Spectral differences between ”isospectral”molecules, J. Amer. Chem. Soc., 100(1978), No. 20, 6505-6507.

Graphs with the same spectrum of an associated matrix M are calledcospectral graphs with respect to M, or M-cospectral graphs.

The existence of cospectral graphs is not considered as a disadvantage inusing graph spectra in Computer Science since it is believed that graphspectra contain enough information for the purposes for which they areused.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 12 / 68

Page 13: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Spectral characterizations of graphs

A graph H cospectral with a graph G , but not isomorphic to G , is called acospectral mate of G . Let G be a finite set of graphs, and let G′ be the setof graphs in G which have a cospectral mate in G with respect to a graphmatrix M. The ratio |G′|/|G| is called the spectral uncertainty of (graphsfrom) G with respect to M.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 13 / 68

Page 14: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Spectral characterizations of graphs

The paperHaemers W., Spence E., Enumeration of cospectral graphs, European J.Combin. 25 (2004), 199-211.provides spectral uncertainties rn with respect to the adjacency matrix A,sn with respect to the Laplacian L and qn with respect to the signlessLaplacian Q of sets of all graphs on n vertices for n ≤ 11:

n 4 5 6 7 8 9 10 11 12

rn 0 0.059 0.064 0.105 0.139 0.186 0.213 0.211 0.188sn 0 0 0.026 0.125 0.143 0.155 0.118 0.090 0.060qn 0.182 0.118 0.103 0.098 0.097 0.069 0.053 0.038 0.027

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 14 / 68

Page 15: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Spectral characterizations of graphs

We see that the sequences sn and qn are decreasing for n ≤ 12 while thesequence rn is increasing for n ≤ 10. Yet, it starts to decrease for n > 10.

This is a strong basis for believing that almost all graphs are determinedby their spectra when n tends towards the infinity, as conjectured inDam E.R. van, Haemers W., Which graphs are determined by theirspectrum?, Linear Algebra Appl., 373(2003), 241-272.

The proof of this conjecture would strengthen the theory of graph spectraand, in particular, its application to computer sciences.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 15 / 68

Page 16: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Spectral characterizations of graphs

Having in view the above data, in applications the L-spectrum is used toencode graphs rather than A-spectrum, i.e. the L-spectrum has morerepresentational power than the A-spectrum, in terms of resulting in fewercospectral graphs. The above data show that it is even better to usesignless Laplacian eigenvalue since they have stronger characterizationproperties.Recently, a spectral theory of graphs based on the signless Laplacian hasbeen developedCvetkovic D., Simic S.K.,Towards a spectral theory of graphs based on thesignless Laplacian, III, Appl. Anal. Discrete Math., 4(2010), 156-166.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 16 / 68

Page 17: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Spectral characterizations of graphs

There are many results in the mathematical literature on spectralcharacterizations of particular classes of graphs. For example, completegraphs, paths and circuits are characterized by their A-spectra up to anisomorphism.

Graphs characterized by their spectra up to an isomorphism are also calledin DS-graphs or it is said that such graphs are DS (spectrally determined).

There are also characterizations with some exceptional cospectral mates.

However, these results hardly could be applied to graphs which appear inapplications to computer science.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 17 / 68

Page 18: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs

Similarity of graphs

There is a need to introduce the notion of similarity of graphs. (This hasnothing to do with similarity in matrices, i.e. two graphs can be similarwithout corresponding matrices being similar.) This will be done usingvarious distances between graphs. A special role play spectral graphdistances.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 18 / 68

Page 19: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Spectral distances in graphs

Spectral distances in graphs

The Euclidean distance between the eigenvalue sequences of two graphson the same number of vertices is called the spectral distance of graphs.Some other spectral distances have been considered as well (e.g., theManhattan distance).In defining spectral distances various graph matrices can be used (e.g., theadjacency matrix, the Laplacian, the signless Laplacian).

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 19 / 68

Page 20: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Spectral distances in graphs

Some mathematical results on the Manhattan spectral distance have beenobtained inJovanovic I. Stanic Z., Spectral distances of graphs, Linear Algebra Appl.(2011), doi:10.1016/j.laa.2011.08.019An interesting observation from this paper is that the Manhattan distanceis in connection with graph energy, a graph invariant studied very much inthe literature. The energy of a graph is the sum of absolute values of itsA-eigenvalues. Thus the energy of a graph is the Manhattan spectraldistance of the graph from the graph without edges.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 20 / 68

Page 21: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Spectral distances in graphs

The use of the Laplacian and the signless Laplacian matrix for theManhattan distance seems to be very useful when considering subgraphs.

By the interlacing theorems for these matrices, all eigenvalues go down orremain the same if an edge is deleted from the graph. Hence the distancebetween a graph and any of its edge deleted subgraphs is equal to thedecrement of the trace of the matrix. Since for both matrices the trace isequal to the sum of vertex degrees, we conclude that the distance is equalto the twofold number of deleted edges.

All these properties do not hold for the adjacency matrix.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 21 / 68

Page 22: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Spectral distances in graphs

Two graphs are considered as similar if their spectral distance is small. Iftwo graphs are at zero distance, this does not necessarily mean that theyare equal (i.e. isomorphic); they are only cospectral. In this sense,cospectral graphs are similar.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 22 / 68

Page 23: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Spectral distances in graphs

For several reasons it is of interest to construct or generate a graph withthe given spectrum.An algorithm for such a spectral graph reconstruction has been developedinComellas F., Diaz-Lopez J., Spectral reconstruction of complex networks,Phys. A, 387(2008), 6436-6442.Given the spectrum of a graph, the algorithm starts from a random graphand uses the tabu search to diminish the Euclidean spectral distancebetween the given and the current spectrum.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 23 / 68

Page 24: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Spectral distances in graphs

Both, the distance and the meta-heuristic, can be varied. We could usethe Manhattan distance based on the adjacency matrix or on the signlessLaplacian. The tabu search could be replaced by the variableneighbourhood search or by some other meta-heuristics.Computer programs for spectral reconstruction of graphs can be used togenerate example graphs with desired spectral properties.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 24 / 68

Page 25: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Spectral distances in graphs

The variable neighbourhood search is exploited in the programmingpackage AutoGraphiX (briefly AGX) for finding graphs with extremalvalues of a graph invariant chosen by the user. The system starts from arandom graph or from a graph given by the user. The graph is perturbedto some extent using the variable neighbourhood search and a new graphis chosen which improves maximally the considered graph invariant. Thesystem AGX is very useful in formulating some conjectures which are latertreated by theoretical means.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 25 / 68

Page 26: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Spectral distances in graphs

For example, system AGX has generated several conjectures for the energyof a graphCaporossi G., Cvetkovic D., Gutman I., Hansen P., Variable neighborhoodsearch for extremal graphs, 2. Finding graphs with extremal energy, J.Chem. Inform. Comp. Sci., 39(1999),984-996.and thirty conjectures concerning signess Laplacian eigenvaluesCvetkovic D., Rowlinson P., Simic S., Eigenvalue bounds for the signlessLaplacian, Publ. Inst. Math. (Beograd), 81(95)(2007), 11-27.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 26 / 68

Page 27: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Spectral distances in graphs

It would be interesting to treat some conjectures fromJovanovic I. Stanic Z., Spectral distances of graphs, Linear Algebra Appl.(2011), doi:10.1016/j.laa.2011.08.019concerning spectral distances of graphs by AGX (for example, conjectureson graphs with maximal spectral distance).

AGX could be used for spectral reconstruction of graphs. It is sufficient torequire that the system minimizes the distance (of any kind) between thecurrent graph and a fixed graph. One could compare the speed ofconvergence for several distances and for several meta-heuristics.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 27 / 68

Page 28: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Refinements using graph angles

Refinements using graph angles

Cospectral graphs are at spectral distance 0 and if we wish to define somekind of positive distance among them we need to consider graph invariantsother than eigenvalues.Since eigenvectors are not graph invariants it is reasonable to extendeigenvalue based techniques by some invariants of the eigenspaces calledgraph angles.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 28 / 68

Page 29: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Refinements using graph angles

Let G be a graph on n vertices with distinct eigenvalues µ1, µ2, . . . , µm

(µ1 > µ2 > · · · > µm) and let S1,S2, . . . ,Sm be the correspondingeigenspaces. Let {e1, e2, . . . , en} be the standard (orthonormal) basis ofRn. The numbers αpq = cosβpq(p = 1, 2, . . . ,m; q = 1, 2, . . . , n), whereβpq is the angle between Sp and eq, are called graph angles.The sequence αpq (q = 1, 2, . . . , n) is called the eigenvalue angle sequencecorresponding to the eigenvalue µp (p = 1, 2, . . . ,m).We also define the angle matrix of G , i.e. an m × n matrix (m is thenumber of its distinct eigenvalues, while n is the order of G ) as a matrix(αij). This matrix is a graph invariant if its columns are orderedlexicographically.The rows of the angle matrix are called the standard eigenvalue anglesequences.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 29 / 68

Page 30: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Refinements using graph angles

Let xi = (xi1, xi2, . . . , xin) (i = 1, 2, . . . , n) be orthonormal eigenvectors ofG . Define Mp = {j | Axj = µpxj}. We have α2

pq =∑

j∈Mp

x2jq for squares of

angles of G .

An overview of results on graph angles is given inCvetkovic D., Rowlinson P., Simic S. K., Eigenspaces of Graphs,Cambridge University Press, Cambridge, 1997.including the characterizing properties of graph angles.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 30 / 68

Page 31: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Refinements using graph angles

It was suggested inCvetkovic D., Characterizing properties of some graph invariants related toelectron charges in the Huckel molecular orbital theory, Proc. DIMACSWorkshop on Discrete Mathematical Chemistry, DIMACS Ser. DiscreteMath. Theoret. Comp, Sci., 51(2000), 79-84.that cospectral graphs can be ordered by graph angles, in particular,lexicographically by their standard eigenvalue angle sequences.The paper provides an example of 21 mutually cospectral graphs (on 10vertices with 20 edges) ordered by the first standard eigenvalue anglesequences.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 31 / 68

Page 32: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Refinements using graph angles

In defining a spectral graph distance we use differences betweencorresponding eigenvalues of two graphs.For a set of cospectral graphs and for each spectral graph distance we candefine the corresponding cospectral graph distance by using differencesbetween the corresponding entries of the angle matrix instead ofdifferences between corresponding eigenvalues.For example, the Manhattan cospectral graph distance is the sum ofabsolute values of differences between the corresponding entries of theangle matrices of the graphs.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 32 / 68

Page 33: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Refinements using graph angles

However, the cospectral graph distance can be 0 for non-isomorphicgraphs since there are graphs having the same eigenvalues and the sameangles (for example, strongly regular graphs, seeCvetkovic D., Rowlinson P., Simic S. K., Eigenspaces of Graphs,Cambridge University Press, Cambridge, 1997.

Such effects cannot appear if we use stronger invariants such as canonicalstar basis of a graph. However, the computational complexity ofconstructing a canonical star basis is probably so high that it is notpractical to use this approach in applications.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 33 / 68

Page 34: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Network alignment problem

Network alignment problem

The notion of graph similarity can be extended to graphs having differentnumbers of vertices. Detecting similarities between networks is frequentlycalled alignment of networks. The general idea is the following one.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 34 / 68

Page 35: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Network alignment problem

Given the graphs G and H, a measure of similarity between vertices of Gand vertices of H is introduced by some definition. Let Ri ,j be the measureof similarity between vertex i of G and vertex j of H. Let B be thebipartite graph on vertex sets of the graphs G and H with edge weightsRi ,j .We want to find a maximal matching with a maximal sum of weights in B.This matching defines subgraphs of graphs G and H which are similarw.r.t. the introduced similarity between vertices of G and vertices of H.Finding a maximal matching with a maximal sum of weights in a bipartitegraph can efficiently be performed by existing algorithms for theassignment problem in combinatorial optimization. See, for example,Papadimitriou C., Steiglitz K. Combinatorial optimization: algorithms andcomplexity, Dover, 1998.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 35 / 68

Page 36: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Network alignment problem

In this way we can find common or similar subgraphs in the consideredgraphs. Note that the subgraph isomorphism problem is NP-completewhich means that we cannot expect a satisficatory algorithm by comparingsubgraphs directly.The measure of similarity Ri ,j is always defined taking into the account theneighbouhoods of vertex i in G and vertex j in H. For example, vertices ofthe same degree should be considered as being more similar than thosewith different degrees.A survey of structural (non-spectral) measures of similarity betweenvertices can be found inXuan Q., Yu L., Du F., Wu T.-J., A review on node-matching betweennetworks, New Frontiers in Graph Theory, Ed. Y. Zhang, Intex, Rijeka,2012, 153-167.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 36 / 68

Page 37: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Network alignment problem

The normalized positive eigenvector belonging to the largest A-eigenvalueof a connected graph is called the principal eigenvector.The principal eigenvector of a graph can efficiently be computed by aniterative algorithm called the power method (see, for example,Golub G.H., Van Loan C. Matrix computations, Johns Hopkins UniversityPress, 2006. ).

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 37 / 68

Page 38: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Network alignment problem

A spectrally based measure of similarity between vertices of two graphs isused inSingh R., Xu J., Berger B., Pairwise global alignment of proteininteraction networks by matching neighborhood topology, Research inComputational Molecular Biology, Springer, 2007, 16-31.in the context of protein interaction networks. The algorithm is calledIsoRank, it uses graph eigenvectors and is similar to the algorithmPageRank, used in the Internet searchBrin S., Page L., The Anatomy of Large-Scale Hypertextual Web SearchEngine, Proc. 7th International WWW Conference, 1998.Here the measure of similarity Ri ,j is equal to the product of the i-thcoordinate of the principal eigenvector of the graph G and the j-thcoordinate of the principal eigenvector of the graph H. This measure hasthe property that for any pair (i , j) it is equal to the mean value ofsimilarities between all pairs (p, q) where p ia a neighbour of i and q ia aneighbour of j .

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 38 / 68

Page 39: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Network alignment problem

The paperSingh R., Xu J., Berger B., Pairwise global alignment of proteininteraction networks by matching neighborhood topology, Research inComputational Molecular Biology, Springer, 2007, 16-31.uses graph product G × H of graphs G and H. The quantity Ri ,j isinterpreted as a coordinate of the principal eigenvector of G × H.However, it is well-known that the adjacency matrix of G × H is equal tothe Kronecker product of adjacency matrices of graphs G and H and thatthe principal eigenvector of G × H is the Kronecker product of principaleigenvectors of graphs G and H. Hence, principal eigenvectors of graphsG and H can be computed separately.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 39 / 68

Page 40: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Network alignment problem

A similar concept of the measure of similarity has been introduced inBlondel V.D., Gajardo A., Heymans M., Senellart P., Van Doren P., Ameasure of similarity between graph vertices: applications to synonymextraction and web searching, SIAM Rev., 46(2004), No. 4, 647-666.even more generally between vertices of two digraphs and applied tosynonym extraction from a dictionary. When considering undirectedgraphs, we obtain the construction used in IsoRank.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 40 / 68

Page 41: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Network alignment problem

Coordinates of the principal eigenvector are related to vertexneighbourhoods because they are asymptotically proportional to thenumber of walks of length k starting at particular vertices. The followingrelevant theorem of T.H. Wei stems fromWei T.H., The algebraic foundations of ranking theory, Thesis, Cambridge,1952.Theorem. Let Nk(i) be the number of walks of length k starting at vertexi of a non-bipartite connected graph G with vertices 1, 2, . . . , n. Let

sk(i) = Nk(i) ·(∑n

j=1 Nk(j))−1

. Then, for k →∞, the vector

(sk(1), sk(2), . . . , sk(n))T tends towards the principal eigenvector of G .

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 41 / 68

Page 42: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Network alignment problem

Counting walks with specified properties in a graph (or digraph) is relatedto graph spectra by the following well-known result.

Theorem 4.2. If A is the adjacency matrix of a graph, then the

(i , j)-entry a(k)ij of the matrix Ak is equal to the number of walks of length

k that originate at vertex i and terminate at vertex j.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 42 / 68

Page 43: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Network alignment problem

The paperKuchaiev O., Milenkovic T., Memisevic V., Hayes W., Przulj N.,Topological network alignment uncovers biological function and phylogeny,J. Roy. Soc. Interface,7(2010), 1341-1354.surveys methods of network alignment used in protein interaction networksand recommends an algorithm based on ”graphlets” (induced subgraphson at most 5 vertices). This is again a non-spectral approach in which avertex is characterized by a 73-dimensional vector (vertex signature) whosecoordinates represent frequencies of graphlets in which the vertex appears.The corresponding programming package is called GRAAL.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 43 / 68

Page 44: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Network alignment problem

Approach using graph angles

Let G be a graph with adjacency matrix A, and let Nk(j) = a(k)jj , the

number of walks of length k in G originating and terminating at vertex j .Let Hj(t) be the generating function

∑∞k=0 Nk(j)tk . We can obtain

Hj(t) =∞∑

k=0

tkm∑

i=1

α2ijµ

ki =

m∑i=1

α2ij

1− µi t.

On the other hand, we have Hj(t) = 1 + dj t2 + 2tj t

3 + · · · , where dj isthe degree of vertex j and tj is the number of triangles containing j . Thequantity tj is also called the clustering coefficient of the vertex j . Higherterms of Hj(t) give the numbers of closed walks contained in graphletswith 4 and 5 vertices to which the vertex j belongs.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 44 / 68

Page 45: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Network alignment problem

We think that in problems of network alignment vertices should becharacterized by generating functions Hj(t). This function depends on thevertex neighbourhood which is in this case extended to the whole graphunlike the method with graphlets where the neighbourhood is very limited.For example, the measure of similarity Ri ,j can be defined in some wayusing the difference HG

i (t)−HHj (t) of generating functions of vertex i in

G and vertex j in H.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 45 / 68

Page 46: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Network alignment problem

The following formulas are also useful.

Ns(j) = a(s)jj =

n∑i=1

µsi α

2ij .

The degree dj of the vertex j , and the number tj of triangles containingthe vertex j , are given by

dj =m∑

i=1

α2ijµ

2i , tj =

1

2

m∑i=1

α2ijµ

3i .

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 46 / 68

Page 47: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Network alignment problem

Let PG (λ) = det(λI − A) be the characteristic polynomial of the graph G .The generating function can be obtained by the formula

HGj (t) = PG−j(

1

t)/tPG (

1

t),

since

PG−j(x) = PG (x)m∑

i=1

α2ij

x − µi.

It would be interesting to compare the performances of the three describedapproaches to the network alignment problem using various criteria. It wasreported inKuchaiev O., Milenkovic T., Memisevic V., Hayes W., Przulj N.,Topological network alignment uncovers biological function and phylogeny,J. Roy. Soc. Interface,7(2010), 1341-1354.that GRAAL finds common subgraphs with more vertices than IsoRank.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 47 / 68

Page 48: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Similarity of graphs Network alignment problem

It is interesting to note that the use of the signless Laplacian (Manhattan)spectral distance provides an upper bound for the number of edges in acommon subgraph of two graphs. By the interlacing theorem, the signlessLaplacian eigenvalue sequence of a maximal common subgraph isdominated by signless Laplacian eigenvalue sequences of each of theconsidered networks. Hence, an upper bound for the number of edges in acommon subgraph is equal to

∑κi where κi is the minimum of the i-th

largest signless Laplacian eigenvalues of considered networks.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 48 / 68

Page 49: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Queries for databases and the subgraph isomorphism problem

Queries for databases and the subgraph isomorphism problem

In several databases the data are often represented as graphs. Veryfrequently graphs are indexed by their spectra.InPinto A., MIREX2007 - Graph spectral method, to appear.a spectral graph theory approach is presented for representing melodies asgraphs, based on intervals between the notes they are composed of. Thesegraphs are then indexed using their Laplacian spectrum. This makes itpossible to find melodies similar to a given melody.The query for such a database is given by a graph. To find similar data inthe database it is necessary to compare subgraphs of the query graph withsubgraphs of the graphs stored in the database. One should efficientlyselect a small set of database graphs, which share a subgraph with thequery.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 49 / 68

Page 50: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Queries for databases and the subgraph isomorphism problem

The subgraph isomorphism problem is a computational task in which twographs G and H are given as input, and one must determine whether Gcontains a subgraph that is isomorphic to H. Sometimes the namesubgraph matching is also used for the same problem. Subgraphisomorphism is a generalization of two well-known NP-complete problems,the maximum clique problem and the problem of testing whether a graphcontains a Hamiltonian cycle, and is therefore NP-complete.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 50 / 68

Page 51: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Queries for databases and the subgraph isomorphism problem

There is a similar problem known as the maximum commonsubgraph-isomorphism problem. This problem is known to be NP-hard.The formal description of the problem is as follows: given two graphs G1

and G2, what is the largest induced subgraph of G1 isomorphic to aninduced subgraph of G2? The associated decision problem, i.e., givenG1,G2 and an integer k, deciding whether G1 contains an inducedsubgraph of at least k edges isomorphic to an induced subgraph of G2 isNP-complete.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 51 / 68

Page 52: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Queries for databases and the subgraph isomorphism problem

Instead of comparing subgraphs one can compare their spectra. While thesubgraph isomorphism problem is NP-complete, comparing spectra can bedone in polynomial time.The so called Interlacing Theorem plays an important role in problems ofspectral graph recognition and in spectral graph theory and its applicationsin general.Recall that the matrix A with complex entries aij is called Hermitian ifAT = A, i.e. aji = aij for all i , j .

Theorem. Let A be a Hermitian matrix with eigenvaluesλ1 ≥ λ2 ≥ · · · ≥ λn and let B be one of its principal submatrices. If theeigenvalues of B are µ1 ≥ µ2 ≥ · · · ≥ µm then λn−m+1 ≤ µi ≤ λi

(i = 1, . . . ,m)

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 52 / 68

Page 53: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Queries for databases and the subgraph isomorphism problem

The inequalities of this theorem are known as Cauchy’s inequalities andthe whole theorem is known as the Interlacing Theorem.Usually, A is the adjacency matrix of a graph G and B is the adjacencymatrix of an induced subgraph H of the graph G .We have the following version of the interlacing theorem for L-spectra.

Theorem. Let G be a connected graph on n vertices. Eigenvalues innon-decreasing order of the Laplacian L = D − A of G are denoted byν1 = 0, ν2, . . . , νn. Let G ′ be obtained from G by adding an edge and letσ1 = 0, σ2, . . . , σn be L-eigenvalues of G ′. Then

0 = ν1 = σ1 ≤ ν2 ≤ σ2 ≤ · · · ≤ νn ≤ σn.

The proof is obtained using well-known Courant-Weyl inequalities.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 53 / 68

Page 54: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Queries for databases and the subgraph isomorphism problem

Literally the same theorem holds for the signless Laplacian spectra but theproof relies on some connections between Q-eigenvalues and A-eigenvaluesof line graphs.The interlacing theorem is often an effective tool in pruning the search ingraph databases. Such databases consist of graphs and a query is also agraph Q. One should find all graphs in the database which contain thegraph Q as a subgraph.The problem is that Cauchy’s inequalities hold for induced subgraphs andnot necessarily for subgraphs in general. However, in the set of treesconnected subgraphs are always induced subgraphs and the pruning rulesbased on the Interlacing theorem do work:Shokoufandeh A., Dickinson, S. J., Siddiqi K., Zucker S. W., Indexingusing a spectral encoding of topological structure, IEEE Trans. Comput.Vision Pattern Recognition, 2 (1999), 491-497.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 54 / 68

Page 55: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Queries for databases and the subgraph isomorphism problem

Using this fact a spectral coding of graphs is introduced inZou L., Chen L., Yu J.X., Lu Y., A novel spectral coding in a large graphdatabase, EDBT’08, March 25 - 30, 2008, Nantes, France.This coding uses spectra of trees associated to graph vertices.

It seems that better search pruning possibilities can be expected frominterlacing theorems for Laplacian and signless Laplacian spectra.Laplacian eigenvalues are used to code graphs, for example, inDemirci M.F., Leuken R.H. van, Veltkamp R.C., Indexing throughlaplacian spectra, Computer Vision and Image Understanding, 2008. doi:10.1016/j.cviu.2007.09.012.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 55 / 68

Page 56: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Queries for databases and the subgraph isomorphism problem

To accelerate the process of computing spectra of subgraphs the spectralintegral variation technique is used in the same paper.By the interlacing theorem, when adding an edge a graph theL-eigenvalues do not decrease. However, the sum of L-eigenvaluesincreases by 2. We are interested in the case when L-eigenvalues changeonly by integer quantities. Evidently, there are just two possible scenarioswhere that can happen: either one eigenvalue will increase by 2 (and n− 1eigenvalues remain unchanged) or two eigenvalues will increase by 1 (andn − 2 eigenvalues remain unchanged). Precise conditions when each ofthese two cases of spectral integral variation technique occurs are given inthe literature.

The use of the signless Laplacian eigenvalues looks even better.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 56 / 68

Page 57: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Structural and spectral perturbations of graphs

Structural and spectral perturbations of graphs

Informally speaking, similar graphs can be understood as being obtained,one from the other, by some ”small” perturbation. A graph perturbationcan be described as a ”small” change in its structure or in its spectrum.The spectral integral variation technique, described in the last section, isjust an example involving graph perturbations. A graph perturbationmeans a small change in graph structure (e.g., adding an edge or avertex). We are interested in changes in graph eigenvalues caused by aperturbation.There is a chapter in the bookCvetkovic D., Rowlinson P., Simic S. K., Eigenspaces of Graphs,Cambridge University Press, Cambridge, 1997.devoted to graph perturbations and corresponding changes in thespectrum.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 57 / 68

Page 58: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Structural and spectral perturbations of graphs

The problem of protecting the privacy appears in social networks on theInternet (for example, Facebook) when studying general properties of anexisting network. A way to protect the privacy of personal data is torandomize the network representing relations between individuals bydeleting some actual edges and by adding some additional edges in such away that the global characteristics of the network are unchanged.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 58 / 68

Page 59: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Structural and spectral perturbations of graphs

This is achieved by using eigenvalues of the adjacency matrix (inparticular, the largest one) and of the Laplacian (algebraic connectivity) tocontrol the process of deleting and adding the edges, seeYing X., Wu X., Randomizing social networks: a spectrum preservingapproach, Proc. SIAM Internat. Conf. Data Mining, SDM2008, April24–26, 2008, Atlanta, Georgia, USA, SIAM, 2008, 739-750.The choice of deleted and added edges is performed by using results ofEigenspaces of Graphs, Chapter 6, for the largest eigenvalue and thecorresponding results for the algebraic connectivity have been derived inthe paper.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 59 / 68

Page 60: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Structural and spectral perturbations of graphs

In Computer science literature, some spectral perturbations of graphs havebeen considered as well. This means that the graph spectrum is slightlychanged while the eigenvectors remain unchanged. This is used inconnection with the formula for spectral decomposition of the adjacencymatrix A of a graph, i.e. A = UΛUT , where Λ is a diagonal matrixcontaining the eigenvalues of A and the columns of matrix U areorthonormal eigenvectors of A. The paperLiu D., Wang H., Van Mieghem P., Spectral perturbation andreconstructability of complex networks, Phys. Rev. E, 81(2010), 016101,1-9.proposes a new robustness parameter for complex networks: this is themaximal number k such that one can replace k smallest in moduluseigenvalues of A with zeros with the possibility that A still can bereconstructed.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 60 / 68

Page 61: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Structural and spectral perturbations of graphs

A similar ”deletion” of eigenvalues appears also in the so called latentsemantic indexing (LSI) but it is applied on singular values of theterm-by-document matrix; see, e.g.,Papadimitriou C.H., Raghavan P., Tamaki H., Vempala S., Latentsemantic indexing: a probabilistic analysis, J. Comput. System Sci.,61(2000), No. 2, 217-235.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 61 / 68

Page 62: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Some other spectral recognition problems

Some other spectral recognition problems

The second smallest Laplacian eigenvalue is called algebraic connectivity ofthe graph and was introduced by FiedlerFiedler M., Algebraic connectivity of graphs, Czechoslovak Math. J.,23(98)(1973), 298-305.The eigenvector belonging to the second smallest Laplacian eigenvalue ofthe connected graph is called the Fiedler eigenvector. Of course, we haveboth positive and negative entries in it.A heuristic for solving the min-cut problem uses the Fiedler eigenvector topartition the vertex set into parts corresponding to positive and negativecoordinates of this vector:Fiedler M., A property of eigenvectors of nonnegative symmetric matricesand its application to graph theory, Czechoslovak Math. J.,25(100)(1975), 619-633.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 62 / 68

Page 63: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Some other spectral recognition problems

These ideas were exploited in the literature in various ways for devisingpowerful heuristics for spectral graph partitioning and/or clustering. Forinstance, Shi and MalikShi J., Malik J., Normalized cuts and image segmentation, Proc. IEEEConf. Computer Vision and Pattern Recognition, 1997, 731-737; IEEETrans. Pattern Analysis Machine Intell., 28(2000), 888-905.have shown how the sign pattern of the Fiedler eigenvector can be used toseparate the foreground from the background structure in images. Theoriginal procedure Fiedler’s has been improved by using the matrix D−1L(so as to maximize the normalized graph cut).

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 63 / 68

Page 64: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Some other spectral recognition problems

More generally, image segmentation is an important procedure incomputer vision and pattern recognition. The problem is to divide theimage into regions according to some criteria. Very frequently the imagesegmentation is obtained using eigenvectors of some graph matrices; formore details see, e.g.,Weiss Y., Segmentation using eigenvectors: a unifying view, Proc.Seventh IEEE Internat. Conf. Computer Vision, 2(1999), pp. 975-982.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 64 / 68

Page 65: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Some other spectral recognition problems

Graph spectra can be used to recognize some abstract objects like hardinstances for a combinatorial optimization problem.Let A be an (exact) algorithm for solving an NP-hard combinatorialoptimization problem C and let I be an instance of C of dimension n. Acomplexity index of I for C with respect to A is a real r , computable inpolynomial time from I , by which we can predict (in a well definedstatistical sense) the execution time of A for I .

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 65 / 68

Page 66: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Some other spectral recognition problems

We consider the symmetric travelling salesman problem with instances Irepresented by complete graphs G with distances between vertices (cities)as edge weights (lengths). Intuitively, the hardness of an instance Gdepends on the distribution of short edges within G . Therefore weconsider some short edge subgraphs of G (minimal spanning tree, criticalconnected subgraph, critical 2-connected subgraph and several others) asnon-weighted graphs and several their invariants as potential complexityindices. Here spectral invariants (e.g. spectral radius of the adjacencymatrix) play an important role since, in general, there are intimaterelations between eigenvalues and the structure of a graph.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 66 / 68

Page 67: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Some other spectral recognition problems

Since hidden details of short edge subgraphs really determine the hardnessof the instance, one should use techniques of data mining to find them. Inparticular, spectral clustering algorithms are used including informationobtained from the spectral gap in Laplacian spectra of short edgesubgraphs:Cvetkovic D., Complexity indices for the travelling salesman problem anddata mining, Transactions of Combinatorics, 1(2012), No. 1, 35-43.

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 67 / 68

Page 68: SPECTRAL RECOGNITION OF GRAPHSspectra, i.e. that graphs are characterized by their spectra. Very quickly this conjecture was refuted and numerous examples and families of non-isomorphic

Some other spectral recognition problems

Thank you for your attention

Dragos Cvetkovic (MI SANU) SPECTRAL RECOGNITION OF GRAPHS July, 2012 68 / 68