arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.13587cs.LGcs.SYeess.SY
收藏

基于最优基线的得分函数方差约简

Variance Reduction for Score Functions Using Optimal Baselines

Cornell University(康奈尔大学)

Ronan Keane, H. Oliver Gao

摘要:

许多问题涉及使用模型,这些模型学习概率分布或以某种方式包含随机性。在这样的问题中,因为计算真实的期望梯度可能是棘手的,梯度估计器被用来更新模型参数。当模型参数直接影响概率分布时,梯度估计将涉及得分函数项。本文研究基线,得分函数的方差减少技术。动机主要是由强化学习,我们推导出第一次的最佳状态相关的基线,基线的结果在梯度估计与最小方差的表达式。虽然我们表明,存在的例子中,最佳基线可能是任意优于一个价值函数基线,我们发现,价值函数基线通常执行类似的最佳基线的方差减少。此外,价值函数也可以用于收益的自举估计,从而导致额外的方差减少。我们的研究结果提供了新的见解和理由,为什么价值函数基线和广义优势估计(GAE)的工作以及在实践中。

英文摘要:

Many problems involve the use of models which learn probability distributions or incorporate randomness in some way. In such problems, because computing the true expected gradient may be intractable, a gradient estimator is used to update the model parameters. When the model parameters directly affect a probability distribution, the gradient estimator will involve score function terms. This paper studies baselines, a variance reduction technique for score functions. Motivated primarily by reinforcement learning, we derive for the first time an expression for the optimal state-dependent baseline, the baseline which results in a gradient estimator with minimum variance. Although we show that there exist examples where the optimal baseline may be arbitrarily better than a value function baseline, we find that the value function baseline usually performs similarly to an optimal baseline in terms of variance reduction. Moreover, the value function can also be used for bootstrapping estimators of the return, leading to additional variance reduction. Our results give new insight and justification for why value function baselines and the generalized advantage estimator (GAE) work well in practice.

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

↑