无偏截尾时间反向传播
Unbiasing Truncated Backpropagation Through Time
摘要:
截断反向传播时间(截断BPTT)是一种广泛使用的学习递归计算图的方法。截断BPTT保持了时间反向传播(BPTT)的计算优势,同时减轻了在每一步对整个数据序列进行完整回溯的需要。然而,截断有利于短期依赖:截断BPTT的梯度估计是有偏的,因此它不会受益于随机梯度理论的收敛保证。我们介绍了预期重加权截断反向传播(ARTBP),一种算法,保持截断BPTT的计算优势,同时提供无偏性。ARTBP的工作原理是使用可变的截断长度以及精心选择的补偿因子的反向传播方程。我们在两个任务上检查ARTBP的可行性。首先,一个简单的合成任务,需要在不同尺度上仔细平衡时间依赖性:截断BPTT显示不可靠的性能,在最坏的情况下,发散,而ARTBP可靠地收敛。其次,在Penn Treebank字符级语言建模中,ARTBP的性能略优于截断的BPTT。
英文摘要:
Truncated Backpropagation Through Time (truncated BPTT) is a widespread method for learning recurrent computational graphs. Truncated BPTT keeps the computational benefits of Backpropagation Through Time (BPTT) while relieving the need for a complete backtrack through the whole data sequence at every step. However, truncation favors short-term dependencies: the gradient estimate of truncated BPTT is biased, so that it does not benefit from the convergence guarantees from stochastic gradient theory. We introduce Anticipated Reweighted Truncated Backpropagation (ARTBP), an algorithm that keeps the computational benefits of truncated BPTT, while providing unbiasedness. ARTBP works by using variable truncation lengths together with carefully chosen compensation factors in the backpropagation equation. We check the viability of ARTBP on two tasks. First, a simple synthetic task where careful balancing of temporal dependencies at different scales is needed: truncated BPTT displays unreliable performance, and in worst case scenarios, divergence, while ARTBP converges reliably. Second, on Penn Treebank character-level language modelling, ARTBP slightly outperforms truncated BPTT.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。