pith. sign in

arxiv: 2605.23692 · v1 · pith:3E7WXDWSnew · submitted 2026-05-22 · 📊 stat.CO · stat.AP

Trajectory-Oriented Optimization Via Adaptive Thompson Sampling And Grid Refinement: A Tutorial With The ADAPTIVE\_TS Package

Pith reviewed 2026-05-25 02:17 UTC · model grok-4.3

classification 📊 stat.CO stat.AP
keywords trajectory-oriented optimizationadaptive Thompson samplinggrid refinementstochastic simulatorsmodel calibrationBayesian optimizationepidemiological modelingPython package
0
0 comments X

The pith

Adaptive Thompson sampling with grid refinement calibrates stochastic simulators by matching trajectories to data without replicate assumptions.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper delivers a tutorial on trajectory-oriented optimization for calibrating stochastic simulators using the adaptive_ts Python package. This method identifies trajectories by minimizing errors between simulator outputs and observed data, without needing assumptions about how replicates behave stochastically. It is presented as especially useful for epidemiological models, as seen in recent pandemics, and integrates with Bayesian optimization via adaptive Thompson sampling and grid refinement. Worked examples on an accompanying webpage illustrate the package in action. The approach expands calibration options for simulators where traditional methods impose strong stochastic requirements.

Core claim

Trajectory-oriented optimization implemented through adaptive Thompson sampling and grid refinement in the adaptive_ts package enables reliable calibration of stochastic simulators by focusing on trajectory errors against observed data, without requiring assumptions on the stochastic behavior of simulator replicates.

What carries the argument

The adaptive_ts package, which applies adaptive Thompson sampling combined with grid refinement to perform trajectory matching within a Bayesian optimization framework.

If this is right

  • Enables calibration of epidemiological simulators for real-time decision support during outbreaks.
  • Extends to any stochastic simulator where replicate outputs vary but trajectory shapes can be compared directly to data.
  • Reduces the need for custom error modeling in model validation workflows.
  • Provides open-source access with examples that lower the barrier for applying the technique.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • The tutorial format may encourage adoption in fields beyond epidemiology that rely on stochastic models.
  • Combining this with other optimization libraries could create hybrid calibration pipelines.
  • Success in trajectory matching might reveal when simulator structure itself needs revision rather than parameter tuning.

Load-bearing premise

Adaptive Thompson sampling combined with grid refinement can reliably match trajectories in stochastic simulators without needing assumptions about replicate behavior or error structures.

What would settle it

A demonstration that the adaptive_ts method produces incorrect or unstable trajectory matches on a known stochastic simulator test case where the true input parameters are recoverable by other means.

Figures

Figures reproduced from arXiv: 2605.23692 by Arindam Fadikar, David O'Gara, Jonathan Ozik, Micka\"el Binois, Nicholson Collier.

Figure 1
Figure 1. Figure 1: Identifiability tradeoffs in a simple SIR model: (a) the starting model configuration for all [PITH_FULL_IMAGE:figures/full_fig_p004_1.png] view at source ↗
Figure 2
Figure 2. Figure 2: The BaseEmulator class showing the required fit, predict, and sample methods, which are inspired by the scikit-learn API. 4.2 Grid Refinement Given an emulator, the next component of an Adaptive TS workflow is the grid from which candidate locations are proposed for the next acquisition, a process that we refer to as the “grid strategy”. Each grid strategy must implement a sample method. Further, the grid … view at source ↗
Figure 3
Figure 3. Figure 3: A sample implementation of an emulator with the [PITH_FULL_IMAGE:figures/full_fig_p006_3.png] view at source ↗
Figure 4
Figure 4. Figure 4: Sample workflow, specifying the emulator (crnGP), grid strategy (adaptive), and seed expansion [PITH_FULL_IMAGE:figures/full_fig_p009_4.png] view at source ↗
Figure 5
Figure 5. Figure 5: Summary of Adaptive TS workflow for repastSIR showing two emulators and two grid strategies: [PITH_FULL_IMAGE:figures/full_fig_p010_5.png] view at source ↗
Figure 6
Figure 6. Figure 6: Summary of accepted trajectories by HCEZ for six ground truth experiments, shown in each [PITH_FULL_IMAGE:figures/full_fig_p012_6.png] view at source ↗
read the original abstract

