Abstract¶
We present an inversion technique that provides a robust means for recovering complex, arbitrarily shaped subsurface targets in inversions. By representing the level-set function as a weighted sum of Radial Basis Functions, our approach eliminates the need for a priori assumptions regarding target number or geometry, while significantly reducing the inversion parameter space. Synthetic examples using 2D DC resistivity surveys demonstrate that the method effectively reconstructs complex geological features. Moreover, the framework is inherently adaptable to 3D problems and is applicable to a wide range of geophysical techniques, including magnetics, gravity, electromagnetics, etc., thereby offering a flexible alternative to traditional inversion strategies.
Introduction¶
Inversion of geophysical data is a crucial step in mineral exploration for identifying potential deposits. Mineral deposits are rarely simple; they often exhibit curvy, irregular, and non-smooth geometries. Accurately representing these complex shapes is particularly important prior to drilling, but remains a challenge for conventional inversion techniques.
Traditional least squares regularized inversion techniques struggle with shapes that have sharp edges or small physical property contrasts. An alternative is parametric shape-based inversion, where shapes such as rectangular prisms Belliveau & Haber, 2023 or ellipsoids McMillan et al., 2015 are deformed using a set of associated parameters to recover the target. Parametric methods offer the significant advantage of reducing the total parameter space of the inverse problem. These methods, however, have notable drawbacks: (1) they require prior knowledge and initialization of the expected number of targets; (2) they perform poorly if the target deviates from the assumed parameterized shape.
Methods based on parametric basis functions have been shown to be able to address these issues Aghasi et al., 2011Kadu et al., 2017Ozsar et al., 2025. Instead of selecting a predefined parameterized shape, approaches based on Radial Basis Functions (RBFs) offer the benefits of parametric inversion without imposing strict shape constraints.
In this work, we adapt the RBF method originally described by Aghasi et al., 2011. We parameterize the model space with a user-defined number of RBFs, each associated with scalar weights that serve as the inversion parameters. The RBFs form a level-set function that is binarized using a chosen indicator function, which defines the width of the boundary between the shape and background model helping to delineate the target shape. The level-set is updated during the inversion to find a model that fits the data. We validate this method using two models. The first features two distinct targets: a rectangular block and a sphere, while the second contains an anomaly with an arbitrary shape. Both are imaged using a 2D DC Resistivity (DCR) survey. The anomaly is treated as a level-set with fixed conductivity. While we demonstrate the method in 2D DCR, it is not limited to this setting. The approach is both method- and dimension-agnostic and has been successfully applied to 3D problems and other geophysical data types, including potential field and seismic data Kadu et al., 2017.
Level-Set Approach to Inversion¶
In geophysical inverse problems, a common goal is to determine the location, shape, and physical properties of a target of interest in a heterogeneous background. Consider a general inverse problem where the forward model is:
with representing the discretized model, the observed data, and the forward operator that maps the model to the data space. Here, is the noise in the data, usually assumed to be Gaussian.
For level-set methods, we define the shape and location of the target as the level-set of some function where denotes the spatial coordinates in model space and is a scalar (usually taken to be zero). In cases where one or more anomalous bodies in present in a background, the overall model space can then be discretized as
where is the background model and describes the physical properties of the anomalous bodies; in the simplest case, and and are scalars. Here, is multiplied by a level-set function , where is a vector of parameters determined during inversion. The level-set is refined by an indicator function, , which defines the boundary of the level-set domain (and hence the boundary of the target). A general form of the indicator function is a step function:
For parametric level-set methods, the level-set function is represented in terms of a set of parameters . In geometric parameterizations (e.g., ellipses or prisms), might include the location of the shape’s centre, strike and dip extents, rotation angles, etc. Belliveau & Haber, 2023. In contrast, this work eschews geometric parameterization of the level-set function in favour of Radial Basis Functions (RBFs), given that any smooth level-set function can be approximated by a linear combination of a set of sufficiently smooth RBFs Aghasi et al., 2011.
We first define a set of RBFs, , centred on a grid with a spacing () that is sparser than the simulation grid (denoted by ). Here, . Then, we represent the level-set function as a weighted sum of these RBFs:
where is the scaling parameter for the RBF, and is the dilation parameter that determines its width (Figure 1).
There are various choices of RBF, such as Gaussian, thin-plate splines, multiquadratic, compactly-supported RBFs, etc. In shape-reconstruction inverse problems, Gaussian and Wendland functions are commonly used. In this study, we employ the Wendland function as it is shown to improve the sparsity of the system matrices, reduce the computational cost, and recover sharper edgesAghasi et al., 2011. The Wendland function is defined as
where denotes that the term is non-zero only when .

