paper-with-me

Papers

Efficient Nearest Neighbor based Uncertainty Estimation for Natural Language Processing Tasks

2024-07-02 · Wataru Hashimoto, Hidetaka Kamigaito, Taro Watanabe

Trustworthy prediction in Deep Neural Networks (DNNs), including Pre-trained Language Models (PLMs) is important for safety-critical applications in the real world. However, DNNs often suffer from uncertainty estimation, such as miscalibration. In particular, approaches that require multiple stochastic inference can mitigate this problem, but the expensive cost of inference makes them impractical. In this study, we propose $k$-Nearest Neighbor Uncertainty Estimation ($k$NN-UE), which is an uncertainty estimation method that uses the distances from the neighbors and label-existence ratio of neighbors. Experiments on sentiment analysis, natural language inference, and named entity recognition show that our proposed method outperforms the baselines or recent density-based methods in confidence calibration, selective prediction, and out-of-distribution detection. Moreover, our analyses indicate that introducing dimension reduction or approximate nearest neighbor search inspired by recent $k$NN-LM studies reduces the inference overhead without significantly degrading estimation performance when combined them appropriately.

📄 PDF Abstract BibTeX arXiv:2407.02138

Code (0)

등록된 구현이 없습니다.

Tasks

Dimensionality Reductionnamed-entity-recognitionNamed Entity RecognitionNatural Language InferenceOut-of-Distribution DetectionSentiment Analysis

Similar Papers 제목 키워드 기반

Reservoir Static Property Estimation Using Nearest-Neighbor Neural Network

2024-09-04 · Yuhe Wang

This note presents an approach for estimating the spatial distribution of static properties in reservoir modeling using a nearest-neighbor neural network. The method leverages the strengths of neural networks in approxim…

Spatial InterpolationUncertainty Quantification

Random Forests for Adaptive Nearest Neighbor Estimation of Information-Theoretic Quantities

2019-06-30 · Ronan Perry, Ronak Mehta, Richard Guo, Eva Yezerets 외

Information-theoretic quantities, such as conditional entropy and mutual information, are critical data summaries for quantifying uncertainty. Current widely used approaches for computing such quantities rely on nearest …

A Framework for Uncertainty Quantification Based on Nearest Neighbors Across Layers

2025-06-24 · Miguel N. Font, José L. Jorro-Aragoneses, Carlos M. Alaíz

Neural Networks have high accuracy in solving problems where it is difficult to detect patterns or create a logical model. However, these algorithms sometimes return wrong solutions, which become problematic in high-risk…

Autonomous DrivingMedical DiagnosisUncertainty Quantification

Nearest neighbor density functional estimation from inverse Laplace transform

2018-05-22 · J. Jon Ryu, Shouvik Ganguly, Young-Han Kim, Yung-Kyun Noh 외

A new approach to $L_2$-consistent estimation of a general density functional using $k$-nearest neighbor distances is proposed, where the functional under consideration is in the form of the expectation of some function …

When to Trust the Answer: Question-Aligned Semantic Nearest Neighbor Entropy for Safer Surgical VQA

2025-11-03 · Luca Carlini, Dennis Pierantozzi, Mauro Orazio Drago, Chiara Lena 외 arxiv

Safety and reliability are critical for deploying visual question answering (VQA) systems in surgery, where incorrect or ambiguous responses can cause patient harm. A key limitation of existing uncertainty estimation met…

Visual Question Answering