Skip to main content
QUICK REVIEW

[Paper Review] AutoLoss: Learning Discrete Schedules for Alternate Optimization.

Haowen Xu, Hao Zhang|arXiv (Cornell University)|Sep 27, 2018
Neural Networks and ApplicationsComputer Science11 citations
TL;DR

AutoLoss is a meta-learning framework that automatically learns discrete optimization schedules for alternating objective optimization in machine learning. By modeling schedules as data-driven, dynamic policies using metadata, it improves convergence quality across diverse tasks like GAN training, NMT, MLP classification, and quadratic regression, with generalization to new models and datasets.

ABSTRACT

Many machine learning problems involve iteratively and alternately optimizing different task objectives with respect to different sets of parameters. Appropriately scheduling the optimization of a task objective or a set of parameters is usually crucial to the quality of convergence. In this paper, we present AutoLoss, a meta-learning framework that automatically learns and determines the optimization schedule. AutoLoss provides a generic way to represent and learn the discrete optimization schedule from metadata, allows for a dynamic and data-driven schedule in ML problems that involve alternating updates of different parameters or from different loss objectives. We apply AutoLoss on four ML tasks: d-ary quadratic regression, classification using a multi-layer perceptron (MLP), image generation using GANs, and multi-task neural machine translation (NMT). We show that the AutoLoss controller is able to capture the distribution of better optimization schedules that result in higher quality of convergence on all four tasks. The trained AutoLoss controller is generalizable -- it can guide and improve the learning of a new task model with different specifications, or on different datasets.

Motivation & Objective

  • To address the challenge of manually designing effective optimization schedules in alternating objective learning scenarios.
  • To develop a generic, data-driven method for learning discrete schedules that improve convergence quality in machine learning.
  • To enable generalization of learned schedules across different models, architectures, and datasets.
  • To automate the scheduling of loss optimization in multi-objective or multi-parameter training setups.
  • To provide a scalable and adaptive framework for optimizing complex machine learning pipelines with alternating updates.

Proposed method

  • AutoLoss uses meta-learning to train a controller that predicts discrete optimization schedules based on input metadata such as model architecture, data statistics, and training progress.
  • It represents optimization schedules as discrete sequences of loss or parameter updates, learned via a differentiable policy network.
  • The framework employs a reinforcement learning-based training objective to maximize final model performance, with schedule decisions made at each training step.
  • The controller is trained on a distribution of tasks and configurations, enabling it to generalize to new, unseen models and datasets.
  • It dynamically selects which loss or parameter set to optimize at each step, based on learned patterns from prior training runs.
  • The method supports end-to-end training of the schedule policy using gradient-based optimization, even though the schedule itself is discrete.

Experimental results

Research questions

  • RQ1Can a learned, data-driven optimization schedule outperform hand-designed or fixed schedules in alternating optimization problems?
  • RQ2To what extent can an AutoLoss controller generalize across different model architectures and datasets?
  • RQ3How effective is AutoLoss in improving convergence quality across diverse machine learning tasks?
  • RQ4Can the controller adapt to new tasks without retraining, based on metadata alone?
  • RQ5What is the impact of schedule diversity and distributional learning on final model performance?

Key findings

  • AutoLoss successfully learns optimization schedules that lead to higher-quality convergence across four distinct machine learning tasks.
  • The trained controller generalizes effectively to new models with different architectures and datasets, without retraining.
  • The framework improves convergence quality by learning dynamic, data-driven schedules that adapt to training progress.
  • The controller captures the distribution of high-performing schedules, enabling consistent performance gains across diverse setups.
  • AutoLoss demonstrates robustness and adaptability in alternating optimization, including in complex tasks like GAN training and multi-task NMT.
  • The method achieves superior results compared to fixed or heuristic scheduling strategies in all evaluated tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.