LLM Embeddings for Deep Learning on Tabular Data Boshko Koloski Andrei Margeloiu Xiangjian Jiang, Blaž Škrlj Nikola Simidjievski Mateja Jamnik Abstract Tabular deep-learning methods require embedding numerical and categorical input features into high-dimensional spaces before processing them. Existing methods deal with this heterogeneous nature of tabular data by employing separate type-specific encoding approaches. This limits the cross-table transfer potential and the exploitation of pre-trained knowledge. We propose a novel approach that first transforms tabular data into text, and then leverages pre-trained representations from LLMs to encode this data, resulting in a plug-and-play solution to improving deep-learning tabular methods. We demonstrate that our approach improves accuracy over competitive models, such as MLP, ResNet and FT-Transformer, by validating on seven classification datasets. 1 Introduction and Background Tabular data is common in domains such as education [ 49 ] , banking [ 33 , 17 ] and medicine [ 20 , 41 , 48 ] . Thus, in recent years, tabular deep learning for predictive tasks has gained traction, with many architectures achieving state-of-the-art results [ 47 ] . A key challenge in applying neural networks to tabular data is determining how to effectively represent the features . Tabular data is typically represented with a mix of numerical and categorical features, living in high dimensions [ 25 , 32 ] . A common approach to effectively representing features involves encoding numerical features differently from categorical ones [ 13 , 1 , 46 , 40 ] . Once separated, various representation learning techniques are employed [ 4 ] . For example, numerical features are often transformed and then encoded using linear transformations, while categorical features are typically represented with lookup embeddings [ 6 , 12 , 45 ] . These embeddings provide a foundation for architectures that ensure permutation invariance at the feature level, such as transformers [ 42 ] . However, this approach is limiting because it separates features and trains individual embeddings from scratch. This is particularly restrictive for domains where data is scarce and usually consists of mixed numerical and categorical features. TabPFN [ 18 ] is a pre-trained tabular transformer trained on synthetic classification datasets, achieving competitive results and learning useful representations for various downstream predictors [ 31 ] . Despite its success, TabPFN has limited adaptability to real-world datasets, it only supports numerical data, and is constrained by the number of features and samples it can handle. Recently, TPBERTa [ 46 ] was proposed as an approach where features are first encoded separately based on their type, and then the RoBERTa [ 29 ] language model is fine-tuned across datasets. This method shows promising potential of utilising underlying LLM as a backbone, however it requires prior separate processing of numerical and categorical features, as well as tuning a relatively big model, which is limited by the number of features it can handle. Zhang et al. [ 50 ] showed the benefit of transforming tabular data to text, and learning representations by auto-regressively pre-training an LLM for downstream tasks. TabLLM [ 16 ] demonstrates that LLMs can be fine-tuned for downstream tabular tasks, achieving competitive results in few-shot settings. However, this approach is computationally expensive for larger datasets and limited by the number of features it can handle, as the context window of LLMs is constrained. The majority of proposed deep-learning tabular approaches disentangle the feature names from their values when encoding, thus restricting the model’s ability to learn meaningful interactions between them. On the other hand, representations acquired from LLMs, have shown great potential for retrieval and classification tasks [ 34 ] even for tabular data [ 30 ] . This opens the question: Can LLM representations be effectively utilised as feature encoders within current high-performant tabular deep-learning frameworks? To answer this question, in this paper we investigate the capabilities of recent LLM models as a new, training-free representation-learning method for tabular data. Our approach (see Figure 1 ) represents each feature and its value interactions as a sentence, which is subsequently encoded by an LLM [ 2 ] , enabling feature-to-value interaction, regardless of the heterogeneity of features. We demonstrate that these embeddings, without additional fine-tuning of the LLM, can enhance the performance of state-of-the-art models like FT-Transformer, and enable the transfer of previously acquired LLM knowledge. Figure 1 : Schema of our proposed methodology. (1) The input is first serialised, feature by feature, into sentences. (2) Large Language Models (LLMs) are used to extract embeddings of the inputs. (3) We project and adapt the embeddings with an MLP. (4) We apply trainable models that utilise the LLM embeddings for feature encoding. The main contribution of this work is a new LLM-based encoding method of tabular data, that operates effectively regardless of the feature type or the domain from which the data originates. This method can be easily integrated with any model that uses input-feature embeddings, enhancing downstream results. We demonstrate that the method performs well regardless of the chosen LLM and can be applied to diverse classification datasets and different learners. 2 Methodology Formal definition. Let D be a tabular dataset consisting of N samples and M features describing the input matrix X , used to predict the target vector y , where (X_{i},y_{i}) denotes the input features and the label of the i -th row. Let g be an LLM-embedder that maps each feature m\in M to a d -dimensional space \mathbb{R}^{M\times d} . By mapping the whole input X , we obtain the embedded matrix E(X)\in\mathbb{R}^{N\times M\times d} . Finally, a trainable model f (e.g., FT-Transformer) is trained on the embedded data to learn the mapping from the embedded input to the output, f(\theta;E)\mapsto\hat{y} . Feature Encoding with LLMs. We use LLMs as the encoding function g , which maps the input feature values to the LLM’s embedding space. In particular, we first serialise the features into text and then embed the serialised text through the LLM to generate LLM-based embeddings. Previous work has shown that different prompting strategies have minimal impact [ 16 ] . Following this, we serialise the features using the template: This {col} is {value}. 1 1 1 Examples of serialisation are shown in Appendix G . Embedding adaptation. Next, we apply a shallow, one-layer neural network on top of the obtained LLM representations to project the LLM embeddings as inputs for the trainable model. The motivation behind this is twofold: (a) To ensure a fair comparison between models by projecting all embeddings to the same dimension, thus forcing the models to operate within the same dimensionality. (b) While the base variant models update their randomly initialised layers by fitting to the data, this approach introduces a similar adaptability mechanism to the frozen LLM embeddings, ensuring that they can be aligned with the downstream task. Trainable Models. Recent work [ 14 ] indicates that approaches like ResNet and FT-Transformer generally provide stable and strong performance on various tabular datasets. Therefore, in this paper, we evaluate these methods alongside a baseline MLP, using the same model architectures across all experiments while focusing solely on input embeddings: • ResNet: Three layered variant with layers 256, 128 and 32 neurons; with Skip connections and SELU activation function, similar as in [ 40 ] ; batch norm is applied. • Multi-layer Perceptron (MLP): Similarly, 3 layered MLP with 256, 128 and 32 neurons. • FT-Transformer [ 13 ] : We employ the FT-transformer variant with 4 layers and 8 heads, aggregating on the ‘CLS’ token. We exclude other multi-head attention and transformer variants, such as the TabTransformer model, as they become equivalent to the FT-Transformer when all features are encoded uniformly. 3 Evaluation We assess the impact of LLM-based embeddings on the classification accuracy on downstream tasks. To this end, we select seven datasets from three different domains: general, banking, and medical. Further details about the datasets can be found in Appendix D . To avoid contamination, we select the BGE [ 30 ] embedding 2 2 2 https://huggingface.co/BAAI/bge-base-en-v1.5 as the LLM backbone representation, since it performs well on the MTEB benchmark [ 34 ] , and works well for tabular data retrieval [ 23 ] . BGE was trained on text-only input formats without using any training steps, where data was translated from other formats (e.g., tables) into text to enhance the language modelling process. We address three research questions : (a) Do LLM-based embeddings improve the performance of trainable predictors on downstream tasks? (b) Are LLM embeddings effective only across specific domains, or do they perform well in general contexts? (c) How does the choice of LLM affect the downstream performance? Experimental Setup. We evaluate the impact of training tabular neural networks with and without LLM-based embeddings. We fix the dimensionality of the embedding layer to 1024, independent of the model architecture, to ensure fairness. The weights of the LLM are frozen during model training. We perform 10 random train/test splits (with different random seeds), using a 70/30 stratified split of the data, and report the accuracy on the test set. We use 20% of the training split for validation. Models are trained for up to 100 epochs, with early stopping set to a patience of 10 and a minimum improvement delta of 0.01 in terms of validation loss. 4 Results and Discussion Table 1 presents the results from the comparison between models with LLM embeddings (denoted as “with LLM”) and the base variants (“base”). We find that, on average, the LLM-based embeddings produce better results, outperforming the base trainable models. Table 1 : Impact of the LLM embeddings, compared to the base versions of the DL models. ResNet MLP FT-Transformer Dataset with LLM base with LLM base with LLM base blood transfusion 74.36 ± 1.99 75.16 ± 1.84 75.42 ± 1.17 76.53 ± 1.51 75.20 ± 1.06 76.00 ± 0.01 credit-g 74.00 ± 1.66 70.50 ± 0.81 74.20 ± 1.75 70.00 ± 0.00 73.63 ± 1.74 73.37 ± 1.23 bank-marketing 90.08 ± 0.23 89.72 ± 0.39 90.10 ± 0.16 88.42 ± 0.17 90.33 ± 0.21 89.14 ± 0.21 diabetes 72.33 ± 2.35 71.35 ± 2.95 73.00 ± 1.85 68.52 ± 3.02 71.51 ± 2.20 65.25 ± 2.93 heart 57.80 ± 2.21 59.34 ± 1.47 58.35 ± 2.66 54.61 ± 1.47 59.89 ± 3.32 57.80 ± 2.21 hepatits 79.78 ± 4.04 76.59 ± 3.47 80.00 ± 3.64 78.51 ± 2.54 80.43 ± 2.98 78.72 ± 0.01 student-performance 22.50 ± 4.47 21.36 ± 3.89 22.73 ± 4.14 20.91 ± 4.76 23.63 ± 6.70 20.91 ± 6.32 Average 67.98 66.43 67.69 65.22 68.09 65.03 Model-wise, the largest gain is for the FT-Transformer (3.05%), which is not surprising, since the transformer mechanism enables powerful interactions between the LLM embedded features to be learned. Dataset wise, we only notice decrease in performance for the ‘blood transfusion’, where the base models outperforms the LLM variant for all three learners. We hypothesise that this is due to the specificity of the dataset, as all four features are numerical, and the domain is niche, not sufficiently covered by a general-purpose LLM such as BGE. Moreover, representing numerical data has been shown to be a bottleneck for general reasoning tasks [ 38 ] , which could have impacted the results. On the other hand, for datasets where categorical features are widely present, such as ‘credit-g’ and ‘student-performance’, we observe consistent performance gains, suggesting that DL methods can significantly benefit from contextualising input by injecting feature-to-value interactions via LLMs. Additionally, we note that for datasets where feature names are descriptive and do not contain dashes, such as the medical ‘hepatitis’ datasets, our approach can outperform state-of-the-art methods. Next, we investigate how the choice of an LLM impacts the downstream performance . We select three datasets where the LLMs have varying impact compared to the base models: ‘heart’, ‘hepatitis’, and ‘student-performance’. Our goal is to determine if the performance improvement depends on the size and capabilities of the LLM. We investigate several variants, including a decoder-based LLaMa3 embeddings [ 10 , 2 ] (with 4096 dimensions) and an encoder-based mini-LM [ 43 ] (with 386 dimensions). Figure 2 : Comparing relative test performance of base models and their LLM-enhanced variants. Using LLMs generally improves performance, with BGE showing the most consistent improvements. Figure 2 suggests that selecting larger LLMs, such as LLama3, generally leads to improved performance. However, in some cases, such as the ‘heart’ dataset, where feature names are highly specific, the model’s performance can deteriorate. These findings imply that using bigger models, trained on more general sources, may yield better results for downstream tasks. However, we find that model selection tends to influence the magnitude of the performance change rather than the direction, with general trends prevailing across different models, on the tested datasets. We observe that the smaller BGE model represents a good choice overall for downstream tasks. As with other tasks [ 9 ] , one needs to be careful when selecting and benchmarking LLMs on tabular tasks, as they might be contaminated during pre-training [ 5 ] by using publicly available data, such as some of the ones considered in this work (e.g., the ‘heart’ dataset [ 20 ] from the UCI repository). Finally, we compare the LLM-enhanced models with competitive machine-learning baselines (see Table 2 in the Appendix E ). We find that the LLM-enhanced models (with BGE), while having an improved performance, struggle to outperform ensemble models such as Random Forests and XGBoost on these tasks. This is inline with similar findings reported in related work [ 16 , 14 ] , showing that strong tree-based ensemble learners can still outperform tabular network models. Nevertheless, we note that in all cases but one (‘blood transfusion’), our proposed LLM embedding-based models manage to further narrow this gap and produce a comparable performance to tree-based learners. 5 Conclusion and Further Work Our results demonstrate that LLM embeddings can: (a) enhance the performance of highly effective tabular deep-learning methods (refer to Appendix H for statistical tests), (b) be applied across a wide range of domains, and (c) leverage various LLMs as embedders, with even smaller models like BGE showing strong performance. While the embeddings improve base model performance and narrow the gap, they generally still fall behind non-neural models (more discussion of the limitations is in Appedix A ). We further demonstrate in Appendix F that the proposed embeddings effectively capture meaningful properties by semantically grouping various feature-to-value interactions. In the future, we plan to extend our approach to cross-table training and explore how LLMs can better enhance feature-to-value interactions. Contents Appendix A Limitations A limitation of the proposed approach is its increased computational complexity. As each feature-value pair requires querying an additional LLM, complexity scales linearly with the number of features. While embeddings for finite-set features can be cached, continuous inputs require repeated querying, adding a persistent computational load. The results show that the choice of language model might influence downstream performance, contributing to the overall complexity. However, even small LLMs, tuned for embedding textual data, perform well, with BGE embeddings yielding strong results across tasks. Another limitation arises when feature names lack clear descriptions or are domain-specific and not well-covered by the LLM. To address this, integrating formal knowledge from knowledge bases, as suggested by [ 37 ] , may provide a solution. Appendix B Related work Feature Embeddings Embedding features is usually approached depending on the type of feature. Numerical features have traditionally been either transformed using a linear model [ 18 , 13 ] or discretised by a variation of binning techniques [ 46 , 19 ] . Binning as a technique for obtaining a pre-trained tabular deep learning model has shown promising results [ 27 ] . Categorical features are typically embedded via a lookup embedding layer [ 13 , 19 ] , with various techniques influencing their use [ 6 , 12 , 45 ] . Recently, tree-based feature embeddings have shown promising potential [ 46 , 28 ] . Parallel to our work, [ 46 ] explored using word embeddings for embedding only feature names and categorical inputs, though they disentangled and embedded each word separately. To our knowledge, we are the first to explore LLM-based embeddings, both encoder- and decoder-based, for embedding of tabular data. LLMs and Tabular Data Learning on serialised tabular data to text has been prominent in mining relational tabular data [ 35 , 26 ] . With the introduction of pre-trained models, a plethora of tabular models for table understanding and downstream prediction have been proposed, as shown in the recent survey [ 11 ] . The majority of these applications focus on serialising the inputs and fine-tuning large language models for prediction [ 16 , 39 , 50 , 8 ] . Another line of work focuses on using LLMs as classifiers, where inputs are tokenised and mapped to the LLM vocabulary [ 46 ] . The idea of leveraging the potential of LLMs for transfer-learning across tables and feature encoding was shown as useful in [ 44 ] , however they propose different encoding for different input types adding a complexity by design. Recently, focus to incorporate LLM priors by prompting them to order the input features and this was exploited by traditional ML models [ 51 ] showing promising results. LLMs showed remarkable potential as feature engineers as well [ 15 ] . However, using LLMs in this manner is either computationally heavy e.g. fine-tuning or requires careful prompt creation which can be laborious. LLMs and Text Embeddings Semantically embedding texts is one of the main tasks of interest in NLP, resulting in a benchmarking effort called the Massive Text Embedding Benchmark (MTEB) [ 34 ] . Traditionally, encoder-only model variants like sentence-based BERT [ 36 ] were popular, with variants like BGE performing among the top performers [ 30 ] . Recently, focus has shifted towards extracting embeddings from LLMs due to their remarkable capabilities [ 24 ] , where internal model embeddings, e.g., from the LLaMa3 model [ 10 ] , are extracted with [ 2 ] or without tuning [ 21 ] for document representation. Notably, the tokenisation process of LLMs, based on information-theoretic principles with byte-pair encoding techniques prevailing [ 7 ] , has been shown to negatively impact numerical reasoning tasks [ 38 ] . Appendix C Availability and Reproducibility All experiments were conducted in a Singularity environment, and measurements were tracked using Weights and Biases (WandB) to ensure reproducibility of the results. Appendix D Datasets We identified several different datasets based on the number of inputs and their relevance to the related work. We selected datasets from various domains, such as medical and financial, to assess how well the general-domain LLM embeddings can contribute to both general features like those in banking and more specific features such as those in medicine. Each dataset is split into a 70/30 stratified train-test split, and for early stopping, we use 20% of the training data. We use the same splits across methods, to ensure for reproducibility and fairness of evaluation. The following datasets are used: • bank-marketing [ 33 ] : A marketing dataset from a Portuguese bank, where the task is to determine if a customer subscribes to a deposit. • credit-g [ 17 ] : A banking dataset where the goal is to predict whether a given customer has good or bad credit risk for credit allowance. • heart [ 20 ] : A dataset where the goal is to predict the presence of heart disease and its severity, ranging from not present (0) to full presence (4), based on 14 clinical measurements. • diabetes [ 22 ] : A dataset where the goal is to predict whether a patient has diabetes or not. • hepatitis [ 41 ] : A dataset aimed at predicting whether a patient will live or die, given 19 features. • blood transfusion [ 48 ] : A dataset for churn prediction of Taiwanese blood donors, based on four numerical values. • student-performance [ 49 ] : A dataset for prediction of students performance ranked in 7 levels from failure (0) to excellent (7). Table 2 : Dataset Characteristics Dataset Domain #N #F #N/#F #Cat. #Num. Classes Min Support Max Support bank-marketing banking 45211 16 2825.69 9 7 2 11.70% 88.30% credit-g banking 1000 20 50.00 13 7 2 30.00% 70.00% heart medicine 303 13 23.31 0 13 5 4.29% 54.13% hepatitis medicine 155 19 8.16 0 19 2 20.65% 79.35% diabetes medicine 768 8 96.00 0 8 2 34.90% 65.10% blood-transfusion medicine 748 4 187.00 0 4 2 23.80% 76.20% student-performance academics 145 31 4.68 29 2 8 5.52% 24.14% Appendix E Comparison of the LLM-enhanced models to Strong Baselines To further assess the performance of the LLM-enhanced models, with respect to standard approaches for modelling tabular data, we select three strong tabular data learners as per [ 14 ] : Stochastic-Gradient Descent (SGD), Random-Forest (RF) and eXtreme Gradient Boosting (XGB). We fine-tune each with a range of hyperparameters tuned through grid search on the 20% of the training data, for each repetition. • Random Forest (RF) : RandomForestClassifier with hyperparameters: – n_estimators : [50, 100, 200] – max_depth : [None, 10, 20] – min_samples_split : [2, 5, 10] • XGBoost (XGB) : XGBClassifier with hyperparameters: – n_estimators : [50, 100, 200] – learning_rate : [0.01, 0.1, 0.2] – max_depth : [3, 5, 7] • SGD : SGDClassifier with hyperparameters: – loss : [’hinge’, ’log_loss’] – alpha : [0.0001, 0.001, 0.01] – max_iter : [1000, 2000] – tol : [1e-3, 1e-4] The results in Table 3 show that non-neural gradient-boosting trees, still outperform neural models, as found in [ 14 , 16 ] . Table 3 : Comparison of the ResNet, MLP and FT models powered by the LLM embeddings and three strong baselines. Results in bold indicate the best-performance per dataset. dataset SGD XGB RF ResNet MLP FT blood transfusion 58.44 ± 18.46 76.89 ± 2.55 76.84 ± 2.37 74.36 ± 1.99 75.42 ± 1.17 75.20 ± 1.06 credit-g 58.87 ± 18.05 74.93 ± 1.98 75.27 ± 1.38 74.00 ± 1.66 74.20 ± 1.75 73.63 ± 1.74 bank-marketing 75.31 ± 16.93 90.77 ± 0.24 90.52 ± 0.13 90.08 ± 0.23 90.10 ± 0.16 90.33 ± 0.21 heart 47.03 ± 5.62 55.60 ± 2.89 57.25 ± 2.61 57.80 ± 2.50 58.35 ± 2.66 59.89 ± 3.33 hepatitis 77.02 ± 3.30 81.28 ± 3.86 83.19 ± 3.24 79.79 ± 4.04 80.00 ± 3.64 80.43 ± 2.98 diabetes 58.96 ± 11.38 73.64 ± 1.91 75.11 ± 2.48 72.33 ± 2.35 73.00 ± 1.85 71.51 ± 2.20 student-performance 20.91 ± 5.34 28.41 ± 4.04 28.41 ± 4.04 22.50 ± 4.48 22.73 ± 4.15 23.64 ± 6.71 Appendix F Qualitative Visualisation of the Encoded Features In this section, we present visualisations of selected features across different datasets, check Figure 3 . We first embed the features using the proposed template and then project them into two dimensions via PCA. The visualisations show that both categorical and numerical features form meaningful clusters. For example, months, grade point average descriptions, and job titles group together. Interestingly, numerical values such as age, number of pregnancies, and medical measurements (e.g., total blood donated in c.c.) also cluster together. We attribute this semantic grouping to the primary influence of LLM-based embeddings on improved downstream performance. (a) Visualisation of selected features for the ‘blood transfusion’ dataset. (b) Visualisation of selected features for the ‘diabetes’ dataset. (c) Visualisation of selected features for the ‘bank-marketing’ dataset. (d) Visualisation of selected features for the ‘student-performance’ dataset. Figure 3 : Projection of the embedded features with the ‘BGE’ model. For demonstration purposes we show at most 20 randomly selected unique values. Appendix G Examples of Serialised Data We next show an example of serialisation for the ’students-performance’ dataset (Table 4 ) and the ‘blood transfusion’ dataset (Table 5 ). These examples demonstrate that text-readable inputs enable models to better understand tabular data through natural language, which has been shown to be a significant capability of LLMs, as discussed in [ 15 ] . Table 4 : Example of serialised row for the ‘students-performance’ dataset. Feature Value Serialised Feature:Value Student Age 22-25 The Student Age is 22-25. Sex male The Sex is male. Graduated high-school type other The Graduated high-school type is other. Scholarship type 50% The Scholarship type is 50%. Additional work Yes The Additional work is Yes. Regular artistic or sports activity No The Regular artistic or sports activity is No. Do you have a partner No The Do you have a partner is No. Total salary if available USD 135-200 The Total salary if available is USD 135-200. Transportation to the university Bus The Transportation to the university is Bus. Accommodation type in Cyprus rental The Accommodation type in Cyprus is rental. Mother’s education primary school The Mother’s education is primary school. Father’s education secondary school The Father’s education is secondary school. Number of sisters/brothers (if available) 3 The Number of sisters/brothers (if available) is 3. Parental status married The Parental status is married. Mother’s occupation housewife The Mother’s occupation is housewife. Father’s occupation self-employment The Father’s occupation is self-employment. Weekly study hours 6-10 hours The Weekly study hours is 6-10 hours. Reading frequency (non-scientific books/journals) Sometimes The Reading frequency (non-scientific books/journals) is Sometimes. Reading frequency (scientific books/journals) Sometimes The Reading frequency (scientific books/journals) is Sometimes. Attendance to the seminars/conferences related to the department Yes The Attendance to the seminars/conferences related to the department is Yes. Impact of your projects/activities on your success positive The Impact of your projects/activities on your success is positive. Attendance to classes always The Attendance to classes is always. Preparation to midterm exams 1 alone The Preparation to midterm exams 1 is alone. Preparation to midterm exams 2 closest date to the exam The Preparation to midterm exams 2 is closest date to the exam. Taking notes in classes always The Taking notes in classes is always. Listening in classes sometimes The Listening in classes is sometimes. Discussion improves my interest and success in the course never The Discussion improves my interest and success in the course is never. Flip-classroom useful The Flip-classroom is useful. Cumulative grade point average in the last semester (/4.00) <2.00 The Cumulative grade point average in the last semester (/4.00) is <2.00. Expected Cumulative grade point average in the graduation (/4.00) <2.00 The Expected Cumulative grade point average in the graduation (/4.00) is <2.00. Course ID 1 The Course ID is 1. Table 5 : Example of a serialised row for the ‘blood transfusion’ dataset. Feature Value Serialised Feature:Value age 63.0 The age is 63.0. sex 1.0 The sex is 1.0. cp 1.0 The cp is 1.0. trestbps 145.0 The trestbps is 145.0. chol 233.0 The chol is 233.0. fbs 1.0 The fbs is 1.0. restecg 2.0 The restecg is 2.0. thalach 150.0 The thalach is 150.0. exang 0.0 The exang is 0.0. oldpeak 2.3 The oldpeak is 2.3. slope 3.0 The slope is 3.0. ca 0.0 The ca is 0.0. thal 6.0 The thal is 6.0. Appendix H Statistical Comparison We conduct a hierarchical Bayesian t-test [ 3 ] across datasets and models to assess the statistical significance of the impact of LLM-based embeddings. In each setting, we use 7 datasets and perform 10 measurements per model. Following the recommendations in [ 3 ] , we set the region of practical equivalence to 0.1%. Our results 3 3 3 When reproducing, note that results may vary non-significantly due to the Monte Carlo sampling employed in the method. (consult Figure 4 ) demonstrate that our method is statistically more likely to outperform learned embeddings, supporting the applicability of our approach to current deep learning methods. (a) Visualisation of Bayesian Test for the ResNet architecture. (b) Visualisation of Bayesian Test for the MLP architecture. (c) Visualisation of Bayesian Test for the FT-Transformer architecture. Figure 4 : Hierarchical Bayesian t-test assessing the probability that the LLM-based embeddings outperform the base embeddings across models, 7 datasets, and 10 random seeds.