Thompson Sampling in Function Spaces via Neural Operators

Rafael Oliveira, Xuesong Wang, Kian Ming A. Chai, Edwin V. Bonilla
6/27/2025
stat.MLcs.LG

No official code found. Best implementation: csiro-funml/nots (5 stars, MIT, last commit 2026-01-23).

Abstract

We propose an extension of Thompson sampling to optimization problems over function spaces where the objective is a known functional of an unknown operator's output. We assume that queries to the operator (such as running a high-fidelity simulator or physical experiment) are costly, while functional evaluations on the operator's output are inexpensive. Our algorithm employs a sample-then-optimize approach using neural operator surrogates. This strategy avoids explicit uncertainty quantification by treating trained neural operators as approximate samples from a Gaussian process (GP) posterior. We derive regret bounds and theoretical results connecting neural operators with GPs in infinite-dimensional settings. Experiments benchmark our method against other Bayesian optimization baselines on functional optimization tasks involving partial differential equations of physical systems, demonstrating better sample efficiency and significant performance gains.

View on arXivView PDF

Code Implementations(1)

csiro-funml/notsCommunity65%
MIT

Neural Operator Thompson Sampling (NOTS): Code repository for research paper "Thompson Sampling in Function Spaces via Neural Operators" published at NeurIPS 2025

51PythonOct 24, 20259 months agoMIT
bayesian-optimizationneural-operatorthompson-sampling

Similar Papers

Cite this paper

@article{oliveira2025thompson,
  title  = {Thompson Sampling in Function Spaces via Neural Operators},
  author = {Rafael Oliveira and Xuesong Wang and Kian Ming A. Chai and Edwin V. Bonilla},
  year   = {2025},
  eprint = {2506.21894},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.21894v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.21894.svg)](https://codeofpaper.com/paper/2506.21894)

Discussion