TL;DR
When asking a machine learning model "how sure are you?", practitioners usually have to pick a single uncertainty metric and hope it doesn't blindside them on edge cases. VecUQ-OT removes this gamble by fusing multiple, fundamentally different uncertainty signals into one unified, reliable score using Optimal Transport. Best of all, it calibrates itself on unlabeled data without training a new neural network, staying rock-solid even when individual metrics fail.
What Problem Does This Paper Address?
Uncertainty Quantification (UQ) gives us a trust score alongside a model’s prediction. Over the years, researchers have invented dozens of UQ metrics: some look at prediction probabilities (like entropy or softmax confidence) to catch noisy, overlapping classes (aleatoric uncertainty), while others measure feature-space distances (like the Mahalanobis score) to spot unfamiliar inputs (epistemic uncertainty).
The catch? No single metric works everywhere. A softmax-based metric might ace misclassification detection on familiar data, yet fail miserably at catching Out-of-Distribution (OoD) inputs—while a density-based metric does the exact opposite.
Why not just add them together? Because these metrics come from completely different mathematical worlds and live on wildly incompatible scales (e.g., entropy bounded near 2.0 vs. Mahalanobis distances in the hundreds). Simply summing them lets the loudest, largest-scale metric drown out the rest. How do you meaningfully rank "uncertainty vectors" when there is no natural way to order points in multidimensional space?
Methods
The authors cast multi-metric aggregation as a multivariate ranking problem, solved via Optimal Transport (OT)—the mathematics of morphing one probability distribution into another with minimal effort.
In 1D, ranking data is equivalent to transporting its distribution onto a uniform $[0, 1]$ interval (which gives you standard percentiles). VecUQ-OT generalizes this to $m$ dimensions:
- Stack & Calibrate: Take $m$ complementary UQ measures and evaluate them on an unlabeled, in-distribution calibration set to form a cloud of $m$-dimensional uncertainty vectors.
- Entropic Optimal Transport: Map this empirical point cloud onto a clean reference distribution—specifically, a uniform hypercube $[0, 1]^m$. Because lower numbers in UQ mean "more certain," anchoring the reference distribution in the non-negative space ensures low-uncertainty points map near the origin, and high-uncertainty points push outward.
- Out-of-Sample Projection: Standard discrete OT can't handle unseen test points without re-solving the whole system from scratch. To fix this, the authors use entropy-regularized OT (via fast Sinkhorn iterations) paired with barycentric projection. For any new test input, its mapped position is computed in closed form as a smooth, kernel-weighted average of the calibration targets. The Euclidean norm ($L_2$ distance from the origin) of that projected vector becomes the final scalar uncertainty score.
Datasets
No new benchmarks are introduced; instead, the authors test across synthetic, vision, and text domains (using 1.8k unlabeled in-distribution samples for OT calibration):
- Synthetic: A 2D dataset of 10 Gaussian blobs arranged in a ring.
- Images: CIFAR-10, CIFAR-100, and TinyImageNet as in-distribution sets, tested against SVHN, ImageNet-A, ImageNet-R, and ImageNet-O for OoD detection.
- Text (LLMs): Selective generation evaluated on TriviaQA, WMT19 (De-En translation), and MMLU across LLaMA-8B, Mistral-7B, and Falcon-7B.
Key Insights and Ideas
- Rankings are all you need: Transforming raw metrics into OT ranks strips away physical units (like variance). That sounds like a loss, until you realize downstream UQ tasks—like thresholding predictions to defer to a human, or computing ROC-AUC—only ever care about relative ordering, not absolute values.
- Immunity to redundant signals: Simple heuristics like "standardize each metric and sum them" break down if you accidentally include two similar or duplicated metrics, effectively double-counting them. Because Optimal Transport looks at the joint geometry of the distribution, VecUQ-OT naturally absorbs redundant coordinates without skewing the score.
- Visualizing "Total Uncertainty": On the 2D synthetic ring, predictive entropy only lights up where classes overlap, and Mahalanobis only lights up in empty space. VecUQ-OT seamlessly stitches both into a single landscape covering both failure modes.
Key Results
Across four tasks—OoD detection, misclassification detection, selective prediction, and LLM selective generation—VecUQ-OT acts as an insurance policy that consistently rivals or beats the best individual metric:
- Vision OoD Detection: Combining three risk-based scores with the Mahalanobis score, VecUQ-OT achieves the highest average ROC-AUC (0.874), crushing naive additive fusion (0.673). When Mahalanobis collapses on TinyImageNet-vs-ImageNet-R (0.405), VecUQ-OT stays unfazed at 0.834.
- Misclassification & Selective Prediction: Reaches 0.882 average ROC-AUC on image misclassification (tying the top individual component, vs. 0.651 for additive) and 0.933 area under the accuracy-coverage curve.
- LLM Generation: Achieves a 0.594 mean Prediction Rejection Ratio (PRR) across 9 model-dataset pairs, beating every individual uncertainty baseline and label-free heuristic, second only to a supervised oracle trained with ground-truth task labels (0.602).
- Pareto Dominance: Across all task pairs, VecUQ-OT lands on the Pareto front 84.76% of the time (compared to 65.71% for the runner-up component and 0% for raw addition).
Limitations and Future Work
- Loss of absolute interpretability & saturation: Because scores are mapped into soft ranks inside the convex hull of $[0, 1]^m$, physical scale meaning is lost, and extreme OoD inputs saturate near the upper boundary (though their relative ordering above in-distribution data remains intact).
- Garbage in, garbage out: Practitioners still need domain sense to pick reasonable starting metrics; VecUQ-OT fuses signals, it doesn't invent them.
- Memory scaling & future directions: Fitting the Sinkhorn kernel matrix scales quadratically with calibration size, $\mathcal{O}(N^2(m + K))$, and inference scales as $\mathcal{O}(Nm)$. Future work could explore parametric alternatives like amortized OT or cyclically monotone normalizing flows, though at the cost of introducing neural network training overhead that VecUQ-OT neatly avoids.
Summary updated