Kolmogorov-Arnold Networks and Energy-Based Modeling in an RKHS General Framework and Application to the Malagasy Monetary Instability Model ()
1. Introduction
Contemporary economic systems—financial markets, institutional networks, monetary systems—exhibit nonlinear, multiscale, and often unstable behaviors. Classical approaches, based on linear models, simple stochastic differential equations [1], or standard neural networks [2], struggle to capture extreme regimes, phase transitions, long-memory effects [3], and structural breaks.
Kolmogorov-Arnold Networks (KAN), inspired by the Kolmogorov-Arnold theorem [4], offer a powerful alternative: weights are replaced by learned univariate functions, enabling fine, local, and interpretable modeling. When integrated into a reproducing kernel Hilbert space (RKHS), these networks acquire a rigorous geometric structure in which functional complexity is controlled by an associated energy [5].
The use of B-splines with grid extension further strengthens this approach: it allows the capture of extreme behaviors, improves boundary accuracy, and ensures numerical stability essential for economic applications [6].
Financial instability and risk propagation phenomena also motivate such modeling, consistent with the theoretical foundations presented in Bouchaud and Potters [7]. Moreover, earlier work on stochastic differential equations and fractional perturbations provides additional justification for adopting energy-based formulations in monetary instability modeling.
Definition of Monetary Variables
The Malagasy monetary instability model is driven by three monthly macroeconomic variables:
: aggregate monetary tension index (dimensionless);
: consumption expectation index (consumption units);
: institutional financial pressure index (dimensionless).
These variables evolve at a monthly time scale.
In this work, we present this unified KAN-RKHS-Energy framework and show how it allows us to revisit a Malagasy monetary instability model. This model, initially formulated as a stochastic differential equation, becomes a natural special case of the proposed framework, offering an energy-based interpretation of crises, monetary attractors, and regime transitions.
2. Kolmogorov-Arnold Theorem
Raw Form and Compressed Form
Any continuous function
can be written as a superposition of univariate functions. In the compressed Sprecher-Fridman form, there exist a single inner function
and a single outer function
such that:
This representation is the foundation of Kolmogorov-Arnold Networks (KAN), which replace classical weights by learned univariate functions. The modern formulation of KAN was introduced in [4].
3. Kolmogorov-Arnold Networks
3.1. Architecture
A KAN layer replaces linear weights by univariate functions:
where each
is a learned univariate activation. This architecture provides fine local control and interpretability, unlike classical neural networks [2].
3.2. KAN in an RKHS
Each activation is expanded in an RKHS basis:
where
are basis functions (typically B-splines) and
is the Gram matrix of the RKHS. The RKHS structure provides a geometric interpretation of functional complexity [5].
4. Energy Formulation
We consider an energy functional:
where the first term measures functional complexity and the second term is a data fitting term. This formulation is consistent with classical energy-based models and stochastic perturbation theory [8]. It also aligns with earlier work on stochastic differential equations and fractional perturbations.
The associated stochastic dynamics is:
B-Spline Bases and Grid Extension
B-splines provide compact support, controlled regularity, and numerical stability. A univariate activation is represented as:
with grid extension improving boundary accuracy and stability [6]. This representation is particularly suited to economic systems exhibiting localized instabilities, abrupt transitions, and regime-dependent behaviors.
5. KAN-B-Splines vs ChebyKAN
Kolmogorov-Arnold Networks can be parameterized using different functional bases. Two families dominate the recent literature: B-splines (used in original KAN) and Chebyshev polynomials (used in ChebyKAN). These two approaches exhibit very different structural properties, influencing numerical stability, interpretability, and approximation capacity.
5.1. B-Splines: Local Basis, Stability, and Fine Control
B-splines form a local basis: each function
is nonzero only on a compact interval. This locality offers several advantages: local control, numerical stability, and adaptation to extreme phenomena via grid extension.
In an RKHS, the representation
provides a direct energy interpretation: the norm
measures the local roughness of the function.
5.2. ChebyKAN: Global Basis, Spectral Expressiveness, and Stabilized Depth
ChebyKAN uses Chebyshev polynomials:
which form an orthogonal basis on
. Unlike B-splines, Chebyshev polynomials are global: each
is nonzero over the entire domain.
This globality provides strong spectral expressiveness, making ChebyKAN suitable for modeling global cycles, long-range dependencies, and high-frequency oscillations in economic systems.
5.3. Synthetic Comparison
Locality vs globality: B-splines are local; Chebyshev polynomials are global.
Stability: B-splines are highly stable; Chebyshev polynomials require careful normalization.
Energy interpretation: B-splines correspond to local energy; Chebyshev to spectral energy.
Economic applications: B-splines are ideal for localized crises; Chebyshev for global cycles.
6. Advanced Energy Analysis of the Monetary Model
We consider the refined stochastic formulation of the monetary variable:
where the monetary energy is defined as:
This formulation is consistent with classical stochastic perturbation theory [8] and provides a geometric interpretation of monetary instability. It also aligns with earlier work on stochastic differential equations and fractional perturbations, reinforcing the relevance of energy-based modeling for unstable monetary systems.
6.1. Energy Decomposition: Local vs Spectral
Depending on the chosen functional basis, the energy decomposes differently.
1. Local energy (B-splines).
where each coefficient
corresponds to a specific region of the monetary domain. A local increase in energy indicates a monetary tension zone.
2. Spectral energy (Chebyshev polynomials).
where coefficients
measure oscillation intensity at different frequencies. High-frequency energy signals rapid instability.
6.2. Attractors, Crises, and Regime Transitions
The stochastic dynamics
describes a system where:
local minima of
are monetary attractors;
saddle points correspond to transition thresholds;
high-energy zones identify potential crises.
This interpretation is consistent with classical dynamical systems theory [8] and with financial instability mechanisms described in [7]. The energy landscape provides a natural geometric representation of monetary stress, crisis onset, and stabilization phases.
6.3. Economic Interpretation
High local energy (B-splines)
localized monetary tension.
High spectral energy (Chebyshev)
global instability and rapid cycles.
Diffusion
sensitivity to external shocks.
7. Original Malagasy Monetary Instability Model
The original model, introduced in, is formulated as:
Each drift component corresponds to a KAN activation:
The diffusion term
corresponds to the stochastic component in the KAN-RKHS-Energy reformulation. This interpretation is consistent with classical stochastic perturbation theory [8] and with the earlier analysis of stochastic differential equations in.
8. Integration of the Heterogeneous Rationality Monetary Model
To illustrate how classical monetary models naturally embed into the proposed KAN-RKHS-Energy framework, we revisit the heterogeneous rationality model developed in. The population is composed of rational agents (coherent expectations) and non-rational agents (equiprobable beliefs). The monetary variable
aggregates these expectations.
8.1. Two-State Formulation
Let the economy be subject to two stochastic states
, with consumption levels:
Rational agents assign probability
, non-rational agents
. Expected consumption:
Let
denote the social weight of rational agents. Aggregate monetary variable:
8.2. Energy Representation
Monetary dynamics follow:
Drift induced by expectation discrepancy:
Quadratic monetary energy:
This representation provides a natural geometric interpretation of expectation aggregation, rational vs non-rational behavior, and monetary tension zones.
8.3. KAN Representation (Harmonized Notation)
The drift can be represented as a univariate KAN activation expanded in a B-spline basis:
where
are drift coefficients (aggregation of rational/non-rational expectations) and
are B-splines of degree
. This representation allows natural extensions to nonlinear distortions, asymmetric learning, and regime-dependent expectations.
9. Conceptual Schema
Figure 1 summarizes the monetary model in the KAN-RKHS-Energy framework. It highlights the conceptual link between heterogeneous rationality, KAN activations, the monetary energy function, and the emergence of attractors or crises.
Figure 1. Conceptual link between the heterogeneous rationality model and the KAN-RKHS-Energy framework.
10. Extension of the Hilbert-Energy Framework with
3-Splines
Before introducing the figures, we note that the transition from B-splines to 3-splines is illustrated in Figure 2, which highlights the additional flexibility introduced by the tension and bias parameters.
We extend the Hilbert-Energy framework by introducing 3-splines as the functional basis for KAN activations. This preserves the variational structure while improving local flexibility and the ability to model asymmetric ruptures.
10.1. Activation Representation
where
are KAN coefficients and
are 3-splines parameterized by tension
and bias
.
10.2. Energy Structure
where
is the Gram matrix of the B-spline RKHS. The introduction of tension and bias parameters modifies the local curvature and asymmetry of the activation functions, allowing finer modeling of monetary ruptures.
10.3. Gradient Flow
when
, the drift becomes asymmetric, which is relevant for monetary crises, regime shifts, and asymmetric learning dynamics.
11. Functional Illustrations
Figure 2. Transition from B-spline basis to 3-spline basis.
Figure 3. Effect of tension parameter
: higher
yields sharper curvature.
Figure 4. Effect of bias parameter
: local asymmetry of the response.
Figure 5. Monetary model as a special case of the KAN-B-splines/3-splines RKHS framework.
Figure 2 illustrates the transition from B-splines to 3-splines. Figure 3 shows the effect of the tension parameter
. Figure 4 shows the effect of the bias parameter
. Figure 5 presents the monetary model as a special case of the KAN-RKHS-Energy framework.
12. Numerical Validation
We simulate the monetary dynamics over 100 monthly steps using the parameters:
Results
The simulation reveals:
These results are consistent with the energy landscape interpretation developed in Sections 6 and 7, where attractors correspond to local minima of
and crises correspond to high-energy zones.
13. Goodness-of-Fit and Statistical Evaluation
The statistical evaluation of the fitted monetary model yields:
All drift coefficients satisfy
, indicating statistical significance of the estimated functional components. The high
confirms that the KAN-RKHS-Energy formulation captures the main features of the observed monetary dynamics.
These results validate the relevance of combining KAN activations, RKHS geometry, and energy-based modeling for unstable monetary systems.
14. Conclusions
We have presented a general framework combining Kolmogorov-Arnold Networks, reproducing kernel Hilbert spaces, and an energy-based formulation for modeling complex systems. This framework makes it possible to represent nonlinear dynamics in an interpretable, stable manner compatible with the analytical requirements of economic systems.
The integration of B-splines with grid extension plays a central role: it captures extreme behaviors, improves boundary accuracy, and provides a multiscale structure adapted to real economic phenomena.
The extension using 3-splines further strengthens this approach by introducing controlled asymmetry and local refinement of the energy structure, particularly suited to unstable monetary systems and regime transitions. The application to the Malagasy monetary instability model illustrates the power of this formulation: the model, reformulated in an RKHS, reveals an underlying energy structure that identifies attractors, tension zones, and rupture points.
This functional reading opens the way to finer analyses of emerging monetary systems, especially in contexts of institutional vulnerability or external pressures. This work thus establishes a solid foundation for modern economic modeling, unifying functional theory, interpretable machine learning, and energy analysis.
Appendix: Numerical Simulation of the Heterogeneous Rationality Drift
import numpy as np
import matplotlib. pyplot as plt
T = 20
gamma = 0.184
c_H, c_L = 10, 5
p_r = 0.7
p_i = 0.5
states_r = np.random.binomial (1, p_r, T)
states_i = np. random. binomial (1, p_i, T)
c_r = np. where (states_r == 1, c_H, c_L)
c_i = np. where (states_i == 1, c_H, c_L)
M = gamma * c_r + (1 - gamma) * c_i
plt. plot (M, label = “Aggregate monetary variable”)
plt. plot (c_r, '--', label = “Rational agents”)
plt. plot (c_i, '--', label = “Non-rational agents”)
plt. legend ( )
plt. grid (True)
plt. show ( )