betaFeedback

WorksMathematics

Generalized Determinantal Point Processes for Attraction and Repulsion with Distinct Interaction Kernels

Abstract

Determinantal point processes (DPPs) model subset selection probability with repulsion, but many applications also exhibit attraction arising from pairwise relations or shared latent structures. Nonsymmetric DPPs (NDPPs) capture both effects, but their kernels are difficult to interpret and specify. We propose the determinant-ratio point process (DRPP), which models repulsion and attraction via a ratio of the determinants of two symmetric positive-definite kernels. This formulation preserves the feature-based interpretation of standard DPPs while allowing the two effects to be specified separately. Furthermore, we introduce an auxiliary-variable representation that enables efficient MCMC sampling and yields tractable expectation formulas for key statistics including the normalizing constant, which together facilitate maximum-likelihood learning. We theoretically characterize the interaction structures well suited to DRPPs: for clustered attraction with CC latent groups, DRPPs exactly realize the target pairwise interactions with an attraction rank CC, whereas NDPPs can require a rank that grows with the number of items given the same repulsion component. Conversely, nontransitive pair-specific attraction may require compensation through the DRPP repulsion kernel. Experiments support these predictions, showing that DRPPs fit transitive attraction with substantially fewer parameters than NDPPs.

Introduction

Determinantal point processes (DPPs) [23, 21] are probabilistic models for

selecting low-redundancy subsets from a ground set, and they have been widely used in applications such as recommender systems [7], document summarization [20], batch active learning [5], and minibatch selection for stochastic gradient descent [4]. Through the determinant of a positive semidefinite kernel matrix, a DPP assigns low probability to subsets of mutually similar items, thereby modeling repulsion between items.

However, many applications such as shopping basket completion also involve attraction, that is, a tendency for certain items to be selected together, which standard DPPs cannot express. Several models capable of expressing both attraction and repulsion have been proposed [18, 32], among which the nonsymmetric DPP (NDPP) [11] has been particularly widely studied as explained in the next section. An NDPP replaces the symmetric kernel of a DPP with a nonsymmetric matrix, which decomposes into a symmetric part and a skew-symmetric part; the latter gives rise to attraction. However, unlike the symmetric part, the skew-symmetric part cannot be interpreted as a Gram matrix of feature vectors. Consequently, it is difficult to specify the nonsymmetric matrix from prior knowledge and is typically learned from data.

In this work, we propose the determinant-ratio point process (DRPP), which models repulsion and attraction separately through a ratio of the determinants of two distinct kernel matrices. Items that are similar under the repulsion kernel are less likely to be selected together, as in a standard DPP, whereas items similar under the attraction kernel are more likely to be selected together. Because both kernels can be interpreted as similarities between items, attraction, like repulsion, can be specified directly from prior knowledge.

Although a DRPP has no closed-form normalizing constant, it retains many of the convenient properties of standard DPPs. Specifically, by introducing Gaussian latent variables, a DRPP can be represented as an infinite mixture of DPPs; conditioned on these latent variables, the distribution of subsets is exactly a DPP. This representation yields efficient, rejection-free Markov chain Monte Carlo (MCMC) samplers, namely, a block Gibbs sampler and a two-step sampler based on elliptical slice sampling Murray et al. [24]. Both samplers perform full-bit updates in a single Monte Carlo step. Furthermore, the resulting latent samples allow us to estimate DRPP statistics whose DPP counterparts have closed forms, such as the expected subset size, marginal probabilities, and the gradient of the log normalizing constant. Crucially, the estimated gradient facilitates maximum likelihood learning.

We further investigate, both theoretically and empirically, the interaction structures to which DRPPs are well suited. Theoretically, we show that when pairwise attraction arises from a small number of shared latent factors under uniform repulsion, a DRPP realizes the target interaction with an attraction rank equal to the number of factors. In contrast, an NDPP with the same repulsion component may require a skew-symmetric rank that grows with the size of the ground set. Conversely, the attraction modeled by a DRPP is inherently transitive: sufficiently strong attraction between items ii and jj, and between jj and kk, induces attraction between ii and kk. Consequently, pair-specific, non-transitive attraction must be compensated for by the repulsion kernel, and we provide a lower bound on the required compensation. Experiments on synthetic and real data support these theoretical results. For transitive attraction, DRPPs achieve held-out likelihoods comparable to those of more flexible models with fewer parameters on synthetic data, and outperform NDPPs with fewer parameters on real data.

Related work

A DPP on a ground set Ω={1,…,N}\Omega= \{1, \ldots, N\} is defined by an N×NN \times N symmetric positive semidefinite kernel matrix LL as

P(A;L)=det⁡(L[A])det⁡(L+I),for A⊆Ω,(1)P(A; L) = \frac{\det(L[A])}{\det(L + I)}, \qquad\text{for } A \subseteq\Omega, \tag*{(1)}