Figure 1:Comparison between Gaussian and Wendland radial basis functions. The compactness of Wendland RBF (green) relative to Gaussian (red) RBF is useful in recreating sharper features in the shape.
In general, one can choose to parameterize the level-set function with . For even greater flexibility, further parameters (such as stretching or skewing of each basis) can be introduced Ozsar et al., 2025. However, in this study, we only treat as the inversion parameters, keeping and fixed. This choice reduces the dimensionality and improves numerical stability, since multiple pairs of can yield the same . A positive value of produces a positive “bump” in the level-set function, with higher values increasing the sharpness—thus aiding in resolving sharp corners or edges of a target.
We fix the dilation parameter as , where is the spacing between RBF centers (typically between 2 and 4 times the simulation mesh spacing). The RBF centers are defined on an equally spaced grid and remain fixed during the inversion.
Another choice is the selection of the Heaviside function. Since an ideal Heaviside function (a step function) is non-differentiable, a smooth sigmoid approximation is preferred. A common choice is a sigmoid function. We use a regularized Heaviside function following Aghasi et al. (2011):

Figure 2:Heaviside function (eq 6) used to binarize the level set function . Higher increases the transition region of the level set, improving numerical stability but reducing resolution
Figure 2 illustrates this Heaviside function. Here, controls the steepness of the transition; choosing an appropriate is crucial, as an overly steep or flat transition can lead to numerical instabilities (e.g., vanishing gradients).
We update at each iteration and define it as a fraction of the dynamic range of the level-set function Kadu et al., 2017:
We include as an additional inversion parameter.
Thus, the inverse problem is formulated as a minimization of a misfit function with respect to the inversion parameters :
where is a weighting factor for the regularization term that can be applied to the parameters .
We then invert the data by solving the minimization problem in equation (8) using a Gauss-Newton optimization method. The necessary derivatives are computed automatically via the autograd functionality in PyTorch Ansel et al., 2024.
Examples¶
We test our inversion approach using a synthetic 2D DC resistivity survey. Two model scenarios are examined: one containing compact targets (a block and a circular target) in a halfspace, and one where we aim to estimate depth to a basement layer. The data are generated for a dipole-dipole configuration with electrodes spaced every 50 m along on a flat topography. All simulations and inversions are performed using the SimPEG package Heagy et al., 2017Cockett et al., 2015.
Example 1: Multiple Compact Targets¶
We consider the model shown in Figure 3a consisting of a 400 m 200 m rectangular block centred at [250, -200], and a circular target with a 150 m radius centred at [-600, -200] in a homogeneous halfspace. This model is chosen to evaluate the method’s ability to resolve multiple targets with different geometries. The simulation mesh uses a 40 40 cell grid with 50 m spacing, resulting in 800 active cells.
First, we show an inverted model that is recovered using a regularized weighted least-squares method, starting from a halfspace model (Figure 3b). The inverted model is able to image the targets in approximately the correct locations but the boundaries of the shapes are smooth and difficult to interpret. For the parametric RBF inversion, we initialize the model (Figure 3c) with 187 RBFs distributed uniformly every 150 m within the active region of the mesh. The parameters are drawn from a normal distribution with a standard deviation of 0.1. To reduce the influence of RBFs located below the survey’s sensitivity (below m), these are assigned a large negative weight () to dampen their impact on the inversion. No explicit regularization is enforced (i.e., in equation (8)) in the parametric RBF inversion, making this step necessary to prevent overfitting. We initialize the parameter in equation 7 as 0.1, corresponding to 10% of the dynamic range of the initial level-set function. The conductivity values for the background and targets, and respectively, are set to match those of the true model. Absent a-priori information, the physical properties can also be included as additional parameters in the inversion.
Our inverted model (Figure 3d) successfully recovers the geometry of both targets. The inversion forms a parametric level-set function whose zero-level set delineates two distinct, compact targets. This result highlights the advantage of our approach: it can recover multiple shapes without prior information, unlike other parametric methods that require the number of targets to be specified at initialization.

Figure 3:(a) True model for a synthetic example with a rectangular block and circular targets in a halfspace imaged using a 2D DCR survey. (b) Inverted model using regularized weighted least-squares approach. (c) Initial model for the parametric RBF approach showing the simulation grid (black) and RBF grid (red). Note the sparsity of the RBF grid. (d) Inverted model using the parametric RBF approach without explicit regularization.
Example 2: Depth to Basement¶
To further evaluate our method, we test it on a model that simulates depth-to-basement variations. The true model (Figure 4a) represents a two-layer Earth with a higher-conductivity lower layer (the basement) whose depth varies sinusoidally. At its shallowest the basement is at m and further along the line the basement deepens up to m. The simulation mesh uses a 40 40 cell grid with 50 m spacing, resulting in 800 active cells.
For the RBF inversion (Figure 4b), the RBFs are arranged similarly to the previous example but are spaced every 200 m, resulting in 128 parameters to be estimated in the inversion. The parameters are again initialized from a normal distribution with a standard deviation of 0.1. Here, RBFs located above m are assigned a large negative weight () to introduce a conductive layer in the initial model at a depth where the survey starts losing sensitivity. This constraint is necessary in the absence of explicit regularization.
The resulting inverted model (Figure 4c) effectively recovers the undulating structure of the basement layer, despite the limited sensitivity of the survey at these depths.

