Tree-Structured Attention with Hierarchical Accumulation
Xuan-Phi Nguyen, Shafiq R. Joty, Steven C. H. Hoi, Richard Socher
摘要
Incorporating hierarchical structures like constituency trees has been shown to be effective for various natural language processing (NLP) tasks. However, it is evident that state-of-the-art (SOTA) sequence-based models like the Transformer struggle to encode such structures inherently. On the other hand, dedicated models like the Tree-LSTM, while explicitly modeling hierarchical structures, do not perform as efficiently as the Transformer. In this paper, we attempt to bridge this gap with Hierarchical Accumulation to encode parse tree structures into self-attention at constant time complexity. Our approach outperforms SOTA methods in four IWSLT translation tasks and the WMT'14 English-German task. It also yields improvements over Transformer and Tree-LSTM on three text classification tasks. We further demonstrate that using hierarchical priors can compensate for data shortage, and that our model prefers phrase-level attentions over token-level attentions.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Vulnerability Detection with Graph Simplification and Enhanced Graph Representation Learning 引用了 GraphCodeBERT: Pre-training Code Representations with Data Flow
- GraphCodeBERT: Pre-training Code Representations with Data Flow 引用了 Code Prediction by Feeding Trees to Transformers
引用它的顶会 Paper16
- GraphCodeBERT: Pre-training Code Representations with Data FlowDaya Guo, Shuo Ren, Shuai Lu, Zhangyin Feng 等ICLR 2021 · 1,644 次引用
- Code Prediction by Feeding Trees to TransformersSeohyun Kim, Jinman Zhao, Yuchi Tian, Satish ChandraICSE 2021 · 179 次引用
- SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and VerificationXupeng Miao, Gabriele Oliaro, Zhihao Zhang, Xinhao Cheng 等ASPLOS 2024 · 105 次引用
- TUTA: Tree-based Transformers for Generally Structured Table Pre-trainingZhiruo Wang, Haoyu Dong, Ran Jia, Jia Li 等KDD 2021 · 88 次引用
- Vulnerability Detection with Graph Simplification and Enhanced Graph Representation LearningXin-Cheng Wen, Yupan Chen, Cuiyun Gao, Hongyu Zhang 等ICSE 2023 · 77 次引用
相关 Paper
- Recursive Tree-Structured Self-Attention for Answer Sentence SelectionKhalil Mrini, Emilia Farcas, Ndapa NakasholeACL 2021
- Mimic and Conquer: Heterogeneous Tree Structure Distillation for Syntactic NLPHao Fei, Yafeng Ren, Donghong JiEMNLP Findings 2020 · 16 次引用
- Analysis of Tree-Structured Architectures for Code GenerationSamip Dahal, Adyasha Maharana, Mohit BansalACL Findings 2021 · 9 次引用
- Syntax-guided Localized Self-attention by Constituency Syntactic DistanceShengyuan Hou, Jushi Kai, Haotian Xue, Bingyu Zhu 等EMNLP Findings 2022 · 2 次引用
- HiTIN: Hierarchy-aware Tree Isomorphism Network for Hierarchical Text ClassificationHe Zhu, Chong Zhang, Junjie Huang, Junran Wu 等ACL 2023 · 17 次引用