Stochastic simulators are increasingly used to expand the frontier of scientific knowledge and inform decision-making across real-world contexts. Simulator calibration, a process by which internal model inputs are tuned to match some external criteria, usually in the form of observed data, is a key step in model design and validation. Epidemiological simulators present an especially compelling use case, as evidenced by the recent COVID-19 pandemic. Among several calibration paradigms, trajectory-oriented optimization is an emerging approach that does not require assumptions on the stochastic behavior of the simulator replicates and is particularly effective at identifying trajectories through the lens of errors between the simulator and observed data, especially when combined with Bayesian optimization. We present a tutorial on trajectory-oriented optimization with \texttt{adaptive\_ts}, an open-source Python package. We also provide a series of worked examples on an accompanying webpage.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

0 major / 3 minor

Summary. The manuscript is a tutorial on trajectory-oriented optimization for calibrating stochastic simulators, implemented via adaptive Thompson sampling combined with grid refinement in the open-source Python package adaptive_ts. It positions the approach as particularly suitable for epidemiological models by focusing on trajectory matching through errors between simulator outputs and observed data, without requiring assumptions on replicate stochasticity, and includes worked examples with reference to an accompanying webpage for further illustrations.

Significance. If the package and tutorial function as described, the work provides a practical, accessible resource for applying Bayesian optimization techniques to simulator calibration in computational statistics and related fields. It could lower barriers for users working with stochastic models by supplying open-source code and examples, though its impact depends on the package's robustness and adoption rather than novel theoretical advances.

minor comments (3)
  1. [Abstract] Abstract: the statement that trajectory-oriented optimization 'does not require assumptions on the stochastic behavior of the simulator replicates' is presented without a supporting citation or brief justification; adding a reference to relevant prior literature would improve context for readers.
  2. The manuscript references 'a series of worked examples on an accompanying webpage' but does not provide sufficient in-text description or links to ensure standalone reproducibility; consider adding a dedicated section or table summarizing the examples and their key outputs.
  3. As a tutorial, the paper would benefit from a brief comparison (e.g., in a table) of adaptive_ts features against existing packages for Bayesian optimization or simulator calibration to clarify its positioning.

Simulated Author's Rebuttal

0 responses · 0 unresolved

We thank the referee for their review of our manuscript and for recommending minor revision. The report summarizes the work but does not raise any specific major comments.

Circularity Check

0 steps flagged

No significant circularity

full rationale

This manuscript is a software tutorial introducing the adaptive_ts Python package for trajectory-oriented optimization. It contains no derivation chain, fitted parameters presented as predictions, self-referential equations, or load-bearing self-citations that reduce claims to their own inputs. The description of trajectory-oriented optimization as requiring no assumptions on simulator replicates is presented as background context rather than a result derived or proven within the paper. The work is self-contained as an instructional document with worked examples and does not advance a mathematical or empirical claim that could exhibit circularity.

Axiom & Free-Parameter Ledger

0 free parameters · 0 axioms · 0 invented entities

Based on abstract only; no free parameters, axioms, or invented entities are specified. The work focuses on software demonstration rather than theoretical derivations or new entities.

pith-pipeline@v0.9.0 · 5690 in / 1068 out tokens · 24786 ms · 2026-05-25T02:17:29.395814+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

