Manuscript Offprint

arXiv:2611.02634

Evolving Explanations: Complexity-Adaptive Refinement of Faithful Explanations for Symbolic Regression

Elisabeth Mayrhuber, Ting Hu, Stephan Winkler

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Elisabeth Mayrhuber¹,², Ting Hu³, and Stephan Winkler¹

¹ Bioinformatics Research Group, University of Applied Sciences Upper Austria elisabeth.mayrhuber@fh-hagenberg.at

² Computer Vision Lab, TU Wien, Vienna, Austria

³ Machine Intelligence and Biocomputing Laboratory, Queen's University, Kingston, Canada

Abstract. Natural-language explanations generated by large language models (LLMs) for machine learning models often seem fluent but are not necessarily faithful to the underlying model. We formalize this mismatch as a faithfulness gap and propose a complexity-adaptive refinement framework for symbolic regression that iteratively generates and validates explanations until numerical agreement with the target expression is achieved. The approach follows a two-stage pipeline: an explainer LLM produces textual descriptions at increasing levels of detail, while an independent validator LLM extracts a symbolic expression that is compared against the original model. This process is framed as a discrete search over explanation space, where complexity is minimized subject to a faithfulness constraint. We evaluate the method on real-world and synthetic datasets, with a total of 250 runs across varying model complexities. The explanation refinement loop achieves an overall pass rate of 84.0%, with most explanations converging at low complexity levels and only a small fraction requiring detailed descriptions. Our results demonstrate that faithful explanations can be obtained with minimal necessary complexity by explicitly closing the explanation loop through symbolic validation.

Keywords: Evolutionary Computation · Explainable Artificial Intelligence · Symbolic Regression · Large Language Models

1 Introduction

Large Language Models (LLMs) are widely used to generate text for various tasks, including explanations of machine learning (ML) models [14,2]. Despite the widespread use of LLMs for explanation generation, their faithfulness to the underlying model is rarely verified. An unfaithful explanation is worse than no explanation: it can cause a domain expert to trust or reject a model for the wrong reasons, violating the core purpose of explainability [12]. This is particularly problematic for symbolic regression (SR) models. Unlike black-box models, SR

Mayrhuber et al.

produces an explicit mathematical expression that can in principle be explained precisely, yet LLMs tend to paraphrase, round coefficients, or omit interaction terms, producing explanations that sound plausible but do not faithfully reflect the discovered formula [1].

We refer to this as the faithfulness gap (Equation 1): the difference between a model ff and the behavior implied by a textual explanation gg.

δ(g,f)=max⁡x∈X∣g(x)−f(x)∣(1)\delta(g,f)=\max_{\mathbf{x}\in\mathcal{X}}|g(\mathbf{x})-f(\mathbf{x})| \tag{1}

An explanation is considered faithful if δ(g,f)≤τ\delta(g,f) \leq \tau for a predefined tolerance τ\tau. The complexity of a faithful explanation is closely related to the complexity of the underlying symbolic model. We therefore propose an iterative generation strategy that incrementally increases explanation complexity until δ(g,f)≤τ\delta(g,f) \leq \tau is met. This provides the possibility to find the explanation with the minimum complexity needed to faithfully explain the model.

This iterative explanation generation can be viewed from an evolutionary computation perspective as a search problem in a discrete explanation space. With increasing explanation complexity interpretability is traded for accuracy a phenomena that was already studied in the past [1].

We propose a complexity-adaptive explanation refinement loop that iteratively generates explanations from minimal to increasingly detailed complexity levels. The two staged approach works using two functionally independent LLM agents — differentiated by system prompt, temperature, and output format, where one generates global explanations (explainer) for a given symbolic expression and the second one verifies (verifier) the explanation by extracting a symbolic expression from a given explanation. The faithfulness of the explanation can therefore be assessed by calculating the numerical equivalence of the two symbolic expressions.