cs.LGFeb 10, 2026

MedFeat: Model-Aware and Explainability-Driven Feature Engineering with LLMs for Tabular Prediction

Authors: Zizheng Zhang, Yiming Li, Justin Xu, Jinyu Wang, Rui Wang, Lei Song, Jiang Bian, David W Eyre, +1 more

Organizations: Microsoft Research · University of Oxford

Abstract

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.

Figures & tables

Appendix figures & tables19 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. TabPrep: Closing the Feature Engineering Gap in Tabular Benchmarks

    Jun 1, 2026Andrej Tschalzev, Nick Erickson, Yuyang Wang +4Tabular LearningFeature Engineering

  2. Adaptive Graph-of-Islands Evolution for Automatic Feature Engineering with LLMs

    Jul 25, 2026Sha Li, Naren RamakrishnanFeature EngineeringTabular Learning

  3. Medical Heuristic Learning: An LLM-Driven Framework for Interpretable and Auditable Clinical Decision Rules

    Jun 15, 2026Wei Xu, Ke Yang, Gang Luo +4Clinical Decision SupportElectronic Health Records