# Improved Training Speed, Accuracy, and Data Utilization Through Loss   Function Optimization

**Authors:** Santiago Gonzalez, Risto Miikkulainen

arXiv: 1905.11528 · 2020-04-28

## TL;DR

This paper introduces GLO, a genetic programming-based method to automatically discover and optimize loss functions for neural networks, leading to faster training, higher accuracy, and better data efficiency.

## Contribution

It presents GLO, a novel approach for automating loss function design via metalearning, enhancing neural network performance without manual tuning.

## Key findings

- GLO outperforms standard cross-entropy loss on image classification.
- Networks trained with GLO require fewer training steps.
- GLO enables effective training on smaller datasets.

## Abstract

As the complexity of neural network models has grown, it has become increasingly important to optimize their design automatically through metalearning. Methods for discovering hyperparameters, topologies, and learning rate schedules have lead to significant increases in performance. This paper shows that loss functions can be optimized with metalearning as well, and result in similar improvements. The method, Genetic Loss-function Optimization (GLO), discovers loss functions de novo, and optimizes them for a target task. Leveraging techniques from genetic programming, GLO builds loss functions hierarchically from a set of operators and leaf nodes. These functions are repeatedly recombined and mutated to find an optimal structure, and then a covariance-matrix adaptation evolutionary strategy (CMA-ES) is used to find optimal coefficients. Networks trained with GLO loss functions are found to outperform the standard cross-entropy loss on standard image classification tasks. Training with these new loss functions requires fewer steps, results in lower test error, and allows for smaller datasets to be used. Loss-function optimization thus provides a new dimension of metalearning, and constitutes an important step towards AutoML.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1905.11528/full.md

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/1905.11528/full.md

## References

31 references — full list in the complete paper: https://tomesphere.com/paper/1905.11528/full.md

---
Source: https://tomesphere.com/paper/1905.11528