graph Fourier transform

In mathematics, the graph Fourier transform is a mathematical transform which eigendecomposes the Laplacian matrix of a graph into eigenvalues and eigenvectors. Analogously to the classical Fourier transform, the eigenvalues represent frequencies and eigenvectors form what is known as a graph Fourier basis.

The Graph Fourier transform is important in spectral graph theory. It is widely applied in the recent study of graph structured learning algorithms, such as the widely employed convolutional networks.

Definition

Given an undirected weighted graph G = (V,E), where V is the set of nodes with |V| = N (N being the number of nodes) and E is the set of edges, a graph signal f: V \rightarrow \mathbb{R} is a function defined on the vertices of the graph G. The signal f maps every vertex \{v_i\}_{i=1,\ldots,N} to a real number f(i). Any graph signal can be projected on the eigenvectors of the Laplacian matrix L.{{Cite journal|last1=Ricaud|first1=Benjamin|last2=Borgnat|first2=Pierre|last3=Tremblay|first3=Nicolas|last4=Gonçalves|first4=Paulo|last5=Vandergheynst|first5=Pierre|date=2019-07-01|title=Fourier could be a data scientist: From graph Fourier transform to signal processing on graphs|journal=Comptes Rendus Physique|series=Fourier and the science of today / Fourier et la science d’aujourd’hui|language=en|volume=20|issue=5|pages=474–488|doi=10.1016/j.crhy.2019.08.003|bibcode=2019CRPhy..20..474R|issn=1631-0705|doi-access=free}} Let \lambda_l and \mu_l be the l_\text{th} eigenvalue and eigenvector of the Laplacian matrix L (the eigenvalues are sorted in an increasing order, i.e., 0= \lambda_0\leq\lambda_1\leq\cdots\leq\lambda_{N-1}{{Cite journal|last1=Shuman|first1=David I|last2=Narang|first2=Sunil K.|last3=Frossard|first3=Pascal|last4=Ortega|first4=Antonio|last5=Vandergheynst|first5=Pierre|date=May 2013|title=The emerging field of signal processing on graphs: Extending high-dimensional data analysis to networks and other irregular domains|journal=IEEE Signal Processing Magazine|volume=30|issue=3|pages=83–98|doi=10.1109/MSP.2012.2235192|issn=1558-0792|arxiv=1211.0053|bibcode=2013ISPM...30...83S|s2cid=1594725}}), the graph Fourier transform (GFT) \hat{f} of a graph signal f on the vertices of G is the expansion of f in terms of the eigenfunctions of L.{{Cite journal|last1=Shuman|first1=David I|last2=Ricaud|first2=Benjamin|last3=Vandergheynst|first3=Pierre|date=2016-03-01|title=Vertex-frequency analysis on graphs|journal=Applied and Computational Harmonic Analysis|language=en|volume=40|issue=2|pages=260–291|doi=10.1016/j.acha.2015.02.005|issn=1063-5203|doi-access=free|arxiv=1307.5708}} It is defined as:{{Cite web|last=Nonato|first=Luis Gustavo|date=2017-08-29|title=Graph Fourier Transform|url=https://sites.icmc.usp.br/gnonato/gs/slide3.pdf|archive-url=|archive-date=|access-date=|website=}}

: \mathcal{G F}[f](\lambda_{l})=\hat{f}\left(\lambda_{l}\right)=\langle f, \mu_{l}\rangle=\sum_{i=1}^{N} f(i) \mu_{l}^*(i),

where \mu_l^* = \mu_l^\text{T}.

Since L is a real symmetric matrix, its eigenvectors \{\mu_l\}_{l=0,\cdots, N-1} form an orthogonal basis. Hence an inverse graph Fourier transform (IGFT) exists, and it is written as:

: \mathcal{I} \mathcal{G} \mathcal{F}[\hat{f}](i)=f(i)=\sum_{l=0}^{N-1} \hat{f}(\lambda_l) \mu_l(i)

Analogously to the classical Fourier transform, graph Fourier transform provides a way to represent a signal in two different domains: the vertex domain and the graph spectral domain. Note that the definition of the graph Fourier transform and its inverse depend on the choice of Laplacian eigenvectors, which are not necessarily unique. The eigenvectors of the normalized Laplacian matrix are also a possible base to define the forward and inverse graph Fourier transform.

Properties

= Parseval's identity =

The Parseval relation holds for the graph Fourier transform,{{Cite journal|last1=Hammond|first1=David K.|last2=Vandergheynst|first2=Pierre|last3=Gribonval|first3=Rémi|date=2011-03-01|title=Wavelets on graphs via spectral graph theory|url=http://www.sciencedirect.com/science/article/pii/S1063520310000552|journal=Applied and Computational Harmonic Analysis|language=en|volume=30|issue=2|pages=129–150|doi=10.1016/j.acha.2010.04.005|issn=1063-5203|arxiv=0912.3848|s2cid=5593503}} that is, for any f,h\in \mathbb{R}^N

: \langle f, h\rangle=\langle\hat{f}, \hat{h}\rangle.

This gives us Parseval's identity:

: \sum_{i=1}^N |f(i)|^{2}=\|f\|_2^2=\langle f, f\rangle=\langle\hat{f}, \hat{f}\rangle=\|\hat{f}\|_2^2=\sum_{l=0}^{N-1} \left|\hat{f}\left(\lambda_l\right)\right|^2.

= Generalized convolution operator =

The definition of convolution between two functions f and g cannot be directly applied to graph signals, because the signal translation is not defined in the context of graphs. However, by replacing the complex exponential shift in classical Fourier transform with the graph Laplacian eigenvectors, convolution of two graph signals can be defined as:

: (f * g)=\mathcal{I} \mathcal{G} \mathcal{F}[\mathcal{G} \mathcal{F}[f] \cdot \mathcal{G} \mathcal{F}[g]],

: (f * g)(i)=\sum_{l=0}^{N-1} \hat{f}(\lambda_l) \hat{g}(\lambda_l) \mu_l(i).

== Properties of the convolution operator ==

The generalized convolution operator satisfies the following properties:

  • Generalized convolution in the vertex domain is multiplication in the graph spectral domain: \widehat{f * g}=\hat{f} \hat{g}.
  • Commutativity: f * g=g * f
  • Distributivity: f * (g+h)=f*g + f*h
  • Associativity: (f*g)*h = f*(g*h)
  • Associativity with scalar multiplication: \alpha(f * g)=(\alpha f) * g=f *(\alpha g), for any \alpha \in \mathbb{R}.
  • Multiplicative identity: f * g_0=f, where g_0(i)=\sum_{l=0}^{N-1} \mu_{l}(i) is an identity for the generalized convolution operator.
  • The sum of the generalized convolution of two signals is a constant times the product of the sums of the two signals:

: \sum_{i=1}^N(f * g)(i)=\sqrt{N} \hat{f}(0) \hat{g}(0)=\frac{1}{\sqrt{N}}\left[\sum_{i=1}^N f(i)\right] \left[\sum_{i=1}^N g(i)\right].

= Generalized translation operator =

As previously stated, the classical translation operator T_v cannot be generalized to the graph setting. One way to define a generalized translation operator is through generalized convolution with a delta function centered at vertex n:\left(T_{n} f\right)(i)=\sqrt{N}\left(f * \delta_{n}\right)(i){=} \sqrt{N} \sum_{l=0}^{N-1} \hat{f}\left(\lambda_{l}\right) u_{l}^{*}(n) u_{l}(i),

where \delta_i(n)=\begin{cases}

1, & \text {if } i=n, \\

0, & \text {otherwise.}

\end{cases}

The normalization constant \sqrt{N} ensures that the translation operator preserves the signal mean, i.e.,

: \sum_{i=1}^N(T_n f)(i)=\sum_{i=1}^N f(i).

== Properties of the translation operator ==

The generalized convolution operator satisfies the following properties:

For any f, g \in \mathbb{R}^N , and j,k\in \{1,2,\dots,N\} ,

  • T_j(f * g)=(T_j f) * g=f *(T_{j} g)
  • T_j T_k f=T_k T_j f
  • \sum_{i=1}^N (T_j f)(i)=\sqrt{N} \hat{f}(0)=\sum_{i=1}^N f(i)
  • \left\|T_j f\right\| \neq \| f \|

Applications

= Image compression =

Representing signals in frequency domain is a common approach to data compression. As graph signals can be sparse in their graph spectral domain, the graph Fourier transform can also be used for image compression.{{Cite book|last1=Sandryhaila|first1=Aliaksei|last2=Moura|first2=Jose M. F.|title=2013 IEEE International Conference on Acoustics, Speech and Signal Processing |chapter=Discrete signal processing on graphs: Graph fourier transform |date=May 2013|pages=6167–6170|publisher=IEEE|doi=10.1109/icassp.2013.6638850|isbn=978-1-4799-0356-6|s2cid=14704192}}{{Cite journal|last1=Hu|first1=Wei|last2=Cheung|first2=Gene|last3=Ortega|first3=Antonio|last4=Au|first4=Oscar C.|date=January 2015|title=Multiresolution Graph Fourier Transform for Compression of Piecewise Smooth Images|journal=IEEE Transactions on Image Processing|volume=24|issue=1|pages=419–433|doi=10.1109/TIP.2014.2378055|pmid=25494508|bibcode=2015ITIP...24..419H|s2cid=9539186|issn=1941-0042}}

= Graph noise reduction =

Similar to classical noise reduction of signals based on Fourier transform, graph filters based on the graph Fourier transform can be designed for graph signal denoising.{{Cite journal|last1=Sandryhaila|first1=Aliaksei|last2=Moura|first2=José M. F.|date=June 2014|title=Discrete Signal Processing on Graphs: Frequency Analysis|journal=IEEE Transactions on Signal Processing|volume=62|issue=12|pages=3042–3054|doi=10.1109/TSP.2014.2321121|bibcode=2014ITSP...62.3042.|s2cid=12110057|issn=1941-0476|arxiv=1307.0468}}

=== Data classification ===

As the graph Fourier transform enables the definition of convolution on graphs, it makes possible to adapt the conventional convolutional neural networks (CNN) to work on graphs. Graph structured semi-supervised learning algorithms such as graph convolutional network (GCN), are able to propagate the labels of a graph signal throughout the graph with a small subset of labeled nodes, theoretically operating as a first order approximation of spectral graph convolutions without computing the graph Laplacian and its eigendecomposition.{{cite arXiv|last1=Kipf|first1=Thomas N.|last2=Welling|first2=Max|date=2017-02-22|title=Semi-Supervised Classification with Graph Convolutional Networks|class=cs.LG|eprint=1609.02907}}

Toolbox

GSPBOX{{cite arXiv|last1=Perraudin|first1=Nathanaël|last2=Paratte|first2=Johan|last3=Shuman|first3=David|last4=Martin|first4=Lionel|last5=Kalofolias|first5=Vassilis|last6=Vandergheynst|first6=Pierre|last7=Hammond|first7=David K.|date=2016-03-15|title=GSPBOX: A toolbox for signal processing on graphs|class=cs.IT|eprint=1408.5781}}{{Cite web|title=PyGSP: Graph Signal Processing in Python — PyGSP 0.5.1 documentation|url=https://pygsp.readthedocs.io/en/stable/|access-date=2020-06-22|website=pygsp.readthedocs.io}} is a toolbox for signal processing of graphs, including the graph Fourier transform. It supports both Python and MATLAB languages.

References