English

Complexity order of multiple resource algorithms

Computational Physics 2025-07-09 v3

Abstract

Algorithmic efficiency is essential to reducing energy and time usage for computational problems. Optimizing efficiency is important for tasks involving multiple resources, for example in stochastic calculations where the size of the random ensemble competes with the time-step. We define the complexity order of an algorithm needing multiple resources as the exponent of inverse total error with respect to the total resources used. The optimum order is predicted for independent, factorable resources. We show that it equals the inverse sum of the inverse resource orders. This is applied to computing averages in a stochastic differential equation. We treat numerical examples for multiple different algorithms and for stochastic partial differential equations, all giving quantitative results in excellent agreement with our more general analytic theory.

Keywords

Cite

@article{arxiv.2410.03163,
  title  = {Complexity order of multiple resource algorithms},
  author = {Run Yan Teh and Manushan Thenabadu and Peter D Drummond},
  journal= {arXiv preprint arXiv:2410.03163},
  year   = {2025}
}

Comments

This version includes a stochastic partial differential equation numerical example and improved optimisation results

R2 v1 2026-06-28T19:08:07.722Z