---
title: Vertical Weighted Strips (VWS)
url: https://www.emergentmind.com/topics/vertical-weighted-strips-vws
type: topic
---

# Vertical Weighted Strips (VWS)

Searching arXiv for the VWS papers and related follow-up work.
Vertical Weighted Strips (VWS) is a rejection-sampling framework for target distributions that can be written as weighted densities, that is, densities of the form \(f(x)\propto w(x)g(x)\) where \(g\) is a normalized base density and \(w\) is a nonnegative weight function. The method constructs a finite mixture proposal by partitioning the support into regions and majorizing the weight function on each region, so that the proposal remains convenient to sample from while admitting an explicit upper bound on the rejection probability before sampling begins. In the formulation introduced in “Rejection Sampling with Vertical Weighted Strips” [2401.09696], VWS is particularly relevant when the normalizing constant \(\psi\) is intractable and when assumptions required by adaptive rejection sampling and related methods are not met.

## 1. Weighted-density formulation and problem setting

VWS is built for targets whose possibly unnormalized density has the weighted form
\[
f(x) = \frac{f_0(x)}{\psi},\qquad f_0(x) = w(x)\,g(x),\qquad \psi = \int_\Omega f_0(x)\,d\nu(x),
\]
where \(\Omega\) is the support, \(\nu\) is a dominating measure, \(g(x)\) is a normalized base density, \(w(x)\ge 0\) is a weight function, and \(\psi\) is the normalizing constant [2401.09696]. In this setting, \(g\) is assumed evaluable and sampleable, while \(w\) is nonnegative and finite on the relevant support. For the univariate analysis, \(\Omega\subset\mathbb{R}\) is partitioned into intervals \((\alpha_{j-1},\alpha_j]\) [2401.09696].

The central computational difficulty is that generating variates from \(f\) may be nontrivial even when \(g\) is simple, because the weight function may be complicated and \(\psi\) may be intractable. Classical rejection sampling remains applicable in principle, but it requires a proposal that both dominates the target and is practically sampleable. VWS exploits the factorization \(f_0=w\,g\) so that proposal design focuses on bounding the weight function rather than the full target density [2401.09696].

This formulation also clarifies the scope of the method. Some VWS constructions use only boundedness of \(w\), whereas others use stripwise log-convexity or log-concavity of \(w\) to obtain sharper majorizers [2401.09696]. A plausible implication is that the method separates structural information about the target into a tractable base \(g\) and a localized envelope problem for \(w\).

## 2. Proposal construction by stripwise majorization

The defining step in VWS is the choice of a majorizing function \(\overline{w}(x)\ge w(x)\) and the induced proposal
\[
h_0(x)=\overline{w}(x)\,g(x).
\]
Because \(f_0(x)=w(x)g(x)\le \overline{w}(x)g(x)=h_0(x)\), the rejection-sampling constant can be taken as \(M=1\) [2401.09696]. This is the basic simplification that drives the framework.

To improve efficiency, the support is partitioned into disjoint regions
\[
\Omega = \bigcup_{j=1}^N \mathcal{D}_j,\qquad \mathcal{D}_j\cap \mathcal{D}_\ell = \emptyset \ (j\neq \ell),
\]
and each region is assigned a strip-specific majorizer \(\overline{w}_j\) satisfying
\[
\overline{w}_j(x)\ge w(x)\quad \text{for all } x\in\mathcal{D}_j.
\]
The global majorizer is then
\[
\overline{w}(x)=\sum_{j=1}^N \overline{w}_j(x)\,\mathbf{1}(x\in\mathcal{D}_j),
\]
with
\[
h_0(x)=g(x)\sum_{j=1}^N \overline{w}_j(x)\,\mathbf{1}(x\in\mathcal{D}_j).
\]
If \(T\sim g\), the strip integrals are
\[
\overline{\xi}_j = \mathbb{E}[\overline{w}_j(T)\,\mathbf{1}(T\in\mathcal{D}_j)]
= \int_{\mathcal{D}_j} \overline{w}_j(x)\,g(x)\,d\nu(x),
\]
and
\[
\psi_N = \sum_{j=1}^N \overline{\xi}_j = \int_\Omega h_0(x)\,d\nu(x)
\]
[2401.09696].

