scieee AI-readable full text Open interactive document viewer

Prediction methods for statistical inference in graph signal processing

García Ortiz, Carlos

Abstract

This thesis studies the problem of inferring topology from signal graphs. For this reason, the Master's Thesis is part of the current of thought, growing in recent years, in which the structure of the network is not assumed to be known. The problem of inferring topology is approached from two angles. The first one, studies how to find the structure of a graph from spectral templates which can be noisy. Thus, from observations of the network, the spectral template of the graph that makes up the network is inferred. In previous works, like my Degree's Thesis, the algorithms for the inference of incomplete spectral templates were studied. In this Master's thesis, we go one step further by demonstrating why the techniques studied do not always work and proposing an algorithm based on LASSO to infer the network topology when the spectral templates are noisy. The proposed algorithm is compared with those previously studied obtaining better results in terms of RMSE and reliability. The second point of view addressed in this thesis is the inference of the network from statistical techniques. It is common to find networks whose nodes have some relation. These techniques are based on, from some observations of the network, trying to find the existing relationships between the different nodes of the graph. These techniques can be used in a more generic way than those based on spectral templates. Statistical methods are studied in more depth in this Master's Thesis. Initially, the Pearson correlation coefficient is explained. After studying it, some limitations are found. Thus, a new approach is proposed based on the conditional covariance. Then, it is assumed that the signals follow a Gaussian distribution which brings us to study the Maximum Likelihood estimator while considering the graph's sparsity. Although, the previous approach was improved, we are interested in finding even a better one. Hence, we study an approach based on linear regression. In this last algorithm, we include a term to promote sparsity when finding the solution. To conclude, the statistical methods studied, are compared by performing some simulations. By performing these simulations, it is observed that the best technique to infer the graph's topology is the one based on linear regression.

Full text

