Efficient Variational Inference for Log-Gaussian Cox Processes via Voronoi Tessellation

Yanshuo Liu, Jiaheng Qu, Sha Cao, Chi Zhang, Nan ZhangNeurIPS 2026

TL;DR

Nature is full of scattered dots—trees in a forest, cells in tissue, or neurons firing in a brain. Modeling the underlying probability surfaces that generate these spatial patterns usually forces researchers into an agonizing trade-off between mathematical intractability and brutal compute times. This paper introduces VoGCAM, an algorithm that pairs clever geometric tiling with variational inference to map these hidden landscapes rapidly, accurately, and with guaranteed convergence.

What Problem Does This Paper Address?

Imagine looking at a map of disease outbreaks or gene expressions in a slice of tissue. You see discrete events, and you want to infer the smooth, continuous "intensity surface" underneath that dictates where events are likely to happen.

The gold standard for this is the Log-Gaussian Cox Process (LGCP). It is a "doubly stochastic" model: first, a Gaussian Process (GP) generates a random, undulating landscape (the log-intensity); second, points pop up across that landscape following a Poisson process.

While LGCPs are wonderfully flexible, actually fitting them to data is a mathematical headache for two reasons:

  1. Intractable Integrals: Computing the likelihood requires integrating the exponentiated GP over the entire continuous 2D space, which has no closed-form analytical solution.
  2. Cubic Scaling: Standard GP operations require inverting massive covariance matrices that scale cubically, $\mathcal{O}(N^3)$, with the number of locations.

Existing workarounds have frustrating blind spots. Markov Chain Monte Carlo (MCMC) is asymptotically exact but painfully slow. Low-rank approximations are fast, but blur out fine local details. And while the celebrated INLA (Integrated Nested Laplace Approximation) framework is both fast and accurate, it focuses on marginal inference—meaning it doesn't directly hand you the full joint posterior distribution across locations.

Methods

The authors propose VoGCAM (Variational Voronoi Gaussian Coordinate Ascent Maximization), a framework that systematically dismantles each bottleneck:

  • Voronoi Tessellation for the Integral: Instead of chopping the map into a rigid, uniform grid to approximate the continuous integral, VoGCAM builds a Delaunay triangulation using the target locations and takes its geometric dual—a Voronoi tessellation. Each integration point is weighted by the area of its surrounding Voronoi cell, naturally adapting to the spatial geometry of the points of interest.
Figure 1: Voronoi tessellation on the observation region. The red solid points denote the target locations S and the complete set of solid points constitutes the integration locations I for numerical quadrature. Each integration weight is given by the area of the Voronoi cell around its corresponding integration point, and the gray lines mark the edges of the associated Delaunay triangulation.
  • Closed-Form Variational ELBO: Rather than sampling, the authors approximate the true posterior with a multivariate Gaussian. Because of the Voronoi approximation, the resulting Evidence Lower Bound (ELBO) collapses into a clean, explicit, closed-form equation.
  • Coordinate Ascent Optimization: To maximize this ELBO, VoGCAM alternates through parameter blocks: it updates the spatial regression weights ($\boldsymbol{\beta}$) and variational mean ($\boldsymbol{\mu}$) via Newton's method (solved quickly via conjugate gradients), and updates the variational covariance ($\boldsymbol{\Sigma}$) and marginal variance ($\sigma^2$) via novel fixed-point iterations.
  • NNGP + Woodbury Matrix Trick: To slay the $\mathcal{O}((n+N)^3)$ matrix-inversion dragon, the authors swap the dense GP prior for a Nearest Neighbor Gaussian Process (NNGP), which yields a sparse precision matrix. They then decompose this matrix into a "diagonal plus low-rank" structure, allowing them to apply the Woodbury matrix identity to invert matrices in $\mathcal{O}((n+N)^2 r)$ time (where $r \ll n+N$).

Datasets

No new benchmarks were introduced, as the authors evaluated VoGCAM on synthetic simulations and two established real-world spatial datasets:

  • Synthetic Point Patterns: Two simulated scenarios on a $[0,1]^2$ unit square—Case I (dominated by structured, fixed covariate effects) and Case II (dominated by stochastic GP random effects).
  • Rat Neuronal Spike Data: Benchmark recordings of firing locations from grid cells in the medial entorhinal cortex of freely foraging rats (583 training points; 29,710 test points, with no fixed effects).
  • Breast Cancer Spatial Transcriptomics: Data from 10x Genomics' Xenium platform (~5,000 cells), modeling the spatial distribution of the epithelial marker KRT15 using local abundances of two cell types as spatial covariates.

