Introduction
In modern recommendation systems, predicting Click-Through Rate (CTR) is a fundamental task. The effectiveness of these systems largely depends on capturing complex feature interactions. For instance, a "User Age" combined with "App Category" might provide a much stronger signal for a recommendation than either feature individually. Traditionally, these interactions were either manually designed by experts or exhaustively enumerated by models like Factorization Machines (FM).
However, manual design is labor-intensive and prone to missing non-intuitive patterns. Conversely, brute-force enumeration—where every possible pair of features is interacted—introduces significant computational overhead and "noise" from irrelevant interactions, which can degrade model performance.
AutoFIS (Automatic Feature Interaction Selection) addresses this dilemma by automating the identification of impactful feature interactions. By utilizing a gradient-based search to prune useless interactions, it optimizes both model accuracy and inference efficiency.
Methodology: The Two-Stage Approach
AutoFIS operates in two distinct stages, drawing inspiration from Neural Architecture Search (NAS) frameworks like DARTS, but optimized for the specific constraints of CTR prediction.
Stage 1: The Search Stage
Instead of treating interaction selection as a discrete binary choice, AutoFIS introduces a continuous architecture parameter ($\alpha$) for every potential interaction. This allows the selection process to be integrated into the model's training.
- One-Level Optimization: Unlike many NAS methods that require complex bi-level optimization, AutoFIS trains model weights and architecture parameters jointly on the same dataset.
- GRDA Optimizer: The use of a Generalized Regularized Dual Averaging (GRDA) optimizer is central to the pruning process. It pushes the $\alpha$ values of non-contributing interactions to exactly zero.
- Batch Normalization (BN): To ensure that $\alpha$ reflects the true importance of an interaction rather than the scale of the data, Batch Normalization is applied to the interactions. This decouples embedding magnitudes from the architecture parameters.
Stage 2: The Re-train Stage
After the search stage, interactions with $\alpha = 0$ are discarded. The model is then re-trained from scratch using only the selected interactions. During this stage, the remaining $\alpha$ values serve as "attention units," weighting the relative importance of the surviving interactions to further refine performance.
Experimental Evaluation
The authors evaluated AutoFIS across three large-scale datasets: the public Avazu and Criteo benchmarks, and a massive private dataset from the Huawei App Store.
Key Insights
- Sparsity of Interactions: Results indicate that the majority of interactions are redundant. In the Avazu dataset, AutoFIS identified that 71% of second-order interactions could be removed, which actually improved model performance by reducing noise.
- High-Order Interaction Viability: While brute-forcing third-order interactions is typically computationally prohibitive, AutoFIS makes them feasible by selecting only the most significant 1–10%, providing a performance boost with minimal overhead.
- Model Transferability: Interactions selected using a simpler model (e.g., a basic FM) can be effectively transferred to more complex architectures like DeepFM or IPNN. This allows for an efficient search stage on a lightweight model followed by deployment on a high-capacity one.
Results and Production Impact
AutoFIS consistently outperformed standard baselines such as FM, DeepFM, and FFM in terms of AUC and LogLoss across all tested datasets. Beyond accuracy, the pruning of interactions led to significant efficiency gains; for example, AutoFM(2nd) outperformed standard FM while being approximately twice as fast during inference.
In a real-world production environment at the Huawei App Store, a 10-day online A/B test demonstrated that AutoFIS improved the DeepFM baseline by 20.3% in CTR and 20.1% in CVR (Conversion Rate). Such improvements are considered highly significant in the context of large-scale recommendation services.
Conclusion and Future Directions
AutoFIS provides a robust, automated solution for feature interaction selection in CTR models. While the initial search stage requires an "all-in" training step that could be a bottleneck for extremely high-dimensional data, the benefits in accuracy and inference speed are substantial. Future work may explore dynamic selection—adjusting interaction priorities based on specific user contexts—and extending this logic to Transformer-based recommendation architectures.
Summary updated