Abstract: Feature engineering remains a critical bottleneck in the application of machine learning to tabular data. While tree-based models dominate this domain, their performance is heavily dependent on the quality of input features. This paper presents Rogue One, an automated framework that leverages collaborative Large Language Model (LLM) agents to perform knowledge-informed feature extraction. By integrating external domain knowledge through Retrieval-Augmented Generation (RAG) and employing a decentralized multi-agent architecture, Rogue One generates features that are both statistically powerful and semantically interpretable. Our evaluation across 28 benchmark datasets shows that Rogue One significantly outperforms existing state-of-the-art automated feature engineering methods.
1. Introduction
Despite the rapid advancement of deep learning, classical tree-based algorithms like XGBoost and Random Forest continue to be the preferred choice for tabular data tasks. The efficacy of these models, however, is fundamentally constrained by the quality of the features provided. Traditional Automatic Feature Extraction (AutoFE) techniques typically rely on exhaustive mathematical transformations, such as polynomial expansions, which lack semantic grounding and often lead to a "curse of dimensionality."
Recent efforts to utilize LLMs for feature engineering have shown promise by incorporating semantic logic. However, these approaches often treat the LLM as a monolithic generator, lacking the sophisticated feedback loops and external knowledge integration necessary for complex scientific domains. Rogue One addresses these gaps by simulating a collaborative research environment where specialized agents iteratively refine the feature set.
2. The Rogue One Framework
Rogue One is structured as a decentralized system of three specialized LLM agents: the Scientist, the Extractor, and the Tester. This multi-agent design allows for a clear separation of concerns and facilitates a robust iterative improvement process.
The Scientist Agent serves as the project manager, analyzing results from previous iterations and querying external knowledge sources—such as web searches or curated databases—to define a high-level "Focus Area." The Extractor Agent then acts as the primary worker, utilizing a Python environment to explore raw data and implement the Scientist's directives through code. Finally, the Tester Agent acts as a "red team," evaluating candidate features using an XGBoost model and statistical tests.
A key innovation in Rogue One is the "flooding-pruning" strategy. In early rounds, the system intentionally "floods" the feature pool with numerous candidates to encourage exploration. The Tester agent then aggressively prunes these features based on both quantitative performance metrics and qualitative assessments, ensuring the final feature set remains manageable and interpretable.
3. Experimental Evaluation
The framework was rigorously evaluated on a suite of 28 datasets, comprising 19 classification tasks and 9 regression tasks. These datasets span diverse domains, including medicine (e.g., arrhythmia, myocardial), finance (e.g., credit-g), and physical sciences. Rogue One was compared against several state-of-the-art (SOTA) baselines, including AutoFeat, OpenFE, CAAFE, and LLM-FE.
4. Results and Discussion
Rogue One demonstrated superior performance across the majority of tasks. In classification, it outperformed all competing methods on 12 out of 19 datasets, achieving a Mean Reciprocal Rank (MRR) of 0.76.
Beyond numerical performance, Rogue One proved capable of facilitating scientific discovery. For instance, in the myocardial dataset, the agents identified a specific ratio between white blood cell count and erythrocyte sedimentation rate as a critical predictor for heart failure—a novel biomarker combination surfaced by the system's semantic reasoning capabilities.
The study also revealed important scaling properties. Rogue One performs exceptionally well on "long" datasets (those with many entries), as the larger sample size provides a more stable foundation for the Tester agent's evaluations. However, "wide" datasets with a high number of initial attributes ($p$) remain a challenge due to the exponential growth of the search space.
5. Conclusion
Rogue One represents a significant step forward in automated feature engineering by combining the semantic power of LLMs with a structured, multi-agent collaborative framework. By integrating external knowledge and employing a rigorous pruning strategy, it produces high-performing, interpretable models. Future research will focus on improving the framework's efficiency in high-dimensional search spaces and expanding its application to more specialized scientific domains.
Summary updated