In-Context Symbolic Regression for Robustness-Improved Kolmogorov-Arnold Networks

Francesco Sovrano, Lidia Losavio, Giulia Vilone, Marc Langheinrich
3/16/2026
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Symbolic regression aims to replace black-box predictors with concise analytical expressions that can be inspected and validated in scientific machine learning. Kolmogorov-Arnold Networks (KANs) are well suited to this goal because each connection between adjacent units (an "edge") is parametrised by a learnable univariate function that can, in principle, be replaced by a symbolic operator.

Show full abstract

In practice, however, symbolic extraction is a bottleneck: the standard KAN-to-symbol approach fits operators to each learned edge function in isolation, making the discrete choice sensitive to initialisation and non-convex parameter fitting, and ignoring how local substitutions interact through the full network. We study in-context symbolic regression for operator extraction in KANs, and present two complementary instantiations. Greedy in-context Symbolic Regression (GSR) performs greedy, in-context selection by choosing edge replacements according to end-to-end loss improvement after brief fine-tuning. Gated Matching Pursuit (GMP) amortises this in-context selection by training a differentiable gated operator layer that places an operator library behind sparse gates on each edge; after convergence, gates are discretised (optionally followed by a short in-context greedy refinement pass). We quantify robustness via one-factor-at-a-time (OFAT) hyper-parameter sweeps and assess both predictive error and qualitative consistency of recovered formulas. Across several experiments, greedy in-context symbolic regression achieves up to 99.8% reduction in median OFAT test MSE.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sovrano2026incontext,
  title  = {In-Context Symbolic Regression for Robustness-Improved Kolmogorov-Arnold Networks},
  author = {Francesco Sovrano and Lidia Losavio and Giulia Vilone and Marc Langheinrich},
  year   = {2026},
  eprint = {2603.15250},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.15250v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.15250.svg)](https://codeofpaper.com/paper/2603.15250)

Discussion