REJECTION SAMPLING OF A COMPLEX DISTRIBUTION INCLUDING BOUND AND PROPOSAL DISTRIBUTION REFINEMENT

Information

  • Patent Application
  • 20130096877
  • Publication Number
    20130096877
  • Date Filed
    October 14, 2011
    13 years ago
  • Date Published
    April 18, 2013
    11 years ago
Abstract
Iterative rejection sampling is performed on a domain in accordance with a target distribution. The domain is partitioned to define a partition comprising partition elements, and each iteration of the rejection sampling includes selecting a partition element from the partition in accordance with partition element selection probabilities. A sample of the domain is acquired in the selected partition element according to a normalized proposal distribution that is associated with and normalized over the selected partition element. The acquired sample is accepted or rejected based on the target distribution and a bound associated with the selected partition element. During the iterative rejection sampling, the partition is adapted by replacing a partition element of the partition with two or more split partition elements, associating bounds with the split partition elements, and computing partition element selection probabilities for the split partition elements.
Description
BACKGROUND

The following relates to the statistical sampling arts and related arts, and to arts employing statistical sampling.


A diverse range of problems can be formulated in terms of sampling of a space or domain (represented herein without loss of generality as X a sample of which may be denoted as x) in accordance with a target distribution, which is represented herein without loss of generality as p(x), which may or may not be normalized. For example, many structured learning problems can be naturally cast in terms of decision sequences that describe a structured object x, which is associated with an unnormalized probability or distribution p(x). In some such learning problems, p(x) is the exponential of a real-valued “energy” function, which is analogous to the “value” function in optimization problems. In such situations, both inference and learning give a central role to procedures that are able to produce samples for x that follow the normalized probability distribution associated with p(x).


A known approach for performing such sampling is a technique called rejection sampling. In this approach, sampling is performed in accordance with a proposal distribution, which is represented herein without loss of generality as q(x), where the overbar indicates a normalized distribution. Rejection sampling is premised upon finding an upper bound β for the “density ratios” ρ(x)≡p(x)/ q(x) over the whole of the sampling space X, to sample x˜ q (that is, sample x according to q), and to accept x with probability p(x)/(β q(x)). The average acceptance rate γ is equal to p(X)/β (which is always ≦1), where p(X) is the total measure of X relative to p (the partition function of p). Efficient sampling is obtained by employing a proposal distribution q(x) that is a good approximation of the normalized target distribution p(X), and so the choice of q(x) is of substantial concern.


However, in practice it can be difficult to obtain a proposal distribution q(x) that closely approximates q(X). If q(x) is a poor approximation of p(x) then many samples obtained in accordance with the proposal distribution q(x) are rejected by the target distribution p(x), leading to poor sampling efficiency.


In adaptive rejection sampling (ARS), the rejected samples are used to improve the proposal distribution. ARS assumes that the target distribution p(x) is concave, in which case a tangent line at any given point on the target distribution is guaranteed to define an upper bound. This concavity aspect is used in ARS to refine the proposal distribution q(x) based on rejected samples. See Gilks et al., “Adaptive Rejection Sampling for Gibbs Sampling”, App. Statist. vol. 41 pages 337-48 (1992).


ARS is applicable to log-concave distributions in which the logarithm of the target density function p(X) is concave. Görür et al., “Concave Convex Adaptive Rejection Sampling”, Technical Report, Gatsby Computational Neuroscience Unit (2008) (hereinafter “Görür et al.”). Görür et al. sets forth an improved ARS that is applicable to distributions whose log densities can be expressed as a sum of concave and convex functions, which expands the scope of applicability of ARS. Nonetheless, even with this improvement the ARS technique is generally limited to a target distribution p(X) that is continuous in one dimension. This is a consequence of ARS relying upon piecewise linear upper bounds that are refined based on rejected samples and that are assured of being upper bounds on account of the continuous curvature between the end points. ARS techniques are therefore difficult or impossible to adapt to sampling of a complex target distribution p(X), such as a multi-dimensional target distribution, a discrete target distribution, discrete multi-dimensional target distribution, a highly discontinuous target distribution, and so forth.


BRIEF DESCRIPTION

In some illustrative embodiments disclosed as illustrative examples herein, a method comprises: performing iterative rejection sampling on a domain in accordance with a target distribution wherein the domain is partitioned to define a partition comprising partition elements and wherein each iteration of the rejection sampling includes selecting a partition element from the partition in accordance with partition element selection probabilities, acquiring a sample of the domain in the selected partition element according to a normalized proposal distribution that is associated with and normalized over the selected partition element, and accepting or rejecting the acquired sample based on the target distribution and a bound associated with the selected partition element; and, during the iterative rejection sampling, adapting the partition by replacing a partition element of the partition with two or more split partition elements, associating bounds with the split partition elements, and computing partition element selection probabilities for the split partition elements. The performing of iterative rejection sampling and the adapting of the partition may suitably be performed by an electronic processing device.


In some illustrative embodiments disclosed as illustrative examples herein, a non-transitory storage medium stores instructions executable by an electronic processing device to perform a method including performing iterative rejection sampling of a domain in accordance with a target distribution p wherein the domain is partitioned into a partition comprising partition elements Yi each having an associated selection probability πi and an associated normalized proposal distribution qYi that is normalized over the partition element Yi and an associated bound QYi=BYi where BYi is a nonnegative scaling factor. (As used herein, the term “bound” may denote a bound that is a number or, as in the case of QYi=BYiqYi, a bound that is a measure, that is, a bounding measure that is not a simple number). At least one iteration of the iterative rejection sampling is performed by selecting a partition element Ysel of the partition in accordance with the selection probabilities πi, obtaining a sample x of the domain in the selected partition element Ysel in accordance with the normalized proposal distribution qYsel associated with the selected partition element Ysel, and accepting or rejecting the sample x based on an acceptance criterion






u





p




Q

Y
sel






(
x
)






wherein (i) accepting the sample comprises adding the sample to a set of accepted samples and (ii) rejecting the sample comprises replacing the selected partition element Ysel with split partition elements Aj, j=1, . . . , N where N≧2 and Ysel=∪j=1NAj where ∪ is the union symbol.


