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

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

计算机科学 > 机器学习

arXiv:2301.08110 (cs)
[提交于 2023年1月19日 (v1),最后修订于 2023年10月25日 (此版本, v4)]

标题:AtMan: Understanding Transformer Predictions Through Memory Efficient Attention Manipulation

作者:Björn Deiseroth, Mayukh Deb, Samuel Weinbach, Manuel Brack, Patrick Schramowski, Kristian Kersting
查看论文《AtMan: Understanding Transformer Predictions Through Memory Efficient Attention Manipulation》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Generative transformer models have become increasingly complex, with large numbers of parameters and the ability to process multiple input modalities. Current methods for explaining their predictions are resource-intensive. Most crucially, they require prohibitively large amounts of extra memory, since they rely on backpropagation which allocates almost twice as much GPU memory as the forward pass. This makes it difficult, if not impossible, to use them in production. We present AtMan that provides explanations of generative transformer models at almost no extra cost. Specifically, AtMan is a modality-agnostic perturbation method that manipulates the attention mechanisms of transformers to produce relevance maps for the input with respect to the output prediction. Instead of using backpropagation, AtMan applies a parallelizable token-based search method based on cosine similarity neighborhood in the embedding space. Our exhaustive experiments on text and image-text benchmarks demonstrate that AtMan outperforms current state-of-the-art gradient-based methods on several metrics while being computationally efficient. As such, AtMan is suitable for use in large model inference deployments.
主题: 机器学习 (cs.LG); 人工智能 (cs.AI)
引用方式: arXiv:2301.08110 [cs.LG]
  (或者 arXiv:2301.08110v4 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2301.08110

提交历史

来自:Björn Deiseroth
[v1] 2023年1月19日 星期四 15:01:00 UTC
[v2] 2023年1月23日 星期一 23:30:02 UTC
[v3] 2023年10月20日 星期五 20:50:46 UTC
[v4] 2023年10月25日 星期三 12:05:01 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.LG
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-10
切换浏览方式为:
cs
cs.AI

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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