In this paper, we develop a unified framework connecting proper scoring rules and Stein's method for the estimation of unnormalized models. We construct a class of proper scoring rules that encompasses score matching, ratio matching, pseudolikelihood, and noise contrastive estimation. We show that these proper scoring rules naturally induce Stein operators. This connection yields a new construction principle for Stein operators, and enables us to study estimators based on these scoring rules through the geometry associated with the induced Stein operators. Using this geometric perspective, we provide a unified characterization of the asymptotic efficiency of the resulting estimators.
1 Introduction
Consider estimation in a parametric model
P:={pθ(x)=Z(θ)p~θ(x)θ∈Θ}
on a sample space X, where Θ⊂Rd and Z(θ):=∫Xp~θ(x)dx is a normalizing constant. A normalizing constant is often intractable, making maximum likelihood estimation difficult in many cases; examples include Markov random fields (Besag, 1974), statistical models on manifolds (Mardia and Jupp, 1999; Chikuse, 2003), Boltzmann machines (Ackley et al., 1985), energy-based models (LeCun et al., 2006; Song and Kingma, 2021), and score-based generative models (Lai et al., 2025).
A series of works by Parry et al. (2012), Dawid et al. (2012), and Ehm and Gneiting (2012) developed the theory of proper local scoring rules, providing a framework for estimation in unnormalized models that encompasses pseudolikelihood (Besag, 1975), score matching (Hyvärinen, 2005), and ratio matching (Hyvärinen, 2007).
More recently, Stein’s method has emerged as an alternative approach to estimation in unnormalized models (Barp et al., 2019; Ebner et al., 2025). This approach employs a Stein operator Aθ and a Stein class Fθ satisfying the characterization
Eθ⋆[Aθf(X)]=0,∀f∈Fθ⟺θ=θ⋆.
The pair (Aθ,Fθ) is called a Stein pair. Various constructions of Stein pairs have been proposed (e.g., Gorham and Mackey, 2015; Mijoule et al., 2023).
†The Institute of Statistical Mathematics, e-mail: yano@ism.ac.jp
In this paper, we establish a unified approach for a class of proper scoring rules via Stein operators. Given a suitable linear operator L together with a concave function h, we construct a proper scoring rule that does not depend on the normalizing constant. Our class of proper scoring rules encompasses score matching, ratio matching, Besag's pseudolikelihood, and noise contrastive estimation (Gutmann and Hyvärinen, 2010). Moreover, it yields a new construction principle for Stein operators and shows that estimators based on these proper scoring rules can be analyzed through the geometry induced by the corresponding Stein operators. Leveraging this geometric perspective, we provide a unified characterization of the asymptotic efficiency of the resulting estimators.
1.1 Related work
Scoring rules Proper scoring rules provide a framework for evaluating the quality of probability distributions (Gneiting and Raftery, 2007). The seminal work of Hyvärinen (2005) proposed score matching (Hyvärinen scoring rule) for the estimation of unnormalized models on Rp. Various extensions of score matching to more general domains have been developed (e.g., Dawid and Lauritzen, 2005; Hyvärinen, 2007; Lyu, 2009; Yu et al., 2019; Mardia et al., 2016; Liu et al., 2022; Williams and Liu, 2022; Scealy and Wood, 2023). To analyze the asymptotic efficiency of score matching estimators, Koehler et al. (2023) and Qin and Risteski (2024) exploited generators of diffusion processes associated with score matching. Closely related to this paper is Lyu (2009), in which score matching was generalized by replacing the gradient operator with a general linear operator L. Another closely related work is Gutmann and Hirayama (2011), in which a unified framework for estimation of unnormalized models was developed based on Bregman divergences. Our framework, which incorporates both a general linear operator L and a Bregman-type divergence generated by a concave function h, reveals the connection between the resulting scoring rules and Stein's method.
Parry et al. (2012) generalized score matching to local scoring rules and characterized their propriety. Ehm and Gneiting (2012) characterized the propriety of local scoring rules of order two. Takasu et al. (2018) proposed proper local scoring rules on unit spheres. Dawid et al. (2012) introduced local scoring rules on discrete spaces that include pseudolikelihood (Besag, 1975) and ratio matching (Hyvärinen, 2007) as special cases. Kanamori and Takenouchi (2017) investigated strictly proper local scoring rules on discrete sample spaces through their relationship with Bregman divergences. Our class of proper scoring rules recovers local scoring rules on both continuous and discrete sample spaces through appropriate choices of L. Marlin and de Freitas (2011) studied the asymptotic relative efficiency of Besag's pseudolikelihood and ratio matching. Dawid et al. (2016) discussed parametric estimation based on scoring rules. Waghmare and Ziegel (2026) provide a comprehensive review of recent developments in scoring rules.
An alternative approach is noise contrastive estimation (NCE), proposed by Gutmann and Hyvärinen (2010), which estimates the normalizing constant rather than employing a scoring rule that does not depend on it. Matsuda and Hyvärinen (2019) extended NCE to finite mixtures of unnormalized models. Fujii et al. (2026) generalized NCE using Bregman divergences. Sonobe et al. (2026) developed a fully Bayesian extension of the contrastive approach, thereby enabling posterior uncertainty quantification. Uehara et al. (2020) developed a framework for asymptotically efficient estimation without the normalizing constant by utilizing a nonparametric density estimator.
Stein’s method Stein’s method introduced by Stein (1972) was originally developed for normal approximation, but it now plays an important role in the estimation of unnormalized models
(Anastasiou et al., 2023; Liu et al., 2026). Barp et al. (2019) introduced minimum Stein discrepancy estimation and showed that score matching is recovered as a special case using the Langevin–Stein operator. Grathwohl et al. (2020) used neural networks to parameterize the test functions in Stein discrepancies. Ebner et al. (2025) proposed Stein’s method of moments (SMoM), which yields a wide class of estimators that do not depend on the normalizing constant. By choosing appropriate Stein operators, SMoM can be extended to more general domains (Fischer, 2025; Fischer et al., 2025a,b, 2026). Kume and Walker (2026) showed that weighted score matching is an instance of SMoM. Nagai and Yano (2026) characterized the asymptotic efficiency of the score matching estimator using the geometry of SMoM. Extending this geometric approach to our class of proper scoring rules, we show that the resulting estimators are asymptotically efficient if and only if the corresponding Stein score functions and the Fisher score functions span the same space.
For the construction of Stein operators, Gorham and Mackey (2015) and Gorham et al. (2019) proposed a generator approach that exploits the generators of Markov processes. Ley and Swan (2013) and Mijoule et al. (2023) introduced a density approach. Ley and Swan (2016a,b) proposed a parametric approach. Yang et al. (2018) characterized Stein operators on discrete spaces. Eguchi (2026) derived the γ-Stein operator from the γ-divergence. Our construction of Stein operators is based on the estimating equations, or equivalently on the first-order optimality conditions, associated with proper scoring rules.
1.2 Organization
The rest of this paper is organized as follows. In Section 2, we introduce notation and review scoring rules and Stein's method. In Section 3, we introduce our class of proper scoring rules and the induced Stein operators. In Section 4, we provide a unified characterization of the asymptotic efficiency of estimators based on our class of proper scoring rules. In Section 5, we present examples. In the Supplementary Material, we state regularity conditions, provide further examples, and present proofs omitted from the main text.
2 Preliminaries
In this section, we introduce notations and review scoring rules and Stein's method.
2.1 Notation
Let (X,B,dx) be a measure space. Let the parameter space Θ⊂Rd be an open set, and let pθ be a probability density on X such that pθ(x)>0 and θ↦pθ(x) is sufficiently smooth. The parametric model P is defined by P:={pθ∣θ∈Θ}. We assume that P is identifiable, that is, pθ=pθ′ if and only if θ=θ′. For an estimator θ^ satisfying n(θ^−θ⋆)⇝N(0,V), we set AVar[θ^]:=V.
The standard inner product and the induced norm on Rm are denoted by ⟨⋅,⋅⟩ and ∥⋅∥, respectively. The gradient operator on Θ is denoted by ∇θ. Let ∂θj denote the partial differential operator ∂/∂θj.
Let M(X;Rm) be the space of all measurable functions from X to Rm. For r∈N, define
where functions equal almost everywhere are identified in the usual manner.
2.2 Scoring rules
A scoring rule is a loss function S:X×P→R such that (x↦S(x,pθ))∈L1(P) for all θ∈Θ. The scoring rule S is said to be proper if for any (true) parameter θ∗∈Θ, θ↦Eθ∗[S(X,pθ)] is minimized at θ=θ∗. S is said to be strictly proper if the minimizer is unique. Propriety justifies the use of a scoring rule S as a loss function. A proper scoring rule S induces the statistical divergence
D(pθ⋆∥pθ):=Eθ⋆[S(X,pθ)]−Eθ⋆[S(X,pθ⋆)].
D(pθ∗∥pθ)≥0 whenever S is proper. If S is strictly proper, D(pθ∗∥pθ)=0 if and only if θ=θ∗.
Let X1,…,Xn be i.i.d. random variables from pθ∗. The estimator θ^ based on a proper scoring rule S is defined by
θ^∈argθ∈Θminn1i=1∑nS(Xi,pθ).(1)
The maximum likelihood estimator θ^MLE corresponds to the log score S(x,pθ):=−logpθ(x).
2.3 Stein's method
For θ∈Θ, let Aθ be a linear operator on L2(pθ) with the domain DomAθ. Let Fθ⊂{f∈DomAθ∣Aθf∈L1(P)} be a class of test functions. The pair (Aθ,Fθ) is said to be a Stein pair if for any θ⋆∈Θ,
Eθ⋆[Aθf(X)]=0,∀f∈Fθ⟺θ=θ⋆.
For a Stein pair (Aθ,Fθ), Aθ is called a Stein operator and Fθ is called a Stein class. We provide some examples of Stein operators in Section 5.
3 Main results
In this section, we introduce the class of proper scoring rules for unnormalized models and the Stein operators induced by these scoring rules.
3.1 Proper scoring rules for unnormalized models
We construct scoring rules as follows. Let Y⊂Rm be an open convex set and h:X×Y→R be a measurable function such that y↦h(x,y) is sufficiently smooth. The gradient and Hessian of h with respect to y are denoted by hy(x,y) and hyy(x,y), respectively. Here, the second argument of hy and hyy specifies the evaluation point of the derivatives with respect to y. Let L: Dom L⊂M(X;R)→M(X;Rm) be a linear operator satisfying pθ∈DomL and Lpθ(x)/pθ(x)∈Y for all x∈X and θ∈Θ. Let L∗: Dom L∗⊂M(X;Rm)→M(X;R) be a linear operator that is adjoint to L in the following sense: for every f∈DomL and V∈DomL∗,
∫Xf(x)L∗V(x)dx=∫X⟨V(x),Lf(x)⟩dx,(2)
whenever fL∗V and ⟨V(⋅),Lf(⋅)⟩ are integrable.
We assume the following identifiability condition on L.
Assumption 1. For all θ,θ∗∈Θ, the equation Lpθ/pθ=Lpθ∗/pθ∗ holds if and only if θ=θ∗.
We impose regularity conditions on L and h detailed in Appendix A, ensuring that all relevant expectations are finite and the functions involved lie in the appropriate operator domains. Under the regularity conditions, the scoring rule S:X×P→R is defined by
In general, S does not require computation of the normalizing constant, since Lpθ/pθ is independent of it. The exception is when L itself generates an additional term involving the normalizing constants; see Sections 5.4 and 5.5.
If y↦h(x,y) is concave, the scoring rule S induces the following Bregman-type divergence:
The following theorem shows that a linear operator L and a concave function h yield a proper scoring rule.
Theorem 1. Suppose y↦h(x,y) is concave. Then, the scoring rule S defined by (3) is proper. Furthermore, if y↦h(x,y) is strictly concave, and if L satisfies Assumption 1, S is strictly proper.
Proof. By the concavity of h, D(pθ∗∥pθ) defined by (4) is nonnegative for any θ,θ∗∈Θ. Thus, S is a proper scoring rule. Furthermore, if h is strictly concave, D(pθ∗∥pθ)=0 if and only if Lpθ/pθ=Lpθ∗/pθ∗. Under Assumption 1, this is equivalent to θ=θ∗. Therefore, S is strictly proper, which completes the proof.
Remark 1 (Comparison with Lyu (2009)). Generalized score matching (Lyu, 2009) is the proper scoring rule given by
S(x,pθ):=21pθ(x)Lpθ(x)2−L∗[pθLpθ](x).
This scoring rule is recovered by choosing h(x,y):=−∥y∥2/2. Allowing a general concave function h is essential for the scope of our framework: together with appropriate choices of L, it encompasses important examples; see Section 5. Moreover, the curvature hyy determines the geometry of the associated divergence and, consequently, the induced Stein operator.
Remark 2 (Comparison with Takasu et al. (2018)). Takasu et al. (2018) proposed proper local scoring rules on the unit sphere Sp−1. Their construction is recovered by choosing the Riemannian gradient L:=∇Sp−1.
Remark 3 (Comparison with Gutmann and Hirayama (2011)). For estimation of unnormalized models, Gutmann and Hirayama (2011) provided a unified framework based on Bregman divergences. Although their framework encompasses the divergence defined in (4), our focus is different. We study Bregman divergences that are empirically estimable through proper scoring rules. This representation naturally induces an associated Stein operator and enables a unified analysis of the asymptotic efficiency of the resulting estimators.
3.2 Stein operators induced by proper scoring rules
For each θ∈Θ, the linear operator Aθ on L2(pθ) is defined as follows.
The domain Dom Aθ⊂L2(pθ) and its subset Fθ⊂Dom Aθ are chosen to satisfy appropriate integrability conditions and domain requirements for L and L∗. The details are given in Appendix A.
To derive Aθ from the proper scoring rule S defined by (3), we make the following commutation assumption.
which proves (1). (2): This follows directly from the adjoint relation (2).
Remark 4 (Connection to SMoM). Let X1,…,Xn be i.i.d. random variables from pθ∗. A Stein's method of moments (SMoM) estimator with respect to the test functions fθ,1,…,fθ,d∈DomAθ is defined as a solution to the following estimating equations (Ebner et al., 2025):
i=1∑nAθfθ,j(Xi)=0,j=1,…,d.
Part (1) of Theorem 2 shows that the first-order estimating equations associated with the estimator defined by (1), with S given by (3), coincide with those of an SMoM estimator with test functions fθ,j:=∂θjlogpθ,j=1,…,d. This relation provides a canonical choice of test functions (Nagai and Yano, 2026).
Remark 5 (Comparison with Eguchi (2026)). Eguchi (2026) derived the γ-Stein operator by taking the first variation of the γ-divergence along infinitesimal transports induced by a geometry on the sample space. In contrast, our construction is based on the divergence geometry induced by a scoring rule. Consequently, when applied to the γ-divergence (pseudo-spherical scoring rule), our construction yields a Stein operator distinct from the γ-Stein operator of Eguchi (2026); see Appendix C.2.
The following proposition gives a sufficient condition for (Aθ,Fθ) to be a Stein pair under a strong integrability condition. In Section 5, we relax this condition for specific choices of L.
Proposition 1. Suppose that pθ∗/pθ∈Fθ for all θ∗,θ∈Θ and that hyy(x,y) is negative definite. Then, under Assumption 1, (Aθ,Fθ) is a Stein pair.
Proof. Fix an arbitrary θ∗∈Θ. We show that for fθ:=pθ∗/pθ∈Fθ, Eθ∗[Aθfθ(X)]=0 implies θ=θ∗. Observe that
Since hyy(x,Lpθ(x)/pθ(x)) is negative definite,
Eθ⋆[Aθfθ(X)]=0⟺pθ⋆Lpθ⋆=pθLpθ.
Under Assumption 1, Lpθ∗/pθ∗=Lpθ/pθ is equivalent to θ=θ∗. Together with part (2) of Theorem 2, this proves that (Aθ,Fθ) is a Stein pair.
We provide an example in which the strong integrability condition in Proposition 1 fails.
Example 1 (Normal distribution). Consider the family of zero-mean normal distributions P:={pθ(x):=exp(−x2/2θ2)/2πθ2∣θ>0}. We choose L:=∇x,L∗:=−divx, and h(x,y):=−∥y∥2/2, which yields score matching. Observe that
If 1/(2\theta^2) - 1/\theta^*^2 \geq 0, this expectation is not finite. Hence, pθ∗/pθ∈/Fθ for such choices of θ and θ∗, so the integrability condition in Proposition 1 fails. This issue can be avoided by using Proposition 2. In this case, we can take Ψ(u):=logu. Indeed, for all θ,θ∗>0,
4 Unified characterization of asymptotic efficiency
In this section, we provide the unified characterization of the asymptotic efficiency of the estimator θ^ defined in (1) with the scoring rule S defined in (3). Throughout this section, we assume that y↦h(x,y) is concave and that Assumptions 1 and 2 hold.
For each θ∈Θ, the bilinear form Eθ: Dom Aθ×DomAθ→R is defined by
We refer to Eθ as the Dirichlet form, since it coincides with the Dirichlet form associated with Aθ whenever Aθ is the generator of a Markov process with invariant distribution pθ. The following lemma shows the connection between Aθ and Eθ. The proof is given in Appendix B.3.
Lemma 1. For all f,g∈DomAθ, we have
Eθ(f,g)=−Eθ[f(X)Aθg(X)]=−Eθ[g(X)Aθf(X)].
Remark 6 (Connection to the geometry of proper scoring rules). The Dirichlet form Eθ underlies the local geometry induced by the scoring rule S defined in (3), or equivalently by the associated Bregman divergence defined in (4) (Eguchi, 1992; Dawid, 2007). In particular, the induced metric tensor on the parametric model P is represented by G(θ)jk=Eθ(∂θjlogpθ,∂θklogpθ).
The Stein score functions, which play a key role in the characterization of asymptotic efficiency, are defined as follows. Their existence and uniqueness are discussed in Appendix B.2.
Definition 1 (Stein score). For j=1,…,d, a Stein score function ψθ,j∈DomAθ is a function satisfying
Aθψθ,j=−∂θjlogpθ,Eθ[ψθ,j(X)]=0.
We impose the following kernel condition on Eθ.
Assumption 3. For all θ∈Θ and f∈DomAθ, the equation Eθ(f,f)=0 holds only if f is constant.
We now present the unified characterization of the asymptotic efficiency of θ^. We assume the regularity conditions on the scoring rule S and the model P detailed in Appendix A. Our main assumptions are the consistency and asymptotic linearity of θ^ and θ^MLE, which can be established using standard arguments for M-estimators (e.g., Van der Vaart, 1998).
The following theorem shows that θ^ is asymptotically efficient if and only if the Fisher score functions span the same space as the Stein score functions. The proof is given in Appendix B.3.
Theorem 3. Suppose that the regularity conditions R1–R5 in Appendix A hold and that Stein score functions ψθ∗,1,…,ψθ∗,d exist. Let θ^ be the estimator defined in (1) with the proper scoring rule S defined in (3). Under Assumption 3, the following are equivalent:
θ^ is asymptotically efficient, that is, AVar[θ^]=AVar[θ^MLE];
there exists a nonsingular matrix Λ(θ⋆)∈Rd×d such that ∂θjlogpθ⋆=∑k=1dΛ(θ⋆)jkψθ⋆,k for j=1,…,d.
Remark 7 (Comparison with Nagai and Yano (2026)). Nagai and Yano (2026) established the score matching counterpart of Theorem 3. We generalize their result to our class of proper scoring rules. Our proof follows their strategy and relies on the canonical decomposition of the estimator θ^. This decomposition is derived from the orthogonal decomposition of the Stein score functions with respect to the Dirichlet form Eθ∗.
5 Examples
In this section, we illustrate our framework through several examples. We first summarize common sufficient conditions for Assumptions 1 and 3. For every operator L considered in this section, Assumption 1 is satisfied, and Assumption 3 is also satisfied whenever hyy(x,y) is negative definite; see Appendix B.1 and Appendix D. Assumption 2 is imposed separately whenever needed.
5.1 Gradient operator and score matching
Let X:=Rp and suppose (x,θ)↦pθ(x) is smooth on X×Θ. We choose L as the Euclidean gradient operator: L:=∇x. L∗ is given by L∗V(x):=−divxV(x)=−∑j=1p∂Vj(x)/∂xj. The adjoint relation between L and L∗ in (2) is justified by integration by parts under an appropriate boundary condition for P. This setting corresponds to the class of local scoring rules of order two (Parry et al., 2012; Ehm and Gneiting, 2012), and score matching (Hyvärinen, 2005) is recovered by choosing h(x,y):=−∥y∥2/2. The scoring rule S, Stein operator Aθ, divergence D(pθ∗∥pθ), and Dirichlet form Eθ corresponding to score matching are given as follows:
where Δx is the Laplacian operator defined by Δx:=divx∇x=∑j=1p∂2/∂xj2.
Remark 8 (Comparison with score matching on Riemannian manifolds). When X⊂Rp is an oriented and connected Riemannian manifold with corners, we can choose L as the Riemannian gradient, which recovers score matching on Riemannian manifolds (Dawid and Lauritzen, 2005; Mardia et al., 2016) and its variants (Takasu et al., 2018; Williams and Liu, 2022; Scealy and Wood, 2023).
The following proposition states an alternative sufficient condition for (Aθ,Fθ) to be a Stein pair. The proof is given in Appendix D.1.
Proposition 2. Let L:=∇x,L∗:=−divx and suppose hyy(x,y) is negative definite. Suppose further that there exists a smooth function Ψ:(0,∞)→R such that Ψ′>0 and Ψ(pθ∗(⋅)/pθ(⋅))∈Fθ for all θ∗,θ∈Θ. Then (Aθ,Fθ) is a Stein pair.
Remark 9 (Connection to entropy dissipation). In the setting of Proposition 2, let Φ:(0,∞)→R be a smooth convex function such that Φ′=Ψ. Suppose Aθ is the generator of a Markov process with invariant distribution pθ, and let (Ptθ)t≥0 be the associated Markov semigroup. For a measurable function f:X→(0,∞) satisfying the required integrability conditions, the Φ-entropy EntθΦ(f) is defined by
EntθΦ(f):=Eθ[Φ(f(X))]−Φ(Eθ[f(X)]).
Under suitable regularity conditions, a de Bruijn-type identity (Chafai, 2004, Proposition 1), together with Lemma 1, yields
dtdEntθΦ(Ptθ[pθpθ∗])t=0+=Eθ∗[rθ(X)],
where rθ(x):=AθΦ′(pθ∗(⋅)/pθ(⋅))(x). Hence, Proposition 2 implies that the initial Φ-entropy dissipation rate vanishes if and only if θ=θ∗.
The following proposition provides a class of models P satisfying the condition in part (2) of Theorem 3. The proof is given in Appendix D.1.
Proposition 3. Let L:=∇x,L∗:=−divx, and let p(x)>0 be a probability density on Rp with zero mean such that logp is smooth and ∇x2logp(x) is negative definite. Let h(x,y):=−(−logp)∗(−y), where (−logp)∗ is the Legendre transform of −logp defined by
(−logp)∗(u):=x∈Rpsup{⟨u,x⟩+logp(x)}.
Consider the location model pθ(x):=p(x−θ), where Θ=Rp. Then, the Stein score functions coincide with the Fisher score functions; that is, ψθ,j=∂θjlogpθ for j=1,…,p.
Remark 10 (Connection to Wasserstein geometry). Under the score matching choice
L:=∇x,L∗:=−divx,h(x,y):=−21∥y∥2,
the Stein score functions coincide with the Wasserstein score functions (Li and Zhao, 2023; Nishimori and Matsuda, 2025; Nagai and Yano, 2026) that play a key role in Wasserstein geometry.
For the location model in Proposition 3, the Wasserstein score functions are given by ψθ,j(x)=xj−θj for j=1,…,p, and hence do not encode the shape of the base density p(x) (Li and Zhao, 2023; Amari and Matsuda, 2024; Fukushi et al., 2026). In contrast, the choice of h in Proposition 3 incorporates the shape of p(x) through the geometry induced by hyy.
Remark 11 (Comparison with Koehler et al. (2023) and Qin and Risteski (2024)). Koehler et al. (2023) related the asymptotic efficiency of score matching to the Poincaré inequality for the Langevin diffusion. Qin and Risteski (2024) generalized this connection to a broader class of Markov processes associated with the generator Aθ and diffusion score matching losses. Both results give an upper bound on the asymptotic variance of score matching. Our characterization gives a different perspective: the loss of asymptotic efficiency is quantified by the leakage of the Stein score functions from the space spanned by the Fisher score functions, as made explicit by the asymptotic variance decomposition in Appendix B.3.
5.2 Flip operator and ratio matching
Let X:={±1}p and
Lf(x):=(f(x(1)),…,f(x(p)))⊤,(7)
where x(j):=(x1,…,−xj,…,xp)⊤. L∗ is given by
L∗V(x):=j=1∑pVj(x(j)).(8)
In this setting, ratio matching (Hyvärinen, 2007) is recovered by choosing h(x,y):=∑j=1pyj/(4+4yj). The corresponding scoring rule S, Stein operator Aθ, divergence D(pθ∗∥pθ), and Dirichlet form Eθ are given as follows:
The following proposition gives an alternative sufficient condition for (Aθ,Fθ) to be a Stein pair. The proof is given in Appendix D.2.
Proposition 4. Let L and L∗ be defined in (7) and (8), respectively. Suppose hyy(x,y) is negative definite and diagonal. Suppose further that there exists a strictly increasing function Ψ:(0,∞)→R such that Ψ(pθ∗(⋅)/pθ(⋅))∈Fθ for all θ⋆,θ∈Θ. Then (Aθ,Fθ) is a Stein pair.
The following proposition provides a class of models P satisfying the condition in part (2) of Theorem 3. Note that the choice of h in Proposition 5 recovers Besag's pseudolikelihood. For this setting, the consistency and asymptotic normality of the corresponding estimator were established by Hyvärinen (2006) and Nguyen and Wood (2016). The proof is given in Appendix D.2.
Proposition 5. Let L and L∗ be defined in (7) and (8), respectively, and let h(x,y):=∑j=1p{(1+yj)log(1+yj)−yjlogyj}/2. Consider the Boltzmann machine
pθ(x):=Z(θ)1expj=1∑pxjηj+j<k∑xjxkηjk
where θ=(η1,…,ηp,η12,…,ηp−1,p)⊤∈Θ:=Rd with d=(p2+p)/2. If p≤3, θ^ is asymptotically efficient for any θ∗∈Θ.
5.3 Marginalization operator and Besag's pseudolikelihood
Let (Xj,Bj,dxj) for j=1,…,p (p≥2) be measure spaces, and consider the product space (X,B,dx):=(∏j=1pXj,⨂j=1pBj,⨂j=1pdxj). Define
Lf(x):=(∫X1f(x)dx1,…,∫Xpf(x)dxp)⊤.(9)
By Lemma 4 of Lyu (2009), L∗ is given by
L∗V(x):=j=1∑p∫XjVj(x)dxj.(10)
In this setting, Besag's pseudolikelihood (Besag, 1975) is recovered by choosing h(x,y):=∑j=1plogyj. The corresponding scoring rule S, Stein operator Aθ, divergence D(pθ∗∥pθ), and Dirichlet form Eθ are given by
where x−j:=(x1,…,xj−1,xj+1,…,xp) and pθ(xj∣x−j):=pθ(x)/∫Xjpθ(x)dxj.
Note that when X={±1}p, the marginalization operator is closely related to the flip operator. Indeed, for each j=1,…,p, Lmargf(x)j=Lflipf(x)j+f(x), and therefore the two operators yield the same Dθ. This relationship can also be understood through the choice of the neighborhood system; see Appendix C.2.
Remark 12 (Comparison with Fischer et al. (2025b)). Fischer et al. (2025b) developed Stein's method of moments for local dependency exponential random graph models using a Glauber dynamics Stein operator (Reinert and Ross, 2019). They showed that, by choosing the Fisher score functions as test functions, the resulting estimator coincides with the maximum pseudolikelihood estimator. From the perspective of our framework, this Stein operator is naturally induced by Besag's pseudolikelihood.
The following proposition gives an alternative sufficient condition for (Aθ,Fθ) to be a Stein pair. The proof is given in Appendix D.3.
Proposition 6. Let L and L∗ be defined in (9) and (10), respectively, and let h(x,y):=∑j=1plogyj. Suppose that there exists a strictly increasing function Ψ:(0,∞)→R such that Ψ(pθ∗(⋅)/pθ(⋅))∈Fθ for all θ∗,θ∈Θ. Then (Aθ,Fθ) is a Stein pair.
5.4 Noise-weighted integral operator and noise contrastive estimation
Let n(x)>0 be a probability density on X, and Lf(x):=n(x)∫Xf(x)dx. L∗ is given by L∗f(x):=En[f(W)], where W∼n(⋅). Define h(x,y):=(1+νy)log(1+νy)−νylog(νy), where ν>0. The corresponding scoring rule S, Stein operator Aθ, divergence D(pθ∗∥pθ), and Dirichlet form Eθ are given by
where wθ(x):=νn(x)/(pθ(x)+νn(x)). Although this scoring rule depends on the normalizing constant Z(θ), introducing a free nuisance parameter c for −logZ(θ) and approximating the expectation with respect to n(⋅) by Monte Carlo recovers NCE (Gutmann and Hyvärinen, 2010; Gutmann and Hyvärinen, 2012).
Remark 13 (Connection between the marginalization operator and noise contrastive estimation). The NCE loss can also be derived using the marginalization operator defined in (9), rather than the noise-weighted integral operator. Let X:=X′×{0,1} and consider the parametric model defined by
pθ(x,0):=1+ννn(x),pθ(x,1):=1+ν1qθ(x),
where qθ(x)>0 is a probability density of interest on X′, n(x)>0 is an auxiliary probability density on X′, and ν>0.
Let L be the marginalization operator defined in (9) and define h((x,z),y):=logy2. The corresponding scoring rule is given by
S((x,z),pθ)=−(1−z)logwθ(x)−zlog(1−wθ(x)),
where wθ(x):=νn(x)/(qθ(x)+νn(x)). In this setting, the NCE loss is recovered by replacing −logZ(θ) with a free nuisance parameter c. Thus, NCE can also be viewed as a binary conditional scoring rule induced by marginalization over the label variable.
The following proposition gives an alternative sufficient condition for (Aθ,Fθ) to be a Stein pair. The proof is given in Appendix D.4.
Proposition 7. Let Lf(x):=n(x)∫Xf(x)dx and L∗f(x):=En[f(W)]. Suppose hyy(x,y)<0 and 1{pθ∗/pθ>1}(⋅)∈Fθ for all θ∗,θ∈Θ. Then (Aθ,Fθ) is a Stein pair.
Remark 14 (Comparison with Fujii et al. (2026)). Fujii et al. (2026) generalized NCE using Bregman divergences between posterior class probabilities. Their risk functions are recovered by choosing
h(x,y):=−(1+νy)(φ(1+νy1)+φ(1+νyνy)),
where φ:(0,1)→R is a strictly convex function.
The following proposition provides a closed-form expression for the Stein score functions corresponding to NCE. Note that this result does not by itself establish the asymptotic efficiency of NCE since −logZ(θ) is not treated as a nuisance parameter in this formulation. The proof is given in Appendix D.4.
Proposition 8. For j=1,…,d, the Stein score functions corresponding to noise contrastive estimation are given by ψθ,j(x)=(∂θjlogpθ(x)−Cθ,j)/wθ(x), where wθ(x):=νn(x)/(pθ(x)+νn(x)) and Cθ,j:=Eθ[∂θjlogpθ(X)/wθ(X)]Eθ[1/wθ(X)]−1. Here, we assume that the quantities Cθ,j are well defined and that ψθ,j∈DomAθ for j=1,…,d.
Remark 15 (Comparison with Uehara et al. (2020)). For asymptotically efficient estimation without the normalizing constant, Uehara et al. (2020) proposed self density-ratio matching estimators that replace the unknown true density pθ∗ by a nonparametric density estimator. In our framework, their construction is closely related to the ideal choice n(x)=pθ∗(x). Indeed, under this choice, the Stein score functions are given by ψθ∗,j=(1+1/ν)∂θjlogpθ∗, so that part (2) of Theorem 3 is satisfied.
5.5 Integral operator and MLE
Let Lf(x):=∫Xf(x)dx. L∗ is given by L∗:=L. In this setting, MLE (log score) is recovered by choosing h(x,y):=logy. The corresponding scoring rule S, Stein operator Aθ, divergence D(pθ∗∥pθ), and Dirichlet form Eθ are given by
Note that this scoring rule depends on the normalizing constant, since Lpθ/pθ=1/pθ depends on it. In this setting, the Stein score functions coincide with the Fisher score functions.
The following proposition gives an alternative sufficient condition for (Aθ,Fθ) to be a Stein pair. The proof is given in Appendix D.5.
Proposition 9. Let Lf(x):=∫Xf(x)dx and L∗:=L. Suppose hyy(x,y)<0 and 1{pθ∗/pθ>1}(⋅)∈Fθ for all θ∗,θ∈Θ. Then (Aθ,Fθ) is a Stein pair.
6 Conclusion
We have developed a unified framework that connects proper scoring rules and Stein's method. Our class of proper scoring rules encompasses the principal methods for estimation in unnormalized models, including score matching, ratio matching, pseudolikelihood, and noise contrastive estimation. We have shown that these scoring rules naturally induce Stein operators through their estimating equations, which provides a new principle for constructing Stein operators. Using the geometry induced by these operators, we have established a unified characterization of the asymptotic efficiency of the resulting estimators.
Acknowledgements
The authors would like to thank Rikiya Okazaki for helpful comments. This work was supported by JSPS KAKENHI Grant Numbers JP24K15120, JP24H00247, JP26K02871, JP26K23255, JP26K00325, JP26K02869, by JST CREST Grant Number JPMJCR26E3, by MEXT STAR-E NEXT Project (Japan Grant Number JPJ013735).
References
Ackley, D. H., Hinton, G. E., and Sejnowski, T. J. (1985). A learning algorithm for Boltzmann machines. Cognitive Science, 9(1):147–169.
Amari, S. and Matsuda, T. (2024). Information geometry of Wasserstein statistics on shapes and affine deformations. Information Geometry, 7:285–309.
Anastasiou, A., Barp, A., Briol, F.-X., Ebner, B., Gaunt, R. E., Ghaderinezhad, F., Gorham, J., Gretton, A., Ley, C., Liu, Q., Mackey, L., Oates, C. J., Reinert, G., and Swan, Y. (2023). Stein's method meets computational statistics: A review of some recent developments. Statistical Science, 38(1):120–139.
Barp, A., Briol, F.-X., Duncan, A., Girolami, M., and Mackey, L. (2019). Minimum Stein discrepancy estimators. Advances in Neural Information Processing Systems, 32.
Besag, J. (1974). Spatial interaction and the statistical analysis of lattice systems. Journal of the Royal Statistical Society. Series B (Methodological), 36(2):192–225.
Besag, J. (1975). Statistical analysis of non-lattice data. Journal of the Royal Statistical Society. Series D (The Statistician), 24(3):179–195.
Chafai, D. (2004). Entropies, convexity, and functional inequalities: On Φ-entropies and Φ-Sobolev inequalities. Journal of Mathematics of Kyoto University, 44(2):325–363.
Chikuse, Y. (2003). Statistics on Special Manifolds, volume 174 of Lecture Notes in Statistics. Springer, New York.
Dawid, A. P. (2007). The geometry of proper scoring rules. Annals of the Institute of Statistical Mathematics, 59(1):77–93.
Dawid, A. P. and Lauritzen, S. (2005). The geometry of decision theory. In The 2nd International Symposium on Information Geometry and its Applications, pages 22–28.
Dawid, A. P., Lauritzen, S., and Parry, M. (2012). Proper local scoring rules on discrete sample spaces. The Annals of Statistics, 40(1):593–608.
Dawid, A. P., Musio, M., and Ventura, L. (2016). Minimum scoring rule inference. Scandinavian Journal of Statistics, 43(1):123–138.
Ebner, B., Fischer, A., Gaunt, R. E., Picker, B., and Swan, Y. (2025). Stein's method of moments. Scandinavian Journal of Statistics, 52(4):1594–1624.
Eguchi, S. (1992). Geometry of minimum contrast. Hiroshima Mathematical Journal, 22(3):631–647.
Eguchi, S. (2026). Robust inference using density-powered Stein operators. Information Geometry.
Ehm, W. and Gneiting, T. (2012). Local proper scoring rules of order two. The Annals of Statistics, 40(1):609–637.
Fischer, A. (2025). New closed-form estimators for discrete distributions. arXiv preprint arXiv:2510.18503.
Fischer, A., Gaunt, R. E., and Swan, Y. (2025a). Stein's method of moments for truncated multivariate distributions. Electronic Journal of Statistics, 19(1):1784–1808.
Fischer, A., Gaunt, R. E., and Swan, Y. (2026). Stein's method of moments on the sphere. Bernoulli, 32(2):1186–1212.
Fischer, A., Reinert, G., and Xu, W. (2025b). Stein's method of moment estimators for local dependency exponential random graph models. arXiv preprint arXiv:2503.13191.
Fujii, Y., Sasaki, H., and Kanamori, T. (2026). Bregman contrastive estimation as a general framework for learning unnormalized models: Efficiency, robustness and optimal noise. In Proceedings of the 42nd Conference on Uncertainty in Artificial Intelligence (UAI 2026), pages 1604–1627.
Fujisawa, H. and Eguchi, S. (2008). Robust parameter estimation with a small bias against heavy contamination. Journal of Multivariate Analysis, 99(9):2053–2081.
Fukushi, A., Nakanishi-Ohno, Y., and Matsuda, T. (2026). Flatness of location-scale-shape models under the Wasserstein metric. Information Geometry.
Glynn, P. W. and Meyn, S. P. (1996). A Liapounov bound for solutions of the Poisson equation. The Annals of Probability, 24(2):916–931.
Gneiting, T. and Raftery, A. E. (2007). Strictly proper scoring rules, prediction, and estimation. Journal of the American Statistical Association, 102(477):359–378.
Gorham, J., Duncan, A. B., Vollmer, S. J., and Mackey, L. (2019). Measuring sample quality with diffusions. The Annals of Applied Probability, 29(5):2884–2928.
Gorham, J. and Mackey, L. (2015). Measuring sample quality with Stein's method. Advances in Neural Information Processing Systems, 28.
Grathwohl, W., Wang, K.-C., Jacobsen, J.-H., Duvenaud, D., and Zemel, R. (2020). Learning the Stein discrepancy for training and evaluating energy-based models without sampling. In Proceedings of the 37th International Conference on Machine Learning (ICML 2020), pages 3732–3747.
Gutmann, M. U. and Hirayama, J. (2011). Bregman divergence as general framework to estimate unnormalized statistical models. In Proceedings of the 27th Conference on Uncertainty in Artificial Intelligence (UAI 2011), pages 283–290.
Gutmann, M. U. and Hyvärinen, A. (2010). Noise-contrastive estimation: A new estimation principle for unnormalized statistical models. In Proceedings of the 13th International Conference on Artificial Intelligence and Statistics (AISTATS 2010), pages 297–304.
Gutmann, M. U. and Hyvärinen, A. (2012). Noise-contrastive estimation of unnormalized statistical models, with applications to natural image statistics. Journal of Machine Learning Research, 13:307–361.
Hyvärinen, A. (2005). Estimation of non-normalized statistical models by score matching. Journal of Machine Learning Research, 6:695–709.
Hyvärinen, A. (2006). Consistency of pseudolikelihood estimation of fully visible Boltzmann machines. Neural Computation, 18(10):2283–2292.
Hyvärinen, A. (2007). Some extensions of score matching. Computational Statistics & Data Analysis, 51(5):2499–2512.
Kanamori, T. and Fujisawa, H. (2015). Robust estimation under heavy contamination using unnormalized models. Biometrika, 102(3):559–572.
Kanamori, T. and Takenouchi, T. (2017). Graph-based composite local Bregman divergences on discrete sample spaces. Neural Networks, 95:44–56.
Koehler, F., Heckett, A., and Risteski, A. (2023). Statistical efficiency of score matching: The view from isoperimetry. In The 11th International Conference on Learning Representations (ICLR 2023).
Kume, A. and Walker, S. G. (2026). On Stein's method of moments and generalized score matching. arXiv preprint arXiv:2602.06482.
Lai, C.-H., Song, Y., Kim, D., Mitsufuji, Y., and Ermon, S. (2025). The principles of diffusion models. arXiv preprint arXiv:2510.21890.
LeCun, Y., Chopra, S., Hadsell, R., Ranzato, M., and Huang, F. J. (2006). A tutorial on energy-based learning. In Predicting Structured Data, chapter 10, pages 191–246. MIT Press, Cambridge, MA.
Ley, C. and Swan, Y. (2013). Stein's density approach and information inequalities. Electronic Communications in Probability, 18:1–14.
Ley, C. and Swan, Y. (2016a). A general parametric Stein characterization. Statistics & Probability Letters, 111:67–71.
Ley, C. and Swan, Y. (2016b). Parametric Stein operators and variance bounds. Brazilian Journal of Probability and Statistics, 30(2):171–195.
Li, W. and Zhao, J. (2023). Wasserstein information matrix. Information Geometry, 6(1):203–255.
Liu, Q., Mackey, L., and Oates, C. (2026). Probabilistic inference and learning with Stein's method. arXiv preprint arXiv:2603.07467.
Liu, S., Kanamori, T., and Williams, D. J. (2022). Estimating density models with truncation boundaries using score matching. Journal of Machine Learning Research, 23:1–38.
Lyu, S. (2009). Interpretation and generalization of score matching. In Proceedings of the 25th Uncertainty in Artificial Intelligence Conference (UAI 2009), pages 359–366.
Mardia, K. V. and Jupp, P. E. (1999). Directional Statistics. John Wiley & Sons.
Mardia, K. V., Kent, J. T., and Laha, A. K. (2016). Score matching estimators for directional distributions. arXiv preprint arXiv:1604.08470.
Marlin, B. M. and de Freitas, N. (2011). Asymptotic efficiency of deterministic estimators for discrete energy-based models: ratio matching and pseudolikelihood. In Proceedings of the 27th Conference on Uncertainty in Artificial Intelligence (UAI 2011), pages 497–505.
Matsuda, T. and Hyvärinen, A. (2019). Estimation of non-normalized mixture models. In Proceedings of The 22nd International Conference on Artificial Intelligence and Statistics (AISTATS 2019), pages 2555–2563.
Meng, C., Choi, K., Song, J., and Ermon, S. (2022). Concrete score matching: Generalized score matching for discrete data. Advances in Neural Information Processing Systems, 35:34532–34545.
Mijoule, G., Raič, M., Reinert, G., and Swan, Y. (2023). Stein's density method for multivariate continuous distributions. Electronic Journal of Probability, 28(59):1–40.
Nagai, M. and Yano, K. (2026). The geometry of Stein's method of moments: A canonical decomposition via score matching. arXiv preprint arXiv:2603.12843.
Nguyen, H. D. and Wood, I. A. (2016). Asymptotic normality of the maximum pseudolikelihood estimator for fully visible Boltzmann machines. IEEE Transactions on Neural Networks and Learning Systems, 27(4):897–902.
Nishimori, H. and Matsuda, T. (2025). On the attainment of the Wasserstein–Cramer–Rao lower bound. Information Geometry.
O'Donnell, R. (2014). Analysis of Boolean Functions. Cambridge University Press.
Parry, M., Dawid, A. P., and Lauritzen, S. (2012). Proper local scoring rules. The Annals of Statistics, 40(1):561–592.
Qin, Y. and Risteski, A. (2024). Fit like you sample: Sample-efficient generalized score matching from fast mixing diffusions. In Proceedings of 37th Conference on Learning Theory (COLT 2024), pages 4413–4457.
Reinert, G. and Ross, N. (2019). Approximating stationary distributions of fast mixing Glauber dynamics, with applications to exponential random graphs. The Annals of Applied Probability, 29(5):3201–3229.
Rockafellar, R. T. (1970). Convex Analysis. Princeton University Press.
Scealy, J. L. and Wood, A. T. A. (2023). Score matching for compositional distributions. Journal of the American Statistical Association, 118(543):1811–1823.
Song, Y. and Kingma, D. P. (2021). How to train your energy-based models. arXiv preprint arXiv:2101.03288.
Sonobe, N., Sugasawa, S., Mochihashi, D., and Matsuda, T. (2026). Contrastive Bayesian inference for unnormalized models. arXiv preprint arXiv:2603.09306.
Stein, C. (1972). A bound for the error in the normal approximation to the distribution of a sum of dependent random variables. In Proceedings of the 6th Berkeley symposium on mathematical statistics and probability, volume 2: Probability theory, pages 583–602. University of California Press.
Takasu, Y., Yano, K., and Komaki, F. (2018). Scoring rules for statistical models on spheres. Statistics & Probability Letters, 138:111–115.
Uehara, M., Kanamori, T., Takenouchi, T., and Matsuda, T. (2020). A unified statistically efficient estimation framework for unnormalized models. In Proceedings of the 23rd International Conference on Artificial Intelligence and Statistics (AISTATS 2020), pages 809–819.
Van der Vaart, A. W. (1998). Asymptotic Statistics. Cambridge University Press, 1 edition.
Waghmare, K. and Ziegel, J. (2026). Proper scoring rules for estimation and forecast evaluation. Annual Review of Statistics and Its Application, 13:271–296.
Williams, D. J. and Liu, S. (2022). Score matching for truncated density estimation on a manifold. In Proceedings of Topological, Algebraic, and Geometric Learning Workshops 2022 (TAG-ML 2022).
Yang, J., Liu, Q., Rao, V., and Neville, J. (2018). Goodness-of-fit testing for discrete distributions via Stein discrepancy. In Proceedings of the 35th International Conference on Machine Learning (ICML 2018), pages 5561–5570.
Yu, S., Drton, M., and Shojaie, A. (2019). Generalized score matching for non-negative data. Journal of Machine Learning Research, 20:1–70.
A Regularity conditions
For the scoring rule S defined in (3), we impose the following regularity conditions on L and h to ensure that all relevant expectations are finite and that the functions involved lie in the appropriate operator domains.
h(⋅,Lpθ(⋅)/pθ(⋅))∈L1(P) for all θ∈Θ;
hy(⋅,Lpθ(⋅)/pθ(⋅))∈DomL∗ for all θ∈Θ;
L∗[hy(⋅,Lpθ(⋅)/pθ(⋅))]∈L1(P) for all θ∈Θ;
⟨hy(⋅,Lpθ(⋅)/pθ(⋅)),Lpθ(⋅)/pθ(⋅)⟩∈L1(P) for all θ∈Θ.
⟨hy(⋅,Lpθ(⋅)/pθ(⋅)),Lpθ∗(⋅)/pθ∗(⋅)⟩∈L1(pθ∗) for all θ,θ∗∈Θ.
Dom Aθ⊂L2(pθ) is the space of functions f satisfying
In this section, we provide auxiliary results omitted from the main text.
B.1 Sufficient conditions for Assumptions 1 and 3
We first introduce the following kernel condition on Dθ.
Assumption 4. For all θ∈Θ and all f∈M(X;R) such that fpθ∈DomL, Dθf=0 if and only if f is constant.
The following proposition provides sufficient conditions for Assumptions 1 and 3.
Proposition 10. Suppose Assumption 4 holds. Then Assumption 1 is satisfied. Suppose further that hyy(x,y) is negative definite. Then Assumption 3 is also satisfied.
Proof. We first show that Assumption 1 is satisfied. Fix an arbitrary θ∗∈Θ. Observe that
Dθ[pθpθ⋆]=pθpθ⋆(pθ⋆Lpθ⋆−pθLpθ).
Since pθ∗∈DomL, Assumption 4 applies to pθ∗/pθ. Hence, Lpθ/pθ=Lpθ∗/pθ∗ holds if and only if pθ∗/pθ is constant, which implies θ=θ∗.
Next, we show that Assumption 3 is satisfied. Observe that
Since hyy(x,y) is negative definite, Eθ(f,f)=0 if and only if Dθf=0, which is equivalent to f being constant. Thus, Assumption 3 is satisfied.
B.2 Existence and uniqueness of Stein score functions
Definition 2 (Poincaré inequality). The Dirichlet form Eθ defined in (6) satisfies a Poincaré inequality with constant α(θ)>0 if
Eθ(f,f)≥α(θ)1Varθ[f(X)],∀f∈DomAθ.
A Poincaré inequality implies Assumption 3. The following lemma specifies the kernel of Aθ.
Lemma 2. For any θ∈Θ, under Assumption 3, Aθf=0 holds if and only if f is constant.
Proof. Suppose Aθf=0. Then, by Lemma 1, we have Eθ(f,f)=0. Thus, Assumption 3 implies that f is constant. The converse follows immediately from Dθ1=0.
The following corollary states that the Stein score functions are unique under the kernel condition, which directly follows from Lemma 2.
Corollary 1. Suppose the Stein score functions ψθ,1,…,ψθ,d exist. Then, under Assumption 3, the Stein score functions are uniquely determined.
The following proposition gives a sufficient condition for the existence of Stein score functions based on a Poincaré inequality. More generally, if Aθ is the generator of a Markov process with invariant distribution pθ, the existence of the Stein score functions reduces to solving the Poisson equations
Aθψθ,j=−∂θjlogpθ,j=1,…,d.
Alternative sufficient conditions for the solvability of Poisson equations include Foster–Lyapunov drift conditions; see, e.g., Glynn and Meyn (1996).
Proposition 11. Suppose that Eθ satisfies a Poincaré inequality with constant α(θ)>0 and that Aθ is self-adjoint. Then, the Stein score functions ψθ,1,…,ψθ,d defined in Definition 1 exist at θ.
Proof. Since Aθ is self-adjoint and KerAθ=R by Lemma 2, we have
ImAθ=(KerAθ)⊥={f∈L2(pθ)∣Eθ[f(X)]=0}.
We show Im Aθ is closed. By Lemma 1, for f∈DomAθ satisfying Eθ[f(X)]=0, we have
−Eθ[f(X)Aθf(X)]=Eθ(f,f)≥α(θ)1Eθ[∣f(X)∣2]
Hence, by the Cauchy–Schwarz inequality,
Eθ[∣Aθf(X)∣2]≥α(θ)21Eθ[∣f(X)∣2],(11)
Let f(m)∈DomAθ be a sequence such that Aθf(m)→g in L2(pθ). Define f~(m):=f(m)−Eθ[f(m)(X)]. Since constant functions belong to KerAθ, we have Aθf~(m)=Aθf(m). Moreover, Eθ[f~(m)(X)]=0. Applying (11) to f~(m)−f~(n) yields
Thus, f~(m) is a Cauchy sequence in L2(pθ). Hence, there exists f∈L2(pθ) such that f~(m)→f in L2(pθ). Since a self-adjoint operator is closed, we obtain f∈DomAθ and Aθf=g. Hence, ImAθ is closed. Consequently,
ImAθ={f∈L2(pθ)∣Eθ[f(X)]=0}.
Since the Fisher score functions are centered and belong to L2(pθ), ∂θjlogpθ∈ImAθ for j=1,…,d. Hence, there exists ψθ,j∈DomAθ satisfying Definition 1, which completes the proof. □
B.3 Auxiliary lemmas and proof of Theorem 3
We first prove Lemma 1 and then establish the auxiliary results used in the proof of Theorem 3.
Proof. The proof follows the argument used in the proof of Lemma 4 in Nagai and Yano (2026). θ^MLE has the following asymptotic linear representation:
Since AVar[θ^MLE]=I(θ⋆)−1, we finally obtain AVar[θ^]−AVar[θ^MLE]=G(θ⋆)−1TG(θ⋆)−1, which completes the proof.
Proof of Theorem 3. (1) ⇒ (2):
Suppose AVar[θ^]=AVar[θ^MLE]. By Lemma 4, Aθ∗uθ∗,j=0 for j=1,…,d. Lemma 2 implies that uθ∗,j is constant. Since Eθ∗[uθ∗,j(X)]=0, we have uθ∗,j=0. Thus, we obtain
∂θjlogpθ⋆=k=1∑d(G(θ⋆)I(θ⋆)−1)jkψθ⋆,k,
which completes (1) ⇒ (2).
(2) ⇒ (1): Suppose there exists a nonsingular matrix Λ(θ⋆)∈Rd×d such that ∂θjlogpθ⋆=∑k=1dΛ(θ⋆)jkψθ⋆,k for j=1,…,d. By Lemma 3,
C.1 Weighted gradient and diffusion score matching
Let X⊂Rp be a connected open set with a smooth boundary and let M:X→Rp×p be a smooth function such that M(x) is positive definite, and thus M(x)1/2 exists. Define Lf:=M1/2∇xf. L∗ is given by
L∗V:=−divx(M1/2V).
When we choose h(x,y):=−∥y∥2/2, the corresponding scoring rule S, Stein operator Aθ, divergence D(pθ∗∥pθ), and Dirichlet form Eθ are given as follows:
This scoring rule corresponds to diffusion score matching (Barp et al., 2019; Qin and Risteski, 2024). It recovers weighted score matching (Hyvärinen, 2007; Yu et al., 2019; Liu et al., 2022) when M(x) is diagonal. An appropriate choice of M can weaken the boundary conditions required of P.
The following proposition shows that Assumption 4 is satisfied by choosing Lf:=M1/2∇xf.
Proposition 12. Let Lf:=M1/2∇xf. Then, Assumption 4 is satisfied.
Proof. Fix an arbitrary θ∈Θ. Observe that
Dθf(x)=M(x)1/2∇xf(x).
Since M(x) is positive definite, Dθf=0 if and only if f is constant, which completes the proof. □
The following proposition states an alternative sufficient condition for (Aθ,Fθ) to be a Stein pair.
Proposition 13. Let Lf:=M1/2∇xf, L∗V:=−divx(M1/2V) and suppose hyy(x,y) is negative definite. Suppose further that there exists a smooth function Ψ:(0,∞)→R such that Ψ′>0 and Ψ(pθ∗(⋅)/pθ(⋅))∈Fθ for all θ∗,θ∈Θ. Then (Aθ,Fθ) is a Stein pair.
Proof. Fix an arbitrary θ⋆∈Θ. We show that for fθ:=Ψ(pθ⋆(⋅)/pθ(⋅))∈Fθ, Eθ⋆[Aθfθ(X)]=0 implies θ=θ⋆. Observe that
Since Ψ′(pθ∗(x)/pθ(x))>0 and M(x)1/2hyy(x,y)M(x)1/2 is negative definite,
Eθ∗[Aθfθ(X)]=0⟺∇xlogpθpθ∗=0,
which is equivalent to θ=θ∗. Together with part (2) of Theorem 2, this shows that (Aθ,Fθ) is a Stein pair, which completes the proof.
Example 2 (Gamma distribution). The gamma distribution with a fixed shape parameter α>0 and rate parameter θ>0 has the density
pθ(x)=Γ(α)θαxα−1e−xθ,x>0.
Let M(x)=x and h(x,y)=−y2/2. Then the corresponding Stein operator is given by
Aθf(x)=(α−θx)f′(x)+xf′′(x).
Observe that
Aθ∂θlogpθ(x)=−θ∂θlogpθ(x).
Thus, the Stein score is given by ψθ=θ−1∂θlogpθ, which satisfies part (2) of Theorem 3.
C.2 Local scoring rules on discrete spaces
Let (X,E) be an undirected graph with finite vertex set X and edge set E. For each x∈X, define the set of neighbors of x by
N(x):={v∈X∣{x,v}∈E}.
Let
Lf(x):=(1N(x)(v)f(v))v∈X,(12)
where 1N(x) denotes the indicator function of N(x). L∗ is given by
L∗V(x):=v∈N(x)∑V(v)x.(13)
Note that the setting in Section 5.2 is recovered by taking X:={±1}p and N(x):={x(j)∣j=1,…,p}, whereas the setting in Section 5.3 is recovered by taking X:=X1×⋯×Xp and N(x):={v∈X∖{x}∣∃j=1,…,p,v−j=x−j}.
Let ϕ:[0,∞)→R be a smooth concave function such that ϕ(0)=0. When we choose h(x,y):=∑v∈Xϕ(yv), the corresponding scoring rule S, Stein operator Aθ, divergence D(pθ∗∥pθ), and Dirichlet form Eθ are given as follows:
This scoring rule is local in the sense of Dawid et al. (2012). Kanamori and Takenouchi (2017) studied conditions for the strict propriety of graph-based local scoring rules in terms of the underlying neighborhood system and provided various examples. Independently of the literature on local scoring rules, Meng et al. (2022) developed a closely related graph-based formulation of score matching for discrete data.
Remark 16 (Comparison with Yang et al. (2018)). Yang et al. (2018) characterized Stein operators on discrete spaces satisfying Stein's identity as operators of the form
The following proposition shows that Assumption 4 is satisfied in this setting.
Proposition 14. Let L be defined in (12). Suppose (X,E) is connected. Then, Assumption 4 is satisfied.
Proof. Fix an arbitrary θ∈Θ. Observe that
Dθf(x)=(pθ(x)pθ(v)(f(v)−f(x))1N(x)(v))v∈X.
Thus, Dθf(x)=0 is equivalent to f(v)=f(x) for all x∈X and v∈N(x). Since (X,E) is connected, this is equivalent to f being constant, which completes the proof.
The following proposition states an alternative sufficient condition for (Aθ,Fθ) to be a Stein pair.
Proposition 15. Let L and L∗ be defined in (12) and (13), respectively. Suppose (X,E) is connected and hyy(x,y) is negative definite and diagonal. Suppose further that there exists a strictly increasing function Ψ:(0,∞)→R such that Ψ(pθ∗(⋅)/pθ(⋅))∈Fθ for all θ∗,θ∈Θ. Then (Aθ,Fθ) is a Stein pair.
Proof. Fix θ⋆∈Θ. We show that for fθ:=Ψ(pθ⋆(⋅)/pθ(⋅))∈Fθ, Eθ⋆[Aθfθ(X)]=0 implies θ=θ⋆. Observe the relation
Since hyy(x,y) is negative definite and Ψ is strictly increasing, Eθ∗[Aθfθ(X)]=0 holds if and only if 1N(x)(v)(pθ∗(v)/pθ(v)−pθ∗(x)/pθ(x))=0 for all x,v∈X. Since (X,E) is connected, this is equivalent to pθ∗/pθ being constant, that is, θ=θ∗, which completes the proof.
Example 3 (Pseudo-spherical score and γ-divergence). Let (X,E) be a complete graph with self-loops, that is, N(x)=X for all x∈X. In this setting, the pseudo-spherical scoring rule (Fujisawa and Eguchi, 2008; Kanamori and Fujisawa, 2015) is recovered by choosing
h(x,y):=−∣X∣γ1(v∈X∑yv1+γ)1/(1+γ),
where γ>0. The associated divergence is equivalent to the γ-divergence up to a strictly monotone transformation. The Stein operator induced by the pseudo-spherical scoring rule is
Although the pseudo-spherical score is closely related to the γ-divergence, the above Stein operator is distinct from the γ-Stein operator of Eguchi (2026), which is derived from the first variation of the γ-divergence along infinitesimal transports on the sample space.
C.3 Shift operator
Let X⊂Z and Lf(x):=f(x+1)1X(x+1). L∗ is given by L∗f(x):=f(x−1)1X(x−1).
When we choose h(x,y):=−w(x)y2/2, where w(x)>0, the corresponding scoring rule S, Stein operator Aθ, divergence D(pθ∗∥pθ), and Dirichlet form Eθ are given as follows:
Remark 17 (Comparison with Fischer (2025)). Fischer (2025) constructed closed-form estimators for discrete distributions using the following Stein operator:
The following proposition shows that Assumption 4 is satisfied in this setting.
Proposition 16. Let Lf(x):=f(x+1)1X(x+1) and suppose X is an integer interval. Then, Assumption 4 is satisfied.
Proof. Fix an arbitrary θ∈Θ. Observe that
Dθf(x)=pθ(x)pθ(x+1)(f(x+1)−f(x))1X(x+1).
Thus, Dθf(x)=0 is equivalent to f(x+1)=f(x) for every x∈X such that x+1∈X. Since X is an integer interval, this is equivalent to f being constant, which completes the proof.
The following proposition states an alternative sufficient condition for (Aθ,Fθ) to be a Stein pair.
Proposition 17. Let Lf(x):=f(x+1)1X(x+1) and L∗f(x):=f(x−1)1X(x−1). Suppose X is an integer interval and hyy(x,y)<0. Suppose further that there exists a strictly increasing function Ψ:(0,∞)→R such that Ψ(pθ∗(⋅)/pθ(⋅))∈Fθ for all θ∗, θ∈Θ. Then (Aθ,Fθ) is a Stein pair.
Proof. Fix θ⋆∈Θ. We show that for fθ:=Ψ(pθ⋆(⋅)/pθ(⋅))∈Fθ, Eθ⋆[Aθfθ(X)]=0 implies θ=θ⋆. Observe the relation
Since hyy(x,y)<0 and Ψ is strictly increasing, Eθ∗[Aθfθ(X)]=0 holds if and only if 1X(x+1)(pθ∗(x+1)/pθ(x+1)−pθ∗(x)/pθ(x))=0 for all x∈X. Since X is an integer interval, this is equivalent to pθ∗/pθ being constant, that is, θ=θ∗, which completes the proof.
Example 4 (Poisson distribution). The Poisson distribution with rate parameter θ>0 has the density
pθ(x)=x!θxe−θ,x∈{0,1,⋯}.
Let h(x,y)=−(x+1)2y2/2. Then the corresponding Stein operator is given by
Aθf(x)=−θx(f(x)−f(x−1))+θ2(f(x+1)−f(x))
Observe that
Aθ∂θlogpθ(x)=−θ∂θlogpθ(x).
Thus, the Stein score is given by ψθ=θ−1∂θlogpθ, which satisfies part (2) of Theorem 3.
C.4 Weighted integral operator
Let α,β∈L1(P) be strictly positive functions. Define
Lf(x):=α(x)Iβ[f],
(16) where Iβ is the integral operator defined by
Iβ[f]:=∫Xf(x)β(x)dx.
Iα is defined similarly. L∗ is given by
L∗f(x):=β(x)Iα[f].(17)
In this setting, the results in Section 5.4 are recovered by choosing α(x)=n(x),β(x)=1, while those in Section 5.5 are recovered by choosing α(x)=β(x)=1.
The following proposition shows that Assumption 4 is satisfied in this setting.
Proposition 18. Let Lf(x):=α(x)Iβ[f]. Then, Assumption 4 is satisfied.
Thus, Dθf=0 if and only if f is constant, which completes the proof.
The following proposition states an alternative sufficient condition for (Aθ,Fθ) to be a Stein pair.
Proposition 19. Let L and L∗ be defined in (16) and (17), respectively. Suppose hyy(x,y)<0. Suppose further that 1{pθ∗/pθ>Iβ[pθ∗]/Iβ[pθ]}(⋅)∈Fθ for all θ∗,θ∈Θ. Then (Aθ,Fθ) is a Stein pair.
Proof. Fix θ⋆∈Θ. Let
rθ(x):=pθ(x)pθ⋆(x)−Iβ[pθ]Iβ[pθ⋆].
We show that for fθ:=1{rθ>0}(⋅)∈Fθ, Eθ⋆[Aθfθ(X)]=0 implies θ=θ⋆. Since
Iβ[rθpθ]=Iβ[pθ⋆]−Iβ[pθ⋆]=0,
rθ cannot be nonnegative or nonpositive unless it is identically zero. Thus, if rθ is not identically zero, it takes both positive and negative values on sets of positive measure, and hence
for all x∈X, and equality holds if and only if rθ(x)=0. Since hyy(x,y)<0, the preceding identity implies that Eθ∗[Aθfθ(X)]=0 holds if and only if rθ=0, that is, θ=θ∗, which completes the proof.
The following proposition provides a closed-form expression for the Stein score functions.
Proposition 20. Suppose hyy(x,y)<0. For j=1,…,d, define
In this section, we provide proofs omitted from Section 5.
D.1 Gradient operator and score matching
We first show that Assumption 4 is satisfied.
Proposition 21. Let L:=∇x. Then, Assumption 4 is satisfied.
Proof. Apply Proposition 12 with M(x)=I.
Proof of Proposition 2. Apply Proposition 13 with M(x)=I.
Proof of Proposition 3. Let ϕ(y):=(−logp)∗(y). The gradient and Hessian of ϕ are denoted by ϕy(y) and ϕyy(y). By the standard duality relation for Legendre transforms (e.g., Theorem 26.5 of Rockafellar, 1970),
ϕy(−∇xlogp(x))=x,∀x∈Rp.
Differentiating both sides yields ϕyy(−∇xlogp(x))=(−∇x2logp(x))−1.
which is a polynomial of degree at most max{2,p−1}. Hence, if p≤3, then AθfS∈V, and therefore (19) holds.
Combining (19) with Stein's identity yields {Aθf∣f∈V0}⊂V0. Hence, there exists Λ(θ)∈Rd×d such that
Aθ∂θjlogpθ=k=1∑dΛ(θ)jk∂θklogpθ.
Since hyy(x,y) is negative definite, Propositions 10 and 22 imply that Assumption 3 is satisfied. Thus, by Lemma 2, KerAθ∣V0={0}. Therefore, Λ(θ) is nonsingular, and the Stein score functions are given by ψθ,j=−∑k=1d(Λ(θ)−1)jk∂θklogpθ. The conclusion then follows from Theorem 3.
D.3 Marginalization operator and Besag's pseudolikelihood
We first show that Assumption 4 is satisfied.
Proposition 23. Let L be defined in (9). Then, Assumption 4 is satisfied.
for all x∈X and j=1,…,p. Since this means that for each j=1,…,p, f(x) does not depend on xj, this is equivalent to f being constant, which completes the proof.
Proof of Proposition 6. Fix θ∗∈Θ. We show that for fθ:=Ψ(pθ∗(⋅)/pθ(⋅))∈Fθ, Eθ∗[Aθfθ(X)]=0 implies θ=θ∗. Observe the relation
where the inequality follows from the strict monotonicity of Ψ. Equality holds if and only if, for each j=1,…,p, pθ∗(x)/pθ(x) does not depend on xj. This is equivalent to pθ∗/pθ being constant, that is, θ=θ∗, which completes the proof.
D.4 Noise-weighted integral operator and noise contrastive estimation
We first show that Assumption 4 is satisfied.
Proposition 24. Let Lf(x):=n(x)∫Xf(x)dx. Then, Assumption 4 is satisfied.
Proof. Apply Proposition 18 with α(x)=n(x),β(x)=1.
Proof of Proposition 7. Apply Proposition 19 with α(x)=n(x),β(x)=1.
Proof of Proposition 8. Apply Proposition 20 with α(x)=n(x),β(x)=1 and h(x,y)=(1+νy)log(1+νy)−νylog(νy).
D.5 Integral operator and MLE
We first show that Assumption 4 is satisfied.
Proposition 25. Let Lf:=∫Xf(x)dx. Then, Assumption 4 is satisfied.
Proof. Apply Proposition 18 with α=β=1.
Proof of Proposition 9. Apply Proposition 19 with α=β=1.