paper-with-me

홈 › Papers

Pruning and Sparsemax Methods for Hierarchical Attention Networks

2020-04-08 · João G. Ribeiro, Frederico S. Felisberto, Isabel C. Neto

This paper introduces and evaluates two novel Hierarchical Attention Network models [Yang et al., 2016] - i) Hierarchical Pruned Attention Networks, which remove the irrelevant words and sentences from the classification process in order to reduce potential noise in the document classification accuracy and ii) Hierarchical Sparsemax Attention Networks, which replace the Softmax function used in the attention mechanism with the Sparsemax [Martins and Astudillo, 2016], capable of better handling importance distributions where a lot of words or sentences have very low probabilities. Our empirical evaluation on the IMDB Review for sentiment analysis datasets shows both approaches to be able to match the results obtained by the current state-of-the-art (without, however, any significant benefits). All our source code is made available athttps://github.com/jmribeiro/dsl-project.

📄 PDF Abstract BibTeX arXiv:2004.04343

Code (2)

jmribeiro/dsl-project 공식 구현 pytorch
jmribeiro/Pruning-and-Sparsemax-Methods-for-Hierarchical-Attention-Networks pytorch

Tasks

Document ClassificationGeneral ClassificationSentiment Analysis

Methods 이 논문이 사용한 방법론

Sparsemax Sparsemax is a type of activation/output function similar to the traditional softmax, but able to output sparse probabilities.…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Understanding Multi-Head Attention in Abstractive Summarization

2019-11-10 · Joris Baan, Maartje ter Hoeve, Marlies van der Wees, Anne Schuth 외

Attention mechanisms in deep learning architectures have often been used as a means of transparency and, as such, to shed light on the inner workings of the architectures. Recently, there has been a growing interest in w…

Abstractive Text SummarizationMachine TranslationTranslation

Scaling sparsemax based channel selection for speech recognition with ad-hoc microphone arrays

2021-03-29 · Junqi Chen, Xiao-Lei Zhang

Recently, speech recognition with ad-hoc microphone arrays has received much attention. It is known that channel selection is an important problem of ad-hoc microphone arrays, however, this topic seems far from explored …

channel selectionspeech-recognitionSpeech Recognition

From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classification

2016-02-05 · André F. T. Martins, Ramón Fernandez Astudillo

We propose sparsemax, a new activation function similar to the traditional softmax, but able to output sparse probabilities. After deriving its properties, we show how its Jacobian can be efficiently computed, enabling i…

General ClassificationMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATIONNatural Language Inference

Data-independent Module-aware Pruning for Hierarchical Vision Transformers

2024-04-21 · Yang He, Joey Tianyi Zhou

Hierarchical vision transformers (ViTs) have two advantages over conventional ViTs. First, hierarchical ViTs achieve linear computational complexity with respect to image size by local self-attention. Second, hierarchica…

A Regularized Framework for Sparse and Structured Neural Attention

2017-05-22 · NeurIPS 2017 12 · Vlad Niculae, Mathieu Blondel

Modern neural networks are often augmented with an attention mechanism, which tells the network where to focus within the input. We propose in this paper a new framework for sparse and structured attention, building upon…

Machine TranslationNatural Language InferenceSentenceSentence Summarization+2