AI中决策相关不确定性的可解释归因
Interpretable attribution of decision-relevant uncertainty in AI
导读
《Nature Machine Intelligence》发表研究,提出一种基于多项式混沌展开的方法,用于识别决策相关不确定性的来源。研究显示,在基于人类反馈的强化学习中,93%的奖励模型方差来自所有候选奖励的统一偏移,而选择策略可证明会忽略该方向,因此消除它不会改变决策。该方法在Buchwald–Hartwig胺化、贝叶斯优化和强化学习人类反馈中识别出值得消除的不确定性成分,核心保证已在Lean 4中机器验证。
正在把原文翻译成中文,长文需要一两分钟;先显示原文。
- Article
- Open access
- Published: 02 December 2026
Nature Machine Intelligence (2026) Cite this article
A preprint version of the article is available at arXiv.
Abstract
Decision-making pipelines rely on learned models: generative models propose molecules to maximize a learned score, design loops select experiments from fitted surrogates, and language models are tuned against learned rewards. Trained on finite data, these models pass their uncertainty to the decisions. Existing methods quantify how uncertain a decision is. Here we ask which components of that uncertainty the decision depends on. We fit a polynomial surrogate to a small ensemble of trained models and decompose the decision’s uncertainty into components from its coefficients. The model’s variance spectrum describes how its uncertainty is distributed. The decision’s value-of-information spectrum quantifies how much resolving each component would stabilize its value. Across chemistry, experimental design and language-model alignment, these spectra range from aligned to opposed. In reinforcement learning from human feedback, for example, 93% of the reward-model variance lies in a uniform shift of all candidate rewards, which the selection policy provably ignores, so resolving it leaves the decision unchanged. Sparse expansions make the decomposition reliable from tens of models. A training-noise diagnostic certifies when it applies, and the core guarantees are machine-checked in Lean 4. In Buchwald–Hartwig amination, Bayesian optimization on measured yields and reinforcement learning from human feedback, the method identifies the components worth resolving, which range from the model’s largest uncertainty source to among its smallest.
Main
Learned models increasingly mediate the path from data to decisions. A generative model, such as a generative flow network (GFlowNet), constructs candidate molecules to maximize a learned property score1,2. A Bayesian optimization loop selects the next experiment using a Gaussian-process surrogate of an expensive objective3,4,5,[6](https://www.nature.com/articles/s42256-026-01340-7#ref-CR6 "Frazier, P. I. A tutorial on Bayesian optimization. Preprint at https://doi.org/10.48550/arxiv.1807.02811
(2018)."). A language model is fine\-tuned against a learned reward model that guides optimization towards preferred behaviours[7](#ref-CR7 "Christiano, P. F. et al. Deep reinforcement learning from human preferences. In Advances in Neural Information Processing Systems Vol. 30 (eds Guyon, I. et al.) 4299–4307 (Curran Associates, 2017)."),[8](#ref-CR8 "Ouyang, L. et al. Training language models to follow instructions with human feedback. In Advances in Neural Information Processing Systems Vol. 35 (eds Koyejo, S. et al.) 27730–27744 (Curran Associates, 2022)."),[9](https://www.nature.com/articles/s42256-026-01340-7#ref-CR9 "Hu, E. J. et al. Amortizing intractable inference in large language models. In Proc. 12th International Conference on Learning Representations
https://openreview.net/forum?id=Ouj6p4ca60
(ICLR, 2024)."). In each case, decisions are conditioned on a learned objective estimated from limited data, so the policy inherits the objective’s epistemic uncertainty[10](https://www.nature.com/articles/s42256-026-01340-7#ref-CR10 "Gal, Y. Uncertainty in Deep Learning. PhD thesis, Univ. Cambridge (2016)."). A broad range of uncertainty quantification methods characterizes this uncertainty. Bayesian neural networks[11](https://www.nature.com/articles/s42256-026-01340-7#ref-CR11 "Blundell, C., Cornebise, J., Kavukcuoglu, K. & Wierstra, D. Weight uncertainty in neural networks. In Proc. 32nd International Conference on Machine Learning Vol. 37 (eds Bach, F. & Blei, D.) 1613–1622 (PMLR, 2015)."), deep ensembles[12](https://www.nature.com/articles/s42256-026-01340-7#ref-CR12 "Lakshminarayanan, B., Pritzel, A. & Blundell, C. Simple and scalable predictive uncertainty estimation using deep ensembles. In Advances in Neural Information Processing Systems Vol. 30 (eds Guyon, I. et al.) 6402–6413 (Curran Associates, 2017).") and related approaches estimate how uncertain a prediction or decision is. Methods that decompose predictive uncertainty into aleatoric and epistemic components quantify the contribution of each source[13](https://www.nature.com/articles/s42256-026-01340-7#ref-CR13 "Depeweg, S., Hernández-Lobato, J. M., Doshi-Velez, F. & Udluft, S. Decomposition of uncertainty in Bayesian deep learning for efficient and risk-sensitive learning. In Proc. 35th International Conference on Machine Learning Vol. 80 (eds Dy, J. & Krause, A.) 1184–1193 (PMLR, 2018)."), and counterfactual explanations attribute it to input features[14](https://www.nature.com/articles/s42256-026-01340-7#ref-CR14 "Antorán, J., Bhatt, U., Adel, T., Weller, A. & Hernández-Lobato, J. M. Getting a CLUE: a method for explaining uncertainty estimates. In Proc. 9th International Conference on Learning Representations
https://openreview.net/forum?id=XSLF1XFq5h
(ICLR, 2021)."). All these quantify the magnitude of a decision’s uncertainty. None of them identifies which uncertain components of the learned objective are responsible for selecting one action over another.
We address this gap with variance-based global sensitivity analysis from computational engineering15,16. A polynomial-chaos expansion (PCE)17 approximates a quantity of interest as a polynomial in random inputs. Its coefficients yield analytical Sobol’ sensitivity indices with no further sampling15. Established toolboxes compute these indices for directly computable simulators (for example, UQLab and UQ[py]Lab[18](https://www.nature.com/articles/s42256-026-01340-7#ref-CR18 "Marelli, S. & Sudret, B. UQLab: a framework for uncertainty quantification in MATLAB. In Proc. 2nd International Conference on Vulnerability, Risk Analysis and Management (eds Beer, M. et al.) 2554–2563 https://doi.org/10.1061/9780784413609.257
(ASCE, 2014).")). We extend the approach to trained, non\-differentiable generative policies. We parameterize the objective\-model uncertainty in a few dimensions, fit a PCE surrogate for the policy and use its coefficients to identify which uncertainty sources drive each decision.
Two ingredients make this approach practical. First, sparse and arbitrary PCE19,20,21 provide accurate, distributionally valid sensitivity indices from only tens of samples, matching the budget imposed by the cost of training each policy. Second, an applicability diagnostic, based on the surrogate approximation error and a control for training-induced variability, determines when policy behaviour is driven by uncertainty in the learned objective and when it is dominated by stochasticity in the training process. Together, these safeguards prevent over-interpreting sensitivity estimates outside their regime of validity.
Our main finding is a relationship between two quantities. The variance spectrum of a learned model describes how its uncertainty is distributed across components. The value-of-information spectrum of the decision it feeds scores each component by how much resolving it would stabilize the decision’s value. Across three real-data studies, the two range from closely aligned to strongly opposed. In reinforcement learning from human feedback (RLHF), they are opposed because the reward-model ensemble places most of its variance in a uniform offset of all candidate rewards, a direction to which the selection policy is invariant by a theorem we machine-check (T6). The method computes both spectra analytically from a sparse or arbitrary-PCE surrogate of a small policy ensemble, through trained, non-differentiable policies where classical value-of-information estimators are unsuitable. Convergence, uncertainty-propagation and decision-value guarantees are machine checked in Lean 4, and negative controls delimit the method’s domain of validity.
Relationship to previous work
A preliminary version of the core idea, a dense Hermite PCE for one GFlowNet policy, appeared in a workshop paper[22](https://www.nature.com/articles/s42256-026-01340-7#ref-CR22 "Nartallo-Kaluarachchi, R. et al. Quantifying policy uncertainty in generative flow networks with uncertain rewards. In NeurIPS 2025 Workshop on ML × OR: Mathematical Foundations and Operational Integration of Machine Learning for Uncertainty-Aware Decision-Making https://openreview.net/forum?id=68kzwj26t4
(2025)."). The present paper generalizes the framework to decision\-making models under epistemic uncertainty and adds four elements: sparse and arbitrary PCE, which admit higher\-dimensional uncertainty parameterizations; a certified recovery result (Theorem A) built on the softmax\-Lipschitz theorem (T5; section ‘Formal guarantees’); a scale\-invariant fragility metric and a training\-noise diagnostic; and three real\-data studies (closed\-loop validation on measured Buchwald–Hartwig yields, Bayesian optimization on the real reaction space and an RLHF study on real preference data) in place of the single original case study. Deep, compositional and encoder\-based polynomial\-chaos surrogates[23](#ref-CR23 "Exenberger, J., Ranftl, S. & Peharz, R. Deep polynomial chaos expansion. In Proc. 29th International Conference on Artificial Intelligence and Statistics Vol. 300 (eds Khan, E. et al.) 4033–4041 (PMLR, 2026)."),[24](#ref-CR24 "Oladyshkin, S. et al. The deep arbitrary polynomial chaos neural network or how deep artificial neural networks could benefit from data-driven homogeneous chaos theory. Neural Netw. 166, 85–104 (2023)."),[25](https://www.nature.com/articles/s42256-026-01340-7#ref-CR25 "Shustin, P. F. et al. PCE-Net: high-dimensional surrogate modeling for learning uncertainty. SIAM/ASA J. Uncertain. Quantif. 14, 168–196
https://doi.org/10.1137/24M1723838
(2026).") (the last, PCENet, learns a variational\-autoencoder representation before the PCE) target surrogate accuracy in high dimensions. We use the PCE coefficients for decision attribution, and that line of work could be plugged in to extend the input dimension we can attribute over.
Results
Attribution framework
We consider a policy π conditioned on a learned objective model R drawn from a distribution \({\mathcal{R}}\) that reflects epistemic uncertainty. Each realization of R induces a different policy. We do not characterize the entire policy over a possibly exponential or continuous state space. We fix a decision path, the sequence of states visited along a trajectory of interest: for a sequential generative model, the construction of one chosen object such as a specific molecule; for a single-shot decision such as an acquisition or a best-of-n selection, a single node. We then attribute the uncertainty in the action distribution at each decision on that path. The cost of this path-conditioned analysis is set by the length of the chosen path alone, so it applies unchanged in large discrete or continuous spaces.
The pipeline has three stages (Fig. 1a). (1) We parameterize the objective-model uncertainty by a low-dimensional \(\bf {{\upmu }}\in {{\mathbb{R}}}^{d}\). Each objective-model realization is evaluated on one fixed set of reference points, which gives one vector per realization, and principal-component analysis (PCA) of these vectors, fitted on the training members, yields μ. Where exact modes exist, such as the Karhunen–Loève expansion of a Gaussian-process posterior, we use them instead. For strongly nonlinear reward manifolds a learned embedding, such as the variational autoencoder of PCENet[25](https://www.nature.com/articles/s42256-026-01340-7#ref-CR25 "Shustin, P. F. et al. PCE-Net: high-dimensional surrogate modeling for learning uncertainty. SIAM/ASA J. Uncertain. Quantif. 14, 168–196 https://doi.org/10.1137/24M1723838
(2026)."), can replace PCA (Supplementary Table [14](https://www.nature.com/articles/s42256-026-01340-7#MOESM1)). (2\) We obtain one policy per realization and read its action distribution at every decision on the chosen path. What ‘obtaining the policy’ means depends on the pipeline: training a GFlowNet on the realization’s reward, applying a closed\-form acquisition rule to a posterior draw, or applying a best\-of\-*n* selection rule to reward scores of frozen completions (Fig. [1b](https://www.nature.com/articles/s42256-026-01340-7#Fig1)). (3\) At each decision, we map the *K* action probabilities to *K* − 1 additive log ratios, with the last action as reference, and fit one PCE per log ratio ([Methods](https://www.nature.com/articles/s42256-026-01340-7#Sec12)). The coefficients give analytical first\-order and total\-order Sobol’ indices that attribute the variance of each log ratio to each uncertainty component. The per\-decision index that we report (see Figs. 2c, 4a and 5a) is the mean of these indices over the *K* − 1 log ratios. A scale\-invariant fragility functional measures how uncertain each decision on the path is.
Fig. 1: Attribution framework.

a, Pipeline with the input and output of each stage. Objective-model realizations are evaluated on a fixed reference set and reduced to \({\bf{\upmu }}\in {{{{\mathbb{R}}}}}^{d}\). One policy per realization is read at each decision on the path, and one sparse or arbitrary PCE is fitted per additive log ratio. The Sobol’ indices, the scale-invariant fragility, the value-of-information spectrum and the applicability diagnostic are read from the coefficients and the held-out error. b, The same stages in the three case studies: the objective model and its realizations, the reference points on which μ is built, the retained dimension d, what one policy is, the ensemble size L and the decisions on the path with their action counts K.
As a worked example, in the Buchwald–Hartwig study, one realization of the objective model is a yield predictor trained on one 30% subsample of the reactions. Each of the 150 predictors is evaluated on the same 500 reference reactions, and PCA of the resulting yield vectors, fitted on the 50 training members, gives \({\bf{\upmu }}\in {{\mathbb{R}}}^{5}\). One GFlowNet policy is trained per predictor, and its action distributions are read at the four decisions of the path (catalyst, base, aryl halide and additive, with 4, 3, 16 and 24 actions). At each decision, the K − 1 log ratios are fitted by sparse PCE on the 50 training members and tested on the 100 held-out members. The outputs are the held-out surrogate error, the Sobol’ indices with bootstrap intervals and the fragility per decision. Figure 1b gives the same correspondence for all three case studies. The next three sections attribute the policy in three decision problems. The section ‘Decision-relevant uncertainty and the value-of-information spectrum’ compares the decision’s value-of-information spectrum with the model’s variance spectrum. The section ‘Applicability diagnostic and negative controls’ shows where the diagnostic abstains.
Reaction optimization in Buchwald–Hartwig cross-coupling
Chuang and Keiser26 showed that the Doyle–Dreher yield predictor27 for Pd-catalysed Buchwald–Hartwig amination carries strong substrate-identity effects. Existing methods cannot attribute its prediction uncertainty to specific reaction components. We frame reaction-condition selection as a four-step policy (catalyst, base, aryl halide, additive) with reward from a yield proxy trained on 30% of the data. The epistemic uncertainty comes from the unobserved combinations. We train ensembles of policies on independent proxy realizations and parameterize the reward uncertainty by PCA of the proxy outputs, as in the walkthrough above.
A sparse arbitrary-PCE surrogate reproduces the ensemble policy to relative mean-square error 0.16, a 3.6× improvement over dense ridge, while selecting 2 to 3 of the 56 candidate basis functions. The accuracy is stable as the retained dimension grows from five to ten (the retained modes then explain 38–62% of the proxy-output variance; Methods and Supplementary Table 2). The attribution is also stable in the ensemble size. Sweeping the reward-model ensemble from 6 to 30 members leaves the per-step fragility within its between-seed spread and the ranking unchanged, settling by about 15 to 20 members (Supplementary Information, section 4.1). Under the scale-invariant fragility metric, additive selection is the most fragile step (0.24) and base selection the most robust (0.02), with aryl halide (0.17) and catalyst (0.11) intermediate (Fig. 2). At the decision level, the Chuang–Keiser concern becomes the question of which recommendations depend on which reactions were observed. Additive recommendations are the most sensitive to the observed reactions and warrant the most additional data, whereas base and catalyst recommendations are comparatively robust to the data.
Fig. 2: Buchwald–Hartwig: per-step decision fragility, sparse-PCE accuracy and mode attribution.

a, Per-step scale-invariant fragility (expected total-variation distance (TV) of a member’s policy from the ensemble barycentre), computed over the n = 100 held-out policy members: additive selection is the most fragile (0.24) and base the most robust (0.02). b, Sparse arbitrary-PCE versus dense ridge relative mean-square error (m.s.e.) on the same n = 100 held-out members, averaged over the four decisions. The sparse surrogates are fitted by least-angle regression (LARS) or orthogonal matching pursuit (OMP) on an arbitrary polynomial chaos (aPC) basis. c, Attribution of the additive decision to the retained uncertainty modes. Box plots show the distribution of the first-order Sobol’ index over n = 200 model-conditional bootstrap resamples of the 50 training members (centre line, median; box, 25th to 75th percentiles; whiskers, 5th and 95th percentiles, which bound the 90% confidence interval; dots, resamples beyond the whiskers; white diamond, bootstrap mean). Orange bars are the surrogate Shapley effects, a single estimate on the full training set, which remain valid under dependence. The first-order indices sum to about a third, so interactions carry most of this decision’s variance. The Shapley effects, which credit each mode with its share of the interaction terms as well, are correspondingly flatter. d, Held-out relative mean-square error (n = 100 members) against the retained principal-component dimension. Per-step fragility values are in Supplementary Table 5 and the interaction fractions in Supplementary Information, section 4.1.
We validate this ranking on the measured yields using the reward-model ensemble alone, which isolates the reward-driven signal from GFlowNet training noise. The per-step fragility reproduces the ranking across three ensemble seeds (Fig. 3). The predictor’s own yield-prediction uncertainty is, if anything, smallest for additives, and its magnitude correlates with fragility at −0.96 (Pearson correlation across the four components), which rules out predictor uncertainty as the driver of the ordering. The driver is decision contestedness: 10 of the 24 additives fall within 10% yield of the best, against a single clear-winner base. Contestedness correlates with fragility at +0.96, and an equal-noise null on the real yield landscape reproduces the ranking at 0.91. A data-scaling analysis completes the value-of-information reading. Additive fragility falls most as reactions are observed (0.49 at 2% to 0.12 at 40%) while base stays robust. Additive recommendations are therefore the least robust because many additives are near-optimal and the predictor cannot rank them with confidence. The held-out error also bounds the training-seed noise, which is independent of μ. A relative error of 0.16 leaves at most that share of the log-ratio variance to it, so the attribution is reward driven. Surrogate Shapley effects agree with the Sobol’ indices, so the conclusions do not hinge on input independence. The decision-level attribution is stable as the retained dimension grows from five to ten, and the modes are near-independent (maximum distance correlation 0.27). The surrogate is well calibrated (near-nominal coverage at 50–95%, approximately uniform probability integral transform, mean continuous ranked probability score 0.017; Supplementary Table 3).
Fig. 3: Buchwald–Hartwig closed-loop validation on measured yields.

a, Per-step fragility computed from the reward-model ensemble alone (n = 25 yield predictors trained on 30% of the reactions; 1 value per component), which isolates the reward signal from training noise, reproduces the ranking (additive most fragile, base most robust). Supplementary Table 7 gives the mean and s.d. over three ensemble seeds. b, Fragility learning curve (n = 12 yield predictors per point): additive fragility falls the most as reactions are observed while base stays robust, so additional data resolve the fragile decision most.
Sequential experimental design with Bayesian optimization
We next apply the method where the coupling between model uncertainty and decision holds by construction. Given a Gaussian-process objective model28, the acquisition policy that selects the next experiment is a deterministic function of the posterior5,[6](https://www.nature.com/articles/s42256-026-01340-7#ref-CR6 "Frazier, P. I. A tutorial on Bayesian optimization. Preprint at https://doi.org/10.48550/arxiv.1807.02811
(2018)."), so objective\-model uncertainty drives the decision by definition. We parameterize the posterior uncertainty by its leading Karhunen–Loève modes. These are independent standard Gaussians, so the Hermite PCE is exactly orthonormal and the Sobol’ indices are valid with no further assumption. We run this on the real Buchwald–Hartwig reaction space, treating the measured yields as the black\-box objective. A Gaussian process fitted to a seed set of reactions defines the acquisition policy over an unobserved candidate contention set. The surrogate reproduces that policy to relative mean\-square error 0\.38 ± 0\.05 (five random seeds) and attributes the next experiment choice to a handful of posterior modes (the largest first\-order indices, 0\.22 and 0\.19, fall on the second and third modes). The error falls monotonically as modes are retained (0\.72, 0\.57, 0\.38, 0\.14 for 3, 5, 8, 12 modes), and the leading eight modes explain 81% of the posterior variance. On a synthetic Gaussian\-process objective with a smooth policy, the surrogate reaches relative mean\-square error 0\.035 (Fig. [4](https://www.nature.com/articles/s42256-026-01340-7#Fig4)), so the construction is exact and the larger real\-data error reflects the multi\-mode structure of the real posterior. This is a direct optimal\-experimental\-design tool[29](#ref-CR29 "Chaloner, K. & Verdinelli, I. Bayesian experimental design: a review. Stat. Sci. 10, 273–304 (1995)."),[30](#ref-CR30 "Haber, E., Horesh, L. & Tenorio, L. Numerical methods for experimental design of large-scale linear ill-posed inverse problems. Inverse Probl. 24, 055012 (2008)."),[31](https://www.nature.com/articles/s42256-026-01340-7#ref-CR31 "Haber, E., Horesh, L. & Tenorio, L. Numerical methods for the design of large-scale nonlinear discrete ill-posed inverse problems. Inverse Probl. 26, 025002 (2010)."): it identifies the uncertainty directions whose resolution would most stabilize the next experiment.
Fig. 4: Bayesian optimization and optimal-experimental design on the real Doyle–Dreher reaction space.

a, First-order Sobol’ indices attributing the acquisition decision to the Gaussian-process posterior-uncertainty modes. Bars, mean over n = 5 independent seeds (each seed is a different random set of 30 observed reactions with independent posterior draws, 1,500 training and 400 held-out draws); open circles, the individual seeds. KL, Karhunen–Loève. b, Convergence of the held-out relative mean-square error in the number of retained modes on the real reaction space (filled circles, mean; error bars, s.d. over the same n = 5 seeds; open circles, individual seeds), with the synthetic Gaussian-process (GP) case (squares; a single run, no error bar) as an exact-validity reference. c, Held-out relative mean-square error on the real space (bar, mean; error bar, s.d.; open circles, the n = 5 seeds) versus the synthetic reference (single run).
Language-model alignment under RLHF reward-model uncertainty
The reward model stands between human preferences and the policy7,8. Language models are fine-tuned to optimize it, so its epistemic uncertainty, inherited from limited preference data, propagates into generation and optimizing it too hard degrades true performance (reward overoptimization)32,[33](#ref-CR33 "Coste, T., Anwar, U., Kirk, R. & Krueger, D. Reward model ensembles help mitigate overoptimization. In Proc. 12th International Conference on Learning Representations https://openreview.net/forum?id=dcjtMYkpXx
(ICLR, 2024)."),[34](https://www.nature.com/articles/s42256-026-01340-7#ref-CR34 "Eisenstein, J. et al. Helping or herding? Reward model ensembles mitigate but do not eliminate reward hacking. In Proc. First Conference on Language Modeling
https://openreview.net/forum?id=5u1GpUkKtG
(COLM, 2024)."). We study this on real human preferences (Anthropic hh\-rlhf). An ensemble of reward models (a frozen encoder with Bradley–Terry heads[35](https://www.nature.com/articles/s42256-026-01340-7#ref-CR35 "Bradley, R. L. & Terry, M. E. Rank analysis of incomplete block designs: I. The method of paired comparisons. Biometrika 39, 324–345 (1952)."), held\-out pairwise accuracy 0\.67\) supplies epistemic uncertainty as ensemble disagreement. A GPT\-2 base policy supplies best\-of\-*n* candidate completions, and the best\-of\-*n* selection policy *π*(*y*) ∝ exp(*r*(*y*)/*β*) is the generation decision. The sparse arbitrary\-PCE surrogate captures the best\-of\-8 policy at relative mean\-square error 0\.44 ± 0\.03 (three reward\-model\-ensemble seeds). This is a modest fit: the selection softmax over discrete completions is a sharper target than the smooth chemistry policies. Because the Sobol’ indices are shares of the surrogate’s variance, they attribute the part of the policy variance that the surrogate captures, about 56% here, and leave the residual unattributed ([Methods](https://www.nature.com/articles/s42256-026-01340-7#Sec12)). The overoptimization findings below rest on the reward\-model and gold\-model rewards alone and are independent of the surrogate’s accuracy.
The reward-model ensemble places 93% of its variance in its leading mode m1, and m1 is a uniform offset of the rewards of all candidate completions: its loading vector has cosine 0.998 with the all-ones direction (measured in a rerun of the study, in which this mode carried 88% of the variance; Supplementary Information, section 4.3). This offset is the translation that the Bradley–Terry likelihood leaves unidentified. The preference loss depends only on reward differences between completions of the same prompt, so no preference data can fix it. By T6 (section ‘Formal guarantees’), the softmax selection policy is invariant to such an offset, so m1 can have no effect on the decision. The surrogate recovers this: m1 has a near-zero first-order index (0.04), which we read as an internal validity check of the pipeline. The next three modes, which together hold under 7% of the reward-model variance, carry the whole attribution (first-order indices 0.31, 0.26, 0.20). We split the prompts at the median reward-model disagreement. The high-disagreement prompts are more fragile than the low-disagreement ones (0.37 ± 0.02 versus 0.29 ± 0.01, non-overlapping), so the diagnostic localizes where reward-model uncertainty drives generation. Three measurements are consistent with reward overoptimization. As the KL penalty β falls from 2.0 to 0.1, the fragility rises monotonically (0.12 to 0.59). As the best-of-n pool grows to 16, it rises likewise (0.18 to 0.36). Most directly, an independent gold reward model trained on a disjoint half of the preferences shows the true reward of the proxy-selected completion rising far more slowly than the proxy reward it is chosen by, from 0.30 to 0.66 against 0.50 to 1.75 standardized units as n grows from 2 to 16. The proxy-minus-gold gap therefore widens from 0.2 to 1.1 (Fig. 5). Reward-model uncertainty is currently used as an aggregate signal, folded into a scalar penalty or an ensemble-disagreement regularizer[33](https://www.nature.com/articles/s42256-026-01340-7#ref-CR33 "Coste, T., Anwar, U., Kirk, R. & Krueger, D. Reward model ensembles help mitigate overoptimization. In Proc. 12th International Conference on Learning Representations https://openreview.net/forum?id=dcjtMYkpXx
(ICLR, 2024)."),[34](https://www.nature.com/articles/s42256-026-01340-7#ref-CR34 "Eisenstein, J. et al. Helping or herding? Reward model ensembles mitigate but do not eliminate reward hacking. In Proc. First Conference on Language Modeling
https://openreview.net/forum?id=5u1GpUkKtG
(COLM, 2024)."),[36](https://www.nature.com/articles/s42256-026-01340-7#ref-CR36 "Zhai, Y. et al. Uncertainty-penalized reinforcement learning from human feedback with diversified reward LoRA ensembles. Inf. Process. Manag. 63, 104548 (2026)."). The present method attributes it to directions. Full\-parameter reward\-model fine\-tuning is a natural extension.
Fig. 5: RLHF reward-model uncertainty on real hh-rlhf preferences.

a, First-order Sobol’ indices attributing the best-of-eight generation decision to reward-model-uncertainty modes for high-disagreement versus low-disagreement prompts (bars, mean over the 24 prompts in each half and n = 3 independent reward-model-ensemble seeds). The highest-variance mode m1 is the uniform-offset direction to which the softmax is invariant (T6). Its near-zero index confirms that the surrogate recovers this invariance. b, Policy fragility rises as the KL penalty falls. Data are mean ± s.d. over n = 3 independent reward-model-ensemble seeds (each seed retrains the 120 reward heads on new bootstraps of the preference pairs). The s.d. (≤0.005) is smaller than the markers. c, The true (gold) reward of the proxy-selected completion rises more slowly than the proxy reward it is selected on, and the gap widens with the best-of-n pool, so the proxy increasingly overstates the true gain. Points are means over the 48 prompts and n = 3 seeds (s.d. over seeds ≤0.02, smaller than the markers).
Decision-relevant uncertainty and the value-of-information spectrum
The attributions above decompose the policy. A practitioner ultimately acts on the decision’s value. We therefore compute, for each pipeline, the value function \(V({\bf{\upmu }})={{\mathbb{E}}}_{y \sim {\pi }_{{\bf{\upmu }}}}[{r}_{{\rm{gold}}}(y)]\), the expected true reward of the decision under objective-model realization μ and read its Sobol’ indices. The result is a value-of-information spectrum: how much resolving each uncertainty mode would stabilize the decision’s value. This is the variance-based counterpart of the classical decision-analytic expected value of partial perfect information37,38,39,40,41. The distinctive step is computing it analytically from the surrogate and through a trained, non-differentiable policy, which the nested-Monte-Carlo expected value of partial perfect information and differentiable decision-focused methods cannot reach. The value is a far more additive object than the policy (first-order indices explain 84–96% of its variance, versus a quarter or less of the policy’s), so its decomposition is interpretable mode by mode. The value surrogates fit at in-sample relative mean-square error 0.23 (Buchwald–Hartwig), 0.22 (Bayesian optimization) and 0.58 (RLHF) (Supplementary Information, section 3.9). The RLHF value spectrum therefore carries the same caveat as its policy spectrum, and its headline feature, the irrelevance of m1, rests on T6 and on the measured variance spectrum rather than on the surrogate.
The value-of-information spectrum and the model’s variance spectrum range from closely aligned to strongly opposed (Fig. 6). On Buchwald–Hartwig, they are aligned (correlation +0.88): the largest source of predictor uncertainty is also the most decision relevant. Bayesian optimization sits between (+0.29). On RLHF, they are strongly anti-aligned (−0.93). The empirical content of this anti-alignment is the variance spectrum: the reward-model ensemble concentrates 93% of its variance in the uniform-offset direction. That this direction carries only 8% of the decision value of information then follows from T6, and the surrogate’s recovery of it is the validity check of the section ‘Language-model alignment under RLHF reward-model uncertainty’. The consequence is practical and, for language-model alignment, cautionary. Acquiring data to reduce the largest source of reward-model uncertainty, the default in reward-model active learning, would in the RLHF setting target a direction that preference data cannot resolve and the decision ignores. The value-of-information spectrum names the directions worth resolving instead. Whether model uncertainty is decision relevant is thus pipeline-dependent and cannot be known a priori. We call this pipeline-to-pipeline spread in the agreement of the two spectra, from concordant to opposed, the alignment gradient (Fig. 6f).
Fig. 6: Variance spectrum versus value-of-information spectrum in three pipelines.

a–c, For each pipeline, the objective-model uncertainty variance per mode (light) and the decision value of information per mode (dark), with modes ordered by variance: chemistry aligned (a), Bayesian optimization (BO) partly aligned (b) and RLHF anti-aligned (c). In RLHF, the top mode is the uniform-offset direction to which the softmax is invariant (T6). This mode holds 93% of the uncertainty variance and 8% of the decision value of information. Corr., correlation. d,e, Retrospective acquisition: residual decision-value variance on held-out members versus modes resolved in value of information, variance or random order: chemistry (d) and RLHF (e). In RLHF, the variance order’s first acquisition resolves nothing. f, The alignment gradient: the Pearson correlation of the two spectra in a–c runs from +0.88 (chemistry) to −0.93 (RLHF). All values are single estimates from the ensembles of Fig. 1b (spectra on the training members, residual curves on the held-out members). No error statistics are derived.
A retrospective, out-of-sample acquisition simulation makes the cost concrete (Fig. 6d,e). We resolve uncertainty modes in value-of-information order, in variance order or at random, and track the residual decision-value variance on held-out ensemble members. On Buchwald–Hartwig, the value-of-information and variance orders coincide and both far outrun random. On RLHF, they part sharply. The variance order spends its first and largest acquisition, the 93%-variance mode, for no reduction in decision-value variance, while the value-of-information order reduces it immediately. The value-of-information order is greedy optimal by construction. The content of the comparison is how far the variance order, the field’s default, falls short in the RLHF setting. A live closed-loop acquisition study is left to future work.
Applicability diagnostic and negative controls
The method applies only where objective-model uncertainty drives the policy, and the applicability diagnostic makes this testable. On a Sachs causal-discovery task and a fragment-based molecular-design task, a training-noise control (fixing the reward and varying only the policy training seed; Methods) shows that most of the policy-ensemble variation is training-seed noise (training-noise fraction ≈0.8 for Sachs in the log-ratio balance space and ≈1.0 for molecular design). The surrogate consequently cannot predict the policy from the reward parameterization (relative error ≥1). We report no reward-uncertainty attributions for these settings. They serve as negative controls that show the diagnostic abstaining where it should.
Formal guarantees
We establish seven results, labelled T1 to T7, and machine check all of them in Lean 4 (Supplementary Information, section 1). Each proof is sorry-free, and the command #print axioms confirms that it depends only on the three standard axioms. We separate results proved outright (T3 positivity and normalization, T5 softmax Lipschitz, T6 softmax shift-invariance, T7 value bound) from those proved conditional on a stated hypothesis (T1 assumes the Sobolev rate; T2 first-order Sobol’ convergence on a shared basis with positive variance; T4 the scalar propagation bound given a Lipschitz constant, supplied for softmax by T5). Two of the results concern the decision itself. T6 proves that the softmax is invariant to a uniform shift of its logits, so an objective-model uncertainty mode along that direction has zero effect on the policy and zero decision value of information. This is why the highest-variance RLHF mode is decision irrelevant (sections ‘Language-model alignment under RLHF reward-model uncertainty’ and ‘Decision-relevant uncertainty and the value-of-information spectrum’). T7 bounds the decision-value variability by the fragility, \({{\mathbb{E}}}_{{\bf{\upmu }}}\left\vert V({\pi }_{{\bf{\upmu }}})-V(\bar{\pi })\right\vert \le 2{R}_{\max }\,{\mathcal{F}}\), which gives the fragility metric a certified decision-value meaning. Supplementary Table 1 maps each result to its Lean lemma and hypotheses.
We also establish a sparse-recovery result (Theorem A) whose two analytically hard steps are machine-checked. For compressible policies, sparse recovery gives coefficient accuracy at L = O(s log3 P) samples, where s is the number of significant coefficients, P is the number of candidate basis functions and O(·) denotes asymptotic order (compressed sensing for bounded orthonormal systems21). The verified softmax-Lipschitz bound (T5) turns coefficient accuracy into expected total-variation fidelity of the policy. The verified index-continuity result (T2) turns coefficient convergence into Sobol’-index convergence. The sparse-recovery step is classical pen-and-paper, and its restricted-isometry premise is checked from the realized design matrix (mutual coherence 0.33; Supplementary Information, section 4.2). The elementary connective steps are pen-and-paper around the verified core inequalities. Supplementary Information, section 2 states which links are machine-checked (the distributional and continuity inequalities) and which are classical. We claim no end-to-end certified bound.
T5 (softmax is ℓ∞ → ℓ1 Lipschitz). For any v, w, ∥σ(v) − σ(w)∥1≤2∥v − w∥∞. This is the machine-checked bound we use. The sharp Lipschitz constant is 1, so the constant 2 is valid but not tight and it suffices for the fidelity argument. (Statements of T1–T4, with their Lean lemmas and hypotheses, are in Supplementary Information, section 1 and Supplementary Table 1.)
Discussion
We have shown that the decision-relevant part of a learned model’s uncertainty is a separately computable object, and that its agreement with the model’s variance spectrum varies across problems, from concordant in chemistry to strongly opposed in RLHF. The key advance over existing uncertainty quantification methods is the ability to identify which uncertainty components drive a decision and which are most worth reducing, read directly from a sparse or arbitrary-PCE surrogate and through trained non-differentiable policies, where classical value-of-information estimators do not apply. A diagnostic certifies when the attribution is meaningful.
Three properties matter for a sensitivity specialist. The first concerns interactions. First-order Sobol’ indices sum to at most one and total-order indices to at least one. The excess is interaction, and we report both (on Buchwald–Hartwig first-order effects explain only 12–23% of the policy variance, depending on the fit, so interactions are substantial). Where interactions dominate, the total-order index, which credits each mode with its full effect including every interaction it participates in, is the appropriate per-mode attribution. The first-order index then measures the additive part alone. The second concerns validity. Analytical validity requires an orthonormal basis on independent inputs. It holds exactly for the Karhunen–Loève modes in the Bayesian optimization case, which are independent standard Gaussians by construction. It is approximate, and then validated empirically, when we orthonormalize to the empirical marginals by arbitrary PCE. Where the latent modes are uncorrelated but dependent, we replace the Sobol’ indices by Shapley effects on the surrogate, which remain interpretable under dependence. The third concerns coverage of the variance. The indices are shares of the surrogate’s variance. Where the surrogate captures only part of the policy variance, as in the RLHF study, they attribute the captured part and we report the held-out surrogate error beside every attribution so that the uncaptured share is visible.
The applicability diagnostic turns two of our original case studies into negative controls. Both are training-noise dominated and reporting them shows that the method marks its own domain. Several limitations follow. The attribution is only as meaningful as the reward-to-policy coupling the diagnostic certifies. It is read in a low-dimensional parameterization (d ≈ 4–12), so high-rank uncertainty relies on sparse recovery to stay affordable. Analytical Sobol’ indices assume independent inputs, so strong nonlinear latent dependence, plausible in deep representations, falls back on the Shapley effects we report. The surrogate is built per decision path. The language-model study uses best-of-n inference. Full-parameter fine-tuning has higher stochasticity, which would raise the training-noise fraction and make the diagnostic more important. The main cost is training the L-member ensemble once. Surrogate sampling then runs of order 104 times faster than retraining an equivalent policy ensemble (Supplementary Table 13).
The value-of-information spectrum suggests a natural next step: prioritizing data collection to reduce the uncertainties that matter most for the decision. Our results indicate that this could be more sample efficient than variance-based acquisition wherever the two spectra are opposed, as in RLHF. This remains to be validated in a closed-loop active-learning setting. The framework also opens opportunities in reward-model attribution under full policy fine-tuning, classifier-guided diffusion and coupling the surrogate into the sampling loop for uncertainty-aware generation. Conventional uncertainty quantification methods quantify how uncertain a model is. This framework identifies which components of that uncertainty influence a decision and how much resolving each would be worth.
Methods
See Supplementary Information, section 3 for full details.
Polynomial chaos and Sobol’ indices
A scalar quantity of interest Y depending on the uncertainty parameterization \({\bf{\upmu }}\in {{{{\mathbb{R}}}}}^{d}\) (here a log-ratio-transformed action probability at a decision on the chosen path) is expanded as Y(μ) = ∑j∈Λcj** Ψj(μ), where {Ψj} are multivariate polynomials orthonormal with respect to the input measure ρμ. We build {Ψj} from the empirical marginals by arbitrary PCE, so no Gaussianity of μ is assumed (Hermite polynomials are the special case of Gaussian μ). This is what makes the analytical Sobol’ indices valid off the Gaussian assumption. In practice, the basis reduces to Hermite polynomials for Gaussian latent marginals (the Gaussian-process posterior modes in Bayesian optimization) and departs from them for the non-Gaussian PCA scores (Buchwald–Hartwig). By orthonormality \({\rm{Var}}(Y)={\sum }_{{\bf{j}}\ne {\bf{0}}}{c}_{{\bf{j}}}^{2}\), and the first-order Sobol’ index42 of mode i is \({S}_{i}={\sum }_{{\bf{j}}\in {\Lambda }_{i}}{c}_{{\bf{j}}}^{2}/{\sum }_{{\bf{j}}\ne {\bf{0}}}{c}_{{\bf{j}}}^{2}\) with Λ**i the multi-indices active in μ**i alone (the total-order index43 sums over all j with μ**i active). The indices are thus read in closed form from the coefficients15. Because they are ratios of surrogate coefficient variances, they are shares of the variance the surrogate captures. The held-out relative mean-square error reported with each attribution measures the uncaptured share. Sparse regression selects a small active set Λ from the L available policies, which lets us retain more modes d (more explained variance) without the (p + 1)d basis blow-up of dense PCE.
Low-dimensional uncertainty parameterization
PCA of the objective-model ensemble outputs on a fixed reference set (the predicted yields of 500 reference reactions for Buchwald–Hartwig, the reward scores of a prompt’s 16 candidate completions for RLHF), fitted on training members only with test members projected, then standardized. Where exact modes exist, such as the Karhunen–Loève expansion of a Gaussian-process posterior, they replace PCA.
Sparse and/or arbitrary PCE
At decision t with K actions, we form the additive log ratios \(\log ({p}_{k}/{p}_{K})\), k = 1, …, K − 1, with the last action K as reference, and fit one PCE per log ratio by sparse regression (least-angle regression, orthogonal matching pursuit or Bayesian compressive sensing) over a hyperbolically truncated candidate basis, selected by the corrected leave-one-out error19. The basis is orthonormal to the empirical input marginals via arbitrary PCE20 (Hankel-matrix construction with a degree cap for conditioning). The per-decision Sobol’ index reported in the figures is the mean over the K − 1 log-ratio expansions of the per-expansion index.
Sobol’ indices and fragility
First-order and total-order indices are read from the coefficient squares, and the interaction fraction is 1 − ∑iSi. Cross-decision comparison uses a scale-invariant simplex fragility (expected total-variation distance of the decision policy from its ensemble barycentre), since the raw additive log-ratio variance scales with the action-space size.
Dependence and attribution
Input dependence is tested by distance correlation. Where it is present, Shapley effects are computed on the surrogate (given-data estimator, validated against an analytic case).
Value-of-information spectrum
For each ensemble member, we compute the decision value \(V({\bf{\upmu }})={{\mathbb{E}}}_{y\sim{\pi }_{{\bf{\upmu }}}}[{r}_{\mathrm{gold}}(y)]\) from its policy and the gold reward (the measured yield for Buchwald–Hartwig, the real objective for Bayesian optimization, an independent held-out reward model for RLHF), fit a scalar sparse PCE of V over the variance-ordered modes and read its first-order indices. The acquisition simulation resolves modes one at a time in a given order and measures \({\rm{Var}}(V-{\mathbb{E}}[V| S])/{\rm{Var}}(V)\) on held-out members, with \({\mathbb{E}}[V| S]\) the PCE restricted to basis terms supported on the resolved set S (Supplementary Information, section 3.9).
Validation
Independent-test relative and maximum error and corrected leave-one-out for accuracy; calibration in the sharpness-subject-to-calibration sense44 by probability integral transform and rank-histogram shape45, continuous ranked probability score46 and coverage-versus-sharpness (coverage near one is over-coverage), with a joint Mahalanobis check47; bootstrap confidence intervals on the Sobol’ indices by the model-conditional bootstrap48.
Applicability (training-noise) control
Members are trained with the reward realization and the policy training seed decoupled. Fixing the reward and varying only the seed isolates training-seed variance, and the training-noise fraction is its share of the total ensemble spread.
Software
The code is written in Python with PyTorch, NumPy, SciPy, scikit-learn, pandas, NetworkX and Matplotlib, and with Transformers for the DistilBERT reward-model encoder and the GPT-2 policy. The released version was tested, and every figure regenerated from the archived results, with Python 3.14, PyTorch 2.11, NumPy 2.4, SciPy 1.17, scikit-learn 1.8, pandas 2.3, NetworkX 3.6, Matplotlib 3.10 and Transformers 5.5. The released repository pins the minimum versions. The formal verification uses Lean 4 (v4.30.0-rc1) with Mathlib.
Reproducibility
Every table and figure regenerates from archived ensembles and result files with recorded configuration and code version.
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
Data availability
The Buchwald–Hartwig high-throughput reaction data27, used for the Buchwald–Hartwig and the Bayesian optimization studies, are available via GitHub at https://github.com/doylelab/rxnpredict. The RLHF human preferences are the Anthropic hh-rlhf dataset[49](https://www.nature.com/articles/s42256-026-01340-7#ref-CR49 "Bai, Y. et al. Training a helpful and harmless assistant with reinforcement learning from human feedback. Preprint at https://doi.org/10.48550/arxiv.2204.05862
(2022).") available at [https://huggingface.co/datasets/Anthropic/hh\-rlhf](https://huggingface.co/datasets/Anthropic/hh-rlhf). The Sachs data[50](https://www.nature.com/articles/s42256-026-01340-7#ref-CR50 "Sachs, K., Perez, O., Pe’er, D., Lauffenburger, D. A. & Nolan, G. P. Causal protein-signaling networks derived from multiparameter single-cell data. Science 308, 523–529 (2005).") are available at <https://www.bnlearn.com/bnrepository/>. The fragment\-based molecular\-design negative control and the supplementary validation settings (grid worlds, symbolic regression, controlled reasoning task) use synthetic data generated by the released code and described in Supplementary Information, sections [4\.4](https://www.nature.com/articles/s42256-026-01340-7#MOESM1), [5](https://www.nature.com/articles/s42256-026-01340-7#MOESM1) and [8](https://www.nature.com/articles/s42256-026-01340-7#MOESM1). The archived result files from which every figure and table is generated are included in the code repository (‘Code availability’). [Source data](https://www.nature.com/articles/s42256-026-01340-7#Sec25) are provided with this paper.
Code availability
All code (ensemble training, surrogate fitting, Sobol’ and Shapley computation, calibration, figure generation and the Lean 4 proofs) is openly available under the MIT licence via GitHub at https://github.com/supermanG/pce-uncertainty-attribution. The version used for this paper is archived at Zenodo at https://doi.org/10.5281/zenodo.22904515 (ref. [51](https://www.nature.com/articles/s42256-026-01340-7#ref-CR51 "Nartallo-Kaluarachchi, R. et al. pce-uncertainty-attribution v1.0.0: code for ‘Interpretable attribution of decision-relevant uncertainty in AI’. Zenodo https://doi.org/10.5281/zenodo.22904515
(2026).")), and a reproducible capsule is available via Code Ocean at [https://doi.org/10\.24433/CO.3338500\.v1](https://doi.org/10.24433/CO.3338500.v1) (ref. [52](https://www.nature.com/articles/s42256-026-01340-7#ref-CR52 "Nartallo-Kaluarachchi, R. et al. pce-uncertainty-attribution. Code Ocean
https://doi.org/10.24433/CO.3338500.v1
(2026).")).
References
- Bengio, E., Jain, M., Korablyov, M., Precup, D. & Bengio, Y. Flow network based generative models for non-iterative diverse candidate generation. In Advances in Neural Information Processing Systems Vol. 34 (eds Ranzato, M. et al.) 27381–27394 (Curran Associates, 2021).
- Bengio, Y. et al. GFlowNet foundations. J. Mach. Learn. Res. 24, 1–55 (2023).
MathSciNet Google Scholar 3. Jones, D. R., Schonlau, M. & Welch, W. J. Efficient global optimization of expensive black-box functions. J. Glob. Optim. 13, 455–492 (1998).
Article MathSciNet Google Scholar 4. Snoek, J., Larochelle, H. & Adams, R. P. Practical Bayesian optimization of machine learning algorithms. In Advances in Neural Information Processing Systems Vol. 25 (eds Pereira, F. et al.) 2951–2959 (Curran Associates, 2012). 5. 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 (2016).
Article Google Scholar 6. Frazier, P. I. A tutorial on Bayesian optimization. Preprint at https://doi.org/10.48550/arxiv.1807.02811 (2018). 7. Christiano, P. F. et al. Deep reinforcement learning from human preferences. In Advances in Neural Information Processing Systems Vol. 30 (eds Guyon, I. et al.) 4299–4307 (Curran Associates, 2017). 8. Ouyang, L. et al. Training language models to follow instructions with human feedback. In Advances in Neural Information Processing Systems Vol. 35 (eds Koyejo, S. et al.) 27730–27744 (Curran Associates, 2022). 9. Hu, E. J. et al. Amortizing intractable inference in large language models. In Proc. 12th International Conference on Learning Representations https://openreview.net/forum?id=Ouj6p4ca60 (ICLR, 2024). 10. Gal, Y. Uncertainty in Deep Learning. PhD thesis, Univ. Cambridge (2016). 11. Blundell, C., Cornebise, J., Kavukcuoglu, K. & Wierstra, D. Weight uncertainty in neural networks. In Proc. 32nd International Conference on Machine Learning Vol. 37 (eds Bach, F. & Blei, D.) 1613–1622 (PMLR, 2015). 12. Lakshminarayanan, B., Pritzel, A. & Blundell, C. Simple and scalable predictive uncertainty estimation using deep ensembles. In Advances in Neural Information Processing Systems Vol. 30 (eds Guyon, I. et al.) 6402–6413 (Curran Associates, 2017). 13. Depeweg, S., Hernández-Lobato, J. M., Doshi-Velez, F. & Udluft, S. Decomposition of uncertainty in Bayesian deep learning for efficient and risk-sensitive learning. In Proc. 35th International Conference on Machine Learning Vol. 80 (eds Dy, J. & Krause, A.) 1184–1193 (PMLR, 2018). 14. Antorán, J., Bhatt, U., Adel, T., Weller, A. & Hernández-Lobato, J. M. Getting a CLUE: a method for explaining uncertainty estimates. In Proc. 9th International Conference on Learning Representations https://openreview.net/forum?id=XSLF1XFq5h (ICLR, 2021). 15. Sudret, B. Global sensitivity analysis using polynomial chaos expansions. Reliab. Eng. Syst. Saf. 93, 964–979 (2008).
Article Google Scholar 16. Sullivan, T. J. Introduction to Uncertainty Quantification (Springer, 2015). 17. Xiu, D. & Karniadakis, G. E. The Wiener–Askey polynomial chaos for stochastic differential equations. SIAM J. Sci. Comput. 24, 619–644 (2002).
Article MathSciNet Google Scholar 18. Marelli, S. & Sudret, B. UQLab: a framework for uncertainty quantification in MATLAB. In Proc. 2nd International Conference on Vulnerability, Risk Analysis and Management (eds Beer, M. et al.) 2554–2563 https://doi.org/10.1061/9780784413609.257 (ASCE, 2014). 19. Blatman, G. & Sudret, B. Adaptive sparse polynomial chaos expansion based on least angle regression. J. Comput. Phys. 230, 2345–2367 (2011).
Article MathSciNet Google Scholar 20. Oladyshkin, S. & Nowak, W. Data-driven uncertainty quantification using the arbitrary polynomial chaos expansion. Reliab. Eng. Syst. Saf. 106, 179–190 (2012).
Article Google Scholar 21. Hampton, J. & Doostan, A. Compressive sampling of polynomial chaos expansions: convergence analysis and sampling strategies. J. Comput. Phys. 280, 363–386 (2015).
Article MathSciNet Google Scholar 22. Nartallo-Kaluarachchi, R. et al. Quantifying policy uncertainty in generative flow networks with uncertain rewards. In NeurIPS 2025 Workshop on ML × OR: Mathematical Foundations and Operational Integration of Machine Learning for Uncertainty-Aware Decision-Making https://openreview.net/forum?id=68kzwj26t4 (2025). 23. Exenberger, J., Ranftl, S. & Peharz, R. Deep polynomial chaos expansion. In Proc. 29th International Conference on Artificial Intelligence and Statistics Vol. 300 (eds Khan, E. et al.) 4033–4041 (PMLR, 2026). 24. Oladyshkin, S. et al. The deep arbitrary polynomial chaos neural network or how deep artificial neural networks could benefit from data-driven homogeneous chaos theory. Neural Netw. 166, 85–104 (2023).
Article Google Scholar 25. Shustin, P. F. et al. PCE-Net: high-dimensional surrogate modeling for learning uncertainty. SIAM/ASA J. Uncertain. Quantif. 14, 168–196 https://doi.org/10.1137/24M1723838 (2026).
Article MathSciNet Google Scholar 26. Chuang, K. V. & Keiser, M. J. Comment on ‘Predicting reaction performance in C–N cross-coupling using machine learning’. Science 362, eaat8603 (2018).
Article Google Scholar 27. Ahneman, D. T., Estrada, J. G., Lin, S., Dreher, S. D. & Doyle, A. G. Predicting reaction performance in C–N cross-coupling using machine learning. Science 360, 186–190 (2018).
Article Google Scholar 28. Rasmussen, C. E. & Williams, C. K. I. Gaussian Processes for Machine Learning (MIT Press, 2006). 29. Chaloner, K. & Verdinelli, I. Bayesian experimental design: a review. Stat. Sci. 10, 273–304 (1995).
Article MathSciNet Google Scholar 30. Haber, E., Horesh, L. & Tenorio, L. Numerical methods for experimental design of large-scale linear ill-posed inverse problems. Inverse Probl. 24, 055012 (2008).
Article MathSciNet Google Scholar 31. Haber, E., Horesh, L. & Tenorio, L. Numerical methods for the design of large-scale nonlinear discrete ill-posed inverse problems. Inverse Probl. 26, 025002 (2010).
Article MathSciNet Google Scholar 32. Gao, L., Schulman, J. & Hilton, J. Scaling laws for reward model overoptimization. In Proc. 40th International Conference on Machine Learning Vol. 202 (eds Krause, A. et al.) 10835–10866 (PMLR, 2023). 33. Coste, T., Anwar, U., Kirk, R. & Krueger, D. Reward model ensembles help mitigate overoptimization. In Proc. 12th International Conference on Learning Representations https://openreview.net/forum?id=dcjtMYkpXx (ICLR, 2024). 34. Eisenstein, J. et al. Helping or herding? Reward model ensembles mitigate but do not eliminate reward hacking. In Proc. First Conference on Language Modeling https://openreview.net/forum?id=5u1GpUkKtG (COLM, 2024). 35. Bradley, R. L. & Terry, M. E. Rank analysis of incomplete block designs: I. The method of paired comparisons. Biometrika 39, 324–345 (1952).
MathSciNet Google Scholar 36. Zhai, Y. et al. Uncertainty-penalized reinforcement learning from human feedback with diversified reward LoRA ensembles. Inf. Process. Manag. 63, 104548 (2026).
Article Google Scholar 37. Howard, R. A. Information value theory. IEEE Trans. Syst. Sci. Cybern. 2, 22–26 (1966).
Article Google Scholar 38. Raiffa, H. & Schlaifer, R. Applied Statistical Decision Theory (Division of Research, Graduate School of Business Administration, Harvard Univ., 1961). 39. Felli, J. C. & Hazen, G. B. Sensitivity analysis and the expected value of perfect information. Med. Decis. Mak. 18, 95–109 (1998).
Article Google Scholar 40. Strong, M., Oakley, J. E. & Brennan, A. Estimating multiparameter partial expected value of perfect information from a probabilistic sensitivity analysis sample: a nonparametric regression approach. Med. Decis. Mak. 34, 311–326 (2014).
Article Google Scholar 41. Borgonovo, E. & Plischke, E. Sensitivity analysis: a review of recent advances. Eur. J. Oper. Res. 248, 869–887 (2016).
Article MathSciNet Google Scholar 42. Sobol’, I. M. Global sensitivity indices for nonlinear mathematical models and their Monte Carlo estimates. Math. Comput. Simul. 55, 271–280 (2001).
Article MathSciNet Google Scholar 43. Homma, T. & Saltelli, A. Importance measures in global sensitivity analysis of nonlinear models. Reliab. Eng. Syst. Saf. 52, 1–17 (1996).
Article Google Scholar 44. Gneiting, T., Balabdaoui, F. & Raftery, A. E. Probabilistic forecasts, calibration and sharpness. J. R. Stat. Soc. Ser. B 69, 243–268 (2007).
Article MathSciNet Google Scholar 45. Hamill, T. M. Interpretation of rank histograms for verifying ensemble forecasts. Mon. Weather Rev. 129, 550–560 (2001).
Article Google Scholar 46. Gneiting, T. & Raftery, A. E. Strictly proper scoring rules, prediction, and estimation. J. Am. Stat. Assoc. 102, 359–378 (2007).
Article MathSciNet Google Scholar 47. Bastos, L. S. & O’Hagan, A. Diagnostics for Gaussian process emulators. Technometrics 51, 425–438 (2009).
Article MathSciNet Google Scholar 48. Dubreuil, S., Berveiller, M., Petitjean, F. & Salaün, M. Construction of bootstrap confidence intervals on sensitivity indices computed by polynomial chaos expansion. Reliab. Eng. Syst. Saf. 121, 263–275 (2014).
Article Google Scholar 49. Bai, Y. et al. Training a helpful and harmless assistant with reinforcement learning from human feedback. Preprint at https://doi.org/10.48550/arxiv.2204.05862 (2022). 50. Sachs, K., Perez, O., Pe’er, D., Lauffenburger, D. A. & Nolan, G. P. Causal protein-signaling networks derived from multiparameter single-cell data. Science 308, 523–529 (2005).
Article Google Scholar 51. Nartallo-Kaluarachchi, R. et al. pce-uncertainty-attribution v1.0.0: code for ‘Interpretable attribution of decision-relevant uncertainty in AI’. Zenodo https://doi.org/10.5281/zenodo.22904515 (2026). 52. Nartallo-Kaluarachchi, R. et al. pce-uncertainty-attribution. Code Ocean https://doi.org/10.24433/CO.3338500.v1 (2026).
Acknowledgements
We dedicate this paper to the memory of Alessandro Veneziani, who held that a model may guide a decision only once the uncertainty it carries has been quantified, a topic addressed in this paper.
Funding
The authors received no specific funding for this work.
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature Machine Intelligence thanks Bruno Sudret, and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Supplementary Information (download PDF )
Supplementary Sections 1–8: Lean 4 formal verification, certified Sobol’ recovery, methods, experiment details and extended results, architecture details, controlled reasoning-task validation; Figs. 1–7 and Tables 1–14.
Reporting Summary (download PDF )
Source data
Source Data Fig. 2 (download XLSX )
Plotted values for Fig. 2a–d, one row per value: per-step fragility (a), surrogate test errors (b), the 200 bootstrap resamples with their summary statistics behind the box plots and the Shapley effects (c) and test error versus retained dimension (d).
Source Data Fig. 3 (download XLSX )
Plotted values for Fig. 3a,b: reward-model-ensemble fragility per component (a) and the fragility learning curve against the fraction of reactions observed (b).
Source Data Fig. 4 (download XLSX )
Plotted values for Fig. 4a–c: first-order Sobol’ indices per mode as seed means and per seed (a), test error versus retained modes as mean, s.d. and per seed, with the synthetic reference (b), surrogate accuracy as mean, s.d. and per seed (c).
Source Data Fig. 5 (download XLSX )
Plotted values for Fig. 5a–c: first-order Sobol’ indices for high-disagreement and low-disagreement prompts (a), fragility versus KL penalty as mean and s.d. over seeds (b), proxy and gold reward versus best-of-n pool size as mean and s.d. over seeds (c).
Source Data Fig. 6 (download XLSX )
Plotted values for Fig. 6a–f: variance and value-of-information spectra per mode (a−c), residual decision-value variance per acquisition order (d,e) and the correlations of the two spectra (f).
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Nartallo-Kaluarachchi, R., Ubaru, S., Zimon, M.J. et al. Interpretable attribution of decision-relevant uncertainty in AI. Nat Mach Intell (2026). https://doi.org/10\.1038/s42256\-026\-01340\-7
- Received: 24 April 2026
- Accepted: 08 October 2026
- Published: 02 December 2026
- Version of record: 02 December 2026
- DOI: https://doi.org/10\.1038/s42256\-026\-01340\-7
Share this article
Anyone you share the following link with will be able to read this content:
Sorry, a shareable link is not currently available for this article.
Provided by the Springer Nature SharedIt content-sharing initiative
出处
- S 官方Nature Machine Intelligence · RSS阅读原文 ↗
Interpretable attribution of decision-relevant uncertainty in AI
生成时使用了正文节选。