Continuous Self-Attention Models with Neural ODE Networks
Jing Zhang, Peng Zhang, Baiwen Kong, Junqiu Wei, Xin Jiang
摘要
Stacked self-attention models receive widespread attention, due to its ability of capturing global dependency among words. However, the stacking of many layers and components generates huge parameters, leading to low parameter efficiency. In response to this issue, we propose a lightweight architecture named Continuous Self-Attention models with neural ODE networks (CSAODE). In CSAODE, continuous dynamical models (i.e., neural ODEs) are coupled with our proposed self-attention block to form a self-attention ODE solver. This solver continuously calculates and optimizes the hidden states via only one layer of parameters to improve the parameter efficiency. In addition, we design a novel accelerated continuous dynamical model to reduce computing costs, and integrate it in CSAODE. Moreover, since the original self-attention ignores local information, CSAODE makes use of N-gram convolution to encode local representations, and a fusion layer with only two trainable scalars are designed for generating sentence vectors. We perform a series of experiments on text classification, natural language inference (NLI) and text matching tasks. With fewer parameters, CSAODE outperforms state-of-the-art models on text classification tasks (e.g., 1.3% accuracy improved on SUBJ task), and has competitive performances for NLI and text matching tasks as well.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Predictor-Corrector Enhanced Transformers with Exponential Moving Average Coefficient Learning 引用了 ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generation
- Learning to Encode Position for Transformer with Continuous Dynamical Model 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generation 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
引用它的顶会 Paper8
- ContiFormer: Continuous-Time Transformer for Irregular Time Series ModelingYuqi Chen, Kan Ren, Yansen Wang, Yuchen Fang 等NeurIPS 2023 · 131 次引用
- ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence GenerationBei Li, Quan Du, Tao Zhou, Yi Jing 等ACL 2022 · 43 次引用
- Continuous-Time Attention for Sequential LearningJen-Tzung Chien, Yi-Hsiang ChenAAAI 2021 · 19 次引用
- Predictor-Corrector Enhanced Transformers with Exponential Moving Average Coefficient LearningBei Li, Tong Zheng, Rui Wang, Jiahao Liu 等NeurIPS 2024 · 5 次引用
- Quantum-Inspired Neural Network with Runge-Kutta MethodZipeng Fan, Jing Zhang, Peng Zhang, Qianxi Lin 等AAAI 2024 · 4 次引用
它引用的 Paper3
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel 等ICLR 2020 · 7,418 次引用
- Learning to Encode Position for Transformer with Continuous Dynamical ModelXuanqing Liu, Hsiang-Fu Yu, Inderjit S. Dhillon, Cho-Jui HsiehICML 2020 · 139 次引用
- Multiple Positional Self-Attention Network for Text ClassificationBiyun Dai, Jinlong Li, Ruoyi XuAAAI 2020 · 10 次引用
相关 Paper
- Sparse Modular Activation for Efficient Sequence ModelingLiliang Ren, Yang Liu, Shuohang Wang, Yichong Xu 等NeurIPS 2023 · 23 次引用
- Stateful ODE-Nets using Basis Function ExpansionsAlejandro F. Queiruga, N. Benjamin Erichson, Liam Hodgkinson, Michael W. MahoneyNeurIPS 2021 · 18 次引用
- Recurrent Attention Networks for Long-text ModelingXianming Li, Zongxi Li, Xiaotian Luo, Haoran Xie 等ACL Findings 2023 · 8 次引用
- Boosting Inference Efficiency: Unleashing the Power of Parameter-Shared Pre-trained Language ModelsWeize Chen, Xiaoyue Xu, Xu Han, Yankai Lin 等EMNLP Findings 2023
- eNODE: Energy-Efficient and Low-Latency Edge Inference and Training of Neural ODEsJunkang Zhu, Yaoyu Tao, Zhengya ZhangHPCA 2023 · 4 次引用
