Test Time Scaling for Neural Processes

Kyunghyun Cho (Genentech / NYU) · Juho Lee (KAIST, AITRICS) · Hyungi Lee (Kookmin University) · Moonseok Choi (KAIST, Korea Advanced Institute of Science and Technology) · Hyunsu Kim (Voronoi Inc.) · Rajesh Ranganath (New York University)
global latent variableimplicit stochastic processeslatent samplesneural processesneural transition kernelsprediction qualitypredictive accuracyrobust and trustworthysequential inference frameworksequential monte carlo samplertest time scalingtrue posterioruncertainty calibrationuncertainty estimatesuncertainty-aware meta-learningvariational posteriors

Uncertainty-aware meta-learning aims not only for rapid adaptation to new tasks but also for reliable uncertainty estimation under limited supervision. Neural Processes (NPs) offer a flexible solution by learning implicit stochastic processes directly from data, often using a global latent variable to capture functional uncertainty. However, we empirically find that variational posteriors for this global latent variable are frequently miscalibrated, limiting both predictive accuracy and the reliability of uncertainty estimates. To address this issue, we propose Test Time Scaling for Neural Processes (TTSNPs), a sequential inference framework based on Sequential Monte Carlo Sampler (SMCS) that refines latent samples at test time without modifying the pre-trained NP model. TTSNPs iteratively transform variational samples into better approximations of the true posterior using neural transition kernels, significantly improving both prediction quality and uncertainty calibration. This makes NPs more robust and trustworthy, extending applicability to various scenarios requiring well-calibrated uncertainty estimates.