In some illustrative embodiments disclosed as illustrative examples herein, an apparatus comprises an electronic processing device configured to: partition a domain into one or more partition elements Yi each having an associated selection probability πi and an associated normalized proposal distribution qYi that is normalized over the partition element Yi and an associated bound QYi=BYiqYi, where BYi is a nonnegative scaling factor; iteratively sample the domain in accordance with a target distribution p wherein each iteration includes selecting a partition element Ysel in accordance with the selection probabilities πi, acquiring a sample x from the domain within the selected partition element Ysel in accordance with the normalized proposal distribution qYsel associated with the selected partition element Ysel, and accepting or rejecting the acquired sample x based on the target distribution p and the bound QYsel=BYselqYsel associated with the selected partition element Ysel; and, during the iterative sampling, replace a partition element Yr with split partition elements Aj, j=1, . . . , N where N≧2 and Yr=∪j=1NAj, the iterative sampling continuing after the replacement.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 diagrammatically shows a rejection sampling system employing an adaptive rejection sampling technique as disclosed herein.



FIG. 2 diagrammatically shows the sampling module of the rejection sampling system of FIG. 1.



FIGS. 3-6 diagrammatically show refinement of the sampling domain during the rejection sampling.



FIG. 7 plots nine states of the rejection sampling performed by the sampling module of FIGS. 1 and 2, in which the partition is adapted to include progressively larger numbers of partition elements with generally closer associated bounds and generally improved proposal distributions.



FIGS. 8 and 9 plot experimental results as set forth herein.





DETAILED DESCRIPTION

In the following, the terms “optimization”, “minimization”, and similar phraseology are to be broadly construed as one of ordinary skill in the art would understand these terms. For example, these terms are not to be construed as being limited to the absolute global optimum value, absolute global minimum, or so forth. For example, minimization of a function may employ an iterative minimization algorithm that terminates at a stopping criterion before an absolute minimum is reached. It is also contemplated for the optimum or minimum value to be a local optimum or local minimum value.


With reference to FIG. 1, a rejection sampling system employing an adaptive rejection sampling technique as disclosed herein is embodied as an electronic processing device such as an illustrative computer 10 or other digital processing device that includes a digital processor (not shown). For example, the electronic processing device may comprise the illustrative computer 10, or a network-based server, or a mobile device such as a personal data assistant (PDA), smartphone, tablet computer, or so forth. The digital processor can be variously embodied, such as by a single-core processor, a dual-core processor (or more generally by a multiple-core processor), a digital processor and cooperating math coprocessor, a digital controller, or so forth. The illustrative computer 10 is a desktop or laptop computer including a display 12 and a keyboard 14. Other interfacing devices, such as a second monitor, a mouse or trackball, or so forth can also be included. On the other hand, the illustrated computer 10 can be replaced by another digital processing device such as a network server having only network interfacing (for example, Internet or local area network (LAN) interfacing), or so forth.


The electronic processing device 10 embodies a sampling module 20 that performs adaptive rejection sampling using techniques disclosed herein. These techniques are disclosed herein with illustrative reference to a natural language parsing application in which a probabilistic context-free grammar (PCFG) is augmented by transversal constraints. All configurations x in the space to be sampled correspond to possible parse trees of the PCFG, and for a given input natural language sentence the PCFG assigns a probability to each configuration x (that is, to each possible parse tree for the sentence). This probability is the product of the conditional probabilities of the rules used for producing the parse tree x. The PCFG is assumed to be normalized in that the sum of the probabilities of all finite parse trees is unity.


Applying the PCFG by itself is straightforward. However, if the PCFG is augmented by some transversal constraint (or constraints), then evaluation is much more difficult. For example, consider an augmentation of the PCFG in which the probability p(x) of a finite parse tree x is defined as the product of (1) the output of the PCFG and (2) a transversal constraint term f(x) which lies in the interval [0,1]. Such a transversal term may represent various constraints upon the parsing. By way of illustrative example, f(x) may provide (probabilistic) enforcement of a certain quality of linguistic agreement between different words in the derivation. As a specific example, the transversal constraint f(x) may bias against (i.e., reduce the probability of) a parse tree in which a singular subject is associated with a plural verb. The transversal constraint f(x) does not completely forbid such an association, but reduces the probability of parse trees including such an association. This is merely an illustrative example, and more generally the transversal constraint f(x) can provide various probabilistic constraints that tune, adapt, or otherwise improve the augmented PCFG for various applications. In particular, since the augmented PCFG is constructed as a product of the output of the PCFG and the transversal constraint, it follows that the transversal constraint f(x) can comprise a product of two or more transversal constraints each representing a different constraint upon the parsing.


Unlike the “pure” PCFG, the augmented PCFG is substantially more difficult to sample from. One difficulty is that, although the PCFG is known to be normalized, there is no guarantee that the augmented PCFG will be normalized (indeed, it most likely will not be normalized). As a result, the computed product of the output of the PCFG and the transversal constraint is not a true probability value. Moreover, computing a normalization factor is typically difficult or impossible due to the very large number of possible parsing trees that can be generated by the augmented PCFG for a given input sentence.


With continuing reference to FIG. 1, in an illustrative embodiment an augmented PCFG is implemented using adaptive rejection sampling techniques disclosed herein. Blocks of FIG. 1 representing quantities, elements, structures or the like are labeled with a general term applicable for any sampling application and, below the general term, with a parenthetical label setting forth the quantity, element, structure, or so forth in the context of the illustrative augmented PCFG application. The sampling module 20 operates on a space or domain 22 to be sampled, which is denoted herein without loss of generality as X. The domain 22 does not have any limitations in terms of continuity, dimensionality, or differentiability. For example, the domain 22 may be one-dimensional, two-dimensional, or higher-dimensional. The domain 22 may be continuous or discrete, or may be continuous with some discontinuities, or so forth. In the illustrative augmented PCFG evaluation application, the domain 22 comprises all possible parse trees that can be generated by the PCFG with transversal constraints (i.e., the augmented PCFG) for a given input natural language sentence.


The sampling module 20 performs adaptive iterative rejection sampling on the domain 22 in accordance with a target distribution 24, which is denoted herein without loss of generality as p(x). The target distribution 24 is not, in general, normalized. In the illustrative application the target distribution 24 is the augmented PCFG, which is most likely not a normalized distribution.


The sampling module 20 also receives an initial proposal distribution 26 for use in the rejection sampling, which is denoted herein without loss of generality as qX(x). The initial proposal distribution qX(x) is normalized over the domain X 22. Notationally, the overbar indicates a normalized distribution while the subscript “X” indicates the normalization is over the entire domain X. The disclosed rejection sampling techniques are adaptive in that the proposal distribution is adjusted or “adapted” over the course of the sampling—hence the “initial” proposal distribution 26. In some embodiments of the adaptive rejection sampling disclosed herein the adapted proposal distributions are based on the initial proposal distribution 26. Accordingly, the initial (normalized) proposal distribution 26 is also referred to herein as reference (normalized) proposal distribution 26. The initial or reference proposal distribution 26 is also sometimes denoted herein without the subscript “X”, that is, q(x)= qX(x).


