一键导入
deep-ensemble-uq
Constructing Gaussian output neural networks and training deep ensembles to quantify aleatoric and epistemic uncertainty.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Constructing Gaussian output neural networks and training deep ensembles to quantify aleatoric and epistemic uncertainty.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Mitigating the effect of activity cliffs using Triplet Soft Margin (TSM) loss on High-Value Activity Cliff Triplets (HV-ACTs).
Running molecular geometry optimization and molecular dynamics (MD) simulations using ASE and MLIPs.
Generating 3D molecular conformations and preparing input files for quantum chemistry DFT calculations.
Implementing Delta-ML (residual learning between low and high levels of theory) and model transfer learning.
Optimizing molecular feature weights and performing feature selection via Differentiable Information Imbalance (DII).
Active learning loops for MLIPs using uncertainty-biased configuration selection and DFT query oracle simulation.
| name | deep_ensemble_uq |
| description | Constructing Gaussian output neural networks and training deep ensembles to quantify aleatoric and epistemic uncertainty. |
Use this skill when deploying models for drug discovery screening or active learning loops. This allows the system to recognize out-of-distribution molecules or noisy measurements and compute prediction confidence.
Each model in the ensemble outputs both the predicted mean $\mu(x)$ and variance $\sigma^2(x)$ via a Gaussian output layer. The loss function minimized is the Negative Log-Likelihood (NLL): $$\text{NLL} = \frac{1}{2} \sum_{k=1}^{N} \left( \ln(\sigma^2(x_k)) + \frac{(y_k - \mu(x_k))^2}{\sigma^2(x_k)} \right)$$
For a query molecule $x$, the total uncertainty is decomposed using $M$ models: $$\sigma_{\text{total}}^2 = \underbrace{\frac{1}{M} \sum_{m=1}^{M} \sigma_m^2(x)}{\text{Aleatoric (Inherent Noise)}} + \underbrace{\frac{1}{M} \sum{m=1}^{M} (\mu_m(x) - \bar{\mu}(x))^2}_{\text{Epistemic (Model Disagreement)}}$$
Run the script deep_ensemble_uq.py to train an ensemble of Gaussian networks:
python scripts/deep_ensemble_uq.py --ensemble_size 5 --epochs 20
This trains multiple models and decomposes predictive uncertainty for high-error/OOD domains.