---
title: Proximal Newton Adaptive Importance Sampler
url: https://www.emergentmind.com/topics/proximal-newton-adaptive-importance-sampler-pnais
type: topic
---

# Proximal Newton Adaptive Importance Sampler

The Proximal Newton Adaptive Importance Sampler (PNAIS) is an adaptive importance sampling (AIS) methodology devised for efficiently estimating expectations under non-smooth and/or constrained target distributions, especially those encountered in modern statistics, signal processing, and machine learning. PNAIS combines local second-order information from a differentiable component of the target density with proximal operations for handling a non-smooth (convex) component, thus extending the applicability of adaptive proposal adaptation techniques to composite models beyond the reach of gradient-based methods [2412.16558].

## 1. Problem Setting and Target Formulation

PNAIS addresses the estimation of expectations of the form
\[
I = \mathbb{E}_{\pi}[h(X)] = \int_{\mathcal{X}} h(x)\, \pi(x)\,dx,
\]
where the unnormalized target density $\pi$ on $\mathcal{X} \subseteq \mathbb{R}^d$ is specified by the composite exponential structure
\[
\pi(x) \propto \exp(-f(x)-g(x)),
\]
with $f : \mathbb{R}^d \rightarrow \mathbb{R}$ differentiable (possibly non-convex), and $g : \mathbb{R}^d \rightarrow (-\infty, +\infty]$ proper, lower-semicontinuous, and convex (e.g., indicator of a constraint or $\ell_1$ penalty). Standard adaptive IS methodologies that utilize gradient-based adaptation are inapplicable for non-smooth $g$, thus motivating the use of proximal methods for proposal adaptation.

## 2. Proximal Newton Proposal Adaptation

Each PNAIS proposal is a multivariate Gaussian
\[
q_n(x; \mu_n, \Sigma_n) = \mathcal{N}(x|\mu_n,\Sigma_n)
\]
where $n$ indexes the population of proposals. Adaptation is carried out iteratively over $T$ rounds. At every step, the mean $\mu_n$ is relocated by minimizing a local quadratic surrogate of $f$ plus $g$. Specifically, for proposal $n$ at location $\widetilde{\mu}_n$, the quadratic approximation
\[
f(x) \approx f(\widetilde{\mu}_n) + \nabla f(\widetilde{\mu}_n)^\top (x-\widetilde{\mu}_n) + \frac{1}{2}(x-\widetilde{\mu}_n)^\top H_n (x-\widetilde{\mu}_n)
\]
(with $H_n \succeq 0$ a Hessian-based scaling) is combined with $g(x)$ to form the subproblem
\[
\mu_n^{(t+1)} = \arg\min_{x \in \mathbb{R}^d} \left\{ \nabla f(\widetilde{\mu}_n)^\top(x-\widetilde{\mu}_n) + \frac{1}{2}(x-\widetilde{\mu}_n)^\top H_n (x-\widetilde{\mu}_n) + g(x) \right\}.
\]
This admits the scaled proximal gradient update
\[
\mu_n^{(t+1)} = \operatorname{prox}_{H_n^{-1},g} \left( \widetilde{\mu}_n - H_n^{-1} \nabla f(\widetilde{\mu}_n) \right)
\]
where
\[
\operatorname{prox}_{B,g}(v) = \arg\min_x \left\{ g(x) + \frac{1}{2}(x-v)^\top B^{-1}(x-v) \right\}
\]
for $B \succ 0$. The scaling $H_n = \theta_n \Gamma(\widetilde{\mu}_n)$, with $\Gamma(\widetilde{\mu}_n) = [\nabla^2 f(\widetilde{\mu}_n)]^{-1}$ if positive definite and $\Sigma_n^{(t)}$ otherwise, is stabilized via backtracking selection of $\theta_n \in (0,1]$.

When $g$ allows, closed-form solutions for $\operatorname{prox}_{B,g}$ are used (e.g., soft-thresholding for $\ell_1$ penalties, Euclidean projection for constraints); otherwise, a numerical solver is invoked.

## 3. Sampling, Weighting, and Resampling Mechanisms

Each iteration consists of:

1. **Sampling:** For every proposal ($n=1,\ldots,N$), generate $K$ samples $x_{n,k}^{(t)} \sim \mathcal{N}(\mu_n^{(t)}, \Sigma_n^{(t)})$.
2. **Weighting:** Employ deterministic mixture multiple importance sampling (MIS) weights:
   \[
   w_{n,k}^{(t)} = \frac{\pi(x_{n,k}^{(t)})}{\frac{1}{N} \sum_{i=1}^N q_i(x_{n,k}^{(t)}; \mu_i^{(t)}, \Sigma_i^{(t)})}
   \]
   with self-normalization:
   \[
   \bar{w}_{n,k}^{(t)} = \frac{w_{n,k}^{(t)}}{\sum_{i,j} w_{i,j}^{(t)}}
   \]
