shap importance
Explanation-Guided Evolution of LLM-driven Feature Engineering
Luo, Jiahuizi, Bäck, Thomas, van Stein, Niki
Large language models are increasingly used as evolutionary variation operators to write feature-engineering programs for tabular data. The state-of-the-art method, LLM-FE, shows the LLM only the code and score of earlier programs, so the search never learns which of the generated features the downstream model actually uses. We present SHAPEvo-FE, a (µ+λ) evolution strategy in which TreeSHAP attributions of the fitted model are turned into a short feedback report that labels each generated feature "keep", "refine" or "replace", which is used in the next mutation prompt. We compare the two methods under a controlled protocol, with the same LLM backbone, budget, cross-validation splits, completion limit and evaluation code, on 22 datasets and three different backbones. With a capable backbone, SHAP guidance makes the search significantly cheaper. With DeepSeek-V4-Flash and ClaudeHaiku-5.5, SHAPEvo-FE reaches LLM-FE's final validation level with 38 and 62 programs on the median dataset, against about 180 for LLM-FE, in a third to a half of the wall-clock time and with about a third of the LLM tokens, and its normalised area under the best-so-far curve is larger on 20 and 17 of 22 datasets respectively (Wilcoxon p < 0.001 (DeepSeek) and p = 0.003 (Haiku)). The same loop without the SHAP report needs about twice as many programs. With GPT-3.5, which ignores the report, LLM-FE searches faster. SHAP feedback helps when the backbone follows it and makes no difference when the backbone ignores it.
SHAP Is Not All You Need - Mindful Modeler
I just got a paper rejection. The paper itself fills a theoretical and conceptual gap: While ML interpretation techniques such as partial dependence plots and permutation feature importance primarily describe the model, many (data) scientists use them to study the underlying data and phenomenon. Our paper discusses what's needed to actually achieve the jump from model to data. Maybe I'll explain the paper in another post. Today I want to talk about a part of the criticism we received for the paper.