Figure 4:(a) True model for a synthetic example of a two-layer earth with an undulating basement layer. (b) Initial model for the parametric RBF approach showing the simulation grid (black) and RBF grid (red). (c) Inverted model for the depth-to-basement scenario using the parametric RBF approach without explicit regularization.
Conclusion¶
In this work, we have demonstrated that the RBF level-set approach offers a flexible framework for geophysical inversion. Our results highlight the method’s ability to recover arbitrarily shaped features, as illustrated by both the compact targets in a halfspace and the undulating basement in a two-layer model. Importantly, the approach does not require a priori knowledge of the number or geometry of targets, setting it apart from traditional parametric methods.
While our examples focused on 2D DC resistivity surveys, the method is inherently generalizable and can be applied to 3D problems as well as other geophysical techniques, including magnetics, gravity, electromagnetic, and seismic methods.
Our future work will focus on combining this method with hybrid inversion techniques where a weighted least squares inversion can be used to estimate any heterogeneity in the background physical properties Belliveau & Haber, 2023. This information can be incorporated into the model parameterization ( term in equation 2) or as a reference model for regularization. Another focus will be designing appropriate regularization in the RBF parametric model space. Early efforts show that adding regularization is helpful in introducing a priori knowledge, particularly outside the core sensitivity region of the surveys.
The inversion process still requires careful selection of bounds and an appropriate initial model to ensure numerical stability. In our experience, the RBF approach is more robust to the initial model as compared to geometric parameterization approaches. Additionally, resolving multiple bodies with different physical properties remains challenging without specialized modifications. Our ongoing research focuses on addressing this limitation by incorporating anisotropic RBFs with stretching and skewing Ozsar et al., 2025 and associating a physical property parameter with each RBF to recover multi-contrast targets within a single level-set function.
- Belliveau, P., & Haber, E. (2023). Parametric level-set inverse problems with stochastic background estimation. Inverse Problems, 39(7). 10.1088/1361-6420/acd413
- McMillan, M. S., Schwarzbach, C., Haber, E., & Oldenburg, D. W. (2015). 3D parametric hybrid inversion of time-domain airborne electromagnetic data. GEOPHYSICS, 80(6), K25–K36. 10.1190/geo2015-0141.1
- Aghasi, A., Kilmer, M., & Miller, E. L. (2011). Parametric Level Set Methods for Inverse Problems. SIAM Journal on Imaging Sciences, 4(2), 618–650. 10.1137/100800208
- Kadu, A., van Leeuwen, T., & Mulder, W. A. (2017). Salt Reconstruction in Full Waveform Inversion with a Parametric Level-Set Method. IEEE Transactions on Computational Imaging, 3(2), 305–315. 10.1109/TCI.2016.2640761
- Ozsar, E., Kilmer, M., De Sturler, E., Saibaba, A. K., & Miller, E. (2025). Parametric level-sets enhanced to improve reconstruction (PaLEnTIR). Inverse Problems, 41(2), 025004. 10.1088/1361-6420/ada798
- Ansel, J., Yang, E., He, H., Gimelshein, N., Jain, A., Voznesensky, M., Bao, B., Bell, P., Berard, D., Burovski, E., Chauhan, G., Chourdia, A., Constable, W., Desmaison, A., DeVito, Z., Ellison, E., Feng, W., Gong, J., Gschwind, M., … Chintala, S. (2024). PyTorch 2: Faster Machine Learning Through Dynamic Python Bytecode Transformation and Graph Compilation. Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2, 929–947. 10.1145/3620665.3640366
- Heagy, L. J., Cockett, R., Kang, S., Rosenkjaer, G. K., & Oldenburg, D. W. (2017). A framework for simulation and inversion in electromagnetics. Computers & Geosciences, 107, 1–19. 10.1016/j.cageo.2017.06.018
- Cockett, R., Kang, S., Heagy, L. J., Pidlisecky, A., & Oldenburg, D. W. (2015). SimPEG: An open source framework for simulation and gradient based parameter estimation in geophysical applications. Computers & Geosciences, 85, 142–154. 10.1016/j.cageo.2015.09.015