AutoLossGen: Automatic Loss Function Generation for Recommender Systems
Not on the map. Why?
Abstract (arXiv)
In recommendation systems, the choice of loss function is critical since a good loss may significantly improve the model performance. However, manually designing a good loss is a big challenge due to the complexity of the problem. A large fraction of previous work focuses on handcrafted loss functions, which needs significant expertise and human effort. In this paper, inspired by the recent development of automated machine learning, we propose an automatic loss function generation framework, AutoLossGen, which is able to generate loss functions directly constructed from basic mathematical operators without prior knowledge on loss structure. More specifically, we develop a controller model driven by reinforcement learning to generate loss functions, and develop iterative and alternating optimization schedule to update the parameters of both the controller model and the recommender model. One challenge for automatic loss generation in recommender systems is the extreme sparsity of recommendation datasets, which leads to the sparse reward problem for loss generation and search. To solve the problem, we further develop a reward filtering mechanism for efficient and effective loss generation. Experimental results show that our framework manages to create tailored loss functions for different recommendation models and datasets, and the generated loss gives better recommendation performance than commonly used baseline losses. Besides, most of the generated losses are transferable, i.e., the loss generated based on one model and dataset also works well for another model or dataset. Source code of the work is available at https://github.com/rutgerswiselab/AutoLossGen.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 32 of its 60 references that are in the map. First posted on arXiv 27 Apr 2022.
Builds on
32 of 60 references.
References · 32
- 2015Fast R-CNNcited by 2,933
- 2018DARTS: Differentiable Architecture Searchcited by 1,798
- 2017Learning Transferable Architectures for Scalable Image Recognitioncited by 1,101
- 2018Regularized Evolution for Image Classifier Architecture Searchcited by 909
- 2018Efficient Neural Architecture Search via Parameter Sharingcited by 837
- 2016Wide & Deep Learning for Recommender Systemscited by 747
- 2017SphereFace: Deep Hypersphere Embedding for Face Recognitioncited by 737
- 2016Neural Combinatorial Optimization with Reinforcement Learningcited by 608
- 2016Ups and Downs: Modeling the Visual Evolution of Fashion Trends with One-Class Collaborative Filteringcited by 520
- 2017Progressive Neural Architecture Searchcited by 487
- 2022Recommendation as Language Processing (RLP): A Unified Pretrain, Personalized Prompt & Predict Paradigm (P5)cited by 402
- 2017Large-Scale Evolution of Image Classifierscited by 348
20 more
- 2016Large-Margin Softmax Loss for Convolutional Neural Networkscited by 296
- 2016Designing Neural Network Architectures using Reinforcement Learningcited by 279
- 2017Neural Optimizer Search with Reinforcement Learningcited by 82
- 2018Automated Machine Learning: From Principles to Practicescited by 62
- 2018Path-Level Network Transformation for Efficient Architecture Searchcited by 44
- 2017Simple And Efficient Architecture Search for Convolutional Neural Networkscited by 40
- 2020Neural Logic Reasoningcited by 38
- 2020Neural Collaborative Reasoningcited by 37
- 2021AutoLoss: Automated Loss Function Search in Recommendationscited by 31
- 2019AM-LFS: AutoML for Loss Function Searchcited by 29
- 2020Loss Function Search for Face Recognitioncited by 22
- 2021Loss Function Discovery for Object Detection via Convergence-Simulation Driven Searchcited by 20
- 2021AutoLoss-Zero: Searching Loss Functions from Scratch for Generic Taskscited by 19
- 2018GNAS: A Greedy Neural Architecture Search Method for Multi-Attribute Learningcited by 17
- 2020Auto Seg-Loss: Searching Metric Surrogates for Semantic Segmentationcited by 16
- 2020VEST: Automatic Feature Engineering for Forecastingcited by 14
- 2021Graph Collaborative Reasoningcited by 14
- 2021Causal Collaborative Filteringcited by 13
- 2018AutoLoss: Learning Discrete Schedules for Alternate Optimizationcited by 12
- 2020Learning Personalized Risk Preferences for Recommendationcited by 5
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 4; 2025: 2; 2026: 1.
10 papers.
- 2024AutoFlow: Automated Workflow Generation for Large Language Model Agentscited by 83
- 2026Self-EvolveRec: Self-Evolving Recommender Systems with LLM-based Directional Feedbackcited by 10
- 2023Toward a Better Understanding of Loss Functions for Collaborative Filteringcited by 8
- 2024Automated Contrastive Learning Strategy Search for Time Seriescited by 5
- 2022Learn Basic Skills and Reuse: Modularized Adaptive Neural Architecture Search (MANAS)cited by 4
- 2023Graph-based Alignment and Uniformity for Recommendationcited by 4
- 2024PAP-REC: Personalized Automatic Prompt for Recommendation Language Modelcited by 4
- 2025Advancing Loss Functions in Recommender Systems: A Comparative Study with a R'enyi Divergence-Based Solutioncited by 2
- 2024Multi-Margin Cosine Loss: Proposal and Application in Recommender Systemscited by 0
- 2025KLAN: Kuaishou Landing-page Adaptive Navigatorcited by 0
- 2026Self-EvolveRec: Self-Evolving Recommender Systems with LLM-based Directional Feedback13 Feb 2026
- 2025KLAN: Kuaishou Landing-page Adaptive Navigator31 Jul 2025
- 2025Advancing Loss Functions in Recommender Systems: A Comparative Study with a R'enyi Divergence-Based Solution18 Jun 2025
- 2024AutoFlow: Automated Workflow Generation for Large Language Model Agents1 Jul 2024
- 2024Multi-Margin Cosine Loss: Proposal and Application in Recommender Systems7 May 2024
- 2024Automated Contrastive Learning Strategy Search for Time Series19 Mar 2024
- 2024PAP-REC: Personalized Automatic Prompt for Recommendation Language Model1 Feb 2024
- 2023Graph-based Alignment and Uniformity for Recommendation18 Aug 2023
- 2023Toward a Better Understanding of Loss Functions for Collaborative Filtering11 Aug 2023
- 2022Learn Basic Skills and Reuse: Modularized Adaptive Neural Architecture Search (MANAS)23 Aug 2022