arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2007.03317cs.LGstat.ML
收藏

基于差异分数匹配的生成模型的有效学习

Efficient Learning of Generative Models via Finite-Difference Score Matching

Tsinghua University(清华大学);Stanford University(斯坦福大学)

Tianyu Pang, Kun Xu, Chongxuan Li, Yang Song, Stefano Ermon, Jun Zhu

摘要:

若干机器学习应用涉及高阶导数的优化(例如,梯度的梯度),即使在自动微分的情况下,这在存储器和计算方面也是昂贵的。作为生成式建模中的一个典型例子,分数匹配(SM)涉及到Hessian轨迹的优化。为了提高计算效率,我们重写SM目标及其变种的方向导数,并提出了一个通用的策略,有效地近似任意阶方向导数有限差分(FD)。我们的近似只涉及函数求值,可以并行执行,没有梯度计算。因此,它降低了总的计算成本,同时也提高了数值稳定性。我们提供了两个实例,通过重新制定到FD形式的SM目标的变体。从经验上讲,我们证明了我们的方法产生的结果与基于梯度的同行相比,同时计算效率更高。

英文摘要:

Several machine learning applications involve the optimization of higher-order derivatives (e.g., gradients of gradients) during training, which can be expensive in respect to memory and computation even with automatic differentiation. As a typical example in generative modeling, score matching (SM) involves the optimization of the trace of a Hessian. To improve computing efficiency, we rewrite the SM objective and its variants in terms of directional derivatives, and present a generic strategy to efficiently approximate any-order directional derivative with finite difference (FD). Our approximation only involves function evaluations, which can be executed in parallel, and no gradient computations. Thus, it reduces the total computational cost while also improving numerical stability. We provide two instantiations by reformulating variants of SM objectives into the FD forms. Empirically, we demonstrate that our methods produce results comparable to the gradient-based counterparts while being much more computationally efficient.

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

↑