Graph explorer

Sparse Sinkhorn Attention

We propose Sparse Sinkhorn Attention, a new efficient and sparse method for learning to attend. Our method is based on differentiable sorting of internal representations. Concretely, we introduce a meta sorting network that learns to generate latent permutations over sequences. Given sorted sequences, we are then able to compute quasi-global attention with only local windows, improving the memory efficiency of the attention module. To this end, we propose new algorithmic innovations such as Causal Sinkhorn Balancing and SortCut, a dynamic sequence truncation method for tailoring Sinkhorn Attention for encoding and/or decoding purposes. Via extensive experiments on algorithmic seq2seq sorting, language modeling, pixel-wise image generation, document classification and natural language inference, we demonstrate that our memory efficient Sinkhorn Attention method is competitive with vanilla attention and consistently outperforms recently proposed efficient Transformer models such as Sparse Transformers.

8 nodes9 linksoverview previewSparse Sinkhorn Attention
8 nodes9 links
Sparse Sinkhorn Attention8 visible / 8 total nodes / 19 links
Related contextWorks onCo-authorshipCo-authorshipCo-authorshipCo-authorshipCo-authorshipCo-authorshipCo-authorshipCo-authorshipCo-authorshipCo-authorshipAuthorshipAuthorshipAuthorshipAuthorshipTopic signalTopic signalAuthorshipWSparse Sinkhorn Attentionpreprint / 2020AYi TayResearcherADara BahriResearcherALiu YangResearcherADonald MetzlerResearcherTMachine Learning49008 worksTComputation and Language14115 worksADa-Cheng JuanResearcher
PaperSignal 107 links

Sparse Sinkhorn Attention

preprint / 2020

Open