Learning where to learn: Training data distribution optimization for scientific machine learning

Nicolas Guerra, Nicholas H. Nelsen, Yunan Yang
5/27/2025
cs.LGmath.OCstat.ML

No official code found. Best implementation: nicolas-guerra/learning-where-to-learn (1 star, MIT, last commit 2025-12-05).

Abstract

In scientific machine learning, models are routinely deployed with parameter values or boundary conditions far from those used in training. This paper studies the learning-where-to-learn problem of designing a training data distribution that minimizes average prediction error across a family of deployment regimes. A theoretical analysis shows how the training distribution shapes deployment accuracy. This motivates two adaptive algorithms based on bilevel or alternating optimization in the space of probability measures. Discretized implementations using parametric distribution classes or nonparametric particle-based gradient flows deliver optimized training distributions that outperform nonadaptive designs. Once trained, the resulting models exhibit improved sample complexity and robustness to distribution shift. This framework unlocks the potential of principled data acquisition for learning functions and solution operators of partial differential equations.

View on arXivView PDF

Code Implementations(1)

MIT

Training Distribution Selection for Provable OOD Performance

11Shell, PythonMay 27, 202510 months agoMIT
bilevel-optimizationdistribution-shiftgeneralization-boundsgeneralization-erroroperator-learning+1 more

Similar Papers

Cite this paper

@article{guerra2025learning,
  title  = {Learning where to learn: Training data distribution optimization for scientific machine learning},
  author = {Nicolas Guerra and Nicholas H. Nelsen and Yunan Yang},
  year   = {2025},
  eprint = {2505.21626},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.21626v3}
}

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/2505.21626.svg)](https://codeofpaper.com/paper/2505.21626)

Discussion