The proposal density therefore admits the finite-mixture representation
\[
h(x)=\frac{h_0(x)}{\psi_N}=\sum_{j=1}^N \pi_j\,g_j(x),
\]
with mixture weights
\[
\pi_j = \frac{\overline{\xi}_j}{\sum_{\ell=1}^N \overline{\xi}_\ell}
\]
and strip components
\[
g_j(x)=\frac{\overline{w}_j(x)\,g(x)\,\mathbf{1}(x\in\mathcal{D}_j)}{\overline{\xi}_j}.
\]
Each component is the base distribution \(g\), truncated to \(\mathcal{D}_j\) and reweighted by \(\overline{w}_j\) [2401.09696].

The terminology “vertical weighted strips” is explained geometrically in the original paper. In classical vertical strip methods one partitions the horizontal axis and uses vertical bounds on the density; here one partitions the support into horizontal regions \(\mathcal{D}_j\) and bounds the weight \(w(x)\) vertically by a constant or a linear function in \(x\), while retaining the base density \(g\) [2401.09696].

## 3. Rejection-sampling algorithm and efficiency criteria

Under the VWS envelope \(h_0=\overline{w}\,g\), the rejection sampler proceeds by drawing \(X\sim h\), then \(U\sim \mathrm{Uniform}(0,1)\), and accepting if
\[
U \le \frac{f_0(X)}{h_0(X)}
= \frac{w(X)\,g(X)}{\overline{w}(X)\,g(X)}
= \frac{w(X)}{\overline{w}(X)}.
\]
Since \(M=1\), the acceptance probability is
\[
\mathbb{P}(\text{accept}) = \frac{\psi}{\psi_N},
\]
and the expected number of proposals per accepted draw is \(\psi_N/\psi\) [2401.09696].

Sampling from the proposal requires sampling from the finite mixture. One first draws a strip index \(J\) with \(\mathbb{P}(J=j)=\pi_j\), then samples
\[
X\sim g_j(x)=\frac{\overline{w}_j(x)\,g(x)\,\mathbf{1}(x\in\mathcal{D}_j)}{\overline{\xi}_j}.
\]
The paper identifies three implementation routes: drawing from \(g\) and conditioning when that is easy, exploiting analytic forms such as exponential-family structure, or using inverse CDF within each strip through
\[
G_\ell(x) = \frac{\int_{(\alpha_{\ell-1},x]} \overline{w}_\ell(s)g(s)\,d\nu(s)}
{\int_{(\alpha_{\ell-1},\alpha_\ell]} \overline{w}_\ell(s)g(s)\,d\nu(s)}
\]
and the mixture CDF \(H(x)\) [2401.09696]. In many examples, including exponential-family and uniform bases, the necessary integrals and inverses are available in closed form [2401.09696].

Because \(\psi\) is often unavailable, VWS emphasizes computable efficiency diagnostics. For each strip one may define a minorizer \(\underline{w}_j(x)\) with
\[
0 \le \underline{w}_j(x)\le w(x)\quad \text{for }x\in\mathcal{D}_j,
\]
and
\[
\underline{\xi}_j = \int_{\mathcal{D}_j}\underline{w}_j(x)\,g(x)\,d\nu(x).
\]
Then the rejection probability satisfies
\[
\mathbb{P}(\text{reject}) = 1-\frac{\psi}{\psi_N}
\le 1 - \frac{\sum_{j=1}^N \underline{\xi}_j}{\sum_{j=1}^N \overline{\xi}_j}.
\]
If the trivial minorizer \(\underline{w}_j(x)=w(x)\mathbf{1}(x\in\mathcal{D}_j)\) is used, the bound equals the true rejection probability [2401.09696].

The same quantity controls approximation error. Proposition 2 in the original paper shows that if \(X\sim f\) and \(\tilde{X}\sim h\), then for any measurable set \(B\),
\[
\big|\mathbb{P}(\tilde{X}\in B)-\mathbb{P}(X\in B)\big|
\le \frac{\psi_N-\psi}{\psi_N}
= \mathbb{P}(\text{reject}),
\]
so a small rejection bound implies that the proposal is also close to the target in total variation [2401.09696]. This suggests that VWS serves both as an exact-sampling device and as a controlled approximation framework.

## 4. Partitioning, majorizers, and adaptive bifurcation

The efficiency of VWS depends strongly on the partition \(\{\mathcal{D}_j\}\). The original paper proposes an adaptive bifurcation scheme based on each region’s contribution to the rejection bound. For a partition with \(N\) regions, the contribution of region \(\mathcal{D}_\ell\) is
\[
\rho_\ell = \frac{\overline{\xi}_\ell - \underline{\xi}_\ell}{\sum_{j=1}^N \overline{\xi}_j},
\]
and \(\sum_{\ell=1}^N \rho_\ell\) equals the computable upper bound on the rejection probability [2401.09696].

