Geometry-Aware R-Structured Kolmogorov-Arnold Networks
Summary
Proposes Geometry-aware R-Structured KAN (GRS-KAN), a hybrid neural architecture that integrates R-functions into KAN to encode geometric and logical constraints, achieving up to 67% RMSE reduction on regression benchmarks with discontinuities.
View Cached Full Text
Cached at: 07/03/26, 05:40 AM
# Geometry-Aware R-Structured Kolmogorov–Arnold Networks
Source: [https://arxiv.org/html/2607.01449](https://arxiv.org/html/2607.01449)
###### Abstract
We propose a novel hybrid neural architecture, the Geometry\-aware R\-Structured Kolmogorov\-Arnold Network \(GRS\-KAN\), which integrates V\. L\. Rvachev’s R\-functions into the Kolmogorov\-Arnold Network \(KAN\) framework\. The proposed approach combines two complementary modeling mechanisms: smooth nonlinear structure is learned by KAN branches, while known geometric or logical constraints are encoded analytically using differentiable R\-functions\. This enables explicit representation of discontinuities, feasible regions, and implicit geometric boundaries within a trainable neural architecture\.
The framework implements differentiable logical operations through R\-conjunctions and R\-disjunctions, allowing complex geometric supports to be represented analytically and incorporated directly into regression models\. Several GRS\-KAN variants are introduced, including additive, multiplicative, and agnostic branch\-weighted architectures\.
The method is demonstrated on regression problems involving discontinuities with circular and rectangular supports\. Numerical experiments show that explicit geometric encoding substantially improves predictive accuracy and boundary localization compared with standard KANs\. In the considered benchmarks, geometry\-aware GRS\-KAN models reduce test RMSE by up to 67% while simultaneously improving interpretability through explicit analytical representation of the learned geometric structure\. The agnostic variant further demonstrates the ability to automatically determine whether geometric priors are beneficial for a given learning task\.
## 1Introduction
Neural networks have achieved remarkable success across numerous domains, yet their “black box” nature remains a significant limitation for applications requiring interpretability and formal verification, particularly in safety\-critical fields such as pharmaceutical manufacturing, process control, and scientific computing\. Two recent developments address this challenge from complementary perspectives: Kolmogorov–Arnold Networks \(KANs\) and R\-functions\.
KANs, introduced by Liu et al\.\[[3](https://arxiv.org/html/2607.01449#bib.bib1)\], replace traditional weight matrices with learnable univariate functions, offering improved interpretability and accuracy for scientific computing tasks\. The architecture is grounded in the Kolmogorov–Arnold representation theorem, which states that any continuous multivariate function can be decomposed into sums of compositions of univariate functions\.
The introduction of KANs triggered an exceptionally rapid expansion of research activity\. Within approximately one year of publication, the original KAN paper accumulated several thousand citations and generated a rapidly growing ecosystem of derivative architectures and applications\. Numerous variants have already appeared, including FastKAN, ConvKAN, GraphKAN, TemporalKAN, PDE\-KAN, Physics\-Informed KANs, Symbolic\-KANs, FourierKAN, WaveletKAN, ChebyshevKAN, Transformer–KAN hybrids, operator\-learning KANs, and multiple domain\-specific implementations in medical imaging, remote sensing, and segmentation tasks\. This rapid diversification reflects the broader interest in replacing conventional node\-based neural nonlinearities with learnable edge\-based functional representations\.
Most existing KAN extensions focus primarily on modifications of approximation mechanisms, including alternative basis functions, spline parameterizations, convolutional operators, symbolic primitives, attention mechanisms, or physics\-informed loss constructions\. However, comparatively little attention has been devoted to incorporating explicit geometry, Boolean structure, analytical feasible regions, discontinuity\-aware compositions, or implicit surface representations directly into the KAN framework\.
Separately, R\-functions, developed by V\.L\. Rvachev\[[6](https://arxiv.org/html/2607.01449#bib.bib3)\]and extended by Shapiro\[[7](https://arxiv.org/html/2607.01449#bib.bib5),[8](https://arxiv.org/html/2607.01449#bib.bib6)\], provide a rigorous bridge between logical operations and real analysis\. R\-functions allow complex geometric shapes and Boolean conditions to be represented analytically by single differentiable equations\. This makes them particularly attractive for embedding geometric constraints and logical structure into differentiable machine learning architectures\.
This paper introduces the Geometry\-aware R\-Structured Kolmogorov–Arnold Network \(GRS\-KAN\), a hybrid architecture that embeds R\-functions directly into the KAN framework\. Conceptually, the proposed framework separates two fundamentally different modeling roles:
- •KAN branches learn smooth nonlinear functional structure from data,
- •R\-functions encode known geometric or logical structure analytically\.
This leads to a substantially different direction from existing KAN variants\. Rather than introducing another spline modification or approximation basis, the proposed framework incorporates explicit analytical geometry directly into the network architecture itself\. The resulting model enables interpretable representation of discontinuities, geometric supports, feasible regions, and implicit boundaries while preserving differentiability required for gradient\-based optimization\.
The key contributions of this work are:
1. 1\.A theoretical framework for integrating analytical R\-function representations of geometric and logical constraints into KANs within differentiable neural architectures
2. 2\.Explicit analytical constructions of geometric indicators using R\-conjunctions and R\-compositions, together with closed\-form gradient expressions suitable for backpropagation\.
3. 3\.Three architectural variants: targeted additive, targeted multiplicative, and agnostic branch\-weighted GRS\-KANs\.
4. 4\.Comprehensive numerical experiments demonstrating improved accuracy, geometric localization, and interpretability on problems with known discontinuous structure\.
5. 5\.Empirical evidence that learnable branch weights can automatically determine whether explicit geometric priors are beneficial for the regression task\.
Although the numerical examples in this paper employ simple rectangles and circles, the proposed framework is applicable to arbitrary implicit regions represented analytically by R\-functions, including non\-convex domains, disconnected regions, and Boolean combinations of multiple constraints\.
The remainder of this paper is organized as follows\. Section 2 reviews the theoretical background of Kolmogorov–Arnold Networks and R\-functions, including the analytical construction of geometric primitives used throughout the paper\. Section 3 introduces the proposed GRS\-KAN architectures, including additive, multiplicative, and agnostic branch\-weighted variants\. Section 4 presents numerical experiments on smooth and discontinuous benchmark problems, together with pruning diagnostics, geometric localization studies, and comparisons against standard KAN models\. Section 5 discusses the implications of explicit geometry\-aware learning and the role of learnable branch selection\. Finally, Section 6 summarizes the main conclusions and outlines directions for future research, including extensions to multi\-region constraints, adaptive geometric gates, and scientific machine learning applications\.
## 2Background and Theory
### 2\.1Kolmogorov–Arnold Networks \(KANs\)
Kolmogorov–Arnold Networks \(KANs\), introduced by Liu et al\.\[[4](https://arxiv.org/html/2607.01449#bib.bib2)\], are a class of neural networks motivated by the Kolmogorov–Arnold representation theorem\. Unlike conventional Multi\-Layer Perceptrons \(MLPs\), where nonlinear activation functions are attached to nodes and the edges contain scalar weights, KANs place learnable nonlinear functions directly on the edges of the network\. This architectural change leads to improved interpretability, sparse compositional structure discovery, and strong approximation performance for scientific machine learning problems\.
The theoretical foundation of KANs is the Kolmogorov–Arnold representation theorem, which states that any continuous multivariate functionf:\[0,1\]n→ℝf:\[0,1\]^\{n\}\\rightarrow\\mathbb\{R\}can be represented as a finite superposition of continuous univariate functions:
f\(𝐱\)=∑q=02nΦq\(∑p=1nψq,p\(xp\)\),f\(\\mathbf\{x\}\)=\\sum\_\{q=0\}^\{2n\}\\Phi\_\{q\}\\left\(\\sum\_\{p=1\}^\{n\}\\psi\_\{q,p\}\(x\_\{p\}\)\\right\),\(1\)whereψq,p:\[0,1\]→ℝ\\psi\_\{q,p\}:\[0,1\]\\rightarrow\\mathbb\{R\}andΦq:ℝ→ℝ\\Phi\_\{q\}:\\mathbb\{R\}\\rightarrow\\mathbb\{R\}are continuous univariate functions\. The theorem demonstrates that high\-dimensional nonlinear mappings can, in principle, be decomposed into sums and compositions of one\-dimensional functions\.
KANs implement this idea directly by replacing fixed linear weights with learnable univariate edge functions\. A KAN layer maps an input vectorxl∈ℝnlx\_\{l\}\\in\\mathbb\{R\}^\{n\_\{l\}\}to an output vectorxl\+1∈ℝnl\+1x\_\{l\+1\}\\in\\mathbb\{R\}^\{n\_\{l\+1\}\}through
xl\+1,j=∑i=1nlϕl,j,i\(xl,i\),x\_\{l\+1,j\}=\\sum\_\{i=1\}^\{n\_\{l\}\}\\phi\_\{l,j,i\}\(x\_\{l,i\}\),\(2\)whereϕl,j,i\\phi\_\{l,j,i\}is a trainable univariate function associated with the edge connecting neuroniiin layerllto neuronjjin layerl\+1l\+1\. Thus, the network performs nonlinear functional transformations directly on the connections rather than on the nodes\.
Equation \([2](https://arxiv.org/html/2607.01449#S2.E2)\), adopted from the original KAN formulation of Liu*et al\.*\[[4](https://arxiv.org/html/2607.01449#bib.bib2)\], constitutes the fundamental computational building block of a KAN\. Throughout this paper, this smooth KAN mapping serves as the baseline function approximator\. The key idea of the proposed Geometry\-aware R\-Structured KAN \(GRS\-KAN\) is not to modify the internal KAN layer itself, but rather to augment the smooth KAN approximation with explicit analytical geometric components constructed from R\-functions\. Consequently, the KAN branch learns smooth nonlinear behaviour, while the R\-function branch represents known geometric constraints, discontinuities, feasible regions, and implicit boundaries\.
Following Liu et al\.\[[4](https://arxiv.org/html/2607.01449#bib.bib2)\], each edge activation is represented using a residual formulation consisting of a smooth base activation plus a spline correction:
ϕ\(x\)=wbb\(x\)\+wsspline\(x\),b\(x\)=silu\(x\)=x1\+exp\(−x\),\\phi\(x\)=w\_\{b\}\\,b\(x\)\+w\_\{s\}\\,\\operatorname\{spline\}\(x\),\\qquad b\(x\)=\\operatorname\{silu\}\(x\)=\\frac\{x\}\{1\+\\exp\(\-x\)\},\(3\)wherewbw\_\{b\}andwsw\_\{s\}are learnable scalar coefficients\. The smooth residual branch provides stable global behaviour, while the spline component captures localized nonlinear structure\.
The spline term is parameterized using cubic B\-spline basis functions:
spline\(x\)=∑iciBi\(x\),\\operatorname\{spline\}\(x\)=\\sum\_\{i\}c\_\{i\}B\_\{i\}\(x\),\(4\)whereBi\(x\)B\_\{i\}\(x\)are cubic B\-spline basis functions andcic\_\{i\}are trainable spline coefficients optimized by backpropagation\.
Compared with MLPs, KANs exhibit several important properties:
- •Interpretability:Since nonlinearities are attached to edges as explicit one\-dimensional functions, the learned transformations can be visualized directly and, in some cases, symbolically simplified\.
- •Compositional sparsity:Many scientific functions possess low\-dimensional compositional structure\. KANs naturally expose this through pruning and symbolic snapping of weak or redundant branches\.
- •Improved scaling laws:Liu et al\.\[[4](https://arxiv.org/html/2607.01449#bib.bib2)\]demonstrated empirically that KANs can achieve higher accuracy than comparable MLPs with fewer parameters on scientific regression tasks\.
- •Symbolic recovery:For several benchmark functions, pruned KANs recover exact analytical expressions after symbolic simplification\.
A key feature of KANs is structural pruning\. During training, many edge activations become negligible, allowing hidden nodes and edges to be removed without degrading accuracy\. This often reveals compact compositional representations of the target function\.
\(a\)Standard KAN architecture\.
\(b\)GRS\-KAN with geometric gates\.
Figure 1:Comparison of standard KAN and Geometry\-aware R\-Structured KAN \(GRS\-KAN\)\. The GRS\-KAN augments the base KAN with explicit geometric constraints encoded via R\-functions, enabling hard\-constrained regression and interpretable structure discovery\.Figure[1](https://arxiv.org/html/2607.01449#S2.F1)illustrates the conceptual difference between standard KANs and the proposed Geometry\-aware R\-Structured KAN \(GRS\-KAN\)\. In a standard KAN, all geometric structure must be inferred implicitly from the data through spline edge activations\. In contrast, the GRS\-KAN explicitly incorporates geometric priors through differentiable R\-function gates, allowing known region constraints and discontinuities to be encoded analytically\.
Although the architecture defined by Equation \([2](https://arxiv.org/html/2607.01449#S2.E2)\) is capable of approximating highly nonlinear functions, all geometric information—including feasible regions, implicit boundaries, Boolean constraints, and discontinuities—must be inferred implicitly from the training data\. For many scientific and engineering applications, however, such geometric information is available*a priori*\. The next section introduces R\-functions, which provide an analytical framework for encoding this geometry explicitly\. In Section 3 these analytical geometric representations are combined with the smooth approximation capability of KANs to form the proposed Geometry\-aware R\-Structured Kolmogorov–Arnold Network \(GRS\-KAN\)\.
### 2\.2R\-Functions and Geometry Primitives
R\-functions are real\-valued functions whose signs are completely determined by the signs of their arguments, enabling logical operations on regions to be represented analytically\[[6](https://arxiv.org/html/2607.01449#bib.bib3),[5](https://arxiv.org/html/2607.01449#bib.bib4),[7](https://arxiv.org/html/2607.01449#bib.bib5),[8](https://arxiv.org/html/2607.01449#bib.bib6)\]\. In the convention used here, an implicit functionϕ\(𝐱\)≥0\\phi\(\\mathbf\{x\}\)\\geq 0denotes the interior of a region\.
The analytical representation of implicit geometric regions using R\-functions has recently been developed by Kucherenko*et al\.*\[[2](https://arxiv.org/html/2607.01449#bib.bib7),[1](https://arxiv.org/html/2607.01449#bib.bib8)\]for the identification of feasible regions and process design spaces in chemical engineering\. The present work builds upon these developments by embedding analytical R\-function representations directly into the KAN framework, thereby enabling geometry\-aware neural architectures\.
For two implicit functionsϕ1\(𝐱\)\\phi\_\{1\}\(\\mathbf\{x\}\)andϕ2\(𝐱\)\\phi\_\{2\}\(\\mathbf\{x\}\), the R\-conjunction \(AND\) and R\-disjunction \(OR\) are defined as:
ϕ1∧αϕ2=ϕ1\+ϕ2−ϕ12\+ϕ22−2αϕ1ϕ21\+α,−1<α≤1,\\phi\_\{1\}\\wedge\_\{\\alpha\}\\phi\_\{2\}=\\frac\{\\phi\_\{1\}\+\\phi\_\{2\}\-\\sqrt\{\\phi\_\{1\}^\{2\}\+\\phi\_\{2\}^\{2\}\-2\\alpha\\phi\_\{1\}\\phi\_\{2\}\}\}\{1\+\\alpha\},\\qquad\-1<\\alpha\\leq 1,\(5\)
ϕ1∨αϕ2=ϕ1\+ϕ2\+ϕ12\+ϕ22−2αϕ1ϕ21\+α,−1<α≤1,\\phi\_\{1\}\\vee\_\{\\alpha\}\\phi\_\{2\}=\\frac\{\\phi\_\{1\}\+\\phi\_\{2\}\+\\sqrt\{\\phi\_\{1\}^\{2\}\+\\phi\_\{2\}^\{2\}\-2\\alpha\\phi\_\{1\}\\phi\_\{2\}\}\}\{1\+\\alpha\},\\qquad\-1<\\alpha\\leq 1,\(6\)whereα\\alphacontrols the smoothness of the operation\. Whenα=1\\alpha=1, these reduce to the standard min/max functions:
ϕ1∧1ϕ2=min\(ϕ1,ϕ2\),ϕ1∨1ϕ2=max\(ϕ1,ϕ2\)\.\\phi\_\{1\}\\wedge\_\{1\}\\phi\_\{2\}=\\min\(\\phi\_\{1\},\\phi\_\{2\}\),\\qquad\\phi\_\{1\}\\vee\_\{1\}\\phi\_\{2\}=\\max\(\\phi\_\{1\},\\phi\_\{2\}\)\.Whenα=0\\alpha=0, they become differentiable functions based on the Euclidean norm:
ϕ1∧0ϕ2=ϕ1\+ϕ2−ϕ12\+ϕ22,ϕ1∨0ϕ2=ϕ1\+ϕ2\+ϕ12\+ϕ22\.\\phi\_\{1\}\\wedge\_\{0\}\\phi\_\{2\}=\\phi\_\{1\}\+\\phi\_\{2\}\-\\sqrt\{\\phi\_\{1\}^\{2\}\+\\phi\_\{2\}^\{2\}\},\\qquad\\phi\_\{1\}\\vee\_\{0\}\\phi\_\{2\}=\\phi\_\{1\}\+\\phi\_\{2\}\+\\sqrt\{\\phi\_\{1\}^\{2\}\+\\phi\_\{2\}^\{2\}\}\.The R\-negation \(NOT\) is simply:
¬ϕ1=−ϕ1\.\\neg\\phi\_\{1\}=\-\\phi\_\{1\}\.\(7\)
These operations satisfy De Morgan’s laws and form a sufficiently complete system for constructing any Boolean function as a differentiable real\-valued function\. This makes them particularly suitable for gradient\-based optimization in neural networks, as they provide smooth approximations of logical conditions while preserving exactness at the decision boundary\.
A composite geometric regionD⊆ℝnD\\subseteq\\mathbb\{R\}^\{n\}can be described as:
D=F\[\(ϕ1≥0\),…,\(ϕm≥0\)\],D=F\[\(\\phi\_\{1\}\\geq 0\),\\ldots,\(\\phi\_\{m\}\\geq 0\)\],\(8\)whereϕi\(𝐱\)≥0\\phi\_\{i\}\(\\mathbf\{x\}\)\\geq 0define primitive geometric regions, andFFis a set function constructed using standard set operations∩\\cap,∪\\cup,∖\\setminuson these primitive regions\. The functionFFcan be viewed as a Boolean function, in which the set operations are replaced with the corresponding logical functions∧\\wedge,∨\\vee,¬\\neg\. We seek a single real\-function inequality:
R\(ϕ1,…,ϕm\)≥0R\(\\phi\_\{1\},\\ldots,\\phi\_\{m\}\)\\geq 0\(9\)that defines the composite objectDDas a closed subset ofℝn\\mathbb\{R\}^\{n\}\.
### 2\.3Explicit Analytical Construction of a Rectangle Indicator
For the rectangular tests in this paper, we setα=0\\alpha=0, yielding the simplified R\-conjunction:
ϕ1∧0ϕ2=ϕ1\+ϕ2−ϕ12\+ϕ22\.\\phi\_\{1\}\\wedge\_\{0\}\\phi\_\{2\}=\\phi\_\{1\}\+\\phi\_\{2\}\-\\sqrt\{\\phi\_\{1\}^\{2\}\+\\phi\_\{2\}^\{2\}\}\.\(10\)
The rectangle used in the experiments is defined by two perpendicular strips:
ϕ1\(x,y\)=0\.52−x2,ϕ2\(x,y\)=0\.42−y2,\\phi\_\{1\}\(x,y\)=0\.5^\{2\}\-x^\{2\},\\qquad\\phi\_\{2\}\(x,y\)=0\.4^\{2\}\-y^\{2\},\(11\)whereϕ1\(x,y\)≥0\\phi\_\{1\}\(x,y\)\\geq 0represents the vertical strip\|x\|≤0\.5\|x\|\\leq 0\.5andϕ2\(x,y\)≥0\\phi\_\{2\}\(x,y\)\\geq 0represents the horizontal strip\|y\|≤0\.4\|y\|\\leq 0\.4\. Their R\-conjunction yields the rectangle interior:
Rrect\(x,y\)=ϕ1∧0ϕ2\.R\_\{\\mathrm\{rect\}\}\(x,y\)=\\phi\_\{1\}\\wedge\_\{0\}\\phi\_\{2\}\.\(12\)Using the above definitions, the expression can be written explicitly as:
Rrect\(x,y\)=\(0\.25−x2\)\+\(0\.16−y2\)−\(0\.25−x2\)2\+\(0\.16−y2\)2\.R\_\{\\mathrm\{rect\}\}\(x,y\)=\\bigl\(0\.25\-x^\{2\}\\bigr\)\+\\bigl\(0\.16\-y^\{2\}\\bigr\)\-\\sqrt\{\\bigl\(0\.25\-x^\{2\}\\bigr\)^\{2\}\+\\bigl\(0\.16\-y^\{2\}\\bigr\)^\{2\}\}\.\(13\)
This single smooth function completely characterizes the rectangular region:
- •Rrect\(x,y\)\>0R\_\{\\mathrm\{rect\}\}\(x,y\)\>0for points strictly inside the rectangle\(\|x\|<0\.5,\|y\|<0\.4\)\(\|x\|<0\.5,\\ \|y\|<0\.4\),
- •Rrect\(x,y\)=0R\_\{\\mathrm\{rect\}\}\(x,y\)=0on the boundary\(\|x\|=0\.5or\|y\|=0\.4\)\(\|x\|=0\.5\\ \\text\{or\}\\ \|y\|=0\.4\),
- •Rrect\(x,y\)<0R\_\{\\mathrm\{rect\}\}\(x,y\)<0for points outside the rectangle\.
The expression is continuously differentiable everywhere except at the four corner points\(±0\.5,±0\.4\)\(\\pm 0\.5,\\ \\pm 0\.4\), where the gradient is discontinuous\. This is unavoidable for a sharp rectangle, but the R\-function formulation concentrates the non\-smoothness at the corners rather than along entire edges\. The gradient for interior points and edge points \(excluding corners\) is:
∂Rrect∂x\\displaystyle\\frac\{\\partial R\_\{\\mathrm\{rect\}\}\}\{\\partial x\}=−2x\(1−0\.25−x2\(0\.25−x2\)2\+\(0\.16−y2\)2\),\\displaystyle=\-2x\\left\(1\-\\frac\{0\.25\-x^\{2\}\}\{\\sqrt\{\(0\.25\-x^\{2\}\)^\{2\}\+\(0\.16\-y^\{2\}\)^\{2\}\}\}\\right\),\(14\)∂Rrect∂y\\displaystyle\\frac\{\\partial R\_\{\\mathrm\{rect\}\}\}\{\\partial y\}=−2y\(1−0\.16−y2\(0\.25−x2\)2\+\(0\.16−y2\)2\)\.\\displaystyle=\-2y\\left\(1\-\\frac\{0\.16\-y^\{2\}\}\{\\sqrt\{\(0\.25\-x^\{2\}\)^\{2\}\+\(0\.16\-y^\{2\}\)^\{2\}\}\}\\right\)\.\(15\)
The function behaves like a softened indicator that can be sharpened by applying a sigmoid with largeκ\\kappa:
g\(x,y\)=σ\(κRrect\(x,y\)\)=11\+exp\(−κRrect\(x,y\)\),g\(x,y\)=\\sigma\\bigl\(\\kappa\\,R\_\{\\mathrm\{rect\}\}\(x,y\)\\bigr\)=\\frac\{1\}\{1\+\\exp\\bigl\(\-\\kappa\\,R\_\{\\mathrm\{rect\}\}\(x,y\)\\bigr\)\},\(16\)which approaches the ideal indicatorI\(\|x\|<0\.5,\|y\|<0\.4\)I\(\|x\|<0\.5,\\ \|y\|<0\.4\)asκ→∞\\kappa\\to\\infty\.
The rectangle is used throughout this paper as the simplest analytical geometric primitive for demonstrating the proposed framework\. For such simple regions, equivalent smooth gates can also be constructed directly from products of sigmoid functions or other differentiable indicator approximations\. The advantage of the proposed R\-function formulation is not the smoothing itself, but its ability to represent arbitrary implicit regions and Boolean combinations of constraints analytically within a unified differentiable framework\.
## 3GRS\-KAN Architecture
We propose three variants of the Geometry\-aware R\-Structured KAN, each suited to different types of geometric priors\. The three GRS\-KAN architectures presented below correspond to increasingly general assumptions regarding the interaction between a smooth function and known geometric information: additive, multiplicative, and automatically discovered\.
### 3\.1Targeted Additive GRS\-KAN
Many scientific and engineering problems involve target functions that consist of a smooth background together with a localized additive correction acting only inside a prescribed region\. Such functions can be written in the general form
f\(x\)=fsmooth\(x\)\+cI\(x∈D\),f\(x\)=f\_\{\\mathrm\{smooth\}\}\(x\)\+c\\,I\(x\\in D\),\(17\)wherefsmoothf\_\{\\mathrm\{smooth\}\}is a continuous background function,D⊂ℝnD\\subset\\mathbb\{R\}^\{n\}denotes a known geometric region,I\(⋅\)I\(\\cdot\)is the indicator function, andccis the magnitude of the additive jump\. Representative examples include localized source terms, regime changes, activation phenomena, and discontinuities whose support is known*a priori*\.
The discontinuous indicator function is unsuitable for gradient\-based optimization\. In the proposed GRS\-KAN framework, it is replaced by a differentiable approximation constructed from an analytical R\-function\. Specifically, the indicator is approximated by
I\(x∈D\)≈σ\(κR\(x\)\),I\(x\\in D\)\\approx\\sigma\(\\kappa R\(x\)\),whereR\(x\)R\(x\)is the R\-function representation of the regionDD,σ\(⋅\)\\sigma\(\\cdot\)is the logistic sigmoid, andκ\\kappacontrols the transition sharpness\.
For the rectangular benchmark considered in this paper,R\(x\)R\(x\)is given by the analytical rectangle R\-functionRrect\(x,y\)R\_\{\\mathrm\{rect\}\}\(x,y\)defined in Section 2\.3\. The targeted additive GRS\-KAN therefore becomes
f^\(x,y\)=fsmooth\(x,y\)\+cσ\(κRrect\(x,y\)\),\\hat\{f\}\(x,y\)=f\_\{\\mathrm\{smooth\}\}\(x,y\)\+c\\,\\sigma\\\!\\left\(\\kappa R\_\{\\mathrm\{rect\}\}\(x,y\)\\right\),\(18\)wherefsmoothf\_\{\\mathrm\{smooth\}\}is represented by a standard KAN branch that learns the continuous background, while the second term explicitly models the localized discontinuity through the analytical geometry\. The jump amplitudeccis learned during training, whereasκ\\kappacontrols the sharpness of the transition across the boundary\.
### 3\.2Targeted Multiplicative GRS\-KAN
A second important class of problems consists of functions whose values are non\-zero only inside a prescribed geometric region\. Such functions can be expressed in the general form
f\(x\)=fsmooth\(x\)I\(x∈D\),f\(x\)=f\_\{\\mathrm\{smooth\}\}\(x\)\\,I\(x\\in D\),\(19\)wherefsmoothf\_\{\\mathrm\{smooth\}\}denotes the underlying continuous function,D⊂ℝnD\\subset\\mathbb\{R\}^\{n\}is a known geometric support, andI\(⋅\)I\(\\cdot\)is the indicator function\. This formulation naturally arises when the geometry determines the support, visibility, activation, or amplitude of the underlying physical process\.
As in the additive formulation, the discontinuous indicator function is replaced by a differentiable approximation based on an analytical R\-function,
I\(x∈D\)≈σ\(κR\(x\)\),I\(x\\in D\)\\approx\\sigma\(\\kappa R\(x\)\),whereR\(x\)R\(x\)is the R\-function representation of the support region,σ\(⋅\)\\sigma\(\\cdot\)is the logistic sigmoid, andκ\\kappacontrols the sharpness of the transition\.
For the rectangular benchmark considered in this paper,R\(x\)R\(x\)is represented by the analytical rectangle R\-functionRrect\(x,y\)R\_\{\\mathrm\{rect\}\}\(x,y\)introduced in Section 2\.3\. The targeted multiplicative GRS\-KAN is therefore defined as
f^\(x,y\)=fsmooth\(x,y\)cσ\(κRrect\(x,y\)\),\\hat\{f\}\(x,y\)=f\_\{\\mathrm\{smooth\}\}\(x,y\)\\,c\\,\\sigma\\\!\\left\(\\kappa R\_\{\\mathrm\{rect\}\}\(x,y\)\\right\),\(20\)where the KAN branch learns the smooth background function, while the R\-function gate explicitly encodes the geometric support\. The trainable coefficientccscales the response, andκ\\kappacontrols the sharpness of the transition near the boundary\.
Typical examples include masked functions, visibility constraints, domain\-restricted solutions of partial differential equations, region\-dependent material properties, and financial payoffs activated only inside prescribed state\-space regions\. The benchmark considered in this paper corresponds to
f\(x,y\)=xyI\(\(x,y\)∈D\),f\(x,y\)=xy\\,I\\\!\\left\(\(x,y\)\\in D\\right\),whereDDis the rectangular region represented analytically byRrect\(x,y\)R\_\{\\mathrm\{rect\}\}\(x,y\)\.
### 3\.3Agnostic GRS\-KAN with Learnable Structure\-Selection Parameters
In many practical applications, the manner in which geometric information interacts with the smooth background is not known*a priori*\. The target function may be purely smooth, contain an additive localized correction, exhibit multiplicative geometric support, or involve a combination of these mechanisms\. Rather than selecting a specific architecture beforehand, we introduce an agnostic GRS\-KAN that simultaneously considers all three possibilities and learns their relative importance directly from the data\.
The agnostic architecture combines a baseline KAN branch with additive and multiplicative geometry\-aware branches,
f^\(x,y\)=wKANfbase\(x,y\)\+waddg\(x,y\)\+wmulfmask\(x,y\)g\(x,y\),\\hat\{f\}\(x,y\)=w\_\{\\mathrm\{KAN\}\}\\,f\_\{\\mathrm\{base\}\}\(x,y\)\+w\_\{\\mathrm\{add\}\}\\,g\(x,y\)\+w\_\{\\mathrm\{mul\}\}\\,f\_\{\\mathrm\{mask\}\}\(x,y\)\\,g\(x,y\),\(21\)where
g\(x,y\)=σ\(κRrect\(x,y\)\)g\(x,y\)=\\sigma\\\!\\left\(\\kappa R\_\{\\mathrm\{rect\}\}\(x,y\)\\right\)is the differentiable R\-function gate introduced in the previous subsections\.
The learnable coefficientswKANw\_\{\\mathrm\{KAN\}\},waddw\_\{\\mathrm\{add\}\}, andwmulw\_\{\\mathrm\{mul\}\}determine the relative contribution of the three branches during training\. Consequently, the proposed architecture performs not only function approximation but also automatic structure identification\. The coefficientswKANw\_\{\\mathrm\{KAN\}\},waddw\_\{\\mathrm\{add\}\}, andwmulw\_\{\\mathrm\{mul\}\}act as*learnable structure\-selection parameters*, automatically identifying the most appropriate interaction between the smooth approximation and the analytical geometric prior\. Depending on the underlying problem, the network may recover a purely smooth KAN model, a targeted additive representation, a targeted multiplicative representation, or a hybrid combination of these components\. The learned structure\-selection parameters therefore provide both an interpretable decomposition of the solution and insight into the underlying functional relationship between geometry and the smooth background\.
\(a\)Additive discontinuity problem\. All three branches remain active, indicating that the optimal approximation combines smooth, additive, and multiplicative components\.
\(b\)Maskedxyxyproblem\. The multiplicative geometry\-aware branch dominates, correctly identifying that the target function is governed primarily by geometric support\.
Figure 2:Agnostic GRS\-KAN architecture illustrating the learned structure\-selection parameters for two benchmark problems\. The relative branch activations reveal how analytical geometry interacts with the smooth KAN approximation\.Figure[2](https://arxiv.org/html/2607.01449#S3.F2)illustrates that the learned structure\-selection parameters provide a useful diagnostic of the underlying functional structure\. Rather than simply weighting individual network branches, they reveal how analytical geometry should interact with the smooth KAN approximation to represent the target function\.
For the additive rectangle problem \(Figure[2\(a\)](https://arxiv.org/html/2607.01449#S3.F2.sf1)\), the KAN, additive, and multiplicative branches all contribute to the final prediction, indicating that the agnostic model learns a mixed representation rather than selecting a single interaction mechanism\. In contrast, for the maskedxyxyproblem \(Figure[2\(b\)](https://arxiv.org/html/2607.01449#S3.F2.sf2)\), the multiplicative branch receives the dominant weight, correctly identifying that the target function is primarily governed by geometric support\.
These results demonstrate that the proposed agnostic GRS\-KAN can simultaneously perform function approximation and automatic structure discovery, eliminating the need to prescribe*a priori*how analytical geometry should interact with the smooth approximation\. This capability makes GRS\-KAN applicable to a broad class of scientific and engineering problems where the functional role of known geometric constraints is itself unknown\.
## 4Numerical Experiments
All experiments used reproducible random seeds,Ntrain=1000N\_\{\\mathrm\{train\}\}=1000, andNtest=1000N\_\{\\mathrm\{test\}\}=1000\. The primary metrics are train RMSE, test RMSE, parameter count, and boundary\-band RMSE \(for problems with discontinuities\)\.
### 4\.1Validation of Standard KAN on the Liu et al\. Toy Benchmark 1
We first validated our MATLAB KAN implementation against the toy example from Liu et al\.\[[4](https://arxiv.org/html/2607.01449#bib.bib2)\]:
f\(x,y\)=exp\(sin\(πx\)\+y2\)\.f\(x,y\)=\\exp\(\\sin\(\\pi x\)\+y^\{2\}\)\.\(22\)
The workflow starts from an improved full\[2,5,1\]\[2,5,1\]KAN, uses edge\-activation scores to identify a compact\[2,1,1\]\[2,1,1\]structure, retrains/fine\-tunes the compact KAN, and finally applies symbolic snapping to recover the underlying analytical representation\.
The same data split was also tested using MATLAB’s built\-infitrnetregression neural network\. Hidden\-layer configurations\[20,20\]\[20,20\],\[50,50\]\[50,50\],\[100,100\]\[100,100\],\[200,100\]\[200,100\], and\[100,100,50\]\[100,100,50\]were swept using ReLU and tanh activations\. The selected configuration the lowest validation RMSE was a tanh MLP with hidden\-layer sizes\[100,100,50\]\[100,100,50\], standardization enabled, ridge parameterλ=10−6\\lambda=10^\{\-6\}, and iteration limit 1200\.
Table 1:Toy problem results forf\(x,y\)=exp\(sin\(πx\)\+y2\)f\(x,y\)=\\exp\(\\sin\(\\pi x\)\+y^\{2\}\)\.\(a\)True target, full KAN, compact KAN, and MATLAB NN surfaces\.
\(b\)Test RMSE comparison for MATLAB NN and KAN variants\.
Figure 3:Toy benchmark comparison including the MATLAB NN baseline\.\(a\)Full\[2,5,1\]\[2,5,1\]KAN before pruning\.
\(b\)Same trained network with inactive hidden nodes shown as pruned\.
Figure 4:Standard KAN architecture plots\. Edge opacity and thickness indicate mean absolute edge activation magnitude\. Toy Benchmark 1\(a\)Before/after RMSE and parameter count after pruning\.
\(b\)MATLAB NN validation/test RMSE over layer sizes and activations\.
Figure 5:Toy benchmark pruning and NN configuration diagnostics\.Figure[3](https://arxiv.org/html/2607.01449#S4.F3)compares the fitted surfaces and final test errors\. All learned models reproduce the smooth nonlinear target accurately\. The improved full KAN reaches test RMSE0\.004210\.00421using only 195 parameters, slightly outperforming the selected MATLAB neural network baseline with test RMSE0\.004390\.00439despite the latter requiring 15501 parameters\. After pruning and retraining, the compact\[2,1,1\]\[2,1,1\]KAN further improves the test RMSE to0\.002770\.00277while reducing the parameter count to only 51\. The symbolic snapped KAN exactly recovers the analytical expression of the target function\.
Figure[4](https://arxiv.org/html/2607.01449#S4.F4)illustrates the structural pruning behaviour of the trained KAN\. Subfigure \(a\) shows the full trained\[2,5,1\]\[2,5,1\]architecture before simplification\. Edge thickness and opacity are proportional to the mean absolute edge activation magnitude, so weak functional connections appear pale and thin\. Subfigure \(b\) shows the resulting pruning decision, where inactive hidden nodes are removed automatically, leaving the compact\[2,1,1\]\[2,1,1\]architecture\.
This behaviour confirms one of the central claims of Liu et al\.\[[4](https://arxiv.org/html/2607.01449#bib.bib2)\]: KANs can reveal sparse compositional structure rather than acting purely as black\-box approximators\. In many scientific problems, the effective functional structure is substantially simpler than the original dense architecture, and KAN pruning exposes this reduced representation explicitly\.
Figure[5](https://arxiv.org/html/2607.01449#S4.F5)provides additional diagnostics behind this comparison\. Subfigure \(a\) shows the effect of compacting the KAN structure: the number of parameters decreases from 195 to 51 while the RMSE improves after fine tuning\. Thus pruning is not merely compressing the model; it removes weak hidden paths that are not required by the underlying compositional structure\.
Subfigure \(b\) presents the MATLAB NN configuration sweep\. For this smooth globally nonlinear target, tanh activations outperform ReLU activations, and the best validation score is achieved by the deeper\[100,100,50\]\[100,100,50\]tanh network\. The comparison highlights that KANs can achieve competitive or better accuracy using substantially fewer parameters, while retaining the additional capability of symbolic structure recovery\.
### 4\.2Unconstrained product function
We next evaluated our KAN implementation on a second benchmark problem from Liu et al\.\[[4](https://arxiv.org/html/2607.01449#bib.bib2)\], the unconstrained product function:
f\(x,y\)=xy\.f\(x,y\)=xy\.\(23\)
Unlike the smooth nonlinear target in Benchmark 1, this function has an exact multiplicative structure with no additive components or higher\-order nonlinearities\. It therefore provides a stringent test of whether the pruning and symbolic snapping procedures can correctly identify the absence of unnecessary terms and recover a purely multiplicative relationship\.
Applying the same workflow as before, we initialized a full\[2,5,1\]\[2,5,1\]KAN, then used edge\-activation scores to prune weak connections\. The resulting compact architecture was\[2,2,1\]\[2,2,1\], which retains a single hidden layer with two active nodes\. After retraining the pruned structure, we performed symbolic snapping to map the learned edge functions onto a closed\-form analytical expression\.
As shown in Table[2](https://arxiv.org/html/2607.01449#S4.T2), pruning reduced the parameter count from 255 to 102 while simultaneously improving both train and test RMSE by more than an order of magnitude\. Symbolic snapping then reduced the model to just 9 parameters and recovered the exact productf\(x,y\)=xyf\(x,y\)=xyto within machine precision, with test RMSE on the order of10−1710^\{\-17\}\. This demonstrates that the KAN framework can distinguish true multiplicative structure from spurious correlations induced by overparameterization\.
Table 2:KAN results forf\(x,y\)=xyf\(x,y\)=xy\.\(a\)Surface fit for full and pruned KAN\.
\(b\)RMSE and parameter count before and after pruning\.
Figure 6:Unconstrained product KAN results\.Figure[6](https://arxiv.org/html/2607.01449#S4.F6)provides a simple symbol\-discovery check\. Both the full and pruned KAN reproduce the saddle\-shapedxyxysurface, while pruning reduces the architecture from\[2,5,1\]\[2,5,1\]to\[2,2,1\]\[2,2,1\]and lowers the test RMSE from7\.20×10−37\.20\\times 10^\{\-3\}to5\.16×10−45\.16\\times 10^\{\-4\}\. This is consistent with the representationxy=\(\(x\+y\)2−\(x−y\)2\)/4xy=\(\(x\+y\)^\{2\}\-\(x\-y\)^\{2\}\)/4, which naturally requires two hidden directions\.
These results verify that our MATLAB baseline captures the central KAN ideas: edge activations, summation nodes, spline functions, residual SiLU basis, pruning by edge activation magnitudes, and symbolic simplification\.
### 4\.3Rectangular Additive Discontinuity
The first GRS\-KAN benchmark introduces a discontinuous jump superimposed on a smooth background:
f\(x,y\)=sin\(πx\)\+y2\+2I\(\|x\|<0\.5,\|y\|<0\.4\),f\(x,y\)=\\sin\(\\pi x\)\+y^\{2\}\+2I\(\|x\|<0\.5,\\ \|y\|<0\.4\),\(24\)where the rectangular region is encoded analytically throughRrectR\_\{\\mathrm\{rect\}\}and the additive model in Eq\. \([18](https://arxiv.org/html/2607.01449#S3.E18)\)\.
For comparison, we also evaluate a standard multilayer perceptron baseline using MATLAB’sfitrnet\. A hyperparameter sweep over hidden\-layer configurations\[20,20\]\[20,20\],\[50,50\]\[50,50\],\[100,100\]\[100,100\],\[200,100\]\[200,100\], and\[100,100,50\]\[100,100,50\]with both ReLU and tanh activations was performed using a 20% validation split\. The selected network—a ReLU MLP with\[20,20\]\[20,20\]hidden units, standardization, ridge parameterλ=10−6\\lambda=10^\{\-6\}, and 1200 iterations—was retrained on the full training set prior to final evaluation\.
Table 3:Rectangular additive discontinuity results including the MATLAB NN baseline\.\(a\)True target \(left\) and standard KAN\[2,5,1\]\[2,5,1\]prediction \(right\)\.
\(b\)MATLAB NN\[20,20\]\[20,20\]/ReLU \(left\) and GRS\-KAN withκ=200\\kappa=200\(right\)\.
Figure 7:Surface comparisons for the rectangular additive discontinuity\.Figure[7](https://arxiv.org/html/2607.01449#S4.F7)compares the fitted surfaces\. The standard KAN \(subfigure a\) produces a visibly smooth transition across the discontinuity, as it must approximate the jump using smooth spline bases\. The MATLAB NN \(subfigure b\) captures the discontinuity more sharply, reflected in its lower test RMSE \(0\.11360\.1136versus0\.27740\.2774\)\. However, the GRS\-KAN achieves the sharpest rectangular jump and the best overall test and boundary\-band errors, because the jump location is supplied explicitly throughRrectR\_\{\\mathrm\{rect\}\}rather than inferred from data alone\.
\(a\)Standard KAN architecture\.
\(b\)Targeted additive GRS\-KAN architecture\.
Figure 8:Architectural comparison for the rectangular discontinuity benchmark\.Figure[8](https://arxiv.org/html/2607.01449#S4.F8)illustrates the architectural difference between the two models\. The standard KAN must learn both the smooth background and the discontinuity through its spline edge activations, whereas the targeted GRS\-KAN separates these roles: the KAN branch models the smooth residual, while the R\-function gate encodes the jump explicitly\. This structural decoupling is the primary source of the accuracy improvements reported below\.
\(a\)Train, test, and boundary\-band RMSE versusκ\\kappa\.
\(b\)Spatial error map with the true rectangle boundary overlaid\.
Figure 9:RMSE analysis and spatial error localization\.Figure[9](https://arxiv.org/html/2607.01449#S4.F9)provides a quantitative and spatial analysis\. Subfigure \(a\) shows that increasingκ\\kappasharpens the sigmoid gate and monotonically improves both test and boundary\-band RMSE over the range tested, withκ=200\\kappa=200yielding the best performance in this experiment\. Subfigure \(b\) localizes the remaining error primarily near the rectangular boundary, where the true discontinuity is most difficult to approximate with a smooth gate\. This concentration of error is expected and indicates that the model correctly identifies the geometric structure\.
Quantitatively, the targeted additive GRS\-KAN withκ=200\\kappa=200reduces test RMSE from0\.27740\.2774\(standard KAN\) to0\.09150\.0915—a reduction of67%67\\%—and improves boundary\-band RMSE from0\.61160\.6116to0\.23880\.2388, a reduction of61%61\\%\. These gains demonstrate that explicit geometric encoding via R\-functions substantially improves both global accuracy and localization of discontinuities\.
### 4\.4Masked Product with Rectangular Support
The multiplicative geometry test enforces support only inside the rectangle:
f\(x,y\)=xyI\(\|x\|<0\.5,\|y\|<0\.4\)\.f\(x,y\)=xy\\,I\(\|x\|<0\.5,\\ \|y\|<0\.4\)\.\(25\)
Table 4:Maskedxyxyrectangle results\.Figure 10:Predicted surfaces forxyxymasked by the rectangle\.\(a\)Train, test, and boundary\-band RMSE versusκ\\kappa\.
\(b\)Spatial error map with the true rectangle boundary overlaid\.
Figure 11:Maskedxyxyrectangle plots: \(a\) RMSE sweep and \(b\) error map\.Figure[10](https://arxiv.org/html/2607.01449#S4.F10)illustrates the case where the multiplicative GRS\-KAN is structurally appropriate\. The target is zero outside the rectangle and behaves likexyxyinside it\. A conventional KAN must simultaneously learn both the smooth product\-like variation and the underlying geometric support from data\. The multiplicative GRS\-KAN decouples these tasks: the KAN branch models the smooth function, whereas the analytical R\-function representation explicitly encodes the geometric support\. The remaining errors are concentrated near the rectangle boundary and corners, as shown in Figure[11\(b\)](https://arxiv.org/html/2607.01449#S4.F11.sf2), where the smooth sigmoid gate approximates a hard indicator\. Figure[11\(a\)](https://arxiv.org/html/2607.01449#S4.F11.sf1)further shows the trade\-off in choosing the sharpness parameterκ\\kappa\.
The multiplicative GRS\-KAN withκ=200\\kappa=200reduced test RMSE from0\.01490\.0149to0\.00620\.0062\(58%58\\%reduction\) and boundary RMSE from0\.03020\.0302to0\.01520\.0152\(50%50\\%reduction\)\.
### 4\.5Agnostic GRS\-KAN with Learned Branch Weights
The agnostic model in Eq\. \([21](https://arxiv.org/html/2607.01449#S3.E21)\) was tested on both rectangular targets\. The learned weights reveal the preferred structure\.
Table 5:Best agnostic GRS\-KAN results on rectangular tasks\.\(a\)LearnedwKANw\_\{\\mathrm\{KAN\}\},waddw\_\{\\mathrm\{add\}\}, andwmulw\_\{\\mathrm\{mul\}\}\.
\(b\)Best test RMSE comparison against specialized models\.
Figure 12:Agnostic GRS\-KAN branch selection on rectangular tasks\.Figure[12](https://arxiv.org/html/2607.01449#S4.F12)summarizes the learned branch selection\. For the additive discontinuity, all three weights remain active, so the model finds a mixed representation rather than a clean additive\-only structure\. For the maskedxyxytarget,wmulw\_\{\\mathrm\{mul\}\}dominates the geometry\-aware part, matching the expected multiplicative form\. The RMSE comparison shows that the agnostic model is competitive and even improves over the specialized multiplicative model on the masked product, although it does not beat the specialized additive GRS\-KAN on the additive discontinuity\.
For the maskedxyxytask, the model learnedwmul≈1\.0w\_\{\\mathrm\{mul\}\}\\approx 1\.0, correctly identifying that the multiplicative structure is most appropriate\. For the additive discontinuity, all three branches contributed, reflecting the additive jump nature\.
### 4\.6Sanity Check: Unconstrained Product
As a validation, the agnostic GRS\-KAN was tested on the unconstrained targetf\(x,y\)=xyf\(x,y\)=xy, which has no rectangular support or jump\.
Table 6:Unconstrainedxyxy: KAN vs\. agnostic GRS\-KAN\.\(a\)Learned branch weights for an unconstrained target\.
\(b\)KAN and agnostic GRS\-KAN test RMSE comparison\.
Figure 13:Agnostic GRS\-KAN on unconstrainedxyxy\. The geometry branches are effectively suppressed\.Figure[13](https://arxiv.org/html/2607.01449#S4.F13)is a negative\-control experiment for the geometry\-aware architecture\. Since the target has no rectangular constraint, the desired behaviour is to suppress the geometry branches\. The learned weights show exactly this:waddw\_\{\\mathrm\{add\}\}andwmulw\_\{\\mathrm\{mul\}\}are close to zero, whilewKANw\_\{\\mathrm\{KAN\}\}remains large\. The agnostic model therefore falls back toward a pure KAN representation, although the pruned and symbolically snapped KANs remain more compact for this unconstrained smooth target\.
The model learnedwadd≈0w\_\{\\mathrm\{add\}\}\\approx 0andwmul≈0w\_\{\\mathrm\{mul\}\}\\approx 0, withwKANw\_\{\\mathrm\{KAN\}\}remaining large\. This is the desired behavior: when no geometric prior is needed, the model falls back to a pure KAN branch and suppresses the geometry branches\.
## 5Discussion
The experiments support three main conclusions\.
#### 1\. Standard KAN reproduces expected sparse structures\.
For the KAN paper toy example, sparsification and pruning reduced the model from\[2,5,1\]\[2,5,1\]to\[2,1,1\]\[2,1,1\]\. Forxyxy, pruning gave\[2,2,1\]\[2,2,1\]and symbolic snapping recovered the exact product\. This verifies that our MATLAB baseline correctly implements the core KAN mechanisms\.
#### 2\. Explicit geometry improves performance on structured problems\.
For the rectangular additive discontinuity, the targeted additive GRS\-KAN reduced test RMSE by67%67\\%and boundary RMSE by61%61\\%compared to standard KAN\. For the masked product, the multiplicative GRS\-KAN achieved58%58\\%and50%50\\%reductions respectively\.
#### 3\. Learnable branch weights enable automatic structure discovery\.
The agnostic GRS\-KAN correctly identified the multiplicative structure for the masked product \(wmul≈1\.0w\_\{\\mathrm\{mul\}\}\\approx 1\.0\) and suppressed geometry branches for the unconstrained product \(wadd,wmul≈0w\_\{\\mathrm\{add\}\},w\_\{\\mathrm\{mul\}\}\\approx 0\)\. This capability is valuable when the appropriate functional form is not known a priori\.
## 6Conclusions and Future Work
We have introduced the Geometry\-aware R\-Structured Kolmogorov–Arnold Network \(GRS\-KAN\), a hybrid architecture that integrates analytical implicit geometry, represented by R\-functions, into Kolmogorov–Arnold Networks\. The proposed framework enables:
- •Analytical representation of geometric regions and Boolean constraints within differentiable neural architectures,
- •Closed\-form construction of differentiable region indicators with analytical gradients,
- •Three complementary GRS\-KAN architectures \(targeted additive, targeted multiplicative, and agnostic\) for incorporating different types of analytical geometric priors,
- •Automatic structure discovery through learnable structure\-selection parameters\.
Numerical experiments on rectangular discontinuity and masked product benchmarks demonstrate that incorporating analytical geometric priors significantly improves both prediction accuracy and model interpretability compared with standard KANs\.
Although this paper employs simple analytical geometries such as rectangles and circles as illustrative examples, the proposed framework is applicable to arbitrary implicit regions represented by R\-functions, including non\-convex domains, disconnected regions, and Boolean combinations of multiple constraints\.
Future work will investigate incorporating complex analytical R\-function representations of engineering design spaces and feasible regions into GRS\-KAN\. This would enable the integration of analytical geometric priors derived from process constraints, quality specifications, and other engineering models, thereby extending the present framework from simple benchmark geometries to general implicit domains\.
## References
- \[1\]S\. Kucherenko, N\. Shah, and O\. V\. Klymenko\(2025\)Analytical identification of process design spaces using r\-functions\.Computers & Chemical Engineering198,pp\. 109112\.Cited by:[§2\.2](https://arxiv.org/html/2607.01449#S2.SS2.p2.1)\.
- \[2\]S\. Kucherenko, N\. Shah, and O\. V\. Klymenko\(2025\)Identification of feasible regions using r\-functions\.Journal of Process Control154,pp\. 103539\.Cited by:[§2\.2](https://arxiv.org/html/2607.01449#S2.SS2.p2.1)\.
- \[3\]Z\. Liu, Y\. Wang, S\. Vaidya, F\. Ruehle, J\. Halverson, M\. Soljacic, T\. Y\. Hou, and M\. Tegmark\(2024\)KAN: kolmogorov\-arnold networks\.arXiv preprint arXiv:2404\.19756\.Cited by:[§1](https://arxiv.org/html/2607.01449#S1.p2.1)\.
- \[4\]Z\. Liu, Y\. Wang, S\. Vaidya, F\. Ruehle, J\. Halverson, M\. Soljacic, T\. Y\. Hou, and M\. Tegmark\(2025\)KAN: kolmogorov\-arnold networks\.International Conference on Learning Representations\.External Links:2404\.19756v5Cited by:[3rd item](https://arxiv.org/html/2607.01449#S2.I1.i3.p1.1),[§2\.1](https://arxiv.org/html/2607.01449#S2.SS1.p1.1),[§2\.1](https://arxiv.org/html/2607.01449#S2.SS1.p6.1),[§2\.1](https://arxiv.org/html/2607.01449#S2.SS1.p7.3),[§4\.1](https://arxiv.org/html/2607.01449#S4.SS1.p1.1),[§4\.1](https://arxiv.org/html/2607.01449#S4.SS1.p7.1),[§4\.2](https://arxiv.org/html/2607.01449#S4.SS2.p1.1)\.
- \[5\]V\. L\. Rvachev\(1963\)On analytical description of some geometric objects\.Reports of Academy of Sciences, USSR153,pp\. 765–768\.Cited by:[§2\.2](https://arxiv.org/html/2607.01449#S2.SS2.p1.1)\.
- \[6\]V\. L\. Rvachev\(1982\)Theory of r\-functions and some applications\.Naukova Dumka,Kiev\.Note:In RussianCited by:[§1](https://arxiv.org/html/2607.01449#S1.p5.1),[§2\.2](https://arxiv.org/html/2607.01449#S2.SS2.p1.1)\.
- \[7\]V\. Shapiro\(1991\)Theory of r\-functions and applications: a primer\.Technical reportTechnical ReportTR91\-1219,Cornell University\.Cited by:[§1](https://arxiv.org/html/2607.01449#S1.p5.1),[§2\.2](https://arxiv.org/html/2607.01449#S2.SS2.p1.1)\.
- \[8\]V\. Shapiro\(2007\)Semi\-analytic geometry with r\-functions\.Acta Numerica16,pp\. 239–303\.Cited by:[§1](https://arxiv.org/html/2607.01449#S1.p5.1),[§2\.2](https://arxiv.org/html/2607.01449#S2.SS2.p1.1)\.Similar Articles
Geometric Kolmogorov--Arnold Network (GeoKAN)
This paper introduces Geometric Kolmogorov-Arnold Networks (GeoKAN), a family of geometry-aware models that learn Riemannian metrics to adapt coordinates for improved function approximation and physics-informed learning.
ER-KANs: Efficient and Robust Kolmogorov-Arnold Networks for Data-Scarce Scientific Machine Learning
ER-KAN is a new variant of Kolmogorov-Arnold Networks designed for data-scarce and noisy scientific machine learning, showing improved robustness and efficiency over existing KAN variants.
[R] SineKAN: Kolmogorov-Arnold Networks Using Sinusoidal Activation Functions
SineKAN presents a variant of Kolmogorov-Arnold Networks using sinusoidal activation functions, showing comparable or better performance with significant speed improvements over baseline KAN models on benchmark tasks.
SparseKAN: Compressing Kolmogorov--Arnold Networks Across Basis Functions, Neurons, and Bits
SparseKAN is a unified compression method for Kolmogorov–Arnold Networks that prunes basis functions, neurons, and numerical precision under learnable gates, achieving up to 73% parameter reduction and significant latency improvements on software and FPGA hardware.
An Embedded RISC-V Evaluation of Kolmogorov--Arnold Networks in Hard-Constrained Recurrent Physics-Informed Models
This paper evaluates Kolmogorov–Arnold Networks (KANs) versus MLPs as residual branches in hard-constrained recurrent physics-informed networks on an embedded RISC-V platform, finding KANs run slower, consume more energy, and are less dependable under INT8 quantization.