arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.06209cs.LGcs.CLcs.MScs.PL
收藏

机器学习中的自动微分方法简介

A Brief Introduction to Automatic Differentiation for Machine Learning

University of California, Santa Cruz(加州大学圣克鲁兹分校)

Davan Harrison

摘要:

特别是机器学习和神经网络模型已经改善了许多人工智能相关任务的最新性能。神经网络模型通常使用执行基于梯度的优化方法以将模型拟合到数据集的框架来实现。这些框架使用称为自动微分(AD)的计算导数的技术,其从模型设计者移除执行导数计算的负担。在本报告中,我们描述了AD,其动机和不同的实施方法。我们简要地描述了与AD相关的Java编程。最后,我们展示了使用Tensorflow和PyTorch实现的示例程序,这是两个常用的AD框架。

英文摘要:

Machine learning and neural network models in particular have been improving the state of the art performance on many artificial intelligence related tasks. Neural network models are typically implemented using frameworks that perform gradient based optimization methods to fit a model to a dataset. These frameworks use a technique of calculating derivatives called automatic differentiation (AD) which removes the burden of performing derivative calculations from the model designer. In this report we describe AD, its motivations, and different implementation approaches. We briefly describe dataflow programming as it relates to AD. Lastly, we present example programs that are implemented with Tensorflow and PyTorch, which are two commonly used AD frameworks.

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

↑