arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.11462cs.LGcs.AImath.DS
收藏

通过时间维度上的误差缩放改进长时记忆学习

Improve Long-term Memory Learning Through Rescaling the Error Temporally

National University of Singapore(新加坡国立大学)

Shida Wang, Zhanglu Yan

AI总结:

该研究针对序列建模中常用误差度量存在短时记忆偏向的问题,提出时间缩放误差方法以降低偏向、缓解梯度消失,经实验验证其对长时记忆学习的有效性,且是首个定量分析该类偏向的工作。

摘要:

本文研究序列建模中长时记忆学习的误差度量选择问题。我们考察了常用误差(包括平均绝对误差/均方误差)中存在的短时记忆偏向。研究发现,在学习线性泛函时,所有时间维度上正加权的误差都存在短时记忆偏向。为降低这种偏向并改进长时记忆学习,我们提出使用时间缩放误差。该方法除了能降低短时记忆偏向,还可缓解梯度消失问题。我们在不同的长记忆任务和序列模型上开展了数值实验以验证我们的观点。数值结果证实,恰当的时间缩放误差对有效的长时记忆学习至关重要。据我们所知,这是首个在序列建模中定量分析不同误差的短时记忆偏向的工作。

英文摘要:

This paper studies the error metric selection for long-term memory learning in sequence modelling. We examine the bias towards short-term memory in commonly used errors, including mean absolute/squared error. Our findings show that all temporally positive-weighted errors are biased towards short-term memory in learning linear functionals. To reduce this bias and improve long-term memory learning, we propose the use of a temporally rescaled error. In addition to reducing the bias towards short-term memory, this approach can also alleviate the vanishing gradient issue. We conduct numerical experiments on different long-memory tasks and sequence models to validate our claims. Numerical results confirm the importance of appropriate temporally rescaled error for effective long-term memory learning. To the best of our knowledge, this is the first work that quantitatively analyzes different errors' memory bias towards short-term memory in sequence modelling.

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

↑