EUVIMEDEUVIMED entdecken
Open Access · CC BY-NC-ND 4.0

Uncertainty quantification in large language models through convex hull analysis

Ferhat Ozgur Catak, Murat Kuzlu

Discover Artificial Intelligence · 25.11.2024 · 4 (1)

DOI: 10.1007/s44163-024-00200-w ↗

Kurz gefasst

Fachartikel in der Zeitschrift Discover Artificial Intelligence, online erschienen am 25.11.2024. Verfasst von Ferhat Ozgur Catak und 1 weiteren Autor:innen. Die Arbeit wurde bisher 15-mal zitiert (Crossref) und nennt 34 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY-NC-ND 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Uncertainty quantification approaches have been more critical in large language models (LLMs), particularly high-risk applications requiring reliable outputs. However, traditional methods for uncertainty quantification, such as probabilistic models and ensemble techniques, face challenges when applied to the complex and high-dimensional nature of LLM-generated outputs. This study proposes a novel geometric approach to uncertainty quantification using convex hull analysis. The proposed method leverages the spatial properties of response embeddings to measure the dispersion and variability of model outputs. The prompts are categorized into three types, i.e., ’easy’, ’moderate’, and ’confusing’, to generate multiple responses using different LLMs at varying temperature settings. The responses are transformed into high-dimensional embeddings via a BERT model and subsequently projected into a two-dimensional space using Principal Component Analysis (PCA), Isomap, Multidimensional Scaling (MDS). The Density-Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm is utilized to cluster the embeddings and compute the convex hull for each selected cluster. The experimental results indicate that the uncertainty of the model for LLMs depends on the prompt complexity, the model, and the temperature setting.

Zitieren

APA

Catak, F. O., & Kuzlu, M. (2024). Uncertainty quantification in large language models through convex hull analysis. Discover Artificial Intelligence, 4(1). https://doi.org/10.1007/s44163-024-00200-w

Vancouver

Catak FO, Kuzlu M. Uncertainty quantification in large language models through convex hull analysis. Discover Artificial Intelligence. 2024;4(1). doi:10.1007/s44163-024-00200-w

BibTeX
@article{Catak2024,
  author = {Catak, Ferhat Ozgur and Kuzlu, Murat},
  title = {Uncertainty quantification in large language models through convex hull analysis},
  journal = {Discover Artificial Intelligence},
  year = {2024},
  volume = {4},
  number = {1},
  doi = {10.1007/s44163-024-00200-w}
}
Kostenlos starten →