跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 神经与演化计算

arXiv:1606.08061 (cs)
[提交于 2016年6月26日]

标题:Exact gradient updates in time independent of output size for the spherical loss family

作者:Pascal Vincent, Alexandre de Brébisson, Xavier Bouthillier
查看论文《Exact gradient updates in time independent of output size for the spherical loss family》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:An important class of problems involves training deep neural networks with sparse prediction targets of very high dimension D. These occur naturally in e.g. neural language models or the learning of word-embeddings, often posed as predicting the probability of next words among a vocabulary of size D (e.g. 200,000). Computing the equally large, but typically non-sparse D-dimensional output vector from a last hidden layer of reasonable dimension d (e.g. 500) incurs a prohibitive O(Dd) computational cost for each example, as does updating the $D \times d$ output weight matrix and computing the gradient needed for backpropagation to previous layers. While efficient handling of large sparse network inputs is trivial, the case of large sparse targets is not, and has thus so far been sidestepped with approximate alternatives such as hierarchical softmax or sampling-based approximations during training. In this work we develop an original algorithmic approach which, for a family of loss functions that includes squared error and spherical softmax, can compute the exact loss, gradient update for the output weights, and gradient for backpropagation, all in $O(d^{2})$ per example instead of $O(Dd)$, remarkably without ever computing the D-dimensional output. The proposed algorithm yields a speedup of up to $D/4d$ i.e. two orders of magnitude for typical sizes, for that critical part of the computations that often dominates the training time in this kind of network architecture.
评论: Expanded journal version of our NIPS-2015 conference paper arXiv:1412.7091 with full algorithm generalized to the spherical family
主题: 神经与演化计算 (cs.NE); 机器学习 (cs.LG)
引用方式: arXiv:1606.08061 [cs.NE]
  (或者 arXiv:1606.08061v1 [cs.NE] 对于此版本)
  https://doi.org/10.48550/arXiv.1606.08061

提交历史

来自:Pascal Vincent
[v1] 2016年6月26日 星期日 17:57:36 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.NE
< 上一篇   |   下一篇 >
最新 | 近期 | 2016-06
切换浏览方式为:
cs
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站