AutoLoss-Zero: Searching Loss Functions from Scratch for Generic Tasks

03/25/2021
by   Hao Li, et al.
13

Significant progress has been achieved in automating the design of various components in deep networks. However, the automatic design of loss functions for generic tasks with various evaluation metrics remains under-investigated. Previous works on handcrafting loss functions heavily rely on human expertise, which limits their extendibility. Meanwhile, existing efforts on searching loss functions mainly focus on specific tasks and particular metrics, with task-specific heuristics. Whether such works can be extended to generic tasks is not verified and questionable. In this paper, we propose AutoLoss-Zero, the first general framework for searching loss functions from scratch for generic tasks. Specifically, we design an elementary search space composed only of primitive mathematical operators to accommodate the heterogeneous tasks and evaluation metrics. A variant of the evolutionary algorithm is employed to discover loss functions in the elementary search space. A loss-rejection protocol and a gradient-equivalence-check strategy are developed so as to improve the search efficiency, which are applicable to generic tasks. Extensive experiments on various computer vision tasks demonstrate that our searched loss functions are on par with or superior to existing loss functions, which generalize well to different datasets and networks. Code shall be released.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/17/2019

AM-LFS: AutoML for Loss Function Search

Designing an effective loss function plays an important role in visual a...
research
10/15/2020

Auto Seg-Loss: Searching Metric Surrogates for Semantic Segmentation

We propose a general framework for searching surrogate losses for mainst...
research
07/05/2023

Loss Functions and Metrics in Deep Learning. A Review

One of the essential components of deep learning is the choice of the lo...
research
02/09/2021

Loss Function Discovery for Object Detection via Convergence-Simulation Driven Search

Designing proper loss functions for vision tasks has been a long-standin...
research
06/04/2021

Improving Computer Generated Dialog with Auxiliary Loss Functions and Custom Evaluation Metrics

Although people have the ability to engage in vapid dialogue without eff...
research
09/08/2019

TorchGAN: A Flexible Framework for GAN Training and Evaluation

TorchGAN is a PyTorch based framework for writing succinct and comprehen...
research
08/02/2022

What can we Learn by Predicting Accuracy?

This paper seeks to answer the following question: "What can we learn by...

Please sign up or login with your details

Forgot password? Click here to reset