ensmallen: a flexible C++ library for efficient function optimization

10/22/2018
by   Shikhar Bhardwaj, et al.
0

We present ensmallen, a fast and flexible C++ library for mathematical optimization of arbitrary user-supplied functions, which can be applied to many machine learning problems. Several types of optimizations are supported, including differentiable, separable, constrained, and categorical objective functions. The library provides many pre-built optimizers (including numerous variants of SGD and Quasi-Newton optimizers) as well as a flexible framework for implementing new optimizers and objective functions. Implementation of a new optimizer requires only one method and a new objective function requires typically one or two C++ functions. This can aid in the quick implementation and prototyping of new machine learning algorithms. Due to the use of C++ template metaprogramming, ensmallen is able to support compiler optimizations that provide fast runtimes. Empirical comparisons show that ensmallen is able to outperform other optimization frameworks (like Julia and SciPy), sometimes by large margins. The library is distributed under the BSD license and is ready for use in production environments.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/09/2020

Flexible numerical optimization with ensmallen

This report provides an introduction to the ensmallen numerical optimiza...
research
11/17/2017

A generic and fast C++ optimization framework

The development of the mlpack C++ machine learning library (http://www.m...
research
08/30/2021

The ensmallen library for flexible numerical optimization

We overview the ensmallen numerical optimization library, which provides...
research
12/19/2018

Orchestrate: Infrastructure for Enabling Parallelism during Hyperparameter Optimization

Two key factors dominate the development of effective production grade m...
research
03/10/2017

Deep Sets

In this paper, we study the problem of designing objective functions for...
research
12/07/2018

The Modeling of SDL Aiming at Knowledge Acquisition in Automatic Driving

In this paper we proposed an ultimate theory to solve the multi-target c...
research
06/10/2022

Flexible Differentiable Optimization via Model Transformations

We introduce DiffOpt.jl, a Julia library to differentiate through the so...

Please sign up or login with your details

Forgot password? Click here to reset