In the illustrative application of sampling an augmented PCFG, a suitable choice for the reference proposal distribution q(x) 26 is the “pure” (that is, not augmented) PCFG, which is a normalized distribution that is expected to be a reasonable approximation of the augmented PCFG.


The sampling module 20 performs adaptive iterative rejection sampling of the domain X 22 in accordance with the unnormalized target distribution p(x) 24 and initially using the normalized (reference) proposal distribution q(x) 26 to generate a set of samples 28 that are accepted in accordance with the normalized target distribution pX(x)≡ p(x) (where, again, the overbar indicates normalization over the domain 22 as indicated by the subscript “X” which is sometimes omitted herein for notational simplicity). In the case of the illustrative application of augmented PCFG sampling, the output 28 is a set of parse trees for the input natural language sentence sampled in accordance with the normalized augmented PCFG.


With continuing reference to FIG. 1 and with further reference to FIG. 2, the sampling module 20 employs rejection sampling in which the domain 22 is partitioned into partition elements of a partition in an operation 30, and a proposal distribution and bound is defined for each partition element. In some embodiments, the operation 30 initializes the partition with a single partition element that spans the entire domain 22; however, it is also contemplated to initialize the partition with two, three, or more partition elements. Without loss of generality, the partition is denoted S, the number of partition elements in the partition S is denoted |S|, and the partition elements of the partition S are denoted as Yi, i=1, . . . , |S|. Each partition Yi has an associated partition element selection probability denoted πi which is normalized (that is, Σi=1|S|π1=1). Each partition element Yi also has a normalized proposal distribution qYi that is normalized over the partition element Yi, and an upper bound QYi such that p(x)≦QYi over the entire partition element Yi. In some embodiments disclosed herein, the bound QYi is proportional to the normalized proposal distribution qYi, that is, QYi=BYiqYi where BYi is a nonnegative scaling factor associated with the partition element Yi. The bound and proposal distribution are determined for the initial partition element(s) formed by the initialization operation 30 based on the specific sampling problem. For the illustrative augmented PCFG sampling, the entire domain 22 is spanned by a single initial partition element having as its initial normalized proposal distribution the reference normalized distribution q(x)≡ qX(x) 26 which is the PCFG. As explained elsewhere herein, upper bound QYi=BYiqYi for this single partition element is suitably set to the transversal constraint f(x)=p(x)/ q(x).


An iteration of the rejection sampling includes an operation 32 in which a partition element is selected from which to draw the sample. This selected partition element is denoted herein as Ysel. In an operation 34 a sample (denoted x) is drawn from the selected partition Ysel. In an operation 36, this sample x is accepted or rejected based on the target distribution p(x) and the bound QYsel associated with the selected partition element Ysel. If the sample x is accepted, then in an operation 38 the sample is added to the set of samples 28 that are accepted in accordance with the normalized target distribution pX(x)≡ p(x), and process flow returns to the operation 32 to perform another sampling iteration. It will be appreciated that the sampling iteration 32, 34, 36, 38 is a conventional rejection sampling iteration, except for the addition of the partition element selection operation 32 and the drawing of the sample from the selected partition element Ysel rather than from the entire domain 22.


With continuing reference to FIG. 2, the adaptive aspect of the adaptive rejection sampling disclosed herein comprises adapting the partition by replacing a partition element of the partition with two or more split partition elements, associating bounds with the split partition elements, and computing partition element selection probabilities for the split partition elements. Toward this end, if the sample x is rejected in the acceptance-or-rejection decision 36, then a further decision 40 is made as to whether the partition should be refined. If no partition refinement is to be performed, then process flow returns to the operation 32 to perform another sampling iteration. On the other hand, if the decision 40 is to refine the partition, then in a refinement operation 42 the selected partition Ysel is split into two or more split partition elements (denoted herein as split partition elements Aj, j=1, . . . , N where N≧2 and Ysel=∪j=1NAj). The refinement operation 42 also includes constructing for each split partition element Aj the following associated parameters: the normalized proposal distribution qAj; the bound QAj (in some embodiments QAj=BAjqAj where BAj is a nonnegative scaling factor associated with the split partition element Aj); and the partition element selection probability πj. The refinement operation 42 replaces the selected partition element Ysel with the two (or more) split partition elements Aj, and so the number of partitions |S| is increased. Upon completion of the refinement operation 42, process flow returns to the operation 32 to perform another sampling iteration.


With reference to FIGS. 3-6, the adaptation of the partition is illustrated diagrammatically. FIG. 3 diagrammatically shows the domain 22. While FIG. 3 shows a continuous two-dimensional rectangular domain, it is to be understood that the domain can be continuous or discrete, can include discontinuities, or have other complexity. FIG. 4 shows the result of the operation 30 in the case where the partition is initialized to have a single partition element labeled Y(0) in FIG. 4. This singular partition element Y(0) has unity selection probability (e.g., π0=1) since in the initial iteration the operation 32 must select Y(0) as it is the only available partition element. The initial singular partition element Y(0) also has a normalized proposal distribution qqX corresponding to the initial or reference proposal distribution 26, and an upper bound Q0. FIG. 5 shows the first split operation (that is, the first iteration of the refinement operation 42 of FIG. 2), in which the initial partition element Y(0) of FIG. 4 is replaced by two split partition elements labeled Y(1) and Y(2), respectively, in FIG. 5. The split partitions elements Y(1), Y(2) have respective partition element selection probabilities π1 and π2; respective normalized proposal distributions q1 and q2; and respective bounds Q1 and Q2. FIG. 6 shows the second split operation (that is, the second iteration of the refinement operation 42 of FIG. 2). This second iteration of the refinement operation 42 was triggered by rejection of a sample selected from the partition Y(2), and so the refinement operation 42 replaces Y(2) by split partitions Y(2.1) and Y(2.2) which have respective partition element selection probabilities π2.1 and π2.2; respective normalized proposal distributions q2.1 and q2.2; and respective bounds Q2.1 and Q2.2. It will be appreciated that such iterative splitting can continue indefinitely, or until some adaptation termination criterion is satisfied (after which the refine partition decision 40 would be programmed to always output “no” so that no further iterations of the refinement operation 42 would be performed).


