We introduce an iterative framework that automates the extraction of interpretable, schema-bound categorical features from unstructured text for tabular prediction models. To navigate the feature space, a generator LLM proposes semantic definitions, a separate extractor LLM materializes the features, and a downstream tabular model evaluates their predictive performance. We optimize this search by translating explicit model errors, such as AUC ranking inversions, into natural-language feedback, steering the LLM to resolve specific predictive failures. Evaluated across three public datasets, this error-driven loop accelerates feature discovery by up to 3× compared to unguided search. Empirically, the generated features demonstrate strong multi-view complementarity, strictly outperforming any subset when combined with TF-IDF and dense embeddings. Finally, the framework guarantees instance-level interpretability: the discovered features dominate SHAP importance rankings and provide a fully transparent, semantic audit trail for every prediction.
Figures & tables
Method
Input Modality
Search Space
Feedback Signal
Live Inference
CAAFE ( Hollmann et al., 2023 )
Tabular only
Python code transformations
Zero-shot (No iterative feedback loop)
Fast (LLM-free)
OPRO ( Yang et al., 2024 )
Unstructured text
Free-form text prompts
Scalar metrics (Past fitness scores)
Slow (LLM call)
Ours
Raw text → Tabular
Schema-bound categorical definitions
Textual gradients (error-based)
Fast (LLM-free)
Table 1: Conceptual comparison of LLM-driven optimization and feature engineering frameworks. Unlike prior work, our approach bridges unstructured text and tabular prediction by iteratively optimizing schema-bound categories using explicit model failures, all while maintaining LLM-free real-time inference.
Figure 1: Agentic recommender workflow. An architect proposes features, an executor evaluates them, and feedback drives the search loop.
Method
Kickstarter
Amazon Books
Stack Overflow
Tabular only
0.7444
0.7611
0.8544
+ TF-IDF SVD-50
0.7528
0.8248
0.9468
+ MiniLM PCA-50
0.7572
0.8201
0.9510
+ 10 LLM features (ours)
0.7639
0.8366
0.9320
+ LLM + TF-IDF
0.7662
0.8445
0.9599
+ LLM + Embeddings
0.7680
0.8481
0.9612
Table 2: Multi-view comparison: 5-fold cross-validated AUC for each combination of representations on each dataset. Bold values mark the best single-view text representation (top group) and the best overall combination (bottom row). LLM features are the strongest single view on Kickstarter and Amazon, while MiniLM is strongest on Stack Overflow — yet adding LLM features always improves on top of either alternative, and all three combined is strictly best across datasets.
Dataset
Method
Baseline
Reaches
Δ AUC
Δ AUC
at iter
Kickstarter
+0.0225
+0.0212
4
Amazon Books
+0.0731
+0.0679
3
Stack Overflow
+0.0761
+0.0752
9
Table 3: Method vs. no-feedback baseline. Both variants run for 15 iterations with identical generator/extractor models and per-iteration budgets. Our method strictly outperforms the baseline’s final Δ AUC across all three datasets. More importantly, the “Reaches at iter” column demonstrates that loss-aligned feedback achieves the baseline’s absolute peak performance in a fraction of the time, delivering up to a 5x reduction in LLM inference costs for the same downstream performance.
Kickstarter
Amazon Books
Stack Overflow
sem_specificity_of_core_noun
2.25
sem_content_materiality_focus
0.59
struct_title_orthography_quality
1.10
sem_target_audience
0.24
sem_negative_target_location
0.45
primary_tag
0.67
country
0.17
review_time
0.35
creation_year
0.62
launch_year
0.15
sem_inspection_depth
0.30
tone_formality_vs_fragmentation
0.40
category
0.15
sem_review_depth
0.24
n_tags
0.37
goal_usd
0.09
sem_bias_or_agenda_signal
0.19
struct_body_formatting_stability
0.32
Table 4: Top-10 features by mean ∣ SHAP ∣ across the test set for each dataset. LLM-generated features are highlighted (shaded cells). The top feature on every dataset is LLM-generated, and the LLM-feature dominance strengthens as the text content of the task gets richer.
In clinical tabular prediction, classical machine learning models with feature engineering often outperform neural methods. LLMs are increasingly used to automate this process, acting as domain experts that propose diverse feature transformations to boost downstream performance. However, the feature generation process of existing LLM-based methods is agnostic to the downstream learner: the LLM receives no signal about which features currently drive predictions or where the model's representational capacity falls short, so proposals are neither targeted to promising regions of the feature space nor tailored to the learner's inductive bias. This shortcoming is amplified in healthcare data, which simultaneously exhibits class imbalance, heterogeneous feature spaces, and strict interpretability requirements. In this paper, we propose MedFeat, the first feature engineering framework inspired by the workflow of machine learning practitioners, leveraging model-awareness and feature importance signals to iteratively guide feature discovery for clinical tabular learning. We evaluate MedFeat on a broad range of challenging real-world clinical tasks and show that it statistically significantly outperforms state-of-the-art baselines, with an average F1 improvement of more than 10% over the baseline across models with distinct inductive biases.
Large Language Models (LLMs) fine-tuned on serialized tabular data are emerging as powerful alternatives to traditional tree-based models, particularly for heterogeneous or context-rich datasets. However, their deployment in high-stakes domains is hindered by a lack of faithful interpretability; existing methods often rely on global linear proxies or scalar probability shifts that fail to capture the model's full probabilistic uncertainty. In this work, we introduce TabSHAP, a model-agnostic interpretability framework designed to directly attribute local query decision logic in LLM-based tabular classifiers. By adapting a Shapley-style sampled-coalition estimator with Jensen-Shannon divergence between full-input and masked-input class distributions, TabSHAP quantifies the distributional impact of each feature rather than simple prediction flips. To align with tabular semantics, we mask at the level of serialized key:value fields (atomic in the prompt string), not individual subword tokens. Experimental validation on the Adult Income and Heart Disease benchmarks demonstrates that TabSHAP isolates critical diagnostic features, achieving significantly higher faithfulness than random baselines and XGBoost proxies. We further run a distance-metric ablation on the same test instances and TabSHAP settings: attributions are recomputed with KL or L1 replacing JSD in the similarity step (results cached per metric), and we compare deletion faithfulness across all three.
Aryan Chaudhary, Prateek Agarwal, Tejasvi Alladi
Department of Computer Science Birla Institute of Technology and Science India
Automatic feature engineering (AutoFE) for tabular data requires discovering informative transformations from a large program space. Existing approaches suffer from three limitations: classical methods rely on fixed operator libraries with limited expressivity, LLM-based methods generate proposals from static prompts without retaining search experience, and evolutionary methods use fixed migration policies that ignore task-specific cross-family transfer utility. We introduce TOPOFE, a framework that formulates AutoFE as graph-structured multi-island evolutionary program search. The transformation space is partitioned into semantically coherent families, each explored by an island through LLM-guided mutation and crossover. Each island maintains a Prompt Adaptation Memory that accumulates accept/reject feedback to steer proposals toward productive regions without parameter updates. To coordinate global exploration, TOPOFE dynamically learns a directed topology graph whose edge weights encode transfer utility between transformation families. Cross-island transfer is triggered by adaptive saturation detection and performed through LLM-mediated hybrid synthesis, enabling discovery of compositional feature programs that cannot emerge from isolated local search. Experiments on 29 tabular datasets show that TOPOFE consistently outperforms most state-of-the-art AutoFE methods on classification and regression tasks. Beyond predictive performance, TOPOFE produces feature sets with lower redundancy and higher representational coverage, while the learned topology graph acquires meaningful task-specific transfer structure correlated with downstream gains. The discovered feature programs transfer reliably across diverse predictors and LLM backbones, demonstrating that improvements arise from TOPOFE's structured search and adaptive coordination rather than backbone-specific generation capability.
Sha Li, Naren Ramakrishnan
Department of Computer Science Virginia Tech Blacksburg, VA 24060 · Department of Computer Science Virginia Tech Alexandria, VA 22305