Abstract
AutoCross is an automated feature engineering framework designed to discover high-order feature interactions (cross features) in large-scale tabular data. By combining a tree-structured beam search with highly optimized evaluation techniques, it achieves the predictive power of complex deep learning models while maintaining the lightning-fast inference speeds required for real-time industrial applications. This paper details the algorithmic innovations that allow AutoCross to scale to massive datasets while outperforming state-of-the-art deep learning baselines in both accuracy and efficiency.
Introduction
In tabular data—common in banking, healthcare, and advertising—categorical features like job_title or zip_code are highly informative. However, their predictive utility often depends on interactions: knowing a user is a "Software Engineer" is useful, but knowing they are a "Software Engineer" in "San Francisco" provides a much stronger signal for income prediction.
Historically, "crossing" these features has been a manual, trial-and-error process requiring deep domain expertise. While automated machine learning (AutoML) has emerged to address this, existing solutions face significant hurdles: searching for high-order interactions (beyond simple pairs) is exponentially expensive, and deep learning models that capture these interactions implicitly are often too slow for real-time systems (like ad-serving) that require microsecond latency.
System Architecture and Methodology
AutoCross introduces a "black box" pipeline that automates feature crossing through several algorithmic shortcuts designed for distributed environments.
Beam Search in Tree-Structured Space
Instead of an exhaustive search, AutoCross treats feature sets as nodes in a tree. It employs a greedy beam search to iteratively add the most promising cross features. This approach allows the system to efficiently navigate the search space and discover high-order interactions, such as $A \otimes B \otimes C \otimes D$, which are often missed by tools restricted to second-order pairs.
Optimized Evaluation Techniques
To handle the computational cost of evaluating thousands of candidate features, AutoCross utilizes two key optimizations:
- Field-wise Logistic Regression (Field-wise LR): Rather than retraining a full model for every candidate, AutoCross fixes the weights of existing features and only trains the weight for the new candidate. This drastically reduces data transmission in distributed systems.
- Successive Mini-batch Gradient Descent (SMBGD): Inspired by multi-arm bandit algorithms, SMBGD tests candidates on small data batches. Low-performing features are discarded early, ensuring that only the most promising candidates are evaluated on the full dataset.
- Multi-granularity Discretization: To facilitate interactions between numerical and categorical data, AutoCross automatically discretizes numerical features into multiple "zoom levels" (bins of varying widths) to identify the optimal granularity for crossing.
Experimental Results
Predictive Performance
The authors evaluated AutoCross on five public benchmarks (including Criteo and UCI Bank) and five proprietary real-world datasets. AutoCross (AC+LR) consistently outperformed baseline Logistic Regression and frequently surpassed state-of-the-art deep learning models like xDeepFM. On one real-world dataset (Data5), AutoCross improved AUC by over 6.6% compared to the baseline.
Inference Efficiency
The primary advantage of AutoCross is its inference speed. By generating explicit features for a simple Logistic Regression model, it bypasses the heavy computational overhead of deep neural networks. In head-to-head tests, the inference latency for AutoCross-generated models was two to three orders of magnitude faster than deep learning alternatives. For example, on the Bank dataset, AC+LR required only 0.00048ms per inference, compared to 0.08828ms for xDeepFM.
Key Insights
- Explicit vs. Implicit Interactions: While deep learning models capture interactions implicitly through embeddings, AutoCross generates explicit cross features. The paper demonstrates that explicit crossing can represent certain interactions that simple embedding-based products cannot.
- The Value of High-Order Features: Empirical results show that 3rd and 4th-order features provide significant AUC gains over simple pairs, justifying the complexity of the beam search strategy.
Conclusion
AutoCross provides a pragmatic bridge between the high predictive performance of deep learning and the extreme efficiency required by production-scale systems. While currently focused on binary classification and categorical data, its ability to discover explicit, high-order interactions makes it a powerful tool for real-world tabular data challenges.
Summary updated