MONGOOSE: A Learnable LSH Framework for Efficient Neural Network Training
Beidi Chen, Zichang Liu, Binghui Peng, Zhaozhuo Xu, Jonathan Lingjie Li, Tri Dao, Zhao Song, Anshumali Shrivastava, Christopher Ré
摘要
Recent advances by practitioners in the deep learning community have breathed new life into Locality Sensitive Hashing (LSH), using it to reduce memory and time bottlenecks in neural network (NN) training. However, while LSH has sub-linear guarantees for approximate near-neighbor search in theory, it is known to have inefficient query time in practice due to its use of random hash functions. Moreover, when model parameters are changing, LSH suffers from update overhead. This work is motivated by an observation that model parameters evolve slowly, such that the changes do not always require an LSH update to maintain performance. This phenomenon points to the potential for a reduction in update time and allows for a modified learnable version of data-dependent LSH to improve query time at a low cost. We use the above insights to build MONGOOSE, an end-to-end LSH framework for efficient NN training. In particular, MONGOOSE is equipped with a scheduling algorithm to adaptively perform LSH updates with provable guarantees and learnable hash functions to improve query efficiency. Empirically, we validate MONGOOSE on large-scale deep learning models for recommendation systems and language modeling. We find that it achieves up to 8% better accuracy compared to previous LSH approaches, with speed-up and reduction in memory usage.
问 Lune
几分钟看清这篇 Paper 的位置,不用再花一下午。
Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 31 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Time 引用了 Scatterbrain: Unifying Sparse and Low-rank Attention
- KDEformer: Accelerating Transformers via Kernel Density Estimation 引用了 Scatterbrain: Unifying Sparse and Low-rank Attention
- InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management 引用了 Scatterbrain: Unifying Sparse and Low-rank Attention
- InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management 引用了 Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time
- Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time 引用了 Scatterbrain: Unifying Sparse and Low-rank Attention
引用它的顶会 Paper31
- Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test TimeZichang Liu, Aditya Desai, Fangshuo Liao, Weitao Wang 等NeurIPS 2023 · 557 次引用
- Deja Vu: Contextual Sparsity for Efficient LLMs at Inference TimeZichang Liu, Jue Wang, Tri Dao, Tianyi Zhou 等ICML 2023 · 318 次引用
- InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache ManagementWonbeom Lee, Jungi Lee, Junghwan Seo, Jaewoong SimOSDI 2024 · 248 次引用
- Scatterbrain: Unifying Sparse and Low-rank AttentionBeidi Chen, Tri Dao, Eric Winsor, Zhao Song 等NeurIPS 2021 · 165 次引用
- KDEformer: Accelerating Transformers via Kernel Density EstimationAmir Zandieh, Insu Han, Majid Daliri, Amin KarbasiICML 2023 · 55 次引用
相关 Paper
- Large-Scale Distributed Learning via Private On-Device LSHTahseen Rabbani, Marco Bornstein, Furong HuangNeurIPS 2023
- DeepLSH: Deep Locality-Sensitive Hash Learning for Fast and Efficient Near-Duplicate Crash Report DetectionYoucef Remil, Anes Bendimerad, Romain Mathonat, Chedy Raïssi 等ICSE 2024 · 2 次引用
- Accelerate Learning of Deep Hashing With Gradient AttentionLong-Kai Huang, Jianda Chen, Sinno Jialin PanICCV 2019 · 22 次引用
- Stochastically Robust Personalized Ranking for LSH Recommendation RetrievalDung D. Le, Hady W. LauwAAAI 2020 · 13 次引用
- Efficiently Learning Spatial IndicesGuanli Liu, Jianzhong Qi, Christian S. Jensen, James Bailey 等ICDE 2023 · 12 次引用
