Introduction
Designing high-performing Deep Learning Recommender Systems (DLRS) is a complex task often described as a "black art." Engineers must manually navigate a vast design space across three critical components: user behavior modeling, feature interaction exploration, and Multi-Layer Perceptron (MLP) aggregation. A configuration that excels on one dataset, such as e-commerce click-through rates (CTR), frequently underperforms on others, like news recommendations. While Neural Architecture Search (NAS) has shown promise in automating model design, existing methods typically focus on a single component, leading to sub-optimal global architectures.
To address this, we present AMEIR (Automatic behavior Modeling, interaction Exploration, and MLP Investigation), a holistic framework that automates the design of all three stages of the recommendation pipeline.
The AMEIR Framework
AMEIR decomposes the recommendation model into a three-stage pipeline and employs a progressive three-step one-shot random search to identify the optimal configuration for each.
1. Behavior Modeling Search (Step 1)
This stage focuses on capturing evolving user interests from historical sequences. AMEIR searches through a diverse space of building blocks, including various normalization layers (e.g., LayerNorm), sequence encoders (1D-CNNs, BiGRUs, Multi-head Self-Attention), and activation functions (ReLU, GeLU, Swish).
2. Interaction Exploration (Step 2)
Instead of exhaustive brute-force feature crossing, AMEIR utilizes an evolutionary approach—specifically Sequential Model-Based Optimization—to discover beneficial high-order Hadamard products between feature fields. This allows the model to capture complex, non-linear patterns without the computational explosion of traditional cross-networks.
3. MLP Investigation (Step 3)
Often overlooked, the final MLP aggregation layer significantly impacts performance. AMEIR searches for the optimal depth, hidden dimensions, and activation functions (e.g., Dice, ReLU) to fuse signals from the previous stages into a final prediction.
Efficiency via One-Shot Search
To maintain practical search times, AMEIR employs a "weight-sharing" strategy. A single "super-network" is trained containing all possible sub-architectures. This allows the system to evaluate thousands of candidates in a fraction of the time required for training from scratch, typically requiring only 0.2 to 0.5 GPU-days.
Experimental Evaluation
The framework was evaluated across several diverse recommendation scenarios, including industrial CTR (Alimama dataset), sequential recommendation (Amazon Beauty, Steam), and classic non-sequential CTR benchmarks (Criteo, Avazu).
Key Results
- Superior Performance: AMEIR consistently outperformed state-of-the-art hand-crafted models, including DIEN, DSIN, and BERT4Rec. On the Alimama dataset, it achieved an AUC improvement of +0.003 to +0.004 over strong baselines.
- Reduced Complexity: NAS-discovered models were frequently smaller and faster than manual designs. For instance, on Alimama, AMEIR maintained high Queries Per Second (QPS), demonstrating its readiness for real-time production environments.
- Search Efficiency: The modular, three-step approach avoids combinatorial explosion, making the search process highly efficient and accessible for researchers with limited compute resources.
Discussion and Future Work
AMEIR demonstrates that holistic automation—optimizing behavior, interactions, and aggregation together—is superior to isolated component tuning. The finding that one-shot random search can outperform complex gradient-based NAS (like DARTS) in this domain highlights the importance of search space design over search algorithm complexity for recommendation tasks.
Future work will explore expanding the interaction search beyond Hadamard products to include inner products and cross-networks. Additionally, integrating "Automated Embedding" to search for optimal vector sizes for each feature field could further eliminate manual bottlenecks in the DLRS design process.
Summary updated