Key Insights and Ideas

  • A Guaranteed Unique Peak: Variational objectives are notoriously riddled with local optima. Remarkably, the authors prove that their closed-form ELBO is strictly jointly concave with respect to all variational and regression parameters. This guarantees a single, unique global optimum and allows them to prove mathematical convergence for their block coordinate ascent updates.
  • Frequentist Regularization in Disguise: Looking closely at the derived ELBO, the authors point out a neat intuition: maximizing this Bayesian lower bound is mathematically equivalent to maximizing a frequentist penalized log-likelihood, where the GP prior naturally acts as a matrix-weighted norm and KL-divergence penalty against overfitting.
  • Keeping the Diagonal Alive: When updating the covariance matrix, part of the data term contains zeros along its diagonal. By carefully splitting the NNGP precision matrix into a diagonal plus a low-rank Cholesky factor, VoGCAM ensures the matrix remains invertible so the Woodbury speedup never breaks down.

Key Results

Across simulations and real data, VoGCAM hits a sweet spot between speed and inferential accuracy—running roughly 2x to 5x faster than INLA while delivering full joint posteriors and top-tier predictive likelihoods.

Table 2: Comparison of methods under Cases I and II. Metrics include training log-likelihood (ltrain), predictive log-likelihood (lpred), ℓ2 error of intensity function (ℓ2), ℓ2 error of log-intensity function (ℓ2,log), and running time (Time in seconds). Bold numbers indicate the best value for each metric.
  • Simulations: In Case II (random-effect dominated), VoGCAM achieved the highest predictive log-likelihood (14,916 vs. INLA's 14,898) and tied INLA for the lowest log-intensity $\ell_2$ error (0.65), while finishing in 0.85 seconds compared to INLA's 1.95 seconds. (Low-rank VIFRK was fastest at 0.08s, but sacrificed accuracy).
  • Neuronal Data: VoGCAM achieved the best normalized predictive log-likelihood (-9.04) in 0.38 seconds, outperforming VBPP (-9.05 in 1.36s) and INLA (-9.08 in 2.10s).
  • Transcriptomics Data: VoGCAM achieved the highest training log-likelihood (17,517.94) in 2.45 seconds (vs. INLA's 4.60s). Interestingly, simple non-GP baselines (MINCON and QUASI) won on test predictive likelihood here (-0.02 and -0.01 vs. VoGCAM's -0.95), indicating that the chosen cellular covariates already explained almost all the spatial structure without needing a latent random field.

Limitations and Future Work

  • Fixed Kernel Hyperparameters: While VoGCAM neatly estimates the marginal variance $\sigma^2$ inside its optimization loop, spatial kernel hyperparameters like lengthscale (range) and smoothness must still be fixed prior to running the algorithm via cross-validation or empirical heuristics. Folding these directly into the variational updates is a prime target for future work.
  • Single-Structure Processes: Standard LGCPs assume a single underlying intensity surface governs everything. Real-world ecosystems (like multiple interacting tree species or multi-layered tissue) often involve coupled, spatio-temporal, multi-structure processes. Extending VoGCAM there is non-trivial, as combining multiple structures breaks the neat closed-form math of the ELBO.

Summary updated

Abstract

Log-Gaussian Cox Processes (LGCP) are essential for modeling spatial point patterns but suffer from high computational costs and intractable likelihoods. We propose VoGCAM, an efficient Variational Voronoi Gaussian Coordinate Ascent Maximization framework for fitting LGCPs. Our approach first approximates the intractable integral in the LGCP likelihood using a flexible Voronoi tessellation, which incorporates observed points as integration nodes. By applying variational Gaussian approximation, we derive an Evidence Lower Bound (ELBO) that admits an explicit and closed-form expression. To optimize this objective, we develop a novel coordinate ascent algorithm that updates parameter blocks via Newton and fixed-point methods. We further enhance scalability by adopting a Nearest Neighbor Gaussian Process (NNGP) prior and utilizing the Woodbury formula to reduce matrix inversion costs. Theoretically, we prove the existence and uniqueness of the optimal solution and establish the convergence of our algorithm. Numerical experiments on synthetic and real-world data demonstrate that VoGCAM achieves a competitive balance between computational efficiency and inferential performance compared with existing methods.
BibTeX
@inproceedings{liu2026efficient,
  author = {Yanshuo Liu and Jiaheng Qu and Sha Cao and Chi Zhang and Nan Zhang},
  title = {{Efficient Variational Inference for Log-Gaussian Cox Processes via Voronoi Tessellation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=5S6I8g6tlv},
}
Figure