Fast Amortized Inference and Learning in Log-linear Models with Randomly Perturbed Nearest Neighbor Search
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). First posted on arXiv 11 Jul 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 1; 2024: 2; 2025: 2; 2026: 2.
8 papers.
- 2021A Review of the Gumbel-max Trick and its Extensions for Discrete Stochasticity in Machine Learningcited by 82
- 2025Dialogue Without Limits: Constant-Sized KV Caches for Extended Responses in LLMscited by 20
- 2024Scalable Cross-Entropy Loss for Sequential Recommendations with Large Item Catalogscited by 15
- 2025Compression Barriers for Autoregressive Transformerscited by 5
- 2023Learning distributed representations with efficient SoftMax normalizationcited by 1
- 2026Entropy-Aligned Decoding of LMs for Better Writing and Reasoningcited by 1
- 2024kNN Attention Demystified: A Theoretical Exploration for Scalable Transformerscited by 0
- 2026Fast-MWEM: Private Data Release in Sublinear Timecited by 0
- 2026Fast-MWEM: Private Data Release in Sublinear Time3 Feb 2026
- 2026Entropy-Aligned Decoding of LMs for Better Writing and Reasoning5 Jan 2026
- 2025Dialogue Without Limits: Constant-Sized KV Caches for Extended Responses in LLMs2 Mar 2025
- 2025Compression Barriers for Autoregressive Transformers21 Feb 2025
- 2024kNN Attention Demystified: A Theoretical Exploration for Scalable Transformers6 Nov 2024
- 2024Scalable Cross-Entropy Loss for Sequential Recommendations with Large Item Catalogs27 Sep 2024
- 2023Learning distributed representations with efficient SoftMax normalization30 Mar 2023
- 2021A Review of the Gumbel-max Trick and its Extensions for Discrete Stochasticity in Machine Learning4 Oct 2021