CoChat

Transformer Dissection: An Unified Understanding for Transformer’s Attention via the Lens of Kernel

Open access
Tsai, Yao-Hung Hubert, Bai, Shaojie, Yamada, Makoto, Morency, Louis-Philippe, Salakhutdinov, Ruslan · 2019 · Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)

The DOI matches its Crossref record; 27 of the 27 references it cites were found in a registry or an index.

Abstract

Yao-Hung Hubert Tsai, Shaojie Bai, Makoto Yamada, Louis-Philippe Morency, Ruslan Salakhutdinov. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP). 2019.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.18653/v1/d19-1443

Cites

27 of 27 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

  • Attention Is All You Need

    Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404 · cited 34×

    “Transformer-XL For performance-wise comparisons, Transformer-XL (Dai et al., 2019) showed that, the additional memories in M ( x q , S x k ) are able to capture longer-term dependency than the original Transformer (Vaswani et al., 2017) and hence results in better performance.”
    BackgroundMethodResultInfluential
  • BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding

    Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018) · arXiv · doi:10.48550/arxiv.1810.04805 · Cited by 73,173 · cited 1×

    “…Networks (TCNs) (Bai et al., 2018) for sequence modeling tasks across neural machine translations ( Vaswani et al., 2017), language understanding ( Devlin et al., 2018), sequence prediction (Dai et al., 2019), image generation (Child et al., 2019), video activity clas-sification (Wang et al.,…”
    Background
  • BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding

    Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325 · cited 1×

    “…Networks (TCNs) (Bai et al., 2018) for sequence modeling tasks across neural machine translations ( Vaswani et al., 2017), language understanding ( Devlin et al., 2018), sequence prediction (Dai et al., 2019), image generation (Child et al., 2019), video activity clas-sification (Wang et al.,…”
    Background
  • Sequence to Sequence Learning with Neural Networks

    Sutskever, I., Vinyals, O., & Le, Q. V. (2014) · arXiv · doi:10.48550/arxiv.1409.3215 · Cited by 17,766 · cited 3×

    “…(Vaswani et al., 2017) is a relative new architecture which outperforms traditional deep learning models such as Recurrent Neural Networks (RNNs) (Sutskever et al., 2014) and Temporal Convolutional Networks (TCNs) (Bai et al., 2018) for sequence modeling tasks across neural machine translations…”
    Background
  • Learning with Kernels: Support Vector Machines, Regularization, Optimization, and Beyond

    Schölkopf, B., & Smola, A. J. (2001) · The MIT Press eBooks · doi:10.7551/mitpress/4175.001.0001 · Cited by 11,703

  • Non-local Neural Networks

    Wang, X., Girshick, R., Gupta, A., & He, K. (2018) · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2018.00813 · Cited by 11,596

  • A Non-Local Algorithm for Image Denoising

    Buades, A., Coll, B., & Morel, J.-M. (2005) · 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05) · doi:10.1109/cvpr.2005.38 · Cited by 7,616 · cited 2×

    “For example, Non-Local Neural Networks (Wang et al., 2018) made a connection between the attention and the non-local operation in image processing (Buades et al., 2005).”
    Background
  • An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling

    Bai, S., Kolter, J. Z., & Koltun, V. (2018) · arXiv · doi:10.48550/arxiv.1803.01271 · Cited by 4,655 · cited 2×

    “Unlike recurrent computation (Sutskever et al., 2014) (i.e., RNNs) and temporal convolutional computation (Bai et al., 2018) (i.e., TCNs), Trans-former’s attention is an order-agnostic operation given the order in the inputs (Vaswani et al., 2017).”
    BackgroundSelf-citation
  • Transformer-XL: Attentive language models beyond a fixed-length context

    Dai, Z., Yang, Z., Yang, Y., Carbonell, J., Le, Q., & Salakhutdinov, R. (2019) · Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/p19-1285 · Cited by 3,169 · cited 40×

    “…allows us to explore new family of attention while at the same time offering a framework to categorize previous attention variants (Vaswani et al., 2017; Shaw et al., 2018; Huang et al., 2018b; Dai et al., 2019; Child et al., 2019; Lee et al., 2018; Wang et al., 2018; Tsai et al., 2019a).”
    BackgroundMethodResultInfluentialSelf-citation
  • Self-Attention with Relative Position Representations

    Shaw, P., Uszkoreit, J., & Vaswani, A. (2018) · Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers) · doi:10.18653/v1/n18-2074 · Cited by 2,505 · cited 18×

    “…allows us to explore new family of attention while at the same time offering a framework to categorize previous attention variants (Vaswani et al., 2017; Shaw et al., 2018; Huang et al., 2018b; Dai et al., 2019; Child et al., 2019; Lee et al., 2018; Wang et al., 2018; Tsai et al., 2019a).”
    BackgroundMethodInfluential
  • fairseq: A Fast, Extensible Toolkit for Sequence Modeling

    Ott, M., Edunov, S., Baevski, A., Fan, A., Gross, S., Ng, N., Grangier, D., & Auli, M. (2019) · Proceedings of the 2019 Conference of the North · doi:10.18653/v1/n19-4009 · Cited by 2,344 · cited 4×

    “(i) Absolute Positional Embedding (Vaswani et al., 2017; Dai et al., 2019; Ott et al., 2019): For the original Transformer (Vaswani et al., 2017), each t i is represented by a vector with each dimen-sion being sine or cosine functions.”
    BackgroundMethodInfluential
  • Multimodal Transformer for Unaligned Multimodal Language Sequences

    Tsai, Y.-H. H., Bai, S., Liang, P. P., Kolter, J. Z., Morency, L.-P., & Salakhutdinov, R. (2019) · Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/p19-1656 · Cited by 2,259 · cited 19×

    “…allows us to explore new family of attention while at the same time offering a framework to categorize previous attention variants (Vaswani et al., 2017; Shaw et al., 2018; Huang et al., 2018b; Dai et al., 2019; Child et al., 2019; Lee et al., 2018; Wang et al., 2018; Tsai et al., 2019a).”
    BackgroundMethodInfluentialSelf-citation
  • Image transformer

    Parmar, N., Vaswani, A., Uszkoreit, J., Kaiser, Ł., Shazeer, N., Ku, A., & Tran, D. (2018) · arXiv · doi:10.48550/arxiv.1802.05751 · Cited by 1,085 · cited 4×

    “In addition to modeling sequences like word sentences (Vaswani et al., 2017) or music signals (Huang et al., 2018b), the Transformer can also be applied to images (Parmar et al., 2018), sets (Lee et al., 2018), and multimodal sequences (Tsai et al., 2019a).”
    BackgroundMethodInfluential
  • Generating Long Sequences with Sparse Transformers

    Child, R., Gray, S., Radford, A., & Sutskever, I. (2019) · arXiv · doi:10.48550/arxiv.1904.10509 · Cited by 1,063 · cited 21×

    “…allows us to explore new family of attention while at the same time offering a framework to categorize previous attention variants (Vaswani et al., 2017; Shaw et al., 2018; Huang et al., 2018b; Dai et al., 2019; Child et al., 2019; Lee et al., 2018; Wang et al., 2018; Tsai et al., 2019a).”
    BackgroundMethodInfluential
  • All of Nonparametric Statistics

    (2006) · Springer Texts in Statistics · doi:10.1007/0-387-30623-4 · Cited by 993

  • Set Transformer: A Framework for Attention-based Permutation-Invariant Neural Networks

    Lee, J., Lee, Y., Kim, J., Kosiorek, A. R., Choi, S., & Teh, Y. W. (2018) · arXiv · doi:10.48550/arxiv.1810.00825 · Cited by 691 · cited 9×

    “To put it formally, we first present the definition by Lee et al. (2018) for a permutation equivariance function: Definition 2.”
    BackgroundMethodInfluential
  • What you saw is not what you get: Domain adaptation using asymmetric kernel transforms

    Kulis, B., Saenko, K., & Darrell, T. (2011) · CVPR 2011 · doi:10.1109/cvpr.2011.5995702 · Cited by 688 · cited 1×

    “…features f q and f k : Note that the usage of asymmetric kernel is also commonly used in various machine learning tasks (Yilmaz, 2007; Tsuda, 1999; Kulis et al., 2011), where they observed the kernel form can be flexible and even non-valid (i.e., a kernel that is not symmetric and positive…”
    Method
  • Pointer Sentinel Mixture Models

    Merity, S., Xiong, C., Bradbury, J., & Socher, R. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1609.07843 · Cited by 427 · cited 3×

    “For the choice of datasets, we pick IWSLT’14 German-English (De-En) dataset (Edunov et al., 2017) for NMT and WikiText-103 dataset (Merity et al., 2016) for SP as suggested by Edunov et al. (Edunov et al., 2017) and Dai et al. (Dai et al., 2019).”
    Method
  • MMD GAN: Towards Deeper Understanding of Moment Matching Network

    Li, C., Chang, W.-C., Cheng, Y., Yang, Y., & Póczos, B. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1705.08584 · Cited by 384 · cited 2×

    “All the work considered the scaled asymmetric exponential kernel with the mapping W q and W k (Wilson et al., 2016; Li et al., 2017) for non-positional features f q and f k : Note that the usage of asymmetric kernel is also commonly used in various machine learning tasks (Yilmaz, 2007; Tsuda, 1999;…”
    BackgroundMethod
  • Object Tracking by Asymmetric Kernel Mean Shift with Automatic Scale and Orientation Selection

    Yilmaz, A. (2007) · 2007 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2007.382987 · Cited by 177 · cited 1×

    “…2017) for non-positional features f q and f k : Note that the usage of asymmetric kernel is also commonly used in various machine learning tasks (Yilmaz, 2007; Tsuda, 1999; Kulis et al., 2011), where they observed the kernel form can be flexible and even non-valid (i.e., a kernel that is not…”
    Method
  • Classical Structured Prediction Losses for Sequence to Sequence Learning

    Edunov, S., Ott, M., Auli, M., Grangier, D., & Ranzato, M. (2018) · Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers) · doi:10.18653/v1/n18-1033 · Cited by 152 · cited 3×

    “For the choice of datasets, we pick IWSLT’14 German-English (De-En) dataset (Edunov et al., 2017) for NMT and WikiText-103 dataset (Merity et al., 2016) for SP as suggested by Edunov et al. (Edunov et al., 2017) and Dai et al. (Dai et al., 2019).”
    Method
  • Video Relationship Reasoning Using Gated Spatio-Temporal Energy Graph

    Tsai, Y.-H. H., Divvala, S., Morency, L.-P., Salakhutdinov, R., & Farhadi, A. (2019) · 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2019.01067 · Cited by 96 · cited 11×

    “…allows us to explore new family of attention while at the same time offering a framework to categorize previous attention variants (Vaswani et al., 2017; Shaw et al., 2018; Huang et al., 2018b; Dai et al., 2019; Child et al., 2019; Lee et al., 2018; Wang et al., 2018; Tsai et al., 2019a).”
    BackgroundMethodInfluentialSelf-citation
  • On the Turing Completeness of Modern Neural Network Architectures

    Pérez, J. E. P., Marinković, J., & Barceló, P. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1901.03429 · Cited by 78 · cited 1×

    “In other words, previous work did not consider the mask between queries and keys when discussing the order-invariance problem (Pérez et al., 2019).”
    Background
  • An Improved Relative Self-Attention Mechanism for Transformer with Application to Music GenerationPreprint

    Huang, C.-Z. A., Vaswani, A., Uszkoreit, J., Shazeer, N., Hawthorne, C., Dai, A. M., Hoffman, M. D., & Eck, D. (2018) · arXiv (Cornell University) · Cited by 73

  • Music Transformer

    Huang, C.-Z. A., Vaswani, A., Uszkoreit, J., Shazeer, N., Simon, I., Hawthorne, C., Dai, A. M., Hoffman, M. D., Dinculescu, M., & Eck, D. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1809.04281 · Cited by 68

  • Set TransformerPreprint

    Lee, J., Lee, Y., Kim, J., Kosiorek, A. R., Choi, S., & Teh, Y. W. (2018) · arXiv (Cornell University) · Cited by 14

  • Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context

    Dai, Z., Yang, Z., Yang, Y., Carbonell, J., Le, Q. V., & Salakhutdinov, R. (2019) · arXiv · doi:10.48550/arxiv.1901.02860 · cited 40×

    “…allows us to explore new family of attention while at the same time offering a framework to categorize previous attention variants (Vaswani et al., 2017; Shaw et al., 2018; Huang et al., 2018b; Dai et al., 2019; Child et al., 2019; Lee et al., 2018; Wang et al., 2018; Tsai et al., 2019a).”
    BackgroundMethodResultInfluentialSelf-citation

Research works printed but not linked: 3

  1. Koji Tsuda. 1999. Support vector classifier with asym- metric kernel functions. In in European Symposium on Artificial Neural Networks (ESANN. Citeseer.
  2. Larry Wasserman. 2006. All of nonparametric statis- tics. Springer Science & Business Media.
  3. Andrew Gordon Wilson, Zhiting Hu, Ruslan Salakhut- dinov, and Eric P Xing. 2016. Deep kernel learning. In Artificial Intelligence and Statistics, pages 370- 378.

Cited by

See all 178

Metadata

Authors
Tsai, Y.-H. H., Bai, S., Yamada, M., Morency, L.-P., & Salakhutdinov, R.
Affiliations
  • RIKEN (JP)
  • Kyoto University (JP)
Venue
Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)
Published
2019
Pages
4343-4352
OpenAlex
W2970100546
Cited by
173
References
24
Citations by year
2026: 12 · 2025: 40 · 2024: 34 · 2023: 33 · 2022: 20 · 2021: 22 · 2020: 11 · 2019: 1
FWCI
5.17
Type
conference paper
Language
en
Open access
Licence
cc-by
Locations
  • Conference on Empirical Methods in Natural Language Processing (EMNLP) (publishedVersion, cc-by)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Funders
  • National Science Foundation (1734868, 1722822)
  • Nvidia
  • National Institutes of Health
  • Defense Advanced Research Projects Agency
  • Office of Naval Research (N000141812861)
  • Precursory Research for Embryonic Science and Technology
  • Air Force Research Laboratory
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
Keywords
transformer models, attention mechanism, kernel methods

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.