TL;DR
This paper introduces TabFSBench, the first benchmark specifically designed to evaluate how well tabular machine learning models handle "feature shifts" in real-world, open environments. They found that most current models struggle with these shifts, but large language models (LLMs) show promise, and importantly, a model's performance in stable (closed) environments correlates with its robustness to feature shifts.
What Problem Does This Paper Address?
Machine learning models often perform brilliantly when trained and tested on data with the same underlying characteristics – this is a "closed environment." However, real-world applications are messy. Data distributions can change (distribution shift), and more critically for this paper, the very features available to the model can change. Imagine a sensor failing or being replaced in a weather station; the model suddenly has to deal with missing or new inputs. These "feature shifts" can drastically degrade model performance, and existing research and benchmarks have largely overlooked this specific challenge, focusing more on distribution shifts. This paper aims to fill that gap by providing a standardized way to test and understand model behavior under feature shifts.
Methods
The core of this work is the introduction of TabFSBench, a benchmark suite. They designed four types of feature shift scenarios:
- Single Shift: Removing one feature at a time, ordered by its relevance to the target.
- Most/Least-Relevant Shift: Removing features in descending (most relevant) or ascending (least relevant) order.
- Random Shift: Randomly removing a percentage of features.
- Feature Decrement: This is the primary focus, where features are removed from the test set compared to the training set. They specifically excluded feature increment scenarios because standard tabular models often ignore new features by default.
They evaluated four categories of tabular models: tree-based models (like LightGBM, XGBoost), deep learning models (MLP, FT-Transformer), general Large Language Models (LLMs like Llama3-8B), and specialized tabular LLMs (TabLLM, Unipredict). For missing features in the test set, they used mean imputation, which they found to be a reasonable simulation of real-world scenarios.
Datasets
TabFSBench includes 12 publicly available datasets covering binary classification, multi-class classification, and regression tasks. These datasets span various domains like finance, healthcare, and geology. The paper also mentions constructing a feature-shifted version of the "Heart" dataset by removing specific feature groups (ECG features, exercise stress test features) to simulate real-world incomplete medical examinations.
Key Insights and Ideas
- Feature Shifts are a Major Hurdle: The most striking finding is that most existing tabular models, including powerful tree-based and deep learning architectures, are surprisingly brittle when faced with feature shifts. Their performance degrades significantly.
- LLMs Show Resilience: General LLMs and specialized tabular LLMs demonstrated a notable robustness to feature shifts, particularly in classification tasks. This suggests a promising avenue for building more adaptable models.
- Feature Importance Matters: The importance of a feature (as determined by Pearson correlation) has a strong, almost linear, negative correlation with model performance degradation when that feature is removed. This means losing a highly relevant feature is much more damaging than losing an irrelevant one.
- Closed-Environment Performance is a Predictor: Models that perform well in standard (closed) environments tend to be more robust to feature shifts. This suggests that improving general model performance might also improve its adaptability to open-environment challenges.
Key Results
- Broad Model Vulnerability: Table 3 shows a consistent performance gap (Δ) across many models as feature shift degrees increase. For instance, tree-based models like LightGBM and XGBoost show substantial degradation.
- LLM Potential: While not consistently outperforming all others in closed environments, tabular LLMs (like TabLLM and Unipredict) showed promising robustness in feature-shift scenarios, especially for classification tasks.
- Linear Degradation Trend: Figure 4 and Figure 10 illustrate a strong linear correlation (p ≈ 0.74) between the sum of correlations of shifted features and the model performance degradation.
- Performance Correlation: Figure 5 demonstrates a positive correlation between a model's performance in closed environments and its performance under feature shifts.
Limitations and Future Work
The authors acknowledge several limitations:
- Focus on Feature Decrement: Their evaluation primarily focused on scenarios where features are removed, as handling newly added features (feature increment) is more complex for standard models.
- Exclusion of Specialized Architectures: They didn't evaluate architectures specifically designed for feature increment issues.
- Identical Correlation Structures: The analysis didn't delve into how models respond to shifted features with identical correlation structures.
- LLM Scale: The evaluation of LLMs was limited to specific models, and large-scale comparative studies with other shift types are needed.
Future work directions include:
- Developing multi-level fine-tuning frameworks for tabular LLMs to enhance their reasoning capabilities.
- Designing feature importance-driven optimization algorithms to prioritize and protect strongly correlated features.
- Conducting theoretical analysis on the relationship between closed and open environment performance.
- Exploring domain adaptation, transfer learning, and robustness-aware training paradigms for enhanced model resilience.
Summary updated