[Paper Review] AutoLoss: Automated Loss Function Search in Recommendations
AutoLoss proposes an end-to-end, differentiable framework for automated loss function search in deep recommender systems, using a controller network to dynamically assign optimal loss weights per data example based on convergence behavior. It outperforms fixed and manually tuned baselines in recommendation performance and training efficiency, with strong transferability across datasets and models.
Designing an effective loss function plays a crucial role in training deep recommender systems. Most existing works often leverage a predefined and fixed loss function that could lead to suboptimal recommendation quality and training efficiency. Some recent efforts rely on exhaustively or manually searched weights to fuse a group of candidate loss functions, which is exceptionally costly in computation and time. They also neglect the various convergence behaviors of different data examples. In this work, we propose an AutoLoss framework that can automatically and adaptively search for the appropriate loss function from a set of candidates. To be specific, we develop a novel controller network, which can dynamically adjust the loss probabilities in a differentiable manner. Unlike existing algorithms, the proposed controller can adaptively generate the loss probabilities for different data examples according to their varied convergence behaviors. Such design improves the model's generalizability and transferability between deep recommender systems and datasets. We evaluate the proposed framework on two benchmark datasets. The results show that AutoLoss outperforms representative baselines. Further experiments have been conducted to deepen our understandings of AutoLoss, including its transferability, components and training efficiency.
Motivation & Objective
- To address the suboptimal performance and inefficiency caused by fixed or manually tuned loss functions in deep recommender systems.
- To overcome the high computational cost and lack of adaptability in existing methods that exhaustively search loss weights.
- To enable dynamic, example-specific loss function selection that adapts to varying convergence behaviors of user-item interactions.
- To improve model generalizability and transferability across different deep recommender architectures and datasets.
- To develop an end-to-end, differentiable framework that jointly optimizes model parameters and loss function selection.
Proposed method
- A novel controller network is designed to generate continuous, differentiable loss weights for each data example based on ground-truth labels and model predictions.
- The Gumbel-Softmax reparameterization is applied to simulate hard selection over candidate loss functions, enabling gradient flow despite discrete choices.
- The framework formulates loss function search as a continuous optimization problem, allowing backpropagation through the selection process.
- Candidate loss functions (e.g., MSE, MAE, cross-entropy) are combined via learned, example-specific weights to form a weighted sum loss.
- The controller is trained end-to-end with the recommender model, enabling joint optimization of both model and loss function parameters.
- The approach supports transferability by learning adaptive loss strategies that generalize across datasets and model architectures.

Experimental results
Research questions
- RQ1Can an automated, differentiable framework improve recommendation performance by dynamically selecting loss functions per data example?
- RQ2How does AutoLoss compare to fixed or manually tuned loss functions in terms of model accuracy and training efficiency?
- RQ3To what extent can the learned loss selection strategy generalize across different deep recommender models and datasets?
- RQ4How do varying convergence behaviors of data examples affect the effectiveness of adaptive loss weighting?
- RQ5What is the contribution of each component (e.g., controller, Gumbel-Softmax) to the overall performance gain?
Key findings
- AutoLoss achieves superior recommendation performance on two benchmark datasets compared to fixed and manually tuned loss baselines.
- The framework improves training efficiency by adapting loss functions to the convergence behavior of individual examples, reducing noisy gradients.
- AutoLoss demonstrates strong transferability, maintaining performance gains when applied to different deep recommender models and datasets without retraining the controller.
- Ablation studies confirm that both the controller network and the Gumbel-Softmax-based selection mechanism are essential for performance gains.
- The method reduces the need for manual hyperparameter tuning of loss weights, offering a scalable solution for real-world recommendation systems.
- The framework enables better generalization by learning data-specific loss weighting, particularly benefiting examples with complex or ambiguous convergence patterns.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.