用张量演算简化Hessian和高阶导数的链式规则
Chain Rules for Hessian and Higher Derivatives Made Easy by Tensor Calculus
摘要:
以紧凑、无坐标的方式计算矩阵式的多元导数对于理论和应用计算(例如优化和机器学习)都是非常重要的。这种计算的关键部分是导数的\emph{chain and product rules}。虽然它们在简单的场景中被早期教授,但实际应用涉及高维数组;在这种情况下,很难找到容易理解和紧凑的解释。本文讨论了如何相对简单地进行这种推导的基础上(简化为适用于应用计算机科学)张量的概念。提供了现代Python库中的数值示例。这一讨论简化并说明了Manton(2012)的早期论述。
英文摘要:
Computing multivariate derivatives of matrix-like expressions in the compact, coordinate free fashion is very important for both theory and applied computations (e.g. optimization and machine learning). The critical components of such computations are \emph{chain and product rules} for derivatives. Although they are taught early in simple scenarios, practical applications involve high-dimensional arrays; in this context it is very hard to find easy accessible and compact explanation. This paper discusses how to relatively simply carry such derivations based on the (simplified as adapted in applied computer science) concept of tensors. Numerical examples in modern Python libraries are provided. This discussion simplifies and illustrates an earlier exposition by Manton (2012).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。