OPORP: One Permutation + One Random Projection
Ping Li, Xiaoyun Li
摘要
OPORP is an improved variant of the count-sketch data structure by using a fixed-length binning scheme and a normalization step for the estimation. In our experience, we find engineers like the name "one permutation + one random projection" as it tells the exact steps. Consider two data vectors (e.g., embeddings): u, v ∈ R D . In many embedding-based applications where vectors are generated from trained models, D = 256 ∼ 1024 are common and D > 1024 is not rare (e.g., GPT models). D can be much larger in applications where the vectors are generated without training. With OPORP, we first apply a permutation on the data vectors. A random vector r ∈ R D is generated with moments: Note that s = 3 if r i follows the standard Gaussian distribution. We multiply r (element-wise) with all permuted data vectors. Then we break the D columns into k equal-length bins and aggregate (i.e., sum) the values in each bin to obtain k samples from each data vector. One key step is to normalize the k samples to the unit l 2 norm. In this way, for the two original data vectors u, v ∈ R D , we obtain two new vectors x, y ∈ R D with unit l 2 norms. The inner product of x, y approximates the original correlation ρ (i.e., the cosine) between u and v. Our main contribution is to show that the estimation variance has essentially the following expression: (s -1)A + D -k D -1
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper5
- GraSS: Scalable Data Attribution with Gradient Sparsification and Sparse ProjectionPingbang Hu, Joseph Melkonian, Weijing Tang, Han Zhao 等NeurIPS 2025 · 被引用 12 次
- Understanding Impact of Human Feedback via Influence FunctionsTaywon Min, Haeone Lee, Yongchan Kwon, Kimin LeeACL 2025 · 被引用 11 次
- Smooth Flipping Probability for Differential Private Sign Random Projection MethodsPing Li, Xiaoyun LiNeurIPS 2023 · 被引用 7 次
- Token-wise Influential Training Data Retrieval for Large Language ModelsHuawei Lin, Jikai Long, Zhaozhuo Xu, Weijie ZhaoACL 2024 · 被引用 1 次
- Scout Before You Attend: Sketch-and-Walk Sparse Attention for Efficient LLM InferenceHoang Anh Duy Le, Sahil Joshi, Zeyu Yang, Zhaozhuo Xu 等ICML 2026
它引用的顶会 Paper11
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 被引用 64,255 次
- FetchSGD: Communication-Efficient Federated Learning with SketchingDaniel Rothchild, Ashwinee Panda, Enayat Ullah, Nikita Ivkin 等ICML 2020 · 被引用 425 次
- Pre-training Tasks for Embedding-based Large-scale RetrievalWei-Cheng Chang, Felix X. Yu, Yin-Wen Chang, Yiming Yang 等ICLR 2020 · 被引用 325 次
- Federated Reconstruction: Partially Local Federated LearningKaran Singhal, Hakim Sidahmed, Zachary Garrett, Shanshan Wu 等NeurIPS 2021 · 被引用 175 次
- Dynamic Malware Analysis with Feature Engineering and Feature LearningZhaoqi Zhang, Panpan Qi, Wei WangAAAI 2020 · 被引用 153 次
相关 Paper
- CountSketches, Feature Hashing and the Median of ThreeKasper Green Larsen, Rasmus Pagh, Jakub TetekICML 2021 · 被引用 10 次
- Sampling Methods for Inner Product SketchingMajid Daliri, Juliana Freire, Christopher Musco, Aécio S. R. Santos 等VLDB 2024 · 被引用 8 次
- JoinSketch: A Sketch Algorithm for Accurate and Unbiased Inner-Product EstimationFeiyu Wang, Qizhi Chen, Yuanpeng Li, Tong Yang 等SIGMOD 2023 · 被引用 20 次
- Matrix Product Sketching via Coordinated SamplingMajid Daliri, Juliana Freire, Danrong Li, Christopher MuscoICLR 2025
- Tight Bounds for the Subspace Sketch Problem with ApplicationsYi Li, Ruosong Wang, David P. WoodruffSODA 2020 · 被引用 5 次
