paper-with-me

Papers

Non-Exchangeable Conformal Language Generation with Nearest Neighbors

2024-02-01 · Dennis Ulmer, Chrysoula Zerva, André F. T. Martins

Quantifying uncertainty in automatically generated text is important for letting humans check potential hallucinations and making systems more reliable. Conformal prediction is an attractive framework to provide predictions imbued with statistical guarantees, however, its application to text generation is challenging since any i.i.d. assumptions are not realistic. In this paper, we bridge this gap by leveraging recent results on non-exchangeable conformal prediction, which still ensures bounds on coverage. The result, non-exchangeable conformal nucleus sampling, is a novel extension of the conformal prediction framework to generation based on nearest neighbors. Our method can be used post-hoc for an arbitrary model without extra training and supplies token-level, calibrated prediction sets equipped with statistical guarantees. Experiments in machine translation and language modeling show encouraging results in generation quality. By also producing tighter prediction sets with good coverage, we thus give a more theoretically principled way to perform sampling with conformal guarantees.

📄 PDF Abstract BibTeX arXiv:2402.00707

Code (1)

kaleidophon/non-exchangeable-conformal-language-generation 공식 구현 pytorch

Tasks

Conformal PredictionLanguage ModelingLanguage ModellingMachine TranslationPredictionText Generation

Similar Papers 제목 키워드 기반

Applying Regression Conformal Prediction with Nearest Neighbors to time series data

2021-10-25 · Samya Tajmouati, Bouazza El Wahbi, Mohammed Dakkoun

In this paper, we apply conformal prediction to time series data. Conformal prediction isa method that produces predictive regions given a confidence level. The regions outputs arealways valid under the exchangeability a…

Conformal PredictionPredictionPrediction Intervalsregression+3

Extending Conformal Prediction to Hidden Markov Models with Exact Validity via de Finetti's Theorem for Markov Chains

2022-10-05 · Buddhika Nettasinghe, Samrat Chatterjee, Ramakrishna Tipireddy, Mahantesh Halappanavar

Conformal prediction is a widely used method to quantify the uncertainty of a classifier under the assumption of exchangeability (e.g., IID data). We generalize conformal prediction to the Hidden Markov Model (HMM) frame…

Conformal PredictionPredictionvalid

Beyond Conformal Predictors: Adaptive Conformal Inference with Confidence Predictors

2024-09-23 · Johan Hallberg Szabadváry

Conformal prediction (CP) is a robust framework for distribution-free uncertainty quantification, but it requires exchangeable data to ensure valid prediction sets at a user-specified significance level. When this assump…

Computational EfficiencyConformal PredictionPredictionUncertainty Quantification+1

Non-Exchangeable Conformal Risk Control

2023-10-02 · António Farinhas, Chrysoula Zerva, Dennis Ulmer, André F. T. Martins

Split conformal prediction has recently sparked great interest due to its ability to provide formally guaranteed uncertainty sets or intervals for predictions made by black-box neural models, ensuring a predefined probab…

Conformal PredictionTime Series

Conformal Prediction for Stochastic Decision-Making of PV Power in Electricity Markets

2024-03-29 · Yvet Renkema, Nico Brinkel, Tarek Alskaif

This paper studies the use of conformal prediction (CP), an emerging probabilistic forecasting method, for day-ahead photovoltaic power predictions to enhance participation in electricity markets. First, machine learning…

Conformal PredictionDecision MakingUncertainty Quantification