Searcharxiv⌕ Search

arXiv · 2611.08492

Wrap or Rewrite? Reviving the 1989 GlobalMinimum Bayesian Global-Optimization Library for R and Python

Abstract

The GlobalMinimum library of Jonas Mockus (1989) implements some of the earliest practical Bayesian global-optimization methods -- one-step Bayesian search over a simple surrogate, Wiener-process one-dimensional models, low-discrepancy designs, and clustering multistart. We modernize this Fortran 66/77 codebase along both standard routes: wrapping the original compiled routines behind R and Python packages, and translating the core methods to Rust. First, we release packages in which every optimizer runs the genuine 1989 algorithms, with callback objectives, deterministic seeding, full evaluation traces, and validation that retrofits memory- and I/O-safety onto COMMON-block Fortran. Second, we dissect a translation-fidelity incident: the Rust port of the one-step Bayesian planner ran up to 12x slower than the wrapped Fortran -- initially misattributed to foreign-function overhead. Controlled decomposition shows call overhead is microseconds and backend-neutral; the cause was two dropped pruning rules whose restoration recovers bitwise trajectory agreement and speed parity. The same audit found transposed coefficient matrices in re-implemented Shekel and Hartmann test functions -- quiet correctness bugs of the rewrite route. Third, we benchmark the 1989 methods against modern optimizers in both ecosystems (SciPy, NLopt, CMA-ES, GP-based Bayesian optimization, GenSA, DEoptim, GA) on a COCO-style shifted-instance suite with external validation on BBOB. On classical test functions the coordinate Wiener-model search EXKOR statistically ties dual annealing at the larger budget; on BBOB's non-separable, ill-conditioned functions it drops to mid-field, quantifying the separability dependence. At tight budgets modern annealing and GP expected improvement dominate the 1989 machinery. Code and data are available.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Audris Mockus. 2026-07-11. Wrap or Rewrite? Reviving the 1989 GlobalMinimum Bayesian Global-Optimization Library for R and Python. https://arxiv.org/abs/2611.08492

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Advection-aligned block Vecchia inference for spatio-temporal Gaussian processes

Vecchia approximations enable scalable likelihood-based inference for large Gaussian process models, but their accuracy depends on the choice of conditioning sets. For spatio-temporal processes with advection, target-centered conditioning can omit informative past observations. Motivated by total column ozone observations from the Geostationary Environment Monitoring Spectrometer (GEMS), we propose a data-driven, advection-aligned block Vecchia approximation that incorporates estimated transport direction into temporal conditioning geometry. Observation locations need not lie on a regular grid. An initial advection vector is estimated from the data and used once to select transport-aligned past-time conditioning blocks. The resulting graph is held fixed during optimization, while covariance and advection parameters remain free to vary. This separates neighbor selection from covariance estimation, avoids repeated parameter-dependent neighbor searches, and provides an interpretable connection between conditioning geometry and estimated transport. Batched graphics processing unit (GPU) operations evaluate the likelihood and its gradients. In a matched comparison of daily GEMS datasets from July 2024 and July 2025, advection-aligned conditioning attained a lower fitted Vecchia negative log-likelihood than target-centered conditioning on 53 of 61 days. In six Matérn simulation scenarios with 120 matched eight-hour fields each, advection-aligned conditioning reduced advection-vector root mean squared error relative to target-centered conditioning at the same conditioning-block budget, with the largest reduction under strong transport.

stat.CO↗

marp: Model-Averaged Inference for Parametric Renewal Processes in R

Renewal processes model inter-event times between recurrent events using a parametric distribution, but selecting a single model can ignore model uncertainty and affect inference, particularly in small samples. This paper introduces marp, an R package for model-averaged inference in parametric renewal processes. The package fits six commonly used distributions, compares them using Akaike and Bayesian information criteria, and reports selected-model and model-averaged estimates of the mean inter-event time, event probability and hazard function, with percentile and Studentised bootstrap confidence intervals. A simulation study under three data-generating models showed that model averaging did not improve point estimation but often improved interval coverage relative to the AIC-selected model. Applications to seizure-recurrence and engineering failure-time data illustrate the proposed methods. The marp package provides a reproducible framework for inference that accounts for model uncertainty in parametric renewal processes.

stat.CO↗

Fast Functional Clustering via Closed-Form Covariance Updates

Functional clustering identifies coordinated molecular profiles, but repeated numerical covariance optimization can make mixture-model fitting computationally demanding. We develop a fast functional clustering procedure for joint analysis across conditions, combining linear mean profiles on a standardized log niche coordinate with first-order structured antedependence (SAD(1)) covariance. Weighted residual statistics yield closed-form conditional covariance updates under four parameter-sharing specifications, while an innovation representation simplifies likelihood evaluation. In same-R comparisons with numerical optimization of identical conditional objectives, the closed-form solver was 91.5--201.4 times as fast, with objective agreement in all 60 targets. Under matched complete mixture fits, it achieved a 1.87--2.37-fold speedup with identical cluster assignments. Recovery simulations showed higher module classification accuracy and lower mean-curve error than $K$-means and a Gaussian mixture with shared full covariance when the mean structure was correctly specified. SAD(1) provided an additional recovery gain under strong residual correlation, whereas curved-mean controls identified the importance of an appropriate mean family. Applications to single-condition gut microbiota, paired leaf--root microbiota and three-visit human gut multi-omics illustrate the framework across different numbers of conditions. Closed-form covariance estimation makes joint functional clustering substantially faster while retaining the fitted model's likelihood and assignments.

stat.CO↗