Having provided an overview of embodiments of the adaptive iterative rejection sampling approaches disclosed herein with reference to FIGS. 1-6, some additional examples are now set forth.


The disclosed adaptive rejection sampling approaches are based on the following observation. It is desired to sample from target distribution p which is the normalized version of p, and some proposal distribution q over X is available from which it is known how to sample directly. Rejection sampling is based on the ability to find an upper bound p for the density ratio ‘ρ(x)≡p(x)/ q(x) over the whole of X, to sample x˜ q, and to accept x with probability p(x)/(β q(x)). The average acceptance rate γ is equal to p(X)/β (which is always ≦1), where p(X) is the total measure of X relative to p (the partition function of p), and therefore the lower β is (and therefore the closer to p(X)), the more efficient the sampling procedure.


The adaptive adaptation approaches disclosed herein split the space or domain X 22 into two (or optionally more) disjoint subsets Y1,Y2; for many problems it is straightforward to find nonnegative numbers β1<β and β2<β subject to βi being an upper bound for the density ratio ρ(x) over Yi, i=1,2. Considering β′≡β1q(Y1)+β2q(Y2), which is smaller than β, an adapted proposal distribution q′(x) can be defined by first sampling i according to the probability vector








1

β





(



β
1




q
_



(

Y
1

)



,


β
2




q
_



(

Y
2

)




)


,




and then sampling x inside Yi with q(•|Yi). For xεYi, it follows that









p


(
x
)




β






q
_





(
x
)




=



p


(
x
)




q
_

(

x




Y
i

)




q
_



(

Y
i

)




β
i




=



p


(
x
)





q
_



(
x
)




β
i




1



,




which implies that β′ is an upper bound over the whole domain X 22 for the density ratios p(x)/ q′(x). Thus q′ can be used as the basis for a new rejection sampler, but this time with a smaller bound β′ than initially, that is, with a better average acceptance rate p(x)/β′(x).


This splitting or partition refinement can be continued recursively as shown in FIGS. 2-6, and each time a split is performed, the overall rejection rate is decreased by some amount. As previously noted, the splitting can be terminated at some point on the basis of a suitable refinement termination criterion, after which termination no further iterations of partition refinement will be performed. One suitable criterion for stopping the splitting is that the observed acceptance rate is larger than a predefined threshold. At this point further splitting is terminated, and the rejection sampling continues using the refined partition with the observed level of acceptance rate generally continuing to be observed for future samples.


An advantage of rejection sampling over techniques in the Markov Chain Monte Carlo (MCMC) family of sampling techniques (e.g., Gibbs or Metropolis-Hastings sampling) is that the rejection sampling provides exact samples from the target distribution right from the start, rather than converging to exact sampling in the limit. However, rejection sampling can be inefficient in producing these samples, if the proposal distribution is a poor approximation of the target distribution. The adaptive rejection sampling approaches disclosed herein retains the property of producing exact samples, but improves efficiency through adaptation of the partition. The disclosed approach advantageously can be applied to arbitrary measurable spaces, whether discrete or continuous, without strong assumptions such as the space being Euclidian, or continuous, or differentiable, or so forth. By basing the adaptation upon refinement of partitioning of the domain, the detailed structure and characteristics of the target distribution and its domain do not impact the adaptation.


The following notation and observations are utilized and referenced in setting forth some illustrative adaptive rejection sampling embodiments. For any measures μ and μ′ on the same measurable domain or space X, the comparison μ≦μ′ is defined as μ(A)≦μ′(A) for A⊂X any measurable subset of X. That is to say, μ is uniformly smaller than μ′, or said another way, μ is uniformly dominated by μ′. If μ≦μ′ then μ is absolutely continuous relative to μ′, and therefore the Radon-Nikodym derivative









μ




μ






(
x
)





exists almost everywhere with respect to μ′. It can be shown that μ≦μ′ is then equivalent to the condition










μ




μ






(
x
)



1




almost everywhere with respect to μ′. Note that if μ and μ′ are discrete, then









μ




μ






(
x
)





is simply the ratio of two numbers








μ


(
x
)




μ




(
x
)



.




If μ is an arbitrary finite measure on X, then μ is used herein to denote the probability measure associated with μ, that is, the measure







μ

μ


(
X
)



.




is a measure and Y is a measurable subset of X, then μ(Y) is used herein to denote the restriction of μ to Y. If μ is a measure on X and γ is a non-negative number, then γμ is used herein to denote the measure μ′ defined by μ′(A)=γμ(A), for A a measurable subset of X.


Given two finite measures p≦Q, and assuming that it is known how to sample from Q, rejection sampling can be described as follows. A “trial” is performed by acquiring a sample x from Q, and then the sample x is accepted with probability









p



Q





(
x
)

.





The probability for a trial to be accepted (that is, the acceptance rate) is then









X






p



Q




(
x
)





Q
_




=



1

Q


(
X
)







X






p



Q




(
x
)




Q




=


p


(
X
)




/




Q


(
X
)


.







The acceptance rate is close to unity if Q(X) is not much larger than p(X). The probability that a trial falls in the set A and is accepted is equal to










A






p



Q




(
x
)





Q
_




=


p


(
A
)




/



Q


(
X
)




,




which implies that the probability that a trial falls in A knowing that it is accepted is equal to









p


(
A
)




/



Q


(
X
)





p


(
X
)




/



Q


(
X
)




=



p
_



(
A
)


.





In other words, the samples produced by the algorithm are distributed according to p.


The adaptive rejection sampling disclosed herein extends rejection sampling algorithm in accordance with a target distribution p by finding a decreasing sequence of adaptive proposal measures Qk such that Q0≧Q1≧Q2≧ . . . ≧p. The adaptation starts from a certain measure Q(0) such that p≦Q(0) or, equivalently, p(X)≦Q(0)(X). Rejection sampling is initially performed based on Q(0). When a sample is rejected in operation 36 (FIG. 2) and the decision 40 is to refine the partition, the space or domain X 22 is split into partition elements X1, Xj, . . . , Xm, and refined measures Q(1)(Xj) are computed such that p(Xj)≦Q(1)(Xj)≦Q(0)(Xj), ∀j, and Q(1)jQ(1)(Xj) is defined. It follows that p≦Q(1)≦Q(0) which means that the rejection sampler with Q(1) has a better acceptance rate than the one with Q(0). Rejection sampling continues with this new rejection sampler, and when another sample is rejected, say on a point in selected partition element Xsel, then the selected partition element Xsel is split and a refinement Q(2) of Q(1) is computed over these splits, and so on. At any stage of the partition refinement, it may be decided to stop further refining the partition for space or domain X 22, in which case the acceptance rate no longer improves via adaptation. At any stage, the samples that are accepted by the rejection sampling are distributed according to p, i.e. exact sampling is obtained.


