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

07/11/2017
by   Stephen Mussmann, et al.
0

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.

READ FULL TEXT

page 8

page 9

page 13

research
10/10/2022

Sampling-based inference for large linear models, with application to linearised Laplace

Large-scale linear models are ubiquitous throughout machine learning, wi...
research
10/17/2021

Terminal Embeddings in Sublinear Time

Recently (Elkin, Filtser, Neiman 2017) introduced the concept of a termi...
research
05/18/2021

Sublinear Least-Squares Value Iteration via Locality Sensitive Hashing

We present the first provable Least-Squares Value Iteration (LSVI) algor...
research
08/25/2022

On the maximum likelihood estimation in general log-linear models

General log-linear models specified by non-negative integer design matri...
research
06/19/2014

Inner Product Similarity Search using Compositional Codes

This paper addresses the nearest neighbor search problem under inner pro...
research
02/08/2019

Fast Sequence Segmentation using Log-Linear Models

Sequence segmentation is a well-studied problem, where given a sequence ...
research
02/17/2022

Fast online inference for nonlinear contextual bandit based on Generative Adversarial Network

This work addresses the efficiency concern on inferring a nonlinear cont...

Please sign up or login with your details

Forgot password? Click here to reset