资源论文TREE -S TRUCTURED ATTENTION WITHH IERARCHICAL ACCUMULATION

TREE -S TRUCTURED ATTENTION WITHH IERARCHICAL ACCUMULATION

2020-01-02 | |  64 |   51 |   0

Abstract

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 selfattention at constant time complexity. Our approach outperforms SOTA methods in four IWSLT translation tasks and the WMT’14 English-German translation 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.

上一篇:Online and Stochastic Optimization beyondLipschitz Continuity: ARiemannian Approach

下一篇:FASTERSEG: SEARCHING FOR FASTER REAL-TIME SEMANTIC SEGMENTATION

用户评价
全部评价

热门资源

  • The Variational S...

    Unlike traditional images which do not offer in...

  • Learning to Predi...

    Much of model-based reinforcement learning invo...

  • Stratified Strate...

    In this paper we introduce Stratified Strategy ...

  • Learning to learn...

    The move from hand-designed features to learned...

  • A Mathematical Mo...

    Direct democracy, where each voter casts one vo...