English

Fast Amortized Inference and Learning in Log-linear Models with Randomly Perturbed Nearest Neighbor Search

Machine Learning 2017-07-12 v1 Machine Learning

Abstract

Inference in log-linear models scales linearly in the size of output space in the worst-case. This is often a bottleneck in natural language processing and computer vision tasks when the output space is feasibly enumerable but very large. We propose a method to perform inference in log-linear models with sublinear amortized cost. Our idea hinges on using Gumbel random variable perturbations and a pre-computed Maximum Inner Product Search data structure to access the most-likely elements in sublinear amortized time. Our method yields provable runtime and accuracy guarantees. Further, we present empirical experiments on ImageNet and Word Embeddings showing significant speedups for sampling, inference, and learning in log-linear models.

Keywords

Cite

@article{arxiv.1707.03372,
  title  = {Fast Amortized Inference and Learning in Log-linear Models with Randomly Perturbed Nearest Neighbor Search},
  author = {Stephen Mussmann and Daniel Levy and Stefano Ermon},
  journal= {arXiv preprint arXiv:1707.03372},
  year   = {2017}
}

Comments

In UAI proceedings

R2 v1 2026-06-22T20:43:48.401Z