Abstract
Large-scale online marketplaces and recommender systems serve as critical technological support for e-commerce development. In industrial recommender systems, features play vital roles as they carry information for downstream models. Accurate feature importance estimation is critical because it helps identify the most useful feature subsets from thousands of feature candidates for online services. Such selection enables improved online performance while reducing computational cost. To address feature selection problems in deep learning, trainable gate-based and sensitivity-based methods have been proposed and proven effective in industrial practice. However, through the analysis of real-world cases, we identified three bias issues that cause feature importance estimation to rely on partial model layers, samples, or gradients, ultimately leading to inaccurate importance estimation. We refer to these as layer bias, baseline bias, and approximation bias. To mitigate these issues, we propose FairFS, a fair and accurate feature selection algorithm. FairFS regularizes feature importance estimated across all nonlinear transformation layers to address layer bias. It also introduces a smooth baseline feature close to the classifier decision boundary and adopts an aggregated approximation method to alleviate baseline and approximation biases. Extensive experiments demonstrate that FairFS effectively mitigates these biases and achieves state-of-the-art feature selection performance.
Introduction
In modern industrial recommender systems, such as those used by major e-commerce and social media platforms, engineers often manage thousands of feature fields. While high-dimensional data can improve model capacity, it often introduces noise and redundancy, leading to increased latency and degraded performance. Feature selection is therefore essential to identify the most informative subsets. Current approaches generally utilize gate-based mechanisms or sensitivity-based measurements. However, these methods suffer from three systemic biases—Layer Bias, Baseline Bias, and Approximation Bias—that compromise the accuracy of feature importance estimation.
The Three Biases of Deep Feature Selection
Layer Bias
Gate-based methods typically apply a "volume knob" or gate at the input layer. However, deep neural networks consist of multiple non-linear layers that can distort the initial signal. By only considering the first layer, these methods fail to account for how feature information is processed throughout the entire network architecture.
Baseline Bias
Sensitivity-based methods measure importance by comparing a feature to a "non-informative" baseline, such as a zero or mean vector. In imbalanced datasets, these standard baselines are often not truly neutral. For instance, if 90% of samples are negative, a zero vector might be interpreted by the model as a positive signal, skewing the resulting importance score.
Approximation Bias
To maintain efficiency, many systems use a first-order Taylor expansion (gradient-times-input) to approximate feature importance. Because deep learning models are highly non-linear, this linear shortcut often results in significant estimation errors, failing to capture the true sensitivity of the loss function to feature changes.
The FairFS Methodology
To address these challenges, we propose FairFS (unbiased Feature Importance Regularization), a framework that integrates three core components to ensure fair and accurate selection.
- Aggregated Feature Importance: Instead of relying on a single-point gradient, FairFS calculates gradients at multiple anchor points along a path between the baseline and the actual feature. This path-integral approach, inspired by the Mean Value Theorem, smooths out non-linearities and mitigates Approximation Bias.
- Smoothing Baseline Feature: FairFS generates a custom, proximal baseline for each sample. This baseline is designed to sit precisely on the model's decision boundary, ensuring it is truly non-informative and eliminating Baseline Bias.
- Importance Regularization: FairFS introduces a penalty term during training that regularizes sensitivity-based importance across all layers. This ensures the model learns to ignore redundant features regardless of the depth at which they are processed, effectively solving Layer Bias.
Experimental Results
Offline Benchmarks
FairFS was evaluated on three public datasets: Criteo, Avazu, and iFly-AD. Across various backbone architectures (Wide&Deep, DCN, DeepFM), FairFS consistently outperformed state-of-the-art methods like AutoField and AdaFS, achieving higher AUC while utilizing a smaller subset of features.
Online Impact
In a one-week online A/B test on a major advertising platform with over 100 million users, FairFS demonstrated significant industrial utility. It successfully eliminated 23% of noisy features, resulting in a 1.35% increase in eCPM (revenue) and a 20% reduction in online serving latency.
Conclusion
FairFS provides a robust solution to the hidden biases in deep feature selection. By decoupling selection from training through importance regularization and employing an aggregated gradient approach with a smoothing baseline, it achieves a superior balance between model accuracy and computational efficiency. Future work will explore extending this logic to automatically select complex feature interactions and further refining the baseline derivation for more complex activation functions.
Summary updated