In some adaptive rejection sampling embodiments disclosed herein, all the measures Qj are derived from a single reference measure Q0=q=β q, with β≧0, which implies that










p




q
_





(
x
)



β




on the whole of X. Given a subset Y of X, β′≦β can be found such that










p




q
_





(
x
)




β






on Y. A measure q′(Y)≡β′ q(Y) can be defined for which p(Y)≦q′(Y)q(Y).


In one embodiment, the target measure or distribution is denoted by p, and the rejection sampling is in accordance with the distribution p. The notation qY denotes a probability measure defined on and normalized over a measurable subset (i.e., partition element) Y of the space or domain X. The notation BY denotes a non-negative number associated with the partition element Y. A bound qY≡BYqY is defined, and therefore BY=qY(Y). If S is a partition (Y1, . . . , Yi, . . . , Y|S|) of X, the measure over X whose restriction to each Yi is equal to qYi is denoted by qS≡ΣiqYi. This qS is the adaptive proposal measure used to produce trials. The following Adaptive Rejection Sampling Algorithm #1 is set forth within this framework.












Adaptive Rejection Sampling Algorithm #1
















 1:
Accepts ← 0; Rejects ← 0


 2:
S ← (X)


 3:
π ← (1)


 4:
(BX , qX) ← BoundingPair(X)


 5:
while TRUE do









 6:

i~π


 7:

Yi = S(i)


 8:

x~ qYi


 9:

u~U([0, 1])





10:






if





u




1

B

Y
i





dp

d



q
_


Y
i






(
x
)






then


















11:


Accepts ← Accepts + 1


12:


Print x









13:

else










14:


Rejects ← Rejects + 1


15:


if Refine(Yi, Accepts, Rejects, x) then











16:



A1, A2 ← Split(Yi)


17:



S ← (Y1, . . . , Yi−1, A1, A2, Yi+1, . . . , Y|S+1|)


18:



(BA1, qA1) ← BoundingPair(A1)


19:



(BA2, qA2) ← BoundingPair(A2)





20:







α


1
-


π
i

(

1
-



B

A
1


+

B

A
2




B

Y
i




)











21:







π



1
α



(


π
1

,





,

π

i
-
1


,



B

A
1



B

Y
I





π
i


,



B

A
2



B

Y
i





π
i


,

π

i
+
1


,





,

π



S
+
1





)















Line 1 of Adaptive Rejection Sampling Algorithm #1 initializes the number of Accepts and of Rejects to 0. Line 2 initializes the partition S to the list (X) (that is, to the entire space or domain 22). Line 3 initializes the partition member selection probability vector π to the list (1) (in other words, sets the partition member selection probability for the single partition member defined in line 2 to unity). On line 4, BX is initialized to a nonnegative number and the probability measure qX is initialized (for example, to the initial or reference normalized proposal distribution 26 in FIG. 1), thus forming an initial bounding pair (BX, qX). It is known how to sample from the normalized proposal distribution qX, and it is known that the measure qX=BXqX dominates p (that is, qX≡BXqX is an upper bound on the target distribution p).


On line 5, an infinite loop is entered which produces an infinite stream of samples from p. (The infinite loop established by the “while TRUE do” pseudocode of line 5 is merely an illustrative example, can be replaced by a finite loop having a desired termination—for example, line 5 can be replaced by “while Accepts <100 do” in order to acquire 100 samples in accordance with the normalized target distribution p). Lines 1-5 of Adaptive Rejection Sampling Algorithm #1 correspond to the initialization operation 30 of the diagrammatic representation shown in FIG. 2). The partition element selection operation 32 corresponds to lines 6 and 7 of Adaptive Rejection Sampling Algorithm #1. Lines 6 and 7 sample an index i according to the probability vector i, which selects an element Yi of the partition S. (Note, elsewhere herein the notation Ysel is used to denote the output of line 7). On line 8, qYi is used to acquire a sample x (corresponding to sampling operation 34 of FIG. 2), and on lines 9-12 sample x is accepted with probability







1

B

Y
i







p





q
_


Y
i






(
x
)





(this number is less than 1 by construction of the bounding pair). Lines 9-10 correspond to the decision operation 36 of FIG. 2, while lines 11-12 correspond to the add operation 38 of FIG. 2). If the sample x is accepted, then the number of Accepts is increased by one in line 11 and the sample is “printed” in line 12. (“Printing” in this context encompasses any storage or use of the sample, such as being stored in the set of accepted samples 28 as per FIG. 2). If sample x is rejected, then the number of Rejects is updated by one (lines 13-14).


Lines 15-21 of Adaptive Rejection Sampling Algorithm #1 set forth the partition adaptation. Line 15 (corresponding to decision operation 40 of FIG. 2) decides whether or not to refine the partition. This decision can be based on various factors, such as the number of Accepts and Rejects thus far, whether the partition refinement stopping criterion has been met, or so forth. If line 15 decides to refine the partition, then lines 16-21 correspond to the partition refinement operation 42 of FIG. 2. In line 16, the selected partition member Yi (from which the last rejected sample was drawn) is split into two subsets (i.e., split partition member) A1,A2. In line 17, the partition S is updated to replace the selected partition member Yi with the split partition members A1,A2. In lines 18 and 19 new bounding pairs (BA1, qA1) and (BA2, qA2) are computed for split partition members A1 and A2, respectively. These bounding pairs are such that, for k=1,2: (i) it is known how to sample from qAk; (ii) it is known how to compute








1

B

A
k







p





q
_


A
k






(
x
)


;




and (iii) p(Ak)≦BAkqAk, i.e, the measure qAk≡BAkqAk dominates (or upper bounds) the target measure or distribution p over the partition member Ak. Furthermore it is ensured that BAk≦BYiqYi(Ak), that is to say, the mass of Ak relative to qAk should be smaller than its mass relative to qYi. The partition member selection probability vector π is updated in lines 20-21.


For a given partition S, the adaptive proposal distribution over the whole of X is qS, where qSiqYiiBYiqYi. In order to sample from qS, a partition member Yi is first randomly selected according to the vector







π



1
α



(



B

Y
1


/

B
S


,





,


B

Y
i


/

B
S


,


B

Y



S
+
1





/

B
S



)



,




