Manuscript Offprint
arXiv:2610.02084Kolmogorov-Arnold Networks for Free-Boundary Partial Differential Equations
Abstract
We study free-boundary problems within a physics-informed framework using Kolmogorov-Arnold network approximations. The proposed approach incorporates obstacle constraints, partial differential equation (PDE) inequalities, complementarity conditions, and boundary conditions through residual-based loss functions. We consider a linear elliptic obstacle problem, a nonlinear p-Laplacian obstacle problem, and a time-dependent one-phase Stefan problem. The proposed Kolmogorov-Arnold network (KAN) solver is compared with physics-informed neural network (PINN) and residual-network baselines. Numerical experiments show that KANs achieve low relative and errors while accurately resolving contact regions and moving interfaces. The results indicate that KAN representations provide an effective alternative for solving free-boundary PDEs.
Keywords: Kolmogorov–Arnold networks; physics-informed neural networks; free-boundary problems; obstacle problems; p-Laplacian; Stefan problem.
1 Introduction
Free-boundary PDEs arise when the unknown solution is coupled with a geometric feature such as a contact region, phase interface, or moving boundary [18–20]. These problems are more difficult to approximate than classical boundary-value problems because a numerical method must determine both the solution and the location of the free boundary [18]. Motivated by recent advances in PINN methods and neural representations [17, 21, 23], we investigate KAN models for free-boundary PDEs. We propose a residual-based KAN framework that incorporates the governing PDE, inequality constraints, complementarity conditions, and initial or boundary conditions into the training objective. We evaluate the framework on elliptic obstacle problems and a time-dependent Stefan problem.
This work was conducted while the author was a Ph.D. candidate in the Department of Applied Mathematics, University of Waterloo, Canada. Email: pdle@uwaterloo.ca. Corresponding author.
1.2 Related Work
Classical methods for free-boundary value problems (BVPs) include finite-difference and finite-element discretizations, as well as penalty and regularization techniques [5, 11, 22]. These methods are well established but may require mesh refinement and explicit interface localization [5].
PINNs commonly use multi-layer perceptrons (MLPs) as solution representations [17, 21]. For free-boundary problems, the loss must also encode inequality constraints, complementarity conditions, and the geometry of the contact or moving-interface region [23].
The KAN architecture was recently introduced as an alternative to standard MLPs [14]. A KAN replaces fixed node-wise activation functions with learnable univariate functions on network edges, typically parameterized by splines. This structure provides local flexibility that may be useful for accurate interface resolution. In contrast, MLPs use fixed nonlinear activation functions at the nodes and train linear weights between layers. In this work, we combine residual-based physics-informed learning with KAN representations for free-boundary PDEs.
1.3 Contributions
The main contributions of this work are as follows:
• We develop a KAN-based physics-informed framework for free-boundary PDEs.
• We construct residual-based losses that enforce the governing PDE, boundary conditions, obstacle constraints, complementarity conditions, and moving-interface conditions.
• We evaluate the framework on the EOP, p-Laplacian obstacle problem (PLOP), and SP, and compare its accuracy and parameter efficiency with PINN and residual neural network (ResNet) baselines.
The remainder of the paper is organized as follows. Section 2 introduces the KAN representation and formulates the free-boundary PDEs, namely obstacle-type BVPs and the time-dependent SP. Section 3 details the proposed KAN-based physics-informed approach, emphasizing the residual-based loss and the training procedure. Section 4 reports numerical results for the EOP, PLOP, and SP, including comparisons with PINN and ResNet baselines. Finally, Section 5 summarizes the work and discusses potential directions for future research. The Appendices A-C contain additional implementation details, hyperparameter settings, and supplementary numerical comparisons.
2 Problem Statement
2.1 Kolmogorov-Arnold Network Architecture
The Kolmogorov–Arnold representation theorem states that any multivariate continuous function on a bounded domain can be expressed as a finite composition of univariate continuous functions and summation operations [1, 13, 14].
Theorem 2.1 (Kolmogorov-Arnold Representation Theorem, see [1, 13]). Let be a continuous multivariate function. There exist continuous univariate functions and continuous univariate functions such that:
Motivated by Theorem 2.1, KANs generalize the two-level Kolmogorov-Arnold decomposition to trainable networks with arbitrary depth and width to approximate multivariate functions by composing learnable one-dimensional functions placed on network edges. Specifically, we let the KAN architecture be specified by
where is the input dimension, is the output dimension, and denotes the number of layers. For stationary problems, the input is , where denotes the interior of the computational domain and denotes its boundary, so . For time-dependent problems, the input is , so . We denote by the scalar value of node in layer . In the input layer, we set
for stationary problems and
for time-dependent problems. In a KAN, the connection from node i in layer l to node j in layer is a learnable univariate function. The next-layer node value is obtained by summing all edge functions:
Thus, each KAN layer can be written as
where collects all learnable univariate edge functions between layers and . Each edge function is parameterized by a B-spline expansion,
where denotes the -th univariate B-spline basis function, is a trainable coefficient, is the number of spline grid intervals, and is the spline order. Therefore, the unknown solution is approximated by a KAN denoted by . Figure 1 illustrates the KAN computational graph, in which every edge carries a learnable univariate function, and each node aggregates the incoming post-activations through summation. The right-hand panel shows the spline parameterization of an edge function and illustrates how grid refinement increases local resolution. For a stationary free-BVP on , we write
For a time-dependent free-BVP, the input is augmented by time:
where denotes all trainable spline coefficients of the KAN.

