机器学习中的自动微分:综述
Automatic differentiation in machine learning: a survey
摘要:
导数,主要是以梯度和海森的形式,在机器学习中无处不在。自动微分(AD),也称为算法微分或简称为“autodiff”,是一系列类似于反向传播但比反向传播更通用的技术,用于有效且准确地评估表示为计算机程序的数值函数的导数。AD是一个小而成熟的领域,其应用领域包括计算流体动力学,大气科学和工程设计优化。直到最近,机器学习和AD领域在很大程度上还没有意识到彼此,在某些情况下,它们独立地发现了彼此的结果。尽管它的相关性,通用AD已经从机器学习工具箱中消失,这种情况随着其在“动态计算图”和“可微编程”的名称下的持续采用而慢慢改变。我们调查了AD和机器学习的交叉点,涵盖了AD直接相关的应用程序,并解决了主要的实现技术。通过精确定义主要的微分技术及其相互关系,我们的目标是使“autodiff”,“自动微分“和“符号微分”的使用变得清晰,因为这些在机器学习设置中越来越多地遇到。
英文摘要:
Derivatives, mostly in the form of gradients and Hessians, are ubiquitous in machine learning. Automatic differentiation (AD), also called algorithmic differentiation or simply "autodiff", is a family of techniques similar to but more general than backpropagation for efficiently and accurately evaluating derivatives of numeric functions expressed as computer programs. AD is a small but established field with applications in areas including computational fluid dynamics, atmospheric sciences, and engineering design optimization. Until very recently, the fields of machine learning and AD have largely been unaware of each other and, in some cases, have independently discovered each other's results. Despite its relevance, general-purpose AD has been missing from the machine learning toolbox, a situation slowly changing with its ongoing adoption under the names "dynamic computational graphs" and "differentiable programming". We survey the intersection of AD and machine learning, cover applications where AD has direct relevance, and address the main implementation techniques. By precisely defining the main differentiation techniques and their interrelationships, we aim to bring clarity to the usage of the terms "autodiff", "automatic differentiation", and "symbolic differentiation" as these are encountered more and more in machine learning settings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。