Manuscript Offprint

arXiv:2609.11431

LLMs as Post-hoc Auditors of Physiological Plausibility in Symbolic Regression: A Clinician-Evaluated Case Study

Jorge López-Varela, J. Ignacio Hidalgo, José-Manuel Muñoz, Omar Costilla-Reyes, Esther Maqueda, Jesus Moreno-Fernandez, Tomás González-Vidal, J. Manuel Velasco, Oscar Garnica

Jorge López-Varela [0009−0005−6868−0019]1^{[0009-0005-6868-0019]1}, J. Ignacio Hidalgo 1,10^{1,10} [0000−0002−3046−6368]^{[0000-0002-3046-6368]}, José-Manuel Muñoz 2^{2} [0009−0007−7134−8708]^{[0009-0007-7134-8708]}, Omar Costilla-Reyes 6^{6} [0000−0001−8331−7262]^{[0000-0001-8331-7262]}, Esther Maqueda MD 3^{3}, Jesus Moreno-Fernandez, MD 4,5^{4,5} [0000−0002−9703−1094]^{[0000-0002-9703-1094]}, Tomás González-Vidal MD 7,8,9^{7,8,9}, J. Manuel Velasco 1,10^{1,10}, and Oscar Garnica 1,10^{1,10}

1^{1} Computer Architecture Department, Universidad Complutense de Madrid, Spain. jorgsa15@ucm.es, hidalgo@ucm.es, mvelascc@cum.es, ogarnica@ucm.es

2^{2} Universidad Autónoma de Baja California, México

3^{3} Endocrinology and Nutrition Department. Hospital Universitario de Toledo, Spain

4^{4} Endocrinology and Nutrition Department. Ciudad Real General University Hospital. Obispo Rafael Torija St. 13005. Ciudad Real. Spain.

5^{5} Castilla-La Mancha Health Research Institute (IDISCAM). Toledo. Spain

6^{6} Equ Healthcare, Watertown, MA, 02472, USA

7^{7} Department of Endocrinology and Nutrition, Hospital Universitario Central de Asturias/University of Oviedo, Spain.

8^{8} Inst. Investigación Sanitaria Principado de Asturias (ISPA), Oviedo, Spain.

9^{9} Inst. Universitario Oncología Principado de Asturias (IUOPA), Avenida de Roma s/n, 33011, Oviedo, Spain uo302763@uniovi.es

10^{10} Bioinspired Intelligence Ltd., Pozuelo de Alarcón, Spain

Abstract. Genetic Programming and its variants, such as grammatical evolution, are widely used in Symbolic Regression to derive mathematical expressions from multivariate data. In addition to predictive accuracy, models are appreciated for their potential to provide interpretability, offering explicit equations that relate input variables to outcomes. However, achieving interpretability and plausibility remains challenging, as evolved models may be complex or scientifically inconsistent. In this study, we explore whether Large Language Models, can assist in improving the explainability of Symbolic Regression models generated by evolutionary computation methods. Building upon our previous work on estimating body fat percentage using grammar-based Genetic Programming, we investigate the use of LLMs as post-processing tools to analyze and rank evolved expressions according to their interpretability and medical plausibility. Four symbolic expressions are analysed by three LLMs over three repeated runs, and the resulting interpretations and rankings are assessed by a panel of three clinicians. Across the three LLMs, comparative model-ranking outputs received more favorable clinician assessments than isolated term-level interpretations. However, the LLMs also produced physiologically and mathematically questionable explanations, indicating that they are better suited to comparative auditing under expert oversight than to autonomous validation.

Keywords: Grammatical Evolution · Obesity · Symbolic regression

The present work is an extended version of a paper submitted into a journal.

al et al.

1 Introduction

Genetic programming (GP) [13] is a technique used to automatically generate, or evolve, computer programs that can perform specific tasks. One of its most widely used applications is to obtain symbolic regression (SR) [12] models from a supervised learning dataset. With the advancement of other artificial intelligence (AI) techniques, it has been recognized as a technique that offers interpretability. This statement is based on the fact that SR provides equations that use the variables of the problem and, therefore, we can find an interpretation for the model.

