SparseMAP: Differentiable Sparse Structured Inference

Vlad Niculae, André F. T. Martins, Mathieu Blondel, Claire Cardie
2/12/2018
stat.MLcs.CLcs.LG

Official code: vene/sparsemap (114 stars, MIT, last commit 2019-02-10).

Abstract

Structured prediction requires searching over a combinatorial number of structures. To tackle it, we introduce SparseMAP: a new method for sparse structured inference, and its natural loss function. SparseMAP automatically selects only a few global structures: it is situated between MAP inference, which picks a single structure, and marginal inference, which assigns probability mass to all structures, including implausible ones. Importantly, SparseMAP can be computed using only calls to a MAP oracle, making it applicable to problems with intractable marginal inference, e.g., linear assignment. Sparsity makes gradient backpropagation efficient regardless of the structure, enabling us to augment deep neural networks with generic and sparse structured hidden layers. Experiments in dependency parsing and natural language inference reveal competitive accuracy, improved interpretability, and the ability to capture natural language ambiguities, which is attractive for pipeline systems.

View on arXivView PDF

Code Implementations(1)

vene/sparsemapOfficial100%
MIT

SparseMAP: differentiable sparse structure inference

1149C, C++Jun 1, 20187 years agoMIT

Similar Papers

Cite this paper

@article{niculae2018sparsemap,
  title  = {SparseMAP: Differentiable Sparse Structured Inference},
  author = {Vlad Niculae and André F. T. Martins and Mathieu Blondel and Claire Cardie},
  year   = {2018},
  eprint = {1802.04223},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1802.04223}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1802.04223.svg)](https://codeofpaper.com/paper/1802.04223)

Discussion