PREDICTION METHODS FOR STATISTICAL INFERENCE IN GRAPH SIGNAL PROCESSING Carlos García Ortiz A Master’s Thesis Submitted to the Faculty of the Escola Tècnica d’Enginyeria de Telecomuniació de Barcelona Universitat Politècnica de Catalunya In partial fulfillment of the requirements for the degree MASTER’S DEGREE IN TELECOMMUNICATIONS ENGINEERING Advisor Jordi Borràs Pino Co-Advisor Prof. Gregori Vázquez Grau Barcelona, July 2020 Abstract This thesis studies the problem of inferring topology from signal graphs. For this reason, the Master’s Thesis is part of the current of thought, growing in recent years, in which the structure of the network is not assumed to be known. The problem of inferring topology is approached from two angles. The first one, studies how to find the structure of a graph from spectral templates which can be noisy. Thus, from observations of the network, the spectral template of the graph that makes up the network is inferred. In previous works, like my Degree’s Thesis, the algorithms for the inference of incomplete spectral templates were studied. In this Master’s thesis, we go one step further by demonstrating why the techniques studied do not always work and proposing an algorithm based on LASSO to infer the network topology when the spectral templates are noisy. The proposed algorithm is compared with those previously studied obtaining better results in terms of RMSE and reliability. The second point of view addressed in this thesis is the inference of the network from statistical techniques. It is common to find networks whose nodes have some relation. These techniques are based on, from some observations of the network, trying to find the existing relationships between the different nodes of the graph. These techniques can be used in a more generic way than those based on spectral templates. Statistical methods are studied in more depth in this Master’s Thesis. Initially, the Pearson correlation coefficient is explained. After studying it, some limitations are found. Thus, a new approach is proposed based on the conditional covariance. Then, it is assumed that the signals follow a Gaussian distribution which brings us to study the Maximum Likelihood estimator while considering the graph’s sparsity. Although, the previous approach was improved, we are interested in finding even a better one. Hence, we study an approach based on linear regression. In this last algorithm, we include a term to promote sparsity when finding the solution. To conclude, the statistical methods studied, are compared by performing some simulations. By performing these simulations, it is observed that the best technique to infer the graph’s topology is the one based on linear regression. iii Resumen Esta tesis estudia el problema de inferir la topología de la red a partir de las señales grafo. Por esta razón, la Tesis Final de Máster se inscribe en la corriente actual de pensamiento, creciente en los últimos años, en la que se supone no conocida la estructura de la red. El problema de la inferencia de la topología se aborda desde dos ángulos. El primero, estudia cómo encontrar la estructura de un grafo a partir de plantillas espectrales que pueden ser ruidosas o no. Así, a partir de las observaciones, se infiere la plantilla espectral del grafo que compone la red. En trabajos anteriores, como mi Tesis de Final de Grado, se estudiaron los algoritmos para la inferencia de plantillas espectrales incompletas. En esta trabajo, vamos un paso más allá demostrando por qué las técnicas estudiadas no siempre funcionan. Seguimos, proponiendo un algoritmo basado en LASSO para inferir la topología de la red cuando las plantillas espectrales son ruidosas. El algoritmo propuesto se compara con los anteriormente estudiados obteniendo mejores resultados en términos de RMSE y fiabilidad. El segundo punto de vista abordado en esta tesis es la inferencia de la red a partir de técnicas estadísticas. Es común encontrar redes cuyos nodos tienen alguna relación entre ellos. Estas técnicas se basan, a partir de algunas observaciones de la red, en tratar de encontrar las relaciones existentes entre los diferentes nodos del grafo. Estas técnicas pueden ser utilizadas de manera más genérica que las basadas en plantillas espectrales. Por ese motivo, los métodos estadísticos se estudian con más profundidad en esta Tesis de Máster. Inicialmente, se explica el coeficiente de correlación de Pearson. Después de estudiarlo, se detecta una limitación. Por ese motivo, se propone un nuevo enfoque basado en la covarianza condicional. Luego, se asume que las señales siguen una distribución Gaussiana, lo que nos lleva a estudiar el estimador de Máxima Verosimilitud, también considerando que la matriz solución es dispersa. Aunque con esta técnica se mejora el enfoque anterior, estamos interesados en encontrar una técnica aún mejor. Por lo tanto, estudiamos un enfoque basado en la regresión lineal. En este último algoritmo, incluimos un término para promover la que la solución sea una matriz dispersa. Para concluir, los métodos estadísticos estudiados, se comparan realizando algunas simulaciones. Al realizarlas, se observa que la mejor técnica para inferir la topología del grafo es la que se basa en la regresión lineal. v Resum Aquesta tesi estudia el problema d’inferir la topologia d’una xarxa a partir dels senyals graf. Per aquesta raó, la Tesi Final de Màster s’inscriu en el corrent actual de pensament, creixent en els darrers anys, en la que se suposa no coneguda l’estructura de la xarxa. El problema d’inferència de la topologia s’aborda des de dos angles. El primer, estudia com trobar l’estructura d’un graf a partir de plantilles espectrals que poden ser sorolloses o no. Així, a partir de les observacions, s’infereix la plantilla espectral del graf que compon la xarxa. En treballs anteriors, com la meva Tesi de Final de Grau, es van estudiar els algoritmes per a la inferència de plantilles espectrals incompletes. En aquest treball, anem un pas més enllà demostrant per què les tècniques estudiades no sempre funcionen. Seguim, proposant un algoritme basat en LASSO per inferir la topologia de la xarxa quan les plantilles espectrals són sorolloses. L’algoritme proposat es compara amb els anteriorment estudiats obtenint millors resultats en termes de RMSE i fiabilitat. El segon punt de vista abordat en aquesta tesi és la inferència de la xarxa a partir de tècniques estadístiques. És comú trobar xarxes on els nodes tenen alguna relació entre ells. Aquestes tècniques es basen, a partir d’algunes observacions de la xarxa, a tractar de trobar les relacions existents entre els diferents nodes del graf. Aquestes tècniques poden ser utilitzades de manera més genèrica que les basades en plantilles espectrals. Per aquest motiu, els mètodes estadístics s’estudien amb més profunditat en aquesta Tesi de Màster. Inicialment, s’explica el coeficient de correlació de Pearson. Després d’estudiar-lo, es detecta una limitació. Per aquest motiu, es proposa un nou enfocament basat en la covariància condicional. Després, s’assumeix que els senyals segueixen una distribució Gaussiana, el que ens porta a estudiar l’estimador de Màxima Versemblança, també considerant que la matriu solució és dispersa. Encara que amb aquesta tècnica es millora l’enfocament anterior, estem interessats a trobar una tècnica encara millor. Per tant, estudiem un enfocament basat en la regressió lineal. En aquest últim algoritme, incloem un terme per promoure que la solució sigui una matriu dispersa. Per concloure, els mètodes estadístics estudiats, es comparen realitzant algunes simulacions. En realitzar-les, s’observa que la millor tècnica per inferir la topologia del graf és la que es basa en la regressió lineal. vii List of Figures 1.1 General schema of the theoretical part explained in this thesis . . . . . . . . . 3 2.1 Schema of the graph-signal activation by the Filter Hand the driving noise, this figure is based on the figure in [1] . . . . . . . . . . . . . . . . . . . . . . 5 2.2 Simulation 1, Cumulative correct and failed connections. This simulation can befoundin[1] ................................... 9 2.3 Simulation 2, Cumulative correct and failed connections. This simulation can befoundin[1] ................................... 10 2.4 Example when using OMP algorithm. This simulation can be found in [1] . . 11 2.5 Example when using the robust algorithm. This simulation can be found in [1] 13 2.6 Robust OMP. This simulation can be found in [1] . . . . . . . . . . . . . . . . 14 2.7 RMSE comparison BP vs. LASSO algorithms.................. 18 2.8 RMSE vs. Number of nodes for different λs ................... 19 2.9 RMSE vs. Percentage of graph’s connectivity for different values of λ..... 20 2.10 RMSE vs. Percentage of graph’s connectivity for a given regularization parameter λand different number of nodes . . . . . . . . . . . . . . . . . . . . . 20 2.11 Comparison of both methods RMSE vs. Number of nodes for a fixed regularization parameter in LASSO algorithm of λ=10−4............... 21 2.12 Comparison of both methods RMSE vs. Number of nodes for a fixed regularization parameter in LASSO algorithm of λ=10−5............... 21 2.13 Comparison of both methods RMSE vs. Percentage of graph’s connectivity for a given λ=10−4and different number of nodes . . . . . . . . . . . . . . . 22 2.14 Comparison of both methods RMSE vs. Percentage of graph’s connectivity for a given λ=10−5and different number of nodes . . . . . . . . . . . . . . . 22 3.1 Communications network VS dependency graph. Picture based on [2] . . . . . 26 3.2 Relation between nodes 2 and 3 due to 1 . . . . . . . . . . . . . . . . . . . . . 29 3.3 Information flow, first graph example . . . . . . . . . . . . . . . . . . . . . . . 32 3.4 Estimated ˆ Θby using the conditional correlation method for 10Nsnapshots . 33 3.5 Information flow, second graph . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.6 Estimated ˆ Θby using the conditional correlation method for 10Nsnapshots . 35 3.7 Estimated ˆ Θby using the ML estimator promoting sparsity for 10Nsnapshots 37 3.8 Estimated ˆ Θby using the ML estimator promoting sparsity for N−1. . . . 37 3.9 Estimated ˆ Θby using the ML estimator promoting sparsity for 10Nsnapshots 38 3.10 λopt for a 30% of non-zero values and different number of snapshots . . . . . . 41 3.11 Estimated ˆ Θby using the linear regression method for 10Nsnapshots . . . . . 41 xiv List of Figures xv 3.12 Estimated ˆ Θby using the linear regression method for N−1snapshots . . . . 42 3.13 Estimated ˆ Θby using the linear regression method for 10Nsnapshots . . . . . 42 4.1 Different graph structures that generates the same precision matrix Θ..... 43 4.2 Θgenerated with a percentage of values different to 0of 30% ......... 44 4.3 Estimated ˆ Θby using the conditional correlation method . . . . . . . . . . . . 45 4.4 Estimated ˆ Θby using the ML estimator ..................... 45 4.5 Estimated ˆ Θby using the Linear Regression method . . . . . . . . . . . . . . 46 4.6 Estimated ˆ Θby using the Linear Regression method with no normalization parameter...................................... 47 4.7 Θgenerated with a percentage of values different to 0of 30% ......... 48 4.8 ˆ Θestimated by using the Gaussian Graphical Models, ML estimator . . . . . 48 4.9 ˆ Θestimated by using the Linear Regression method . . . . . . . . . . . . . . 49 5.1 General schema of the future work of the theoretical part . . . . . . . . . . . . 53 Contents Abstract iii Resumen v Resum vii Appreciations ix List of Acronyms xi Notation xiii List of Figures xiv 1 Introduction 1 1.1 Scope ...................................... 1 1.2 Organization .................................. 4 2 Topology Inference Facing with Diffusion Processes 5 2.1 Introduction................................... 5 2.2 PreviousWork ................................. 6 2.3 New Robust Enhanced Network Topology Inference with Noisy Spectral Templates.................................... 14 2.4 Conclusions ................................... 23 3 Statistical Methods 25 3.1 Introduction................................... 25 3.2 SignalModel .................................. 25 3.3 CorrelationNetworks.............................. 27 3.4 Conditional Correlation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.5 Maximum Likelihood Estimator with Sparse Regularization . . . . . . . . . 34 3.6 Sparse Linear Regression . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 4 Comparison of Methods 43 4.1 Introduction................................... 43 4.2 SimulationResults ............................... 44 5 Conclusions and Future Work 51 xvi CONTENTS xvii 5.1 Conclusions ................................... 51 5.2 FutureWork................................... 52 Bibliography 55 Chapter 1 Introduction 1.1 Scope The world of graph theory is very extensive as well as its applications. The Graph Signal Processing (GSP) implementation in different applications is increasing over the year. There are multiple applications like the study of people movement. Reference [3], studies the taxi movement in New York City in the period between 2010 and 2013. They use GSP to discover underlying behaviors in people movements. Another interesting application is rating prediction. In [4], authors present a new approach for recommendation systems by using graph’s filters. This use brings us into another interesting application, filter design based on graphs [5, 6]. Applications in the field of medicine could not be missing. The GSP is used in the study of cancer [7]. In this field, nodes and edges represent molecular elements and the correlation existing between them. With the arrival of the fifth generation technology 5G it is increasing the number of sensors. This amount will increase even more with the use of sensors in what are called Smart Cities [8]. The GSP is also being applied in the study of data taken from sensors [9]. In this study, data about pollution is taken from different sensors placed around Poland. Much more interesting applications can be found such as: applications to management of energy systems, smart grids, environmental monitoring, or analyzing epidemiological data. An example about this last application can be found this year. The COVID-19 pandemic is being studied by using graph models [10]. In this paper, it is studied a new COVID-19 case prediction that learns from a large spatio-temporal graph. As introduced in the abstract, when studying this theory or applying it in different fields and working with GSP, in general, it is considered that the network that generates the graph signal is known. From this assumption, the analysis of how the network topology influences the graph signal is constructed. However, a trend is growing more and more in which the network is not assumed to be known. Due to the great growth in applications, it is increasingly necessary to establish robust topology inference techniques that can work in optimal and non-optimal conditions in terms of the amount of information available. For this reason, multiple studies have appeared on topology inference on graph networks [11, 12]. Network topology inference can be divided in three different families. As can be seen in figure 1.1 , the three big families are: Statistical Methods,Diffusion Processes and Smooth Signals. The first family, represented as the blue color branch in figure 1.1, includes these 1 2CHAPTER 1. INTRODUCTION networks that present similarities between signal elements. This is a huge group where it can be include almost all possible networks. In order represent data using a the graph representation, it is necessary to find some relations between pairs of nodes. There are different approaches to decide the weight, or in other words the importance, that these connections must have. The goal when applying techniques over this family of graphs, is to estimate the best undirected graph based on the available data. The only requisite necessary in order to use these techniques, is to have few snapshots in order to compute the relations between nodes. The second big family of graphs are those produced by diffusion processes. This second family, is represented as the green branch in figure 1.1. This group includes all those graph signals that can be modeled as the output of a graph filter when a driving noise is applied to its input. In order to use the techniques related with this family, it is necessary to do the assumption, or to be certain, that the graph signal can be modeled as the output of a graph filter. Thus, this family includes less graphs than the previous one. The third big family of graphs are those which present a regularity between the signals in each node. This third family, is represented in yellow branch in figure 1.1. These graph signals have the particularity that, the observations are smooth. This family is a particular case of graphs which is widely found in different scenarios. In this project, we will review the diffusion processes branch which was studied in the Degree’s Thesis represented in green in figure 1.1. We will review the most important concepts, as well as all the notation introduced in the Degree’s Thesis, and that will be used in this Master’s Thesis. Then, the scope is divided in two parts. The first one is, by using these formulation and knowledge, the study of the topology inference when working with noisy spectral templates. We will search for a robust algorithm to infer the graph’s topology when facing spectral templates which include a noise component. This will led us to the study of the implementation of LASSO to the considered approaches to improve the reliability of the techniques. The second part of the scope is to study the most generic group of techniques which are the Statistical Methods represented in blue in figure 1.1. This family is divided in: Correlation Networks,Gaussian graphical models and Sparse Linear Regression. We will study the behavior of these three approaches while comparing them. Then, two scenarios will be simulated to better see the performance of these techniques. The first one will be performed where enough data will be available what will end in a well conditioned problem. The second scenario will be more interesting, the non-well conditioned problem will be studied with all three methods. This will allow us to see the strengths and weaknesses of the techniques. In chapter 2, we will see that the algorithm that two of the algorithms studied in the Degree’s Thesis [1] were not reliable because of the Restricted Isometry Property (RIP) can not be guaranteed. Thus, the solution obtained by the convex relaxation using the `1- norm will not be equivalent to the solution obtained using the `0-norm. Then, we will see that the Least Absolute Shrinkage and Selection Operator (LASSO) approach will provide us better results when applied to noisy spectral templates. By doing some simulation, we will see that this algorithm performs better than the algorithms studied during the Degree’s Thesis. Furthermore, we will see that when the number of nodes increases the RMSE when applying LASSO will tend to 0. In chapter 3, we will see that statistical methods can obtain really impressive results when estimating the graph’s topology. Moreover, two of the techniques, which include a 1.1. SCOPE 3 Figure 1.1: General schema of the theoretical part explained in this thesis sparsity promotion term, will be able to estimate quite well the relations between nodes although working with low information. By comparing the three approaches explained in this chapter, we will see that the Linear Regression will be the most optimal one in terms of reliability, robustness, and computational complexity. In chapter 4, we will perform some simulations to better compare the techniques studied in chapter 3. With these simulations we will perfectly realize about the great performance of the Linear Regression. We will see that, if this technique does not consider the sparsity promotion term it will obtain the same result as the Conditional Covariance. We will see that although having less snapshots than nodes in the graph, the Linear Regression will be able to correctly estimate the most important relations between pairs of nodes. 4CHAPTER 1. INTRODUCTION 1.2 Organization This thesis is focused in network topology inference with graph signals. In chapter 2 2.1, it is reviewed the most important concepts and formulation introduced during the Degree’s Thesis [1]. With this knowledge, it is presented the reason why the algorithms called Basis Pursuit (BP) and Orthogonal Matching Pursuit (OMP) do not always work. The RIP is studied and it is demonstrated that it can not be guaranteed. Thus, the algorithms are not always working as expected. Then, we are focused in studying the topology inference when working with noisy spectral templates. Hence, the LASSO algorithm is considered, and it is merged with the existing techniques studied in the Degree’s Thesis. To conclude this chapter, some conclusions are extracted were the main concepts studied in this chapter are reviewed. This chapter makes reference to the branch represented in green in figure 1.1. In chapter 3, statistical methods are studied. This type of networks are analyzed in this chapter by using three different techniques: Conditional Correlation,Gaussian graphical models and Sparse Linear Regression. The Pearson correlation is presented as a first approach to assign values to the relations between pairs of nodes. Then, it is improved by considering the conditional correlation. By using this relation, we are able to avoid possible influences of a third node when computing the relation between a pair. Some simple and controlled simulations are performed to better understand some concepts. These tests also allow us to validate the correctly implementation of the method. Then Gaussian distribution assumption is done, taking us to Gaussian graphical models. In this section, the maximum likelihood estimator (ML) is derived. In order to take into account the sparsity of the solution, it is incorporated a sparsity promotion term to the ML estimator. Then simulations are performed where the graph topology is equal to the one used to validate the conditional correlation implementation. At the end of this chapter, the Linear Regression predictor is studied. Then, we include the sparsity promotion term to the linear regression approach. The same simulations as in both previous cases are executed, to validate the correctly implementation of the method. This chapter makes reference to the branch represented in blue in figure 1.1. In chapter 4, some simulations are performed to compare the techniques studied in this thesis. In these simulations the number of nodes is increased. It is possible to better see the performance, limitations, and reliability of the techniques studied when the number of nodes increases. Also, it is interesting to see the performance of the techniques when working with a low number of snapshots. Finally, in chapter 5, we present the conclusions to this thesis. The most important ideas and concepts are reviewed. It is also presented the future work where there are explained some of the topics that remain opened after this project. Chapter 2 Topology Inference Facing with Diffusion Processes 2.1 Introduction As presented in 1, there are different approaches to infer the topology of a network. One of them is from spectral templates. It allows us to introduce the notation and some theoretical concepts that are used during this thesis. Some theoretical concepts will be explained and the results will be commented. In this chapter,the problem is approached from another point of view. It is assumed that diffusion processes produce the graph signals [1]. This is the signal graph that can be seen as the output of a filter when the input is an activation noise, see figure 2.1. In section 2.2.1 a more detailed explanation can be found. Figure 2.1: Schema of the graph-signal activation by the Filter Hand the driving noise, this figure is based on the figure in [1] As it is reviewed, the information obtained from the observations can be complete, imperfect or incomplete. In this chapter, contrary to chapter 3, the connection between two nodes is established in templates based on connectivity instead of templates based on statistical dependencies. Some assumptions are needed in order to work with spectral templates: 5 6 CHAPTER 2. TOPOLOGY INFERENCE FACING WITH DIFFUSION PROCESSES 1. Graphs are stationary and undirected. 2. Graphs have no nodes with self-loops. 3. The main focus is data locality and flow simplicity. Therefore, our goal will be to find the sparsest solution to the problem. In different fields it is interesting to find the sparsest solution possible [13]. This type of graphs can be found in different fields such as social networking platforms [14] or vehicular mobility patterns [12, 15]. 2.2 Previous Work In this section, as explained in 2.1, the formulation and notation is reviewed, which is deeply studied in previous works, the Final Degree Thesis [1]. This notation and formulation is fundamental to understand the new method studied in this thesis based of working with noisy spectral templates in section 2.3. Furthermore, the same notation is used in chapter 3 to study the statistical methods which are based on a more general signal model. Firstly, it is reviewed the signal model when working with Diffusion Processes. Then the Basis Pursuit (BP) is explained and some results are reviewed. From these results, the need of improving the inference technique appears. This is what sections 2.2.4, 2.2.5 and, 2.2.6 review. To summarize, this section reviews how to infer the graph topology when working with imperfect spectral templates. In this thesis, we are interested in the study of how to infer the topology when working with noisy spectral templates. This new approach is explained in section 2.3. To finalize this chapter, there is a conclusions section that introduces the need of studying the next branch of figure 1.1 which are Statistical Methods. 2.2.1 Signal Model Let us start by defining a graph Gwith a set of Nnodes and a set of links L. The adjacency matrix is defined as Awhich is sparse and its dimensions are N×N. It has entries different from zero Aij if (i, j)∈L. These entries represent the importance of the connection between nodes iand j. Another important concept is the graph-shift operator S. The pattern of the graph-shift operator Sand the adjacency matrix are equivalent in terms of information regarding the graph’s structure. Now, the next step is to define the signal model that is used in this chapter. Let x= [x1x2· · · xN]T∈ <Nbe a graph signal in which each element idenotes the signal at node i. The graph filter Hand the driving noise wactivate the graph’s connections. At a given instant n, the graph signal (see figure 2.1) is x(n)=[x1(n)x2(n)· · · xN(n)]T(2.1) while the driving noise is w(n)=[w1(n)w2(n)· · · wN(n)]T.(2.2) Without loss of generality, and in order to simplify the expressions, let us consider that the noise is AWGN. Thus, EhwwTi=I.(2.3) 2.2. PREVIOUS WORK 13 and P2=W W †−IT,0T N×N2,0T (N 2)×N2,I⊗VT kT,0T 1×N2.(2.21) These constraints are the same as in 2.2.2 but applied to the known, P1, and the unknown, P2, subspace. Thus, at this point it is possible to write the optimization problem considering both subspaces as arg minkΥtk1s.t PTt=b.(2.22) Results In this simulation, it can be seen that this method is much more reliable than the previous one. In this case, the algorithm is able to estimate the graph’s connections without creating any false connection. This allows us to set a threshold to decide when the estimated connection is considered zero or not. As can be seen, the margin to decide this threshold is quite wide because there is a considerable distance between the last values of the connections and the point when the algorithm estimates a false connection. Figure 2.5: Example when using the robust algorithm. This simulation can be found in [1] 2.2.6 Robust Orthogonal Matching Pursuit Problem Formulation Let us remember that, in some cases the available information or signal knowledge is not enough to use the BP. Furthermore, in section 2.2.4 it was appreciated that the OMP algorithm does not provide a reliable solution to the problem. In this section, the OMP assembles with the Robust Method to try to improve its performance and reliability. By 14 CHAPTER 2. TOPOLOGY INFERENCE FACING WITH DIFFUSION PROCESSES following the same notation as in section 2.2.5 and section 2.2.4, it is derived that the optimization problem is arg minkΥtk1s.t kˆ PTt−bk2≤.(2.23) In (2.23) it is seen that the restrictions are applied to both subspaces while a certain error is allowed. Results As studied in 2.2.4, the OMP algorithm is not reliable enough. In this section, the results of applying this algorithm jointly with the robust method are shown. This simulation was done with 10 nodes with a graph’s percentage of connectivity of 80%. In order to show the potential of this combined techniques to estimate the most important connections without making any errors, a percentage of 40% was indicated in the algorithm. Figure 2.6: Robust OMP. This simulation can be found in [1] In some applications, it might be interesting to know the most important connections instead of trying to estimate all the graph connections. As it was shown, to obtain a reliable result when using this technique it must exist an agreement between the number of connections we are interested in and the number of errors we will allow. 2.3 New Robust Enhanced Network Topology Inference with Noisy Spectral Templates In the previous section, the techniques to infer graphs’ topology from imperfect spectral templates were reviewed. In this section, it is studied the case of having noisy spectral 2.3. NEW ROBUST ENHANCED NETWORK TOPOLOGY INFERENCE WITH NOISY SPECTRAL TEMPLATES 15 templates. It starts by explaining why the OMP algorithm is not reliable enough. Then, it is proposed a method to work with noisy spectral templates. To finish this section, some simulations are performed to better compare the techniques. 2.3.1 Restricted Isometry Property In the Final Degree thesis it was seen, in a heuristic way, that the OMP algorithm was not performing as well as it might be expected. In later studies, it was seen that the OMP algorithm does not always work. Let us suppose that, we have an observation such as y=Φx,(2.24) where x∈ < is the object, or in our case the graph signal, that we want to recover. The available snapshots are represented as y∈ <, and Φis a known matrix. As explained in section 2.2.4, it is not always possible to have all the information needed to correctly estimate the covariance matrix. Thus, the case with fewer equations than unknowns was studied and the OMP was proposed as an algorithm to recover the graph signal. Nonetheless, this approach was not always working. Let us study whether it is possible to recover the graph signal x. By doing the same assumption as in the previous section 2.2, let us suppose that the solution to the problem is sparse. This is arg min ˆ x∈<nkˆ xk1s.t Φˆ x=y.(2.25) The BP or OMP can be used to recover exactly xif two conditions are fulfilled. The first one is that the graph signal xis sufficiently sparse, and the second one is that the known matrix Φobeys the condition known as the Restricted Isometry Property (RIP). The general expression of this property is (1 −δ)kxk2 2≤ kΦxk2 2≤(1 + δ)kxk2 2.(2.26) The RIP is a sufficient condition to guarantee that xcan be recovered [20]. The most important implication for us is that it is a sufficient condition to use the `1-minimization, which is the canonical convex optimization used, to recover the graph signal [21]. Let us formulate the RIP with our problem. The object that we want to recover is the graph signal sDc. The known matrix is the matrix formed as Φ="MT ˆ eT 1#,(2.27) where ˆ eT 1=eT 1⊗1N−1. In our case, if the RIP condition is not obeyed, it is not possible to guarantee that the solution obtained with k·k0is equivalent to the solution obtained with the convex relaxation k·k1. It can be demonstrated that, sometimes, the RIP is not fulfilled. Thus, the solution obtained with the k·k0is not equivalent to the one obtained by the k·k1. Therefore, the OMP is not always able to estimate the spectral template without errors (see ref.[22, 23]). The RIP condition using our notation is (1 −δ)ksDck2≤    "MT ˆ eT 1#sDc    2 ≤(1 + δ)ksDck2.(2.28) 16 CHAPTER 2. TOPOLOGY INFERENCE FACING WITH DIFFUSION PROCESSES Developing the expression (2.28), "MT ˆ eT 1#sDc="0 ˆ eT 1sDc#.(2.29) Then, by computing the `2-norm of the term in (2.29), it is obtained that this term is equivalent to sT Dce1eT 1sDc. It can be expressed as: trace[sDcsT DcE] = trace[PDcE]. Finally, the RIP, applied to our problem, is formulated as (1 −δ) N2 X i=1 [PDc]i,1≤ N−1 X i=1 [PDc]i,1≤(1 + δ) N2 X i=1 [PDc]i,1.(2.30) As can be seen in (2.30), the only possible value of δto ensure that the lower bound is fulfilled is δ= 1. Otherwise, it is not possible to guarantee that the central term is greater than the lower bound. Thus, the RIP is not fulfilled. Furthermore, the OMP needs to decide a target residual. This value is directly related with the sparsity degree of the graph and the SNR. In order to obtain this value, a sparsity estimator is needed. These estimators are really complex. Moreover, the OMP is really dependent to this value, little changes produce high deviations in the OMP output [24]. 2.3.2 Noisy Spectral Templates In order to use the previous methods, some a priori information is needed to subdivide the space in the known and the unknown subspaces. Alternatively, the algorithms are not reliable enough because the RIP conditioned is not obeyed 2.3.1. Furthermore, in the previous sections, it was assumed that the signal is x=Hw, being wthe driving noise. Nonetheless, in some cases the signal may contain a noise component x=Hw +n,(2.31) where nis, in general, a colored noise. Now, let us apply this new consideration to the equations. In this case, the covariance matrix of the signal is modified including the covariance matrix of the noise Cx=HHT+Cn.(2.32) Assuming AWGN, equation (2.32) can be rewritten as HHT+σ2I. Now, the Eigendecomposition (EVD) is performed to obtain the eigenvectors of the covariance matrix. In this case, due to noise, it is obtained EVD(Cx) = ˆ VΛˆ V.(2.33) Note that matrix ˆ Vcontains the eigenvectors plus noise. Then all the expressions can be rewritten taking into account the noise. The problem to solve is ˆ S∗ 1= min Λ,SkSk1s.t   S−ˆ VΛˆ V  F≤. (2.34) Now, let us redefine the matrices by considering the noise term ˆ R= [ ˆ M,e1⊗1N−1]∈ <N2−N×N2+1,(2.35) 2.3. NEW ROBUST ENHANCED NETWORK TOPOLOGY INFERENCE WITH NOISY SPECTRAL TEMPLATES 17 where ˆ M=I−ˆ Wˆ W†4and ˆ W=ˆ Vˆ V. Finally, the problem considering the noise term and a certain fixed error is min ˆ sDckˆ sDck1s.t   ˆ RTˆ sDc−b  2≤. (2.36) At this point, the need to find a robust solution able to work with noisy signals brings us to test the behavior of a well known algorithm to solve these problems, the Least Absolute Shrinkage and Selection Operator (LASSO) algorithm [25]. The main a priori advantages of this algorithm are: it does not need previous knowledge about the signal nor the noise subspaces, it does not require to fix a threshold to divide both subspaces as some other methods, and it does not need to know the graph’s sparsity to work (i.e the OMP). The general LASSO formulation in the alleged Lagrangian form is arg min β∈<P1 NkXβ −yk2 2+λkβk1,(2.37) where Nis the number of cases, yis the outcome, βthe parameter to be optimized, and Xthe covariance matrix. Note that the regularization parameter λpromotes sparsity. Higher this parameter is the more sparse the solution will be. Let us adapt it to the graph notation where the parameter that we want to optimize is the graph signal ˆ sDc, and the matrix that gives us information is ˆ RT. arg min ˆ sDc1 N  ˆ RTˆ sDc−b   2 2+λkˆ sDck1.(2.38) The regularization parameter, λ, is chosen taking into account the quality of the signal obtained, the SNR. 2.3.3 Simulations In order to be able to compare the different algorithms, the following metric was defined RMSE =1 N2v u u u t N X i=1 N X j=1 (Sij −ˆ Sij)2,(2.39) where Sis the graph’s shift, and ˆ Sis the estimated shift matrix. RMSE value is computed for every simulation and then the mean value of all the simulations is computed to obtain the final value for a given regularization parameter λ. In order to generate random graphs Erdös-Rényi’s graphs were used. These graphs consist of Nnodes and each pair of nodes might be connected according to a connection probability. This probability is defined as p/N with 0≤p≤N. As the connections are equiprobable, these graphs have no spatial structure. More detailed information about Erdös-Rényi’s graphs can be found in [26, 27]. These graphs are commonly used in different fields [28, 29, 30, 31]. 4being †the pseudoinverse operator applied to the matrix. 18 CHAPTER 2. TOPOLOGY INFERENCE FACING WITH DIFFUSION PROCESSES Comparison of BP and LASSO In order to see the improvement achieved when using LASSO in front of using BP algorithm, some simulations have been done. In figure 2.7 it can be seen that LASSO is able to estimate, in average, the graph topology with a lower RMSE than the BP. As explained, BP algorithm has some limitations and these produce an algorithm that does not provide reliable enough results. Figure 2.7: RMSE comparison BP vs. LASSO algorithms In this subsection some simulations are carried out to test how LASSO behaves for different regularization parameters λ, for different number of nodes, and for different graph’s percentage of connectivity, as well as to see the dependencies between these magnitudes. Let us start with figure 2.8. In this figure it can be seen the behavior of the RMSE function of the number of nodes in the graph and different values of λ. Firstly, note that as the number of nodes increase the RMSE value tends to 0. The second thing that can be observed is that for higher values of λthe better RMSE is obtained. In order to understand this result, it is important to remember that when using the BP algorithm the value of the regularization parameter λtends to infinite, λ→ ∞. In the other hand, when using LASSO, the degree of freedom introduced allows the algorithm to take into account the `2-norm factor to improve the estimation. The importance of each of both factors is determined by the value of λ. The higher this value is the more similar the LASSO algorithm is to the BP. Nonetheless, it is important to note that by allowing a little error (the norm 2 factor) it is possible to dramatically improve the results of the BP algorithm as seen in figure 2.7. 2.3. NEW ROBUST ENHANCED NETWORK TOPOLOGY INFERENCE WITH NOISY SPECTRAL TEMPLATES 19 Figure 2.8: RMSE vs. Number of nodes for different λs Percentage of graph connectivity In this subsection, it will be seen whether exists any relation to improve the RMSE (this is to obtain the best graph’s topology estimation possible), between the percentage of graph connectivity and regularization parameter λ. Looking at figure 2.9 it can be seen that, as in the previous case (figure 2.8) for higher values of λthe RMSE decreases. Nevertheless, it is interesting to note that the percentage of connectivity does not modify the RMSE obtained, this is the percentage of connectivity does not vary depending on the value of λ. To better see this behavior, let us focus in figure 2.10. In this figure the value of λ is fixed, and it is plotted the value of the RMSE for different number of nodes. After seeing this figure it can be stated that the percentage of connectivity does not depend on λ. This result is very interesting because this means that it is possible to use LASSO without knowing the sparsity degree. Thus, there is not need to use sparsity estimators. It is interesting to emphasize that as the number of nodes increases the RMSE tends to 0. Robust method VS LASSO In this subsection, it is compared the robust method and the LASSO (section 2.3.2). With simulations, it can be checked that LASSO has a better performance, under the RMSE criteria defined in this paper, than the robust method. In figure 2.11 and figure 2.12 it is appreciated the improvement achieved by LASSO. In this figure, the percentage of connectivity is fixed to 40% which means that the graph is quite sparse. It also can be seen that for the highest λthe LASSO algorithm works better. The higher λis the more importance is given to the `1-norm term. In order to justify the improvement, the next step would be to perform the formal mathematical validation of the obtained results. 20 CHAPTER 2. TOPOLOGY INFERENCE FACING WITH DIFFUSION PROCESSES Figure 2.9: RMSE vs. Percentage of graph’s connectivity for different values of λ Figure 2.10: RMSE vs. Percentage of graph’s connectivity for a given regularization parameter λand different number of nodes 2.3. NEW ROBUST ENHANCED NETWORK TOPOLOGY INFERENCE WITH NOISY SPECTRAL TEMPLATES 21 Figure 2.11: Comparison of both methods RMSE vs. Number of nodes for a fixed regularization parameter in LASSO algorithm of λ=10−4 Figure 2.12: Comparison of both methods RMSE vs. Number of nodes for a fixed regularization parameter in LASSO algorithm of λ=10−5 22 CHAPTER 2. TOPOLOGY INFERENCE FACING WITH DIFFUSION PROCESSES Figure 2.13: Comparison of both methods RMSE vs. Percentage of graph’s connectivity for a given λ=10−4and different number of nodes Figure 2.14: Comparison of both methods RMSE vs. Percentage of graph’s connectivity for a given λ=10−5and different number of nodes 3.4. CONDITIONAL CORRELATION 29 Figure 3.2: Relation between nodes 2 and 3 due to 1 us start by considering a pair of jointly Gaussian vectors x, and ybeing i.i.d. Vector yis considered to be known. Let us construct, as composition of both, vector z= hxT:yTiT, which is also Gaussian with mean m="ˆx ˆy#and covariance matrix defined as Σ="Σxx Σxy Σyx Σyy#. Under these assumptions, xis conditionally Gaussian, this is Px|y(x|y)follows a Gaussian distribution. The conditional correlation, in probability terms is written as Px|y(x|y) = Pxy(x,y) Py(y) .(3.10) Where the numerator is Pxy(x,y) = 1 (2π)l 2|Σ|1 2 exp−1 2(Σxy)TΣ−1Σxy,(3.11) where `=dim(x) + dim(y). Equivalently, the denominator is Py(y) = 1 (2π)k 2|Σyy|1 2 exp−1 2(Σyy)TΣ−1 yy Σyy(3.12) where k=dim(y). To analyze the expression, let us put together these equations while rewriting the covariance matrices. Thus, Px|y(x|y) = Pxy(x,y) Py(y) = |Σyy|1 2exp"−1 2h(x−ˆx)(y−ˆy)TiΣ−1"x−ˆx y−ˆy## (2π)N 2|Σ|1 2exph−1 2(y−ˆy)TΣ−1 yy (y−ˆy)i(3.13) where N=l−k=dim(x). In order to compute it, let us start by computing the determinant of the covariance matrix by using the following relation with direct demonstration "I−ΣxyΣ−1 yy 0I#Σ"I0 −Σ−1 xy ΣT yy I#="Σxx −ΣxyΣ−1 yy Σyx 0 0 Σyy#.(3.14) 30 CHAPTER 3. STATISTICAL METHODS Finally, the determinant is easily computed. The terms of the matrix are square matrices with the same size. Thus, the determinant of the product is the product of determinants det(Σ) = det(Σxx −ΣxyΣ−1 yy Σyx)det(Σyy).(3.15) The second step is to compute the exponential hx−ˆxT−y−ˆyTiΣ−1"x−ˆx y−ˆy#= (x−¯x)T(Σxx −ΣxyΣ−1 yy Σyx)−1(x−¯x)+(y−ˆy)TΣ−1 yy (y−ˆy), (3.16) where ¯x=ˆx+ΣxyΣ−1 yy (y−ˆy). Finally, using this notation, we can rewrite the conditional probability as Px|y(x|y) = exp h−1 2(x−¯x)T(Σxx −ΣxyΣ−1 yy Σyx)−1(x−¯x)i (2π)N 2|Σxx −ΣxyΣ−1 yy Σyx|1 2 .(3.17) Thus, we have that the conditional covariance matrix is Σ=Σxx −ΣxyΣ−1 yy Σyx (3.18) In (3.18) it is seen why this concept is so important. The dependency that others nodes can produce is counteracted. Note that the conditional covariance is independent of y[p.25 [38]]. Applied to our problem, the observation of the pair of nodes we want to calculate the correlation conform vector x. Thus, the other nodes of the set conform vector y. This result is really interesting because it means that we can calculate the correlation between pairs of nodes independently to the rest. Note, that element (i, j)th of the inverse of the covariance matrix, Θij is equal to the value of the conditional correlation between nodes iand j. The canonical correlation analysis (CCA) is another correlation measurement commonly used. The CCA is similar to the Pearson correlation (3.6) [39, 40]. Its objective is, given two vectors x= [x1,· · · , xn], and y= [y1,· · · , yn], to find the space of linear combinations that maximize the correlation. It is based on the design of projectors to modify the base in which each of the vectors is represented into a canonical base. When comparing two data sets, it is important that both are expressed in the same basis. Otherwise, some correlations may go unnoticed and others may be detected although they do not exist. The difference with the Pearson correlation is in the matrix projection, because the CCA is based on the direction vectors. Given the two defined vectors, xand ylet us define the linear combinations as x=xTui, and y=yTvi. Thus, corr(x, y)i=cov(x, y) qvar(x)var(y), corr(x, y)i=uT icov(x,y)vi quT ivar(x)uivT ivar(y)vi . (3.19) As can be observed, this equation is really similar to (3.6). The maximum canonical correlation is the corr(x, y)|max with respect to the direction vectors uiand vi[41, 42]. 3.4. CONDITIONAL CORRELATION 31 Nonetheless, it was seen that this correlation is no able to detect those relations produced due to a dependency with a third vector. The analysis can be modified to include the conditional covariance, in order to consider the possible effect produced by a third vector. Let us consider the conditional covariance applied in expression (3.19) [43]. Hence, corr(x, y) = uicov(x,y|z)vi quT ivar(x|z)uivT ivar(y|z)vi .(3.20) where zcontains the set of vertices V\ij. As it can be seen, this last expression is equivalent to (3.9), but the projection is based on the linear transformation ui, and vi. Thus, there is a near relation between the CCA and the conditional correlation method. Let us continue the study, assuming that the graph signal x= [x1· · · xN]Tis a Gaussian real random vector [44]. Under this assumption, it is possible to reformulate (3.9) to consider that the graph signals are Gaussian. Let us define W1= (xi, xj)T containing the graph signal of the pair of nodes iand junder study. Also, let us define W2=xV\ij containing the information of the rest of nodes that compose the vertices set. Then the covariance matrix can be expressed as cov "W1 W2#="Σ11 Σ12 Σ21 Σ22#,(3.21) Considering that (xi, xj, xV1, ..., xVm)Tfollows a multivariate Gaussian distribution, then ρij|V\ij = 0, if and only if, xiand xjare independent given all the other variables in V\ij. Note that for the particular case of m= 0, the partial correlation reduces to the Pearson correlation. From this, it can be seen that the conditional correlation specifies conditional independence relations between the entries as studied in 3.4. This is known as Undirected Gaussian Graphical Models or Gaussian Markov Random Field (GMRF) [45, 46, 47]. The partial correlation coefficients from (3.9) can be expressed as ρij|V\ij =−θij qθiiθjj ,(3.22) where the element θij is the (i, j)th entry of the precision matrix Θ:= Σ−1. Thus, each element θij from the precision matrix that equals 0 indicates that the pair of nodes (xi, xj)are independent given all the other graph’s nodes. This means that those nodes (xl, xm)that are related due to a third node, xn, are represented in the precision matrix, also, as θlm = 0, as seen in 3.4. This is a really powerful idea that will allow us to decide whether two nodes have a relation or not only looking to the precision matrix. This problem of identifying the conditional independence relations when having identical distributed realizations from a multivariate Gaussian distribution is really known and a lot of literature can be found, [48, 49, 50, 51, 52]. It is called Covariance Selection [48]. 3.4.1 Beyond Equations In order to validate the algorithms and the software, some controlled simulations are performed. These examples are done by generating a fix A. Multiple simulations are performed in order to compute the mean value between all of them to better see how the 32 CHAPTER 3. STATISTICAL METHODS algorithms behave. In each iteration a random value between [−0.25,0.25] is added to the relations in matrix A. This means that better and worse scenarios are considered and the maximum possible value for a relation, as said in 3.2, is aij ≤1. The relations between nodes, in the first simulation case, is the following Figure 3.3: Information flow, first graph example where the relations have the following central values A=        0 0 0 0 0 1 0 0 0 0 0 0.75 0 0 0 1 0 0.5 0 0 0.75 0 0 0 0         .(3.23) This first simulation is performed by using 10Nsnapshots. This is a stable case where enough snapshots are available to correctly estimate the covariance matrix. Our goal is to obtain a matrix where pairs of nodes which are related are clearly distinguishable from those which are not. The expected relations, in this first scenario, are ˆ Θ=        11111 11100 11110 10110 10001         (3.24) where the 1s represent an existing relation between nodes and 0s are non-related pairs of nodes. In this expected ˆ Θ, values which are different from 0in the Amatrix are 1s. Also, diag(ˆ Θ) = 1because each node has a relation with itself and it is represented in the precision matrix as a 1. In this particular case, we also expect that the position (1,3) and, knowing that the precision matrix is the inverse of the covariance matrix, its symmetric to be 1. As explained in section 3.3, although it does not exist a direct relation between nodes 1 and 3, they actually have a relation due to the fact that node 4 is not able to know 3.4. CONDITIONAL CORRELATION 33 from which of those two nodes its information comes from. This produces that nodes 1 and 3 are related. After applying this technique, results can be seen in figure 3.4. The values are represented in dB to have a better contrast between the values which represent a relation and those which are zero. By doing the simulation it can be seen that the expected result was correct. All values which are different from 0in matrix Aare represented as a relation. Also, the relation between nodes 1 and 3 can be seen in figure 3.4. In this case we can see Figure 3.4: Estimated ˆ Θby using the conditional correlation method for 10Nsnapshots that the technique worked well. All values are correctly estimated, those which represent a relation and those which are no-relations. This is not a critical scenario because enough snapshots were available to correctly estimate the covariance matrix. Next algorithms are also tested for the non-stable case of having N−1snapshots. It makes no sense to test this method under these conditions because the covariance matrix is not well conditioned, thus is a singular matrix. Let us know study another interesting example. In this second simulation the graph’s relations are represented in figure 3.5. The relations have the following central values A=        0 1 0.5−1 0 −100.75 0 0 −1 0.75 0 0 0 0 0 0.25 0 0 0 0 0 1 0         .(3.25) This simulation is performed, as in the first example, by using 10Nsnapshots. This is a stable case because enough information is available to estimate the covariance matrix. 34 CHAPTER 3. STATISTICAL METHODS Figure 3.5: Information flow, second graph As in the previous case, let us analyze which are the expected relations ˆ Θ=        11110 11110 11110 11111 00011         .(3.26) With this simulation we want to see if in case of having a relation between 1 and 2, so node 1 knows the information from node 2, 1 is able to distinguish between nodes 2 and 4. The expected result, as can be seen in (3.26) is that although 1 has this knowledge it exists a relation between 2 and 4 because 1 will not be able to distinguish from whom the information comes from. The results can be seen in figure 3.6. As can be seen, the zero values are clearly represented in figure 3.6. By doing this simulation, our objective was to better understand the nodes’ relations, as well as, to verify that the algorithm is properly implemented. This simulation has produced the expected result where the pairs (5,1),(5,2),(5,3) are not dependent between them. A strong dependency between nodes 4and 5can be observed. For sure, this relation is due to the fact that node number 5is only influenced by node 4. Thus, 5has a total dependency on 4because all its information comes from this node. 3.5 Maximum Likelihood Estimator with Sparse Regularization When talking about graph signals, it is common that they follow a Gaussian distribution. In this section, we study the case of having a graph signal which is a Gaussian random vector. This type of signals can be found in different fields such as model predictive control and analysis systems [53], image analysis and synthesis [54] or in speech processing [55]. Gaussian processes are also commonly found in communications systems [56]. With this type of signals found in so many fields, it is interesting to study this particular case The 3.5. MAXIMUM LIKELIHOOD ESTIMATOR WITH SPARSE REGULARIZATION 35 Figure 3.6: Estimated ˆ Θby using the conditional correlation method for 10Nsnapshots study of the conditional correlation when working with these signals was explained in 3.4 section. 3.5.1 Problem Formulation and Solution The covariance selection term was firstly used by Demptser in the early 1970s [48] and he proposed an approach to solve this problem. He presented the possibility of estimating the entries of Θvia a recursive, likelihood-based threshold procedure. It worked well for the type of networks that existed in this period. Nonetheless, this algorithm does not scale well when applied to nowadays large-scale networks. The reason behind is that when working with high-dimensional regimes the estimation of the ˆ Σis rank deficient. A good way to solve the problem related with the ˆ Σrank is by means of a regularization. It is really common to consider that the network has a high degree of sparsity. In [57] it is explained why the sparsest solution to a problem is useful in different fields. In order to take into account the sparsity, the `0-norm must be used. Nonetheless, due to its computational complexity as the search space is exponentially large, [58], it is used the `1-norm which is the convex function closest to the `0-norm [13]. A most extensive explanation about this topic can be found in [59]. In our particular case, the regularization is the `1-norm. In order to simplify the equations and without loss of generality, we assume zero-mean x∼Normal(0,Σ)since the objective is estimating graph’s structure encoded in the entries of the precision matrix Θ=Σ−1. Under these assumptions the maximumlikelihood (ML) estimator of the precision matrix is given by ˆ ΘML = arg max θ≥0{log det Θ−trace(ˆ ΣΘ)},(3.27) 36 CHAPTER 3. STATISTICAL METHODS where θ≥0is a requirement to ensure that the matrix is positive semi-definite and ˆ Σ=1 PPP p=1 xpxT pis the empirical covariance matrix. It can be seen, that when N >> P matrix ˆ Σis singular, expression (3.27) is not the ML estimator and, in fact, it does not exist. As explained, the regularization called Graphical Lasso [60] is applied. Nonetheless, we are interested in a sparse solution. Thus, in order to promote sparsity the `1-norm is used [61], obtaining ˆ ΘML = max θ≥0{log det Θ−trace(ˆ ΣΘ)−λkΘk1}.(3.28) The computational complexity of these methods, called Interior-Point Methods (also known as barrier methods or IBM , is O(N6). Furthermore, interior-point methods require computing and storing, in each of the iterations, a Hessian matrix of size O(N2). These methods are algorithms that are used to solve linear and nonlinear convex optimization problems and there are multiple different algorithms. A further and more detailed explanation can be found in [62, 63]. Some examples where these methods are applied are in power generation [64, 65] and in designing recursive maximum likelihood methods to estimate some parameters for hypersonic vehicles [66]. This means that for large networks the computational complexity becomes an issue in terms of time and storage. Nonetheless, this method works much better than the conditional correlation because it is able to work with much less snapshots. By using the appropriate value of the sparsity promoting parameter λit is possible to improve a lot the matrix estimation. 3.5.2 Beyond Equations The relations between nodes in the first simulation case are the same as in figure3.3 with the values represented in equation (3.23) and the expected result, as in the other cases is 3.24. This first simulation, where enough snapshots are available, is used as test to ensure that the algorithm works as expected. Once the algorithm is validated, another simulation is performed. In this second case, only N−1snapshots are available. This is a more critical and extreme scenario that allows us to see the potential of this technique. As can be seen in figure 3.8, although the difference between the related and the non-related pairs of nodes is less significant than in figure 3.7, it is still possible to distinguish those nodes which are not related. This means that with this algorithm it is possible to recover the graph’s relations although the scenario is not totally well conditioned, or in other words not enough snapshots are available. Nonetheless, it is important to note that this technique is much more computationally complex than the next algorithm studied the Sparse Linear Regression. Then, the next case is also studied with this second algorithm, figure 3.9. As can be seen all values can be perfectly recovered with this second technique. By improving the value of the normalization parameter λit is possible to improve the estimated result. With this simulation, it can be seen that the algorithm works for different scenarios without problems. By performing this simulation it is possible to validate that the algorithm is correctly implemented. Note that those pairs of nodes which are directly related in 3.26 have a stronger relation than those which are related because a third node is not able to distinguish from whom its information comes from. An example of a direct relation is pair (5,4) and an example of those lower relations is (4,1). 3.5. MAXIMUM LIKELIHOOD ESTIMATOR WITH SPARSE REGULARIZATION 37 Figure 3.7: Estimated ˆ Θby using the ML estimator promoting sparsity for 10Nsnapshots Figure 3.8: Estimated ˆ Θby using the ML estimator promoting sparsity for N−1 38 CHAPTER 3. STATISTICAL METHODS Figure 3.9: Estimated ˆ Θby using the ML estimator promoting sparsity for 10Nsnapshots 4.2. SIMULATION RESULTS 45 Figure 4.3: Estimated ˆ Θby using the conditional correlation method Figure 4.4: Estimated ˆ Θby using the ML estimator 46 CHAPTER 4. COMPARISON OF METHODS are needed. Using the Linear Regression approach, the result obtained in this case is really similar to figure 4.4. Nonetheless, it is interesting to note that it worked slightly better than the ML estimator approach and the computational time is around 10×faster in the case of the Linear Regression method. Figure 4.5: Estimated ˆ Θby using the Linear Regression method To conclude this first simulation, let us analyze figure 4.6. It can be seen the result of applying the Linear Regression method with a normalization parameter equal to 0. As expected, the result obtained by the Linear Regression method when no normalization parameter is taken into account is identical to the conditional correlation solution, as explained in 3.6. By comparing figure 4.6 with figure 4.5 it is possible to see the benefits of using the optimization of the `1-norm. It represents more clearly the non-relations. To conclude, we can say that by providing this extra information, the algorithm is able to better differentiate those values which are zero from those which are relations between pairs of nodes. 4.2. SIMULATION RESULTS 47 Figure 4.6: Estimated ˆ Θby using the Linear Regression method with no normalization parameter In this next example figure 4.7 a new precision matrix is generated. Nonetheless, in this case algorithms only have N−1snapshots to estimate it. In this scenario, as explained in 3.3 it makes no sense to try to use the conditional correlation method because the covariance matrix is rank deficient. Thus, it is not possible to compute the precision matrix as the inverse of the covariance matrix. The precision matrix, Θthat is used in this simulation can be seen in figure 4.7. As can be seen, nodes 9and 10 are isolated, this is they do not depend on any other node. Let us now focus in the results obtained by the two algorithms that incorporates the `1- norm optimization, the sparsity promotion parameter λ. By looking into figure 4.8 it can be seen that some of the most important relations are estimated but any of the lightest relations is represented. A similar result can be seen in the estimation obtained by the linear regression method in figure 4.9. This result means that for bad scenarios where the snapshots available are not enough to correctly estimate the covariance matrix, it is still possible to recover the most important relations between pairs of nodes. By increasing the number of snapshots taken it is possible to estimate the lowest weighted relations. After doing all these simulations it is interesting to note that the time needed for the three different algorithms is significantly different. To compute the conditional correlation is approximately 10×faster than to solve the optimization problem by using the Linear Regression method. The slowest solution is the ML estimator because it required approximately 100×more time than the Linear Regression method. 48 CHAPTER 4. COMPARISON OF METHODS Figure 4.7: Θgenerated with a percentage of values different to 0of 30% Figure 4.8: ˆ Θestimated by using the Gaussian Graphical Models, ML estimator 4.2. SIMULATION RESULTS 49 Figure 4.9: ˆ Θestimated by using the Linear Regression method Chapter 5 Conclusions and Future Work 5.1 Conclusions As we observed, this Master’s Thesis is divided in three different parts. The first one is focused in network topology inference when the signal graph can be modeled as the output of a graph filter when a driving noise is applied. The second part is centered in a more general branch, the study of statistical methods. Finally, the third part is devoted to simulations and comparisons between the statistical methods. In chapter 2, we reviewed the concepts already studied in the Degree’s Thesis that were needed to understand section 2.3. This part corresponds to the green branch in figure 5.1. In the previous work section 2.2, it was seen how to infer the topology when working with imperfect spectral templates. At this point, a natural question arises: how do we infer the topology when working with noisy spectral templates? This question is studied in this Master’s Thesis in section 2.3. It was examined why the OMP algorithm was not working due to the RIP condition, which could not be guaranteed. Then, the study is centered in noisy spectral templates, a new robust method based on LASSO is proposed. In section 2.3.3, we compared the results obtained using the BP,OMP, and Robust Method, with the results obtained using LASSO. As it was previously showed, the reliability of this new technique is higher than the obtained with the BP or OMP algorithms. It is important to clear up that, LASSO does not require to have knowledge about the graph’s sparsity degree. It was studied the algorithm’s dependency of the regularization parameter. Which was showed that the regularization parameter did not modify the RMSE for different sparsity degrees. The most important conclusion is that for a number of nodes Ntending to infinite, the RMSE obtained with the LASSO approach tends to 0. In chapter 3, we studied statistical methods. This part corresponds to the blue branch in figure 5.1. As exposed, these techniques were more generic than those explained in chapter 2. These approaches did not require any other information but some snapshots taken from the graph. To begin with, we presented the signal model used along this chapter. Then, in then next section the correlation networks were presented. Three approaches to estimate the graph’s topology were introduced in this chapter: the conditional correlation, the maximum likelihood estimator with sparse regularization, and the linear regression. The simplest one was the conditional correlation method but, it was not possible to use when having a low number of snapshots. Some simulations were performed to 51 52 CHAPTER 5. CONCLUSIONS AND FUTURE WORK explain some concepts regarding the precision matrix Θ, as well as, to see the method’s performance. It was then exposed, that it is typical to assume a Gaussian distribution. Gaussian graphical models were presented and the ML estimator was derived based on Gaussian assumption. The sparsity was also considered in the ML estimator, to finally obtain the ML estimator with sparse regularization in 3.5.1. Some simulations were performed to validate the method. At the end of this chapter, the linear regression technique was explained. It was formulated and the sparse regularization was taken into account. The predictor was estimating for each node ithe mean square error predictor. Then, a normalization was needed because each of these predictors had its own scaling factor. In order to conclude this section, the precision matrix was build where each of its columns i was the normalized predictor βi. Some simulations were carried out to show the potential of this technique when working with low information. In chapter 4, more simulations were performed to better compare the three approaches studied in chapter 3. As explained, the differences between these techniques and their potential can be better seen, when the number of nodes, and the sparsity degree increase. This is the reason why, in this chapter, we increased the number of nodes up to N= 10. It was explained that the number of nodes was not higher because it was already possible to see the differences between the techniques, and to easily analyze the results. With a higher number of nodes, the analysis would be much more difficult. Two different precision matrices were generated to test the methods. In the first case, it was seen that the methods which were considering the sparsity promotion obtained better results. Also, it was showed that if the linear regression method does not consider the sparsity promotion term, its result is equal to the one obtained with the conditional correlation. In the second example, we tried to estimate the precision matrix with only N−1snapshots. As it was explained, it made no sense to test the conditional correlation method due to the lack of information to correctly estimate it, the covariance matrix is singular. It was seen that, although the techniques had some difficulties estimating the precision matrix’s lowest values, they were able to correctly estimate most of the highest values. Also, it was noted that the linear regression method obtained a better result than the ML estimator. Furthermore, the linear regression algorithm was much faster than the ML method. 5.2 Future Work To better complete the study of topology inference in graph signal processing it remains to study of Smooth Signals. This part corresponds to the yellow branch in figure 5.1. There are multiple applications were it is interesting to construct a graph where data may have a certain regularity. As an example, it exists the possibility to learn the graph’s topology by observing smooth signals [11, 67, 68, 69]. A signal graph is said to be smooth when the graph’s weights tend to be similar. An objective measure of the signal smoothness can be quantified by the total variation (TV) [11, 67, 70] with respect to the Laplacian. These signals are interesting because they admit low-pass and band-limited representations using the Graph Fourier Transform basis. An example of this band-limited representations are sparse signals. Furthermore, smoothness is a very important property used in multiple graph-based statistical learning tasks such as nearest-neighbor prediction, denoising or spectral clustering. There are multiple examples of smooth signals in real 5.2. FUTURE WORK 53 world. Those examples include natural images [67], types of practice in a network of lawyer collaborations and product ratings supported over similarity graphs of items or consumers [4], the environmental measures taken over a large area to the find relations between them [9] or the attack detection over the electrical grid [71]. Figure 5.1: General schema of the future work of the theoretical part