一般决定点过程的高性能采样
High-performance sampling of generic Determinantal Point Processes
摘要:
决定点过程(DPPs)是由Macchi引入的,作为排斥(费米子)粒子分布的模型。但它们最近的普及主要是由于它们在推荐系统的最后阶段鼓励多样性的有用性。有限DPP的标准采样方案是谱分解,随后是正交投影的随机对角旋转的Cholesky分解的等价物,其仅适用于Hermitian核并且具有昂贵的设置成本。研究人员已经开始将DPP采样与$LDL^H$因子分解连接起来,作为避免初始谱分解的一种手段,但是现有的方法仅在特殊情况下优于谱分解方法,其中保留的模式的数量是地面集大小的一小部分。本文证明了$LU$和$LDL^H$因子分解的微小修改分别为非Hermitian和Hermitian DPP内核产生有效的直接采样方案。此外,它是实验表明,即使动态调度,共享内存并行化的高性能密集和稀疏直接因式分解可以平凡地修改,以产生DPP采样方案具有基本相同的性能。作为本研究的一部分开发的软件Catamari,https://hodestar.com/catamari,在Mozilla公共许可证v2.0下发布。它包含密集和稀疏直接、Hermitian和非Hermitian DPP采样器的仅报头、C++14加上OpenMP 4.0实现。
英文摘要:
Determinantal Point Processes (DPPs) were introduced by Macchi as a model for repulsive (fermionic) particle distributions. But their recent popularization is largely due to their usefulness for encouraging diversity in the final stage of a recommender system. The standard sampling scheme for finite DPPs is a spectral decomposition followed by an equivalent of a randomly diagonally-pivoted Cholesky factorization of an orthogonal projection, which is only applicable to Hermitian kernels and has an expensive setup cost. Researchers have begun to connect DPP sampling to $LDL^H$ factorizations as a means of avoiding the initial spectral decomposition, but existing approaches have only outperformed the spectral decomposition approach in special circumstances, where the number of kept modes is a small percentage of the ground set size. This article proves that trivial modifications of $LU$ and $LDL^H$ factorizations yield efficient direct sampling schemes for non-Hermitian and Hermitian DPP kernels, respectively. Further, it is experimentally shown that even dynamically-scheduled, shared-memory parallelizations of high-performance dense and sparse-direct factorizations can be trivially modified to yield DPP sampling schemes with essentially identical performance. The software developed as part of this research, Catamari, https://hodgestar.com/catamari, is released under the Mozilla Public License v2.0. It contains header-only, C++14 plus OpenMP 4.0 implementations of dense and sparse-direct, Hermitian and non-Hermitian DPP samplers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。