Research map / Large language models / Language, safety and interpretability
Efficient Nearest Neighbor based Uncertainty Estimation for Natural Language Processing Tasks
Wataru Hashimoto, Hidetaka Kamigaito, Taro Watanabe
Nara Institute of Science and Technology
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add the label-agreement term to kNN-UE (ablation) | kNN-UE · IMDb (in-domain) | ECE: 1.33 -> 0.95 | Improved |
| add the label-agreement term to kNN-UE (ablation) | kNN-UE · MNLI (in-domain) | E-AURC: 30.22 -> 23.83 | Improved |
| add the label-agreement term to kNN-UE (ablation) | kNN-UE · SNLI (out-of-domain) | MCE: 10.00 -> 5.12 | Improved |
| add the label-agreement term to kNN-UE (ablation) | kNN-UE · OntoNotes 5.0 bn (in-domain) | E-AURC: 17.63 -> 20.14 | Hurt |
| add the label-agreement term to kNN-UE (ablation) | kNN-UE · OntoNotes 5.0 nw (out-of-domain) | MCE: 24.91 -> 16.53 | Improved |
| use kNN-UE instead of Softmax Response | mDeBERTaV3-base · Yelp (out-of-domain) | ECE: 4.69 -> 1.45 | Improved |
| use kNN-UE instead of DAC | mDeBERTaV3-base · IMDb (in-domain) | E-AURC: 12.72 -> 7.97 | Improved |
| use kNN-UE instead of Softmax Response | mDeBERTaV3-base · IMDb/Yelp OOD detection | FPR@95: 82.51 -> 73.55 | Improved |
| use kNN-UE with label term in NER | mDeBERTaV3-base · OntoNotes 5.0 bn (in-domain) | ECE: DAC 1.62 vs kNN-UE 1.78 | Mixed |
| use kNN-UE with label term vs correct instances (ablation) | kNN-UE · IMDb->Yelp | W_kNN on incorrect instances: 0.41 -> 0.27 | Improved |
| add PQ approximate search to kNN-UE (ablation) | kNN-UE · OntoNotes 5.0 bn (in-domain) | inference time (s): 4.99 -> 3.32 | Improved |
| add dimension reduction on top of PQ and IVF (ablation) | kNN-UE · OntoNotes 5.0 bn (in-domain) | MCE: 28.55 -> 33.52 | Hurt |
Open problems this paper states
- “Evaluated only on classification-based tasks, not text generation.” → Evaluation stays on closed-answer tasks, with open-ended generation untested. (an open problem in statistical frameworks for LLM evaluation)
Open problems in statistical frameworks for LLM evaluation
Do uncertainty and evaluation methods for LLMs still hold for open-ended generation, closed models and larger models?
- Evaluation stays on closed-answer tasks, with open-ended generation untested. · 20 papers state it
- Experiments cover English only, leaving other languages untested. · 18 papers state it
- Sampling several answers or extra passes raises inference cost. · 16 papers state it
Closest papers by meaning
- Quantifying Uncertainties in Natural Language Processing Tasks (AAAI 2019 · similarity 0.87)
- Efficient Nearest Neighbor Language Models (EMNLP 2021 · similarity 0.87)
- kNN-CM: A Non-parametric Inference-Phase Adaptation of Parametric Text Classifiers (EMNLP 2023 · similarity 0.85)
- Kernel Language Entropy: Fine-grained Uncertainty Quantification for LLMs from Semantic Similarities (NeurIPS 2024 · similarity 0.85)
- Inv-Entropy: A Fully Probabilistic Framework for Uncertainty Quantification in Language Models (NeurIPS 2025 · similarity 0.85)
- A Bias-Variance-Covariance Decomposition of Kernel Scores for Generative Models (ICML 2024 · similarity 0.84)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.