where BSiBYi is the total mass of qS on X. Then, a sample x is randomly selected from the selected partition member Yi according to qYi. This is what lines 6-8 of Adaptive Rejection Sampling Algorithm #1 (or operations 32, 34 of FIG. 2) accomplish. Lines 9-10 accept sample x with probability










p




q
S





(
x
)


,




which for xεYi, is equal to







1

B

Y
i







p





q
_


Y
i







(
x
)

.





The update of π on lines 20-21 of Adaptive Rejection Sampling Algorithm #1 operates as follows. For clarity, call S′ and π′ the values of the partition and of the probability vector after the split of partition member Y into split partition members A1 and A2. Before the split, for all Yj in S the following pertains: πj=BYj/BS, with BSjBYj. After the split, π′j=BYj/BS′, for all j≠i, with BS′=BA1+BA2j≠iBYj=BS−(BYi−(BA1+BA2)). Further, π′Ak=BAk/BS′. Then, by defining α≡BS′/BS′ it follows that







α
=


1
-



B

Y
i



B
S




(

1
-

(



B

A
1


+

B

A
2




B

Y
i



)


)



=

1
-


π
i



(

1
-

(



B

A
1


+

B

A
2




B

Y
i



)


)





,




which is the form shown on line 20. Thus, for j≠i, π′jj=BS/BS′−1, and also, for k=1,2,









π

A
k



/

π
i


=




B

A
k




B
S




B

Y
i




B
S′



=


α

-
1





B

A
k



B

Y
i






,




which is the form shown on line 21.


In Adaptive Rejection Sampling Algorithm #1, the partition S is suitably represented by the leaves of a tree corresponding to the different splits, which guarantees efficient selection (typically logarithmic in the number of leaves) of a given leaf on line 6. As already noted, on line 15 a partition refinement stopping criterion may be incorporated in order to stop all further refinements after a certain empirical acceptance rate has been reached. Such a partition refinement stopping criterion can avoid the storage and computation costs incurred by indefinitely refining the tree, albeit at the cost of having no further improvement thereafter in terms of observed acceptance rates.


In some embodiments of Adaptive Rejection Sampling Algorithm #1, the function BoundingPair( ) which obtains the bounding pairs (BYi, qYi) utilizes the initial (or reference) normalized proposal distribution q= qX 26 to construct the normalized proposal distributions qYi associated with respective partition elements Yi by renormalizing over the partition Yi, that is, qYi= q(•|Yi). The approach starts with an initial bounding pair (BX, qX) defined over the whole space or domain X 22. This pair corresponds to conventional rejection sampling for a target (unnormalized) distribution p, with proposal distribution q and upper bound BX over all the density ratios










p




q
_





(
x
)


,




for xεX. The notations q≡qX, qqX, β(X)≡BX, is used, and q is the reference proposal distribution 26, and









p




q
_





(
x
)





is the reference density ratio at x. Further consider a measurable subset Y of X. It is known that β(X) is an upper bound for the density ratios p(x)/ qX(x) over Y, because it is an upper bound over the whole of X. In many cases, however, a priori knowledge of the smaller set Y can be used to determine a tighter bound β(Y)≦β(X) for the reference density ratio relative to Y:∀xεY,










p




q
_





(
x
)





β


(
Y
)


.





Now define the measure qY≡β(Y) q over Y. It follows that qY(Y)=β(Y) q(Y) and qY(A)= q(A|Y) (for A⊂Y, A measurable). Also,







p


(
A
)


=




A






p




q
_





(
x
)










q
_



(
x
)









q
Y



(
A
)


.






In other words, the pair (BY, qY(•))≡(β(Y), q(•|Y)) is a bounding pair for Y. Furthermore, a sampler for qY is simply obtained by conditioning (i.e., normalizing) the sampler for q relative to Y. Suppose now that Y′ is a measurable subset included in Y, for which an even tighter density bound β(Y′)≦β(Y) can be determined. Then, in the same way as before, the bounding pair (BY′, qY′(•)) is obtained. Furthermore, for A⊂Y′, it follows that qY′(A)=β(Y′) q(A)≦β(Y) q(A)=qY(A), and therefore qY, is dominated by qY over X, or in other words the bounding pair (BY′, qY′(•)) is tighter than the bounding pair (BY, qY(•)).


With reference to FIG. 7, Adaptive Rejection Sampling Algorithm #1 with the foregoing bounding pair computation is applied for the sampling of a one-dimensional distribution (shown in a dashed line in FIG. 7), with density proportional to f(x)=e−sin(4x)−½x2. The partition {−∞, x1, x2, . . . , Xn, ∞} of the real line is obtained by using the sorted values of the rejected samples x1, . . . , xn. The bounding pair defined on the i-th segment Yi=[xi, xi+1] is the uniform distribution







q


(
z
)


=


1


x

i
+
1


-

x
i




I


{

z


Y
i


}






associated with the supremum of the function on this interval, i.e. β(Yi)=supzεYif(z). FIG. 7 shows nine plots illustrating different states of Adaptive Rejection Sampling Algorithm #1 when sampling a non-trivial multimodal distribution. The solid line in each plot shows the bounds qYi=BYiqYi for the partition members Yi. The legends inside each plot indicate the number of sampled points n, the cardinality |S| of the partition S of the real line, and the exact acceptance rate p computed numerically.


For partition S of domain X being a refinement obtained at a given stage of the partition adaptation, denote as the measure qSYiεS qYi the proposal distribution associated with the refinement S. By construction of the bounding pairs (BYi, qYi) it follows that p≦qS. Now consider a fixed partition S, and assume that no further refinement of S takes place on line 14 of Adaptive Rejection Sampling Algorithm #1. Denote as γ the probability that in one sampling iteration (i.e., one pass of the while loop at line 5) an Accept is obtained, and call γ the expected Acceptance Rate of the algorithm relative to S. Suppose that, with S fixed, n sampling iterations are performed. Denote by {circumflex over (γ)} the random variable corresponding to the observed proportion of Accepts relative to n, and call {circumflex over (γ)} the observed acceptance rate on n runs of the algorithm relative to S. Further, the notation Z≡p(X) is used for the (fixed once and for all, but unknown) partition function of p on X, and denote by {circumflex over (Z)} the random variable {circumflex over (Z)}≡{circumflex over (γ)}qS(X). Then, Lemma 1 pertains: γ=p(X)/qS(X) and mean({circumflex over (γ)})=γ and var({circumflex over (γ)})=n−1γ(1−γ) and mean({circumflex over (Z)})=Z=p(X) and







