Abstract
Feature interaction modeling is crucial for deep recommendation models. A common and effective approach is to construct explicit feature combinations to enhance model performance. However, in practice, only a small fraction of these combinations are truly informative. Thus it is essential to select useful feature combinations to reduce noise and manage memory consumption. While feature selection methods have been extensively studied, they are typically limited to selecting individual features. Extending these methods for high-order feature combination selection presents a significant challenge due to the exponential growth in time complexity when evaluating feature combinations one by one. In this paper, we propose TayFCS, a lightweight feature combination selection method that significantly improves model performance. Specifically, we propose the Taylor Expansion Scorer (TayScorer) module for field-wise Taylor expansion on the base model. Instead of evaluating all potential feature combinations' importance by repeatedly running experiments with feature adding and removal, this scorer only needs to approximate the importance based on their sub-components' gradients. This can be simply computed with one backward pass based on a trained recommendation model. To further reduce information redundancy among feature combinations and their sub-components, we introduce Logistic Regression Elimination (LRE), which estimates the corresponding information gain based on the model prediction performance. Experimental results on three benchmark datasets validate both the effectiveness and efficiency of our approach. Furthermore, online A/B test results demonstrate its practical applicability and commercial value.
Introduction
In deep recommender systems (DRSs), capturing complex interactions between features is fundamental to achieving high prediction accuracy. While modern architectures like DeepFM or DCN attempt to learn these interactions implicitly, practitioners often find that explicitly defining "combined features"—such as the Cartesian product of "User Location" and "Item Category"—provides a critical performance boost.
However, this explicit approach introduces two significant hurdles:
- Combinatorial Explosion: As the number of feature fields increases, the potential combinations grow exponentially, making exhaustive evaluation computationally prohibitive.
- Information Redundancy: Many combinations provide overlapping information (e.g., "Postal Code" combined with "City"), leading to unnecessary model complexity and memory usage.
Existing selection methods often require multiple rounds of expensive model retraining or are restricted to individual feature selection, failing to address the nuances of high-order interactions.
Methodology: The TayFCS Framework
To address these challenges, we propose TayFCS, a lightweight framework that identifies high-utility feature interactions efficiently. The framework consists of two primary components: TayScorer and Logistic Regression Elimination (LRE).
TayScorer (Taylor Expansion Scorer)
TayScorer avoids the "brute-force" evaluation of feature combinations by using Taylor expansion to estimate importance. Calculating the required second-order derivatives (the Hessian matrix) is typically computationally expensive. TayFCS overcomes this by leveraging the Information Matrix Equality (IME), which allows for the approximation of the Hessian using the outer product of gradients. Consequently, importance scores for all potential 2nd and 3rd-order combinations can be derived in a single backward pass on a pre-trained model.
LRE (Logistic Regression Elimination)
While TayScorer identifies important features, it does not account for redundancy. LRE acts as a "sanity check" by using a fast Logistic Regression model as a surrogate. Features are added in batches based on their TayScorer rank. The system then shuffles feature fields to measure actual information gain. If a high-scoring feature fails to improve the surrogate model's performance, it is discarded as redundant. To manage the resulting memory overhead, embedding hashing is used to compress the expanded embedding tables.
Experimental Evaluation
TayFCS was evaluated on three benchmark datasets: Frappe (context-aware app usage), iPinYou (RTB ad logs), and Avazu (large-scale CTR data).
Key Results
- Performance: TayFCS consistently outperformed state-of-the-art baselines, including AutoField and AdaFS, setting new SOTA results on the Avazu and Frappe leaderboards.
- Efficiency: On the massive Avazu dataset, TayFCS demonstrated superior speed. Its gradient-based approach minimizes the overhead that typically plagues iterative selection methods.
- Real-World Impact: In a production environment for an online ad platform, TayFCS achieved a 13.9% improvement in Conversion Rate (CVR) and a 0.73% increase in revenue, validating its commercial utility.
Conclusion and Future Work
TayFCS demonstrates that a model's gradients contain sufficient signal to identify useful feature interactions without exhaustive retraining. While the method is highly effective, adding high-order combinations increases the memory footprint and slightly impacts inference latency (approx. 10-13%). Future research may explore value-level combinations to further refine selection and reduce memory consumption.
Summary updated