arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.12981cs.MScs.SEmath.OC
收藏

ensmallen 库:用于灵活数值优化的库

The ensmallen library for flexible numerical optimization

Ryan R. Curtin, Marcus Edel, Rahul Ganesh Prabhu, Suryoday Basak, Zhihao Lou, Conrad Sanderson

AI总结:

本文介绍 ensmallen 库,一个灵活的 C++ 数值优化框架,支持多种目标函数和优化器,性能优于其他框架,且易于扩展。

摘要:

我们概述了 ensmallen 数值优化库,它提供了一个灵活的 C++ 框架,用于对用户提供的目标函数进行数学优化。该库支持多种类型的目标函数,包括一般的、可微的、可分离的、带约束的和分类的。它提供了一系列多样化的预构建优化器,包括拟牛顿优化器和多种随机梯度下降变体。底层框架便于实现新的优化器。优化一个目标函数通常只需提供一个或两个 C++ 函数。通过回调函数可以轻松指定自定义行为。实证比较表明,ensmallen 在提供更多功能的同时,其性能优于其他框架。该库可在 https://ensmallen.org 获取,并采用宽松的 BSD 许可证分发。

英文摘要:

We overview the ensmallen numerical optimization library, which provides a flexible C++ framework for mathematical optimization of user-supplied objective functions. Many types of objective functions are supported, including general, differentiable, separable, constrained, and categorical. A diverse set of pre-built optimizers is provided, including Quasi-Newton optimizers and many variants of Stochastic Gradient Descent. The underlying framework facilitates the implementation of new optimizers. Optimization of an objective function typically requires supplying only one or two C++ functions. Custom behavior can be easily specified via callback functions. Empirical comparisons show that ensmallen outperforms other frameworks while providing more functionality. The library is available at https://ensmallen.org and is distributed under the permissive BSD license.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