journal article·2026-04-07Open access

Collecting diverse near-optimal samples via nested Thompson sampling

Ryosuke Shibukawa, Shoichi Matsuda, Kazuha Nakamura, Ryo Tamura, Koji Tsuda

npj Computational Materials· Volume 12· Issue 1

Abstract

Self-driving laboratories (SDLs) that combine automated experiments with machine learning have accelerated data-driven discovery. Although Bayesian optimization (BO) is widely used in SDLs to autonomously propose experimental conditions, many real systems require sampling diverse near-optimal candidates rather than identifying a single optimum. We propose nested Thompson sampling (NTS), a batch BO method that enhances diversity by incorporating the concept of nested sampling. In NTS, regions where the posterior exceeds a likelihood threshold are uniformly sampled, enabling exploration of multiple promising regions while requiring only one hyperparameter, that is, the threshold schedule. Benchmark studies using materials datasets demonstrated that NTS achieves higher sample diversity than a conventional batch BO method. Furthermore, the application of NTS to automated electrolyte exploration in an SDL successfully produced diverse experimental samples. The NTS algorithm is implemented in the NIMO package, providing a practical framework for autonomous and diverse materials exploration.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Survey Sampling and Estimation Techniques · Advanced Statistical Methods and Models · Statistical Distribution Estimation and Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (44)

