File Download

There are no files associated with this item.

  Links for fulltext
     (May Require Subscription)
Supplementary

Conference Paper: CAB: Comprehensive Attention Benchmarking on Long Sequence Modeling

TitleCAB: Comprehensive Attention Benchmarking on Long Sequence Modeling
Authors
Issue Date18-Jul-2023
Abstract

Transformer has achieved remarkable success in language, image, and speech processing. Recently, various efficient attention architectures have been proposed to improve transformer's efficiency while largely preserving its efficacy, especially in modeling long sequences. A widely-used benchmark to test these efficient methods' capability on long-range modeling is Long Range Arena (LRA). However, LRA only focuses on the standard bidirectional (or noncausal) self attention, and completely ignores cross attentions and unidirectional (or causal) attentions, which are equally important to downstream applications. In this paper, we propose Comprehensive Attention Benchmark (CAB) under a fine-grained attention taxonomy with four distinguishable attention patterns, namely, noncausal self, causal self, noncausal cross, and causal cross attentions. CAB collects seven real-world tasks from different research areas to evaluate efficient attentions under the four attention patterns. Among these tasks, CAB validates efficient attentions in eight backbone networks to show their generalization across neural architectures. We conduct exhaustive experiments to benchmark the performances of nine widely-used efficient attention architectures designed with different philosophies on CAB. Extensive experimental results also shed light on the fundamental problems of efficient attentions, such as efficiency length against vanilla attention, performance consistency across attention patterns, the benefit of attention mechanisms, and interpolation/extrapolation on long-context language modeling.


Persistent Identifierhttp://hdl.handle.net/10722/333816

 

DC FieldValueLanguage
dc.contributor.authorZhang, Jun-
dc.contributor.authorJiang, Shuyang-
dc.contributor.authorFeng, Jiangtao-
dc.contributor.authorZheng, Lin-
dc.contributor.authorKong, Lingpeng-
dc.date.accessioned2023-10-06T08:39:18Z-
dc.date.available2023-10-06T08:39:18Z-
dc.date.issued2023-07-18-
dc.identifier.urihttp://hdl.handle.net/10722/333816-
dc.description.abstract<p>Transformer has achieved remarkable success in language, image, and speech processing. Recently, various efficient attention architectures have been proposed to improve transformer's efficiency while largely preserving its efficacy, especially in modeling long sequences. A widely-used benchmark to test these efficient methods' capability on long-range modeling is Long Range Arena (LRA). However, LRA only focuses on the standard bidirectional (or noncausal) self attention, and completely ignores cross attentions and unidirectional (or causal) attentions, which are equally important to downstream applications. In this paper, we propose Comprehensive Attention Benchmark (CAB) under a fine-grained attention taxonomy with four distinguishable attention patterns, namely, noncausal self, causal self, noncausal cross, and causal cross attentions. CAB collects seven real-world tasks from different research areas to evaluate efficient attentions under the four attention patterns. Among these tasks, CAB validates efficient attentions in eight backbone networks to show their generalization across neural architectures. We conduct exhaustive experiments to benchmark the performances of nine widely-used efficient attention architectures designed with different philosophies on CAB. Extensive experimental results also shed light on the fundamental problems of efficient attentions, such as efficiency length against vanilla attention, performance consistency across attention patterns, the benefit of attention mechanisms, and interpolation/extrapolation on long-context language modeling.<br></p>-
dc.languageeng-
dc.relation.ispartofInternational Conference on Machine Learning (23/07/2023-29/07/2023, Honolulu, Hawaii)-
dc.titleCAB: Comprehensive Attention Benchmarking on Long Sequence Modeling-
dc.typeConference_Paper-
dc.identifier.doi10.48550/arXiv.2210.07661-

Export via OAI-PMH Interface in XML Formats


OR


Export to Other Non-XML Formats