AutoField: Automating Feature Selection in Deep Recommender Systems

Yejing Wang, Xiangyu Zhao, Tong Xu

Abstract

Deep Recommender Systems (DRS) are central to modern web services, yet their performance is often bottlenecked by suboptimal feature selection. Traditional approaches either include all available features, leading to massive, noisy embedding tables, or rely on manual expert selection. This paper introduces AutoField, an automated feature selection framework that utilizes a differentiable controller and the Gumbel-Softmax trick to optimize feature subsets. By employing a bi-level optimization strategy, AutoField identifies high-utility features during a search stage and refines the model during a retraining stage. Experimental results on industry-standard datasets demonstrate that AutoField can reduce feature fields by up to 50% while improving predictive accuracy and reducing inference latency by over 17%.

Introduction

The evolution of Deep Recommender Systems (DRS) has largely focused on complex neural architectures like DeepFM and xDeepFM. However, the quality of input features remains a critical yet often overlooked factor. Feeding all available features into a model—the "feed-everything" approach—results in bloated embedding tables that consume excessive memory and slow down inference. Furthermore, irrelevant features introduce noise that can degrade model accuracy. Manual feature selection is a labor-intensive alternative that often fails to capture non-linear dependencies between fields.

Conceptual overview of feature selection in AutoField, where specific user, item, and context features are either selected for the model or dropped.

AutoField addresses these challenges by treating feature selection as an end-to-end optimization problem, automating the identification of the most informative feature subsets.

Methodology

AutoField operates through a two-stage process: a Search Stage and a Retraining Stage.

Differentiable Feature Selection

To navigate the $2^N$ combinatorial space of feature subsets, AutoField employs a differentiable controller. Each feature field is associated with learnable parameters that represent the probability of selection. To maintain differentiability while simulating discrete "keep/drop" decisions, the framework utilizes the Gumbel-Softmax trick. This allows the selection process to be optimized via standard gradient descent.

Bi-level Optimization

To ensure the selected features generalize well, AutoField uses a bi-level optimization strategy inspired by Differentiable Architecture Search (DARTS). The recommendation model's weights are updated on a training set, while the controller's selection parameters are optimized on a separate validation set. This prevents the model from selecting features that merely facilitate overfitting on the training data.

Experimental Evaluation

The framework was validated on three datasets: Avazu (40M records), Criteo (45M records), and MovieLens-1M.

Key Findings

  • Efficiency and Accuracy: On the Avazu dataset, AutoField successfully dropped 50% of the feature fields. Remarkably, this reduced model achieved a higher Area Under Curve (AUC) than the full-feature baseline, proving that many raw features are essentially noise.
  • Inference Speedup: Reducing the feature count directly translates to faster inference. For the Wide&Deep model on Avazu, AutoField achieved a 17.02% reduction in inference time.
  • Transferability: Features selected by AutoField using a simple MLP architecture were found to be highly effective when transferred to more complex models like DCN, suggesting that feature importance is largely data-dependent.

Conclusion

AutoField provides a robust, automated solution for feature selection in deep recommender systems. By bridging the gap between search and deployment through a differentiable pipeline, it enables the creation of models that are both more accurate and significantly more efficient. Future work will explore automating the determination of the optimal number of features ($K$) and extending selection to specific feature interactions.

Summary updated

BibTeX
@inproceedings{wang2022autofield,
  author = {Yejing Wang and Xiangyu Zhao and Tong Xu and Xian Wu},
  title = {{AutoField: Automating Feature Selection in Deep Recommender Systems}},
  booktitle = {The Web Conference},
  year = {2022},
}
Figure