1. Introduction
In this paper, we study the problem of recovering missing spatial data at the vertices of an undirected graph. We assume that the graph is connected. Furthermore, it is simple; that is, it has no self-loops or multiple edges. We demonstrate that by leveraging the structure of the graph, all missing values can be reconstructed even when only a single observation is available. Here, exploiting the graph structure specifically means utilizing the eigenbasis of the graph Laplacian. As shown in Yamada (2023) [
1], the graph Laplacian eigenvectors can be ordered according to Geary’s
c (Geary, 1954 [
2]; Cliff and Ord, 1969, 1970, 1973, 1981 [
3,
4,
5,
6]), one of the most widely used measures of spatial autocorrelation, which is a spatial extension of the time series autocorrelation measure developed by von Neumann (1941) [
7]. This property is central to our approach. In this paper, we establish a novel connection between spatial statistics and spectral graph theory.
We describe the motivation behind the present study. The Hodrick–Prescott (HP) filter (Hodrick and Prescott, 1997 [
8]) is a standard method for estimating time trend in econometrics. However, it cannot be directly applied when missing values are present. To overcome this limitation, Yamada (2022) [
9] proposed a generalized version of the HP filter, which allows the estimation of the time trend and the simultaneous interpolation of missing values. A key observation is that a time series can be interpreted as data at the vertices of a path graph. This motivates the spatial extension of the method proposed by Yamada (2022) [
9], enabling the interpolation of missing spatial values.
The remainder of this paper is organized as follows.
Section 2 presents the preliminaries required for the main result.
Section 3 states the main result. In particular, it introduces a method for reconstructing missing spatial data using the graph structure.
Section 4 provides the proof of the main result.
Section 5 illustrates the application of the proposed method to real data.
Section 6 concludes the paper.
Appendix A provides an additional proof.
2. Preliminaries
Consider an undirected graph
with no self-loops or multiple edges, where
. We assume that
,
, and
G is connected. Let
and
, where
and
. Then
A and
B are subsets of the vertex set
V such that both
A and
B are nonempty,
, and
. Therefore,
is a partition of
V. Let
denote the value of
y at vertex
i for
. In this paper, we consider the setting in which
is missing for
, while
is observed for
. We refer to the sets
A and
B as the observed set and the unobserved set, respectively.
Figure 1 shows a connected undirected graph with six vertices, where the values at the colored vertices are missing. Accordingly, in this graph, the observed set is
and the unobserved set is
.
Let
,
, and
. Let
be the
n-dimensional column vector of ones,
be the identity matrix of order
n, and
denote a zero vector or matrix of appropriate dimension. Let
and
. Then we have
and
. Since
m is an integer such that
, both
and
are nonzero matrices. Moreover, since
is an
permutation matrix, we have
from which
can be decomposed as
Note that
coincides with
on the observed components and is zero on the unobserved components.
Let
be an
matrix whose
entry is
, where
for
. Since
G is an undirected graph with no self-loops or multiple edges,
is a symmetric hollow matrix, i.e.,
and
. It is often assumed that
whenever
, in which case
is a binary matrix. Let
, where
for
. Then the graph Laplacian
corresponding to the graph
G can be defined using
and
as
See, e.g., Bapat (2014) [
10], Estrada and Knight (2015) [
11], and Gallier (2016) [
12]. The matrices
and
are referred to as the (weighted) adjacency matrix and the degree matrix of the graph
G, respectively.
As an example, we present the graph Laplacian of the graph shown in
Figure 1, assuming that the adjacency matrix
is binary. Since the edge set of the graph is
the corresponding graph Laplacian
is given by
For example, the
and
entries of
are −1 since vertices 1 and 2 are adjacent. Similarly, the
entry is 2 since vertex 2 is adjacent to two other vertices, namely 1 and 3.
We denote the eigenvalues of
by
in ascending order. Since the graph
G is connected,
has rank
. Moreover,
is positive semidefinite (see, e.g., Yamada, 2021 [
13]). Thus,
Let
be a spectral decomposition of a real symmetric matrix
, where
and
. Then
is an
orthogonal matrix, and hence the column vectors of
,
, form an orthonormal basis of
. In addition, since
, we may take
, and hence the remaining vectors
for
lie in the orthogonal complement of
. Here,
denotes the column space of
. Moreover, given that
for
, it follows from (
7) that
Let
denote the Geary’s
c of an
n-dimensional column vector
associated with the graph
G. Geary’s
c is a widely used measure of spatial autocorrelation. As shown in Yamada (2021) [
13], it is expressed in terms of
as
where
and
.
Since
for
lie in the orthogonal complement of
and satisfy
, it follows that
for
. Thus, Geary’s
c for
,
, is given by
for
. Therefore, it follows from (
9) that
Note that
is not defined, since
.
Equation (
12) is crucial for this study. Since Geary’s
c takes non-negative values and smaller values indicate stronger positive spatial autocorrelation, the inequalities in (
12) imply that, for example,
exhibits stronger positive spatial autocorrelation in the sense of Geary’s
c than
for
.
3. Interpolating Missing Spatial Data
Motivated by the monotonicity condition on the graph Laplacian eigenvectors in (
12), we consider the following minimization problem for reconstructing
from
:
where
is a positive constant. Note that since
,
in the constraint can equivalently be written as
. Given the ordering condition in (
7), the weight associated with
is greater than or equal to that associated with
for
. Consequently, under the monotonicity condition on the graph Laplacian eigenvectors in (
12), this weighting structure allows for the reconstruction of
.
Let
. Then the above constrained minimization problem can be written in matrix form as
Recall that
and
. The constrained minimization problem (
15) and (
16) is equivalent to the following penalized least squares problem:
where
is a non-negative smoothing parameter. More precisely, for any
, there exists a
that yields an equivalent solution (see, e.g., Beck, 2014 [
14]). The two parameters,
and
, are inversely related. For example,
corresponds to
.
Incidentally, the above penalized least squares problem is similar to that considered in Yamada (2022) [
9]. This is because, by letting
, (
17) can be rewritten as a graph Laplacian-penalized least squares problem:
Note that this formulation is equivalent to the spatial smoothing method considered in Yamada (2024) [
15] when
, i.e., when there are no missing values, although this case is not considered in the present paper.
Concerning the minimization problem in (
17), the following result holds.
Theorem 1. If and , then there exists a unique global minimizer such thatwith equality if and only if and . Moreover, the minimizers are explicitly given by Equation (
20) shows that
can be interpolated using the graph Laplacian eigenbasis
as
where
denotes the
i-th entry of
for
. Furthermore, by substituting (
21) into (
20), we obtain the following alternative representation:
which explicitly shows how
is reconstructed from the observed data
. Recall that
coincides with
on the observed components and is zero on the unobserved components.
Finally, we make three remarks on the above result. First,
is nonsingular because the following lemma holds.
Lemma 1. If , then is positive definite for any positive λ.
Proof. First, consider the case where
. In this case,
can be expressed as
for some
. Since
and
, we obtain
if
.
Next, consider the case where
. In this case,
can be expressed as
for some
and some
, where
. Again, since
, it follows that
where
. The last inequality follows since
is positive definite. Therefore, for any
, it follows from (
25) that
Combining the above cases, we conclude that for any , . □
Accordingly, we note that our main result in (
22) requires the condition
, i.e., at least one data point must be observed.
Second, we show that
can be regarded as the solution of a generalized ridge regression (Hoerl and Kennard, 1970 [
16]). Let
. Then it follows from (
21) that
which is the solution of the following generalized ridge regression:
We note that, even though
is an
matrix with
,
is positive definite. This follows from the fact that
is similar to
as
Third, we provide insights into how
in (
20) depends on the smoothing parameter
. In particular, we have
where
denotes the mean of the entries of
, i.e.,
. A proof of (
30) is given in
Appendix A. Furthermore, from Lemma 1,
is positive definite for any
when
. However, it becomes ill-conditioned as
since
is rank-deficient. Therefore,
should not be chosen too small.
5. Illustration Using Real Data
We demonstrate the practical utility of the proposed graph-based interpolation method using the widely used meuse dataset available in the R sp package. We focus on the elevation variable, which exhibits strong positive spatial autocorrelation. We randomly selected 30% of the data to be treated as missing, leaving 70% of the observations available (i.e., ). Since , this yields observed and missing values. We generated a neighbor list from the point coordinates using tri2nb function in the R spdep package, and then converted it to an adjacency matrix for subsequent spatial analysis.
To apply our graph-based interpolation method, we need to specify the smoothing parameter
. For this purpose, we used a 5-fold spatial block cross-validation procedure (Roberts et al., 2017 [
17]). Specifically, we partitioned the observations into 5 spatial blocks based on their coordinates using
K-means clustering (MacQueen, 1967 [
18]). The optimal value of
was then selected from 100 logarithmically spaced points between
and
. As shown in
Figure 2, the selected value, indicated by a red dashed line, is
.
Figure 3 illustrates the performance of the proposed graph-based interpolation method. It shows the observed data with 30% of the values randomly removed (top left), the imputed data obtained using the proposed graph-based interpolation method (top right), and the original complete data (bottom left). The reconstructed values closely match the true elevations, indicating that the method provides highly accurate interpolations for spatially autocorrelated missing data.
Finally, for reference, we present plots of several graph Laplacian eigenvectors.
Figure 4 shows
for
. In each panel, the first element of the ordered pair denotes the index
i, and the second gives the value of
. For instance, the top-left panel displays
with
. From this figure, it is clear that spatial autocorrelation is high when
i is small, whereas it becomes low when
i is large. In fact, as
i increases,
strictly increases. This figure provides a visualization of the inequalities in (
9) and (
12).
6. Concluding Remarks
In this paper, we established a novel connection between spatial statistics and spectral graph theory. By exploiting the graph Laplacian eigenbasis that reflects the underlying graph structure, we showed that all missing values can be reconstructed, even from a single observation. This is made possible by the fact that the eigenvectors of the graph Laplacian can be ordered according to their spatial autocorrelation measured by Geary’s c. The main result of this study is presented in Theorem 1. We also provided an empirical illustration of our method, showing its practical effectiveness. These results highlight the usefulness of the graph Laplacian eigenbasis in spatial statistics and suggest promising directions for future developments.
Finally, although we derived the predictor for the missing-value vector in Theorem 1, the detailed properties of this predictor have not yet been investigated and are left for future work. Additionally, clarifying the advantages and disadvantages of the method proposed in this paper compared to other approaches, such as kriging, will be an important topic for future research.