where L[A]L[A] denotes the principal submatrix of LL indexed by $A {citet}Borodin and Rains [6]. We also denote this DPP$(A; L)$. When $L$ is the Gram matrix of feature vectors $\{\phi_i\}_{i \in \Omega}$, that is, $L_{ij} = \langle \phi_i, \phi_j \rangle$, $\det(L[A])$ equals the squared volume spanned by $\{\phi_i\}_{i \in A}$ {citet}Kulesza and Taskar [21]`. Writing ϕi=qibi\phi_i = q_i b_i with ∥bi∥2=1\lVert b_i \rVert_2 = 1 yields the quality-diversity decomposition L=QRQL = QRQ, where Q=diag⁡(q1,…,qN)Q = \operatorname{diag}(q_1, \ldots, q_N) encodes the item quality and R=(⟨bi,bj⟩)i,j∈ΩR = (\langle b_i, b_j \rangle)_{i,j \in\Omega} is a unit-

diagonal similarity matrix. Because the spanned volume shrinks as features become similar, similar items are less likely to be selected together. Consequently, standard DPPs can only model repulsion and cannot express positive correlations between items.

The nonsymmetric DPP (NDPP) [11] replaces the symmetric kernel with a nonsymmetric matrix consisting of a symmetric and a skew-symmetric part, allowing both attraction and repulsion. NDPPs retain tractable normalizing constants and marginals, enabling parameter learning [11, 12], mode finding [12, 1], and sampling [27, 15]. However, the skew-symmetric part lacks a natural Gram matrix interpretation, making it difficult to specify desired attraction strengths from prior knowledge. Recently, Poinas [26] established well-definedness conditions for NDPPs and constructed couplings with intra-mark repulsion and inter-mark attraction, though how to control the range of attraction remains open.

Another line of work replaces the determinant defining DPP weights with other matrix functions to handle attraction and repulsion within a single family. Diaconis and Evans [10] proposed immanantal point processes, which use characters of the symmetric group to incorporate both the determinant (repulsion) and the permanent (attraction). α\alpha-determinantal point processes [29, 9] rely on the α\alpha-determinant, whose scalar parameter α\alpha yields a broader family encompassing both determinants and permanents. Similarly, discrete kernel point processes (DKPPs) Kawashima and Hino, [18] replace the determinant with a broader class of matrix functions, providing a unified family for attractive log-supermodular and repulsive log-submodular distributions. Since DKPPs use only symmetric kernel matrices, they can be specified directly from item features. However, all of these models govern attraction and repulsion globally, and thus cannot express mixed interaction structures with attraction between some pairs and repulsion between others.

Rather than switching between the determinant and the permanent, Katori and Shirai [17] combined them in the permanental-determinantal point process, whose correlation functions are defined by the product of a permanent and a determinant. This product treats repulsion and attraction through separate factors, sharing our motivation of factorizing the two effects. However, computing the permanent is #P\#\mathrm{P}-hard Valiant, [30], and because both factors are built from a single kernel, repulsion and attraction are tied together. In contrast, we represent attraction through the inverse of a determinant, an idea also used in the determinantal clustering process ([28]), which assigns det⁡(L[S])−τ\det(L[S])^{-\tau} to each block SS of a data partition to model within-cluster similarity. This model, however, deals only with attraction and does not consider repulsion.

Other approaches induce positive correlations by combining DPPs. Mixtures of low-rank DPPs ([13]), introduced to improve expressive power, can induce positive dependence through heterogeneity across mixture components. Probabilistic generating circuits (PGCs) ([32]) encode distributions via probability generating polynomials, with DPPs as special cases. By substituting other generating polynomials into the arguments of a DPP polynomial, the determinantal PGC (DetPGC) in the same work models arbitrary distributions within item groups while retaining DPP-based repulsion across groups, allowing positive dependence among within-group pairs. Although a DRPP can also be viewed as a continuous mixture of DPPs, its attraction is specified directly via an explicit attraction kernel, whereas in these approaches positive dependence arises only indirectly through component differences or within-group distributions, rather than being parameterized as a distinct interaction mechanism.

Determinant-Ratio Point Process (DRPP)

Definition and Standard Form of DRPP

On the ground set Ω\Omega, we define the DRPP as follows.

Definition 1. Let K=(kij)i,j∈Ω\mathbf{K}=(k_{ij})_{i,j\in\Omega} and S=(sij)i,j∈Ω\mathbf{S}=(s_{ij})_{i,j\in\Omega} be N×NN \times N real symmetric positive definite matrices. For each A⊆ΩA \subseteq\Omega, define the unnormalized weight

P~(A;K,S)=det⁡(K[A])det⁡(S[A]),(2)\widetilde{P}(A;\mathbf{K},\mathbf{S})=\frac{\det(\mathbf{K}[A])}{\det(\mathbf{S}[A])}, \tag*{(2)}

with det⁡(K[∅])=det⁡(S[∅])=1\det(\mathbf{K}[\emptyset])=\det(\mathbf{S}[\emptyset])=1. The determinant-ratio point process (DRPP) is the distribution P(A;K,S)=P~(A;K,S)/Z(K,S)P(A;\mathbf{K},\mathbf{S})=\widetilde{P}(A;\mathbf{K},\mathbf{S})/Z(\mathbf{K},\mathbf{S}), where Z(K,S)=∑A⊆ΩP~(A;K,S)Z(\mathbf{K},\mathbf{S})=\sum_{A\subseteq\Omega}\widetilde{P}(A;\mathbf{K},\mathbf{S}) is the normalizing constant.

The positive definiteness of S\mathbf{S} ensures that the denominator never vanishes, while that of K\mathbf{K} ensures that every subset has a positive probability. When K\mathbf{K} is the Gram matrix of item features, det⁡(K[A])\det(\mathbf{K}[A]) is small for subsets containing mutually similar items under K\mathbf{K}, so the numerator induces repulsion as in a standard DPP. Conversely, det⁡(S[A])\det(\mathbf{S}[A]) is small for subsets of items similar under S\mathbf{S}, so its inverse increases their probability and induces attraction. Setting S=I\mathbf{S}=\mathbf{I} recovers the standard DPP, and the DRPP thus extends the DPP by introducing attraction through S\mathbf{S}.

Since det⁡((DKD)[A])/det⁡((DSD)[A])=det⁡(K[A])/det⁡(S[A])\det((\mathbf{D}\mathbf{K}\mathbf{D})[A])/\det((\mathbf{D}\mathbf{S}\mathbf{D})[A])=\det(\mathbf{K}[A])/\det(\mathbf{S}[A]) for any positive diagonal matrix D\mathbf{D}, the DRPP is invariant under a common diagonal scaling of K\mathbf{K} and S\mathbf{S}. Thus, we can write, without loss of generality, K=QRKQ\mathbf{K}=\mathbf{Q}\mathbf{R}_{K}\mathbf{Q} and S=RS\mathbf{S}=\mathbf{R}_{S}, where Q=diag⁡(q1,…,qN)\mathbf{Q}=\operatorname{diag}(q_1,\ldots,q_N) represents the item qualities, and RK\mathbf{R}_{K} and RS\mathbf{R}_{S} are positive definite matrices with unit diagonals.

In this work, we model RK\mathbf{R}_{K} and RS\mathbf{R}_{S} as

RK=ϵKI+VVT,RS=ϵSI+UUT,\mathbf{R}_{K}=\epsilon_K\mathbf{I}+\mathbf{V}\mathbf{V}^{\mathsf{T}},\qquad\mathbf{R}_{S}=\epsilon_S\mathbf{I}+\mathbf{U}\mathbf{U}^{\mathsf{T}},

where V∈RN×rK\mathbf{V}\in\mathbb{R}^{N\times r_K}, U∈RN×rS\mathbf{U}\in\mathbb{R}^{N\times r_S}, and 0<ϵK,ϵS<10<\epsilon_K,\epsilon_S<1. The iith rows vi\mathbf{v}_i and ui\mathbf{u}_i satisfy ∥vi∥22=1−ϵK\lVert\mathbf{v}_i\rVert_2^2=1-\epsilon_K and ∥ui∥22=1−ϵS\lVert\mathbf{u}_i\rVert_2^2=1-\epsilon_S, ensuring that the diagonal condition holds exactly. Since RK⪰ϵKI\mathbf{R}_{K}\succeq\epsilon_K\mathbf{I} and RS⪰ϵSI\mathbf{R}_{S}\succeq\epsilon_S\mathbf{I}, all principal submatrices are positive definite. To remove the positivity constraint qi>0q_i>0, we reparameterize item qualities as αi=2log⁡qi\alpha_i=2\log q_i, yielding the log unnormalized weights:

log⁡P~(A;K,S)=∑i∈Aαi+log⁡det⁡(RK[A])−log⁡det⁡(RS[A]).(3)\log\widetilde{P}(A;\mathbf{K},\mathbf{S}) =\sum_{i\in A}\alpha_i+\log\det(\mathbf{R}_{K}[A])-\log\det(\mathbf{R}_{S}[A]). \tag*{(3)}

DRPP as Infinite Mixture of DPPs

We derive an extended state space representation for DRPPs and show that a DRPP can be regarded as an infinite mixture of DPPs. Since DPPs admit many closed-form expressions for key statistics, including expected cardinalities and marginal probabilities, this insight provides tractable expressions for these statistics under DRPPs.

Let us denote MA:=ϵS−1∑j∈AujujT\mathbf{M}^{A}:=\epsilon_S^{-1}\sum_{j\in A}\mathbf{u}_j\mathbf{u}_j^{\mathsf{T}} and L:=ϵS−1QRKQ\mathbf{L}:=\epsilon_S^{-1}\mathbf{Q}\mathbf{R}_{K}\mathbf{Q}, where uj\mathbf{u}_j denotes the jjth row vector of U\mathbf{U}. Then, (2) is written as

P~(A)=det⁡(L[A])det⁡(I+MA).(4)\widetilde{P}(A)=\frac{\det(\mathbf{L}[A])}{\det(\mathbf{I}+\mathbf{M}^{A})}. \tag*{(4)}

Further, we introduce two random variables z1,z2∈RrS\mathbf{z}_1,\mathbf{z}_2\in\mathbb{R}^{r_S} and define the random kernel matrix

L~(z1,z2):=C(z1,z2)12LC(z1,z2)12,(5)\widetilde{\mathbf{L}}(\mathbf{z}_1,\mathbf{z}_2):=\mathbf{C}(\mathbf{z}_1,\mathbf{z}_2)^{\frac{1}{2}}\mathbf{L}\mathbf{C}(\mathbf{z}_1,\mathbf{z}_2)^{\frac{1}{2}}, \tag*{(5)}

where

C(z1,z2):=diag⁡({exp⁡(−12ϵS∑ℓ=12(uiTzℓ)2)}i∈Ω).\mathbf{C}(\mathbf{z}_1,\mathbf{z}_2):=\operatorname{diag}\left(\left\{\exp\left(-\frac{1}{2\epsilon_S}\sum_{\ell=1}^{2}(\mathbf{u}_i^{\mathsf{T}}\mathbf{z}_\ell)^2\right)\right\}_{i\in\Omega}\right).

Theorem 1. Let us consider the probability distribution

P(A,z1,z2)∝det⁡(L[A])∏ℓ=12e−12zℓTMAzℓϕ(zℓ)(6)P(A,\mathbf{z}_1,\mathbf{z}_2)\propto\det(\mathbf{L}[A])\prod_{\ell=1}^{2}e^{-\frac{1}{2}\mathbf{z}_\ell^{\mathsf{T}}\mathbf{M}^{A}\mathbf{z}_\ell}\phi(\mathbf{z}_\ell) \tag*{(6)}
=det⁡(L~(z1,z2)[A])∏ℓ=12ϕ(zℓ),(7)=\det(\widetilde{\mathbf{L}}(\mathbf{z}_1,\mathbf{z}_2)[A])\prod_{\ell=1}^{2}\phi(\mathbf{z}_\ell), \tag*{(7)}

where ϕ\phi denotes the density of the rSr_S-variate standard Gaussian distribution. Then, marginalizing out z1,z2z_1,z_2 yields the DRPP defined by (4). Moreover, the marginal distribution over z1z_1 and z2z_2 is given by:

P(z1,z2)∝det⁡(I+L~(z1,z2))∏ℓ=12ϕ(zℓ).(8)P(z_1,z_2) \propto\det(I+\widetilde{L}(z_1,z_2))\prod_{\ell=1}^{2}\phi(z_\ell). \tag*{(8)}

Proof. (6) follows from the identity:

det⁡(I+MA)−1=Ez1,z2∼ϕ[exp⁡(−12∑ℓ=12zℓTMAzℓ)].\det(I+M^A)^{-1}=\mathbb{E}_{z_1,z_2\sim\phi}\left[\exp\left(-\frac{1}{2}\sum_{\ell=1}^{2}z_\ell^\mathsf{T}M^A z_\ell\right)\right].

Since the joint distribution (7) is a DPP with respect to AA, summing over A⊆ΩA\subseteq\Omega yields (8).

Conditioned on the auxiliary variables (z1,z2)(z_1,z_2), (7) is an ordinary DPP with the kernel L~(z1,z2)\widetilde{L}(z_1,z_2), since P(A∣z1,z2)∝det⁡(L~(z1,z2)[A])P(A\mid z_1,z_2)\propto\det(\widetilde{L}(z_1,z_2)[A]). Thus, the probability function of the DRPP can be written as P(A)=∫DPP⁡(A;L~(z1,z2))P(z1,z2) dz1dz2P(A)=\int\operatorname{DPP}(A;\widetilde{L}(z_1,z_2))P(z_1,z_2)\,dz_1dz_2. This leads to the key insight that a DRPP can be viewed as an infinite or continuous mixture of DPPs despite exhibiting attraction via SS. Moreover, this property is highly advantageous for sampling, learning, and evaluating DRPPs.

Corollary 1. The normalizing constant of the DRPP Z=Z(K,S)Z=Z(K,S) is

Z=Ez1,z2∼ϕ[det⁡(I+L~(z1,z2))].Z=\mathbb{E}_{z_1,z_2\sim\phi}[\det(I+\widetilde{L}(z_1,z_2))].

In practice, Corollary 1 provides a Monte Carlo estimator with reasonable variance for the normalizing constant of a DRPP when ϵS\epsilon_S is not too small. For small ϵS\epsilon_S, to reduce the variance, one can employ Chib’s method [8] with the block Gibbs sampler introduced in Section 3.3.

Corollary 2. Suppose that AA is a random subset following DRPP⁡(A;K,S)=P(A;K,S)\operatorname{DRPP}(A;K,S)=P(A;K,S), and let K~(z1,z2):=L~(z1,z2)(I+L~(z1,z2))−1\widetilde{K}(z_1,z_2):=\widetilde{L}(z_1,z_2)(I+\widetilde{L}(z_1,z_2))^{-1} denote the marginal kernel of DPP⁡(L~(z1,z2))\operatorname{DPP}(\widetilde{L}(z_1,z_2)). Then, for any statistic g:2Ω→Rg:2^\Omega\to\mathbb{R} satisfying EDRPP⁡(A;K,S)[∣g(A)∣]<∞\mathbb{E}_{\operatorname{DRPP}(A;K,S)}[|g(A)|]<\infty, we have

EDRPP⁡(A;K,S)[g(A)]=EP(z1,z2)[EDPP⁡(L~(z1,z2))[g(A)∣z1,z2]].(9)\mathbb{E}_{\operatorname{DRPP}(A;K,S)}[g(A)] =\mathbb{E}_{P(z_1,z_2)}\left[\mathbb{E}_{\operatorname{DPP}(\widetilde{L}(z_1,z_2))}[g(A)\mid z_1,z_2]\right]. \tag*{(9)}

Corollary 2 states that any integrable set statistic under the DRPP can be evaluated by averaging the corresponding conditional DPP expectation over the latent mixing distribution P(z1,z2)P(z_1,z_2). For some major statistics admitting analytical expectation formulas in

Algorithm 1: Block Gibbs Sampler
Input: Repulsive kernel K=QRKQKK=Q_RKQ_K, attractive kernel S=ϵSI+UUTS=\epsilon_SI+UU^\mathsf{T}, and size constraint kk (optionally)
Output: A1,…,ATA^1,\ldots,A^T
Initialize z20,z20∈RrSz_2^0,z_2^0\in\mathbb{R}^{r_S};
for t=1t=1 to TT do
Compute L~(z1t−1,z2t−1)\widetilde{L}(z_1^{t-1},z_2^{t-1}) from (5);
if kk specified then
Sample At∼kA^t\sim k-DPP(L~(z1t−1,z2t−1))(\widetilde{L}(z_1^{t-1},z_2^{t-1}));
else
Sample At∼DPP⁡(L~(z1t−1,z2t−1))A^t\sim\operatorname{DPP}(\widetilde{L}(z_1^{t-1},z_2^{t-1}));
end
Compute MAt=ϵS−1∑j∈AtujujTM^{A^t}=\epsilon_S^{-1}\sum_{j\in A^t}u_ju_j^\mathsf{T};
Sample zℓt∼N(0,(I+MAt)−1)z_\ell^t\sim\mathcal{N}(0,(I+M^{A^t})^{-1}) for ℓ=1,2\ell=1,2;
end

Table 1.

DPPs, (9) reduces to an expectation over P(z1,z2)P(z_1,z_2). For example, we have

E∣A∣=EP(z1,z2)[tr⁡K~(z1,z2)],\mathbb{E}|A|=\mathbb{E}_{P(z_1,z_2)}\left[\operatorname{tr}\widetilde{K}(z_1,z_2)\right],
Var⁡∣A∣=EP(z1,z2)[tr⁡(K~(z1,z2)−K~(z1,z2)2)]+Var⁡P(z1,z2)[tr⁡K~(z1,z2)].\operatorname{Var}|A|=\mathbb{E}_{P(z_1,z_2)}\left[\operatorname{tr}\left(\widetilde{K}(z_1,z_2)-\widetilde{K}(z_1,z_2)^2\right)\right]+\operatorname{Var}_{P(z_1,z_2)}\left[\operatorname{tr}\widetilde{K}(z_1,z_2)\right].

Other statistics, such as marginal inclusion probabilities, can be obtained in similar expectation forms.

Assuming i.i.d. samples can be drawn from P(z1,z2)P(z_1,z_2), evaluating the inner conditional expectation analytically in (9) corresponds to Rao-Blackwellization from a computational statistics perspective, thereby yielding low-variance Monte Carlo estimates. Although generating exact i.i.d. samples from P(z1,z2)P(z_1,z_2) is generally intractable, we can construct efficient MCMC samplers for P(z1,z2)P(z_1,z_2) and DRPPs, as discussed in the following section.

Sampling

Let us consider the joint distribution of the DRPP on the extended state space given in (6), (7). This joint distribution leads to the following conditional distributions:

P(z1,z2∣A)∝∏ℓ=12N(zℓ;0,(I+MA)−1),P(z_1,z_2\mid A)\propto\prod_{\ell=1}^{2}\mathcal{N}(z_\ell;0,(I+M^A)^{-1}),
P(A∣z1,z2)=DPP⁡(A;L~(z1,z2)).(10)P(A\mid z_1,z_2)=\operatorname{DPP}(A;\widetilde{L}(z_1,z_2)). \tag*{(10)}

These conditional distributions yield an efficient block Gibbs sampler (Algorithm 1).

In addition, we can design a two-step sampling scheme for AA, in which we first sample from P(z1,z2)P(z_1,z_2) and Algorithm 2: Two-step Sampler

Input: Repulsive kernel K=QRKQK = Q R_K Q, attractive kernel S=ϵSI+UU⊤S = \epsilon_S I + U U^\top, and size constraint kk (optionally)

Output: A1,…,ATA^1,\ldots,A^T

Initialize z10,z20∈RrSz_1^0,z_2^0 \in\mathbb{R}^{r_S};

Compute L~(z10,z20)\widetilde{L}(z_1^0,z_2^0) from (5);

for t=1t = 1 to TT do

&nbsp;&nbsp;&nbsp;&nbsp;if kk specified then

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sample z1t,z2tz_1^t,z_2^t from (12) by ESS;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update L~(z1t,z2t)\widetilde{L}(z_1^t,z_2^t);

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sample At∼kA^t \sim k-DPP(L~(z1t,z2t))(\widetilde{L}(z_1^t,z_2^t));

&nbsp;&nbsp;&nbsp;&nbsp;else

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sample z1t,z2tz_1^t,z_2^t from (8) by ESS;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update L~(z1t,z2t)\widetilde{L}(z_1^t,z_2^t);

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sample At∼A^t \sim DPP(L~(z1t,z2t))(\widetilde{L}(z_1^t,z_2^t));

&nbsp;&nbsp;&nbsp;&nbsp;end

end

then sample from P(A∣z1,z2)P(A \mid z_1, z_2). Since (8) is the product of zero-mean Gaussians and a computable function of z1,z2z_1, z_2, the elliptical slice sampler (ESS) [24] can be employed to sample efficiently from P(z1,z2)P(z_1, z_2). The procedure of this two-step sampler is summarized in Algorithm 2. Both samplers are rejection-free and perform full-bit updates in each Monte Carlo step.

The ESS for P(z1,z2)P(z_1, z_2) is beneficial not only for sampling AA but also for evaluating the statistics in Corollary 2. In the next section, we show that the ESS also enables efficient maximum likelihood estimation of DRPPs via stochastic optimization.

Learning DRPPs

Let θ\theta denote the DRPP parameters to be learned; typically θ=(α,V,U)\theta= (\alpha,V,U). Our aim is to maximize the regularized log-likelihood:

ℓ(θ)=1M∑m=1Mlog⁡P~(Am;θ)−log⁡Z(θ)−R(θ)(11)\ell(\theta) = \frac{1}{M}\sum_{m=1}^{M}\log\widetilde{P}(A_m;\theta)-\log Z(\theta)-\mathcal{R}(\theta) \tag*{(11)}

where R(θ)\mathcal{R}(\theta) denotes the regularization term. The main difficulty in maximizing (11) is evaluating ∇θlog⁡Z(θ)\nabla_\theta\log Z(\theta). Here, Theorem 1 plays a key role as well.

Corollary 3. It holds that ∇θlog⁡Z(θ)=Ez1,z2∼P(z1,z2)[∇θlog⁡det⁡(I+L~(z1,z2))]\nabla_\theta\log Z(\theta) = \mathbb{E}_{z_1,z_2\sim P(z_1,z_2)}[\nabla_\theta\log\det(I+\widetilde{L}(z_1,z_2))].

Proof. Let us denote wθ(z1,z2):=det⁡(I+L~(z1,z2))w_\theta(z_1,z_2) := \det(I+\widetilde{L}(z_1,z_2)). From Corollary 1, we have

∇θZ(θ)=Ez1,z2∼ϕ[∇θwθ(z1,z2)]=Ez1,z2∼ϕ[wθ(z1,z2)∇θlog⁡wθ(z1,z2)].\nabla_\theta Z(\theta)=\mathbb{E}_{z_1,z_2\sim\phi}[\nabla_\theta w_\theta(z_1,z_2)] =\mathbb{E}_{z_1,z_2\sim\phi}[w_\theta(z_1,z_2)\nabla_\theta\log w_\theta(z_1,z_2)].

Dividing this by Z(θ)=Ez1,z2∼ϕ[wθ(z1,z2)]Z(\theta)=\mathbb{E}_{z_1,z_2\sim\phi}[w_\theta(z_1,z_2)], we obtain

∇θlog⁡Z(θ)=∇θZ(θ)Z(θ)=∬∇θlog⁡wθ(z1,z2)wθ(z1,z2)∏ℓ=12ϕ(zℓ) dzℓ∬wθ(z1,z2)∏ℓ=12ϕ(zℓ) dzℓ=Ez1,z2∼P(z1,z2)[∇θlog⁡wθ(z1,z2)],\begin{aligned} \nabla_\theta\log Z(\theta)=\frac{\nabla_\theta Z(\theta)}{Z(\theta)} \\ &=\frac{\iint\nabla_\theta\log w_\theta(z_1,z_2)\frac{w_\theta(z_1,z_2)\prod_{\ell=1}^{2}\phi(z_\ell)\,dz_\ell}{\iint w_\theta(z_1,z_2)\prod_{\ell=1}^{2}\phi(z_\ell)\,dz_\ell}} =\mathbb{E}_{z_1,z_2\sim P(z_1,z_2)}[\nabla_\theta\log w_\theta(z_1,z_2)], \end{aligned}

which completes the proof. □

Using this corollary, we can estimate the gradient and train the parameters of a DRPP. The detailed algorithm is given in Appendix B.

DRPP with Fixed Cardinality

For DPPs, there are many cases in which fixing the subset cardinality k∈Ωk\in\Omega is more appropriate than allowing a variable subset size. A DPP with a fixed cardinality kk is called a kk-DPP, and the normalizing constant is given by ek(L)e_k(L), which is the kkth order elementary symmetric polynomial of the eigenvalues of LL [19]. We similarly refer to DRPPs with a fixed cardinality kk as kk-DRPPs, to which the properties of kk-DPPs naturally apply.

Let us denote the joint distribution corresponding to (6) with fixed k=∣A∣k=|A| as Pk(A,z1,z2)P_k(A,z_1,z_2). Regarding Theorem 1, while the joint distribution Pk(A,z1,z2)P_k(A,z_1,z_2) shares the same form as (7) up to a normalizing constant, the marginal distribution over (z1,z2)(z_1,z_2) becomes

P(z1,z2;k)∝ek(L~(z1,z2))∏ℓ=12ϕ(zℓ)(12)P(z_1,z_2;k)\propto e_k(\widetilde{L}(z_1,z_2))\prod_{\ell=1}^{2}\phi(z_\ell) \tag*{(12)}

instead of (8). For the block Gibbs sampler, the conditional distribution of AA becomes P(A∣z1,z2;k)P(A\mid z_1,z_2;k) = kk-DPP(L~(z1,z2))(\widetilde{L}(z_1,z_2)) via (10). These updates realize the ESS-based two-step sampler for kk-DRPPs as well.

Corollaries 1 and 3 can be similarly adapted for kk-DRPPs. Letting ZkZ_k denote the normalizing constant of a kk-DRPP, we have

Zk=Ez1,z2∼ϕ[ek(L~(z1,z2))],Z_k=\mathbb{E}_{z_1,z_2\sim\phi}[e_k(\widetilde{L}(z_1,z_2))],
∇log⁡Zk=Ez1,z2∼P(z1,z2;k)[∇log⁡ek(L~(z1,z2))].\nabla\log Z_k=\mathbb{E}_{z_1,z_2\sim P(z_1,z_2;k)}[\nabla\log e_k(\widetilde{L}(z_1,z_2))].

Although ∇log⁡ek(L~(z1,z2))\nabla\log e_k(\widetilde{L}(z_1,z_2)) has no tractable closed form, we can evaluate it via automatic differentiation. See Appendix B for the detailed calculation.

Comparison of DRPP and NDPP

Nonsymmetric DPPs (NDPPs) are existing models with a motivation very similar to ours (Gartrell et al., 2019). NDPPs admit nonsymmetric kernel matrices for the DPP likelihood (1), thereby enabling the coexistence of attraction and repulsion. To quantify the difference in behavior between DRPPs and NDPPs, we measure the pairwise interaction between items i,j∈Ωi,j \in\Omega by

Γij:=P({i,j})P(∅)P({i})P({j})=P~({i,j})P~(∅)P~({i})P~({j}).(13)\Gamma_{ij} := \frac{P(\{i,j\})P(\varnothing)}{P(\{i\})P(\{j\})} = \frac{\widetilde{P}(\{i,j\})\widetilde{P}(\varnothing)}{\widetilde{P}(\{i\})\widetilde{P}(\{j\})}. \tag*{(13)}

We call ii and jj attractive if Γij>1\Gamma_{ij} > 1, repulsive if Γij<1\Gamma_{ij} < 1, and neutral if Γij=1\Gamma_{ij} = 1. We can calculate Γij\Gamma_{ij} using the unnormalized weights of ∅\varnothing, {i}\{i\}, {j}\{j\}, and {i,j}\{i,j\}, as the normalizing constants cancel out. For a DRPP, Γij\Gamma_{ij} is represented as a ratio of repulsive and attractive terms (as shown in Lemma 1 of Appendix § 8):

Γij=1−(ρijK)21−(ρijS)2,\Gamma_{ij} = \frac{1-(\rho_{ij}^{K})^{2}}{1-(\rho_{ij}^{S})^{2}},

where ρijK\rho_{ij}^{K} and ρijS\rho_{ij}^{S} are the (i,j)(i,j)-components of RK\boldsymbol{R}_{K} and RS\boldsymbol{R}_{S}, respectively, corresponding to the correlation coefficients under KK and SS. Note that Γij\Gamma_{ij} is independent of QQ.

For an NDPP, the nonsymmetric matrix LL is uniquely decomposed as L=H+AL = H + A with a symmetric matrix HH and a skew-symmetric matrix AA, yielding Γij=1−(Hij2−Aij2)/(HiiHjj)\Gamma_{ij} = 1-(H_{ij}^{2}-A_{ij}^{2})/(H_{ii}H_{jj}) (see Lemma 2 of Appendix § 8). These matrices are typically learned with the low-rank parameterizations H=FFTH = FF^{\mathsf{T}} and A=BCT−CBTA = BC^{\mathsf{T}}-CB^{\mathsf{T}}, where F∈RN×rHF \in\mathbb{R}^{N\times r_H} and B,C∈RN×rAB,C \in\mathbb{R}^{N\times r_A} ([11]). While attraction can take various forms, we focus on two simple structures, clustered attraction and pair-specific attraction, to highlight the differences in the properties of NDPP and DRPP.

Clustered attraction. Suppose that Ω\Omega is partitioned into CC nonempty clusters, Ω=Ω1⊔⋯⊔ΩC\Omega= \Omega_1 \sqcup\cdots\sqcup\Omega_C with ∣Ωc∣=mc|\Omega_c| = m_c, and that the pairwise interactions under the data-generating distribution are given by

Γij∗={γ+if i,j∈Ωc for some c,γ−if i∈Ωc, j∈Ωc′, c≠c′,\Gamma_{ij}^{*} = \begin{cases} \gamma_{+} & \text{if } i,j \in\Omega_c \text{ for some } c,\\ \gamma_{-} & \text{if } i \in\Omega_c,\ j \in\Omega_{c'},\ c \ne c', \end{cases}

where 0<γ−≤1<γ+0 < \gamma_{-} \le1 < \gamma_{+}. This corresponds to a uniform block structure with attraction within clusters and repulsion or neutrality between clusters.

Theorem 2. Let κ=1−γ−\kappa= \sqrt{1-\gamma_{-}}, and assume the same repulsion component for both models, K=H=(1−κ)I+κ11TK = H = (1-\kappa)I+\kappa\mathbf{1}\mathbf{1}^{\mathsf{T}}. Then the following hold.

(i) There exists a DRPP with U∈RN×CU \in\mathbb{R}^{N\times C} (i.e., rS=Cr_S=C) that satisfies Γij=Γij∗\Gamma_{ij}=\Gamma_{ij}^{*} for all i≠ji \ne j.

(ii) Any NDPP with B,C∈RN×rAB,C \in\mathbb{R}^{N\times r_A} that satisfies Γij=Γij∗\Gamma_{ij}=\Gamma_{ij}^{*} for all i≠ji \ne j requires

rA≥∑c=1C⌈mc2⌉≥N−C2.r_A \ge\sum_{c=1}^{C}\left\lceil\frac{m_c}{2}\right\rceil\ge\frac{N-C}{2}.

Proof. The proof is given in Appendix § 8.

Thus, for a fixed number of clusters CC, a DRPP realizes Γ∗\Gamma^{*} with rank CC, whereas the rank required for the skew-symmetric part of an NDPP grows linearly with NN. Note that this comparison fixes the symmetric part of the NDPP to the shared repulsion component. The attraction in this setting is transitive: if ii attracts jj and jj attracts kk, then ii, jj, and kk belong to the same cluster, and thus ii also attracts kk.

Pair-specific attraction

We next examine the two models in settings where attraction is not necessarily transitive. Let G=(Ω,E)G=(\Omega,E) be a simple undirected graph representing attraction, and assign a strength γij>1\gamma_{ij}>1 to each edge (i,j)∈E(i,j)\in E. The target pairwise interactions are defined as

Γij∗={γijif (i,j)∈E,1if (i,j)∉E.(14)\Gamma_{ij}^{*} = \begin{cases} \gamma_{ij} & \text{if } (i,j)\in E,\\ 1 & \text{if } (i,j)\notin E. \end{cases} \tag*{(14)}

Theorem 3. For Γ∗\Gamma^{*} in (14), the following hold.

(i) For any graph GG and any strengths {γij}(i,j)∈E\{\gamma_{ij}\}_{(i,j)\in E}, there exists an NDPP with L=I+AL=I+A that satisfies Γij=Γij∗\Gamma_{ij}=\Gamma_{ij}^{*} for all i≠ji\ne j.

(ii) Let i,j,k∈Ωi,j,k\in\Omega be distinct items with (i,j),(j,k)∈E(i,j),(j,k)\in E and (i,k)∉E(i,k)\notin E. If a DRPP satisfies ρijK,ρjkK≥0\rho_{ij}^{K},\rho_{jk}^{K}\ge0, Γij≥γ\Gamma_{ij}\ge\gamma, Γjk≥γ\Gamma_{jk}\ge\gamma, and ∣ρikK∣≤δ|\rho_{ik}^{K}|\le\delta for some γ>2\gamma>2 and δ≥0\delta\ge0, then

Γik≥γ24(γ−1)(1−δ2).(15)\Gamma_{ik} \ge\frac{\gamma^{2}}{4(\gamma-1)}(1-\delta^{2}). \tag*{(15)}

Proof. The proof is given in Appendix § 8.

Equation (15) implies that Γik>1\Gamma_{ik}>1 whenever δ<1−2/γ\delta<1-2/\gamma. Hence, to realize Γ∗\Gamma^{*} with γij=γjk=γ>2\gamma_{ij}=\gamma_{jk}=\gamma>2 and Γik∗=1\Gamma_{ik}^{*}=1 using a DRPP, the repulsion kernel must satisfy

∣ρikK∣≥1−2γ.(16)|\rho_{ik}^{K}| \ge1-\frac{2}{\gamma}. \tag*{(16)}

That is, a DRPP can express non-transitive attraction, but only via sufficient cancellation from the repulsion kernel. In particular, when K=IK=I, meaning δ=0\delta=0, no non-transitive interaction pattern with γ>2\gamma>2 can be realized.

In summary, a DRPP represents attraction through inner products of low-dimensional latent vectors, making it well suited to attraction arising from shared factors. Conversely, an NDPP can specify the entries of its skew-symmetric matrix pair by pair when its rank is unconstrained, making it better suited to pair-specific attraction. Since real-world data may exhibit both types of structures, our experiments evaluate them separately.

Experimental results

Based on the analysis in § 4, DRPPs are expected to represent transitive attraction with few parameters, whereas their advantage should diminish for non-transitive attraction, which requires cancellation by the repulsion kernel. In this section, we examine these properties on synthetic and real data.

Experimental Setup

Evaluation and baselines. For each method, we evaluate the validation negative log-likelihood (NLL) against the number of parameters while varying the hyperparameters. The number of parameters is defined as the total size of the trainable real-valued arrays. We compare DRPPs against NDPPs, standard DPPs, and SimplePGC. We also include attraction-only variants of DRPPs and NDPPs, in which the repulsion component QRQ\mathbf{Q}\mathbf{R}\mathbf{Q} has its correlation matrix R\mathbf{R} fixed to the identity and only the item qualities Q\mathbf{Q} are learned (i.e., K=Q2\mathbf{K} = \mathbf{Q}^{2} for DRPPs and H=Q2\mathbf{H} = \mathbf{Q}^{2} for NDPPs). We denote them as DRPP-attr and NDPP-attr. The NLL of DRPPs is computed exactly on synthetic data and approximated using the ESS on real data. See Appendix § 10 for candidate hyperparameters.

Datasets. We use three types of pairwise interactions on N=60N = 60 items: cluster, continuous, and skew types (see Appendix § 10 for the definitions). In the cluster type, attraction acts uniformly within each of six clusters, and pairs in different clusters are neutral. In the continuous type, items are placed on a quarter circle, and items with closer angles attract each other more strongly. Both types are transitive and can be represented exactly by the attraction kernel of a DRPP. The skew type is a non-transitive structure over three groups, in which pairs within the same group are neutral and pairs in different groups attract each other. It can be represented by the skew-symmetric part of an NDPP. To avoid the effects of higher-order interactions, we generated data from the pairwise log-linear model p(A∣∣A∣=k)∝∏i<j∈AΓijp(A \mid|A| = k) \propto\prod_{i<j\in A}\Gamma_{ij} with the subset size fixed to k=3k = 3. We also generated 10,000 validation subsets separately from the training data. Since the subset size is fixed, all methods are trained by maximizing the likelihood of the distribution conditioned on the size kk.

As real data, we use the three-category data from Amazon Baby Registries (Gartrell et al., [11]) (hereafter Amazon) and KDD Cup 2000 (hereafter KDD) from Twenty Datasets (Van Haeren and Davis, 2012), which have been used in previous studies (Gartrell et al., [11]; Zhang et al., [32]), and the object co-occurrence data of Microsoft COCO (Lin et al., [22]) (hereafter COCO). Amazon, KDD, and COCO exhibit substantial excess transitivity (see Appendix § 10) and are used to examine whether the parameter efficiency observed in the synthetic transitive settings also appears in real data. As in Gartrell et al. [13], we removed subsets with fewer than two items from all real datasets. In our setting, such subsets carry no information about item interactions and would otherwise dominate the likelihood.

Parameter Efficiency

Figure 1 shows the results. On the transitive cluster and continuous types, DRPPs achieve NLL comparable to SimplePGC using several to about ten times fewer parameters, and achieve lower NLL than NDPPs with fewer parameters. In particular, on the cluster type, NDPPs do not match the NLL of DRPPs across any of the hyperparameter settings we explored. Indeed, as shown in Figure 2, when varying rSr_S of DRPP-attr and rAr_A of NDPP-attr with the repulsion fixed, the validation NLL of DRPPs is minimized at rS=C=6r_S = C = 6, equal to the number of clusters. In contrast, the NLL of NDPPs saturates as rAr_A increases and fails to reach that of DRPPs even beyond rA=30r_A = 30, which Theorem 2 requires. This is consistent with the prediction of Theorem 2 that DRPPs can represent the target interactions with a rank equal to the number of clusters, whereas NDPPs cannot do so easily. On the skew type, the clear parameter-efficiency advantage of DRPPs disappears, with the best NLLs of DRPPs, NDPPs, and DPPs being similar. This is consistent with the prediction in § 4 that the advantage of DRPPs diminishes for non-transitive attraction.

Figure 1. Number of parameters vs. validation NLL (lower is better) on the synthetic datasets (a)–(c) and the real datasets (d)–(f). Each point corresponds to one hyperparameter setting.

Comparison between the rank of DRPPs and NDPPs on the cluster dataset

Figure 2. Comparison between the rank of DRPPs and that of NDPPs on cluster dataset. Error bars indicate mean ± standard deviation over five independent runs.

On real data, DRPPs achieve NLL comparable to or better than that of NDPPs with an order of magnitude fewer parameters on Amazon, occupying the low-parameter end of the Pareto front between the number of parameters and NLL. SimplePGC achieves the lowest NLL but requires more than an order of magnitude more parameters. On KDD and COCO, DRPPs achieve lower NLL than NDPPs with fewer parameters, though SimplePGC obtains lower NLL than DRPPs even with a comparable number of parameters.

As a remark, while SimplePGC consistently achieves lower NLL than DRPPs across datasets, this is consistent with the greater flexibility of SimplePGC. While a DRPP is defined as an infinite mixture of DPPs induced by just two kernel matrices, SimplePGC encompasses arbitrary finite mixtures of DPPs as special cases. Therefore, a well-tuned SimplePGC is best viewed as a flexible reference baseline rather than a direct competitor of DRPPs.

Conclusion

We proposed the DRPP, which models repulsion and attraction through the ratio of the determinants of two feature-based symmetric positive-definite kernels. By representing a DRPP as an infinite mixture of DPPs via auxiliary Gaussian variables, we enabled efficient MCMC sampling, tractable estimation of key set statistics, and maximum-likelihood learning. Theoretical and empirical analyses demonstrated that DRPPs represent transitive and clustered attraction with high parameter efficiency compared to NDPPs, whereas non-transitive attraction requires cancellation through the repulsion kernel.

While this strong structural inductive bias enables high parameter efficiency, it also constrains flexibility relative to broader models like SimplePGC. Extending DRPPs by replacing the underlying DPP components with more expressive building blocks (e.g., DetPGC) to capture both transitive and pair-specific attraction while retaining latent-variable inference is an intriguing direction for future work. While we did not address DRPP mode finding in this work, difference-of-submodular optimization [16] serves as the primary option. However, such methods lack formal approximation guarantees, making the design of algorithms with provable bounds an important open challenge. Other valuable directions include reducing the variance of the ESS-based estimator for large subset sizes and extending our theoretical analysis to general NDPP lower bounds and higher-order interactions.

Acknowledgements

Part of this work is supported by JST CREST JPMJCR26E3, JSPS KAKENHI JP24K15088, JP25H01494, JP26K02989 and JP26K23861.

Proofs of theorems

The pairwise interaction of a DRPP is expressed as the ratio of the correlations of the repulsive and attractive kernels as follows.

Lemma 1. Let K,S≻0\mathbf{K},\mathbf{S} \succ0, and let the correlations of K[{i,j}]\mathbf{K}[\{i,j\}] and S[{i,j}]\mathbf{S}[\{i,j\}] be ρijK=kij/kiikjj\rho_{ij}^{K}=k_{ij}/\sqrt{k_{ii}k_{jj}} and ρijS=sij/siisjj\rho_{ij}^{S}=s_{ij}/\sqrt{s_{ii}s_{jj}}, respectively. Then, for any i≠ji \ne j,

Γij=1−(ρijK)21−(ρijS)2.\Gamma_{ij}=\frac{1-(\rho_{ij}^{K})^{2}}{1-(\rho_{ij}^{S})^{2}}.

Proof. By (13), Γij\Gamma_{ij} is determined only by the unnormalized weights P~\widetilde{P}, and P~(∅)=1\widetilde{P}(\varnothing)=1 by definition. From the definition of the DRPP (2), the unnormalized weights are

P~({i})=kiisii,P~({i,j})=det⁡(K[{i,j}])det⁡(S[{i,j}])=kiikjj−kij2siisjj−sij2.\widetilde{P}(\{i\})=\frac{k_{ii}}{s_{ii}},\qquad\widetilde{P}(\{i,j\})=\frac{\det(\mathbf{K}[\{i,j\}])}{\det(\mathbf{S}[\{i,j\}])}=\frac{k_{ii}k_{jj}-k_{ij}^{2}}{s_{ii}s_{jj}-s_{ij}^{2}}.

Here, kii,sii>0k_{ii},s_{ii}>0 since K,S≻0\mathbf{K},\mathbf{S}\succ0, and siisjj−sij2>0s_{ii}s_{jj}-s_{ij}^{2}>0 since S[{i,j}]≻0\mathbf{S}[\{i,j\}]\succ0. Thus, we obtain

Γij=P~({i,j})P~(∅)P~({i})P~({j})=kiikjj−kij2siisjj−sij2⋅siisjjkiikjj=1−kij2/(kiikjj)1−sij2/(siisjj)=1−(ρijK)21−(ρijS)2.\Gamma_{ij}=\frac{\widetilde{P}(\{i,j\})\widetilde{P}(\varnothing)}{\widetilde{P}(\{i\})\widetilde{P}(\{j\})}=\frac{k_{ii}k_{jj}-k_{ij}^{2}}{s_{ii}s_{jj}-s_{ij}^{2}}\cdot\frac{s_{ii}s_{jj}}{k_{ii}k_{jj}}=\frac{1-k_{ij}^{2}/(k_{ii}k_{jj})}{1-s_{ij}^{2}/(s_{ii}s_{jj})}=\frac{1-(\rho_{ij}^{K})^{2}}{1-(\rho_{ij}^{S})^{2}}.

:::

By the lemma, Γij\Gamma_{ij} becomes smaller as the items ii and jj become more similar in the sense of K\mathbf{K}, and larger as they become more similar in the sense of S\mathbf{S}. That is, the contributions of repulsion and attraction appear separately as a ratio. In particular, in the standard form, K=QRKQ\mathbf{K}=\mathbf{Q}\mathbf{R}_{K}\mathbf{Q} with diag⁡(RK)=1\operatorname{diag}(\mathbf{R}_{K})=1, so Q\mathbf{Q} does not affect Γij\Gamma_{ij}. In other words, the quality changes how likely each item is to be selected but does not affect the interactions between items, consistent with the insight in [3]. Moreover, since ρijK=⟨vi,vj⟩\rho_{ij}^{K}=\langle v_i,v_j\rangle and ρijS=⟨ui,uj⟩\rho_{ij}^{S}=\langle u_i,u_j\rangle for i≠ji\ne j, we can write

Γij=1−⟨vi,vj⟩21−⟨ui,uj⟩2.\Gamma_{ij}=\frac{1-\langle v_i,v_j\rangle^{2}}{1-\langle u_i,u_j\rangle^{2}}.

On the other hand, the pairwise interaction of an NDPP can be expressed in terms of H\mathbf{H} and A\mathbf{A} as follows.

Lemma 2. Let HT=H\mathbf{H}^{\mathsf{T}}=\mathbf{H} and AT=−A\mathbf{A}^{\mathsf{T}}=-\mathbf{A}, and suppose that Hii>0H_{ii}>0 for all i∈Ωi\in\Omega. Then, for an NDPP and any i≠ji\ne j,

Γij=1−Hij2−Aij2HiiHjj.\Gamma_{ij}=1-\frac{H_{ij}^{2}-A_{ij}^{2}}{H_{ii}H_{jj}}.

Proof. The unnormalized weight of an NDPP is P~(Y)=det⁡(L[Y])\widetilde{P}(Y)=\det(\mathbf{L}[Y]) for Y⊆ΩY\subseteq\Omega with det⁡(L[∅])=1\det(\mathbf{L}[\varnothing])=1, where L=H+A\mathbf{L}=\mathbf{H}+\mathbf{A}. Since AT=−A\mathbf{A}^{\mathsf{T}}=-\mathbf{A}, we have Aii=0A_{ii}=0 and Aji=−AijA_{ji}=-A_{ij}, and since HT=H\mathbf{H}^{\mathsf{T}}=\mathbf{H}, we have Hji=HijH_{ji}=H_{ij}. Therefore, Lii=HiiL_{ii}=H_{ii} and

L[{i,j}]=(HiiHij+AijHij−AijHjj).\mathbf{L}[\{i,j\}]= \begin{pmatrix} H_{ii} & H_{ij}+A_{ij}\\ H_{ij}-A_{ij} & H_{jj} \end{pmatrix}.

Hence,

P~({i})=Hii,P~({i,j})=HiiHjj−(Hij+Aij)(Hij−Aij)=HiiHjj−Hij2+Aij2.\widetilde{P}(\{i\}) = H_{ii}, \qquad\widetilde{P}(\{i,j\}) = H_{ii}H_{jj} - (H_{ij}+A_{ij})(H_{ij}-A_{ij}) = H_{ii}H_{jj} - H_{ij}^{2} + A_{ij}^{2}.

Substituting these into (13) and using Hii>0H_{ii} > 0, we obtain

Γij=HiiHjj−Hij2+Aij2HiiHjj=1−Hij2−Aij2HiiHjj.\Gamma_{ij} = \frac{H_{ii}H_{jj} - H_{ij}^{2} + A_{ij}^{2}}{H_{ii}H_{jj}} = 1 - \frac{H_{ij}^{2} - A_{ij}^{2}}{H_{ii}H_{jj}}.

Proof of Theorem 2

Let Z∈{0,1}N×CZ \in\{0,1\}^{N \times C} be the cluster membership matrix, that is, Zic=1{i∈Ωc}Z_{ic} = 1\{i \in\Omega_c\}. We also define κ=1−γ−\kappa= \sqrt{1-\gamma_{-}} and σ=1−γ−/γ+\sigma= \sqrt{1-\gamma_{-}/\gamma_{+}}, and set

K=(1−κ)I+κ11T,K = (1-\kappa)I + \kappa11^{\mathsf{T}},
S=(1−σ)I+σZZT.S = (1-\sigma)I + \sigma ZZ^{\mathsf{T}}.

Then all the diagonal entries of KK and SS are equal to one. For ii and jj in different clusters, we have Kij=κK_{ij} = \kappa and Sij=0S_{ij} = 0. Denoting the pairwise interaction of the DRPP by ΓijDRPP\Gamma_{ij}^{\mathrm{DRPP}}, we obtain

ΓijDRPP=1−κ2=γ−.\Gamma_{ij}^{\mathrm{DRPP}} = 1-\kappa^{2} = \gamma_{-}.

On the other hand, for ii and jj in the same cluster, we have Kij=κK_{ij} = \kappa and Sij=σS_{ij} = \sigma, which yields

ΓijDRPP=1−κ21−σ2=γ−γ−/γ+=γ+.\Gamma_{ij}^{\mathrm{DRPP}} = \frac{1-\kappa^{2}}{1-\sigma^{2}} = \frac{\gamma_{-}}{\gamma_{-}/\gamma_{+}} = \gamma_{+}.

Hence, ΓijDRPP=Γij∗\Gamma_{ij}^{\mathrm{DRPP}} = \Gamma_{ij}^{*} holds exactly. In this case, SS is in the standard form with ϵS=1−σ\epsilon_S = 1-\sigma and U=σZ∈RN×CU = \sqrt{\sigma}Z \in\mathbb{R}^{N \times C}, that is, rS=Cr_S = C.

Denoting the pairwise interaction of the NDPP by ΓijNDPP\Gamma_{ij}^{\mathrm{NDPP}}, since Hii=1H_{ii} = 1 and Hij=κH_{ij} = \kappa for the NDPP, Lemma 2 gives

ΓijNDPP=1−κ2+Aij2=γ−+Aij2.\Gamma_{ij}^{\mathrm{NDPP}} = 1-\kappa^{2}+A_{ij}^{2} = \gamma_{-}+A_{ij}^{2}.

Then, for ii and jj in different clusters, Γij∗=γ−\Gamma_{ij}^{*} = \gamma_{-} implies Aij=0A_{ij} = 0. For ii and jj in the same cluster, Γij∗=γ+\Gamma_{ij}^{*} = \gamma_{+} implies

∣Aij∣=a0,a0:=γ+−γ−>0.\lvert A_{ij}\rvert= a_0, \qquad a_0 := \sqrt{\gamma_{+}-\gamma_{-}} > 0.

Therefore, AA is a block-diagonal skew-symmetric matrix with one block per cluster, and each block Ac:=A[Ωc]A_c := A[\Omega_c] satisfies

∣(Ac)ij∣=a0(i≠j).\lvert(A_c)_{ij}\rvert= a_0 \qquad(i \ne j).

Let m:=mcm := m_c and T:=Ac/a0T := A_c/a_0. Then TT is skew-symmetric, and all its off-diagonal entries are ±1\pm1. Suppose that mm is even. For a skew-symmetric matrix of even order,

det⁡T=Pf⁡(T)2\det T = \operatorname{Pf}(T)^2

holds. The Pfaffian Pf⁡(T)\operatorname{Pf}(T) is a sum over all perfect matchings of mm vertices, i.e., all partitions of {1,…,m}\{1,\ldots,m\} into m/2m/2 disjoint pairs, and each term of the sum is ±1\pm1. The number of perfect matchings of mm vertices is (m−1)!!=1⋅3⋯(m−1)(m-1)!! = 1 \cdot3 \cdots(m-1), which is odd as a product of odd numbers. Thus, Pf⁡(T)\operatorname{Pf}(T) is a sum of an odd number of ±1\pm1's and cannot be even, so that Pf⁡(T)≠0\operatorname{Pf}(T) \ne0. Therefore, det⁡T≠0\det T \ne0, that is,

rank⁡(Ac)=m(m even).\operatorname{rank}(A_c) = m \qquad(m\ \text{even}).

Suppose next that mm is odd. The (m−1)×(m−1)(m-1) \times(m-1) principal submatrix obtained by removing any one item has the same form as above, and since m−1m-1 is even, it has full rank. Hence, rank⁡(Ac)≥m−1\operatorname{rank}(A_c) \ge m-1. On the other hand, a skew-symmetric matrix of odd order is always singular, and its rank is even, so it is at most m−1m-1. Therefore,

rank⁡(Ac)=m−1(m odd).\operatorname{rank}(A_c) = m-1 \qquad(m\ \text{odd}).

Therefore, rank⁡(Ac)=2⌊mc/2⌋\operatorname{rank}(A_c)=2\lfloor m_c/2\rfloor in both cases. Since AA is block diagonal,

rank⁡(A)=∑c=1Crank⁡(Ac)=2∑c=1C⌊mc2⌋.\operatorname{rank}(A)=\sum_{c=1}^{C}\operatorname{rank}(A_c)=2\sum_{c=1}^{C}\left\lfloor\frac{m_c}{2}\right\rfloor.

Since rank⁡(A)≤2rA\operatorname{rank}(A)\le2r_A, we have

2rA≥2∑c=1C⌊mc2⌋,2r_A\ge2\sum_{c=1}^{C}\left\lfloor\frac{m_c}{2}\right\rfloor,

that is, rA≥∑c=1C⌊mc/2⌋r_A\ge\sum_{c=1}^{C}\lfloor m_c/2\rfloor. Moreover, since ⌊mc/2⌋≥(mc−1)/2\lfloor m_c/2\rfloor\ge(m_c-1)/2, we obtain

rA≥∑c=1Cmc−12=N−C2.r_A\ge\sum_{c=1}^{C}\frac{m_c-1}{2}=\frac{N-C}{2}.

Proof of Theorem 3

(i) Since L+LT=2I≻0L+L^{\mathsf{T}}=2I\succ0, LL is an admissible P0P_0 matrix [11], and Hii=1H_{ii}=1 and Hij=0H_{ij}=0, Lemma 2 gives Γij=1+Aij2\Gamma_{ij}=1+A_{ij}^{2}. Therefore, setting

∣Aij∣=γij−1((i,j)∈E),\lvert A_{ij}\rvert=\sqrt{\gamma_{ij}-1}\quad((i,j)\in E),
Aij=0((i,j)∉E),Aji=−Aij,A_{ij}=0\quad((i,j)\notin E),\qquad A_{ji}=-A_{ij},

we obtain Γij=γij\Gamma_{ij}=\gamma_{ij} on the edges and Γij=1\Gamma_{ij}=1 on the non-edges.

(ii) By Lemma 1, Γij=(1−(ρijK)2)/(1−(ρijS)2)≥γ\Gamma_{ij}=(1-(\rho_{ij}^{K})^{2})/(1-(\rho_{ij}^{S})^{2})\ge\gamma. Since 1−(ρijK)2≤11-(\rho_{ij}^{K})^{2}\le1, we have 1−(ρijS)2≤1/γ1-(\rho_{ij}^{S})^{2}\le1/\gamma, and since ρijS≥0\rho_{ij}^{S}\ge0, we obtain

ρijS≥r,r:=1−1γ.\rho_{ij}^{S}\ge r,\qquad r:=\sqrt{1-\frac{1}{\gamma}}.

Similarly, ρjkS≥r\rho_{jk}^{S}\ge r. Since S≻0S\succ0, its principal submatrices are also positive definite, and hence the determinant of the correlation matrix corresponding to {i,j,k}\{i,j,k\},

det⁡RS[{i,j,k}]=∣1ρijSρikSρijS1ρjkSρikSρjkS1∣\det R_S[\{i,j,k\}]= \begin{vmatrix} 1 & \rho_{ij}^{S} & \rho_{ik}^{S}\\ \rho_{ij}^{S} & 1 & \rho_{jk}^{S}\\ \rho_{ik}^{S} & \rho_{jk}^{S} & 1 \end{vmatrix}

is nonnegative. Rearranging this condition with respect to ρikS\rho_{ik}^{S} gives (ρikS−ρijSρjkS)2≤(1−(ρijS)2)(1−(ρjkS)2)(\rho_{ik}^{S}-\rho_{ij}^{S}\rho_{jk}^{S})^{2}\le(1-(\rho_{ij}^{S})^{2})(1-(\rho_{jk}^{S})^{2}), and thus

ρikS≥ρijSρjkS−(1−(ρijS)2)(1−(ρjkS)2).\rho_{ik}^{S}\ge\rho_{ij}^{S}\rho_{jk}^{S}-\sqrt{(1-(\rho_{ij}^{S})^{2})(1-(\rho_{jk}^{S})^{2})}.

Let ρijS=cos⁡α\rho_{ij}^{S}=\cos\alpha and ρjkS=cos⁡β\rho_{jk}^{S}=\cos\beta. Since γ>2\gamma>2 implies r>1/2r>1/\sqrt{2}, we have 0≤α,β≤arccos⁡r<π/40\le\alpha,\beta\le\arccos r<\pi/4, and hence α+β<π/2\alpha+\beta<\pi/2. Therefore,

ρikS≥cos⁡αcos⁡β−sin⁡αsin⁡β=cos⁡(α+β)≥cos⁡(2arccos⁡r)=2r2−1=1−2γ.\rho_{ik}^{S}\ge\cos\alpha\cos\beta-\sin\alpha\sin\beta=\cos(\alpha+\beta)\ge\cos(2\arccos r)=2r^{2}-1=1-\frac{2}{\gamma}.

Since 1−2/γ>01-2/\gamma>0 for γ>2\gamma>2,

1−(ρikS)2≤1−(1−2γ)2=4(γ−1)γ2.1-(\rho_{ik}^{S})^{2}\le1-\left(1-\frac{2}{\gamma}\right)^{2}=\frac{4(\gamma-1)}{\gamma^{2}}.

Moreover, ∣ρikK∣≤δ\lvert\rho_{ik}^{K}\rvert\le\delta implies 1−(ρikK)2≥1−δ21-(\rho_{ik}^{K})^{2}\ge1-\delta^{2}, and applying Lemma 1 again yields (15). Finally, realizing Γik≤1\Gamma_{ik}\le1 requires γ24(γ−1)(1−δ2)≤1\frac{\gamma^{2}}{4(\gamma-1)}(1-\delta^{2})\le1, which is equivalent to δ2≥(1−2/γ)2\delta^{2}\ge(1-2/\gamma)^{2}. Since δ≥0\delta\ge0, we obtain (16).

Details of learning DRPPs

Throughout this section, we write z=(z1,z2)z=(z_1,z_2) for simplicity and use the notation L~(z):=L~(z1,z2)\widetilde{L}(z):=\widetilde{L}(z_1,z_2), C(z):=C(z1,z2)C(z):=C(z_1,z_2), P(z):=P(z1,z2)P(z):=P(z_1,z_2), and Pk(z):=P(z1,z2;k)P_k(z):=P(z_1,z_2;k).

Algorithm 3: Maximum likelihood estimation of DRPP

Input: Observations {Am}m=1M\{A_m\}_{m=1}^{M}, ranks rS,rKr_S,r_K, ϵS,ϵK\epsilon_S,\epsilon_K, size kk (optionally), number of chains TT, minibatch size BB

Output: θ=(α,V,U)\theta=(\alpha,V,U)

Initialize θ\theta and chains {z(t)}t=1T\{z^{(t)}\}_{t=1}^{T};

repeat

&nbsp;&nbsp;&nbsp;&nbsp;for t=1t=1 to TT do

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if kk specified then

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update z(t)z^{(t)} by ESS targeting Pk(z)P_k(z) (12);

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update z(t)z^{(t)} by ESS targeting P(z)P(z) (8);

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end

&nbsp;&nbsp;&nbsp;&nbsp;end

&nbsp;&nbsp;&nbsp;&nbsp;Sample a minibatch B⊆{1,…,M}\mathcal{B}\subseteq\{1,\ldots,M\} with ∣B∣=B|\mathcal{B}|=B;

&nbsp;&nbsp;&nbsp;&nbsp;Compute g^(θ)\hat{g}(\theta) by (18);

&nbsp;&nbsp;&nbsp;&nbsp;Update θ\theta with g^(θ)\hat{g}(\theta) by a stochastic gradient method;

until convergence;

Learning Algorithm

We maximize (11) for data with variable subset sizes, and its size-kk conditional counterpart, obtained by replacing Z(θ)Z(\theta) with Zk(θ)Z_k(\theta), for data in which every observation satisfies ∣Am∣=k|A_m|=k. By (3), the first term can be computed exactly from determinants of ∣Am∣×∣Am∣|A_m|\times|A_m| matrices. On the other hand, by Corollary 3 and § 3.5, the gradient of the normalizing-constant term is the expectation of ∇θlog⁡wθ(z)\nabla_\theta\log w_\theta(z) with respect to P(z)P(z) or Pk(z)P_k(z), where

wθ(z):={det⁡(I+L~(z))(variable size),ek(L~(z))(fixed size).(17)w_\theta(z):= \begin{cases} \det(I+\widetilde{L}(z)) & \text{(variable size)},\\ e_k(\widetilde{L}(z)) & \text{(fixed size)}. \end{cases} \tag*{(17)}

In our experiments, we therefore estimate the gradient using samples {z(t)}t=1T\{z^{(t)}\}_{t=1}^{T} obtained by ESS and a minibatch B⊆{1,…,M}\mathcal{B}\subseteq\{1,\ldots,M\} of observations as

g^(θ)=1∣B∣∑m∈B∇θlog⁡P~(Am∣θ)−1T∑t=1T∇θlog⁡wθ(z(t))−∇θR(θ),(18)\hat{g}(\theta)=\frac{1}{|\mathcal{B}|}\sum_{m\in\mathcal{B}}\nabla_\theta\log\widetilde{P}(A_m\mid\theta)-\frac{1}{T}\sum_{t=1}^{T}\nabla_\theta\log w_\theta(z^{(t)})-\nabla_\theta R(\theta), \tag*{(18)}

where the samples z(t)z^{(t)} are treated as constants independent of θ\theta. The regularization term R(θ)R(\theta) is defined as

R(θ)=ηα2∥α∥22+ηU2∑a≠b(uaTub)2+ηV2∑a≠b(vaTvb)2,R(\theta)=\frac{\eta_\alpha}{2}\lVert\alpha\rVert_2^2+\frac{\eta_U}{2}\sum_{a\ne b}(u_a^\mathsf{T}u_b)^2+\frac{\eta_V}{2}\sum_{a\ne b}(v_a^\mathsf{T}v_b)^2,

where ηα,ηU,ηV≥0\eta_\alpha,\eta_U,\eta_V\ge0 are regularization weights. Algorithm 3 summarizes the overall procedure.

Hyperparameter Selection via Held-out Likelihood

We select the hyperparameters by maximizing the log-likelihood of the validation data {An}n=1nval\{A_n\}_{n=1}^{n_{\mathrm{val}}}. Since the normalizing constant of a DRPP is not available in closed form, we use the representation of the DRPP as an infinite mixture of DPPs given by Theorem 1. Because P(A∣z)=det⁡(L~(z)[A])/det⁡(I+L~(z))P(A\mid z)=\det(\widetilde{L}(z)[A])/\det(I+\widetilde{L}(z)), we have

P(A)=∫P(A∣z)P(z) dz=Ez∼P(z)[det⁡(L~(z)[A])det⁡(I+L~(z))].P(A)=\int P(A\mid z)P(z)\,dz=\mathbb{E}_{z\sim P(z)}\left[\frac{\det(\widetilde{L}(z)[A])}{\det(I+\widetilde{L}(z))}\right].

Similarly, in the fixed-size case, P(A∣z;k)=det⁡(L~(z)[A])/ek(L~(z))P(A\mid z;k)=\det(\widetilde{L}(z)[A])/e_k(\widetilde{L}(z)) yields

P(A∣∣A∣=k)=Ez∼Pk(z)[det⁡(L~(z)[A])ek(L~(z))].P(A\mid|A|=k)=\mathbb{E}_{z\sim P_k(z)}\left[\frac{\det(\widetilde{L}(z)[A])}{e_k(\widetilde{L}(z))}\right].

We therefore draw {z(t)}t=1T\{z^{(t)}\}_{t=1}^{T} from P(z)P(z) or Pk(z)P_k(z) by ESS and, using wθw_\theta in (17), estimate the log-likelihood of the validation data as

∑n=1nvallog⁡P(An)≈∑n=1nvallog⁡{1T∑t=1Tdet⁡(L~(z(t))[An])wθ(z(t))}.\sum_{n=1}^{n_{\mathrm{val}}} \log P(A_n) \approx\sum_{n=1}^{n_{\mathrm{val}}} \log\left\{ \frac{1}{T} \sum_{t=1}^{T} \frac{\det(\widetilde{L}(z^{(t)})[A_n])}{w_\theta(z^{(t)})} \right\}.

This estimator does not require the normalizing constant, and each term can be computed from the determinant of an ∣An∣×∣An∣|A_n| \times|A_n| matrix and wθ(z(t))w_\theta(z^{(t)}) alone.

Efficient Evaluation

Since the shrinkage loop of ESS evaluates wθ(z)w_\theta(z) at every acceptance test, the evaluation of wθ(z)w_\theta(z) dominates the overall computational cost of learning. When RK=IR_K = I, LL and L~(z)\widetilde{L}(z) are diagonal; det⁡(I+L~)\det(I+\widetilde{L}) can be computed in O(N)O(N) time, and ek(L~)e_k(\widetilde{L}) in O(Nk)O(Nk) time by the standard recursion over the diagonal entries. When rK>0r_K > 0, in contrast, L~(z)\widetilde{L}(z) is dense, and a naive computation requires an O(N3)O(N^3) decomposition. We therefore exploit the low-rank structure in (5). Substituting L=ϵS−1QRKQL = \epsilon_S^{-1} Q R_K Q and Q=diag⁡(eα/2)Q = \operatorname{diag}(e^{\alpha/2}) into (5), we can write

L~(z)=ΛzRKΛz,Λz:=ϵS−1/2QC(z)1/2=diag⁡(λi(z))i∈Ω,λi(z)2=eαiC(z)iiϵS.\widetilde{L}(z) = \Lambda_z R_K \Lambda_z,\qquad\Lambda_z := \epsilon_S^{-1/2} Q C(z)^{1/2} = \operatorname{diag}\left(\lambda_i(z)\right)_{i\in\Omega},\qquad\lambda_i(z)^2 = \frac{e^{\alpha_i}C(z)_{ii}}{\epsilon_S}.

Letting W:=ΛzV∈RN×rKW := \Lambda_z V \in\mathbb{R}^{N\times r_K}, we decompose L~(z)\widetilde{L}(z) into the sum of a diagonal matrix and a low-rank matrix:

L~(z)=ϵKΛz2+WW⊤.\widetilde{L}(z) = \epsilon_K \Lambda_z^2 + WW^\top.

In the following, we abbreviate λi=λi(z)\lambda_i = \lambda_i(z) and denote the iith row of VV by viv_i.

Variable size. By the matrix determinant lemma,

det⁡(I+L~)=det⁡(I+ϵKΛz2)det⁡(IrK+W⊤(I+ϵKΛz2)−1W).\det(I+\widetilde{L}) = \det(I+\epsilon_K\Lambda_z^2)\det\left(I_{r_K}+W^\top(I+\epsilon_K\Lambda_z^2)^{-1}W\right).

The first factor is the determinant of a diagonal matrix and can be computed in O(N)O(N) time. Since the rK×rKr_K \times r_K matrix in the second factor can be written as

W⊤(I+ϵKΛz2)−1W=∑i=1Nλi21+ϵKλi2vivi⊤,W^\top(I+\epsilon_K\Lambda_z^2)^{-1}W = \sum_{i=1}^{N} \frac{\lambda_i^2}{1+\epsilon_K\lambda_i^2}v_i v_i^\top,

the overall cost is O(NrK2+rK3)O(Nr_K^2+r_K^3).

Fixed size. Although eke_k is a symmetric function of the eigenvalues, we avoid the eigendecomposition by using Newton’s identities:

kek=∑j=1k(−1)j−1ek−jpj,e0=1.k e_k = \sum_{j=1}^{k}(-1)^{j-1}e_{k-j}p_j,\qquad e_0=1.

where pj:=tr⁡(L~j)p_j := \operatorname{tr}(\widetilde{L}^j) is the jjth power sum of the eigenvalues of L~\widetilde{L}. For example, for k=3k=3,

e1=p1,e2=12(p12−p2),e3=16(p13−3p1p2+2p3).e_1=p_1,\qquad e_2=\frac{1}{2}(p_1^2-p_2),\qquad e_3=\frac{1}{6}(p_1^3-3p_1p_2+2p_3).

Furthermore, letting Ya:=W⊤Λz2aW∈RrK×rKY_a := W^\top\Lambda_z^{2a}W \in\mathbb{R}^{r_K\times r_K} and μa:=tr⁡(Λz2a)=∑iλi2a\mu_a := \operatorname{tr}(\Lambda_z^{2a}) = \sum_i\lambda_i^{2a}, expanding (ϵKΛz2+WW⊤)j(\epsilon_K\Lambda_z^2+WW^\top)^j and using the cyclic property of the trace yield

p1=ϵKμ1+tr⁡Y0,p_1=\epsilon_K\mu_1+\operatorname{tr}Y_0,
p2=ϵK2μ2+2ϵKtr⁡Y1+tr⁡(Y02),p_2=\epsilon_K^2\mu_2+2\epsilon_K\operatorname{tr}Y_1+\operatorname{tr}(Y_0^2),
p3=ϵK3μ3+3ϵK2tr⁡Y2+3ϵKtr⁡(Y1Y0)+tr⁡(Y03).p_3=\epsilon_K^3\mu_3+3\epsilon_K^2\operatorname{tr}Y_2+3\epsilon_K\operatorname{tr}(Y_1Y_0)+\operatorname{tr}(Y_0^3).

Computing Y0,…,Yk−1Y_0,\ldots,Y_{k-1} requires O(kNrK2)O(kNr_K^2) time, and the remaining operations involve only rK×rKr_K\times r_K matrices. Hence, the evaluation avoids both the combinatorial cost of summing over all (Nk)\binom{N}{k} subsets and the O(N3)O(N^3) cost of eigendecomposition. Note, however, that Newton’s identities involve alternating sums, so numerical errors due to cancellation grow as kk increases.

Details of Experimental Setting

In this section, we provide details of the synthetic datasets.

Synthetic Datasets

We defined the pairwise interactions of the artificial datasets as follows, where θi=π2i−1N−1\theta_i = \frac{\pi}{2}\frac{i-1}{N-1}, ci∈{1,…,C}c_i \in\{1,\ldots,C\} denotes the group to which item ii belongs, and φc=2πc/C\varphi_c = 2\pi c/C:

Γijcont=(1−(1−ε)2cos⁡2(θi−θj))−1,Γijclust={(1−(1−ε)2)−1(ci=cj),1(ci≠cj),Γijskew=1+a2sin⁡2(φcj−φci).\begin{aligned} \Gamma_{ij}^{\mathrm{cont}} &= \left(1-(1-\varepsilon)^2\cos^2(\theta_i-\theta_j)\right)^{-1},\\ \Gamma_{ij}^{\mathrm{clust}} &= \begin{cases} \left(1-(1-\varepsilon)^2\right)^{-1} & (c_i=c_j),\\ 1 & (c_i\ne c_j), \end{cases}\\ \Gamma_{ij}^{\mathrm{skew}} &= 1+a^2\sin^2(\varphi_{c_j}-\varphi_{c_i}). \end{aligned}

We set ε=0.05\varepsilon=0.05 and a=2.0a=2.0, and used C=6C=6 groups for cluster and C=3C=3 groups for skew. For C=3C=3, sin⁡2(φcj−φci)=3/4\sin^2(\varphi_{c_j}-\varphi_{c_i})=3/4 for any pair of different groups.

The data were generated from the pairwise log-linear model with these pairwise interactions,

p(A∣∣A∣=k)∝∏{i,j}⊆AΓij=exp⁡{∑{i,j}⊆Alog⁡Γij}.p(A\mid|A|=k)\propto\prod_{\{i,j\}\subseteq A}\Gamma_{ij}=\exp\left\{\sum_{\{i,j\}\subseteq A}\log\Gamma_{ij}\right\}.

Since the model before conditioning on the size, p~(A)=∏{i,j}⊆AΓij\widetilde{p}(A)=\prod_{\{i,j\}\subseteq A}\Gamma_{ij}, satisfies p~(∅)=p~({i})=1\widetilde{p}(\varnothing)=\widetilde{p}(\{i\})=1, its pairwise interaction defined in (13) coincides exactly with Γij\Gamma_{ij}. Moreover, since this model has no interactions of order three or higher, it prevents any particular method from gaining an advantage through structures other than the pairwise interactions. We fixed the size of the generated subsets to k=3k=3. This avoids the generated subsets being polarized toward the empty set and the full set, and keeps the normalizing constant exactly computable even for N=60N=60, which enables both exact data generation and exact computation of the negative log-likelihood (NLL) on the validation data. For all synthetic datasets, we generated ntrain=10000n_{\mathrm{train}}=10000 samples and nval=10000n_{\mathrm{val}}=10000 validation samples.

Among these, the pairwise interactions of continuous and cluster can be represented exactly by the attractive kernel of a DRPP. When RK=IR_K=I, Lemma 1 gives

Γij=11−(ρijS)2=11−⟨ui,uj⟩2.\Gamma_{ij}=\frac{1}{1-(\rho_{ij}^{S})^2}=\frac{1}{1-\langle u_i,u_j\rangle^2}.

For continuous, letting

ui=1−ε(cos⁡θi,sin⁡θi),u_i=\sqrt{1-\varepsilon}(\cos\theta_i,\sin\theta_i),

we have ⟨ui,uj⟩=(1−ε)(cos⁡θicos⁡θj+sin⁡θisin⁡θj)=(1−ε)cos⁡(θi−θj)\langle u_i,u_j\rangle=(1-\varepsilon)(\cos\theta_i\cos\theta_j+\sin\theta_i\sin\theta_j)=(1-\varepsilon)\cos(\theta_i-\theta_j), and hence

Γij=(1−(1−ε)2cos⁡2(θi−θj))−1=Γijcont.\Gamma_{ij}=\left(1-(1-\varepsilon)^2\cos^2(\theta_i-\theta_j)\right)^{-1}=\Gamma_{ij}^{\mathrm{cont}}.

For cluster, letting

ui=1−ε eci,u_i=\sqrt{1-\varepsilon}\,e_{c_i},

where ec∈RCe_c\in\mathbb{R}^C is the cc-th standard basis vector, ⟨ui,uj⟩\langle u_i,u_j\rangle equals 1−ε1-\varepsilon for items in the same group and 00 otherwise, and hence Γij=Γijclust\Gamma_{ij}=\Gamma_{ij}^{\mathrm{clust}}. In both cases, ∥ui∥22=1−ε\lVert u_i\rVert_2^2=1-\varepsilon, so these constructions are in the standard form with εS=ε\varepsilon_S=\varepsilon. Therefore, a DRPP can represent continuous exactly with rS=2r_S=2 and cluster exactly with rS=Cr_S=C. We restricted θi\theta_i to a quarter circle rather than the full circle because Γij\Gamma_{ij} depends only on cos⁡2(θi−θj)\cos^2(\theta_i-\theta_j). For ∣θi−θj∣≤π/2|\theta_i-\theta_j|\leq\pi/2, Γij\Gamma_{ij} decreases monotonically with the angular difference, but it increases again once the difference exceeds π/2\pi/2, which would make distant items attract each other.

On the other hand, skew can be represented exactly by the skew-symmetric part of an NDPP. When H=IH=I, Lemma 2 gives

Γij=1+Aij2.\Gamma_{ij}=1+A_{ij}^2.

We associate each group cc with pc=(cos⁡φc,sin⁡φc)\boldsymbol{p}_c=(\cos\varphi_c,\sin\varphi_c) and let

A=PJPT,A=PJP^{\mathsf{T}},

where P∈RN×2P\in\mathbb{R}^{N\times2} is the matrix whose iith row is apci\sqrt{a}\boldsymbol{p}_{c_i} and J=(01−10)J=\begin{pmatrix}0&1\\-1&0\end{pmatrix}. Then AA is skew-symmetric and Aij=asin⁡(φcj−φci)A_{ij}=a\sin(\varphi_{c_j}-\varphi_{c_i}), so that Γij=Γijskew\Gamma_{ij}=\Gamma_{ij}^{\mathrm{skew}}. Letting BB and CC be the first and second columns of PP, respectively, we have A=BCT−CBTA=BC^{\mathsf{T}}-CB^{\mathsf{T}}; hence, an NDPP can represent skew exactly with rA=1r_A=1.

Real Datasets

We use three real datasets: Amazon Baby Registries ([11]), KDD Cup 2000 from the Twenty Datasets ([31]), and Microsoft COCO ([22]). Since our focus is on interactions between items, we remove subsets with fewer than two items from every dataset; such subsets carry no information about item interactions and would otherwise dominate the likelihood (they account for more than 90% of the raw KDD data, whereas the Amazon data contain none). The same preprocessing is also adopted by Gartrell et al. [13] and others, albeit for different purposes.

We use the distributed training, validation, and test splits for KDD, and a random 70/15/15 split with a fixed seed for Amazon and COCO, which have no distributed splits. Since our goal is to analyze how the NLL changes with the number of parameters as the hyperparameters vary, we fit the parameters on the training set and evaluate every hyperparameter setting by its NLL on the validation set; the test sets are not used for model fitting or NLL evaluation.. To reduce the cost of the ESS-based likelihood of DRPP, we use the first 1000 validation subsets of each dataset. Table 1 shows the summary of the real datasets.

Measuring Transitivity For real datasets, we measure transitivity on the graph whose edges connect pairs of items with attraction. For each pair of items (i,j)(i,j), let n11n_{11}, n10n_{10}, n01n_{01}, and n00n_{00} denote the numbers of subsets that contain both ii and jj, only ii, only jj, and neither, respectively, counted over the whole dataset (training, validation, and test subsets after removing subsets with fewer than two items). We compute the log odds ratio with the Haldane–Anscombe correction ([2, 14]),

Ψ~ij=log⁡(n11+1/2)(n00+1/2)(n10+1/2)(n01+1/2),\widetilde{\Psi}_{ij}=\log\frac{(n_{11}+1/2)(n_{00}+1/2)}{(n_{10}+1/2)(n_{01}+1/2)},

where adding 1/21/2 to each cell keeps Ψ~ij\widetilde{\Psi}_{ij} finite even when a cell is empty, and define the adjacency matrix GG by Gij=1{Ψ~ij>0}G_{ij}=\mathbb{1}\{\widetilde{\Psi}_{ij}>0\} for i≠ji\ne j and Gii=0G_{ii}=0. Letting di=∑jGijd_i=\sum_jG_{ij} be the degree of item ii, we measure the transitivity of GG by the clustering coefficient ([25])

Ttrans(G)=Tr⁡(G3)2W,W=∑i(di2),T_{\mathrm{trans}}(G)=\frac{\operatorname{Tr}(G^3)}{2W},\qquad W=\sum_i\binom{d_i}{2},

that is, the fraction of paths of length two that are closed into triangles. Since TtransT_{\mathrm{trans}} increases with the density and the degree heterogeneity of GG, we use its difference from the average over BB degree-preserving random graphs with adjacency matrices GbnullG_b^{\mathrm{null}} (b=1,…,Bb=1,\ldots,B):

Texcess(G)=Ttrans(G)−1B∑b=1BTtrans(Gbnull).T_{\mathrm{excess}}(G)=T_{\mathrm{trans}}(G)-\frac{1}{B}\sum_{b=1}^{B}T_{\mathrm{trans}}(G_b^{\mathrm{null}}).

Each GbnullG_b^{\mathrm{null}} is generated from GG by double-edge swaps: two edges (i,j)(i,j) and (k,l)(k,l) are chosen uniformly at random and replaced by (i,l)(i,l) and (k,j)(k,j) when the four items are distinct and neither new pair is already an edge. This rewiring preserves every degree did_i and creates neither self-loops nor multiple edges; we repeat it until 20∣E∣20|E| swaps have succeeded, where ∣E∣|E| is the number of edges of GG, and use B=100B=100. Texcess=0T_{\mathrm{excess}}=0 indicates that GG has no transitivity beyond what its degrees explain. The values of TexcessT_{\mathrm{excess}} for all datasets are listed in Table 1.

Hyperparameter Setting

We evaluate the relationship between the number of parameters and the validation NLL of each method. To this end, we vary only the hyperparameters that determine the number of parameters, namely the ranks of the low-rank factors for DRPPs, NDPPs, and DPPs, and the maximum group size (denoted by KK) and the number of components (denoted by CC) for SimplePGC, as listed in Table 2.

MethodHyperparameterSyntheticReal
DRPP-attrrSr_S2, 3, 4, 5, 6, 7, 82, 3, 5, 10, 20, 30
DRPPrSr_S2, 3, 4, 5, 6, 7, 82, 3, 5, 10, 20, 30
NDPP-attrrAr_A1, 3, 5, 8, 15, 20, 302, 3, 5, 10, 20, 30
NDPPrHr_H1, 2, 3, 4, 5, 62, 3, 5, 10, 20, 30
rAr_A1, 3, 5, 8, 15, 20, 302, 3, 5, 10, 20, 30
DPPrr1, 2, 4, 6, 8, 10, 15, 20, 30, 402, 3, 5, 10, 20, 30, 50
SimplePGCKK1, 2, 4, 6, 7, 101, 2, 4, 6, 8, 10
CC1, 2, 4, 8, 101, 2, 4, 6, 10, 20

Table 2. Hyperparameter candidates. Synthetic: Cluster, Continuous, Skew; Real: Amazon, KDD, COCO.

DatasetNNSplitRaw TrainRaw ValidRaw Test∣A∣≥2|A| \ge2 Train∣A∣≥2|A| \ge2 Valid∣A∣≥2|A| \ge2 TestTexcessT_{\mathrm{excess}}
Amazon30070/15/1521,8524,6824,68421,8524,6824,684+0.582
COCO8070/15/1582,80017,74317,74465,15513,96213,963+0.290
KDD64given180,09219,90734,95515,8411,7782,668+0.208

Table 1 (PDF p. 18). Real datasets: numbers of subsets before (raw) and after removing subsets with fewer than two items, and transitivity.

All other hyperparameters are fixed. For DRPPs, we set ϵS=ϵK=0.03\epsilon_S = \epsilon_K = 0.03 and the regularization weights in R(θ)R(\theta) to ηα=ηU=ηV=10−3\eta_\alpha= \eta_U = \eta_V = 10^{-3}. For the baselines, we used their original regularization terms with the same weight 10−310^{-3}. For SimplePGC, we used the parameters at the epoch with the best validation NLL.

Implementation of Baselines

We reimplemented the baselines in JAX: SimplePGC based on the official implementation of Zhang et al. [32] (https://github.com/joshuacnf/Probabilistic-Generating-Circuits) and NDPP following the official implementation of Gartrell et al. [11] (https://github.com/cgartrel/nonsymmetric-DPP-learning). The models and training objectives follow the originals; our changes only speed up the computation, except that early stopping of SimplePGC uses the same validation set as the other methods instead of a held-out part of the training set.

References

  1. [1]Anari, N. and Vuong, T.-D. (2022). From Sampling to Optimization on Discrete Domains with Applications to Determinant Maximization. In Proceedings of Thirty Fifth Conference on Learning Theory, pages 5596–5618. PMLR.arxiv.org/abs/2102.05347
  2. [2]Anscombe, F. J. (1956). On estimating binomial response relations. Biometrika, 43(3-4):461–464.DOI
  3. [3]Anzai, S. and Hino, H. (2026). Determinantal Point Process Approximation under Positive and Negative Dependence.arxiv.org/abs/2607.18849
  4. [4]Bardenet, R., Ghosh, S., and LIN, M. (2021). Determinantal point processes based on orthogonal polynomials for sampling minibatches in sgd. In Ranzato, M., Beygelzimer, A., Dauphin, Y., Liang, P., and Vaughan, J. W., editors, Advances in Neural Information Processing Systems, volume 34, pages 16226–16237. Curran Associates, Inc.arxiv.org/abs/2112.06007
  5. [5]Biyik, E., Wang, K., Anari, N., and Sadigh, D. (2019). Batch active learning using determinantal point processes. ArXiv, abs/1906.07975.
  6. [6]Borodin, A. and Rains, E. M. (2005). Eynard–Mehta Theorem, Schur Process, and Their Pfaffian Analogs. Journal of Statistical Physics, 121(3):291–317.DOI
  7. [7]Chen, L., Zhang, G., and Zhou, E. (2018). Fast greedy map inference for determinantal point process to improve recommendation diversity. In Bengio, S., Wallach, H., Larochelle, H., Grauman, K., Cesa-Bianchi, N., and Garnett, R., editors, Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc.arxiv.org/abs/1709.05135
  8. [8]Chib, S. (1995). Marginal Likelihood from the Gibbs Output. Journal of the American Statistical Association, 90(432):1313–1321.DOI
  9. [9]Cunden, F. D., Majumdar, S. N., and O’Connell, N. (2019). Free fermions and α-determinantal processes. Journal of Physics A: Mathematical and Theoretical, 52(16):165202.
  10. [10]Diaconis, P. and Evans, S. N. (2000). Invariants and finite point processes. J. Comb. Theory A, 91:305–321.
  11. [11]Gartrell, M., Brunel, V.-E., Dohmatob, E., and Krichene, S. (2019). Learning Nonsymmetric Determinantal Point Processes. In Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc.arxiv.org/abs/1905.12962
  12. [12]Gartrell, M., Han, I., Dohmatob, E., Gillenwater, J., and Brunel, V.-E. (2020). Scalable Learning and MAP Inference for Nonsymmetric Determinantal Point Processes. In International Conference on Learning Representations.arxiv.org/abs/2006.09862
  13. [13]Gartrell, M., Paquet, U., and Koenigstein, N. (2016). The bayesian low-rank determinantal point process mixture model. ArXiv, abs/1608.04245.arxiv.org/abs/1608.04245
  14. [14]Haldane, B. J. B. S. (1956). The estimation and significance of the logarithm of a ratio of frequencies. Annals of Human Genetics, 20.pubmed.ncbi.nlm.nih.gov/13314400
  15. [15]Han, I., Gartrell, M., Dohmatob, E., and Karbasi, A. (2022). Scalable MCMC Sampling for Nonsymmetric Determinantal Point Processes. In Proceedings of the 39th International Conference on Machine Learning, pages 8213–8229. PMLR.arxiv.org/abs/2207.00486
  16. [16]Iyer, R. and Bilmes, J. (2012). Algorithms for approximate minimization of the difference between submodular functions, with applications. In Proceedings of the Twenty-Eighth Conference on Uncertainty in Artificial Intelligence, UAI’12, pages 407–417. AUAI Press.
  17. [17]Katori, M. and Shirai, T. (2022). Zeros of the i.i.d. gaussian laurent series on an annulus: Weighted szegőkernels and permanental-determinantal point processes. Communications in Mathematical Physics, 392(3):1099–1151.DOI
  18. [18]Kawashima, T. and Hino, H. (2025). A Family of Distributions of Random Subsets for Controlling Positive and Negative Dependence. In Proceedings of The 28th International Conference on Artificial Intelligence and Statistics, pages 64–72. PMLR.arxiv.org/abs/2408.01022
  19. [19]Kulesza, A. and Taskar, B. (2011a). K-Dpps: Fixed-Size Determinantal Point Processes. In International Conference on Machine Learning.
  20. [20]Kulesza, A. and Taskar, B. (2011b). Learning determinantal point processes. In Proceedings of the Twenty-Seventh Conference on Uncertainty in Artificial Intelligence, UAI’11, page 419–427, Arlington, Virginia, USA. AUAI Press.arxiv.org/abs/1202.3738
  21. [21]Kulesza, A. and Taskar, B. (2012). Determinantal Point Processes for Machine Learning. Foundations and Trends® in Machine Learning, 5(2-3):123–286.
  22. [22]Lin, T.-Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., and Zitnick, C. L. (2014). Microsoft coco: Common objects in context. In Fleet, D., Pajdla, T., Schiele, B., and Tuytelaars, T., editors, Computer Vision – ECCV 2014, pages 740–755, Cham. Springer International Publishing.arxiv.org/abs/1405.0312
  23. [23]Macchi, O. (1975). The Coincidence Approach to Stochastic Point Processes. Advances in Applied Probability, 7(1):83–122.DOI
  24. [24]Murray, I., Adams, R., and MacKay, D. (2010). Elliptical slice sampling. In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, pages 541–548. JMLR Workshop and Conference Proceedings.arxiv.org/abs/1001.0175
  25. [25]Newman, M. E. J. (2003). The structure and function of complex networks. SIAM Review, 45(2):167–256.DOI
  26. [26]Poinas, A. (2026). On determinantal point processes with nonsymmetric kernels. Electronic Journal of Probability, 31:1–32.DOI
  27. [27]Poulson, J. (2020). High-performance sampling of generic determinantal point processes. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, 378(2166):20190059.DOI
  28. [28]Shah, A. and Ghahramani, Z. (2013). Determinantal clustering process - a nonparametric Bayesian approach to kernel based semi-supervised clustering. In Proceedings of the Twenty-Ninth Conference on Uncertainty in Artificial Intelligence, UAI’13, page 566–575, Arlington, Virginia, USA. AUAI Press.arxiv.org/abs/1309.6862
  29. [29]Shirai, T. and Takahashi, Y. (2003). Random point fields associated with certain fredholm determinants i: fermion, poisson and boson point processes. Journal of Functional Analysis, 205(2):414–463.DOI
  30. [30]Valiant, L. (1979). The complexity of computing the permanent. Theoretical Computer Science, 8(2):189–201.DOI
  31. [31]Van Haaren, J. and Davis, J. (2012). Markov network structure learning: a randomized feature generation approach. In Proceedings of the Twenty-Sixth AAAI Conference on Artificial Intelligence, AAAI’12, page 1148–1154. AAAI Press.
  32. [32]Zhang, H., Juba, B., and Van Den Broeck, G. (2021). Probabilistic generating circuits. In Meila, M. and Zhang, T., editors, Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 12447–12457. PMLR.arxiv.org/abs/2102.09768

Paper details

vlnc:W_3w8g4fxd
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 1

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents