Idea: Adding confidence intervals to TORAX's transport model #2007
Closed
nytdevansh
started this conversation in
Ideas
Replies: 2 comments 1 reply
|
Shadow mode could be toggled via runtime_params.enable_transport_shadow for validation runs. class HybridTransportModel: |
0 replies
|
Thanks for the ideas and motivation. We and others already have some UQ frameworks that can explore TORAX uncertainty. There's an argument to be made that the API to trigger this should be outside of the TORAX library itself, and more in specific application frameworks. In any case we are unfortunately very limited in the moment in review capacity and would not be able to work together on this due to other priorities. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey team — I’ve been thinking about uncertainty in TORAX transport modeling and wanted to float an idea.
Observation:
QLKNN produces point estimates devoid of out-of-distribution signal and epistemic uncertainty, but it offers quick and precise flux predictions within its QuaLiKiz training envelope.
Why this matters:
We are unable to determine quantitatively whether a prediction is extrapolating or lies within the training manifold when investigating novel operating regimes, such as when scenario optimisation for SPARC or when using TORAX as an RL training environment.
This creates two risks:
• Overconfidence in scenario optimization (design margins unclear)
• RL agents exploiting surrogate model bias
Potential direction:
Augment (not replace) QLKNN with an uncertainty-aware surrogate in shadow mode — potentially using neural-operator-style architectures or ensemble-based methods — to provide:
• Calibrated predictive intervals
• OOD detection scores
• Regime confidence indicators
Goal:
Know when to trust fast surrogate predictions and when to trigger higher-fidelity validation (e.g., gyrokinetics).
Realistic scope:
Start with a single transport channel, one tokamak dataset, and evaluate:
• Calibration quality
• OOD detection performance
• Long-time solver stability
3-month prototype to test feasibility.
Worth exploring?
All reactions