Figure 1: Kolmogorov-Arnold network architecture and spline-based grid refinement. Left: the KAN represents the solution using trainable univariate edge functions , where denotes the scalar value of node in layer , and denotes the corresponding post-activation. Each node value is obtained by summing incoming post-activations. Right: each edge function is parameterized by a univariate B-spline expansion in the scalar variable . Refining the spline grid from to increases the local approximation resolution.
2.2 Elliptic Obstacle Problem
We first consider the EOP, which is a stationary free-BVP, as in [6, 19, 22]. Let be a bounded domain with boundary . Given an obstacle function , a source term , and boundary data , the problem is to find such that
The contact set is defined by
The free boundary separates the contact and non-contact regions. In the non-contact region , we have , so the complementarity condition implies . In the contact set , the solution satisfies . We next consider the PLOP, which preserves this complementarity structure but replaces the linear Laplacian with a nonlinear diffusion operator [15]. For , the -Laplacian operator is defined by
This nonlinear formulation involves a diffusion term that depends on the gradient magnitude .
2.3 Stefan Problem: Time-Dependent Free Boundary
We next consider the one-phase SP, a time-dependent free-BVP. The temperature field is coupled with a moving interface. For , we represent the interface by the free-surface function , and the moving domain is
The temperature field satisfies the heat equation in the moving domain for any and ,
On the moving interface , the phase-transition condition is
and the Stefan condition couples the normal velocity of the interface with the heat flux. For the graph , the outward unit normal and normal velocity are
The one-phase Stefan condition is therefore equivalent to
The problem is completed by appropriate initial and boundary conditions. In the proposed method, one KAN approximates the temperature field and a second KAN approximates the moving interface.
3 Methodology
We use a residual-based physics-informed framework to train the proposed KAN solver. We represent the unknown solution by and optimize the trainable parameters using the Adam optimizer [12]. The loss enforces the governing PDE, initial or boundary conditions, obstacle constraints, complementarity conditions, and, when applicable, free-boundary interface conditions. All spatial and temporal derivatives in the residual terms are computed using automatic differentiation [3, 16].
3.1 Residual-Based Loss Formulation
We let denote the KAN approximation as in Eq. (4). Instead of enforcing Dirichlet boundary conditions through a penalty term, we impose them directly by constructing a solution that satisfies the boundary condition exactly. For a stationary free-BVP with boundary function g on as in Eq. (6), we write
where is the KAN output and is a boundary mask satisfying
Therefore, holds exactly on .
For the EOP, we define the PDE residual
The inequality constraint is enforced through the residual violation
(16) where are interior collocation points, and is the Lebesgue measure of the domain . The obstacle constraint is imposed by
The complementarity condition is enforced by
The total loss for the EOP is
where are weighting parameters that balance the contributions of the PDE inequality loss, obstacle-constraint loss, and complementarity loss, respectively. The trainable parameters for the EOP are obtained by solving
For the nonlinear PLOP, we replace the Laplacian residual with the p-Laplacian residual
The corresponding total loss is
where and are obtained from (16) and (18) by replacing with .
For the time-dependent SP, we use one KAN, , for the temperature field and a second KAN, , for the moving interface . The predicted moving domain is
To impose the boundary condition, we use a hard-constrained representation of the form
where is chosen to satisfy the prescribed fixed spatial boundary data and vanishes on those fixed boundary segments. The initial conditions are enforced separately through . The heat-equation residual is then
The interior residual loss is
The initial temperature field is enforced by
Since the moving interface is also learned, we impose the initial free-boundary location by
The initial-condition loss is
The interface temperature condition is enforced on the learned moving boundary by
Let
denote a collocation point on the learned moving interface. Using the graph form in Eq. (12), define
The Stefan-condition loss is
The total loss for the SP is
where are the weighting parameters for the heat-equation residual, initial conditions, interface temperature condition, and Stefan free-boundary condition, respectively. The trainable parameters are obtained by solving
3.2 Algorithmic Frameworks
We summarize the training procedure in two algorithms. Algorithm 1 covers both stationary obstacle-type problems by selecting either or . Algorithm 2 treats the coupled temperature/interface optimization for the time-dependent SP.
For the time-dependent SP, the current interface determines the moving domain on which the heat-equation residual is evaluated. The temperature and interface networks are therefore updated jointly.
Algorithm 1 KAN-based solver for stationary obstacle-type problems
Input: Domain , obstacle , source term , boundary data , interior collocation points , KAN , boundary mask , loss weights, learning rate , problem type , and .
Initialize the trainable parameters .
Define the hard-boundary trial solution
for do
Evaluate and the derivatives required by the selected differential operator using automatic differentiation.
if
Set and evaluate the losses in Eqs. (16)–(18).
Form using Eq. (19).
else
Set , replace by in the inequality and complementarity losses, and form using Eq. (22).
end if
Update the parameters with Adam:
end for
Output: .
Algorithm 2 KAN-based solver for the time-dependent SP
Input: Initial data , fixed boundary data, candidate space-time points, initial/interface collocation points, KAN models and , loss weights , learning rate , and maxIter.
Initialize and .
Construct so that the prescribed fixed spatial boundary data are satisfied exactly.
for do
Define the current predicted domain
Select/evaluate interior collocation points lying in , together with initial and interface points. Evaluate , , and all required derivatives by automatic differentiation. Compute , , , and using Eqs. (25), (28), (29), and (30).
Form
Jointly update both parameter sets:
end for
Output: and .
4 Numerical Experiments
We evaluate the proposed KAN-based physics-informed solver on the EOP, the nonlinear PLOP, and the time-dependent SP. The two stationary obstacle problems are solved using Algorithm 1, while the SP is solved using Algorithm 2. We evaluate solution accuracy, convergence of the residual losses, and the ability of the models to resolve contact regions and moving free boundaries. We report the relative and errors:
For time-dependent problems, the norms are evaluated over the corresponding space-time domain or at selected time snapshots. We also compare KAN models with PINN and ResNet baselines to evaluate accuracy and parameter efficiency. Appendix B lists the problem settings, exact solutions, sampling points, network architectures, and optimization hyperparameters. Appendix C presents an ablation study of spline grid size and network width.
4.1 Radially Symmetric Obstacle Problem
For the EOP, we consider the computational domain
The obstacle problem is
where the source term is , so the governing equation in the non-contact region is .
We use a radially symmetric dome obstacle centered at . Let
The obstacle function is defined by
The corresponding exact solution is
where denotes the contact radius. The Dirichlet boundary data are prescribed from the exact solution in Eq. (37):
Figure 2 shows the obstacle function and the sampled collocation points.

