Conformal and kNN Predictive Uncertainty Quantification Algorithms in Metric Spaces

Gábor Lugosi, Marcos Matabuena
7/21/2025
stat.MLcs.LGmath.ST

No confident code implementation found for this paper.

Abstract

This paper introduces a framework for uncertainty quantification in regression models defined in metric spaces. Leveraging a newly defined notion of homoscedasticity, we develop a conformal prediction algorithm that offers finite-sample coverage guarantees and fast convergence rates of the oracle estimator. In heteroscedastic settings, we forgo these non-asymptotic guarantees to gain statistical efficiency, proposing a local $k$--nearest--neighbor method without conformal calibration that is adaptive to the geometry of each particular nonlinear space. Both procedures work with any regression algorithm and are scalable to large data sets, allowing practitioners to plug in their preferred models and incorporate domain expertise. We prove consistency for the proposed estimators under minimal conditions. Finally, we demonstrate the practical utility of our approach in personalized--medicine applications involving random response objects such as probability distributions and graph Laplacians.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lugosi2025conformal,
  title  = {Conformal and kNN Predictive Uncertainty Quantification Algorithms in Metric Spaces},
  author = {Gábor Lugosi and Marcos Matabuena},
  year   = {2025},
  eprint = {2507.15741},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.15741v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.15741.svg)](https://codeofpaper.com/paper/2507.15741)

Discussion