Abstract
This paper addresses the problem of interpolating missing spatial data at the vertices of a connected undirected simple graph. We show that, by exploiting the eigenbasis of the graph Laplacian, all missing values can be reconstructed even from a single observation. This work establishes a novel connection between spatial statistics and spectral graph theory.
Keywords:
spatial statistics; spectral graph theory; interpolation; graph Laplacian; spatial autocorrelation; Geary’s c MSC:
62H11; 05C50
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 .
Figure 1.
A connected undirected graph. Values at colored vertices are missing.
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 .
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 that
with equality if and only if and . Moreover, the minimizers are explicitly given by
Proof.
A proof is given in Section 4. □
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.
Accordingly, we note that our main result in (22) requires the condition , i.e., at least one data point must be observed.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 , . □
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.
4. Proof of Theorem 1
In this section, we provide a proof of Theorem 1.
Proof of Theorem 1.
Accordingly, the Hessian matrix of is
Lemma 2.
If , then is positive definite for any positive λ.
Proof.
Since both and are positive semidefinite and , is positive semidefinite. Then is positive definite if . Since and is orthogonal, we have
where the last inequality follows from Lemma 1. (Note that is the Schur complement of in .) Therefore, . Since is positive semidefinite, this implies that is positive definite.
Let be the column vector such that . Then since is quadratic and its Hessian matrix is positive definite from Lemma 2, it follows that
Hence, is the unique global minimizer of .
Here, since , the minimizer satisfies
Then given that , (31) can be written in terms of and as
which yields the following system of equations
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 2.
Root mean squared error (RMSE) as a function of the smoothing parameter , evaluated via spatial block cross-validation. The optimal value of , 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.
Figure 3.
Observed data with 30% of values randomly removed (top left), imputed data using the proposed graph-based interpolation method (top right), and the original complete data (bottom left).
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).
Figure 4.
Graph Laplacian eigenvectors for . In each panel, the first element of the ordered pair denotes the index i, and the second gives the value of .
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.
Author Contributions
Conceptualization, H.Y.; Methodology, H.Y.; Writing—original draft, Z.J.; Writing—review editing, Z.J. and H.Y.; Supervision, H.Y.; Project administration, H.Y.; Funding acquisition, Z.J. and H.Y. All authors have read and agreed to the published version of the manuscript.
Funding
Zihan Jin gratefully acknowledges financial support from the Japan Science and Technology Agency (JST) SPRING Program (Grant No. JPMJSP2132), and Hiroshi Yamada gratefully acknowledges financial support from the Japan Society for the Promotion of Science (JSPS) KAKENHI (Grant No. 23K01377).
Data Availability Statement
No new data were created or analyzed in this study.
Acknowledgments
We would like to thank the three anonymous referees for their insightful comments and helpful suggestions. Most of this work was carried out while Hiroshi Yamada was at Hiroshima University, and he would like to express his gratitude to the university for its support.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A
In this section, we provide an additional proof.
Proof of (30).
From (27), we have
which can be written as
where with , and with . Solving (A1) and (A2) yields
where . Let . Denote a spectral decomposition of a real symmetric matrix by . Then,
from which we have as . Thus, as , it follows from (A3) that . Therefore, we obtain
The final equality in (A6) follows from and . □
References
- Yamada, H. Geary’s c and spectral graph theory: A complement. Mathematics 2023, 11, 4228. [Google Scholar] [CrossRef] [Scilit]
- Geary, R.C. The contiguity ratio and statistical mapping. Inc. Stat. 1954, 5, 115–145. [Google Scholar] [CrossRef] [Scilit]
- Cliff, A.D.; Ord, J.K. The problem of spatial autocorrelation. In Studies in Regional Science; Scott, A.J., Ed.; Pion: London, UK, 1969; pp. 25–55. [Google Scholar]
- Cliff, A.D.; Ord, J.K. Spatial autocorrelation: A review of existing and new measures with applications. Econ. Geogr. 1970, 46, 269–292. [Google Scholar] [CrossRef] [Scilit]
- Cliff, A.D.; Ord, J.K. Spatial Autocorrelation; Pion: London, UK, 1973. [Google Scholar]
- Cliff, A.D.; Ord, J.K. Spatial Processes: Models and Applications; Pion: London, UK, 1981. [Google Scholar]
- Von Neumann, J. Distribution of the ratio of the mean square successive difference to the variance. Ann. Math. Stat. 1941, 12, 367–395. [Google Scholar] [CrossRef] [Scilit]
- Hodrick, R.J.; Prescott, E.C. Postwar U.S. business cycles: An empirical investigation. J. Money Credit Bank. 1997, 29, 1–16. [Google Scholar] [CrossRef] [Scilit]
- Yamada, H. Trend extraction from economic time series with missing observations by generalized Hodrick–Prescott filters. Econom. Theory 2022, 38, 419–453. [Google Scholar] [CrossRef] [Scilit]
- Bapat, R.B. Graphs and Matrices, 2nd ed.; Springer: London, UK, 2014. [Google Scholar]
- Estrada, E.; Knight, P. A First Course in Network Theory; Oxford University Press: Oxford, UK, 2015. [Google Scholar]
- Gallier, J. Spectral theory of unsigned and signed graphs. Applications to graph clustering: A survey. arXiv 2016, arXiv:1601.04692. [Google Scholar] [CrossRef] [Scilit]
- Yamada, H. Geary’s c and spectral graph theory. Mathematics 2021, 9, 2465. [Google Scholar] [CrossRef] [Scilit]
- Beck, A. Introduction to Nonlinear Optimization Theory, Algorithms, and Applications with MATLAB; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2014. [Google Scholar]
- Yamada, H. Spatial smoothing using graph Laplacian penalized filter. Spat. Stat. 2024, 60, 100799. [Google Scholar] [CrossRef] [Scilit]
- Hoerl, A.E.; Kennard, R.W. Ridge regression: Biased estimation for nonorthogonal problems. Technometrics 1970, 12, 55–67. [Google Scholar] [CrossRef]
- Roberts, D.R.; Bahn, V.; Ciuti, S.; Boyce, M.S.; Elith, J.; Guillera-Arroita, G.; Hauenstein, S.; Lahoz-Monfort, J.J.; Schröder, B.; Thuiller, W.; et al. Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography 2017, 40, 913–929. [Google Scholar] [CrossRef] [Scilit]
- MacQueen, J. Some methods for classification and analysis of multivariate observations. In Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, Volume 1: Statistics; University of California Press: Berkeley, CA, USA, 1967; pp. 281–297. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.