(a) Obstacle function

(b) Sampled collocation points
Figure 2: Obstacle function and collocation points. Panel (a) shows the radial obstacle function on . Panel (b) shows the sampled collocation points, with interior points in green and boundary points on in red.

(a) Exact solution

(b) approximation

(c) Error distribution

(d) Loss components vs. epochs
(e) Relative error vs. epochs
Figure 3: KAN approximation for the two-dimensional elastic obstacle problem. Comparison between the exact solution and the proposed KAN approximation on . Panels (a) and (b) show the exact solution and the learned approximation , respectively. Panel (c) shows the absolute pointwise error , together with the circular free-boundary interface of radius . Panel (d) reports the evolution of the total loss and its obstacle, PDE, and complementarity components during training. Panel (e) shows the relative and errors over the training epochs. The final relative and errors are and , respectively.
Obstacle Problem: Model Capacity

PINN
#Width = 16, Rel. err.=3.8e-01 ± 2.1e-01
#Width = 32, Rel. err.=2.9e-01 ± 8.3e-02
#Width = 48, Rel. err.=3.1e-01 ± 9.8e-02
ResNet
#Width = 16, Rel. err.=2.0e-01 ± 1.0e-01
#Width = 32, Rel. err.=8.9e-02 ± 1.0e-01
#Width = 48, Rel. err.=1.6e-01 ± 1.8e-01
KAN
#Width = 10, Rel. err.=1.3e-04 ± 7.5e-04
#Width = 15, Rel. err.=1.3e-04 ± 7.5e-04
#Width = 20, Rel. err.=1.9e-04 ± 9.5e-04
Figure 4: Model-capacity comparison for the EOP. Relative errors are plotted against the total number of trainable parameters for PINN, ResNet, and KAN models. Across the different architectures, KAN achieves lower errors with fewer parameters, demonstrating improved parameter efficiency for the obstacle problem.
Figure 3 shows close agreement between the KAN approximation and the exact solution. The model accurately resolves the circular contact region, and the pointwise error remains small across the computational domain. The final relative and errors are and , respectively. Figure 4 further shows that the KAN models achieve lower relative errors with fewer trainable parameters than the PINN and ResNet baselines. The ablation study in Figure 9(a) shows that the error depends jointly on spline grid size and network width. Increasing either quantity does not guarantee lower error.
4.2 p-Laplacian Obstacle Problem
For the nonlinear PLOP, we consider the computational domain
and set p = 4. The PLOP is
Here, the nonlinear differential operator is the p-Laplacian,
We use the following piecewise obstacle function:
The exact solution used for evaluation is
The Dirichlet boundary data are prescribed from the exact solution:
Figure 5 presents the obstacle function, exact solution, KAN approximation, pointwise errors, and training history.
Figure 5 shows that the KAN approximation closely agrees with the exact nonlinear p-Laplacian obstacle solution. The remaining error is concentrated mainly near the free boundary, where the solution transitions between the contact and non-contact regions. The final relative and errors are and , respectively.
The ablation study in Figure 9(b) shows a clear interaction between spline grid size and network width. For the width-8 model, the relative error is approximately at , at , at , and at . For the width-48 model, the corresponding errors are approximately , , , and . The smallest error in this ablation is obtained with the width-8 model at . These results show that increasing spline resolution or network width does not necessarily improve accuracy.
Having considered the stationary obstacle problems, we next study the time-dependent SP in Subsection 4.3. In this case, the temperature field and free boundary evolve simultaneously in time.
Obstacle

