Abstract: Diffuse interface methods have recently been introduced for the task of semi-supervised learning. The underlying model is well-known in materials science but was extended to graphs using a Ginzburg–Landau functional and the graph Laplacian. We here generalize the previously proposed model by a non-smooth potential function. Additionally, we show that the diffuse interface method can be used for the segmentation of data coming from hypergraphs. For this we show that the graph Laplacian in almost all cases is derived from hypergraph information. Additionally, we show that the formerly introduced hypergraph Laplacian coming from a relaxed optimization problem is well suited to be used within the diffuse interface method. We present computational experiments for graph and hypergraph Laplacians.
Introduction
Diffuse interface models, such as the Ginzburg-Landau functional and the Allen-Cahn equation, have long been used in materials science to describe phase separation in fluids. Recently, these tools have been adapted for machine learning, specifically for semi-supervised learning (SSL) on graphs. By treating different data classes as distinct "phases," these methods propagate labels from a small set of known points across a graph representing data similarities.
This paper extends the state-of-the-art in two significant ways: by introducing non-smooth potentials to improve classification sharpness and by generalizing the framework to hypergraphs to better capture complex, multi-way relationships.
Methodology
Non-Smooth (Obstacle) Potentials
Standard graph-based diffuse interface models typically employ a smooth "double-well" potential to drive data points toward binary labels (e.g., -1 or 1). However, smooth potentials can lead to "blurry" boundaries where node values drift far beyond the target labels.
The authors propose replacing these with an obstacle potential, which strictly confines values to the interval $[-1, 1]$. This shift transforms the problem into a variational inequality. To solve the resulting non-linear system efficiently, the researchers utilize a Moreau-Yosida regularization combined with a semi-smooth Newton method. This approach ensures that the final segmentation is much crisper, often achieving a higher Figure of Certainty (FOC).
Hypergraph Laplacians
While standard graphs represent pairwise relationships, many real-world datasets are inherently hypergraphs (e.g., groups of students sharing a class). Converting these to simple graphs often loses critical information. The authors demonstrate that the diffuse interface method can be directly applied to hypergraphs using a hypergraph Laplacian derived from a relaxed optimization problem. This allows the model to maintain the integrity of multi-node relationships during the learning process.
Experimental Results
Synthetic Image Segmentation
The effectiveness of the non-smooth potential is most visible in image segmentation tasks. Using a 65x65 "concentric square" synthetic image with only 0.09% of pixels labeled, the authors compared the smooth and non-smooth models.
As shown in the figure above, the smooth model (panels c and d) failed to fully segment the image within 500 steps, leaving blurry artifacts. In contrast, the non-smooth model (panels e and f) achieved a perfect segmentation with an FOC of 1.0, demonstrating its robustness and precision.
Real-World Benchmarks
The framework was also tested on several UCI datasets:
- Mushroom Dataset: Both models performed well, but the non-smooth version showed superior accuracy with very small training sets.
- Student Performance: By utilizing the hypergraph structure directly, the authors achieved better results than standard graph-based methods, proving that hypergraphs are a more natural fit for attribute-rich data.
- Zoo Dataset: In multiclass (7-class) segmentation, the non-smooth potential handled the interfaces between multiple classes more effectively as the number of eigenvectors increased.
Conclusion
By generalizing diffuse interface methods to include non-smooth potentials and hypergraph structures, this research provides a more robust and accurate toolkit for semi-supervised learning. The non-smooth model acts as a "hard wall," preventing label drift and ensuring sharper boundaries, while the hypergraph extension allows the model to respect the complex multi-way dependencies found in modern high-dimensional data.
Summary updated