SANVis: Visual Analytics for Understanding Self-Attention Networks

Cheonbok Park, Inyoup Na, Yongjang Jo, Sungbok Shin, J. Yoo, B. Kwon, Jian Zhao, Hyungjong Noh, Yeonsoo Lee, J. Choo
{"title":"SANVis: Visual Analytics for Understanding Self-Attention Networks","authors":"Cheonbok Park, Inyoup Na, Yongjang Jo, Sungbok Shin, J. Yoo, B. Kwon, Jian Zhao, Hyungjong Noh, Yeonsoo Lee, J. Choo","doi":"10.1109/VISUAL.2019.8933677","DOIUrl":null,"url":null,"abstract":"Attention networks, a deep neural network architecture inspired by humans’ attention mechanism, have seen significant success in image captioning, machine translation, and many other applications. Recently, they have been further evolved into an advanced approach called multi-head self-attention networks, which can encode a set of input vectors, e.g., word vectors in a sentence, into another set of vectors. Such encoding aims at simultaneously capturing diverse syntactic and semantic features within a set, each of which corresponds to a particular attention head, forming altogether multi-head attention. Meanwhile, the increased model complexity prevents users from easily understanding and manipulating the inner workings of models. To tackle the challenges, we present a visual analytics system called SANVis, which helps users understand the behaviors and the characteristics of multi-head self-attention networks. Using a state-of-the-art self-attention model called Transformer, we demonstrate usage scenarios of SANVis in machine translation tasks. Our system is available at http://short.sanvis.org.","PeriodicalId":192801,"journal":{"name":"2019 IEEE Visualization Conference (VIS)","volume":"44 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-09-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"25","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE Visualization Conference (VIS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/VISUAL.2019.8933677","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 25

Abstract

Attention networks, a deep neural network architecture inspired by humans’ attention mechanism, have seen significant success in image captioning, machine translation, and many other applications. Recently, they have been further evolved into an advanced approach called multi-head self-attention networks, which can encode a set of input vectors, e.g., word vectors in a sentence, into another set of vectors. Such encoding aims at simultaneously capturing diverse syntactic and semantic features within a set, each of which corresponds to a particular attention head, forming altogether multi-head attention. Meanwhile, the increased model complexity prevents users from easily understanding and manipulating the inner workings of models. To tackle the challenges, we present a visual analytics system called SANVis, which helps users understand the behaviors and the characteristics of multi-head self-attention networks. Using a state-of-the-art self-attention model called Transformer, we demonstrate usage scenarios of SANVis in machine translation tasks. Our system is available at http://short.sanvis.org.
SANVis:理解自我注意网络的可视化分析
注意力网络是一种受人类注意力机制启发的深度神经网络架构,在图像字幕、机器翻译和许多其他应用中取得了重大成功。最近,它们进一步发展成为一种称为多头自注意网络的高级方法,该方法可以将一组输入向量(例如句子中的单词向量)编码为另一组向量。这种编码的目的是在一个集合中同时捕获不同的语法和语义特征,每一个特征对应一个特定的注意头,形成多头注意。同时,模型复杂性的增加阻碍了用户轻松理解和操作模型的内部工作。为了应对这些挑战,我们提出了一个名为SANVis的可视化分析系统,该系统可以帮助用户理解多头自关注网络的行为和特征。使用最先进的自注意模型Transformer,我们演示了SANVis在机器翻译任务中的使用场景。我们的系统可以在http://short.sanvis.org上找到。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信