(a) Obstacle function
Exact solution

(b) Exact solution
KAN approximation

(c) KAN approximation
Absolute error

(d)
Absolute error

(e)
Absolute error

(f)

(g) Loss components vs. epochs

(h) Relative error vs. epochs
Figure 5: Comparison of PINN, ResNet, and KAN approximations for the two-dimensional p-Laplacian obstacle problem. Panels (a)–(c) show the obstacle function, exact solution, and KAN approximation. Panels (d)–(f) compare the absolute pointwise errors of the PINN, ResNet, and KAN models. The largest KAN errors are concentrated near the free boundary. Panels (g) and (h) show the training loss components and relative errors over the training epochs. The final relative and errors of the KAN approximation are and , respectively.
4.3 Time-dependent Stefan Problem
For the time-dependent experiment, we consider a two-dimensional one-phase SP based on [2, 4, 23]. The unknown temperature field is denoted by , and the moving free boundary is represented by
We consider
The moving spatial domain is
The one-phase SP is to find and such that
The first equation is the heat equation in the moving domain. The second and third equations impose the interface temperature and Stefan conditions, respectively. The final two equations prescribe the initial temperature field and initial interface location.
For this problem, the exact moving free boundary is prescribed by
and the exact temperature solution is
Therefore, the initial conditions are
Following Algorithm 2, one KAN approximates the temperature field , and a second KAN approximates the moving interface . The temperature network takes as input, whereas the interface network takes as input. The fixed-boundary data on , , and are imposed through the construction of the temperature model. The initial conditions for both and are enforced through . The remaining loss terms enforce the heat equation, interface temperature condition, and Stefan free-boundary condition:
Here, enforces the heat equation, penalizes the initial conditions, enforce the interface temperature condition, and enforce the Stefan free-boundary condition.

