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

By André F. T. Martins, Ramón Fernandez Astudillo. 2016

897 citations recorded by the source corpus.

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 its use in a network trained with backpropagation. Then, we propose a new smooth and convex loss function which is the sparsemax analogue of the logistic loss. We reveal an unexpected connection between this new loss and the Huber classification loss. We obtain promising empirical results in multi-label classification problems and in attention-based neural networks for natural language inference. For the latter, we achieve a similar performance as the traditional softmax, but with a selective, more compact, attention focus.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Model Architectures

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Yejin Choi
  3. Graham Neubig
  4. Percy Liang
  5. Noah A. Smith
  6. Luke S. Zettlemoyer
  7. Yonatan Belinkov
  8. Jianfeng Gao

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Mohit Bansal
  3. Dacheng Tao
  4. Xiaogang Wang
  5. Andrew Zisserman
  6. Ming-Hsuan Yang
  7. Trevor Darrell
  8. Jitendra Malik

In Model Architectures

  1. Yi Tay
  2. Donald Metzler
  3. Dara Bahri
  4. Graham Neubig
  5. Jimeng Sun
  6. Noah A. Smith
  7. Edward Choi
  8. Ben Peters

Citations in the corpus