The bifurcation strategy starts from a coarse partition, often a single region. At each refinement step, it draws a region index with probability proportional to \(\rho_1,\dots,\rho_N\), splits that region at a midpoint, and recomputes \(\overline{\xi}_j\), \(\underline{\xi}_j\), and \(\rho_j\). The process continues until a desired number of regions is reached or the rejection bound falls below a target threshold [2401.09696]. The continuous-case midpoint rules in the paper explicitly cover finite endpoints, doubly infinite intervals, and one-sided infinite intervals [2401.09696].

Two stripwise envelope families are emphasized. In constant VWS, one uses
\[
\overline{w}_j = \sup_{x\in\mathcal{D}_j}w(x),\qquad
\underline{w}_j = \inf_{x\in\mathcal{D}_j}w(x),
\]
which requires only boundedness of \(w\) on each strip [2401.09696]. In linear VWS, one works on the log scale and uses a majorizer of the form
\[
\log w(x) \le \overline{\beta}_{j0}+\overline{\beta}_{j1}x,\qquad
\overline{w}_j(x)=e^{\overline{\beta}_{j0}+\overline{\beta}_{j1}x},
\]
with a corresponding minorizer based on an endpoint chord or another tangent, depending on convexity [2401.09696]. The linear construction is available when \(w\) is log-convex or log-concave on each strip and is especially effective when \(g\) belongs to an exponential family, because the resulting components remain analytically sampleable [2401.09696].

The paper treats the refinement problem as heuristic rather than globally optimal. It states that minimizing \(\psi_N/\psi\) over partitions and majorizers leads to more efficient samplers, but exact optimal partitions are not derived [2401.09696]. A plausible implication is that VWS trades formal optimality for envelope constructions that remain explicit and implementable.

## 5. Relation to rejection-sampling literature

VWS is positioned relative to several established proposal-construction paradigms. Standard rejection sampling often selects simple envelopes such as uniform or exponential distributions without exploiting the weighted factorization \(f_0=w\,g\). VWS instead focuses on majorizing the weight \(w\) while retaining the tractable base \(g\), which can be more efficient when \(g\) is already close to the target [2401.09696].

The method also generalizes classical vertical strips. In the bounded-support case, standard vertical strips correspond to taking \(g\) uniform on \(\Omega\), \(w(x)=f_0(x)\), and stripwise majorizers and minorizers given by the maximum and minimum of \(f_0\) on each strip. VWS extends this by allowing nonuniform bases and by working with \(w\) rather than the full target density [2401.09696].

Compared with Adaptive Rejection Sampling (ARS) and its variants, the distinction is structural. ARS requires the log of the target to be concave, while ARMS relaxes this at the cost of a Metropolis step and Markov dependence. VWS does not require log-concavity of the target \(f\) itself; it only needs log-convexity or log-concavity of the weight function \(w\) on strips when linear majorizers are used, and constant majorizers require only boundedness. It produces i.i.d. exact samples rather than a Markov chain and provides a pre-sampling bound on rejection probability [2401.09696].

The original paper also compares VWS with direct sampling methods based on auxiliary variables. Raim’s 2023 direct-sampling formulation is described there as viewable as a special case of VWS where the auxiliary density is majorized by a step function. The comparison given is that VWS works directly on \(f_0=w\,g\), whereas direct sampling reformulates the problem through an auxiliary variable on \([0,1]\), with possible numerical difficulties when the auxiliary distribution is extremely concentrated [2401.09696].

A common misconception is that VWS is merely a restatement of generic rejection sampling. The distinctive feature is not the acceptance-rejection step itself, but the stripwise construction of a finite-mixture proposal through majorization of \(w\), together with the computable bound on rejection probability before sampling [2401.09696].

## 6. von Mises–Fisher examples and practical implementation

