arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2202.05798cs.LG
收藏

The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns via Spotlights of Attention

The Swiss AI Lab, IDSIA(瑞士人工智能实验室(IDSIA));USI(意大利语区大学);SUPSI(瑞士南部应用科学与艺术大学);King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学(KAUST))

Kazuki Irie, Róbert Csordás, Jürgen Schmidhuber

英文摘要:

Linear layers in neural networks (NNs) trained by gradient descent can be expressed as a key-value memory system which stores all training datapoints and the initial weights, and produces outputs using unnormalised dot attention over the entire training experience. While this has been technically known since the 1960s, no prior work has effectively studied the operations of NNs in such a form, presumably due to prohibitive time and space complexities and impractical model sizes, all of them growing linearly with the number of training patterns which may get very large. However, this dual formulation offers a possibility of directly visualising how an NN makes use of training patterns at test time, by examining the corresponding attention weights. We conduct experiments on small scale supervised image classification tasks in single-task, multi-task, and continual learning settings, as well as language modelling, and discuss potentials and limits of this view for better understanding and interpreting how NNs exploit training patterns. Our code is public.

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

↑