SLM-First Automated Feature Engineering
DescriptionAutomated feature engineering can substantially improve tabular prediction, but it is often labor-intensive and brittle: transformations that appear beneficial under one data split may not generalize, and unverified pipelines can introduce leakage. We present an SLM-first automated feature engineering approach that is fully local and verification-driven. A small instruction-tuned code model (Qwen2.5-Coder-3B-Instruct) proposes single-step Pandas transformations conditioned on lightweight dataset context (schema plus a brief description). Each candidate is executed in a restricted sandbox and accepted only if the mean improvement over 10 randomized validation splits is positive, mirroring the verification principle of prior work while removing reliance on proprietary APIs. We optionally improve generation reliability with LoRA fine-tuning on 2,253 curated feature-engineering examples spanning numerical, categorical, and temporal transformations.
We evaluate on the 14-dataset CAAFE benchmark using five 50/50 train/test seeds. Under strict verification, the local SLM improves TabPFN on 11/14 datasets with a mean ROC-AUC gain of +0.0038, and improves Random Forests in a 6-iteration fast setting on 12/14 datasets with a mean ROC-AUC gain of +0.0111. Efficiency statistics show that most proposals are rejected, highlighting repeated-split evaluation as the primary runtime bottleneck and motivating caching and early rejection strategies.
Our results demonstrate that small, locally deployable code models can support reliable, verified feature engineering. A key next step is richer context construction (e.g., retrieval-augmented, multi-agent dataset documentation) to better guide feature generation beyond brief descriptions.
Event Type
Posters
TimeThursday, September 17th12:00pm - 1:30pm EDTadd to My Agendaremove from My Agenda
LocationCentennial Foyer (LL1)