var


(

Z
^

)


=


n

-
1





1
-
γ

γ




Z
2

.






Lemma 1 is obtained as a consequence of the definition of rejection sampling. Lemma 1 shows that, for a fixed number of trials n, the estimate for the partition function Z=p(X) has a precision which varies with (1−γ)/γ, that is, is poor for small acceptance rates, and good for high acceptance rates. Thus, for a fixed level of refinement S, and with qS its associated proposal distribution, the expected acceptance rate γ is equal to p(X)/qS(X). Each time a refinement step (lines 16-20) is performed, qS can only decrease, and therefore γ can only increase. Then, the following conditions on Adaptive Rejection Sampling Algorithm #1 guarantee that γ can reach, in the limit, an arbitrarily high acceptance level {circumflex over (γ)}≦1, a property called γ-convergence herein.


The following assumes q is the fixed reference proposal measure 26, and the abbreviation f is used here for the density function dp/d q. It is further assumed that the refinement at line 14 is performed after each sample rejection. Then, if Yi is a partition element of the partition S and Yi has depth d iff d is the number of splits that has led to Yi, where the depth of X is taken as 0. If Yi is a measurable subset of X, βi=β(Yi) is an upper bound for







f


(
x
)


=




p




q
_





(
x
)






on Yi, and ε is a nonnegative number, we will say that Yi is ε-tight if βi−f(x)≦εa. e. wrtq on Yi. Note in particular that q(Yi)=0 implies that Yi is 0-tight, because of the ‘a.e.’ qualification. This leads to Lemma 2: For any depth d, there exists a time t such that, for all YiεSt, one has: depth(Yi)≧d or Yi is 0-tight. The algorithm respects Condition 1 iff, for any ε1, ε2>0, there exists (with probability 1) a finite time t such that, with St the current refinement at time t, the total q-measure of those YiεSt which are not ε1-tight is less or equal to ε2. In other words, this condition says that, with time passing, the q-measure of the union of those elements Yi of St for which βi tightly approximates the density dp/d q converges to the total measure q(X). It can then be shown that if p(X)>0 and if Condition 1 holds, then γ-convergence is obtained.


The illustrative example of sampling in accordance with an augmented PCFG (that is, a PCFG with transversal constraints) is one in which γ-convergence can be achieved. Consider all the finite derivation (i.e. parse) trees x defined by a certain PCFG G0 (all the leaves of x are terminals of the grammar), and assign to each x its PCFG probability q(x), i.e. the product of the conditional probabilities of the rules used for producing x. Assume further that the PCFG G0 is normalized in that the sum of the probabilities of all finite derivations is 1. Consider now the following augmentation G of G0: the grammar G has the same rules and derivations as G0, but the score p(x) of a finite derivation x is defined as the product of q(x) and of a “transversal constraint” term f(x) which lies in the interval [0,1]. Such a term may be useful for representing different things—such as for instance the quality of the linguistic agreements between different words in the derivation, where perhaps we want to discourage a singular subject to be associated with a plural verb, without completely forbidding it.


Suppose now that it is desired to sample derivations according to the target (unnormalized) distribution p(x). The equality q=q can be used (this equality holds because q is already normalized by construction) as the initial (or reference) proposal distribution, and then the density function of p relative to q is







f


(
x
)


=





p




q
_





(
x
)


=


p


(
x
)


/



q
_



(
x
)


.







Further consider the following adaptive rejection sampling algorithm with G: each Y corresponds to a complete or partial derivation tree in the grammar; if a q-trial lands below a partial Yi but is then rejected, then Yi is expanded by selecting one of the nonterminals on its frontier and producing new partial derivations corresponding to the different possible expansions of this nonterminal. In general, enough a priori knowledge may be available to find a non-trivial bound β(Yi)≦1 for f(x), for all x's below the partial derivation Yi. At the least it may be expected that if Yi corresponds to a complete derivation x, it is always possible to compute the optimal bound, namely β(Yi)=f(x) (for which Yi is then 0-tight). Thus, Condition 1 holds, and γ-convergence is obtainable.


The adaptive rejection sampling approaches disclosed herein have been applied to the problem of sampling Ising (or spin-glass) models. These models are studied in the physics literature are a special case of undirected probabilistic graphical models. Given a graph G=(custom-character, custom-character) containing n=custom-character nodes and a set of edges custom-character encoding pairwise interactions, Ising models are defined on X=−1,1n with a density proportional to ef(x) where







f


(
x
)


=


-

1
2





{





i
=
1

n




u
i



x
i



+


1
2







(

i
,
j

)


ɛ









v
ij



x
i



x
j





}

.






The parameters uiεcustom-character, i=1, . . . , n and vijεcustom-character, (i,j)εcustom-character are assumed to be known. To sample an Ising model using the disclosed adaptive rejection sampling approach, we used the cutset conditioning idea: conditioned on the value of a variable, say xi, the sampling of the remaining variables x−i is slightly simpler, since this has the effect of removing all the edges that are connected to i. Hence, the split operations correspond to choosing an index i of a variable highly connected, and to use an upper bound to the log-partition function of the Ising model with the variable i removed. To obtain local upper bounds on the conditional distributions, we use a minimal energy spanning tree on the unknown variables and set the non-covered edges to the maximal possible value of the interaction.


With reference to FIG. 8, the x-coordinate correspond to a configuration in a random graph with 6 nodes and 20 edges. The y-axis is the probability of the corresponding configuration. The red diamonds are the exact probabilities and the error bar represent the means of 100 samples of size 1000. The height correspond to the standard deviation around these averages. This shows that the adaptive rejection sampling as disclosed herein gives unbiased estimates of the marginals. We ran the experiments on 10, 15 and 20 nodes, using random graphs having respectively 50, 76 and 107 random edges.


With reference to FIG. 9, we plot the acceptance rate of the adaptive rejection sampling algorithm as a function of the number of trials already done. As expected, we see that the ARS acceptance rate increases as the number of iteration increases.


It will be appreciated that various of the above-disclosed and other features and functions, or alternatives thereof, may be desirably combined into many other different systems or applications. Also that various presently unforeseen or unanticipated alternatives, modifications, variations or improvements therein may be subsequently made by those skilled in the art which are also intended to be encompassed by the following claims.

