Abstract
Automated Feature Engineering (AFE) is critical for maximizing the performance of machine learning models on tabular data. However, existing methods often suffer from stochasticity, lack of memory regarding transformation history, and rigid exploration strategies. This paper presents TCTO (Flexible Transformation-Centric Tabular Data Optimization), a framework that models feature engineering as an evolving transformation graph. By leveraging multi-agent reinforcement learning (MARL) and graph-based backtracking, TCTO effectively identifies and reuses high-value sub-transformations. Experimental results across 23 datasets demonstrate that TCTO consistently outperforms state-of-the-art baselines in both classification and regression tasks.
Introduction
In tabular machine learning, the quality of input features often dictates model success. While domain experts traditionally perform manual feature engineering, the complexity of modern datasets has spurred the development of Automated Feature Engineering (AFE) tools. Despite their promise, current AFE approaches face significant limitations. Many rely on stochastic search, which leads to unstable results, and most adopt a "feature-centric" view that focuses only on the current feature set, discarding the historical context of how those features were derived.
To address these issues, we propose a shift toward a transformation-centric perspective. By treating the optimization process as a journey through a state space of transformations, we can preserve valuable intermediate steps and enable more sophisticated exploration strategies like backtracking and pruning.
Methodology: The TCTO Framework
TCTO is built upon a Feature-State Transformation Graph, where nodes represent feature states and edges denote mathematical operations. This structure serves as a comprehensive memory of the optimization process.
The framework employs three primary components:
- Cascading Multi-Agent Reinforcement Learning (MARL): Navigation of the transformation space is handled by three specialized agents—Head Cluster, Operation, and Operand Cluster agents—that sequentially decide which features to transform and which operations to apply.
- Graph-Based State Representation: A Relational Graph Convolutional Network (RGCN) encodes the latent correlations between features based on their transformation history, providing the RL agents with a rich state representation.
- Dynamic Pruning & Backtracking: To manage the search space, TCTO implements node-wise pruning based on mutual information and step-wise backtracking. If a transformation path yields diminishing returns, the system can revert the graph to a previously known optimal state.
Experimental Results
TCTO was evaluated on 23 public datasets (14 classification, 9 regression) covering diverse domains and scales. The framework was compared against eight state-of-the-art baselines, including NFS, GRFG, and DIFER.
Performance and Robustness
TCTO achieved superior performance across the majority of benchmarks. For example, on the SpectF dataset, TCTO reached an F1-score of 0.950, outperforming the next best baseline (0.907). Furthermore, the features generated by TCTO proved robust across various downstream models such as Random Forest, XGBoost, and LightGBM, indicating that the learned transformations capture generalizable data characteristics.
Insights on Feature Clustering
Ablation studies revealed that the mathematical and statistical distributions of features are more critical for RL agent decision-making than their structural position within the graph. This suggests that "what" a feature represents is more important for transformation selection than "where" it came from in the lineage.
Conclusion and Future Directions
TCTO introduces a flexible, memory-aware approach to automated feature engineering. By treating transformations as a graph rather than a sequence, it achieves state-of-the-art results and provides a mechanism for efficient exploration. Currently, the primary bottleneck is the computational cost of reward estimation via downstream model training. Future research will focus on integrating unsupervised evaluation metrics to accelerate the optimization process, making the framework more scalable for massive datasets.
Summary updated