Learn R Programming

GALAHAD: Geometry-Adaptive Lyapunov-Assured Hybrid Optimizer

Author: Richard A. Feiss
Version: 1.0.0
License: MIT
Institution: Minnesota Center for Prion Research and Outreach (MNPRO), University of Minnesota


Overview

GALAHAD is a geometry-aware optimizer designed for models with heterogeneous parameter spaces — combining log-scaled, positive-only, and unconstrained Euclidean variables.
Conventional solvers assume a uniform Euclidean structure, often causing instability in biological model fitting.
This package introduces a Lyapunov-stable framework that adapts to each parameter’s geometry, improving convergence in small, noisy, or ill-conditioned datasets.

The algorithm originated during germination model fitting under contaminant exposure at MNPRO.
Earlier work on the Osmotic Stress Response Index (OSRI) and Prion Stress Response Index (PSRI) revealed that mixed-geometry parameters produced divergence in standard optimizers.
Through iterative refinement and stability monitoring, the workflow evolved into a general-purpose optimization framework now formalized as GALAHAD 1.0.0.


Algorithmic Core

ComponentDescription
Per-geometry updatesLog-space natural gradient (T), entropy mirror descent (P), Euclidean descent (E)
Trust-region projectionLimits step length by curvature and scaling
Lyapunov stability checkEnsures ΔV ≤ 0 at every iteration
Step-size controlCombines Polyak and Barzilai–Borwein heuristics for adaptive rates
Halpern averagingReduces oscillations in small or noisy datasets

Applications

  • Germination and survival curve analysis
  • Dose–response and enzyme kinetics modeling
  • Stress-response modeling (OSRI / PSRI)
  • Any optimization problem involving mixed-geometry parameter spaces

Development Transparency

Development followed an iterative human–machine refinement process.
All mathematical design, algorithmic logic, and validation were performed by the author.
AI tools were used solely to improve documentation structure, grammar, and reproducibility wording.

Interactive sessions with Anthropic Claude (Sonnet 4.5) and OpenAI GPT-5 supported:

  • Refactoring redundant code paths
  • Verifying numerical stability and convergence logic
  • Harmonizing Roxygen and Markdown documentation
  • Refining explanatory text for clarity and reproducibility

AI systems did not generate algorithms, mathematical content, or scientific results — they functioned only as editorial and diagnostic assistants under continuous human direction.


Acknowledgements

Developed at the Minnesota Center for Prion Research and Outreach (MNPRO), University of Minnesota.
This project is independent of the Fortran “GALAHAD” library by Gould et al.
All work, testing, and validation were conducted in R 4.4.0+ under Windows 11.


References

Amari, S. (1998). Natural gradient works efficiently in learning. Neural Computation, 10(2), 251–276.
Beck, A., & Teboulle, M. (2003). Mirror descent and nonlinear projected subgradient methods for convex optimisation. Operations Research Letters, 31(3), 167–175.
Conn, A. R., Gould, N. I. M., & Toint, P. L. (2000). Trust-Region Methods. SIAM.
Nesterov, Y. (2017). A Lyapunov analysis of momentum methods in optimisation. CORE Discussion Paper, Université catholique de Louvain.
Walne, P. L., et al. (2020). In vitro seed germination response of corn hybrids to osmotic stress conditions. Agrosystems, Geosciences & Environment, 3(1), e20087. doi:10.1002/agg2.20087
Schulman, J., Levine, S., Moritz, P., Jordan, M., & Abbeel, P. (2015). Trust region policy optimization. ICML.


Copy Link

Version

Install

install.packages('GALAHAD')

Monthly Downloads

137

Version

1.0.0

License

MIT + file LICENSE

Maintainer

Richard A. Feiss

Last Published

November 7th, 2025

Functions in GALAHAD (1.0.0)

geometry_prox

Geometry-Aware Proximal Operator
GALAHAD

GALAHAD: Geometry-Adaptive Lyapunov-Assured Hybrid Optimizer
clamp_positive

Clamp Positive Parameters
update_state_prealloc

Update Pre-Allocated State
update_lipschitz_safe

Safe Lipschitz Update
make_safe_function

Safe Function Wrapper
clamp

Clamp Scalar to Range
select_step_dynamic_fstar

Dynamic f_star Step Selection
check_convergence_certified

Certified Convergence Check
finalize_output

Finalize Output with Lyapunov Diagnostics
trust_project_scaled

Trust-Region Projection (Scaled M-norm)
initialize_state_prealloc

Initialize Pre-Allocated State
validate_and_setup

Validate and Setup Configuration
normalize_parts

Normalize Geometry Partitions
adapt_trust_radius_smooth

Smooth Trust Radius Adaptation