2026conference-paper/llm-augmented-feature-engineering-for-machine-learning-pipelines

LLM-Augmented Feature Engineering for Machine Learning Pipelines

Feature engineering represents a fundamental challenge in machine learning (ML) pipelines for extracting meaningful representations that capture underlying patterns, starting from raw data. Usually the process requires manual, time consuming, deep domain expertise, and is difficult to be scaled across multiple domains. Automatic methods attempt to address these challenges by generating predefined statistical features or selecting optimal subsets from a feature set, rather than creating new ones. In this paper, we propose a Large Language Model (LLM)-based automated feature engineering pipeline using Mistral-7B-Instruct with Retrieval-Augmented Generation and a multi-criteria validation process. It starts with prompt text and additionally integrates domain and data knowledge, to create and validate new features. We evaluate the solution in the context of an ML-based heart rate prediction process and show that the generated features achieve 9-48% MSE improvements across three different time series architectures (LSTM, Transformer, and Informer). The results demonstrate that LLM-based feature generation can significantly optimize and improve ML prediction tasks.

Attachments

No attachments yet.