3. **Resampling:** At every $\Delta$ iterations, perform global resampling by drawing $N$ new anchors from the aggregated weighted sample pool; otherwise, conduct local resampling within each proposal’s batch. Anchors provide the updated positions for adaptation.
4. **Adaptation:** Update proposal means via the proximal Newton step, set new covariances $H_n$, and iterate.

The output consists of all weighted samples $\{x_{n,k}^{(t)}, \bar{w}_{n,k}^{(t)}\}$, enabling estimation
\[
\mathbb{E}_\pi[h] \approx \sum_{n,k,t} \bar{w}_{n,k}^{(t)}\, h(x_{n,k}^{(t)}).
\]

## 4. Theoretical Properties

For convex $f$ with $L$-Lipschitz gradient and convex $g$, the proximal Newton step guarantees monotonic decrease of the local quadratic surrogate and global convergence to minimizers of $f+g$ for step parameters $\theta_n \in (0,2/L)$. For non-convex $f$, provided $f+g$ satisfies the Kurdyka–Łojasiewicz property, the sequence of iterates converges to a critical point. Regarding the AIS estimation itself, as $T, N, K \to \infty$, the self-normalized IS estimator is asymptotically unbiased, and the adaptive mechanism reduces the variance of importance weights under regularity conditions [2412.16558].

The per-iteration complexity is dominated by three operations:

| Operation                | Complexity                                   | Notes                                                |
|--------------------------|----------------------------------------------|------------------------------------------------------|
| Sampling and weighting   | $O(N K d^2)$                                | For full Gaussian proposals                          |
| Hessian inversion        | $O(N d^3)$                                  | Reduced via diagonal/approximate Hessians             |
| Proximal solves          | Depends on $g$, often $O(d)$ or $O(nd)$      | Closed form for some $g$, iterative otherwise         |

A plausible implication is that PNAIS scales efficiently for moderate $d$ and/or when proximal operators are computationally simple.

## 5. Numerical Performance and Empirical Validation

PNAIS is validated on two canonical target families:

- **Convex-constraint mixture:** An equal mixture of two Gaussians on $\mathbb{R}^2$, truncated to the probability simplex $\{x \ge 0, x_1 + x_2 \le 1\}$. Here, $f$ is the negative log-mixture, and $g$ is the indicator of the simplex constraint. Metrics include relative MSE of $\mathbb{E}[X]$, $\mathbb{E}[X^2]$, and the normalizing constant $Z$.
- **Sparse-prior regression:** Gaussian likelihood $p(y|x)$ with mean $[0.5, 0.5]$, covariance $0.25I$, and Laplace (L1) prior $g(x)=\alpha \|x\|_1$. Here, $f = -\log p(y|x)$, $g$ is $\ell_1$, with similar metrics.

Competing algorithms include DM-PMC (no adaptation), PNAIS-grad (first-order proximal gradient with isotropic covariance), PNAIS-rcov (robust covariance), and full PNAIS. In both settings, PNAIS achieves orders-of-magnitude improvements in MSE and superior proposal concentration relative to ablated variants and standard approaches. This suggests that second-order adaptation and the use of proximal steps confer substantive empirical benefits for non-smooth and constrained targets [2412.16558].

## 6. Connections to Related Adaptive Sampling and Proximal Methods

PNAIS generalizes the principle of leveraging local geometry for proposal design, traditionally restricted to smooth targets, by incorporating proximal operations for composite models. The approach is motivated by and related to advances in deterministic mixture multiple importance sampling, stochastic optimization with composite objectives, and recent adaptive IS frameworks using robust or second-order covariance adaptation. The scheme directly addresses settings where $g$ encodes hard constraints or induces sparsity, which arise in modern Bayesian inference and high-dimensional statistics.

## 7. References and Implementation Considerations

The original development, comprehensive theoretical analysis, and extensive empirical study of the Proximal Newton Adaptive Importance Sampler are detailed in
- V. Elvira & E. Chouzenoux, “A Proximal Newton Adaptive Importance Sampler,” IEEE Trans. Signal Processing, 2024 [2412.16558].

Further context and related variance analysis can be found in prior work (see Akyıldız & Elvira 2021 as cited in [2412.16558]). Attention must be given to selection of proposal numbers $N$, sample size $K$, surrogate accuracy, and practical computation of scaled proximal operators (with available closed forms or efficient numerics for structured penalties) for maximal efficiency and robustness.

Source: https://www.emergentmind.com/topics/proximal-newton-adaptive-importance-sampler-pnais