The main applications in the original paper are based on the von Mises–Fisher (VMF) distribution. After transformation to a univariate coordinate \(X\), the target density becomes
\[
f(x)\propto (1-x^2)^{(d-3)/2}\,\exp(\kappa x)\,\mathbf{1}(-1<x<1),
\]
and the paper uses the decomposition
\[
w(x) = (1-x^2)^{(d-3)/2},\qquad
g(x)=\frac{\kappa e^{\kappa x}}{e^\kappa-e^{-\kappa}}\mathbf{1}(-1<x<1),
\]
so that \(g\) is a doubly truncated exponential [2401.09696]. On \((-1,1)\), \(\log w(x)=\frac{d-3}{2}\log(1-x^2)\), and its second derivative shows that \(w\) is log-concave for \(d>3\), log-convex for \(d<3\), and constant for \(d=3\) [2401.09696]. This makes the example particularly suitable for comparing constant and linear VWS.

For constant VWS, the strip majorizer is \(\sup_{\mathcal{D}_j}w\) and the minorizer is \(\inf_{\mathcal{D}_j}w\), so each strip component is simply the truncated base \(g\) on that interval [2401.09696]. For linear VWS, the log-weight is bounded by a tangent line, and because \(g(x)=\exp(\kappa x-a(\kappa))\) is exponential-family form, each mixture component becomes a truncated exponential with parameter \(\kappa+\overline{\beta}_{j1}\), from which sampling is analytic via inverse CDF [2401.09696].

The paper reports that for moderately fine partitions such as \(N=5\), linear VWS achieves rejection rates substantially lower than vertical strips and constant VWS, and that with \(N\) up to 100, linear VWS often yields extremely low rejection probabilities, for example well below \(1\%\), even at high \(\kappa\) and dimension \(d\), outperforming the Ulrich–Wood VMF sampler in some regimes [2401.09696]. It recommends constant VWS when ease of implementation is primary and linear VWS when \(w\) is log-convex or log-concave and \(g\) is exponential-family-like [2401.09696].

The implementation guidance given in the paper is procedural. One chooses a factorization \(f_0=w\,g\), picks \(g\) close to \(f\) and convenient to sample from, partitions the support, constructs constant or linear majorizers and minorizers, computes \(\overline{\xi}_j\) and \(\underline{\xi}_j\), evaluates the rejection bound, and then samples from the mixture proposal and accepts with probability \(w(X)/\overline{w}(X)\) [2401.09696]. The paper also lists practical pitfalls: infinite or unbounded weights near support edges, numerical instability in \(w\) or Bessel functions, and excessive region counts. Suggested remedies include slight support truncation, working on the log scale, using scaled special functions, and moderating refinement when VWS is embedded in Gibbs samplers [2401.09696].

## 7. Subsequent development: self-tuned VWS within Gibbs

A later development revisits the method for repeated conditional simulation in Gibbs samplers. “Self-Tuned Rejection Sampling within Gibbs and a Case Study in Small Area Estimation” [2509.17155] considers univariate conditionals that can be written as weighted densities and maintains persistent VWS proposals that tune themselves gradually instead of rebuilding a new proposal from scratch for each conditional draw.

In that follow-up formulation, constant VWS is used with stripwise piecewise-constant majorizers and minorizers, and the same rejection-bound quantity
\[
\rho_+ = 1 - \frac{\sum_{j=1}^N \underline{\xi}_j}{\sum_{j=1}^N \overline{\xi}_j}
\]
governs refinement [2509.17155]. The paper introduces a self-tuning rule in which rejected points can be added as new knots when the bound is too crude, while strips with sufficiently small contribution can be removed when coarsening does not push the bound above a threshold [2509.17155]. This extends VWS from a single-target proposal-construction method to a persistent proposal mechanism inside Gibbs.

The case study concerns a Bayesian small area estimation model in which the unfamiliar conditional for \(\sigma_i^2\) is proportional to an inverse-gamma density times a lognormal density, so that
\[
f(\sigma_i^2\mid \text{rest}) \propto f_{\mathrm{IG}}(\sigma_i^2\mid \kappa_i,\lambda_i)\,
f_{\mathrm{LN}}(\sigma_i^2\mid \mu_i,\tau^2).
\]
There, self-tuned VWS is used to obtain exact draws within Gibbs while controlling proposal-maintenance cost [2509.17155]. The paper reports that self-tuned VWS is much cheaper than rebuilding proposals repeatedly, yet markedly improves mixing relative to an independent Metropolis–Hastings step for the same conditional family [2509.17155].

This follow-up work suggests an important interpretation of VWS. The original method is a finite-mixture rejection-sampling design for weighted densities [2401.09696]; the later extension shows that the same design can be made persistent and adaptive in repeated-sampling contexts without changing its exact-draw character [2509.17155].

Source: https://www.emergentmind.com/topics/vertical-weighted-strips-vws