Transformer已在语言、图像和语音处理领域取得了显著成功。近年来,研究者们提出了各类高效注意力架构,旨在提升Transformer的效率同时基本保留其效能,尤其是在长序列建模场景下。测试这类高效方法长程建模能力的常用基准是Long Range Arena(LRA,长程竞技场)。但LRA仅聚焦于标准双向(即非因果)自注意力,完全忽略了对下游应用同等重要的交叉注意力与单向(即因果)注意力。本文提出了Comprehensive Attention Benchmark(CAB,综合注意力基准),该基准基于细粒度注意力分类体系,涵盖四种可区分的注意力模式:非因果自注意力、因果自注意力、非因果交叉注意力与因果交叉注意力。CAB收集了来自不同研究领域的7项真实世界任务,用于在四种注意力模式下评估各类高效注意力方法。在这些任务中,CAB在8种骨干网络中验证高效注意力方法,以展现其在不同神经架构间的泛化性。我们开展了详尽实验,在CAB上对9种基于不同设计理念的常用高效注意力架构的性能进行基准测试。大量实验结果也揭示了高效注意力的核心问题,例如相较于原生注意力的效率长度表现、跨注意力模式的性能一致性、注意力机制的增益,以及长上下文语言建模中的插值/外推表现。
英文摘要:
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.
LabelBench: A Comprehensive Framework for Benchmarking Adaptive Label-Efficient Learning
University of Wisconsin, Madison(威斯康星大学麦迪逊分校);University of Washington(华盛顿大学);Georgia Institute of Technology(佐治亚理工学院);University of California, Riverside(加州大学河滨分校)
Nanyang Technological University(南洋理工大学);Beijing University of Posts and Telecommunications(北京邮电大学);Queen Mary University of London(伦敦玛丽女王大学);SenseTime Research(商汤科技研究院);Peking University(北京大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);University of California, Berkeley(加州大学伯克利分校)
Exploring Progress in Multivariate Time Series Forecasting: Comprehensive Benchmarking and Heterogeneity Analysis
Institute of Computing Technology, CAS(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);School of Computer Science and Technology, Huazhong University of Science and Technology(华中科技大学计算机科学与技术学院);Tsinghua University(清华大学);School of Computer Science and Engineering, The University of New South Wales(新南威尔士大学计算机科学与工程学院);School of Computer Science and Engineering, Nanyang Technological University(南洋理工大学计算机科学与工程学院);Department of Computer Science, Aalborg University(奥尔堡大学计算机科学系)
Benchmarking Machine Learning Models to Predict Corporate Bankruptcy
McCoy College of Business at Texas State University(德克萨斯州立大学麦考伊商学院);Scheller College of Business at Georgia Institute of Technology(佐治亚理工学院谢勒商学院);College of Computing at Georgia Institute of Technology(佐治亚理工学院计算学院)
Benchmarking Foundation Models with Language-Model-as-an-Examiner
Singapore Management University(新加坡管理大学);Tsinghua University(清华大学);University of California, Los Angeles(加州大学洛杉矶分校);Beijing University of Posts and Telecommunications(北京邮电大学)
Comprehensive Benchmarking of Machine Learning Methods for Risk Prediction Modelling from Large-Scale Survival Data: A UK Biobank Study
King’s College London(伦敦国王学院);British Heart Foundation Centre of Research Excellence(英国心脏基金会卓越研究中心);School of Cardiovascular & Metabolic Medicine and Sciences, King’s College London(伦敦国王学院心血管与代谢医学与科学学院);Institute of Cardiovascular Science, University College London(伦敦大学学院心血管科学研究所)
该研究在 UK Biobank 大规模生存数据上基准测试八种线性至深度学习生存模型,发现 COX-PH 稳健,而复杂模型仅在特定样本与预测矩阵条件下占优。