Claims
  • 1. A method comprising: performing iterative rejection sampling on a domain in accordance with a target distribution wherein the domain is partitioned to define a partition comprising partition elements and wherein each iteration of the rejection sampling includes selecting a partition element from the partition in accordance with partition element selection probabilities, acquiring a sample of the domain in the selected partition element according to a normalized proposal distribution that is associated with and normalized over the selected partition element, and accepting or rejecting the acquired sample based on the target distribution and a bound associated with the selected partition element; andduring the iterative rejection sampling, adapting the partition by replacing a partition element of the partition with two or more split partition elements, associating bounds with the split partition elements, and computing partition element selection probabilities for the split partition elements;wherein the performing of iterative rejection sampling and the adapting of the partition is performed by an electronic processing device.
  • 2. The method of claim 1, wherein: normalized proposal distributions q(•|Yi) are associated with respective partition elements Yi of the partition where q is a reference proposal distribution normalized over the partition and q(•|Yi) is normalized over partition element Yi, andbounds QYi=BYiqYi, are associated with respective partition elements Yi of the partition where BYi is a nonnegative scaling factor associated with the partition element Yi.
  • 3. The method of claim 2, wherein the reference proposal distribution q normalized over the partition comprises a probabilistic context-free grammar (PCFG), the domain comprises all finite parsing trees defined by the PCFG for an input natural language sentence, and the target distribution comprises the PCFG with at least one transversal constraint.
  • 4. The method of claim 1, wherein the accepting or rejecting employs an acceptance criterion
  • 5. The method of claim 1, wherein the adapting is performed responsive to rejection of a sample acquired from a selected partition element Ysel during the iterative rejection sampling and the adapting replaces the selected partition element Ysel from which the sample was acquired with the two or more split partition elements Aj, j=1, . . . , N where N≧2 and Ysel=∪j=1NAj.
  • 6. The method of claim 5, wherein: normalized proposal distributions qYi are associated with respective partition elements Yi of the partition where qYi is normalized over the partition element Yi,bounds QYi=BYiqYi are associated with respective partition elements Yi of the partition where BYi is a nonnegative scaling factor associated with the partition element Yi; andthe associating of bounds with the split partition elements comprises associating bounds QAj=BAjqAj with respective split partition elements Aj where qAj is a distribution normalized over the split partition element Aj.
  • 7. The method of claim 6, wherein the computing of partition element selection probabilities for the split partition elements comprises computing partition element selection probabilities proportional to
  • 8. The method of claim 6, wherein: the normalized proposal distributions qYi associated with respective partition elements Yi of the partition comprise qYi= q(•|Yi); andthe distributions qAj normalized over respective split partition elements Aj comprise qAj= q(•|Aj);where q is a reference proposal distribution normalized over the partition.
  • 9. The method of claim 1, wherein the target distribution comprises a discrete target distribution.
  • 10. An electronic processing device configured to perform a method as set forth in claim 1.
  • 11. A storage medium storing instructions that when executed by an electronic processing device perform a method as set forth in claim 1.
  • 12. A non-transitory storage medium storing instructions executable by an electronic processing device to perform a method including performing iterative rejection sampling of a domain in accordance with a target distribution p wherein the domain is partitioned into a partition comprising partition elements Yi each having an associated selection probability πi and an associated normalized proposal distribution qYi that is normalized over the partition element Yi and an associated bound QYi=BYiqYi where BYi is a nonnegative scaling factor, wherein at least one iteration of the iterative rejection sampling is performed by: selecting a partition element Ysel of the partition in accordance with the selection probabilities πi,obtaining a sample x of the domain in the selected partition element Ysel in accordance with the normalized proposal distribution qYsel associated with the selected partition element Ysel, andaccepting or rejecting the sample x based on an acceptance criterion
  • 13. The non-transitory storage medium as set forth in claim 12, wherein rejecting the sample further comprises: associating bounds QAj=BAjqAj with respective split partition elements Aj where qAj is a normalized proposal distribution associated with and normalized over the split partition element Aj.
  • 14. The non-transitory storage medium of claim 13, wherein rejecting the sample further comprises: computing partition element selection probabilities
  • 15. The non-transitory storage medium of claim 13, wherein: the normalized proposal distributions qYi associated with respective partition elements Yi of the partition comprise qYi= q(•|Yi); andthe distributions qAj normalized over respective split partition elements Aj comprise qAj= q(•|AJ);where q is a reference proposal distribution normalized over the partition.
  • 16. The non-transitory storage medium of claim 13, wherein the normalized distributions qYi and qAj are discrete distributions.
  • 17. The non-transitory storage medium of claim 13, wherein the normalized distributions qYi and qAj are multi-dimensional distributions.
  • 18. An apparatus comprising: an electronic processing device configured to:partition a domain into one or more partition elements Yi each having an associated selection probability πi and an associated normalized proposal distribution qYi that is normalized over the partition element Yi and an associated bound QYi=BYiqYi where BYi is a nonnegative scaling factor;iteratively sample the domain in accordance with a target distribution p wherein each iteration includes selecting a partition element Ysel in accordance with the selection probabilities πi, acquiring a sample x from the domain within the selected partition element Ysel in accordance with the normalized proposal distribution qYsel associated with the selected partition element Ysel, and accepting or rejecting the acquired sample x based on the target distribution p and the bound QYsel=BYselqYsel associated with the selected partition element Ysel; andduring the iterative sampling, replace a partition element Yr with split partition elements Aj, j=1, . . . , N where N≧2 and Yr=∪j=1NAj, the iterative sampling continuing after the replacement.
  • 19. The apparatus as set forth in claim 18, wherein the adaptation is triggered by rejection of a sample x acquired from a selected partition element Ysel and the replaced partition element Yr is the selected partition element Ysel.
  • 20. The apparatus as set forth in claim 18, wherein the adaptation further comprises: associating bounds QAj=BAjqAj with respective split partition elements Aj where qAj is a normalized proposal distribution associated with and normalized over the split partition element Aj.
  • 21. The apparatus as set forth in claim 20, wherein the adaptation further comprises: computing partition element selection probabilities
  • 22. The apparatus as set forth in claim 20, wherein: the normalized proposal distributions qYi associated with respective partition elements Yi comprise qYi= q(•|Yi); andthe distributions qAj normalized over respective split partition elements Aj comprise qAj= q(•|Aj);where q is a reference proposal distribution normalized over the domain.
  • 23. The apparatus as set forth in claim 18, wherein the domain is a discrete domain and the normalized proposal distributions qYi associated with respective partition elements Yi are discrete distributions.
  • 24. The apparatus as set forth in claim 18, wherein the domain is a multi-dimensional domain and the normalized proposal distributions qYi associated with respective partition elements Yi are multi-dimensional distributions.