Figure 6: KAN approximation for the two-dimensional one-phase Stefan problem at multiple time snapshots. The four rows correspond to , and 0.8. The columns show the exact solution , the KAN approximation , and the absolute pointwise error . The KAN model accurately approximates the temperature field on the moving domain, with the largest errors concentrated near the evolving interface.

(a) Exact moving free boundary

(b) Predicted moving free boundary

(c) Logarithmic absolute error

(d) Loss components vs. epochs

(e) Relative error vs. epochs
Figure 7: Moving free-boundary approximation and training history for the two-dimensional one-phase Stefan problem. Panels (a) and (b) show the exact and predicted moving interfaces, respectively. Panel (c) shows the logarithmic absolute interface error, . Panels (d) and (e) show the training loss components and relative solution errors over the training epochs. The final relative error of the temperature field is .
Stefan Problem: Approximation Error vs. Model Capacity

Wang-Perdikaris (2021)
Width = 32, Rel. err.=3.7e-02 ± 1.6e-01
Width = 64, Rel. err.=3.2e-02 ± 1.4e-01
Width = 100, Rel. err.=3.1e-02 ± 1.4e-01
KAN
Width = 16, Rel. err.=3.6e-03 ± 4.7e-03
Width = 32, Rel. err.=3.7e-03 ± 3.2e-03
Width = 48, Rel. err.=5.8e-03 ± 3.3e-03
Figure 8: Model-capacity comparison for the two-dimensional Stefan problem. Relative error of the temperature field u versus the total number of trainable parameters for the baseline method in [23] and the proposed KAN models. The KAN models achieve lower errors with fewer trainable parameters, indicating improved parameter efficiency for this experiment.
Figures 6–8 summarize the Stefan results. Figure 6 shows close agreement between and at , and 0.8. The pointwise errors are concentrated mainly near the moving interface. The maximum displayed error is of order at the earlier snapshots and reaches approximately an order of at .
Figure 7 shows that the predicted interface closely follows over the space-time domain. Panel (c) shows logarithmic interface errors mainly between -5 and -2, corresponding to absolute errors of approximately to . The heat-equation, initial-condition, interface, and Stefan-condition losses all decrease during training. The final relative error of the temperature field is .
Figure 8 compares model capacity. For the baseline method in [23], widths 32, 64, and 100 give mean relative errors of , , and , respectively. The corresponding standard deviations are , , and . The KAN models with widths 16, 32, and 48 give mean relative errors of , , and , with standard deviations , , and , respectively. Thus, the tested KAN models reduce the mean error by about one order of magnitude relative to the baseline.
The spline-grid ablation in Figure 9(c) shows the same non-monotonic behavior. At , the relative errors for widths 8, 16, 32, and 48 are approximately , , , and , respectively. At , the corresponding errors increase to approximately , , , and . The width-32 model at gives the smallest error among the configurations shown. These results show that network width and spline grid size should be selected jointly.
5 Conclusion
We developed a KAN-based physics-informed framework for free-boundary PDEs. The method represents the unknown solution using learnable univariate edge functions and enforces the governing equations and free-boundary constraints through residual-based losses. We evaluated the framework on the EOP, nonlinear PLOP, and time-dependent one-phase SP. The numerical results show that the proposed KAN models accurately approximate the solutions and resolve both stationary contact regions and moving interfaces. In the tested examples, the KAN models achieve lower relative errors and improved parameter efficiency compared with the PINN and ResNet baselines. The ablation studies also show that increasing the spline grid size or network width does not necessarily improve accuracy. Future work will consider adaptive spline refinement, more complex geometries, higher-dimensional free-boundary problems, and theoretical error analysis.
Data and code availability. No external datasets were used in this study. All data analyzed in the numerical experiments were generated from the computational procedures described in this paper. The source code and scripts used for data generation, model training, and analysis are publicly available in the GitHub repository at https://github.com/phuongdongle/KAN_obstacle.
Research funding. This research received no specific grant from any funding agency in the public, commercial, or not-for-profit sectors.
Conflict of interest. The author declares no conflict of interest.
References
[1] Vladimir Igorevich Arnol'd. On functions of three variables. In Doklady Akademii Nauk, volume 114, pages 679–681. Russian Academy of Sciences, 1957.
[2] Eberhard Bänsch, Jordi Paul, and Alfred Schmidt. An ALE finite element method for a coupled Stefan problem and Navier–Stokes equations with free capillary surface. International Journal for Numerical Methods in Fluids, 71(10):1282–1296, 2013.
[3] Atilim Gunes Baydin, Barak A Pearlmutter, Alexey Andreyevich Radul, and Jeffrey Mark Siskind. Automatic differentiation in machine learning: A survey. Journal of Machine Learning Research, 18(153):1–43, 2018.
[4] G. Beckett, John A. Mackenzie, and M. L. Robertson. A moving mesh finite element method for the solution of two-dimensional Stefan problems. Journal of Computational Physics, 168(2):500–518, 2001.
[5] Erik Burman, Peter Hansbo, Mats G Larson, and Rolf Stenberg. Galerkin least squares finite element method for the obstacle problem. Computer Methods in Applied Mechanics and Engineering, 313: 362–374, 2017.
[6] Carsten Carstensen and Jun Hu. An optimal adaptive finite element method for an obstacle problem. Computational Methods in Applied Mathematics, 15(3):259–277, 2015.
[7] Alain Damlamian. Some results on the multi-phase Stefan problem. Communications in Partial Differential Equations, 2(10):1017–1044, 1977.
[8] Avner Friedman and David Kinderlehrer. A one phase Stefan problem. Indiana University Mathematics Journal, 24(11):1005–1035, 1975.
[9] Sushil Chandra Gupta. The classical Stefan problem: Basic concepts, modelling and analysis with quasi-analytical solutions and methods, volume 45. Elsevier, 2017.
[10] Eichi Hanzawa. Classical solutions of the Stefan problem. Tohoku Mathematical Journal, Second Series, 33(3):297–335, 1981.
[11] Claes Johnson. Adaptive finite element methods for the obstacle problem. Mathematical Models and Methods in Applied Sciences, 2(04):483–487, 1992.
[12] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
[13] Andrei Nikolaevich Kolmogorov. On the representation of continuous functions of several variables by superpositions of continuous functions of a smaller number of variables. American Mathematical Society, 1961.
[14] Ziming Liu, Yixuan Wang, Sachin Vaidya, Fabian Ruehle, James Halverson, Marin Soljačić, Thomas Y Hou, and Max Tegmark. KAN: Kolmogorov-Arnold networks. arXiv preprint arXiv:2404.19756, 2024.
[15] Guofei Pang, Lu Lu, and George Em Karniadakis. fPINNs: Fractional physics-informed neural networks. SIAM Journal on Scientific Computing, 41(4):A2603–A2626, 2019.
[16] Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in PyTorch, 2017.
[17] Maziar Raissi, Paris Perdikaris, and George E Karniadakis. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 378:686–707, 2019.
[18] Xavier Ros-Oton. Nonlocal elliptic equations in bounded domains: A survey. Publicacions Matematiques, pages 3–26, 2016.
[19] Xavier Ros-Oton. Obstacle problems and free boundaries: An overview. SeMA Journal, 75(3):399–419, 2018.
[20] Xavier Ros-Oton and Joaquim Serra. The extremal solution for the fractional Laplacian. Calculus of Variations and Partial Differential Equations, 50(3):723–750, 2014.
[21] Justin Sirignano and Konstantinos Spiliopoulos. DGM: A deep learning algorithm for solving partial differential equations. Journal of Computational Physics, 375:1339–1364, 2018.
[22] Giang Tran, Hayden Schaeffer, William M Feldman, and Stanley J Osher. An penalty method for general obstacle problems. SIAM Journal on Applied Mathematics, 75(4):1424–1444, 2015.
[23] Sifan Wang and Paris Perdikaris. Deep learning of free boundary and Stefan problems. Journal of Computational Physics, 428:109914, 2021.
A Acronyms and General Notations
This appendix summarizes the abbreviations and mathematical notation used throughout the paper. Table 1 lists the principal symbols used in the problem formulations, loss functions, and numerical experiments.
List of General Notations
Table 1: Notations in the paper.
| Notation | Description |
| Spatial computational domain | |
| Boundary of the spatial domain | |
| Spatial variable | |
| Time variable | |
| Exact solution | |
| KAN approximation of the solution | |
| Obstacle function | |
| Source term or forcing function | |
| Boundary function | |
| Contact set where | |
| Moving free boundary or interface | |
| Laplace operator | |
| Total loss function | |
| PDE residual loss | |
| Initial-condition loss | |
| Obstacle-constraint loss | |
| Complementarity loss |
B Hyperparameter Settings in the Numerical Experiments
This appendix summarizes the problem settings, network architectures, collocation-point sampling, and optimization hyperparameters used in the numerical experiments. Unless otherwise stated, all models are trained with the Adam optimizer, and all residual derivatives are computed using automatic differentiation.
B.1 Obstacle Problem Experiments
We consider two stationary obstacle benchmarks: the EOP and the nonlinear PLOP. The numerical settings are listed in Table 2.
Table 2: Problem and training settings for the obstacle-type BVPs.
| Quantity | EOP | PLOP |
|---|---|---|
| Domain | ||
| Operator | ||
| Source/forcing | ||
| Order | - | |
| Obstacle | Eq. (36) | Eq. (39) |
| Exact solution | Eq. (37) | Eq. (40) |
| Boundary data | ||
| KAN widths | ||
| Spline grid size | ||
| Epochs | ||
| Learning rate | ||
| Interior points | ||
| Boundary points | ||
| PDE penalty weight | ||
| Obstacle penalty weight | ||
| Complementarity penalty weight | ||
| Scheduler step | ||
| Scheduler factor | ||
| Evaluation grid |
B.2 Stefan Problem Experiments
Table 3: Problem and training settings for the two-dimensional one-phase SP.
| Quantity | Setting |
|---|---|
| Space-time sampling box | |
| Governing equation | |
| Interface temperature condition | |
| Stefan free-boundary condition | Eq. (42) |
| Exact temperature solution | Eq. (44) |
| Exact moving free boundary | Eq. (43) |
| Initial data | Eq. (45) |
| Temperature-network widths | |
| Interface-network widths | |
| Spline grid size | |
| Epochs | |
| Learning rate | |
| Interior space-time points | |
| Initial-condition points | |
| Free-boundary/interface points | |
| Heat-equation weight | |
| Initial-condition weight | |
| Interface-temperature weight | |
| Stefan-condition weight | |
| Scheduler step | |
| Scheduler factor | |
| Evaluation resolution |
C Comparative Study of Trainable Parameters and KAN Spline Basis Size
Elastic Obstacle Problem: Error vs. Grid-Size

(a) Elastic Obstacle Problem
p-Laplacian Obstacle Problem: Error vs. Grid-Size

(b) p-Laplacian Obstacle Problem
Stefan Problem: Error vs. Grid-Size

(c) Stefan Problem
Figure 9: Effect of KAN grid size and model width on obstacle-type and Stefan-type problems. The top row reports the relative error versus KAN grid size for four network architectures. Panel (a) corresponds to the elastic obstacle problem, while panel (b) corresponds to the nonlinear p-Laplacian obstacle problem. The bottom panel (c) reports the corresponding study for the Stefan problem. The results indicate that increasing the spline grid size does not necessarily lead to a monotonic reduction in error; rather, the approximation accuracy depends jointly on the spline grid resolution and network width.