First, the output logits of neural networks provide very poor signals of the epistemic (reducible) uncertainty. In other words, the output logits are a highly lossy compression of the epistemic uncertainty. That's bad, because the very type of uncertainty you would hope to have a good handle over is obscured. With neural networks, we're typically dealing with high-dimensional inputs and outputs, for which it can be difficult for a human to detect covariate shifts relative to the given model, and by extension to anticipate when the model will go-off-the-rails.
Second, neural networks can nonetheless provide relatively robust estimates of the epistemic uncertainty, but to do so, we can't rely on the output logits alone. Instead we need to view neural networks as hidden instance-based metric learners, and derive signals of the uncertainty via dense matching into the support set of the estimators. Similar to how RAG uses dense matching in semantic representation space for retrieval, we can use dense matching in feature representation space to model uncertainty. In other words, we can model the geometry of the feature representation space against the support set, and use that to construct robust estimates of the predictive uncertainty.
The following provides a concrete implementation, and a particular estimator (here, to estimate regions of the distribution for which the class- and prediction-conditional accuracy is at least some value alpha, near 1):
Similarity-Distance-Magnitude Activations. In Findings of the Association for Computational Linguistics: ACL 2026, pages 22037–22057, San Diego, California, United States. Association for Computational Linguistics.
Typical supervised/self-supervised training needs a correct known answer to sharpen towards (cross-entropy/KL-divergence minimization), with soft caps on certainty/spikes to smooth labels, and a temperature var to divide logits before they become % (flat = hot/fluid, sharp = cool/rigid).
IIRC, smoothening is a static knob affecting backward pass, while temp is a dynamic one affecting forward pass, alongside some other knobs ("trimmers"/filters like top K & P).
Besides being a kind of generic control knob for different subsystems, end-users could tweak inference temp a lot more often in past models (less expose it now for a bunch of reasons).
It's basically a signal that says "Be more adventurous!" when high. Might explain why the common advice was to ratchet up temp for creative stuff and cool it down for stuff like code.
Bit of a tangent but related to the post topic I guess. There's a bunch of caveats but it's the least bad way I found so far to intuit the gist of the process during some model experiments.
[deleted]
[dead]
On non-parametric models like GPs: I use parameters theta to index hypotheses for simplicity, but the overall story carries over directly when you move from weight space to function space. For instance, GP regression with a Gaussian likelihood still can't represent the bimodal steering angle at the lane split.
Hope that help :)
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]