Abstract
Recent automated machine learning systems often use learning curves ranking models to inform decisions about when to stop unpromising trials and identify better model configurations. In this paper, we present a novel learning curve ranking model specifically tailored for ranking normalized entropy (NE) learning curves, which are commonly used in online advertising and recommendation systems. Our proposed model, self-Adaptive Curve Transformation augmented Relative curve Ranking (ACTR2), features an adaptive curve transformation layer that transforms raw lifetime NE curves into composite window NE curves with the window sizes adaptively optimized based on both the position on the learning curve and the curve's dynamics. We also introduce a novel differentiable indexing method for the proposed adaptive curve transformation, which allows gradients with respect to the discrete indices to flow freely through the curve transformation layer, enabling the learned window sizes to be updated flexibly during training. Additionally, we propose a pairwise curve ranking architecture that directly models the difference between the two learning curves and is better at capturing subtle changes in relative performance that may not be evident when modeling each curve individually as the existing approaches did. Our extensive experiments on a real-world NE curve dataset demonstrate the effectiveness of each key component of ACTR2 and its improved performance over the state-of-the-art.
Introduction
In large-scale systems like online advertising or recommendation engines, training a single model can be incredibly expensive. AutoML systems try to find the best hyperparameters by running many trials in parallel, but to save costs, they need to "kill" unpromising trials early. The industry standard for evaluating these models is Normalized Entropy (NE). However, there is a mismatch in how NE is used:
- Lifetime NE (LNE): This is what we usually observe—a smooth, cumulative average of performance from the start of training.
- Window NE (WNE): This is what engineers actually care about—the model's performance on the most recent data (e.g., the last 24 hours).
Existing ranking models often struggle because they treat all learning curves the same and ignore the unique relationship between LNE and WNE. Furthermore, most models use a "Siamese" structure (scoring two curves separately and then comparing the scores), which can miss subtle, relative differences.
The ACTR² Framework
The authors propose the self-Adaptive Curve Transformation augmented Relative curve Ranking (ACTR²) framework to address these challenges. It consists of three major innovations designed to improve the sensitivity and accuracy of early termination decisions.
Self-Adaptive Curve Transformation (ACT) Layer
This layer mathematically converts raw LNE curves into WNE curves. Crucially, the "window size" isn't fixed; it’s a learnable parameter that adapts based on where the model is in the training process and the specific dynamics of that curve. LNE is inherently "laggy" as it carries the weight of poor early performance. By adaptively windowing the data, ACTR² can "forget" the irrelevant past and focus on the current trajectory.
Differentiable Soft One-hot Indexing
A significant technical hurdle is that array indexing (like selecting a window size) is a discrete, non-differentiable operation, which prevents standard backpropagation. The authors solve this with a "soft one-hot" reparameterization trick. This allows the model to "slide" its focus across the curve during training to find the optimal window size, making the entire transformation process end-to-end learnable.
Relative Curve Ranking ($R^2$)
Instead of modeling two curves independently (the Siamese approach), the Relative Curve Ranking ($R^2$) architecture takes the difference sequence between two curves as its primary input. In ad-click prediction, an NE difference of just 0.05% is considered massive. Siamese networks often lose this signal in the "noise" of the individual curves. Modeling the delta directly acts as a high-pass filter for the most important ranking signals. This difference sequence is fed into a Temporal Convolutional Network (TCN), which is better at capturing the relative "momentum" of one model over another.
Experimental Evaluation
The model was evaluated on a massive, real-world dataset from Meta's internal autotuning platform, encompassing 4,771 deep learning networks and over 74,000 unique curve pairs.
ACTR² was compared against GreedyRank (a common baseline) and LCRankNet (the previous state-of-the-art).
- Accuracy Boost: ACTR² achieved a 13% to 15% improvement in ranking accuracy over GreedyRank.
- SOTA Comparison: It consistently outperformed LCRankNet by approximately 5% in accuracy and 7% in AUC.
- Early Prediction: Even when only 20% of a learning curve was observed, ACTR² maintained high performance, proving its utility for very early termination decisions.
Conclusion
ACTR² introduces a more sophisticated way to handle early termination in AutoML by focusing on differentiable windowing and relative performance modeling. While the current implementation is tailored to Normalized Entropy, the underlying concepts of differentiable indexing and relative ranking offer a promising path for improving efficiency in large-scale machine learning training pipelines.
Summary updated