Show source-provided references
1. Tom, G. et al. Self-driving laboratories for chemistry and materials science. Chem. Rev. 124, 9633–9732 (2024).10.1021/acs.chemrev.4c00055 ↗
2. Yoshikawa, N. et al. Self-driving laboratories in Japan. Digit. Discov. 4, 1384–1403 (2025).10.1039/D4DD00387J ↗
3. Wakabayashi, Y. K. et al. Machine-learning-assisted thin-film growth: Bayesian optimization in molecular beam epitaxy of SrRuO3 thin films. APL Mater. 7, 101114 (2019).10.1063/1.5123019 ↗
4. Burger, B. et al. A mobile robotic chemist. Nature 583, 237–241 (2020).10.1038/s41586-020-2442-2 ↗
5. MacLeod, B. P. et al. Self-driving laboratory for accelerated discovery of thin-film materials. Sci. Adv. 6, eaaz8867 (2020).10.1126/sciadv.aaz8867 ↗
6. Shimizu, R., Kobayashi, S., Watanabe, Y., Ando, Y. & Hitosugi, T. Autonomous materials synthesis by machine learning and robotics. APL Mater. 8, 111110 (2020).10.1063/5.0020370 ↗
7. Matsuda, S., Lambard, G. & Sodeyama, K. Data-driven automated robotic experiments accelerate discovery of multi-component electrolyte for rechargeable Li-O2 batteries. Cell Rep. Phys. Sci. 3, 100832 (2022).10.1016/j.xcrp.2022.100832 ↗
8. Wakabayashi, Y. K. et al. Bayesian optimization with experimental failure for high-throughput materials growth. npj Comput. Mater. 8, 180 (2022).10.1038/s41524-022-00859-8 ↗
9. Rooney, M. B. et al. A self-driving laboratory designed to accelerate the discovery of adhesive materials. Digit. Discov. 1, 382–389 (2022).10.1039/D2DD00029F ↗
10. Fébba, D. M. et al. Autonomous sputter synthesis of thin film nitrides with composition controlled by Bayesian optimization of optical plasma emission. APL Mater. 11, 071119 (2023).10.1063/5.0159406 ↗
11. Low, A. K. et al. Evolution-guided Bayesian optimization for constrained multi-objective optimization in self-driving labs. npj Comput. Mater. 10, 104 (2024).10.1038/s41524-024-01274-x ↗
12. Schilter, O. et al. Combining Bayesian optimization and automation to simultaneously optimize reaction conditions and routes. Chem. Sci. 15, 7732–7741 (2024).10.1039/D3SC05607D ↗
13. Fukui, Y. et al. Automated odor-blending with one-pot Bayesian optimization. Digit. Discov. 3, 969–976 (2024).10.1039/D3DD00215B ↗
14. Zheng, Y. B. et al. A self-driving physical vapor deposition system making sample-specific decisions on the fly. npj Comput. Mater. 11, 327 (2025).10.1038/s41524-025-01805-0 ↗
15. Sin, J. W. et al. Highly parallel optimisation of chemical reactions through automation and machine intelligence. Nat. Commun. 16, 6464 (2025).10.1038/s41467-025-61803-0 ↗
16. Shahriari, B., Swersky, K., Wang, Z., Adams, R. P. & De Freitas, N. Taking the human out of the loop: A review of Bayesian optimization. Proc. IEEE 104, 148–175 (2015).10.1109/JPROC.2015.2494218 ↗
17. Roch, L. M. et al. ChemOS: orchestrating autonomous experimentation. Sci. Robot. 3, eaat5559 (2018).10.1126/scirobotics.aat5559 ↗
18. Häse, F., Roch, L. M., Kreisbeck, C. & Aspuru-Guzik, A. Phoenics: a Bayesian optimizer for chemistry. ACS Cent. Sci. 4, 1134–1145 (2018).10.1021/acscentsci.8b00307 ↗
19. Adachi, M. et al. Looping in the human: Collaborative and explainable Bayesian optimization. In Dasgupta, S., Mandt, S. & Li, Y. (eds.) Proceedings of The 27th International Conference on Artificial Intelligence and Statistics, vol. 238 of Proceedings of Machine Learning Research, 505–513 (PMLR, 2024).
20. Snoek, J., Larochelle, H. & Adams, R. P. Practical Bayesian optimization of machine learning algorithms. In Pereira, F., Burges, C., Bottou, L. & Weinberger, K. (eds.) Advances in Neural Information Processing Systems, vol. 25 (Curran Associates, Inc., 2012).
21. Ginsbourger, D., Le Riche, R. & Carraro, L. Kriging Is Well-Suited to Parallelize Optimization, 131–162 (Springer Berlin Heidelberg, Berlin, Heidelberg, 2010).10.1007/978-3-642-10701-6_6 ↗
22. Konakovic Lukovic, M., Tian, Y. & Matusik, W. Diversity-guided multi-objective Bayesian optimization with batch evaluations. Adv. Neural Inf. Process. Syst. 33, 17708–17720 (2020).
23. Ahmadianshalchi, A., Belakaria, S. & Doppa, J. R. Pareto front-diverse batch multi-objective Bayesian optimization. In Proceedings of the AAAI Conference on Artificial Intelligence, 38, 10784–10794 (2024).10.1609/aaai.v38i10.28951 ↗
24. Rolnick, D. et al. Position: Application-driven innovation in machine learning. Proc. Mach. Learn. Res. 235, 42707–42718 (2024).
25. Maguire, C., Hardcastle, C., Hastings, T., Arróyave, R. & Vela, B. Good enough is better: Feasibility vs. Pareto-optimality in alloy design. arXiv preprint arXiv:2510.20125 (2025).10.1039/D5DD00517E ↗
26. Kathuria, T., Deshpande, A. & Kohli, P. Batched Gaussian process bandit optimization via determinantal point processes. Adv. Neural Inf. Process. Syst. 29, 4213–4221 (2016).
27. Oh, C., Bondesan, R., Gavves, E. & Welling, M. Batch Bayesian optimization on permutations using the acquisition weighted kernel. Adv. Neural Inf. Process. Syst. 35, 6843–6858 (2022).
28. Nava, E., Mutny, M. & Krause, A. Diversified sampling for batched Bayesian optimization with determinantal point processes. In International Conference on Artificial Intelligence and Statistics, 7031–7054 (PMLR, 2022).
29. Skilling, J. Nested sampling. In Bayesian Inference and Maximum Entropy Methods in Science and Engineering: 24th International Workshop on Bayesian Inference and Maximum Entropy Methods in Science and Engineering, vol. 735, 395–405 (2004).10.1063/1.1835238 ↗
30. Skilling, J. Nested sampling for general Bayesian computation. Bayesian Anal. 1, 833 (2006).10.1214/06-BA127 ↗
31. Sivia, D. & Skilling, J.Data analysis: a Bayesian tutorial (OUP Oxford, 2006).10.1093/oso/9780198568315.001.0001 ↗
32. Chopin, N. & Robert, C. P. Properties of nested sampling. Biometrika 97, 741–755 (2010).10.1093/biomet/asq021 ↗
33. Buchner, J. Nested sampling methods. Stat. Surv. 17, 169–215 (2023).10.1214/23-SS144 ↗
34. Xie, Y., Xu, Z., Ma, J. & Mei, Q. How much space has been explored? measuring the chemical space covered by databases and machine-generated molecules. In Proceedings of the Eleventh International Conference on Learning Representations (ICLR) (2023).
35. Renz, P., Luukkonen, S. & Klambauer, G. Diverse hits in de novo molecule design: Diversity-based comparison of goal-directed generators. J. Chem. Inf. Model. 64, 5756–5761 (2024).10.1021/acs.jcim.4c00519 ↗
36. Hayashi, N., Nakashima, K., Enoki, M. & Ohtani, H. Thermodynamic analysis of the Al-Mg-Zn ternary system. Nippon Kinzoku Gakkaishi/J. Jpn. Inst. Met. 84, 141–150 (2020).10.2320/jinstmet.JBW201905 ↗
37. Kiyohara, S., Oda, H., Tsuda, K. & Mizoguchi, T. Acceleration of stable interface structure searching using a kriging approach. Jpn. J. Appl. Phys. 55, 045502 (2016).10.7567/JJAP.55.045502 ↗
38. Motoyama, Y. et al. Bayesian optimization package: PHYSBO. Comput. Phys. Commun. 278, 108405 (2022).10.1016/j.cpc.2022.108405 ↗
39. Tamura, R., Tsuda, K. & Matsuda, S. NIMS-OS: an automation software to implement a closed loop between artificial intelligence and robotic experiments in materials science. Sci. Technol. Adv. Mater.: Methods 3, 2232297 (2023).
40. Tamura, R. et al. Seamless integration of legacy robotic systems into a self-driving laboratory via NIMO: a case study on liquid handler automation. Sci. Technol. Adv. Mater.: Methods 2565144 (2025).10.1080/27660400.2025.2565144 ↗
41. Speagle, J. S. dynesty: a dynamic nested sampling package for estimating Bayesian posteriors and evidences. Month. Not. R. Astron. Soc. 493, 3132–3158 (2020).10.1093/mnras/staa278 ↗
42. Ashton, G. et al. Nested sampling for physical scientists. Nat. Rev. Methods Prim. 2, 39 (2022).10.1038/s43586-022-00121-x ↗
43. Williams, C. K. & Rasmussen, C. E.Gaussian Processes for Machine Learning, vol. 2 MIT Press, Cambridge, MA, (2006).10.7551/mitpress/3206.001.0001 ↗
44. Varoquaux, G., Vaught, T. & Millman, J. (eds.). Exploring Network Structure, Dynamics, and Function using NetworkX Pasadena, CA, USA, (2008).