There are two other properties that are related to explainability, namely interpretability and plausibility. A model is said to be interpretable if the final user can understand the meanings of the terms in a direct manner. However, this is not always the case; several problems may arise in the interpretability of SR models. A model, i.e., an equation, can have so many terms and be so complex that it may be very difficult to explain [12]. In this paper we will use the term interpretability in the context of extracting insights from the model, we acknowledge that there is no consensus of a formal definition in the literature and this is likely context based. However, we will also describe the plausibility of the models with the Large language models (LLMs) and the medical expert.

On the other hand, a model is considered plausible if, regardless of whether it is interpretable or explainable, it aligns with scientific evidence or proposes relationships that are physically or medically plausible. For instance, a model may also contain terms whose units do not physically agree with the function or variable it represents. We may also obtain models that display terms, which, although interpretable, reveal relationships that have not been validated by scientific evidence. This last point is a bit different, as it may be that the scientific evidence is incomplete or that the reasoning conducted is biased by what was mentioned or demonstrated in the literature. One of the domains where this controversy arises is in the application of evolutionary algorithms in medicine and healthcare. Discovering this evidence in the equations may not be an easy task for the person responsible for obtaining the model if they lack a thorough knowledge of the area of application. Similarly, the professional requesting the model may not be familiar with reading and interpreting mathematical equations such as those provided by an SR tool.

LLMs are deep learning models trained on large volumes of text with the aim of understanding, interpreting, and generating natural language. Thanks to transformer-based architectures [36], these models are capable of capturing long-term dependencies and generating coherent text, as well as performing complex natural language processing (NLP) tasks such as summarization, question answering, text classification, and others. Their main contribution is that they can be adapted to specific areas or tasks with minimal additional information based on their prior training with enormous volumes of data (pre-training).

LLMs are also being used to analyze and interpret models obtained using different GP techniques, such as the work in [3], where expressions for detecting hypoglycaemia obtained with Grammatical Evolution (GE), a version of GP, are analyzed in a straightforward manner. There are other fields where LLMs are applied to obtain an interpretation as a post-processing tool for models. We hypothesized that LLM can offer explainability in line with medical evidence for SR models. Moreover, we propose using LLMs to select the best model from a set of possible models with similar quality, as is often the case after running an Evolutionary Algorithm. We will try to test this hypothesis for the problem presented in [21].

This paper is a continuation of the work presented in [21], where several models using three evolutionary computation methods guided by grammars: GE [27], Context-Free Grammar Genetic Programming (CFG-GP) [41], and Dynamic Structured Grammatical Evolution (DSGE) [18] were obtained for the estimation of the body fat percentage (BFP). Those GP variants were selected because they enable the helpful configuration of the solution space and generate symbolic expressions that can potentially enhance both predictive performance and model transparency.

The work in [21] addressed the comparison of the mentioned algorithms with the QLattice framework, showing that grammatical evolution methods yield competitive and interpretable results, however, the selection of the final model was guided only by the lowest value of the mean square error of the solutions. In this paper, we propose utilizing LLMs to analyze solutions obtained by SR in terms of interpretability and plausibility, and then select the best model accordingly. We perform an analysis of the solutions obtained with the three methods and compare the different alternatives.

The main difference between interpretability and explainability, studied in fields such as Explainable Artificial Intelligence (XAI), is the inherent understanding of the model. An interpretable model, such as a mathematical expression obtained with SR, can be understood without the necessity of input-output pairs to infer its behavior, while XAI studies the use of techniques based on these pairs to explain the decisions made by a non-interpretable model. However, not all SR models are equally interpretable.

Additionally, a group of three physicians studies not only the solutions but also the interpretations performed by the LLMs. The results suggest that integrating LLM reasoning into the SR workflow may provide a new path toward interpretable, and plausible symbolic models.

The rest of this paper is structured as follows: Section 2 presents previous works on the use of LLMs for interpretability of models. Section 3 explains the concepts of LLMs and Prompt Engineering used in this work. Section 4 defines the methodology used. Sections 5, 6, and 7 exposes the results obtained with Gemma3, DeepSeek-R1, and GPT-5.1 Thinking respectively. Section 8 concludes the paper.

References (43)