58 extracted references · 58 canonical work pages

  1. [1]

    Statistical Science , volume=

    Analyzing Stochastic Computer Models , author=. Statistical Science , volume=. 2022 , publisher=

  2. [2]

    Emulator-based

    Reiker, Theresa and Golumbeanu, Monica and Shattock, Andrew and Burgert, Lydia and Smith, Thomas A and Filippi, Sarah and Cameron, Ewan and Penny, Melissa A , journal=. Emulator-based. 2021 , publisher=

  3. [3]

    2023 Winter Simulation Conference (WSC) , pages=

    Trajectory-oriented optimization of stochastic epidemiological models , author=. 2023 Winter Simulation Conference (WSC) , pages=. 2023 , organization=

  4. [4]

    Adaptive Grid-Based

    Fadikar, Arindam and Stevens, Abby and Binois, Mickael and Collier, Nicholson and Ozik, Jonathan , journal=. Adaptive Grid-Based

  5. [5]

    A population data-driven workflow for

    Ozik, Jonathan and Wozniak, Justin M and Collier, Nicholson and Macal, Charles M and Binois, Micka. A population data-driven workflow for. The International Journal of High Performance Computing Applications , volume=. 2021 , publisher=

  6. [6]

    Surrogates:

    Gramacy, Robert B , year=. Surrogates:

  7. [7]

    Journal of the Royal Statistical Society: Series B (Statistical Methodology) , volume=

    Bayesian calibration of computer models , author=. Journal of the Royal Statistical Society: Series B (Statistical Methodology) , volume=. 2001 , publisher=

  8. [8]

    Mitigation strategies for pandemic influenza in the

    Germann, Timothy C and Kadau, Kai and Longini Jr, Ira M and Macken, Catherine A , journal=. Mitigation strategies for pandemic influenza in the. 2006 , publisher=

  9. [9]

    Nature , volume=

    Modelling disease outbreaks in realistic urban social networks , author=. Nature , volume=. 2004 , publisher=

  10. [10]

    Special report: The simulations driving the world's response to

    Adam, David , journal=. Special report: The simulations driving the world's response to. 2020 , publisher=

  11. [11]

    Distributed model exploration with

    Collier, Nicholson and Wozniak, Justin M and Fadikar, Arindam and Stevens, Abby and Ozik, Jonathan , booktitle=. Distributed model exploration with. 2024 , organization=

  12. [12]

    Distributed agent-based simulation with

    Collier, Nicholson and Ozik, Jonathan , booktitle=. Distributed agent-based simulation with. 2022 , organization=

  13. [13]

    Automation and Collaboration in Complex Epidemiological Workflows with

    Ozik, Jonathan and Collier, Nicholson and Fadikar, Arindam and Wozniak, Justin and Hayot-Sasson, Valerie and Conroy, Kyle and Chard, Kyle and Wentz, Jacqueline and Acquesta, Erin and Ray, Jaideep , booktitle=. Automation and Collaboration in Complex Epidemiological Workflows with

  14. [14]

    1991 , publisher=

    Infectious diseases of humans: dynamics and control , author=. 1991 , publisher=

  15. [15]

    Modelling

    Vespignani, Alessandro and Tian, Huaiyu and Dye, Christopher and Lloyd-Smith, James O and Eggo, Rosalind M and Shrestha, Munik and Scarpino, Samuel V and Gutierrez, Bernardo and Kraemer, Moritz UG and Wu, Joseph and others , journal=. Modelling. 2020 , publisher=

  16. [16]

    Proceedings of the National Academy of Sciences , volume=

    Inference for nonlinear dynamical systems , author=. Proceedings of the National Academy of Sciences , volume=. 2006 , publisher=

  17. [17]

    A portfolio approach to massively parallel

    Binois, Mickael and Collier, Nicholson and Ozik, Jonathan , journal=. A portfolio approach to massively parallel

  18. [18]

    Sequential

    Sisson, Scott A and Fan, Yanan and Tanaka, Mark M , journal=. Sequential. 2007 , publisher=

  19. [19]

    1996 , publisher=

    Gelman, Andrew and Rubin, Donald B , journal=. 1996 , publisher=

  20. [20]

    IEEE transactions on neural networks and learning systems , volume=

    BayesFlow: Learning complex stochastic models with invertible neural networks , author=. IEEE transactions on neural networks and learning systems , volume=. 2020 , publisher=

  21. [21]

    Aylett-Bullock, Joseph and Cuesta-Lazaro, Carolina and Quera-Bofarull, Arnau and Icaza-Lizaola, Miguel and Sedgewick, Aidan and Truong, Henry and Curran, Aoife and Elliott, Edward and Caulfield, Tristan and Fong, Kevin and others , journal=. June:. 2021 , publisher=

  22. [22]

    2023 , publisher=

    Bayesian optimization , author=. 2023 , publisher=

  23. [23]

    hetgpy: Heteroskedastic

    O’Gara, David and Binois, Micka. hetgpy: Heteroskedastic. Journal of Open Source Software , volume=

  24. [24]

    Biometrika , volume=

    On the likelihood that one unknown probability exceeds another in view of the evidence of two samples , author=. Biometrika , volume=. 1933 , publisher=

  25. [25]

    2025 Winter Simulation Conference (WSC) , pages=

    Developing and deploying a use-inspired metapopulation modeling framework for detailed tracking of stratified health outcomes , author=. 2025 Winter Simulation Conference (WSC) , pages=. 2025 , organization=

  26. [26]

    Epidemics , pages=

    Improving policy-oriented agent-based modeling with history matching: A case study , author=. Epidemics , pages=. 2025 , publisher=

  27. [27]

    Report 9: Impact of non-pharmaceutical interventions (NPIs) to reduce

    Ferguson, Neil M and Laydon, Daniel and Nedjati-Gilani, Gemma and Imai, Natsuko and Ainslie, Kylie and Baguelin, Marc and Bhatia, Sangeeta and Boonyasiri, Adhiratha and Cucunub. Report 9: Impact of non-pharmaceutical interventions (NPIs) to reduce. 2020 , publisher=

  28. [28]

    Controlling

    Kerr, Cliff C and Mistry, Dina and Stuart, Robyn M and Rosenfeld, Katherine and Hart, Gregory R and N. Controlling. Nature communications , volume=. 2021 , publisher=

  29. [29]

    Gardner, Jacob and Pleiss, Geoff and Weinberger, Kilian Q and Bindel, David and Wilson, Andrew G , journal=

  30. [30]

    Advances in neural information processing systems , volume=

    Pytorch: An imperative style, high-performance deep learning library , author=. Advances in neural information processing systems , volume=

  31. [31]

    Balandat, Maximilian and Karrer, Brian and Jiang, Daniel and Daulton, Samuel and Letham, Ben and Wilson, Andrew G and Bakshy, Eytan , journal=

  32. [32]

    Extreme-scale dynamic exploration of a distributed agent-based model with the

    Ozik, Jonathan and Collier, Nicholson T and Wozniak, Justin M and Macal, Charles M and An, Gary , journal=. Extreme-scale dynamic exploration of a distributed agent-based model with the. 2018 , publisher=

  33. [33]

    and Haaland, Benjamin and Lu, Siyuan and Hwang, Youngdeok , title =

    Sun, Furong and Gramacy, Robert B. and Haaland, Benjamin and Lu, Siyuan and Hwang, Youngdeok , title =. Statistical Analysis and Data Mining: The ASA Data Science Journal , volume =

  34. [34]

    Bayesian history matching of complex infectious disease models using emulation: a tutorial and a case study on

    Andrianakis, Ioannis and Vernon, Ian R and McCreesh, Nicky and McKinley, Trevelyan J and Oakley, Jeremy E and Nsubuga, Rebecca N and Goldstein, Michael and White, Richard G , journal=. Bayesian history matching of complex infectious disease models using emulation: a tutorial and a case study on. 2015 , publisher=

  35. [35]

    Galaxy formation:

    Vernon, Ian and Goldstein, Michael and Bower, Richard , journal=. Galaxy formation:. 2014 , publisher=

  36. [36]

    Galaxy formation: a

    Vernon, Ian and Goldstein, Michael and Bower, Richard G , journal =. Galaxy formation: a

  37. [37]

    Journal of Machine Learning Research , volume=

    Normalizing flows for probabilistic modeling and inference , author=. Journal of Machine Learning Research , volume=

  38. [38]

    doi:10.5281/zenodo.4296287 , url =

    Conor Durkan and Artur Bekasov and Iain Murray and George Papamakarios , title =. doi:10.5281/zenodo.4296287 , url =

  39. [39]

    Advances in neural information processing systems , volume=

    Masked autoregressive flow for density estimation , author=. Advances in neural information processing systems , volume=

  40. [40]

    Proceedings of the National Academy of Sciences , volume=

    The frontier of simulation-based inference , author=. Proceedings of the National Academy of Sciences , volume=. 2020 , publisher=

  41. [41]

    Technometrics , volume=

    A comparison of three methods for selecting values of input variables in the analysis of output from a computer code , author=. Technometrics , volume=. 2000 , publisher=

  42. [42]

    Multi-task

    Bonilla, Edwin V and Chai, Kian and Williams, Christopher , journal=. Multi-task

  43. [43]

    Nature , volume=

    Accurate predictions on small data with a tabular foundation model , author=. Nature , volume=. 2025 , publisher=

  44. [44]

    Recent advances in optimization and modeling of contemporary problems , publisher =

    Frazier, Peter I , year =. Recent advances in optimization and modeling of contemporary problems , publisher =

  45. [45]

    Experiences in developing a distributed agent-based modeling toolkit with

    Collier, Nicholson T and Ozik, Jonathan and Tatara, Eric R , booktitle=. Experiences in developing a distributed agent-based modeling toolkit with. 2020 , organization=

  46. [46]

    Start from the End: A Framework for Computational Policy Exploration to Inform Effective and Geospatially Consistent Interventions applied to

    O'Gara, David and Kasman, Matt and Haslam, Matthew D and Hammond, Ross A , journal=. Start from the End: A Framework for Computational Policy Exploration to Inform Effective and Geospatially Consistent Interventions applied to

  47. [47]

    Journal of Global Optimization , volume=

    Voronoi candidates for Bayesian optimization , author=. Journal of Global Optimization , volume=. 2026 , publisher=

  48. [48]

    SIAM/ASA Journal on Uncertainty Quantification , volume=

    Calibrating a stochastic, agent-based model using quantile-based emulation , author=. SIAM/ASA Journal on Uncertainty Quantification , volume=. 2018 , publisher=

  49. [49]

    Statistics in medicine , volume=

    Bayesian calibration of stochastic agent based model via random forest , author=. Statistics in medicine , volume=. 2025 , publisher=

  50. [50]

    Journal of the American Statistical Association , volume=

    Computer model calibration using high-dimensional output , author=. Journal of the American Statistical Association , volume=. 2008 , publisher=

  51. [51]

    Operations Research , volume=

    Bayesian optimization allowing for common random numbers , author=. Operations Research , volume=. 2022 , publisher=

  52. [52]

    ACM Transactions on Modeling and Computer Simulation (TOMACS) , volume=

    The effects of common random numbers on stochastic kriging metamodels , author=. ACM Transactions on Modeling and Computer Simulation (TOMACS) , volume=. 2012 , publisher=

  53. [53]

    Pinder, Thomas and Dodd, Daniel , journal=

  54. [54]

    Healthy Chicago Zones , howpublished =

  55. [55]

    2018 winter simulation conference (WSC) , pages=

    Chisim: An agent-based simulation model of social interactions in a large urban area , author=. 2018 winter simulation conference (WSC) , pages=. 2018 , organization=

  56. [56]

    doi:10.32614/CRAN.package.MetaRVM , abstract =

    Fadikar, A , month = dec, year =. doi:10.32614/CRAN.package.MetaRVM , abstract =

  57. [57]

    O'Gara, David and Fadikar, Arindam and Binois, Micka\"

  58. [58]

    write newline

    " write newline "" before.all 'output.state := FUNCTION article output.bibitem format.authors "author" output.check author format.key output output.year.check new.block format.title "title" output.check new.block crossref missing format.jour.vol output format.article.crossref output.nonnull format.pages output if new.block note output fin.entry format.ann...