[Paper Review] Hamilton-Jacobi equations on graphs with applications to semi-supervised learning and data depth
This paper introduces the p-eikonal equation, a robust graph-based distance function that generalizes shortest-path distances by solving a Hamilton-Jacobi equation on graphs. For p=1, it provides a provably robust, density-weighted geodesic distance estimator with a continuum limit that converges to the true geodesic distance, outperforming standard shortest-path methods in semi-supervised learning and data depth on MNIST, FashionMNIST, and CIFAR-10 with improved accuracy and consistency under graph perturbations.
Shortest path graph distances are widely used in data science and machine learning, since they can approximate the underlying geodesic distance on the data manifold. However, the shortest path distance is highly sensitive to the addition of corrupted edges in the graph, either through noise or an adversarial perturbation. In this paper we study a family of Hamilton-Jacobi equations on graphs that we call the $p$-eikonal equation. We show that the $p$-eikonal equation with $p=1$ is a provably robust distance-type function on a graph, and the $p o \infty$ limit recovers shortest path distances. While the $p$-eikonal equation does not correspond to a shortest-path graph distance, we nonetheless show that the continuum limit of the $p$-eikonal equation on a random geometric graph recovers a geodesic density weighted distance in the continuum. We consider applications of the $p$-eikonal equation to data depth and semi-supervised learning, and use the continuum limit to prove asymptotic consistency results for both applications. Finally, we show the results of experiments with data depth and semi-supervised learning on real image datasets, including MNIST, FashionMNIST and CIFAR-10, which show that the $p$-eikonal equation offers significantly better results compared to shortest path distances.
Motivation & Objective
- To address the lack of robustness in shortest-path graph distances to edge perturbations in real-world data.
- To develop a graph-based distance function that maintains geodesic approximation in the continuum limit while being resilient to corrupted edges.
- To establish theoretical asymptotic consistency for data depth and semi-supervised learning using the p-eikonal equation.
- To demonstrate empirically that p=1 yields superior performance compared to shortest-path distances in semi-supervised learning and data depth on real image datasets.
- To show that incorporating class priors enables effective use of density reweighting, which otherwise degrades performance.
Proposed method
- Formulates the p-eikonal equation as a Hamilton-Jacobi equation on graphs, defined by a nonlinear PDE involving p-normed differences across edges.
- Uses a modified fast-marching method to efficiently solve the p-eikonal equation in time comparable to shortest-path algorithms.
- Applies viscosity solution theory and the maximum principle to prove discrete-to-continuum convergence of the p-eikonal solution to a density-weighted geodesic distance in the continuum.
- Employs density reweighting via a power-law transformation of edge weights to favor high-density regions, improving robustness and accuracy.
- Incorporates class priors via a weighted minimum in label prediction, enhancing consistency under weaker clusterability assumptions.
- Constructs graphs using learned latent features from autoencoders (VAEs and AutoEncodingTransformations) to improve graph quality on image data.
Experimental results
Research questions
- RQ1Can a graph-based distance function be both robust to edge perturbations and consistent with the true geodesic distance in the continuum limit?
- RQ2Does the p-eikonal equation with p=1 provide better performance than shortest-path distances in semi-supervised learning and data depth on real-world data?
- RQ3How does incorporating class priors affect the utility of density reweighting in graph-based learning methods?
- RQ4What is the impact of varying the exponent p in the p-eikonal equation on classification accuracy and robustness?
- RQ5Can the p-eikonal equation achieve asymptotic consistency in semi-supervised learning under weaker clusterability assumptions when class priors are used?
Key findings
- The p-eikonal equation with p=1 is provably robust to graph perturbations, significantly outperforming shortest-path distances in semi-supervised learning on MNIST, FashionMNIST, and CIFAR-10.
- The continuum limit of the p-eikonal equation converges to a density-weighted geodesic distance function, with quantitative convergence rates established via viscosity solution theory.
- For semi-supervised learning, p-eikonal methods with class priors achieve performance comparable to Poisson learning on MNIST and outperform it on CIFAR-10, even with only 1–5 labels per class.
- Without class priors, density reweighting degrades performance; however, with class priors, it significantly improves accuracy, validating the theoretical benefit of prior incorporation.
- Classification accuracy improves with p=2 over p=1 when class priors are absent, but remains highest when class priors are used, indicating that p=1 with priors is optimal in practice.
- The method achieves asymptotic consistency in semi-supervised learning under a clusterability assumption, with simpler proofs than for graph Laplacian-based methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.